@ds-autonomie/web-components 2.0.0-alpha.1 → 2.1.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 +58 -7
- package/cdn/chunks/{chunk.H5G3WI2I.js → chunk.3OPTPDM7.js} +1 -1
- package/cdn/chunks/{chunk.INJMH4ID.js → chunk.3PW6CC5R.js} +4 -4
- package/cdn/chunks/{chunk.QTUCYPM5.js → chunk.3TUFAITJ.js} +18 -0
- package/cdn/chunks/{chunk.ZSVXKM24.js → chunk.45JVH3EU.js} +1 -1
- package/cdn/chunks/{chunk.BLYM2Y2T.js → chunk.5AFQZ4HE.js} +1 -1
- package/cdn/chunks/{chunk.IWLB2I5P.js → chunk.5BF76EO7.js} +5 -5
- package/cdn/chunks/{chunk.7LNFF4Z7.js → chunk.5BL6KECM.js} +47 -10
- package/cdn/chunks/{chunk.BIFW3FS4.js → chunk.6CF6SXDF.js} +5 -6
- package/cdn/chunks/{chunk.4FTCF6LD.js → chunk.6H5KLQNT.js} +4 -4
- package/cdn/chunks/{chunk.WLU2CZZM.js → chunk.6V2FRFCB.js} +2 -1
- package/cdn/chunks/{chunk.KQ5BQRHA.js → chunk.77CWRZEL.js} +6 -0
- package/cdn/chunks/{chunk.AAZDDJJ5.js → chunk.77JWQ5MT.js} +7 -7
- package/cdn/chunks/{chunk.KC5IRCKL.js → chunk.7CIXFYLV.js} +4 -4
- package/cdn/chunks/{chunk.KTUVO7HC.js → chunk.7KCFANDH.js} +3 -3
- package/cdn/chunks/{chunk.NPKLECQZ.js → chunk.APACKBZF.js} +1 -1
- package/cdn/chunks/{chunk.DJZD3RZP.js → chunk.BE7PKTJW.js} +4 -4
- package/cdn/chunks/chunk.BNPGOQZ2.js +223 -0
- package/cdn/chunks/{chunk.HESOOLZJ.js → chunk.COR7P3QG.js} +2 -2
- package/cdn/chunks/{chunk.VR6U4JFG.js → chunk.CUCCBQJX.js} +11 -2
- package/cdn/chunks/{chunk.AGVNU465.js → chunk.CVV4WLBC.js} +23 -15
- package/cdn/chunks/{chunk.FMJGPUQ5.js → chunk.D34ULVGO.js} +1 -1
- package/cdn/chunks/{chunk.N4F6WPH4.js → chunk.DNQJR4KR.js} +4 -3
- package/cdn/chunks/{chunk.VROQJUZJ.js → chunk.DSKRAAOI.js} +10 -11
- package/cdn/chunks/{chunk.ZKEHQFSV.js → chunk.E4GNTJPS.js} +7 -7
- package/cdn/chunks/{chunk.YKL53VZV.js → chunk.E6VF2I6I.js} +40 -12
- package/cdn/chunks/{chunk.Z42KEQOA.js → chunk.EARU4CHS.js} +7 -7
- package/cdn/chunks/{chunk.JBRFEBC3.js → chunk.FA2HQBM6.js} +1 -1
- package/cdn/chunks/{chunk.RJHKMM4I.js → chunk.FMPJ4AXA.js} +1 -1
- package/cdn/chunks/{chunk.O4KSQLMI.js → chunk.GFKXMARC.js} +16 -1
- package/cdn/chunks/{chunk.H2KCSSXV.js → chunk.HNDRJ3LR.js} +4 -4
- package/cdn/chunks/{chunk.DTZ62PPT.js → chunk.IGA57P5N.js} +13 -22
- package/cdn/chunks/{chunk.OZTSFVNS.js → chunk.IS6JFFBR.js} +4 -4
- package/cdn/chunks/{chunk.RSUDGY7S.js → chunk.J3A7VDK5.js} +4 -4
- package/cdn/chunks/{chunk.PQJTDIRH.js → chunk.JBUFTMYB.js} +4 -4
- package/cdn/chunks/{chunk.OBPWJFUR.js → chunk.JNDULVYM.js} +4 -4
- package/cdn/chunks/{chunk.USTDFCOX.js → chunk.JSVJ7J76.js} +29 -6
- package/cdn/chunks/{chunk.RXRET4S4.js → chunk.JTHUYIYP.js} +20 -15
- package/cdn/chunks/{chunk.KN365RDT.js → chunk.KTAPO27T.js} +2 -2
- package/cdn/chunks/{chunk.NYX4HJZV.js → chunk.L7BI7NJL.js} +7 -7
- package/cdn/chunks/{chunk.3NTS3AEA.js → chunk.LFCUNNYV.js} +34 -30
- package/cdn/chunks/{chunk.ZZN3U7DA.js → chunk.LRMXGBIU.js} +30 -16
- package/cdn/chunks/{chunk.Y3XJ4MSP.js → chunk.M5Z546V7.js} +1 -1
- package/cdn/chunks/{chunk.BOE7OTEJ.js → chunk.MEYHIAQ5.js} +6 -6
- package/cdn/chunks/{chunk.QMGHQF3A.js → chunk.N3WADQAB.js} +1 -1
- package/cdn/chunks/{chunk.Q6QZ5YAC.js → chunk.NPJ5ZOJ4.js} +27 -13
- package/cdn/chunks/{chunk.47IL5K7Y.js → chunk.NVI4N3YH.js} +1 -1
- package/cdn/chunks/{chunk.S2JMWC46.js → chunk.OIOL7U5V.js} +1 -1
- package/cdn/chunks/{chunk.JKIOWK3X.js → chunk.OP36PAMU.js} +14 -6
- package/cdn/chunks/{chunk.CVX3IMLO.js → chunk.OVD3Q2LV.js} +19 -4
- package/cdn/chunks/{chunk.3E6XVTWL.js → chunk.P45DWAWT.js} +1 -1
- package/cdn/chunks/{chunk.4R6GA3QJ.js → chunk.PGT2WHXR.js} +4 -5
- package/cdn/chunks/{chunk.IXDDXT7M.js → chunk.QCSRN6TI.js} +6 -6
- package/cdn/chunks/{chunk.F5JUSCH7.js → chunk.R6BGXKHX.js} +9 -9
- package/cdn/chunks/{chunk.SMMPWYCK.js → chunk.RJROYRRA.js} +6 -6
- package/cdn/chunks/chunk.RJXLIOW7.js +28 -0
- package/cdn/chunks/{chunk.ZWFC4NDX.js → chunk.RPF6UDR4.js} +1 -1
- package/cdn/chunks/{chunk.X7W55OYA.js → chunk.RPRWT2IH.js} +4 -4
- package/cdn/chunks/{chunk.YTHFESMA.js → chunk.S4BW7KNM.js} +5 -1
- package/cdn/chunks/{chunk.BF47T4OH.js → chunk.SW4US4PJ.js} +1 -1
- package/cdn/chunks/{chunk.IPCXNGHZ.js → chunk.T4RXUUPV.js} +4 -4
- package/cdn/chunks/{chunk.QN67BD7L.js → chunk.TCGVOWNQ.js} +1 -1
- package/cdn/chunks/{chunk.CN4FUXWV.js → chunk.THD27VRI.js} +1 -1
- package/cdn/chunks/{chunk.ZXNWWDPM.js → chunk.TYMYQFMO.js} +1 -1
- package/cdn/chunks/{chunk.57IZQ6GT.js → chunk.UFCZPYZA.js} +4 -4
- package/cdn/chunks/{chunk.PAGENBUA.js → chunk.UR6UOSYK.js} +10 -12
- package/cdn/chunks/{chunk.APO632QK.js → chunk.V7CLIMYE.js} +5 -1
- package/cdn/chunks/{chunk.VKSTN242.js → chunk.W2MICEQN.js} +4 -4
- package/cdn/chunks/{chunk.7DRFXE2D.js → chunk.WJ2QJ5NF.js} +10 -3
- package/cdn/chunks/{chunk.K64FTWE2.js → chunk.WO2QCEF7.js} +1 -1
- package/cdn/chunks/{chunk.JY6ROHQN.js → chunk.WOONNSQ2.js} +14 -20
- package/cdn/chunks/{chunk.F2LQ5OCB.js → chunk.XD7G7WIJ.js} +6 -2
- package/cdn/chunks/chunk.XIX7XP2G.js +91 -0
- package/cdn/chunks/{chunk.M5TPHPSC.js → chunk.XLX7QTXT.js} +64 -51
- package/cdn/chunks/{chunk.BTTFPDXL.js → chunk.XPL6N3OJ.js} +3 -2
- package/cdn/chunks/{chunk.OTJPXLII.js → chunk.XSXBXWVS.js} +27 -22
- package/cdn/chunks/{chunk.36PLL63A.js → chunk.XWKSA3TQ.js} +1 -1
- package/cdn/chunks/{chunk.EW6JESMP.js → chunk.Y2DCLNZQ.js} +7 -7
- package/cdn/chunks/{chunk.XSACDRAS.js → chunk.Y3OADZB3.js} +4 -4
- package/cdn/chunks/{chunk.WZXIAZUW.js → chunk.Y4RIWPTX.js} +4 -4
- package/cdn/chunks/{chunk.SNZHVTRR.js → chunk.Y5CXRULD.js} +11 -11
- package/cdn/chunks/{chunk.76CIOAAA.js → chunk.YD6XEMWC.js} +1 -1
- package/cdn/chunks/{chunk.DVNTVDIF.js → chunk.YSKUVTPO.js} +4 -4
- package/cdn/chunks/{chunk.R3G6FTMW.js → chunk.Z2IR3WWE.js} +10 -14
- package/cdn/chunks/{chunk.GJO7FKX5.js → chunk.Z6DEWBVS.js} +10 -6
- package/cdn/chunks/{chunk.RQW7JXI3.js → chunk.ZDLDKWEM.js} +4 -4
- package/cdn/chunks/{chunk.C4LXELTG.js → chunk.ZKPOAPR2.js} +3 -7
- package/cdn/chunks/{chunk.X7X3LESZ.js → chunk.ZLWLHLBC.js} +4 -2
- package/cdn/components/accordion/accordion.js +8 -8
- package/cdn/components/alert/alert.js +10 -10
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.js +7 -7
- package/cdn/components/breadcrumb/breadcrumb.js +7 -7
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +2 -2
- package/cdn/components/button/button.d.ts +9 -1
- package/cdn/components/button/button.js +10 -10
- package/cdn/components/button/button.styles.js +1 -1
- package/cdn/components/calendar/calendar.js +3 -3
- package/cdn/components/callout/callout.d.ts +3 -1
- package/cdn/components/callout/callout.js +8 -8
- package/cdn/components/checkbox/checkbox.d.ts +4 -1
- package/cdn/components/checkbox/checkbox.js +7 -7
- package/cdn/components/checkbox-button/checkbox-button.js +8 -8
- package/cdn/components/checkbox-group/checkbox-group.d.ts +4 -0
- package/cdn/components/checkbox-group/checkbox-group.js +9 -7
- package/cdn/components/combobox/combobox.js +11 -11
- package/cdn/components/dialog/dialog.d.ts +5 -1
- package/cdn/components/dialog/dialog.js +10 -10
- package/cdn/components/dialog/dialog.styles.js +1 -1
- package/cdn/components/divider/divider.js +1 -1
- package/cdn/components/download-card/download-card.js +7 -7
- package/cdn/components/download-card/download-card.styles.js +1 -1
- package/cdn/components/download-link/download-link.js +7 -7
- package/cdn/components/download-link/download-link.styles.js +1 -1
- package/cdn/components/drawer/drawer.js +9 -9
- 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 +5 -5
- package/cdn/components/file-upload/file-upload.d.ts +3 -1
- package/cdn/components/file-upload/file-upload.js +8 -8
- package/cdn/components/file-upload-item/file-upload-item.js +5 -5
- package/cdn/components/filter-base/filter-base-stories.js +1 -1
- package/cdn/components/filter-base/filter-base.js +8 -8
- package/cdn/components/filter-button/filter-button.js +7 -7
- package/cdn/components/filter-counter/filter-counter.js +21 -21
- package/cdn/components/filter-date/filter-date.js +15 -15
- package/cdn/components/filter-range/filter-range.js +23 -23
- package/cdn/components/filter-select/filter-select.d.ts +1 -0
- package/cdn/components/filter-select/filter-select.js +25 -25
- package/cdn/components/footer/footer.d.ts +2 -0
- package/cdn/components/footer/footer.js +4 -4
- package/cdn/components/footer/footer.styles.js +1 -1
- package/cdn/components/footer-content-block/footer-content-block.js +1 -1
- package/cdn/components/footer-mandatory-mentions/footer-mandatory-mentions.js +1 -1
- package/cdn/components/footer-sitemap-item/footer-sitemap-item.js +1 -1
- 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.d.ts +7 -1
- package/cdn/components/header/header.js +5 -5
- package/cdn/components/header/header.styles.js +1 -1
- package/cdn/components/header-search/header-search.d.ts +6 -0
- package/cdn/components/header-search/header-search.js +16 -10
- package/cdn/components/header-search/header-search.styles.js +1 -1
- package/cdn/components/icon/icon.js +5 -5
- package/cdn/components/icon/library.js +2 -2
- package/cdn/components/icon/library.system.js +1 -1
- package/cdn/components/icon-button/icon-button.d.ts +5 -0
- package/cdn/components/icon-button/icon-button.js +7 -7
- package/cdn/components/input/input.js +13 -13
- package/cdn/components/input-date/input-date.js +11 -11
- package/cdn/components/input-mask/input-mask.js +9 -9
- package/cdn/components/input-phone/input-phone.d.ts +3 -3
- package/cdn/components/input-phone/input-phone.js +16 -22
- package/cdn/components/input-phone/input-phone.styles.js +1 -1
- package/cdn/components/input-phone/input-phone.utils.d.ts +0 -2
- package/cdn/components/input-phone/input-phone.utils.js +1 -7
- package/cdn/components/menu-accordion/menu-accordion.js +7 -7
- package/cdn/components/menu-item/menu-item.js +6 -6
- package/cdn/components/menu-navigation/menu-navigation.js +1 -1
- package/cdn/components/navbar-link/navbar-link.js +7 -7
- package/cdn/components/navbar-menu/navbar-menu.js +8 -8
- package/cdn/components/option/option.js +8 -8
- package/cdn/components/option/option.styles.js +1 -1
- package/cdn/components/pagination/pagination.js +20 -20
- package/cdn/components/pagination-button/pagination-button.js +3 -3
- package/cdn/components/pagination-button/pagination-button.styles.js +2 -2
- package/cdn/components/profile-button/profile-button.js +10 -10
- package/cdn/components/progress-bar/progress-bar.js +3 -3
- package/cdn/components/quote/quote.js +7 -7
- package/cdn/components/radio/radio.js +7 -7
- package/cdn/components/radio/radio.styles.js +1 -1
- package/cdn/components/radio-button/radio-button.js +13 -11
- package/cdn/components/radio-group/radio-group.d.ts +4 -0
- package/cdn/components/radio-group/radio-group.js +10 -8
- package/cdn/components/range-slider/range-slider.d.ts +0 -2
- package/cdn/components/range-slider/range-slider.js +2 -2
- package/cdn/components/relative-time/relative-time.js +2 -2
- package/cdn/components/select/select.js +10 -10
- 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 +7 -7
- package/cdn/components/step/step.d.ts +1 -0
- package/cdn/components/step/step.js +7 -7
- package/cdn/components/stepper/stepper.js +2 -2
- package/cdn/components/tab/tab.d.ts +2 -4
- package/cdn/components/tab/tab.js +10 -10
- package/cdn/components/tab/tab.styles.js +1 -1
- package/cdn/components/tab-group/tab-group.js +9 -9
- package/cdn/components/tab-panel/tab-panel.js +2 -2
- package/cdn/components/table-action/table-action.js +3 -3
- package/cdn/components/table-caption/table-caption.js +3 -3
- package/cdn/components/table-cell/table-cell.js +1 -1
- package/cdn/components/table-container/table-container.js +2 -2
- package/cdn/components/table-header-cell/table-header-cell.js +6 -6
- package/cdn/components/table-header-row/table-header-row.js +13 -13
- package/cdn/components/table-of-contents/table-of-contents.js +3 -3
- package/cdn/components/table-row/table-row.js +10 -10
- package/cdn/components/tag/tag.js +9 -9
- package/cdn/components/textarea/textarea.js +7 -7
- package/cdn/components/tooltip/tooltip.js +3 -3
- package/cdn/components/tree/tree.js +11 -11
- package/cdn/components/tree-item/tree-item.js +10 -10
- package/cdn/custom-elements.json +4072 -3788
- package/cdn/design-system.js +157 -157
- package/cdn/events/events.d.ts +7 -7
- package/cdn/internal/components/form-toggle-button/form-toggle-button-stories.d.ts +2 -86
- package/cdn/internal/test/disable-a11y-warnings.d.ts +2 -0
- package/cdn/internal/test/disable-a11y-warnings.js +10 -0
- package/cdn/themes/dsa-wc-theme.css +13 -4
- package/cdn/themes/dsa-wc-theme.min.css +1 -1
- package/cdn/themes/dsa-wc-theme.styles.js +13 -4
- 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/icon-library.js +2 -2
- package/cdn/utilities/localize.d.ts +1 -1
- package/cdn/utilities/localize.js +1 -1
- package/cdn/utilities/storybook.d.ts +1 -0
- package/cdn/utilities/storybook.js +3 -1
- package/cdn/vscode.html-custom-data.json +384 -295
- package/cdn/web-types.json +1753 -1532
- package/dist/chunks/{chunk.DEYEKOVU.js → chunk.2EDNCADP.js} +64 -51
- package/dist/chunks/{chunk.BPEI35FP.js → chunk.2JIPPL3I.js} +1 -1
- package/dist/chunks/{chunk.42PAYOYO.js → chunk.2LWUWDHO.js} +5 -1
- package/dist/chunks/{chunk.57NUYRBY.js → chunk.2VBJKC24.js} +4 -4
- package/dist/chunks/{chunk.WTAOQQGW.js → chunk.2VH3OZ2T.js} +2 -2
- package/dist/chunks/{chunk.4RUI4GSO.js → chunk.2XRDIFUO.js} +1 -1
- package/dist/chunks/{chunk.7KYHO6CO.js → chunk.35CKPBLE.js} +1 -1
- package/dist/chunks/{chunk.MFASNJPU.js → chunk.3TJPAISV.js} +1 -1
- package/dist/chunks/{chunk.QTUCYPM5.js → chunk.3TUFAITJ.js} +18 -0
- package/dist/chunks/{chunk.S2J7ZCRO.js → chunk.3Z33EVFU.js} +1 -1
- package/dist/chunks/{chunk.OKJUWGQY.js → chunk.4WSA3PVB.js} +2 -1
- package/dist/chunks/{chunk.Q3PO7HI2.js → chunk.5DXVFMIN.js} +3 -3
- package/dist/chunks/{chunk.7HLEA7CY.js → chunk.6GN2WDDT.js} +6 -6
- package/dist/chunks/{chunk.TB3WT3D4.js → chunk.6QAB5TYJ.js} +6 -0
- package/dist/chunks/{chunk.EDJHYD32.js → chunk.6ZAEF56K.js} +4 -4
- package/dist/chunks/{chunk.USL5V6ZO.js → chunk.7DBNKQ7N.js} +11 -5
- package/dist/chunks/{chunk.IAL72I44.js → chunk.AF5WMYR2.js} +5 -1
- package/dist/chunks/{chunk.6WVTJCF4.js → chunk.AH74EN4A.js} +1 -1
- package/dist/chunks/{chunk.3KL4ABN5.js → chunk.AVHERTGT.js} +4 -4
- package/dist/chunks/{chunk.B6ZNOJQZ.js → chunk.BDO6TPPP.js} +1 -1
- package/dist/chunks/{chunk.OXWW4AJM.js → chunk.BN3YUYMM.js} +16 -1
- package/dist/chunks/{chunk.Z2LNXLXS.js → chunk.BP4NJFKE.js} +1 -1
- package/dist/chunks/{chunk.W7V7734Q.js → chunk.BQQ2GUR6.js} +4 -4
- package/dist/chunks/{chunk.JGXV4RUJ.js → chunk.BXOGG3JO.js} +1 -1
- package/dist/chunks/{chunk.N2FDGWVI.js → chunk.CPCLGC5J.js} +1 -1
- package/dist/chunks/{chunk.PJP6O2TH.js → chunk.D3SHMAJT.js} +4 -4
- package/dist/chunks/{chunk.VNKTOHR3.js → chunk.ECZMLO4V.js} +1 -1
- package/dist/chunks/{chunk.ENEBLOUR.js → chunk.EGH3AVD7.js} +7 -11
- package/dist/chunks/{chunk.YTRQPTZ3.js → chunk.EP7LLKJN.js} +1 -1
- package/dist/chunks/chunk.EQZ4YFRU.js +214 -0
- package/dist/chunks/{chunk.2W6IX7AV.js → chunk.F6UPK2KI.js} +1 -1
- package/dist/chunks/{chunk.CWVZX3HL.js → chunk.FKXOTDTY.js} +1 -1
- package/dist/chunks/{chunk.5ILTBJOK.js → chunk.FQB6S2KS.js} +1 -1
- package/dist/chunks/{chunk.S6WNHANT.js → chunk.G422H4DZ.js} +10 -6
- package/dist/chunks/{chunk.BNNBNG4I.js → chunk.GGXJ2MP3.js} +1 -1
- package/dist/chunks/chunk.HRIAHWFV.js +89 -0
- package/dist/chunks/{chunk.KN7YUJFF.js → chunk.IF24VKLH.js} +1 -1
- package/dist/chunks/{chunk.MC32UB6E.js → chunk.IZACKXPC.js} +1 -1
- package/dist/chunks/{chunk.CX6VLH5S.js → chunk.IZDRWFAB.js} +1 -1
- package/dist/chunks/{chunk.MNQFNM3H.js → chunk.JCL6HX6O.js} +1 -1
- package/dist/chunks/{chunk.4FP4K3F5.js → chunk.JDIBYGPL.js} +11 -2
- package/dist/chunks/{chunk.LHONG47A.js → chunk.JIWB4B3J.js} +1 -1
- package/dist/chunks/{chunk.XGTXL7OG.js → chunk.JX7OISYA.js} +27 -13
- package/dist/chunks/{chunk.B5GT7UB3.js → chunk.KFRR2I2P.js} +7 -8
- package/dist/chunks/{chunk.72YZVDXP.js → chunk.KLKJ2LRK.js} +4 -4
- package/dist/chunks/{chunk.AGKENMJ4.js → chunk.L2EOSD7N.js} +1 -0
- package/dist/chunks/{chunk.RWQYEGDO.js → chunk.LB54GRRB.js} +44 -7
- package/dist/chunks/{chunk.CQG7MKTO.js → chunk.LDXGSIJP.js} +6 -2
- package/dist/chunks/{chunk.U4DGFYTT.js → chunk.LGA24XY2.js} +1 -1
- package/dist/chunks/{chunk.PZ6X6MRF.js → chunk.LKCPAJMF.js} +19 -4
- package/dist/chunks/{chunk.PWOMXIWP.js → chunk.LSZ7ATDZ.js} +1 -1
- package/dist/chunks/{chunk.ARYKCY32.js → chunk.MBRRLF6D.js} +34 -30
- package/dist/chunks/{chunk.CXZUCFYH.js → chunk.MEPTPSE5.js} +4 -5
- package/dist/chunks/{chunk.R426GAXO.js → chunk.MJKJSMQX.js} +3 -2
- package/dist/chunks/{chunk.4SPACYB3.js → chunk.NCECJWN7.js} +2 -2
- package/dist/chunks/{chunk.YALXTOL7.js → chunk.NHXG2KMS.js} +1 -1
- package/dist/chunks/{chunk.ZE6IFB4A.js → chunk.O3AR4B4F.js} +4 -4
- package/dist/chunks/{chunk.36V3KSWQ.js → chunk.OHPSPLZO.js} +17 -12
- package/dist/chunks/{chunk.3E6XVTWL.js → chunk.P45DWAWT.js} +1 -1
- package/dist/chunks/{chunk.YOLPBFKW.js → chunk.PUYBBM4K.js} +4 -4
- package/dist/chunks/{chunk.7NPJ25LI.js → chunk.PZXD4VTO.js} +14 -20
- package/dist/chunks/{chunk.JY6AWZ4H.js → chunk.QLA2JXR7.js} +4 -2
- package/dist/chunks/{chunk.AEGNM2GN.js → chunk.QRCGXHRO.js} +27 -22
- package/dist/chunks/chunk.RJXLIOW7.js +28 -0
- package/dist/chunks/{chunk.WCYSZMN4.js → chunk.RZT42FVN.js} +1 -1
- package/dist/chunks/{chunk.EOBHZURI.js → chunk.SYVX56PU.js} +2 -3
- package/dist/chunks/{chunk.EMESX2PG.js → chunk.T6UX2FVU.js} +10 -4
- package/dist/chunks/{chunk.FNV5AOJ3.js → chunk.UNO3SMWX.js} +1 -1
- package/dist/chunks/{chunk.YFPGBH7X.js → chunk.UVN7RIEO.js} +3 -7
- package/dist/chunks/{chunk.LFC64SIJ.js → chunk.W7TI3W77.js} +1 -1
- package/dist/chunks/{chunk.K6SP2KYH.js → chunk.WOV5QN3O.js} +2 -2
- package/dist/chunks/{chunk.7NKDUC5S.js → chunk.WQYBYKZ2.js} +38 -10
- package/dist/chunks/{chunk.TEZDWVPL.js → chunk.WWANVBI5.js} +9 -9
- package/dist/chunks/{chunk.BAX5HDOM.js → chunk.XD25ELCV.js} +1 -1
- package/dist/chunks/{chunk.MWZYXPMF.js → chunk.XPSUKRU5.js} +1 -1
- package/dist/chunks/{chunk.KDRQQJ3G.js → chunk.XRZGSSHY.js} +4 -4
- package/dist/chunks/{chunk.WGJAFE3T.js → chunk.XUDKOS6Q.js} +1 -1
- package/dist/chunks/{chunk.BVTCDUJO.js → chunk.XXHMFUD7.js} +26 -3
- package/dist/chunks/{chunk.Z2SRVRIK.js → chunk.XXN6UBL4.js} +10 -12
- package/dist/chunks/{chunk.CNIWZABB.js → chunk.Y72CHU6D.js} +4 -4
- package/dist/chunks/{chunk.CTZX7SXP.js → chunk.YXXLXJPE.js} +1 -1
- package/dist/chunks/{chunk.APHLLCYE.js → chunk.Z7DBDDCZ.js} +20 -12
- package/dist/chunks/{chunk.FIXI4TKL.js → chunk.ZCWLSBSD.js} +1 -1
- package/dist/chunks/{chunk.YHO6C7GU.js → chunk.ZGQUBAEK.js} +4 -4
- package/dist/chunks/{chunk.C7PG4W54.js → chunk.ZSBVQKVM.js} +1 -1
- package/dist/chunks/{chunk.WI3DWLXW.js → chunk.ZTGPYOYG.js} +13 -22
- package/dist/chunks/{chunk.GBRTFFMV.js → chunk.ZYTDWH4E.js} +24 -10
- package/dist/components/accordion/accordion.js +7 -7
- package/dist/components/alert/alert.js +9 -9
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.js +6 -6
- package/dist/components/breadcrumb/breadcrumb.js +6 -6
- package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
- package/dist/components/button/button.d.ts +9 -1
- package/dist/components/button/button.js +9 -9
- package/dist/components/button/button.styles.js +1 -1
- package/dist/components/calendar/calendar.js +2 -2
- package/dist/components/callout/callout.d.ts +3 -1
- package/dist/components/callout/callout.js +7 -7
- package/dist/components/checkbox/checkbox.d.ts +4 -1
- package/dist/components/checkbox/checkbox.js +6 -6
- package/dist/components/checkbox-button/checkbox-button.js +7 -7
- package/dist/components/checkbox-group/checkbox-group.d.ts +4 -0
- package/dist/components/checkbox-group/checkbox-group.js +8 -6
- package/dist/components/combobox/combobox.js +10 -10
- package/dist/components/dialog/dialog.d.ts +5 -1
- package/dist/components/dialog/dialog.js +9 -9
- package/dist/components/dialog/dialog.styles.js +1 -1
- package/dist/components/divider/divider.js +1 -1
- package/dist/components/download-card/download-card.js +6 -6
- package/dist/components/download-card/download-card.styles.js +1 -1
- package/dist/components/download-link/download-link.js +6 -6
- package/dist/components/download-link/download-link.styles.js +1 -1
- package/dist/components/drawer/drawer.js +8 -8
- 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 +4 -4
- package/dist/components/file-upload/file-upload.d.ts +3 -1
- package/dist/components/file-upload/file-upload.js +7 -7
- package/dist/components/file-upload-item/file-upload-item.js +4 -4
- package/dist/components/filter-base/filter-base-stories.js +1 -1
- package/dist/components/filter-base/filter-base.js +7 -7
- package/dist/components/filter-button/filter-button.js +6 -6
- package/dist/components/filter-counter/filter-counter.js +20 -20
- package/dist/components/filter-date/filter-date.js +14 -14
- package/dist/components/filter-range/filter-range.js +22 -22
- package/dist/components/filter-select/filter-select.d.ts +1 -0
- package/dist/components/filter-select/filter-select.js +24 -24
- package/dist/components/footer/footer.d.ts +2 -0
- package/dist/components/footer/footer.js +4 -4
- package/dist/components/footer/footer.styles.js +1 -1
- package/dist/components/footer-content-block/footer-content-block.js +1 -1
- package/dist/components/footer-mandatory-mentions/footer-mandatory-mentions.js +1 -1
- package/dist/components/footer-sitemap-item/footer-sitemap-item.js +1 -1
- 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.d.ts +7 -1
- package/dist/components/header/header.js +4 -4
- package/dist/components/header/header.styles.js +1 -1
- package/dist/components/header-search/header-search.d.ts +6 -0
- package/dist/components/header-search/header-search.js +15 -9
- package/dist/components/header-search/header-search.styles.js +1 -1
- package/dist/components/icon/icon.js +4 -4
- package/dist/components/icon/library.js +2 -2
- package/dist/components/icon/library.system.js +1 -1
- package/dist/components/icon-button/icon-button.d.ts +5 -0
- package/dist/components/icon-button/icon-button.js +6 -6
- package/dist/components/input/input.js +12 -12
- package/dist/components/input-date/input-date.js +10 -10
- package/dist/components/input-mask/input-mask.js +8 -8
- package/dist/components/input-phone/input-phone.d.ts +3 -3
- package/dist/components/input-phone/input-phone.js +15 -21
- package/dist/components/input-phone/input-phone.styles.js +1 -1
- package/dist/components/input-phone/input-phone.utils.d.ts +0 -2
- package/dist/components/input-phone/input-phone.utils.js +1 -5
- package/dist/components/menu-accordion/menu-accordion.js +6 -6
- package/dist/components/menu-item/menu-item.js +5 -5
- package/dist/components/menu-navigation/menu-navigation.js +1 -1
- package/dist/components/navbar-link/navbar-link.js +6 -6
- package/dist/components/navbar-menu/navbar-menu.js +7 -7
- package/dist/components/option/option.js +7 -7
- package/dist/components/option/option.styles.js +1 -1
- package/dist/components/pagination/pagination.js +19 -19
- package/dist/components/pagination-button/pagination-button.js +3 -3
- package/dist/components/pagination-button/pagination-button.styles.js +2 -2
- package/dist/components/profile-button/profile-button.js +9 -9
- package/dist/components/progress-bar/progress-bar.js +2 -2
- package/dist/components/quote/quote.js +6 -6
- package/dist/components/radio/radio.js +6 -6
- package/dist/components/radio/radio.styles.js +1 -1
- package/dist/components/radio-button/radio-button.js +12 -10
- package/dist/components/radio-group/radio-group.d.ts +4 -0
- package/dist/components/radio-group/radio-group.js +9 -7
- package/dist/components/range-slider/range-slider.d.ts +0 -2
- package/dist/components/range-slider/range-slider.js +2 -2
- package/dist/components/relative-time/relative-time.js +2 -2
- package/dist/components/select/select.js +9 -9
- 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 +6 -6
- package/dist/components/step/step.d.ts +1 -0
- package/dist/components/step/step.js +6 -6
- package/dist/components/tab/tab.d.ts +2 -4
- package/dist/components/tab/tab.js +9 -9
- package/dist/components/tab/tab.styles.js +1 -1
- package/dist/components/tab-group/tab-group.js +8 -8
- package/dist/components/table-action/table-action.js +3 -3
- package/dist/components/table-caption/table-caption.js +2 -2
- package/dist/components/table-header-cell/table-header-cell.js +4 -4
- package/dist/components/table-header-row/table-header-row.js +11 -11
- package/dist/components/table-of-contents/table-of-contents.js +2 -2
- package/dist/components/table-row/table-row.js +9 -9
- package/dist/components/tag/tag.js +8 -8
- package/dist/components/textarea/textarea.js +6 -6
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/components/tree/tree.js +10 -10
- package/dist/components/tree-item/tree-item.js +9 -9
- package/dist/custom-elements.json +4072 -3788
- package/dist/design-system.js +150 -150
- package/dist/events/events.d.ts +7 -7
- package/dist/internal/components/form-toggle-button/form-toggle-button-stories.d.ts +2 -86
- package/dist/internal/test/disable-a11y-warnings.d.ts +2 -0
- package/dist/internal/test/disable-a11y-warnings.js +10 -0
- package/dist/themes/dsa-wc-theme.css +13 -4
- package/dist/themes/dsa-wc-theme.min.css +1 -1
- package/dist/themes/dsa-wc-theme.styles.js +13 -4
- 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/icon-library.js +2 -2
- package/dist/utilities/localize.d.ts +1 -1
- package/dist/utilities/localize.js +1 -1
- package/dist/utilities/storybook.d.ts +1 -0
- package/dist/utilities/storybook.js +3 -1
- package/dist/vscode.html-custom-data.json +384 -295
- package/dist/web-types.json +1753 -1532
- package/package.json +17 -15
- package/cdn/chunks/chunk.CCL2RZON.js +0 -132
- package/cdn/chunks/chunk.GVVML3JJ.js +0 -272
- package/cdn/chunks/chunk.KSRFZF2P.js +0 -183
- package/dist/chunks/chunk.2T66U3QC.js +0 -270
- package/dist/chunks/chunk.ESYJVRG3.js +0 -129
- package/dist/chunks/chunk.UGI4J7KI.js +0 -174
- package/cdn/chunks/{chunk.QCWBP4AO.js → chunk.6E6G25TQ.js} +3 -3
- package/cdn/chunks/{chunk.KJEFG4DO.js → chunk.LLHSRCWY.js} +3 -3
- package/cdn/chunks/{chunk.ZHV4Q2GJ.js → chunk.MESUBVHC.js} +3 -3
- package/cdn/chunks/{chunk.EB3FXLYQ.js → chunk.NBAUIHQ4.js} +3 -3
- package/cdn/chunks/{chunk.DEG7473C.js → chunk.NEMJUCMZ.js} +3 -3
- package/cdn/chunks/{chunk.6QTA6OV5.js → chunk.ZQRAHYTZ.js} +6 -6
- package/dist/chunks/{chunk.X2APHAZZ.js → chunk.3UWRBJ4B.js} +6 -6
- package/dist/chunks/{chunk.5SV77WRX.js → chunk.P4HRQ2D7.js} +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,22 +1,73 @@
|
|
|
1
1
|
# @ds-autonomie/web-components
|
|
2
2
|
|
|
3
|
-
## 2.
|
|
3
|
+
## 2.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 8dbb5e8: `download-card`: déplacement des attributs annexes dans le lien pour les lecteurs d'écran
|
|
8
|
+
`download-link`: déplacement des attributs annexes dans le lien pour les lecteurs d'écran
|
|
9
|
+
- 2a6ce52: `callout` : remplacement de l'attribut `title` (déprécié) par `callout-title`; `button`, `checkbox` : remplacement des attributs `title` et `aria-label` (dépréciés) par `accessible-name`
|
|
10
|
+
- 11314ee: `header`: ajout d'un attribut permettant de choisir la taille du logo
|
|
11
|
+
`header-search`: ajout d'un attribut permettant de rendre le composant dans un état ouvert permanent
|
|
12
|
+
- 5f6d3f2: `header-search` : ajout d'un attribut `mobile`
|
|
13
|
+
- ffea5ba: `tab` : ajout de l'attribut close-button-label
|
|
14
|
+
- 2bc49cb: `header` : ajout d'un slot pour le premier logo
|
|
15
|
+
- 151414f: `dialog`: ajout d'un attribut permettant de cacher le titre du header
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 5045b7d: `alert`: changement de l'attribut aria-live vers "polite"
|
|
20
|
+
- ba1513b: `input-phone`: ajustement espaces
|
|
21
|
+
- f2e90b5: Adaptation des stories pour améliorer les tests Chromatic
|
|
22
|
+
- ba7b276: `menu-navigation`, `filter-select` : retouches a11y
|
|
23
|
+
- c2407d7: `filter-select` : possibilité de changer d'option avec les flèches du clavier
|
|
24
|
+
- 44be976: `radio-group`, `checkbox-group` : permettre de cacher le label (si redondant)
|
|
25
|
+
|
|
26
|
+
## 2.0.1
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- 1e04608: Publication de la version 2
|
|
31
|
+
|
|
32
|
+
## 2.0.0
|
|
4
33
|
|
|
5
34
|
### Major Changes
|
|
6
35
|
|
|
7
|
-
-
|
|
36
|
+
- 0beedbc: `menu` : suppression du composant dsa-menu (à remplacer par dsa-menu-navigation, qui suit le pattern "disclosure"); `menu-item` : suppression des types "normal" et "checkbox" (le type par défaut est maintenant "button")
|
|
37
|
+
- 0bb4296: `cdn` : possibilité d'utiliser le package via CDN. L'organisation du package a dûe être modifiée, ce qui implique une modification de certains chemins d'import pour les utilisateurs.
|
|
38
|
+
- beb2103: `header`: ajout d'un attribut "mobile" qui détermine son mode d'affichage et remplace les media queries. Sa valeur doit être gérée côté implémentation.
|
|
8
39
|
`footer`: idem
|
|
9
40
|
|
|
10
|
-
|
|
41
|
+
### Patch Changes
|
|
42
|
+
|
|
43
|
+
- ae56569: `menu-navigation`: ajout d'un attribut role="list" pour l'a11y
|
|
44
|
+
`menu-item`: ajout d'un attribut role="listitem" pour l'a11y
|
|
45
|
+
- 9042d35: `divider`: retrait du role par défaut, ajout de aria-hidden
|
|
46
|
+
- dff4b70: Mise à jour des dépendances
|
|
11
47
|
|
|
12
|
-
|
|
48
|
+
## 1.23.0
|
|
49
|
+
|
|
50
|
+
### Minor Changes
|
|
13
51
|
|
|
14
|
-
-
|
|
15
|
-
-
|
|
52
|
+
- d72ea56: `file-upload`: ajout de la possibilité d'importer un dossier complet
|
|
53
|
+
- 3f12bad: `link css class`: ajout d'une classe css pour les icones en suffixe
|
|
54
|
+
- 1e7e67c: `download-card`: ajout d'un attribut permettant de renommer le document téléchargé
|
|
55
|
+
`download-link`: ajout d'un attribut permettant de renommer le document téléchargé
|
|
56
|
+
- 6657b26: `button` : ajout d'un mode "toggle" (bouton à basculement)
|
|
57
|
+
`icon-button` : ajout d'un mode "toggle" (bouton à basculement)
|
|
58
|
+
- ef5fce3: `divers composants`: utilisation de la librairie système pour les icônes
|
|
16
59
|
|
|
17
60
|
### Patch Changes
|
|
18
61
|
|
|
19
|
-
-
|
|
62
|
+
- cba1830: `input-mask`: `patternMismatch` à `false` quand aucune valeur n'est saisie
|
|
63
|
+
- d171346: `radio`: correction d'une couleur rendant le bouton invisible en contraste élevé
|
|
64
|
+
- e3b59b9: `tab` : correction de la largeur d'onglet avec un contenu custom
|
|
65
|
+
- 1367806: `step` : (a11y) amélioration de la restitution des étapes cliquables
|
|
66
|
+
- 498ea04: Communalisation de code pour les éléments de formulaire
|
|
67
|
+
- ef44b36: `select`: ne pas sélectionner une option si son attribut `value` est vide
|
|
68
|
+
- 02bd2c2: `radio-group`, `checkbox-group`: communalisation du code
|
|
69
|
+
- 3f84296: `tab` : (a11y) déplacement du tabindex sur le host
|
|
70
|
+
- 6a17f31: `input-phone`: mise à jour de la valeur après chaque entrée
|
|
20
71
|
|
|
21
72
|
## 1.22.2
|
|
22
73
|
|
|
@@ -18,16 +18,16 @@ import {
|
|
|
18
18
|
} from "./chunk.2WRFDMKN.js";
|
|
19
19
|
import {
|
|
20
20
|
LocalizeController
|
|
21
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.ZLWLHLBC.js";
|
|
22
|
+
import {
|
|
23
|
+
watch
|
|
24
|
+
} from "./chunk.4FQJ3QJK.js";
|
|
22
25
|
import {
|
|
23
26
|
o
|
|
24
27
|
} from "./chunk.YQLIIKLI.js";
|
|
25
28
|
import {
|
|
26
29
|
e as e2
|
|
27
30
|
} from "./chunk.IKHG7XGO.js";
|
|
28
|
-
import {
|
|
29
|
-
watch
|
|
30
|
-
} from "./chunk.4FQJ3QJK.js";
|
|
31
31
|
import {
|
|
32
32
|
ShoelaceElement,
|
|
33
33
|
e,
|
|
@@ -4,6 +4,7 @@ var icons = {
|
|
|
4
4
|
add_box: `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zm-8-2h2v-4h4v-2h-4V7h-2v4H7v2h4z"/></svg>`,
|
|
5
5
|
arrow_upward: `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"/></svg>`,
|
|
6
6
|
calendar_today: `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V10h16v11zm0-13H4V5h16v3z"/></svg>`,
|
|
7
|
+
cancel: `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm3.59-13L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z"/></svg>`,
|
|
7
8
|
check: `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>`,
|
|
8
9
|
chevron_left: `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12l4.58-4.59z"/></svg>`,
|
|
9
10
|
chevron_right: `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z"/></svg>`,
|
|
@@ -24,6 +25,23 @@ var icons = {
|
|
|
24
25
|
error_outline: `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M11 15h2v2h-2v-2zm0-8h2v6h-2V7zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/></svg>`,
|
|
25
26
|
expand_more: `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"/></svg>`,
|
|
26
27
|
filter_list: `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"/></svg>`,
|
|
28
|
+
french_flag: `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
|
29
|
+
<g clip-path="url(#clip0_24022_31892)">
|
|
30
|
+
<rect x="0.25" y="0.25" width="23.5" height="23.5" rx="1.75" fill="white" stroke="#F5F5F5" stroke-width="0.5"/>
|
|
31
|
+
<mask id="mask0_24022_31892" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="24" height="24">
|
|
32
|
+
<rect x="0.25" y="0.25" width="23.5" height="23.5" rx="1.75" fill="white" stroke="white" stroke-width="0.5"/>
|
|
33
|
+
</mask>
|
|
34
|
+
<g mask="url(#mask0_24022_31892)">
|
|
35
|
+
<rect x="16" width="8" height="24" fill="#F44653"/>
|
|
36
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M0 24H8V0H0V24Z" fill="#1035BB"/>
|
|
37
|
+
</g>
|
|
38
|
+
</g>
|
|
39
|
+
<defs>
|
|
40
|
+
<clipPath id="clip0_24022_31892">
|
|
41
|
+
<rect width="24" height="24" fill="white"/>
|
|
42
|
+
</clipPath>
|
|
43
|
+
</defs>
|
|
44
|
+
</svg>`,
|
|
27
45
|
horizontal_rule: `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M4 11h16v2H4z"/></svg>`,
|
|
28
46
|
indeterminate_check_box: `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM7 11h10v2H7z"/></svg>`,
|
|
29
47
|
info: `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/></svg>`,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
option_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.CUCCBQJX.js";
|
|
4
4
|
import {
|
|
5
5
|
LocalizeController
|
|
6
|
-
} from "./chunk.
|
|
7
|
-
import {
|
|
8
|
-
e as e2
|
|
9
|
-
} from "./chunk.IKHG7XGO.js";
|
|
6
|
+
} from "./chunk.ZLWLHLBC.js";
|
|
10
7
|
import {
|
|
11
8
|
watch
|
|
12
9
|
} from "./chunk.4FQJ3QJK.js";
|
|
10
|
+
import {
|
|
11
|
+
e as e2
|
|
12
|
+
} from "./chunk.IKHG7XGO.js";
|
|
13
13
|
import {
|
|
14
14
|
ShoelaceElement,
|
|
15
15
|
e,
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
} from "./chunk.3BJMFOLF.js";
|
|
5
5
|
import {
|
|
6
6
|
header_styles_default
|
|
7
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.XLX7QTXT.js";
|
|
8
8
|
import {
|
|
9
9
|
HasSlotController
|
|
10
10
|
} from "./chunk.YIY5RM53.js";
|
|
11
11
|
import {
|
|
12
12
|
LocalizeController
|
|
13
|
-
} from "./chunk.
|
|
14
|
-
import {
|
|
15
|
-
e as e2
|
|
16
|
-
} from "./chunk.IKHG7XGO.js";
|
|
13
|
+
} from "./chunk.ZLWLHLBC.js";
|
|
17
14
|
import {
|
|
18
15
|
watch
|
|
19
16
|
} from "./chunk.4FQJ3QJK.js";
|
|
17
|
+
import {
|
|
18
|
+
e as e2
|
|
19
|
+
} from "./chunk.IKHG7XGO.js";
|
|
20
20
|
import {
|
|
21
21
|
ShoelaceElement,
|
|
22
22
|
e,
|
|
@@ -45,7 +45,9 @@ var DSAHeader = class extends ShoelaceElement {
|
|
|
45
45
|
this.localize = new LocalizeController(this);
|
|
46
46
|
this.firstLogo = "public";
|
|
47
47
|
this.logoHref = "/";
|
|
48
|
+
this.logoSize = "default";
|
|
48
49
|
this.searchExpanded = false;
|
|
50
|
+
this.mobile = false;
|
|
49
51
|
}
|
|
50
52
|
connectedCallback() {
|
|
51
53
|
super.connectedCallback();
|
|
@@ -73,10 +75,25 @@ var DSAHeader = class extends ShoelaceElement {
|
|
|
73
75
|
}
|
|
74
76
|
}
|
|
75
77
|
}
|
|
78
|
+
handleMobile() {
|
|
79
|
+
if (this.hasSlotController.test("search")) {
|
|
80
|
+
const search = this.querySelector("dsa-header-search");
|
|
81
|
+
if (search !== null && this.mobile !== void 0) {
|
|
82
|
+
search.mobile = this.mobile;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
76
86
|
render() {
|
|
77
87
|
const hasBrand = this.hasSlotController.test("second-logo") || this.hasSlotController.test("site-name");
|
|
78
88
|
return x`
|
|
79
|
-
<header
|
|
89
|
+
<header
|
|
90
|
+
part="base"
|
|
91
|
+
role="banner"
|
|
92
|
+
class=${e2({
|
|
93
|
+
"header--mobile": this.mobile === true,
|
|
94
|
+
"header--desktop": this.mobile === false
|
|
95
|
+
})}
|
|
96
|
+
>
|
|
80
97
|
${this.hasSlotController.test("external-links") ? x`
|
|
81
98
|
<ul class="external-links__container">
|
|
82
99
|
<slot name="external-links" part="external-links"></slot>
|
|
@@ -90,11 +107,22 @@ var DSAHeader = class extends ShoelaceElement {
|
|
|
90
107
|
"header--search-expanded": this.hasSlotController.test("search") && this.searchExpanded
|
|
91
108
|
})}
|
|
92
109
|
>
|
|
93
|
-
<
|
|
94
|
-
|
|
95
|
-
|
|
110
|
+
<slot
|
|
111
|
+
name="first-logo"
|
|
112
|
+
part="first-logo"
|
|
113
|
+
class="logo ${this.logoSize === "large" && "logo-large"}"
|
|
114
|
+
>
|
|
115
|
+
<a href=${this.logoHref} class="logo-link">
|
|
116
|
+
${this.firstLogo === "public" ? dsaLogoSvg(this.localize.term("dsaGoToHomepage")) : cnsaLogoSvg(this.localize.term("cnsaGoToHomepage"))}
|
|
117
|
+
</a>
|
|
118
|
+
</slot>
|
|
96
119
|
<div part="brand">
|
|
97
|
-
${this.hasSlotController.test("second-logo") ? x`
|
|
120
|
+
${this.hasSlotController.test("second-logo") ? x`
|
|
121
|
+
<slot
|
|
122
|
+
name="second-logo"
|
|
123
|
+
class="logo ${this.logoSize === "large" && "logo-large"}"
|
|
124
|
+
></slot>
|
|
125
|
+
` : ""}
|
|
98
126
|
${this.hasSlotController.test("site-name") || this.hasSlotController.test("baseline") ? x`
|
|
99
127
|
<div class="site-info">
|
|
100
128
|
<slot name="site-name" part="site-name"></slot>
|
|
@@ -122,12 +150,21 @@ __decorateClass([
|
|
|
122
150
|
__decorateClass([
|
|
123
151
|
n({ reflect: true, attribute: "logo-href" })
|
|
124
152
|
], DSAHeader.prototype, "logoHref", 2);
|
|
153
|
+
__decorateClass([
|
|
154
|
+
n({ attribute: "logo-size" })
|
|
155
|
+
], DSAHeader.prototype, "logoSize", 2);
|
|
125
156
|
__decorateClass([
|
|
126
157
|
n({ reflect: true, type: Boolean, attribute: "search-expanded" })
|
|
127
158
|
], DSAHeader.prototype, "searchExpanded", 2);
|
|
159
|
+
__decorateClass([
|
|
160
|
+
n({ type: Boolean })
|
|
161
|
+
], DSAHeader.prototype, "mobile", 2);
|
|
128
162
|
__decorateClass([
|
|
129
163
|
watch("searchExpanded")
|
|
130
164
|
], DSAHeader.prototype, "handleSearchExpanded", 1);
|
|
165
|
+
__decorateClass([
|
|
166
|
+
watch("mobile")
|
|
167
|
+
], DSAHeader.prototype, "handleMobile", 1);
|
|
131
168
|
DSAHeader = __decorateClass([
|
|
132
169
|
t("dsa-header")
|
|
133
170
|
], DSAHeader);
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk.4HCR3FZE.js";
|
|
4
4
|
import {
|
|
5
5
|
LocalizeController
|
|
6
|
-
} from "./chunk.
|
|
7
|
-
import {
|
|
8
|
-
e as e2
|
|
9
|
-
} from "./chunk.IKHG7XGO.js";
|
|
6
|
+
} from "./chunk.ZLWLHLBC.js";
|
|
10
7
|
import {
|
|
11
8
|
watch
|
|
12
9
|
} from "./chunk.4FQJ3QJK.js";
|
|
10
|
+
import {
|
|
11
|
+
e as e2
|
|
12
|
+
} from "./chunk.IKHG7XGO.js";
|
|
13
13
|
import {
|
|
14
14
|
ShoelaceElement,
|
|
15
15
|
e,
|
|
@@ -71,8 +71,7 @@ var DSATableRow = class extends ShoelaceElement {
|
|
|
71
71
|
class="checkbox"
|
|
72
72
|
size="small"
|
|
73
73
|
name=${this.selectionName}
|
|
74
|
-
|
|
75
|
-
aria-label=${this.selectionLabel !== "" ? this.selectionLabel : this.localize.term("selectRow")}
|
|
74
|
+
accessible-name=${this.selectionLabel !== "" ? this.selectionLabel : this.localize.term("selectRow")}
|
|
76
75
|
value=${this.selectionValue}
|
|
77
76
|
?checked=${this.selected}
|
|
78
77
|
@click=${(e3) => e3.stopPropagation()}
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
} from "./chunk.DTSCRQ4P.js";
|
|
7
7
|
import {
|
|
8
8
|
LocalizeController
|
|
9
|
-
} from "./chunk.
|
|
10
|
-
import {
|
|
11
|
-
o
|
|
12
|
-
} from "./chunk.YQLIIKLI.js";
|
|
9
|
+
} from "./chunk.ZLWLHLBC.js";
|
|
13
10
|
import {
|
|
14
11
|
watch
|
|
15
12
|
} from "./chunk.4FQJ3QJK.js";
|
|
13
|
+
import {
|
|
14
|
+
o
|
|
15
|
+
} from "./chunk.YQLIIKLI.js";
|
|
16
16
|
import {
|
|
17
17
|
ShoelaceElement,
|
|
18
18
|
e,
|
|
@@ -24,6 +24,7 @@ var DSAMenuNavigation = class extends ShoelaceElement {
|
|
|
24
24
|
menuItem.classList.add("level-2");
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
|
+
this.setAttribute("role", "list");
|
|
27
28
|
}
|
|
28
29
|
disconnectedCallback() {
|
|
29
30
|
super.disconnectedCallback();
|
|
@@ -36,7 +37,7 @@ var DSAMenuNavigation = class extends ShoelaceElement {
|
|
|
36
37
|
}
|
|
37
38
|
// A change of attributes on the slotted elements does not trigger the "slotchange" event, so we add an observer
|
|
38
39
|
render() {
|
|
39
|
-
return x`<slot
|
|
40
|
+
return x`<slot @keydown=${this.handleKeyDown}></slot>`;
|
|
40
41
|
}
|
|
41
42
|
};
|
|
42
43
|
DSAMenuNavigation.styles = menu_navigation_styles_default;
|
|
@@ -300,6 +300,9 @@ var input_phone_styles_default = i`
|
|
|
300
300
|
var(--dsa-wc-input-phone-height) - var(--dsa-wc-input-border-width) * 2
|
|
301
301
|
);
|
|
302
302
|
}
|
|
303
|
+
.form-control--medium .input-phone__flag {
|
|
304
|
+
width: 1.25rem;
|
|
305
|
+
}
|
|
303
306
|
|
|
304
307
|
.form-control--large {
|
|
305
308
|
--input-phone__select__min-width: 68px;
|
|
@@ -316,6 +319,9 @@ var input_phone_styles_default = i`
|
|
|
316
319
|
2
|
|
317
320
|
);
|
|
318
321
|
}
|
|
322
|
+
.form-control--large .input-phone__flag {
|
|
323
|
+
width: 1.5rem;
|
|
324
|
+
}
|
|
319
325
|
|
|
320
326
|
/*
|
|
321
327
|
* Clearable
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
} from "./chunk.EMIT7S33.js";
|
|
7
7
|
import {
|
|
8
8
|
LocalizeController
|
|
9
|
-
} from "./chunk.
|
|
10
|
-
import {
|
|
11
|
-
e as e2
|
|
12
|
-
} from "./chunk.IKHG7XGO.js";
|
|
9
|
+
} from "./chunk.ZLWLHLBC.js";
|
|
13
10
|
import {
|
|
14
11
|
watch
|
|
15
12
|
} from "./chunk.4FQJ3QJK.js";
|
|
13
|
+
import {
|
|
14
|
+
e as e2
|
|
15
|
+
} from "./chunk.IKHG7XGO.js";
|
|
16
16
|
import {
|
|
17
17
|
ShoelaceElement,
|
|
18
18
|
e,
|
|
@@ -194,7 +194,7 @@ var DSATabGroup = class extends ShoelaceElement {
|
|
|
194
194
|
this.tabs.map((el) => {
|
|
195
195
|
const isActive = el === this.activeTab;
|
|
196
196
|
el.active = isActive;
|
|
197
|
-
el.
|
|
197
|
+
el.tabIndex = isActive ? 0 : -1;
|
|
198
198
|
return el;
|
|
199
199
|
});
|
|
200
200
|
this.panels.map((el) => {
|
|
@@ -265,9 +265,9 @@ var DSATabGroup = class extends ShoelaceElement {
|
|
|
265
265
|
this.panels = this.getAllPanels();
|
|
266
266
|
let activeIndex = -1;
|
|
267
267
|
this.tabs.forEach((tab, index) => {
|
|
268
|
-
tab.
|
|
268
|
+
tab.tabIndex = -1;
|
|
269
269
|
if (tab.active) {
|
|
270
|
-
tab.
|
|
270
|
+
tab.tabIndex = 0;
|
|
271
271
|
activeIndex = index;
|
|
272
272
|
}
|
|
273
273
|
});
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
} from "./chunk.2WRFDMKN.js";
|
|
16
16
|
import {
|
|
17
17
|
LocalizeController
|
|
18
|
-
} from "./chunk.
|
|
19
|
-
import {
|
|
20
|
-
e as e2
|
|
21
|
-
} from "./chunk.IKHG7XGO.js";
|
|
18
|
+
} from "./chunk.ZLWLHLBC.js";
|
|
22
19
|
import {
|
|
23
20
|
watch
|
|
24
21
|
} from "./chunk.4FQJ3QJK.js";
|
|
22
|
+
import {
|
|
23
|
+
e as e2
|
|
24
|
+
} from "./chunk.IKHG7XGO.js";
|
|
25
25
|
import {
|
|
26
26
|
ShoelaceElement,
|
|
27
27
|
e,
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
o
|
|
6
6
|
} from "./chunk.6OFBSNBH.js";
|
|
7
|
+
import {
|
|
8
|
+
LocalizeController
|
|
9
|
+
} from "./chunk.ZLWLHLBC.js";
|
|
7
10
|
import {
|
|
8
11
|
ifDefinedAndNotEmpty
|
|
9
12
|
} from "./chunk.B6GVVW66.js";
|
|
10
|
-
import {
|
|
11
|
-
LocalizeController
|
|
12
|
-
} from "./chunk.X7X3LESZ.js";
|
|
13
13
|
import {
|
|
14
14
|
e
|
|
15
15
|
} from "./chunk.IKHG7XGO.js";
|
|
@@ -8,15 +8,15 @@ import {
|
|
|
8
8
|
getIconLibrary,
|
|
9
9
|
unwatchIcon,
|
|
10
10
|
watchIcon
|
|
11
|
-
} from "./chunk.
|
|
11
|
+
} from "./chunk.P45DWAWT.js";
|
|
12
|
+
import {
|
|
13
|
+
watch
|
|
14
|
+
} from "./chunk.4FQJ3QJK.js";
|
|
12
15
|
import {
|
|
13
16
|
e,
|
|
14
17
|
i,
|
|
15
18
|
t as t2
|
|
16
19
|
} from "./chunk.3VUJFXU2.js";
|
|
17
|
-
import {
|
|
18
|
-
watch
|
|
19
|
-
} from "./chunk.4FQJ3QJK.js";
|
|
20
20
|
import {
|
|
21
21
|
ShoelaceElement,
|
|
22
22
|
n,
|