@ds-autonomie/web-components 2.3.0 → 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 +39 -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.D2LMY47K.js → chunk.3OSWL542.js} +9 -0
- package/cdn/chunks/{chunk.DKFGG7WX.js → chunk.3XJMTCX6.js} +15 -1
- 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.ZVQQ7DON.js → chunk.5VZE6TSA.js} +1 -3
- 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.ERQYJQKU.js → chunk.75VU5MNL.js} +12 -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.YWD53U3T.js → chunk.ATHVFSQX.js} +11 -3
- package/cdn/chunks/{chunk.LLZPEDQW.js → chunk.AZBK27ET.js} +2 -2
- 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.PQYUBPRU.js → chunk.EVFY55H5.js} +7 -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.CKDGFB52.js → chunk.FLPTQ76Z.js} +30 -24
- 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.2QGLZHHF.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.IZ6KYT7R.js → chunk.ICBLN3KB.js} +18 -17
- 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.SF3YU6PZ.js → chunk.JZOEQBF7.js} +19 -7
- package/cdn/chunks/{chunk.CL4C4BFH.js → chunk.K4B5TCNN.js} +27 -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.I4EWJGZZ.js → chunk.KS7QG726.js} +10 -3
- 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.WOKVCL7Q.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.2T2ABKP4.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.DNQJR4KR.js → chunk.OMPBUYUW.js} +1 -3
- package/cdn/chunks/{chunk.X3MRO4MI.js → chunk.OOL4Q6HA.js} +1 -0
- package/cdn/chunks/{chunk.ITHTXYNC.js → chunk.OSJ5I4FK.js} +2 -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.OMBOQURT.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.LYPHJJYB.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.WCF4VYWI.js → chunk.VZPL3NCB.js} +3 -3
- package/cdn/chunks/{chunk.ZTXQFGQX.js → chunk.W6JXBJWF.js} +1 -1
- package/cdn/chunks/{chunk.WE7BT7PI.js → chunk.WD2ZD2TZ.js} +16 -5
- package/cdn/chunks/{chunk.74QWC4UR.js → chunk.WJDOTH54.js} +10 -9
- 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.5AKIIMXP.js → chunk.XLDTCR3W.js} +151 -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.6BXZEG5L.js → cdn/chunks/chunk.YBWQADCH.js} +3 -7
- 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.G7UC5QGP.js → chunk.ZHJDF2I3.js} +3 -3
- package/cdn/chunks/{chunk.GFKXMARC.js → chunk.ZYAFL7BC.js} +10 -4
- package/cdn/chunks/{core-js.JQALWJRI.js → core-js.TKFIM466.js} +1 -1
- package/cdn/chunks/{dom.47DVCSJV.js → dom.6JFLMPA6.js} +1 -1
- package/cdn/chunks/{wc-datepicker.entry.XBA7YLCU.js → wc-datepicker.entry.Y6YDPVTT.js} +3 -3
- 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 +4 -4
- 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-card/checkbox-card.js +1 -1
- 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 +14 -14
- 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 +3 -3
- 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 +6 -3
- package/cdn/components/filter-base/filter-base.js +8 -7
- 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 +28 -28
- package/cdn/components/filter-date/filter-date.js +16 -15
- package/cdn/components/filter-range/filter-range.js +29 -29
- package/cdn/components/filter-select/filter-select.js +29 -29
- 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 +20 -20
- package/cdn/components/input/input.styles.js +2 -2
- package/cdn/components/input-date/input-date.js +17 -17
- 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 +17 -17
- package/cdn/components/input-phone/input-phone.styles.js +2 -2
- package/cdn/components/input-time/input-time.js +12 -12
- 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/menu-item/menu-item.js +1 -1
- package/cdn/components/navbar-menu/navbar-menu.js +4 -3
- 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 +22 -22
- package/cdn/components/pagination-button/pagination-button.js +1 -1
- package/cdn/components/popup/popup.js +1 -1
- package/cdn/components/profile-button/profile-button.js +5 -5
- package/cdn/components/progress-bar/progress-bar.d.ts +1 -1
- package/cdn/components/progress-bar/progress-bar.js +3 -2
- package/cdn/components/progress-ring/progress-ring.d.ts +2 -2
- package/cdn/components/progress-ring/progress-ring.js +2 -1
- package/cdn/components/quote/quote.js +3 -2
- package/cdn/components/radio/radio.js +1 -1
- package/cdn/components/radio-button/radio-button.js +9 -9
- package/cdn/components/radio-card/radio-card.js +8 -8
- 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 +13 -13
- 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 +3 -3
- package/cdn/components/tree/tree.js +12 -12
- package/cdn/components/tree-item/tree-item.js +11 -11
- package/cdn/custom-elements.json +314 -16
- package/cdn/design-system.d.ts +1 -0
- package/cdn/design-system.js +140 -135
- package/cdn/internal/components/date-field/date-field.js +16 -13
- package/cdn/internal/components/form-control/form-control-layout.d.ts +2 -1
- package/cdn/internal/components/form-control/form-control-layout.js +17 -4
- 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/internal/components/radio-icon/radio-icon.styles.js +9 -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 +39 -5
- package/cdn/web-types.json +164 -10
- package/dist/chunks/{chunk.XDEXZL3R.js → chunk.2BZBH3CX.js} +9 -0
- 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.I2PWWNDZ.js → chunk.37I5GPBX.js} +11 -3
- 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.UL2XNE5X.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.O4WGPUE5.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.GW2MJTCT.js → chunk.7E57JVUE.js} +2 -2
- package/dist/chunks/{chunk.HAYCQF2N.js → chunk.7K5DG6KV.js} +1 -1
- package/dist/chunks/{chunk.IDGKF6AP.js → chunk.A4R5LBIA.js} +16 -5
- package/dist/chunks/{chunk.AFRAGNLK.js → chunk.AC4PBQVM.js} +12 -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.P5DC3N5P.js → chunk.DR3IPTYE.js} +30 -24
- package/dist/chunks/{chunk.D6SKE3AF.js → chunk.DYTNEN2V.js} +7 -9
- package/dist/chunks/{chunk.KQ224IDT.js → chunk.E7S4C6P7.js} +1 -3
- 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.4P7DDUA4.js → chunk.G3UE6SMI.js} +149 -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.L2EOSD7N.js → chunk.IHTWK22H.js} +1 -3
- 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.CN6TUCPE.js → chunk.JMJY2JIN.js} +5 -3
- package/dist/chunks/{chunk.WIVRYVXD.js → chunk.JRJB2DFE.js} +1 -1
- package/dist/chunks/{chunk.Z2YO6E64.js → chunk.JZYJ2V4F.js} +5 -4
- 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.WELYJWNG.js → chunk.KNPGT6SV.js} +15 -1
- 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.BQEHELQ5.js → chunk.M4H37WUH.js} +2 -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.B4SMUSVU.js → chunk.O4HVYU6G.js} +18 -17
- 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.5EBCNG2J.js → chunk.RVCSQIWF.js} +19 -7
- 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.7YIOE3D2.js → chunk.TRQQN4AO.js} +7 -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.GGBIEJ25.js → chunk.VJJQFEZ2.js} +6 -9
- package/dist/chunks/{chunk.52V3WTR3.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.DLACE2NU.js → chunk.XG7KR6BI.js} +27 -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.6BXZEG5L.js → dist/chunks/chunk.YBWQADCH.js} +3 -7
- 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-card/checkbox-card.js +1 -1
- 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/menu-item/menu-item.js +1 -1
- 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.d.ts +1 -1
- package/dist/components/progress-bar/progress-bar.js +3 -2
- package/dist/components/progress-ring/progress-ring.d.ts +2 -2
- package/dist/components/progress-ring/progress-ring.js +2 -1
- package/dist/components/quote/quote.js +3 -2
- package/dist/components/radio/radio.js +1 -1
- package/dist/components/radio-button/radio-button.js +9 -9
- package/dist/components/radio-card/radio-card.js +8 -8
- 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 +314 -16
- package/dist/design-system.d.ts +1 -0
- package/dist/design-system.js +138 -133
- package/dist/internal/components/date-field/date-field.js +16 -13
- package/dist/internal/components/form-control/form-control-layout.d.ts +2 -1
- package/dist/internal/components/form-control/form-control-layout.js +17 -4
- 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/internal/components/radio-icon/radio-icon.styles.js +9 -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 +39 -5
- package/dist/web-types.json +164 -10
- package/package.json +25 -25
|
@@ -48,6 +48,8 @@ export class FormControlLayout extends ShoelaceElement {
|
|
|
48
48
|
this.form = '';
|
|
49
49
|
/** Makes the form control a required field. */
|
|
50
50
|
this.required = false;
|
|
51
|
+
/** Provides an accessible description for the element */
|
|
52
|
+
this.description = '';
|
|
51
53
|
}
|
|
52
54
|
renderInput() {
|
|
53
55
|
return html ``;
|
|
@@ -63,9 +65,12 @@ export class FormControlLayout extends ShoelaceElement {
|
|
|
63
65
|
const hasHelpTextSlot = this.hasSlotController.test('help-text');
|
|
64
66
|
const hasLabel = this.label ? true : !!hasLabelSlot;
|
|
65
67
|
const hasHelpText = this.helpText ? true : !!hasHelpTextSlot;
|
|
66
|
-
if (!hasLabel) {
|
|
68
|
+
if (!hasLabel && !this.title) {
|
|
67
69
|
a11yWarning('Form controls require a label attribute or a label slot for accessibility');
|
|
68
70
|
}
|
|
71
|
+
if (this.error && !this.errorMessage) {
|
|
72
|
+
a11yWarning('Form controls requires an error-message attribute for accessibility when the error attribute is set');
|
|
73
|
+
}
|
|
69
74
|
return html `
|
|
70
75
|
<div
|
|
71
76
|
part="form-control"
|
|
@@ -109,6 +114,14 @@ export class FormControlLayout extends ShoelaceElement {
|
|
|
109
114
|
</slot>
|
|
110
115
|
|
|
111
116
|
${this.renderCounter()}
|
|
117
|
+
|
|
118
|
+
${this.description !== ''
|
|
119
|
+
? html `
|
|
120
|
+
<p id="description" classname="form-control__description">
|
|
121
|
+
${this.description}
|
|
122
|
+
</p>
|
|
123
|
+
`
|
|
124
|
+
: ''}
|
|
112
125
|
|
|
113
126
|
${this.error && !this.disabled && this.errorMessage !== ''
|
|
114
127
|
? renderFormElementErrors(this.errorMessage)
|
|
@@ -139,9 +152,6 @@ __decorate([
|
|
|
139
152
|
__decorate([
|
|
140
153
|
property({ type: Boolean, reflect: true })
|
|
141
154
|
], FormControlLayout.prototype, "disabled", void 0);
|
|
142
|
-
__decorate([
|
|
143
|
-
property()
|
|
144
|
-
], FormControlLayout.prototype, "lang", void 0);
|
|
145
155
|
__decorate([
|
|
146
156
|
property()
|
|
147
157
|
], FormControlLayout.prototype, "placeholder", void 0);
|
|
@@ -173,3 +183,6 @@ __decorate([
|
|
|
173
183
|
__decorate([
|
|
174
184
|
property({ type: Boolean, reflect: true })
|
|
175
185
|
], FormControlLayout.prototype, "required", void 0);
|
|
186
|
+
__decorate([
|
|
187
|
+
property({ attribute: 'description' })
|
|
188
|
+
], FormControlLayout.prototype, "description", void 0);
|
|
@@ -3,6 +3,7 @@ import '../../../components/icon/icon';
|
|
|
3
3
|
import { ShoelaceElement } from '../../shoelace-element';
|
|
4
4
|
export declare class FormToggleButton extends ShoelaceElement {
|
|
5
5
|
static styles: CSSResultGroup;
|
|
6
|
+
private readonly hasSlotController;
|
|
6
7
|
button: HTMLInputElement;
|
|
7
8
|
protected type: 'radio' | 'checkbox';
|
|
8
9
|
/**
|
|
@@ -9,12 +9,15 @@ import { classMap } from 'lit/directives/class-map.js';
|
|
|
9
9
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
10
10
|
import { html } from 'lit/static-html.js';
|
|
11
11
|
import '../../../components/icon/icon';
|
|
12
|
+
import { a11yWarning } from '../../a11y-warning';
|
|
12
13
|
import { ShoelaceElement } from '../../shoelace-element';
|
|
14
|
+
import { HasSlotController } from '../../slot';
|
|
13
15
|
import { watch } from '../../watch';
|
|
14
16
|
import styles from './form-toggle-button.styles';
|
|
15
17
|
export class FormToggleButton extends ShoelaceElement {
|
|
16
18
|
constructor() {
|
|
17
19
|
super(...arguments);
|
|
20
|
+
this.hasSlotController = new HasSlotController(this, '[default]');
|
|
18
21
|
/**
|
|
19
22
|
* @internal The button's checked state. This is exposed as an "internal" attribute so we can reflect it, making
|
|
20
23
|
* it easier to style in button groups.
|
|
@@ -65,6 +68,9 @@ export class FormToggleButton extends ShoelaceElement {
|
|
|
65
68
|
const isDisabled = this.disabled || this.parentDisabled;
|
|
66
69
|
const isReadonly = this.readonly || this.parentReadonly;
|
|
67
70
|
const isDeactivated = isDisabled || isReadonly;
|
|
71
|
+
if (!this.hasSlotController.test('[default]')) {
|
|
72
|
+
a11yWarning(`<dsa-${this.type}-card> requires an accessible name in the default slot for accessibility`);
|
|
73
|
+
}
|
|
68
74
|
return html `
|
|
69
75
|
<div part="base">
|
|
70
76
|
<button
|
|
@@ -83,4 +83,13 @@ export default css `
|
|
|
83
83
|
border-color: var(--dsa-wc-radio-border-color-readonly);
|
|
84
84
|
background-color: var(--dsa-wc-radio-color-readonly);
|
|
85
85
|
}
|
|
86
|
+
|
|
87
|
+
@media (forced-colors: active) {
|
|
88
|
+
.radio__control--checked {
|
|
89
|
+
border-color: Highlight;
|
|
90
|
+
}
|
|
91
|
+
.radio__control--checked .radio__inner {
|
|
92
|
+
background-color: Highlight;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
86
95
|
`;
|
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
--dsa-wc-tab-color-disabled: var(--dsa-color-tab-disabled);
|
|
359
359
|
--dsa-wc-tab-color-hover: var(--dsa-color-tab-hover);
|
|
360
360
|
--dsa-wc-tab-color-active-tab: var(--dsa-color-tab-active);
|
|
361
|
-
--dsa-wc-tab-padding: var(--dsa-spacing-
|
|
361
|
+
--dsa-wc-tab-padding: var(--dsa-spacing-12) var(--dsa-spacing-24);
|
|
362
362
|
--dsa-wc-tab-closable-padding-inline-start: var(--dsa-spacing-8);
|
|
363
363
|
--dsa-wc-tab-close-size: var(--dsa-spacing-16);
|
|
364
364
|
--dsa-wc-tab-close-padding: 0;
|
|
@@ -380,6 +380,13 @@
|
|
|
380
380
|
);
|
|
381
381
|
--dsa-wc-icon-button-border-radius: var(--dsa-radius-4);
|
|
382
382
|
--dsa-wc-icon-button-padding: var(--dsa-spacing-8);
|
|
383
|
+
--dsa-wc-icon-button-size--2xsmall: 0.625rem;
|
|
384
|
+
--dsa-wc-icon-button-size--xsmall: 0.75rem;
|
|
385
|
+
--dsa-wc-icon-button-size--small: 0.875rem;
|
|
386
|
+
--dsa-wc-icon-button-size--medium: 1rem;
|
|
387
|
+
--dsa-wc-icon-button-size--large: 1.25rem;
|
|
388
|
+
--dsa-wc-icon-button-size--xlarge: 1.5rem;
|
|
389
|
+
--dsa-wc-icon-button-size--2xlarge: 2.25rem;
|
|
383
390
|
--dsa-wc-card-color: var(--dsa-color-card-on-background);
|
|
384
391
|
--dsa-wc-card-body-font: var(--dsa-font-medium-normal);
|
|
385
392
|
--dsa-wc-card-title-font: var(--dsa-font-medium-bold);
|
|
@@ -410,8 +417,8 @@
|
|
|
410
417
|
--dsa-wc-download-card-document-info-color: var(
|
|
411
418
|
--dsa-color-text-on-base-secondary
|
|
412
419
|
);
|
|
413
|
-
--dsa-wc-download-card-icon-color: var(--dsa-color-
|
|
414
|
-
--dsa-wc-download-card-icon-size:
|
|
420
|
+
--dsa-wc-download-card-icon-color: var(--dsa-color-text-on-base-primary);
|
|
421
|
+
--dsa-wc-download-card-icon-size: 1.5rem;
|
|
415
422
|
--dsa-wc-download-card-border-width: 1px;
|
|
416
423
|
--dsa-wc-download-card-border-color: var(--dsa-color-border-default);
|
|
417
424
|
--dsa-wc-download-card-border-color-hover: var(--dsa-color-border-hover);
|
|
@@ -419,6 +426,12 @@
|
|
|
419
426
|
--dsa-wc-download-card-border-color-active: var(
|
|
420
427
|
--dsa-color-background-selected
|
|
421
428
|
);
|
|
429
|
+
--dsa-wc-download-link-icon-size--xlarge: 2rem;
|
|
430
|
+
--dsa-wc-download-link-icon-size--large: 1.75rem;
|
|
431
|
+
--dsa-wc-download-link-icon-size--medium: 1.5rem;
|
|
432
|
+
--dsa-wc-download-link-icon-size--small: 1.25rem;
|
|
433
|
+
--dsa-wc-download-link-icon-size--xsmall: 1rem;
|
|
434
|
+
--dsa-wc-download-link-icon-size--2xsmall: 0.875rem;
|
|
422
435
|
--dsa-wc-menu-background-color: var(--dsa-color-background-base);
|
|
423
436
|
--dsa-wc-menu-border: solid 1px var(--dsa-color-border-default);
|
|
424
437
|
--dsa-wc-menu-border-radius: var(--dsa-spacing-4);
|
|
@@ -521,17 +534,15 @@
|
|
|
521
534
|
var(--dsa-spacing-8);
|
|
522
535
|
--dsa-wc-option-prefix-suffix-inline-padding: var(--dsa-spacing-8);
|
|
523
536
|
--dsa-wc-option-large-prefix-suffix-inline-padding: var(--dsa-spacing-12);
|
|
524
|
-
--dsa-wc-badge-font: var(--dsa-font-x-small-bold);
|
|
525
537
|
--dsa-wc-badge-small-font: var(--dsa-font-2x-small-bold);
|
|
526
|
-
--dsa-wc-badge-
|
|
527
|
-
--dsa-wc-badge-dot-small-padding:
|
|
528
|
-
--dsa-wc-badge-
|
|
529
|
-
--dsa-wc-badge-text-small-padding:
|
|
530
|
-
--dsa-wc-badge-padding:
|
|
531
|
-
--dsa-wc-badge-
|
|
532
|
-
--dsa-wc-badge-text-min-width:
|
|
533
|
-
--dsa-wc-badge-
|
|
534
|
-
--dsa-wc-badge-border-radius: 32px;
|
|
538
|
+
--dsa-wc-badge-medium-font: var(--dsa-font-x-small-bold);
|
|
539
|
+
--dsa-wc-badge-dot-small-padding: 0.25rem;
|
|
540
|
+
--dsa-wc-badge-dot-medium-padding: 0.5rem;
|
|
541
|
+
--dsa-wc-badge-text-small-padding: 0.125rem 0.5rem;
|
|
542
|
+
--dsa-wc-badge-text-medium-padding: 0.35rem 0.7rem;
|
|
543
|
+
--dsa-wc-badge-text-medium-min-width: 1.5rem;
|
|
544
|
+
--dsa-wc-badge-text-small-min-width: 1rem;
|
|
545
|
+
--dsa-wc-badge-border-radius: 2rem;
|
|
535
546
|
--dsa-wc-badge-background-color-primary: var(
|
|
536
547
|
--dsa-color-badge-background-default
|
|
537
548
|
);
|
|
@@ -1205,14 +1216,14 @@
|
|
|
1205
1216
|
--dsa-wc-tag-border-radius: var(--dsa-radius-32);
|
|
1206
1217
|
--dsa-wc-tag-icon-spacing: var(--dsa-spacing-4);
|
|
1207
1218
|
--dsa-wc-tag-small-font-size: var(--dsa-font-x-small-normal);
|
|
1208
|
-
--dsa-wc-tag-small-height:
|
|
1209
|
-
--dsa-wc-tag-small-padding
|
|
1219
|
+
--dsa-wc-tag-small-height: 1.5rem;
|
|
1220
|
+
--dsa-wc-tag-small-padding: 0 0.5rem;
|
|
1210
1221
|
--dsa-wc-tag-medium-font-size: var(--dsa-font-small-normal);
|
|
1211
|
-
--dsa-wc-tag-medium-height:
|
|
1212
|
-
--dsa-wc-tag-medium-padding
|
|
1222
|
+
--dsa-wc-tag-medium-height: 2rem;
|
|
1223
|
+
--dsa-wc-tag-medium-padding: 0 0.75rem;
|
|
1213
1224
|
--dsa-wc-tag-large-font-size: var(--dsa-font-medium-normal);
|
|
1214
|
-
--dsa-wc-tag-large-height:
|
|
1215
|
-
--dsa-wc-tag-large-padding
|
|
1225
|
+
--dsa-wc-tag-large-height: 2.5rem;
|
|
1226
|
+
--dsa-wc-tag-large-padding: 0 1rem;
|
|
1216
1227
|
--dsa-wc-tag-green-700-on-base: var(
|
|
1217
1228
|
--dsa-color-tag-simple-green-on-dark-background
|
|
1218
1229
|
);
|
|
@@ -1370,6 +1381,7 @@
|
|
|
1370
1381
|
--dsa-wc-breadcrumb-item-spacing: 0.5rem;
|
|
1371
1382
|
--dsa-wc-breadcrumb-item-separator-margin-y: 0.5rem;
|
|
1372
1383
|
--dsa-wc-breadcrumb-item-icon-color: var(--dsa-color-icon-on-base-default);
|
|
1384
|
+
--dsa-wc-breadcrumb-item-icon-size: 1.125rem;
|
|
1373
1385
|
--dsa-wc-breadcrumb-item-text-decoration-thickness: 0.125rem;
|
|
1374
1386
|
--dsa-wc-breadcrumb-item-text-underline-offset: 4px;
|
|
1375
1387
|
--dsa-wc-breadcrumb-item-outline-offset: 3px;
|
|
@@ -1562,9 +1574,7 @@
|
|
|
1562
1574
|
--dsa-wc-error-text-icon-padding-small: 1.5px;
|
|
1563
1575
|
--dsa-wc-error-text-icon-padding-large: 1.5px;
|
|
1564
1576
|
--dsa-wc-error-text-icon-color: var(--dsa-color-icon-error);
|
|
1565
|
-
--dsa-wc-error-text-icon-size:
|
|
1566
|
-
--dsa-wc-error-text-icon-size-small: 0.729rem;
|
|
1567
|
-
--dsa-wc-error-text-icon-size-large: 0.938rem;
|
|
1577
|
+
--dsa-wc-error-text-icon-size: 1.25em;
|
|
1568
1578
|
--dsa-wc-error-text-color: var(--dsa-color-input-label-error);
|
|
1569
1579
|
--dsa-wc-error-text-font: var(--dsa-font-x-small-normal);
|
|
1570
1580
|
--dsa-wc-error-text-font-small: var(--dsa-font-2x-small-normal);
|
|
@@ -1590,6 +1600,7 @@
|
|
|
1590
1600
|
--dsa-wc-accordion-disabled-icon-color: var(
|
|
1591
1601
|
--dsa-color-icon-on-base-disabled
|
|
1592
1602
|
);
|
|
1603
|
+
--dsa-wc-accordion-icon-size: 1.125rem;
|
|
1593
1604
|
--dsa-wc-accordion-color: var(--dsa-color-text-on-base-primary);
|
|
1594
1605
|
--dsa-wc-accordion-disabled-color: var(--dsa-color-text-on-base-disabled);
|
|
1595
1606
|
--dsa-wc-accordion-font: var(--dsa-font-medium-normal);
|
|
@@ -1618,6 +1629,7 @@
|
|
|
1618
1629
|
--dsa-wc-select-listbox-border-color: var(--dsa-color-border-default);
|
|
1619
1630
|
--dsa-wc-select-listbox-background-color: var(--dsa-color-background-base);
|
|
1620
1631
|
--dsa-wc-select-icon-margin: 0.75rem;
|
|
1632
|
+
--dsa-wc-select-icon-size: 1rem;
|
|
1621
1633
|
--dsa-wc-multiselect-tag-margin-inline-start: 0.25rem;
|
|
1622
1634
|
--dsa-wc-multiselect-tag-background: var(
|
|
1623
1635
|
--dsa-color-tag-multiselect-background
|
|
@@ -1647,6 +1659,7 @@
|
|
|
1647
1659
|
--dsa-wc-combobox-expand-icon-error-color: var(
|
|
1648
1660
|
--dsa-color-icon-on-base-error
|
|
1649
1661
|
);
|
|
1662
|
+
--dsa-wc-combobox-expand-icon-size: 1.125rem;
|
|
1650
1663
|
--dsa-wc-combobox-clear-button-focus-ring: solid 2px
|
|
1651
1664
|
var(--dsa-wc-focus-ring-color);
|
|
1652
1665
|
--dsa-wc-drawer-overlay-color: var(--dsa-color-surface-overlay);
|
|
@@ -1934,6 +1947,19 @@
|
|
|
1934
1947
|
);
|
|
1935
1948
|
--dsa-wc-header-search-mobile-input-font: var(--dsa-font-small-normal);
|
|
1936
1949
|
--dsa-wc-header-search-input-font: var(--dsa-font-medium-normal);
|
|
1950
|
+
--dsa-wc-page-header-background: var(--dsa-color-surface-layer);
|
|
1951
|
+
--dsa-wc-page-header-color: var(--dsa-color-text-on-base-primary);
|
|
1952
|
+
--dsa-wc-page-header-padding-x-mobile: var(--dsa-spacing-16);
|
|
1953
|
+
--dsa-wc-page-header-padding-x-desktop: 80px;
|
|
1954
|
+
--dsa-wc-page-header-title-icon-size-mobile: 2.5rem;
|
|
1955
|
+
--dsa-wc-page-header-title-icon-size-desktop: 2rem;
|
|
1956
|
+
--dsa-wc-page-header-title-font-mobile: var(--dsa-font-large-bold);
|
|
1957
|
+
--dsa-wc-page-header-title-font-desktop: var(--dsa-font-x-large-bold);
|
|
1958
|
+
--dsa-wc-page-header-subtitle-font: var(--dsa-font-medium-normal);
|
|
1959
|
+
--dsa-wc-page-header-secondary-text-font: var(--dsa-font-small-normal);
|
|
1960
|
+
--dsa-wc-page-header-secondary-text-color: var(
|
|
1961
|
+
--dsa-color-text-on-base-secondary
|
|
1962
|
+
);
|
|
1937
1963
|
--dsa-wc-profile-button-border-radius: 40px;
|
|
1938
1964
|
--dsa-wc-profile-button-font: var(--dsa-font-small-normal);
|
|
1939
1965
|
--dsa-wc-profile-button-background: var(--dsa-color-background-base);
|
|
@@ -1969,7 +1995,6 @@
|
|
|
1969
1995
|
--dsa-color-table-header-cell-default-background
|
|
1970
1996
|
);
|
|
1971
1997
|
--dsa-wc-table-header-row-color: var(--dsa-color-text-on-base-primary);
|
|
1972
|
-
--dsa-wc-table-header-row-height: 2.5rem;
|
|
1973
1998
|
--dsa-wc-table-cell-padding-y: var(--dsa-spacing-4);
|
|
1974
1999
|
--dsa-wc-table-cell-padding-x: var(--dsa-spacing-8);
|
|
1975
2000
|
--dsa-wc-table-cell-border-color: var(--dsa-color-divider-background);
|
|
@@ -2064,12 +2089,13 @@
|
|
|
2064
2089
|
--dsa-wc-filter-button-hover-background-color: var(
|
|
2065
2090
|
--dsa-color-primitive-colors-identity-purple-100
|
|
2066
2091
|
);
|
|
2092
|
+
--dsa-wc-filter-button-icon-size: 1.125rem;
|
|
2067
2093
|
--dsa-wc-filter-button-drawer-min-height: var(--dsa-spacing-48);
|
|
2068
2094
|
--dsa-wc-filter-button-drawer-padding: var(--dsa-spacing-8)
|
|
2069
2095
|
var(--dsa-spacing-12);
|
|
2070
2096
|
--dsa-filter-panel-min-width: 280px;
|
|
2071
2097
|
--dsa-filter-panel-max-height: 760px;
|
|
2072
|
-
--dsa-wc-calendar-width:
|
|
2098
|
+
--dsa-wc-calendar-width: 17.5rem;
|
|
2073
2099
|
--dsa-wc-calendar-radius: var(--dsa-radius-4);
|
|
2074
2100
|
--dsa-wc-calendar-background-color: var(--dsa-color-background-base);
|
|
2075
2101
|
--dsa-wc-calendar-font-color: var(--dsa-color-text-on-base-primary);
|
|
@@ -2079,7 +2105,7 @@
|
|
|
2079
2105
|
--dsa-wc-calendar-header-color: var(--dsa-color-text-on-base-secondary);
|
|
2080
2106
|
--dsa-wc-calendar-cell-font: var(--dsa-font-small-normal);
|
|
2081
2107
|
--dsa-wc-calendar-cell-color: var(--dsa-color-text-on-base-primary);
|
|
2082
|
-
--dsa-wc-calendar-cell-size:
|
|
2108
|
+
--dsa-wc-calendar-cell-size: 2.25rem;
|
|
2083
2109
|
--dsa-wc-calendar-cell-padding: var(--dsa-spacing-8);
|
|
2084
2110
|
--dsa-wc-calendar-cell-overflow-color: var(
|
|
2085
2111
|
--dsa-color-primitive-colors-neutral-650
|
|
@@ -2243,12 +2269,21 @@
|
|
|
2243
2269
|
border-bottom-style: solid;
|
|
2244
2270
|
transition: border-width 0.1s ease-out;
|
|
2245
2271
|
}
|
|
2246
|
-
.dsa-link--with-prefix,
|
|
2247
|
-
.dsa-link--with-suffix {
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2272
|
+
.dsa-link--with-prefix > dsa-icon,
|
|
2273
|
+
.dsa-link--with-suffix > dsa-icon {
|
|
2274
|
+
margin-bottom: -0.1875rem;
|
|
2275
|
+
}
|
|
2276
|
+
.dsa-link--with-prefix > dsa-icon {
|
|
2277
|
+
margin-right: var(--dsa-spacing-4);
|
|
2278
|
+
}
|
|
2279
|
+
.dsa-link--with-suffix > dsa-icon {
|
|
2280
|
+
margin-left: var(--dsa-spacing-4);
|
|
2281
|
+
}
|
|
2282
|
+
.dsa-link--with-prefix.dsa-link--with-suffix > dsa-icon:first-of-type {
|
|
2283
|
+
margin-left: 0;
|
|
2284
|
+
}
|
|
2285
|
+
.dsa-link--with-prefix.dsa-link--with-suffix > dsa-icon:last-of-type {
|
|
2286
|
+
margin-right: 0;
|
|
2252
2287
|
}
|
|
2253
2288
|
.dsa-link--on-sitemap {
|
|
2254
2289
|
transition: none;
|
|
@@ -2273,6 +2308,7 @@
|
|
|
2273
2308
|
var(--dsa-wc-link-underline-thickness) *
|
|
2274
2309
|
var(--dsa-wc-link-hover-underline-thickness-multiplier)
|
|
2275
2310
|
);
|
|
2311
|
+
margin-bottom: 0;
|
|
2276
2312
|
}
|
|
2277
2313
|
.dsa-link--with-prefix:hover,
|
|
2278
2314
|
.dsa-link--with-suffix:hover {
|
|
@@ -2404,3 +2440,60 @@
|
|
|
2404
2440
|
width: 360px;
|
|
2405
2441
|
grid-template-columns: repeat(4, 1fr);
|
|
2406
2442
|
}
|
|
2443
|
+
|
|
2444
|
+
.dsa-table {
|
|
2445
|
+
width: 100%;
|
|
2446
|
+
border-spacing: 0;
|
|
2447
|
+
}
|
|
2448
|
+
.dsa-table .dsa-table-header-row,
|
|
2449
|
+
.dsa-table .dsa-table-row {
|
|
2450
|
+
block-size: var(--dsa-wc-table-row-medium-height);
|
|
2451
|
+
}
|
|
2452
|
+
.dsa-table--small .dsa-table-header-row,
|
|
2453
|
+
.dsa-table--small .dsa-table-row {
|
|
2454
|
+
block-size: var(--dsa-wc-table-row-small-height);
|
|
2455
|
+
}
|
|
2456
|
+
.dsa-table--large .dsa-table-header-row,
|
|
2457
|
+
.dsa-table--large .dsa-table-row {
|
|
2458
|
+
block-size: var(--dsa-wc-table-row-large-height);
|
|
2459
|
+
}
|
|
2460
|
+
.dsa-table-header-row {
|
|
2461
|
+
font: var(--dsa-wc-table-header-row-font);
|
|
2462
|
+
background: var(--dsa-wc-table-header-row-background);
|
|
2463
|
+
color: var(--dsa-wc-table-header-row-color);
|
|
2464
|
+
}
|
|
2465
|
+
.dsa-table-row {
|
|
2466
|
+
border: none;
|
|
2467
|
+
background: var(--dsa-wc-table-row-background);
|
|
2468
|
+
font: var(--dsa-wc-table-row-font);
|
|
2469
|
+
color: var(--dsa-wc-table-row-color);
|
|
2470
|
+
}
|
|
2471
|
+
.dsa-table-row:hover {
|
|
2472
|
+
background: var(--dsa-wc-table-row-hover-background);
|
|
2473
|
+
}
|
|
2474
|
+
.dsa-table-header-cell[colspan]:not([colspan="1"]) {
|
|
2475
|
+
text-align: center;
|
|
2476
|
+
}
|
|
2477
|
+
.dsa-table-header-cell,
|
|
2478
|
+
.dsa-table-cell {
|
|
2479
|
+
box-sizing: border-box;
|
|
2480
|
+
padding: var(--dsa-wc-table-header-cell-padding-y)
|
|
2481
|
+
var(--dsa-wc-table-header-cell-padding-x);
|
|
2482
|
+
vertical-align: middle;
|
|
2483
|
+
text-align: start;
|
|
2484
|
+
border-block-end: var(--dsa-wc-table-cell-border-size) solid
|
|
2485
|
+
var(--dsa-wc-table-cell-border-color);
|
|
2486
|
+
}
|
|
2487
|
+
.dsa-table-header-cell {
|
|
2488
|
+
padding: var(--dsa-wc-table-header-cell-padding-y)
|
|
2489
|
+
var(--dsa-wc-table-header-cell-padding-x);
|
|
2490
|
+
}
|
|
2491
|
+
.dsa-table-cell {
|
|
2492
|
+
padding: var(--dsa-wc-table-cell-padding-y) var(--dsa-wc-table-cell-padding-x);
|
|
2493
|
+
}
|
|
2494
|
+
.dsa-table-header-cell--hover {
|
|
2495
|
+
background: var(--dsa-wc-table-header-cell-background-hover);
|
|
2496
|
+
}
|
|
2497
|
+
.dsa-table-cell--hover {
|
|
2498
|
+
background: var(--dsa-wc-table-row-hover-background);
|
|
2499
|
+
}
|