@ds-autonomie/web-components 2.9.0 → 2.10.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 +25 -0
- package/cdn/chunks/{chunk.43DWBFZS.js → chunk.22WBEYR5.js} +3 -3
- package/cdn/chunks/{chunk.RN63HNFQ.js → chunk.25TCJH3S.js} +8 -8
- package/cdn/chunks/{chunk.LKPKCFRT.js → chunk.2FH4CXEK.js} +3 -3
- package/cdn/chunks/{chunk.LAQ3W3Y3.js → chunk.2L6I3VNO.js} +9 -9
- package/cdn/chunks/{chunk.QMXNHAS2.js → chunk.2OEMPACC.js} +4 -4
- package/cdn/chunks/{chunk.CTPTY6W6.js → chunk.2WKNTHTE.js} +4 -4
- package/cdn/chunks/{chunk.FWUVNYIG.js → chunk.32CDX2G7.js} +5 -5
- package/cdn/chunks/{chunk.J5TZCAMD.js → chunk.34HTLNHP.js} +5 -5
- package/cdn/chunks/{chunk.YSA4DTJQ.js → chunk.3PMIWAYM.js} +10 -5
- package/cdn/chunks/{chunk.EQP4SFMR.js → chunk.3RUPWW4M.js} +11 -16
- package/cdn/chunks/{chunk.ZB3XYMYY.js → chunk.3YZ3B66O.js} +5 -5
- package/cdn/chunks/{chunk.KGSBH5IG.js → chunk.4F45PKJH.js} +4 -4
- package/cdn/chunks/{chunk.7F7MUG3F.js → chunk.4O7VDH44.js} +7 -7
- package/cdn/chunks/{chunk.5P5CNELU.js → chunk.4Q2WUHBV.js} +6 -6
- package/cdn/chunks/{chunk.MQGQAGHT.js → chunk.4UH2GNFC.js} +4 -4
- package/cdn/chunks/{chunk.XSFP2Q6B.js → chunk.4WZNGGVH.js} +2 -2
- package/cdn/chunks/{chunk.GUM4ARDU.js → chunk.4ZYC455I.js} +2 -2
- package/cdn/chunks/{chunk.B6JREA66.js → chunk.537VGPQJ.js} +3 -3
- package/cdn/chunks/{chunk.OVEDEPKD.js → chunk.5SUEDULN.js} +2 -2
- package/cdn/chunks/{chunk.LBMYQKFU.js → chunk.5ZUX2FMF.js} +13 -7
- package/cdn/chunks/{chunk.CYZSRXNN.js → chunk.653MPFUT.js} +5 -5
- package/cdn/chunks/{chunk.WPHU7DY4.js → chunk.6BGRXQIW.js} +51 -57
- package/cdn/chunks/{chunk.63APPLXG.js → chunk.6KBDSFHY.js} +5 -5
- package/cdn/chunks/{chunk.VJ35OI2I.js → chunk.6M7NE3YO.js} +3 -3
- package/cdn/chunks/{chunk.37BPYQYG.js → chunk.76P65WVM.js} +6 -6
- package/cdn/chunks/{chunk.46OEBDHT.js → chunk.7ATQ4MIY.js} +7 -7
- package/cdn/chunks/{chunk.IN2NTBDK.js → chunk.7LJQFNIL.js} +2 -2
- package/cdn/chunks/{chunk.4ZGVANML.js → chunk.7WRNLPGX.js} +38 -1
- package/cdn/chunks/{chunk.6P7WH7AZ.js → chunk.7YRH4W4Z.js} +5 -5
- package/cdn/chunks/{chunk.PUJDUSQL.js → chunk.ANBARN33.js} +5 -5
- package/cdn/chunks/{chunk.VFVXLQ4N.js → chunk.AP62XFBC.js} +2 -2
- package/cdn/chunks/{chunk.7BNRMEPF.js → chunk.AU6I633V.js} +2 -2
- package/cdn/chunks/{chunk.IRZ54H7O.js → chunk.B45H3D5M.js} +9 -4
- package/cdn/chunks/{chunk.5NR5NDJH.js → chunk.BBXLEST4.js} +1 -1
- package/cdn/chunks/{chunk.5SAKCPFO.js → chunk.BPBQ7RLQ.js} +14 -7
- package/cdn/chunks/{chunk.742WVH3M.js → chunk.BTDZHZPK.js} +5 -5
- package/cdn/chunks/{chunk.PBUOYITV.js → chunk.BWYRMRTD.js} +2 -2
- package/cdn/chunks/{chunk.QYLN3ZRL.js → chunk.CA44N3RR.js} +11 -11
- package/cdn/chunks/chunk.CBM7PMU3.js +263 -0
- package/{dist/chunks/chunk.HGR7A5FK.js → cdn/chunks/chunk.CCDITBCR.js} +1 -1
- package/cdn/chunks/{chunk.SBVR43SI.js → chunk.CEDKHQ6Y.js} +3 -3
- package/cdn/chunks/{chunk.HLQS67ES.js → chunk.COPSPY7Y.js} +14 -4
- package/cdn/chunks/{chunk.WZ5SAKRB.js → chunk.CPYSCXYB.js} +3 -3
- package/cdn/chunks/{chunk.SI2RABQ3.js → chunk.DPVUVRFZ.js} +2 -2
- package/cdn/chunks/{chunk.LDYYA5WE.js → chunk.E6U524GP.js} +1 -1
- package/cdn/chunks/{chunk.VOAN5XTA.js → chunk.EYGPQ2EH.js} +2 -2
- package/cdn/chunks/{chunk.KVS4YLOR.js → chunk.F6UW3MQK.js} +2 -2
- package/cdn/chunks/{chunk.SUSEK2U6.js → chunk.FK753ZOL.js} +6 -6
- package/cdn/chunks/{chunk.PO2MPDC4.js → chunk.FZ5GX4LB.js} +4 -4
- package/cdn/chunks/{chunk.S24CTUQO.js → chunk.GCZKQEK3.js} +3 -3
- package/cdn/chunks/{chunk.BFNUQBOF.js → chunk.GHNIQQKT.js} +2 -2
- package/cdn/chunks/{chunk.TNZX4BBH.js → chunk.GI4XTG4I.js} +2 -2
- package/cdn/chunks/{chunk.OZCNBSU2.js → chunk.GZM7EYZQ.js} +6 -6
- package/cdn/chunks/{chunk.I7YKF4AW.js → chunk.H55UBRU5.js} +5 -5
- package/cdn/chunks/{chunk.DAWUTV6P.js → chunk.H6FFNEL2.js} +3 -3
- package/cdn/chunks/{chunk.FZ6I3S7V.js → chunk.HCI7PRQV.js} +5 -5
- package/cdn/chunks/{chunk.GSMXR5CP.js → chunk.HFZHMBO3.js} +9 -9
- package/cdn/chunks/{chunk.UBGBB3M4.js → chunk.HH3FXCDW.js} +4 -4
- package/cdn/chunks/{chunk.2FU56VWP.js → chunk.IH3ACQ3F.js} +2 -2
- package/cdn/chunks/{chunk.OD6DPPVN.js → chunk.INYJLKLJ.js} +4 -4
- package/cdn/chunks/{chunk.IAVRSDV3.js → chunk.ISYSAUNO.js} +3 -3
- package/cdn/chunks/{chunk.EUM3VSYY.js → chunk.IUTJLFMA.js} +4 -0
- package/cdn/chunks/chunk.J22ZHZPW.js +82 -0
- package/cdn/chunks/{chunk.PPOKFS3W.js → chunk.JITNMLSZ.js} +8 -8
- package/cdn/chunks/{chunk.XN6KLIBS.js → chunk.JJZU37TO.js} +3 -3
- package/cdn/chunks/{chunk.AXJPYPJF.js → chunk.JLURATAB.js} +6 -6
- package/cdn/chunks/{chunk.ORD5SCNK.js → chunk.JS5WYOPH.js} +4 -4
- package/cdn/chunks/{chunk.SZO2WTNR.js → chunk.KBU6IE3T.js} +2 -2
- package/cdn/chunks/{chunk.HKFCLCGR.js → chunk.KF5PNPQM.js} +2 -2
- package/cdn/chunks/{chunk.QUCU7ECR.js → chunk.KOCETN2L.js} +4 -4
- package/cdn/chunks/{chunk.TLOVCEIR.js → chunk.KVKLGFVO.js} +6 -6
- package/cdn/chunks/{chunk.XD6AVFVP.js → chunk.L2J7SIIL.js} +4 -4
- package/cdn/chunks/{chunk.YZZGHOZ6.js → chunk.L2UYHE4C.js} +4 -4
- package/cdn/chunks/{chunk.O4EEGXRV.js → chunk.LC5MEEST.js} +3 -3
- package/cdn/chunks/{chunk.PTS7GPGK.js → chunk.LF2FSSES.js} +4 -4
- package/cdn/chunks/{chunk.HAD2A62Q.js → chunk.LLQW6MLS.js} +1 -1
- package/cdn/chunks/{chunk.XBXDJYO4.js → chunk.MA5YJHU4.js} +2 -2
- package/cdn/chunks/{chunk.RUOVZAV3.js → chunk.MECNKUMI.js} +5 -5
- package/cdn/chunks/{chunk.TK4H3UAV.js → chunk.MGIRF6TM.js} +2 -2
- package/cdn/chunks/{chunk.DTYC6A72.js → chunk.MQLSZR7A.js} +3 -3
- package/cdn/chunks/{chunk.5LZSOU2R.js → chunk.MRZ24PSM.js} +2 -2
- package/cdn/chunks/{chunk.ST7J4EBA.js → chunk.MXWLFVIN.js} +2 -2
- package/cdn/chunks/{chunk.DLR6G7BU.js → chunk.MYQ5E7XD.js} +3 -3
- package/cdn/chunks/{chunk.J2FDGFAO.js → chunk.N7MNA4GP.js} +1 -1
- package/cdn/chunks/{chunk.DQE6A45V.js → chunk.NDZZP23O.js} +6 -6
- package/cdn/chunks/{chunk.7C6Z5ZJA.js → chunk.NZFBTFCB.js} +4 -4
- package/cdn/chunks/{chunk.XPDOQQDL.js → chunk.OFG3L77A.js} +2 -2
- package/cdn/chunks/{chunk.NIAKB4IV.js → chunk.OOKGLR7W.js} +2 -2
- package/cdn/chunks/{chunk.2LLDTYPV.js → chunk.OONJ4BAJ.js} +3 -3
- package/cdn/chunks/{chunk.SOFSUMQZ.js → chunk.ORJKIZAO.js} +6 -6
- package/cdn/chunks/{chunk.KB24GDYU.js → chunk.OTEYQ4OU.js} +4 -4
- package/cdn/chunks/{chunk.PKVWDUHM.js → chunk.OVCET4YX.js} +4 -4
- package/cdn/chunks/{chunk.IROQ5KMI.js → chunk.PGCCZX7O.js} +7 -1
- package/cdn/chunks/{chunk.ATTLUFKD.js → chunk.PJ4QMHFS.js} +2 -2
- package/cdn/chunks/{chunk.UBKKXGSV.js → chunk.PMYSGKZB.js} +1 -1
- package/cdn/chunks/{chunk.5LA3UQGA.js → chunk.PYPLSUEN.js} +2 -2
- package/cdn/chunks/{chunk.DBSXHLX2.js → chunk.QL3GZ4GX.js} +2 -2
- package/cdn/chunks/{chunk.UYO53G24.js → chunk.QSIQSHSN.js} +7 -7
- package/cdn/chunks/{chunk.WRLMLUTN.js → chunk.QVKLZ6B5.js} +4 -4
- package/cdn/chunks/{chunk.U7A2XERI.js → chunk.R3NC5YZH.js} +3 -3
- package/cdn/chunks/{chunk.WCWJ4FIJ.js → chunk.RIGMCOQV.js} +10 -10
- package/{dist/chunks/chunk.CZ2EH5XR.js → cdn/chunks/chunk.RIKQNF2V.js} +1 -0
- package/cdn/chunks/{chunk.WZ6RV3A6.js → chunk.RNM6I6T5.js} +3 -3
- package/cdn/chunks/{chunk.LA2WIFMP.js → chunk.RO6E3CHM.js} +3 -3
- package/cdn/chunks/{chunk.OLJZ5GME.js → chunk.RRHJQF74.js} +2 -2
- package/cdn/chunks/{chunk.63E6ND2E.js → chunk.RVHELEGN.js} +16 -12
- package/cdn/chunks/{chunk.NUCFULBV.js → chunk.SC3NB3OV.js} +3 -3
- package/cdn/chunks/{chunk.EDDZXAWN.js → chunk.SKCM6IIU.js} +3 -3
- package/cdn/chunks/{chunk.DZD3NCZ4.js → chunk.SLN5HUKD.js} +5 -0
- package/cdn/chunks/{chunk.AVPUEXYV.js → chunk.SVSNIKRJ.js} +6 -6
- package/cdn/chunks/{chunk.6XYXJVDL.js → chunk.SVT7EHTD.js} +2 -2
- package/cdn/chunks/{chunk.LK56M2C7.js → chunk.TBYP6SM7.js} +4 -4
- package/cdn/chunks/{chunk.EW5LC4ZI.js → chunk.TEKUWOCD.js} +1 -1
- package/{dist/chunks/chunk.NOMN6DGD.js → cdn/chunks/chunk.TKTCYZRK.js} +1 -1
- package/cdn/chunks/{chunk.XSAX3KG4.js → chunk.TRBARQEX.js} +3 -3
- package/cdn/chunks/{chunk.ZKJLPSYB.js → chunk.TZ4Q6BAB.js} +5 -5
- package/cdn/chunks/{chunk.W5TQDCSI.js → chunk.TZRZZOGK.js} +3 -3
- package/cdn/chunks/{chunk.PJEZIRWR.js → chunk.U3ETB7BS.js} +2 -2
- package/cdn/chunks/{chunk.JH4WWO3O.js → chunk.UANNVQFM.js} +12 -4
- package/cdn/chunks/{chunk.BQTG5LTJ.js → chunk.UBT35B3F.js} +5 -0
- package/cdn/chunks/{chunk.HG7MAXOZ.js → chunk.UBWOOLWW.js} +7 -7
- package/cdn/chunks/{chunk.BDVK5IET.js → chunk.UDSRZSUI.js} +6 -6
- package/cdn/chunks/{chunk.FMOGZNXI.js → chunk.UXHX6KTB.js} +8 -8
- package/cdn/chunks/{chunk.YVMSWHZC.js → chunk.VDNWYNYL.js} +6 -6
- package/cdn/chunks/{chunk.H5B527GZ.js → chunk.VJJMI4E3.js} +4 -4
- package/cdn/chunks/{chunk.TLSUBAGQ.js → chunk.VMSFUWQQ.js} +2 -2
- package/cdn/chunks/{chunk.VFOTKDNC.js → chunk.VSZMOH4N.js} +5 -5
- package/cdn/chunks/{chunk.YRWCN4T2.js → chunk.VX3USOBX.js} +3 -3
- package/cdn/chunks/{chunk.5FH6QU4A.js → chunk.W4KTFSQJ.js} +10 -5
- package/cdn/chunks/{chunk.ZKJ6O2YA.js → chunk.W7HYA37Q.js} +2 -2
- package/cdn/chunks/{chunk.IQ6BCACG.js → chunk.WGJHSD2I.js} +3 -3
- package/cdn/chunks/{chunk.RMYPFUS2.js → chunk.WSDXHDWN.js} +18 -4
- package/cdn/chunks/{chunk.CWY2H4ZC.js → chunk.WX5PKKV7.js} +2 -2
- package/cdn/chunks/{chunk.DEVNIYZ2.js → chunk.X2EDAUXX.js} +9 -9
- package/cdn/chunks/{chunk.IIGRYD5Y.js → chunk.XCDJMN7H.js} +2 -2
- package/cdn/chunks/chunk.XCMDCOL6.js +241 -0
- package/cdn/chunks/{chunk.UNV27CKT.js → chunk.XETLWHSF.js} +2 -2
- package/cdn/chunks/{chunk.PQFO6QU4.js → chunk.XU2EDX2N.js} +2 -2
- package/cdn/chunks/{chunk.4HNDZK47.js → chunk.Y3VIEPP4.js} +3 -3
- package/cdn/chunks/{chunk.P6AXCAIZ.js → chunk.YTHNA2W4.js} +6 -6
- package/cdn/chunks/{chunk.YJWQEKVT.js → chunk.Z5BYMFSD.js} +3 -3
- package/cdn/chunks/{chunk.F4WG4HCT.js → chunk.Z6FS4TLM.js} +2 -2
- package/cdn/chunks/{chunk.35IGHSB5.js → chunk.Z74PCREV.js} +2 -2
- package/cdn/chunks/{chunk.WIWCAMTG.js → chunk.Z7ZDVATP.js} +5 -5
- package/cdn/chunks/{chunk.KTQYCGHW.js → chunk.ZBRHWPTO.js} +1 -0
- package/cdn/chunks/{chunk.Y7TCZRKP.js → chunk.ZF3LJFGB.js} +7 -7
- package/cdn/chunks/{chunk.OAYBOZVR.js → chunk.ZGUGPMGS.js} +2 -2
- package/cdn/chunks/{chunk.EYBXAYU3.js → chunk.ZJONU7FX.js} +2 -2
- package/cdn/chunks/{chunk.RO655SBI.js → chunk.ZRTVJE3I.js} +4 -4
- package/cdn/chunks/{chunk.ADBMEATG.js → chunk.ZSZOMLCT.js} +9 -0
- package/cdn/chunks/{chunk.TXHBW3J7.js → chunk.ZTSFBM3Z.js} +4 -4
- package/cdn/chunks/{shadow-css.XHYCCBXB.js → shadow-css.ERYUZVEM.js} +1 -1
- package/cdn/chunks/{wc-datepicker.entry.M2Q7BH3Y.js → wc-datepicker.entry.VUSN5MCN.js} +2 -2
- package/cdn/components/accordion/accordion.js +12 -12
- package/cdn/components/accordion/accordion.styles.js +1 -1
- package/cdn/components/accordion-group/accordion-group.js +12 -12
- package/cdn/components/accordion-group/accordion-group.styles.js +1 -1
- package/cdn/components/alert/alert.js +12 -12
- package/cdn/components/alert/alert.styles.js +1 -1
- package/cdn/components/anchor-tag/anchor-tag.js +3 -3
- package/cdn/components/anchor-tag/anchor-tag.styles.js +1 -1
- package/cdn/components/animation/animation.js +5 -5
- package/cdn/components/animation/animation.styles.js +1 -1
- package/cdn/components/animation/animations.js +2 -2
- package/cdn/components/avatar/avatar.js +8 -8
- package/cdn/components/avatar/avatar.styles.js +1 -1
- package/cdn/components/avatar-group/avatar-group.js +3 -3
- package/cdn/components/avatar-group/avatar-group.styles.js +1 -1
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/badge/badge.styles.js +1 -1
- package/cdn/components/breadcrumb/breadcrumb.js +9 -9
- package/cdn/components/breadcrumb/breadcrumb.styles.js +1 -1
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +4 -4
- package/cdn/components/breadcrumb-item/breadcrumb-item.styles.js +1 -1
- package/cdn/components/button/button.js +11 -11
- package/cdn/components/button/button.styles.js +1 -1
- package/cdn/components/calendar/calendar.js +6 -6
- package/cdn/components/calendar/calendar.styles.js +1 -1
- package/cdn/components/callout/callout.js +9 -9
- package/cdn/components/callout/callout.styles.js +1 -1
- package/cdn/components/card/card.d.ts +2 -0
- package/cdn/components/card/card.js +4 -4
- package/cdn/components/card/card.styles.js +2 -2
- package/cdn/components/card-content/card-content.d.ts +2 -0
- package/cdn/components/card-content/card-content.js +9 -9
- package/cdn/components/card-content/card-content.styles.js +2 -2
- package/cdn/components/card-nav/card-nav.d.ts +2 -0
- package/cdn/components/card-nav/card-nav.js +5 -4
- package/cdn/components/card-nav/card-nav.styles.js +2 -2
- package/cdn/components/card-nav-accordion/card-nav-accordion.js +11 -11
- package/cdn/components/card-nav-accordion/card-nav-accordion.styles.js +1 -1
- package/cdn/components/card-nav-item/card-nav-item.js +8 -8
- package/cdn/components/card-nav-item/card-nav-item.styles.js +1 -1
- package/cdn/components/checkbox/checkbox.js +15 -15
- package/cdn/components/checkbox/checkbox.styles.js +1 -1
- package/cdn/components/checkbox-button/checkbox-button.js +14 -14
- package/cdn/components/checkbox-card/checkbox-card.js +11 -11
- package/cdn/components/checkbox-group/checkbox-group.js +12 -12
- package/cdn/components/checkbox-group/checkbox-group.styles.js +1 -1
- package/cdn/components/combobox/combobox.js +19 -20
- package/cdn/components/combobox/combobox.styles.js +1 -1
- package/cdn/components/copy-button/copy-button.d.ts +64 -0
- package/cdn/components/copy-button/copy-button.js +29 -0
- package/cdn/components/copy-button/copy-button.styles.d.ts +2 -0
- package/cdn/components/copy-button/copy-button.styles.js +10 -0
- package/cdn/components/dialog/dialog.js +13 -13
- package/cdn/components/dialog/dialog.styles.js +1 -1
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/divider/divider.styles.js +1 -1
- package/cdn/components/download-card/download-card.js +9 -9
- package/cdn/components/download-card/download-card.styles.js +2 -2
- package/cdn/components/download-link/download-link.js +8 -8
- package/cdn/components/download-link/download-link.styles.js +1 -1
- package/cdn/components/drawer/drawer.js +13 -13
- package/cdn/components/drawer/drawer.styles.js +1 -1
- package/cdn/components/dropdown/dropdown.js +8 -8
- package/cdn/components/dropdown/dropdown.styles.js +1 -1
- package/cdn/components/error-message-panel/error-message-panel.js +4 -4
- package/cdn/components/error-message-panel/error-message-panel.styles.js +1 -1
- package/cdn/components/error-text/error-text-stories.js +1 -1
- package/cdn/components/error-text/error-text.js +8 -8
- package/cdn/components/error-text/error-text.styles.js +1 -1
- package/cdn/components/error-text/error-text.utils.js +1 -1
- package/cdn/components/fieldset/fieldset.d.ts +2 -0
- package/cdn/components/fieldset/fieldset.js +5 -5
- package/cdn/components/fieldset/fieldset.styles.js +2 -2
- package/cdn/components/file-upload/file-upload.js +12 -12
- package/cdn/components/file-upload/file-upload.styles.js +1 -1
- package/cdn/components/file-upload-item/file-upload-item.js +10 -10
- package/cdn/components/file-upload-item/file-upload-item.styles.js +1 -1
- package/cdn/components/filter-button/filter-button.js +10 -10
- package/cdn/components/filter-button/filter-button.styles.js +1 -1
- package/cdn/components/filter-counter/filter-counter.js +37 -37
- package/cdn/components/filter-counter/filter-counter.styles.js +1 -1
- package/cdn/components/filter-date/filter-date.js +22 -22
- package/cdn/components/filter-date/filter-date.styles.js +1 -1
- package/cdn/components/filter-range/filter-range.js +38 -38
- package/cdn/components/filter-range/filter-range.styles.js +1 -1
- package/cdn/components/filter-select/filter-select.js +38 -38
- package/cdn/components/filter-select/filter-select.styles.js +1 -1
- package/cdn/components/footer/footer.assets.js +1 -1
- package/cdn/components/footer/footer.js +6 -5
- package/cdn/components/footer/footer.styles.js +1 -1
- package/cdn/components/footer-content-block/footer-content-block.js +4 -4
- package/cdn/components/footer-content-block/footer-content-block.styles.js +1 -1
- package/cdn/components/footer-mandatory-mentions/footer-mandatory-mentions.js +4 -4
- package/cdn/components/footer-mandatory-mentions/footer-mandatory-mentions.styles.js +1 -1
- package/cdn/components/footer-sitemap/footer-sitemap.js +3 -3
- package/cdn/components/footer-sitemap/footer-sitemap.styles.js +1 -1
- package/cdn/components/footer-sitemap-item/footer-sitemap-item.js +4 -4
- package/cdn/components/footer-sitemap-item/footer-sitemap-item.styles.js +1 -1
- package/cdn/components/format-bytes/format-bytes.js +4 -4
- package/cdn/components/format-date/format-date.js +4 -4
- package/cdn/components/format-number/format-number.js +4 -4
- package/cdn/components/header/header.assets.js +1 -1
- package/cdn/components/header/header.js +7 -7
- package/cdn/components/header/header.styles.js +1 -1
- package/cdn/components/header-external-link/header-external-link.js +3 -3
- package/cdn/components/header-search/header-search.js +17 -17
- package/cdn/components/header-search/header-search.styles.js +1 -1
- package/cdn/components/icon/icon.js +7 -7
- package/cdn/components/icon/icon.styles.js +1 -1
- package/cdn/components/icon/library.default.js +1 -1
- package/cdn/components/icon/library.js +3 -3
- package/cdn/components/icon/library.system.js +2 -2
- package/cdn/components/icon-button/icon-button.js +8 -8
- package/cdn/components/icon-button/icon-button.styles.js +1 -1
- package/cdn/components/include/request.js +1 -1
- package/cdn/components/input/input.js +29 -29
- package/cdn/components/input-amount/input-amount.js +18 -18
- package/cdn/components/input-amount/input-amount.styles.js +1 -1
- package/cdn/components/input-amount/input-amount.utils.js +1 -1
- package/cdn/components/input-date/input-date.js +23 -23
- package/cdn/components/input-date/input-date.styles.js +1 -1
- package/cdn/components/input-mask/input-mask.configs.js +1 -1
- package/cdn/components/input-mask/input-mask.js +17 -17
- package/cdn/components/input-mask/input-mask.styles.js +1 -1
- package/cdn/components/input-mask/input-mask.utils.js +1 -1
- package/cdn/components/input-native/input-native.js +18 -18
- package/cdn/components/input-native/input-native.styles.js +1 -1
- package/cdn/components/input-native/input-native.utils.js +1 -1
- package/cdn/components/input-otp/input-otp.js +16 -16
- package/cdn/components/input-otp/input-otp.styles.js +1 -1
- package/cdn/components/input-otp/input-otp.utils.js +1 -1
- package/cdn/components/input-phone/input-phone.configs.js +1 -1
- package/cdn/components/input-phone/input-phone.js +26 -26
- package/cdn/components/input-phone/input-phone.styles.js +1 -1
- package/cdn/components/input-phone/input-phone.utils.js +1 -1
- package/cdn/components/input-time/input-time.js +22 -22
- package/cdn/components/input-time/input-time.styles.js +1 -1
- package/cdn/components/input-time/input-time.utils.js +1 -1
- package/cdn/components/menu-accordion/menu-accordion.js +14 -14
- package/cdn/components/menu-accordion/menu-accordion.styles.js +2 -2
- package/cdn/components/menu-item/menu-item.js +10 -10
- package/cdn/components/menu-item/menu-item.styles.js +1 -1
- package/cdn/components/menu-label/menu-label.js +3 -3
- package/cdn/components/menu-label/menu-label.styles.js +1 -1
- package/cdn/components/menu-navigation/menu-navigation.js +3 -3
- package/cdn/components/menu-navigation/menu-navigation.styles.js +1 -1
- package/cdn/components/mutation-observer/mutation-observer.js +4 -4
- package/cdn/components/mutation-observer/mutation-observer.styles.js +1 -1
- package/cdn/components/navbar/navbar.js +4 -4
- package/cdn/components/navbar/navbar.styles.js +1 -1
- package/cdn/components/navbar-link/navbar-link.js +9 -9
- package/cdn/components/navbar-link/navbar-link.styles.js +1 -1
- package/cdn/components/navbar-menu/navbar-menu.js +13 -13
- package/cdn/components/navbar-menu/navbar-menu.styles.js +1 -1
- package/cdn/components/option/option.js +10 -10
- package/cdn/components/option/option.styles.js +1 -1
- package/cdn/components/page-header/page-header.js +3 -3
- package/cdn/components/page-header/page-header.styles.js +1 -1
- package/cdn/components/pagination/pagination.js +33 -33
- package/cdn/components/pagination/pagination.styles.js +1 -1
- package/cdn/components/pagination-button/pagination-button.js +3 -3
- package/cdn/components/pagination-button/pagination-button.styles.js +1 -1
- package/cdn/components/popup/popup.js +3 -3
- package/cdn/components/popup/popup.styles.js +1 -1
- package/cdn/components/profile-button/profile-button.js +14 -14
- package/cdn/components/profile-button/profile-button.styles.js +1 -1
- package/cdn/components/progress-bar/progress-bar.js +4 -4
- package/cdn/components/progress-bar/progress-bar.styles.js +1 -1
- package/cdn/components/progress-ring/progress-ring.js +3 -3
- package/cdn/components/progress-ring/progress-ring.styles.js +1 -1
- package/cdn/components/quote/quote.js +9 -9
- package/cdn/components/quote/quote.styles.js +1 -1
- package/cdn/components/radio/radio.js +9 -9
- package/cdn/components/radio/radio.styles.js +1 -1
- package/cdn/components/radio-button/radio-button.js +14 -14
- package/cdn/components/radio-card/radio-card.js +16 -16
- package/cdn/components/radio-group/radio-group.js +12 -12
- package/cdn/components/radio-group/radio-group.styles.js +1 -1
- package/cdn/components/radio-group/radio-group.utils.js +1 -1
- package/cdn/components/range-slider/range-slider.js +4 -4
- package/cdn/components/range-slider/range-slider.styles.js +1 -1
- package/cdn/components/relative-time/relative-time.js +4 -4
- package/cdn/components/resize-observer/resize-observer.js +4 -4
- package/cdn/components/resize-observer/resize-observer.styles.js +1 -1
- package/cdn/components/search/search.d.ts +4 -0
- package/cdn/components/search/search.js +13 -13
- package/cdn/components/search/search.styles.js +1 -1
- package/cdn/components/select/select.js +19 -19
- package/cdn/components/select/select.styles.js +1 -1
- package/cdn/components/sidenav/sidenav.js +14 -14
- package/cdn/components/sidenav/sidenav.styles.js +1 -1
- package/cdn/components/sidenav-info-accordion/sidenav-info-accordion.js +15 -15
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/skeleton/skeleton.styles.js +1 -1
- package/cdn/components/skip-link-item/skip-link-item.js +3 -3
- package/cdn/components/skip-link-item/skip-link-item.styles.js +1 -1
- package/cdn/components/skip-links/skip-links.js +4 -4
- package/cdn/components/skip-links/skip-links.styles.js +1 -1
- package/cdn/components/spinner/spinner.js +4 -4
- package/cdn/components/spinner/spinner.styles.js +1 -1
- package/cdn/components/split-panel/split-panel.js +9 -9
- package/cdn/components/split-panel/split-panel.styles.js +1 -1
- package/cdn/components/step/step.js +10 -10
- package/cdn/components/step/step.styles.js +1 -1
- package/cdn/components/step/step.utils.js +1 -1
- package/cdn/components/stepper/stepper.js +4 -4
- package/cdn/components/stepper/stepper.styles.js +1 -1
- package/cdn/components/success-text/success-text-stories.js +1 -1
- package/cdn/components/success-text/success-text.js +8 -8
- package/cdn/components/success-text/success-text.styles.js +1 -1
- package/cdn/components/switch/switch.js +11 -11
- package/cdn/components/switch/switch.styles.js +1 -1
- 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 +10 -10
- package/cdn/components/tab-group/tab-group.styles.js +1 -1
- package/cdn/components/tab-panel/tab-panel.js +4 -4
- package/cdn/components/tab-panel/tab-panel.styles.js +1 -1
- package/cdn/components/table/table.js +4 -4
- package/cdn/components/table/table.styles.js +1 -1
- package/cdn/components/table/types.js +1 -1
- package/cdn/components/table-action/table-action.js +5 -5
- package/cdn/components/table-action/table-action.styles.js +1 -1
- package/cdn/components/table-body/table-body.js +6 -6
- package/cdn/components/table-body/table-body.styles.js +1 -1
- package/cdn/components/table-caption/table-caption.js +7 -7
- package/cdn/components/table-caption/table-caption.styles.js +1 -1
- package/cdn/components/table-cell/table-cell.js +6 -6
- package/cdn/components/table-cell/table-cell.styles.js +1 -1
- package/cdn/components/table-container/table-container.js +7 -7
- package/cdn/components/table-container/table-container.styles.js +1 -1
- package/cdn/components/table-expanded-row/table-expanded-row.js +3 -3
- package/cdn/components/table-expanded-row/table-expanded-row.styles.js +1 -1
- package/cdn/components/table-head/table-head.js +6 -6
- package/cdn/components/table-head/table-head.styles.js +1 -1
- package/cdn/components/table-header-cell/defs.js +1 -1
- package/cdn/components/table-header-cell/table-header-cell.js +11 -11
- package/cdn/components/table-header-cell/table-header-cell.styles.js +1 -1
- package/cdn/components/table-header-row/table-header-row.js +24 -24
- package/cdn/components/table-header-row/table-header-row.styles.js +1 -1
- package/cdn/components/table-of-contents/table-of-contents.d.ts +1 -0
- package/cdn/components/table-of-contents/table-of-contents.js +7 -7
- package/cdn/components/table-of-contents/table-of-contents.styles.js +1 -1
- package/cdn/components/table-row/table-row.js +18 -18
- package/cdn/components/table-row/table-row.styles.js +1 -1
- package/cdn/components/table-single-cell-row/table-single-cell-row.js +3 -3
- package/cdn/components/table-single-cell-row/table-single-cell-row.styles.js +1 -1
- package/cdn/components/table-toolbar/table-toolbar.js +3 -3
- package/cdn/components/table-toolbar/table-toolbar.styles.js +1 -1
- package/cdn/components/tag/tag-variants.js +1 -1
- package/cdn/components/tag/tag.js +10 -10
- package/cdn/components/tag/tag.styles.js +1 -1
- package/cdn/components/tag-button/tag-button.js +3 -3
- package/cdn/components/tag-button/tag-button.styles.js +1 -1
- package/cdn/components/textarea/textarea.js +13 -13
- package/cdn/components/textarea/textarea.styles.js +1 -1
- package/cdn/components/tooltip/tooltip.js +8 -8
- package/cdn/components/tooltip/tooltip.styles.js +1 -1
- package/cdn/components/tree/tree.js +21 -21
- package/cdn/components/tree/tree.styles.js +1 -1
- package/cdn/components/tree-item/tree-item.js +20 -20
- package/cdn/components/tree-item/tree-item.styles.js +1 -1
- package/cdn/components/visually-hidden/visually-hidden.js +3 -3
- package/cdn/components/visually-hidden/visually-hidden.styles.js +1 -1
- package/cdn/custom-elements.json +1153 -709
- package/cdn/design-system-autoloader.js +1 -1
- package/cdn/design-system.d.ts +1 -0
- package/cdn/design-system.js +229 -224
- package/cdn/events/dsa-copy.d.ts +9 -0
- package/cdn/events/dsa-copy.js +1 -0
- package/cdn/events/events.d.ts +1 -0
- package/cdn/internal/active-elements.d.ts +15 -0
- package/cdn/internal/active-elements.js +26 -0
- package/cdn/internal/components/form-selectable-card/form-selectable-card-stories.js +11 -0
- package/cdn/internal/components/form-selectable-card/form-selectable-card.d.ts +2 -0
- package/cdn/internal/components/form-selectable-card/form-selectable-card.js +6 -0
- package/cdn/internal/components/form-selectable-card/form-selectable-card.styles.js +5 -0
- package/cdn/internal/modal.d.ts +16 -4
- package/cdn/internal/modal.js +95 -19
- package/cdn/internal/tabbable.d.ts +3 -2
- package/cdn/internal/tabbable.js +118 -26
- package/cdn/templates/decorator.d.ts +6 -0
- package/cdn/templates/decorator.js +103 -0
- package/cdn/themes/dsa-theme-tac.css +519 -0
- package/cdn/themes/dsa-theme-tac.min.css +1 -0
- package/cdn/themes/dsa-theme-tac.styles.js +531 -0
- package/cdn/themes/dsa-wc-theme.css +2 -0
- package/cdn/themes/dsa-wc-theme.min.css +1 -1
- package/cdn/themes/dsa-wc-theme.styles.js +4 -0
- package/cdn/translations/en-gb.js +2 -2
- package/cdn/translations/en.js +2 -2
- package/cdn/translations/fr.js +2 -2
- package/cdn/utilities/animation-registry.js +2 -2
- package/cdn/utilities/animation.js +2 -2
- package/cdn/utilities/base-path.js +1 -1
- package/cdn/utilities/date.js +1 -1
- package/cdn/utilities/directives.js +1 -1
- package/cdn/utilities/form.js +2 -2
- package/cdn/utilities/helpers.js +1 -1
- package/cdn/utilities/icon-library.js +3 -3
- package/cdn/utilities/localize.d.ts +2 -0
- package/cdn/utilities/localize.js +2 -2
- package/cdn/utilities/storybook.d.ts +1 -0
- package/cdn/utilities/storybook.js +14 -1
- package/cdn/vscode.html-custom-data.json +157 -59
- package/cdn/web-types.json +543 -240
- package/dist/chunks/{chunk.RGBZKVQ5.js → chunk.25GTO3QB.js} +3 -3
- package/dist/chunks/{chunk.CMGRI4BM.js → chunk.27MAGZH3.js} +6 -6
- package/dist/chunks/{chunk.2KU7CV32.js → chunk.2CKORPDB.js} +3 -3
- package/dist/chunks/{chunk.LKPKCFRT.js → chunk.2FH4CXEK.js} +3 -3
- package/dist/chunks/{chunk.SVC6SWBC.js → chunk.2M6NG4O7.js} +4 -4
- package/dist/chunks/{chunk.NZYYIPXD.js → chunk.3332LWML.js} +2 -2
- package/dist/chunks/{chunk.DCHXTN27.js → chunk.33O53GEK.js} +2 -2
- package/dist/chunks/{chunk.ITVBFQCE.js → chunk.37SIR5NH.js} +4 -4
- package/dist/chunks/{chunk.JOYIBNCU.js → chunk.3T7MZ3JU.js} +2 -2
- package/dist/chunks/{chunk.XSOVJYEE.js → chunk.43Y2LSPS.js} +2 -2
- package/dist/chunks/{chunk.LOPZ63I7.js → chunk.4CT4OG3U.js} +4 -4
- package/dist/chunks/{chunk.5P4H33F3.js → chunk.4ZTY4RLW.js} +4 -4
- package/dist/chunks/{chunk.EVUARRP5.js → chunk.55QIIYQY.js} +3 -3
- package/dist/chunks/{chunk.S3NI7NKU.js → chunk.5GB6F3WA.js} +38 -1
- package/dist/chunks/{chunk.KVMV6RHY.js → chunk.5SH2NDGR.js} +2 -2
- package/dist/chunks/{chunk.PE6N2GK7.js → chunk.5ZO4QRKN.js} +7 -7
- package/dist/chunks/{chunk.DTGS5GX2.js → chunk.62K7FKPD.js} +3 -3
- package/dist/chunks/{chunk.ZDVGWNSQ.js → chunk.652GG3AU.js} +4 -4
- package/dist/chunks/{chunk.PY33J4N7.js → chunk.6A2PTTMJ.js} +4 -4
- package/dist/chunks/{chunk.KUIOIXJS.js → chunk.6CMGI6X2.js} +3 -3
- package/dist/chunks/{chunk.QAIWHW7S.js → chunk.6HTDKIVC.js} +3 -3
- package/dist/chunks/{chunk.RCZ6OYS2.js → chunk.6PBTRK6C.js} +3 -3
- package/dist/chunks/{chunk.TIOKAREG.js → chunk.6SOP54V7.js} +4 -4
- package/dist/chunks/{chunk.AU5VH74P.js → chunk.6VBPJWGT.js} +4 -4
- package/dist/chunks/{chunk.XJDYXW54.js → chunk.72WPMH2C.js} +4 -4
- package/dist/chunks/{chunk.7DOBADZS.js → chunk.75ZNSBG6.js} +2 -2
- package/{cdn/chunks/chunk.4FQJ3QJK.js → dist/chunks/chunk.7627FYPL.js} +1 -1
- package/dist/chunks/{chunk.MSPKB4NC.js → chunk.7BLYNLBH.js} +4 -0
- package/dist/chunks/{chunk.BMVQEF7N.js → chunk.7EMAFCV4.js} +2 -2
- package/dist/chunks/{chunk.CGGOGEVE.js → chunk.7EXTAE26.js} +3 -3
- package/dist/chunks/{chunk.5VRU43Y6.js → chunk.7LOQIP5T.js} +4 -4
- package/dist/chunks/{chunk.AX4IKBZ4.js → chunk.7M5CM6FS.js} +6 -6
- package/dist/chunks/{chunk.2YJ4SOGI.js → chunk.7MANDIWA.js} +9 -0
- package/dist/chunks/chunk.7O4SJS2C.js +263 -0
- package/dist/chunks/{chunk.TWHZMT5I.js → chunk.7Q6JO7V6.js} +2 -2
- package/dist/chunks/{chunk.FFZA546N.js → chunk.A2YTGQ5P.js} +6 -6
- package/dist/chunks/{chunk.3JQXLOGT.js → chunk.A43SBIER.js} +50 -56
- package/dist/chunks/{chunk.KM2R3DVU.js → chunk.AD6Q7RQZ.js} +4 -4
- package/dist/chunks/{chunk.375AWYBX.js → chunk.AI3KXZ5R.js} +2 -2
- package/dist/chunks/{chunk.DQDLS6T7.js → chunk.APQFQQX5.js} +1 -1
- package/dist/chunks/{chunk.UHP5XFZM.js → chunk.AVFXGN5E.js} +3 -3
- package/dist/chunks/{chunk.XUDKOS6Q.js → chunk.AWE4W7CO.js} +2 -2
- package/dist/chunks/{chunk.LDXGSIJP.js → chunk.BR2432LA.js} +2 -2
- package/dist/chunks/{chunk.MN546WPV.js → chunk.BVJYG2SX.js} +5 -5
- package/dist/chunks/{chunk.CYT2OFOL.js → chunk.CHYPZO53.js} +4 -4
- package/dist/chunks/{chunk.AZSX7X74.js → chunk.CIPCYGAB.js} +4 -4
- package/dist/chunks/{chunk.BOKXQSVX.js → chunk.CJIVNPKU.js} +6 -6
- package/dist/chunks/{chunk.BJNSMHRH.js → chunk.CKP37TED.js} +13 -7
- package/dist/chunks/{chunk.CISPPQE6.js → chunk.CNRGP5OT.js} +7 -1
- package/dist/chunks/{chunk.NA5PUVAS.js → chunk.D5R3P43B.js} +3 -3
- package/dist/chunks/{chunk.7H4TWSQ6.js → chunk.DBQ5OKUO.js} +2 -2
- package/dist/chunks/{chunk.GXDIG564.js → chunk.DHIOIHB2.js} +9 -9
- package/dist/chunks/{chunk.XXN6UBL4.js → chunk.DK6C5JKN.js} +3 -3
- package/dist/chunks/{chunk.57APLKD3.js → chunk.DVKGL7IF.js} +3 -3
- package/dist/chunks/{chunk.7QLR3F26.js → chunk.EMFIFHXS.js} +3 -3
- package/dist/chunks/{chunk.LHMPWPVL.js → chunk.EXYOPG3S.js} +2 -2
- package/dist/chunks/{chunk.H35N5SQQ.js → chunk.FE77T4YV.js} +3 -3
- package/dist/chunks/{chunk.WS4VTJVW.js → chunk.G3ITJBUT.js} +6 -6
- package/dist/chunks/{chunk.EEK6ZGS2.js → chunk.G7UOB3HZ.js} +9 -4
- package/dist/chunks/{chunk.MFN2PPQD.js → chunk.GDLRITRX.js} +3 -3
- package/dist/chunks/{chunk.6ZLFJGPA.js → chunk.GMLB7CQ4.js} +2 -2
- package/dist/chunks/{chunk.WGQHIVU4.js → chunk.GQICFAYG.js} +2 -2
- package/dist/chunks/{chunk.7V4AALAQ.js → chunk.GXLI5TOH.js} +2 -2
- package/dist/chunks/{chunk.RYIXSWDC.js → chunk.GXXH57EX.js} +3 -3
- package/dist/chunks/{chunk.Z5NDJTMI.js → chunk.HQWL5ZXH.js} +2 -2
- package/dist/chunks/{chunk.EB2JJLQ5.js → chunk.HWRZLJQQ.js} +3 -3
- package/dist/chunks/{chunk.ZJKKA6XL.js → chunk.IG7F6FJH.js} +5 -5
- package/dist/chunks/{chunk.OR4GBQAD.js → chunk.IQCD6SDT.js} +2 -2
- package/dist/chunks/{chunk.BIEIKDTU.js → chunk.IW2YJ6FJ.js} +10 -4
- package/dist/chunks/{chunk.D3AYDZOQ.js → chunk.JF47WNHN.js} +6 -6
- package/dist/chunks/chunk.JIE46CQ6.js +234 -0
- package/dist/chunks/{chunk.APAY54SU.js → chunk.JM6QCEPE.js} +3 -3
- package/dist/chunks/{chunk.XZ5FE34T.js → chunk.KPJCYT4S.js} +1 -1
- package/dist/chunks/{chunk.4CI6ML27.js → chunk.KR5EMEBO.js} +5 -5
- package/dist/chunks/{chunk.3UWRBJ4B.js → chunk.L3P6ICJE.js} +3 -3
- package/dist/chunks/{chunk.YQAIHWUH.js → chunk.L4D5SWZ2.js} +3 -3
- package/dist/chunks/{chunk.KNTEOU6J.js → chunk.L6347ZP2.js} +3 -3
- package/dist/chunks/{chunk.635JP52V.js → chunk.L6QMUWXV.js} +3 -3
- package/dist/chunks/{chunk.ZVW23DEE.js → chunk.L6UOW2AY.js} +4 -4
- package/dist/chunks/{chunk.3ZD3V2KP.js → chunk.LNGE6VFS.js} +5 -5
- package/{cdn/chunks/chunk.2WRFDMKN.js → dist/chunks/chunk.LRTTUCZP.js} +1 -1
- package/dist/chunks/{chunk.UGES4XMF.js → chunk.LXAPUOCB.js} +4 -4
- package/dist/chunks/{chunk.J4QE6NJC.js → chunk.LYW7WENA.js} +5 -0
- package/dist/chunks/{chunk.KQ3DPRW2.js → chunk.M2FVFT7D.js} +15 -11
- package/dist/chunks/{chunk.MAGZFXIQ.js → chunk.M5BZYGOO.js} +7 -7
- package/dist/chunks/{chunk.4EZO7D3U.js → chunk.MFAEBC56.js} +7 -7
- package/dist/chunks/{chunk.Q2BCYSPM.js → chunk.MSDVGZFG.js} +5 -0
- package/dist/chunks/{chunk.AZEQFWC6.js → chunk.NSAJTBR4.js} +11 -16
- package/dist/chunks/{chunk.M6UDLRQS.js → chunk.OCBSNQXM.js} +2 -2
- package/dist/chunks/{chunk.TRL4P2I3.js → chunk.OK2SQY2K.js} +4 -4
- package/dist/chunks/{chunk.ACK66ARL.js → chunk.OKCUR4XQ.js} +2 -2
- package/dist/chunks/{chunk.EWPCLITO.js → chunk.OM7W63ZQ.js} +3 -3
- package/dist/chunks/{chunk.4C2RGLU3.js → chunk.ONHIOF25.js} +6 -6
- package/dist/chunks/{chunk.BQGHK4RP.js → chunk.P5HQ7ESJ.js} +3 -3
- package/dist/chunks/{chunk.I3XOSXHD.js → chunk.P7IPRHLL.js} +5 -5
- package/dist/chunks/{chunk.3YZI5GBX.js → chunk.PGSFPQUF.js} +16 -5
- package/dist/chunks/{chunk.L74YWWVI.js → chunk.PIRJ2ABB.js} +4 -4
- package/dist/chunks/{chunk.BIMC3BUK.js → chunk.PQQ3VJ6P.js} +7 -7
- package/dist/chunks/{chunk.P3PWYBUS.js → chunk.PT44AIJN.js} +3 -3
- package/dist/chunks/{chunk.4JOY2RUR.js → chunk.PX4PKH5C.js} +3 -3
- package/dist/chunks/{chunk.CZPEHPWO.js → chunk.Q6CDEOE7.js} +2 -2
- package/dist/chunks/{chunk.SWIGWQYF.js → chunk.QBV4OLYE.js} +1 -1
- package/dist/chunks/{chunk.VJQ3HBS2.js → chunk.QUXQA452.js} +2 -2
- package/dist/chunks/{chunk.GTDMIENI.js → chunk.QUYAJTQA.js} +10 -10
- package/dist/chunks/{chunk.GOKCIABB.js → chunk.R4SXN6JP.js} +5 -5
- package/{cdn/chunks/chunk.CZ2EH5XR.js → dist/chunks/chunk.RIKQNF2V.js} +1 -0
- package/dist/chunks/{chunk.VCWTTC33.js → chunk.RMKMGX5K.js} +2 -2
- package/dist/chunks/{chunk.4WMDIVJD.js → chunk.RUSQQASU.js} +3 -3
- package/dist/chunks/{chunk.G625UZ24.js → chunk.SAKC6HWD.js} +6 -6
- package/dist/chunks/{chunk.XJV6AOJL.js → chunk.SBO2HJFC.js} +14 -4
- package/dist/chunks/{chunk.V4DBHCM5.js → chunk.SVXA5YWW.js} +10 -5
- package/dist/chunks/{chunk.DDR76AVQ.js → chunk.TF5AXNOZ.js} +4 -4
- package/dist/chunks/{chunk.ZTGPYOYG.js → chunk.TLQMWL6I.js} +1 -0
- package/dist/chunks/{chunk.F6DSNCFH.js → chunk.TNUH3IEK.js} +4 -4
- package/dist/chunks/{chunk.JGIMRJWY.js → chunk.TREOZZ7D.js} +5 -5
- package/dist/chunks/{chunk.FBUVZU66.js → chunk.TWQ2VS2U.js} +4 -4
- package/dist/chunks/{chunk.BTJY3EK7.js → chunk.TXDB6HM4.js} +5 -5
- package/dist/chunks/{chunk.SCGZBZYD.js → chunk.TXMLBAIO.js} +2 -2
- package/dist/chunks/{chunk.2G63WCAT.js → chunk.U6FYLS3C.js} +3 -3
- package/dist/chunks/{chunk.SHJWL34V.js → chunk.UF4PZMAF.js} +4 -4
- package/dist/chunks/{chunk.47TQG32Z.js → chunk.UIUYLHPM.js} +3 -3
- package/dist/chunks/{chunk.M2KJCGCC.js → chunk.ULC7VUCJ.js} +6 -6
- package/dist/chunks/{chunk.3YL62PBD.js → chunk.V3PHLLGV.js} +2 -2
- package/dist/chunks/{chunk.W33UDZXM.js → chunk.VCIUXBGN.js} +2 -2
- package/dist/chunks/{chunk.MTE4ETST.js → chunk.VI3FKXGA.js} +2 -2
- package/dist/chunks/{chunk.XR2OWG4H.js → chunk.VIAKDLXU.js} +1 -1
- package/dist/chunks/{chunk.33VVNI53.js → chunk.VIKMVPWW.js} +3 -3
- package/dist/chunks/{chunk.G2TZ2WRC.js → chunk.VJ6DHJGA.js} +10 -5
- package/dist/chunks/{chunk.Q57SCFXF.js → chunk.VOXVNOTC.js} +2 -2
- package/dist/chunks/{chunk.ZJ3W724H.js → chunk.VS6H6IPF.js} +13 -6
- package/dist/chunks/{chunk.LRK3TXL6.js → chunk.VX5PZ5CF.js} +2 -2
- package/dist/chunks/{chunk.TR26WJPX.js → chunk.WCV52Y66.js} +2 -2
- package/dist/chunks/{chunk.WRJ4ECKR.js → chunk.WID2OCNV.js} +4 -4
- package/dist/chunks/{chunk.EDCJRRYX.js → chunk.WTV5HKD2.js} +7 -7
- package/dist/chunks/{chunk.HP6XFXU7.js → chunk.X23V3C6R.js} +6 -6
- package/dist/chunks/{chunk.MYC7KJSE.js → chunk.XBQLQJQG.js} +2 -2
- package/dist/chunks/{chunk.LNOGEYIB.js → chunk.XRLHF7QC.js} +6 -6
- package/dist/chunks/{chunk.PFEA4LHL.js → chunk.XUEOWZLQ.js} +2 -2
- package/dist/chunks/{chunk.LF5OW4Q2.js → chunk.Y2ZKI6KG.js} +2 -2
- package/dist/chunks/{chunk.G6JRMCFB.js → chunk.Y3225CZP.js} +3 -3
- package/dist/chunks/{chunk.U3HQO6VT.js → chunk.Y5XT3CTJ.js} +2 -2
- package/dist/chunks/{chunk.S5KHLSIS.js → chunk.YHQQWRGP.js} +4 -4
- package/dist/chunks/{chunk.L27746TI.js → chunk.YQUUPYEO.js} +4 -4
- package/dist/chunks/{chunk.XQ2WY2BR.js → chunk.YU4MKWNH.js} +3 -3
- package/dist/chunks/{chunk.DMK5H743.js → chunk.YXDNYLQX.js} +2 -2
- package/dist/chunks/{chunk.6UTNOR4E.js → chunk.Z24WSU5C.js} +2 -2
- package/dist/chunks/chunk.ZKUUTPFX.js +80 -0
- package/dist/chunks/{chunk.6JOKGFBD.js → chunk.ZRTIZ2ZU.js} +4 -4
- package/dist/components/accordion/accordion.js +12 -12
- package/dist/components/accordion/accordion.styles.js +1 -1
- package/dist/components/accordion-group/accordion-group.js +12 -12
- package/dist/components/accordion-group/accordion-group.styles.js +1 -1
- package/dist/components/alert/alert.js +12 -12
- package/dist/components/alert/alert.styles.js +1 -1
- package/dist/components/anchor-tag/anchor-tag.js +3 -3
- package/dist/components/anchor-tag/anchor-tag.styles.js +1 -1
- package/dist/components/animation/animation.js +4 -4
- package/dist/components/animation/animation.styles.js +1 -1
- package/dist/components/animation/animations.js +1 -1
- package/dist/components/avatar/avatar.js +8 -8
- package/dist/components/avatar/avatar.styles.js +1 -1
- package/dist/components/avatar-group/avatar-group.js +3 -3
- package/dist/components/avatar-group/avatar-group.styles.js +1 -1
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/badge/badge.styles.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.js +9 -9
- package/dist/components/breadcrumb/breadcrumb.styles.js +1 -1
- package/dist/components/breadcrumb-item/breadcrumb-item.js +4 -4
- package/dist/components/breadcrumb-item/breadcrumb-item.styles.js +1 -1
- package/dist/components/button/button.js +11 -11
- package/dist/components/button/button.styles.js +1 -1
- package/dist/components/calendar/calendar.js +5 -5
- package/dist/components/calendar/calendar.styles.js +1 -1
- package/dist/components/callout/callout.js +9 -9
- package/dist/components/callout/callout.styles.js +1 -1
- package/dist/components/card/card.d.ts +2 -0
- package/dist/components/card/card.js +4 -4
- package/dist/components/card/card.styles.js +2 -2
- package/dist/components/card-content/card-content.d.ts +2 -0
- package/dist/components/card-content/card-content.js +9 -9
- package/dist/components/card-content/card-content.styles.js +2 -2
- package/dist/components/card-nav/card-nav.d.ts +2 -0
- package/dist/components/card-nav/card-nav.js +4 -4
- package/dist/components/card-nav/card-nav.styles.js +2 -2
- package/dist/components/card-nav-accordion/card-nav-accordion.js +11 -11
- package/dist/components/card-nav-accordion/card-nav-accordion.styles.js +1 -1
- package/dist/components/card-nav-item/card-nav-item.js +8 -8
- package/dist/components/card-nav-item/card-nav-item.styles.js +1 -1
- package/dist/components/checkbox/checkbox.js +14 -14
- package/dist/components/checkbox/checkbox.styles.js +1 -1
- package/dist/components/checkbox-button/checkbox-button.js +14 -14
- package/dist/components/checkbox-card/checkbox-card.js +11 -11
- package/dist/components/checkbox-group/checkbox-group.js +12 -12
- package/dist/components/checkbox-group/checkbox-group.styles.js +1 -1
- package/dist/components/combobox/combobox.js +19 -20
- package/dist/components/combobox/combobox.styles.js +1 -1
- package/dist/components/copy-button/copy-button.d.ts +64 -0
- package/dist/components/copy-button/copy-button.js +25 -0
- package/dist/components/copy-button/copy-button.styles.d.ts +2 -0
- package/dist/components/copy-button/copy-button.styles.js +8 -0
- package/dist/components/dialog/dialog.js +13 -13
- package/dist/components/dialog/dialog.styles.js +1 -1
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/divider/divider.styles.js +1 -1
- package/dist/components/download-card/download-card.js +9 -9
- package/dist/components/download-card/download-card.styles.js +2 -2
- package/dist/components/download-link/download-link.js +8 -8
- package/dist/components/download-link/download-link.styles.js +1 -1
- package/dist/components/drawer/drawer.js +13 -13
- package/dist/components/drawer/drawer.styles.js +1 -1
- package/dist/components/dropdown/dropdown.js +8 -8
- package/dist/components/dropdown/dropdown.styles.js +1 -1
- package/dist/components/error-message-panel/error-message-panel.js +4 -4
- package/dist/components/error-message-panel/error-message-panel.styles.js +1 -1
- package/dist/components/error-text/error-text-stories.js +1 -1
- package/dist/components/error-text/error-text.js +8 -8
- package/dist/components/error-text/error-text.styles.js +1 -1
- package/dist/components/error-text/error-text.utils.js +1 -1
- package/dist/components/fieldset/fieldset.d.ts +2 -0
- package/dist/components/fieldset/fieldset.js +5 -5
- package/dist/components/fieldset/fieldset.styles.js +2 -2
- package/dist/components/file-upload/file-upload.js +12 -12
- package/dist/components/file-upload/file-upload.styles.js +1 -1
- package/dist/components/file-upload-item/file-upload-item.js +10 -10
- package/dist/components/file-upload-item/file-upload-item.styles.js +1 -1
- package/dist/components/filter-button/filter-button.js +10 -10
- package/dist/components/filter-button/filter-button.styles.js +1 -1
- package/dist/components/filter-counter/filter-counter.js +35 -35
- package/dist/components/filter-counter/filter-counter.styles.js +1 -1
- package/dist/components/filter-date/filter-date.js +20 -20
- package/dist/components/filter-date/filter-date.styles.js +1 -1
- package/dist/components/filter-range/filter-range.js +36 -36
- package/dist/components/filter-range/filter-range.styles.js +1 -1
- package/dist/components/filter-select/filter-select.js +36 -36
- package/dist/components/filter-select/filter-select.styles.js +1 -1
- package/dist/components/footer/footer.assets.js +1 -1
- package/dist/components/footer/footer.js +5 -5
- package/dist/components/footer/footer.styles.js +1 -1
- package/dist/components/footer-content-block/footer-content-block.js +4 -4
- package/dist/components/footer-content-block/footer-content-block.styles.js +1 -1
- package/dist/components/footer-mandatory-mentions/footer-mandatory-mentions.js +4 -4
- package/dist/components/footer-mandatory-mentions/footer-mandatory-mentions.styles.js +1 -1
- package/dist/components/footer-sitemap/footer-sitemap.js +3 -3
- package/dist/components/footer-sitemap/footer-sitemap.styles.js +1 -1
- package/dist/components/footer-sitemap-item/footer-sitemap-item.js +4 -4
- package/dist/components/footer-sitemap-item/footer-sitemap-item.styles.js +1 -1
- package/dist/components/format-bytes/format-bytes.js +4 -4
- package/dist/components/format-date/format-date.js +4 -4
- package/dist/components/format-number/format-number.js +4 -4
- package/dist/components/header/header.assets.js +1 -1
- package/dist/components/header/header.js +7 -7
- package/dist/components/header/header.styles.js +1 -1
- package/dist/components/header-external-link/header-external-link.js +3 -3
- package/dist/components/header-search/header-search.js +16 -16
- package/dist/components/header-search/header-search.styles.js +1 -1
- package/dist/components/icon/icon.js +7 -7
- package/dist/components/icon/icon.styles.js +1 -1
- package/dist/components/icon/library.default.js +1 -1
- package/dist/components/icon/library.js +3 -3
- package/dist/components/icon/library.system.js +2 -2
- package/dist/components/icon-button/icon-button.js +8 -8
- package/dist/components/icon-button/icon-button.styles.js +1 -1
- package/dist/components/include/request.js +1 -1
- package/dist/components/input/input.js +27 -27
- package/dist/components/input-amount/input-amount.js +17 -17
- package/dist/components/input-amount/input-amount.styles.js +1 -1
- package/dist/components/input-amount/input-amount.utils.js +1 -1
- package/dist/components/input-date/input-date.js +21 -21
- package/dist/components/input-date/input-date.styles.js +1 -1
- package/dist/components/input-mask/input-mask.configs.js +1 -1
- package/dist/components/input-mask/input-mask.js +16 -16
- package/dist/components/input-mask/input-mask.styles.js +1 -1
- package/dist/components/input-mask/input-mask.utils.js +1 -1
- package/dist/components/input-native/input-native.js +17 -17
- package/dist/components/input-native/input-native.styles.js +1 -1
- package/dist/components/input-native/input-native.utils.js +1 -1
- package/dist/components/input-otp/input-otp.js +15 -15
- package/dist/components/input-otp/input-otp.styles.js +1 -1
- package/dist/components/input-otp/input-otp.utils.js +1 -1
- package/dist/components/input-phone/input-phone.configs.js +1 -1
- package/dist/components/input-phone/input-phone.js +25 -25
- package/dist/components/input-phone/input-phone.styles.js +1 -1
- package/dist/components/input-phone/input-phone.utils.js +1 -1
- package/dist/components/input-time/input-time.js +21 -21
- package/dist/components/input-time/input-time.styles.js +1 -1
- package/dist/components/input-time/input-time.utils.js +1 -1
- package/dist/components/menu-accordion/menu-accordion.js +14 -14
- package/dist/components/menu-accordion/menu-accordion.styles.js +2 -2
- package/dist/components/menu-item/menu-item.js +10 -10
- package/dist/components/menu-item/menu-item.styles.js +1 -1
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/menu-label/menu-label.styles.js +1 -1
- package/dist/components/menu-navigation/menu-navigation.js +3 -3
- package/dist/components/menu-navigation/menu-navigation.styles.js +1 -1
- package/dist/components/mutation-observer/mutation-observer.js +4 -4
- package/dist/components/mutation-observer/mutation-observer.styles.js +1 -1
- package/dist/components/navbar/navbar.js +4 -4
- package/dist/components/navbar/navbar.styles.js +1 -1
- package/dist/components/navbar-link/navbar-link.js +9 -9
- package/dist/components/navbar-link/navbar-link.styles.js +1 -1
- package/dist/components/navbar-menu/navbar-menu.js +13 -13
- package/dist/components/navbar-menu/navbar-menu.styles.js +1 -1
- package/dist/components/option/option.js +10 -10
- package/dist/components/option/option.styles.js +1 -1
- package/dist/components/page-header/page-header.js +3 -3
- package/dist/components/page-header/page-header.styles.js +1 -1
- package/dist/components/pagination/pagination.js +31 -31
- package/dist/components/pagination/pagination.styles.js +1 -1
- package/dist/components/pagination-button/pagination-button.js +3 -3
- package/dist/components/pagination-button/pagination-button.styles.js +1 -1
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/popup/popup.styles.js +1 -1
- package/dist/components/profile-button/profile-button.js +14 -14
- package/dist/components/profile-button/profile-button.styles.js +1 -1
- package/dist/components/progress-bar/progress-bar.js +4 -4
- package/dist/components/progress-bar/progress-bar.styles.js +1 -1
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/progress-ring/progress-ring.styles.js +1 -1
- package/dist/components/quote/quote.js +9 -9
- package/dist/components/quote/quote.styles.js +1 -1
- package/dist/components/radio/radio.js +9 -9
- package/dist/components/radio/radio.styles.js +1 -1
- package/dist/components/radio-button/radio-button.js +14 -14
- package/dist/components/radio-card/radio-card.js +16 -16
- package/dist/components/radio-group/radio-group.js +12 -12
- package/dist/components/radio-group/radio-group.styles.js +1 -1
- package/dist/components/radio-group/radio-group.utils.js +1 -1
- package/dist/components/range-slider/range-slider.js +4 -4
- package/dist/components/range-slider/range-slider.styles.js +1 -1
- package/dist/components/relative-time/relative-time.js +4 -4
- package/dist/components/resize-observer/resize-observer.js +4 -4
- package/dist/components/resize-observer/resize-observer.styles.js +1 -1
- package/dist/components/search/search.d.ts +4 -0
- package/dist/components/search/search.js +12 -12
- package/dist/components/search/search.styles.js +1 -1
- package/dist/components/select/select.js +19 -19
- package/dist/components/select/select.styles.js +1 -1
- package/dist/components/sidenav/sidenav.js +14 -14
- package/dist/components/sidenav/sidenav.styles.js +1 -1
- package/dist/components/sidenav-info-accordion/sidenav-info-accordion.js +15 -15
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/skeleton/skeleton.styles.js +1 -1
- package/dist/components/skip-link-item/skip-link-item.js +3 -3
- package/dist/components/skip-link-item/skip-link-item.styles.js +1 -1
- package/dist/components/skip-links/skip-links.js +4 -4
- package/dist/components/skip-links/skip-links.styles.js +1 -1
- package/dist/components/spinner/spinner.js +4 -4
- package/dist/components/spinner/spinner.styles.js +1 -1
- package/dist/components/split-panel/split-panel.js +9 -9
- package/dist/components/split-panel/split-panel.styles.js +1 -1
- package/dist/components/step/step.js +10 -10
- package/dist/components/step/step.styles.js +1 -1
- package/dist/components/step/step.utils.js +1 -1
- package/dist/components/stepper/stepper.js +4 -4
- package/dist/components/stepper/stepper.styles.js +1 -1
- package/dist/components/success-text/success-text-stories.js +1 -1
- package/dist/components/success-text/success-text.js +8 -8
- package/dist/components/success-text/success-text.styles.js +1 -1
- package/dist/components/switch/switch.js +10 -10
- package/dist/components/switch/switch.styles.js +1 -1
- package/dist/components/tab/tab.js +10 -10
- package/dist/components/tab/tab.styles.js +1 -1
- package/dist/components/tab-group/tab-group.js +10 -10
- package/dist/components/tab-group/tab-group.styles.js +1 -1
- package/dist/components/tab-panel/tab-panel.js +4 -4
- package/dist/components/tab-panel/tab-panel.styles.js +1 -1
- package/dist/components/table/table.js +4 -4
- package/dist/components/table/table.styles.js +1 -1
- package/dist/components/table/types.js +1 -1
- package/dist/components/table-action/table-action.js +5 -5
- package/dist/components/table-action/table-action.styles.js +1 -1
- package/dist/components/table-body/table-body.js +6 -6
- package/dist/components/table-body/table-body.styles.js +1 -1
- package/dist/components/table-caption/table-caption.js +7 -7
- package/dist/components/table-caption/table-caption.styles.js +1 -1
- package/dist/components/table-cell/table-cell.js +6 -6
- package/dist/components/table-cell/table-cell.styles.js +1 -1
- package/dist/components/table-container/table-container.js +7 -7
- package/dist/components/table-container/table-container.styles.js +1 -1
- package/dist/components/table-expanded-row/table-expanded-row.js +3 -3
- package/dist/components/table-expanded-row/table-expanded-row.styles.js +1 -1
- package/dist/components/table-head/table-head.js +6 -6
- package/dist/components/table-head/table-head.styles.js +1 -1
- package/dist/components/table-header-cell/defs.js +1 -1
- package/dist/components/table-header-cell/table-header-cell.js +11 -11
- package/dist/components/table-header-cell/table-header-cell.styles.js +1 -1
- package/dist/components/table-header-row/table-header-row.js +23 -23
- package/dist/components/table-header-row/table-header-row.styles.js +1 -1
- package/dist/components/table-of-contents/table-of-contents.d.ts +1 -0
- package/dist/components/table-of-contents/table-of-contents.js +7 -7
- package/dist/components/table-of-contents/table-of-contents.styles.js +1 -1
- package/dist/components/table-row/table-row.js +17 -17
- package/dist/components/table-row/table-row.styles.js +1 -1
- package/dist/components/table-single-cell-row/table-single-cell-row.js +3 -3
- package/dist/components/table-single-cell-row/table-single-cell-row.styles.js +1 -1
- package/dist/components/table-toolbar/table-toolbar.js +3 -3
- package/dist/components/table-toolbar/table-toolbar.styles.js +1 -1
- package/dist/components/tag/tag-variants.js +1 -1
- package/dist/components/tag/tag.js +10 -10
- package/dist/components/tag/tag.styles.js +1 -1
- package/dist/components/tag-button/tag-button.js +3 -3
- package/dist/components/tag-button/tag-button.styles.js +1 -1
- package/dist/components/textarea/textarea.js +12 -12
- package/dist/components/textarea/textarea.styles.js +1 -1
- package/dist/components/tooltip/tooltip.js +8 -8
- package/dist/components/tooltip/tooltip.styles.js +1 -1
- package/dist/components/tree/tree.js +20 -20
- package/dist/components/tree/tree.styles.js +1 -1
- package/dist/components/tree-item/tree-item.js +19 -19
- package/dist/components/tree-item/tree-item.styles.js +1 -1
- package/dist/components/visually-hidden/visually-hidden.js +3 -3
- package/dist/components/visually-hidden/visually-hidden.styles.js +1 -1
- package/dist/custom-elements.json +1153 -709
- package/dist/design-system-autoloader.js +1 -1
- package/dist/design-system.d.ts +1 -0
- package/dist/design-system.js +225 -220
- package/dist/events/dsa-copy.d.ts +9 -0
- package/dist/events/dsa-copy.js +1 -0
- package/dist/events/events.d.ts +1 -0
- package/dist/internal/active-elements.d.ts +15 -0
- package/dist/internal/active-elements.js +26 -0
- package/dist/internal/components/form-selectable-card/form-selectable-card-stories.js +11 -0
- package/dist/internal/components/form-selectable-card/form-selectable-card.d.ts +2 -0
- package/dist/internal/components/form-selectable-card/form-selectable-card.js +6 -0
- package/dist/internal/components/form-selectable-card/form-selectable-card.styles.js +5 -0
- package/dist/internal/modal.d.ts +16 -4
- package/dist/internal/modal.js +95 -19
- package/dist/internal/tabbable.d.ts +3 -2
- package/dist/internal/tabbable.js +118 -26
- package/dist/templates/decorator.d.ts +6 -0
- package/dist/templates/decorator.js +103 -0
- package/dist/themes/dsa-theme-tac.css +519 -0
- package/dist/themes/dsa-theme-tac.min.css +1 -0
- package/dist/themes/dsa-theme-tac.styles.js +531 -0
- package/dist/themes/dsa-wc-theme.css +2 -0
- package/dist/themes/dsa-wc-theme.min.css +1 -1
- package/dist/themes/dsa-wc-theme.styles.js +4 -0
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en.js +2 -2
- package/dist/translations/fr.js +2 -2
- package/dist/utilities/animation-registry.js +2 -2
- package/dist/utilities/animation.js +1 -1
- package/dist/utilities/base-path.js +1 -1
- package/dist/utilities/date.js +1 -1
- package/dist/utilities/directives.js +1 -1
- package/dist/utilities/form.js +2 -2
- package/dist/utilities/helpers.js +1 -1
- package/dist/utilities/icon-library.js +3 -3
- package/dist/utilities/localize.d.ts +2 -0
- package/dist/utilities/localize.js +2 -2
- package/dist/utilities/storybook.d.ts +1 -0
- package/dist/utilities/storybook.js +12 -1
- package/dist/vscode.html-custom-data.json +157 -59
- package/dist/web-types.json +543 -240
- package/package.json +1 -1
- package/cdn/chunks/chunk.ISAFRNR2.js +0 -112
- package/dist/chunks/chunk.ISAFRNR2.js +0 -112
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/events/events.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export type { default as DSAChangeEvent } from './dsa-change';
|
|
|
8
8
|
export type { default as DSAClearEvent } from './dsa-clear';
|
|
9
9
|
export type { default as DSACloseEvent } from './dsa-close';
|
|
10
10
|
export type { default as DSACollapseEvent } from './dsa-collapse';
|
|
11
|
+
export type { default as DSACopy } from './dsa-copy';
|
|
11
12
|
export type { default as DSADateSelected } from './dsa-date-selected';
|
|
12
13
|
export type { default as DSAMonthYearSelected } from './dsa-month-year-selected';
|
|
13
14
|
export type { default as DSAErrorEvent } from './dsa-error';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Use a generator so we can iterate and possibly break early.
|
|
3
|
+
* @example
|
|
4
|
+
* // to operate like a regular array. This kinda nullifies generator benefits, but worth knowing if you need the whole array.
|
|
5
|
+
* const allActiveElements = [...activeElements()]
|
|
6
|
+
*
|
|
7
|
+
* // Early return
|
|
8
|
+
* for (const activeElement of activeElements()) {
|
|
9
|
+
* if (<cond>) {
|
|
10
|
+
* break; // Break the loop, dont need to iterate over the whole array or store an array in memory!
|
|
11
|
+
* }
|
|
12
|
+
* }
|
|
13
|
+
*/
|
|
14
|
+
export declare function activeElements(activeElement?: Element | null): Generator<Element>;
|
|
15
|
+
export declare function getDeepestActiveElement(): Element | undefined;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Use a generator so we can iterate and possibly break early.
|
|
3
|
+
* @example
|
|
4
|
+
* // to operate like a regular array. This kinda nullifies generator benefits, but worth knowing if you need the whole array.
|
|
5
|
+
* const allActiveElements = [...activeElements()]
|
|
6
|
+
*
|
|
7
|
+
* // Early return
|
|
8
|
+
* for (const activeElement of activeElements()) {
|
|
9
|
+
* if (<cond>) {
|
|
10
|
+
* break; // Break the loop, dont need to iterate over the whole array or store an array in memory!
|
|
11
|
+
* }
|
|
12
|
+
* }
|
|
13
|
+
*/
|
|
14
|
+
export function* activeElements(activeElement = document.activeElement) {
|
|
15
|
+
if (activeElement === null || activeElement === undefined)
|
|
16
|
+
return;
|
|
17
|
+
yield activeElement;
|
|
18
|
+
if ('shadowRoot' in activeElement &&
|
|
19
|
+
activeElement.shadowRoot &&
|
|
20
|
+
activeElement.shadowRoot.mode !== 'closed') {
|
|
21
|
+
yield* activeElements(activeElement.shadowRoot.activeElement);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export function getDeepestActiveElement() {
|
|
25
|
+
return [...activeElements()].pop();
|
|
26
|
+
}
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
export const getFormSelectableCardArgTypes = (tableCategory) => {
|
|
2
2
|
return {
|
|
3
|
+
'card_?contrasted-borders': {
|
|
4
|
+
name: 'contrasted-borders',
|
|
5
|
+
type: { name: 'boolean', required: false },
|
|
6
|
+
description: 'Increase the border contrast in contexts where is could be hard to identify the card.',
|
|
7
|
+
table: {
|
|
8
|
+
defaultValue: { summary: 'false' },
|
|
9
|
+
type: { summary: 'boolean' },
|
|
10
|
+
category: tableCategory,
|
|
11
|
+
},
|
|
12
|
+
control: { type: 'boolean' },
|
|
13
|
+
},
|
|
3
14
|
'card_?disabled': {
|
|
4
15
|
name: 'disabled',
|
|
5
16
|
description: 'Disables the card',
|
|
@@ -26,6 +26,8 @@ export declare class FormSelectableCard extends ShoelaceElement {
|
|
|
26
26
|
error: boolean;
|
|
27
27
|
/** The card layout orientation */
|
|
28
28
|
layout: 'horizontal' | 'vertical';
|
|
29
|
+
/** Increase the border contrast in contexts where is could be hard to identify the card. */
|
|
30
|
+
contrastedBorders: boolean;
|
|
29
31
|
protected handleClick(): void;
|
|
30
32
|
private handleBlur;
|
|
31
33
|
private handleFocus;
|
|
@@ -34,6 +34,8 @@ export class FormSelectableCard extends ShoelaceElement {
|
|
|
34
34
|
this.error = false;
|
|
35
35
|
/** The card layout orientation */
|
|
36
36
|
this.layout = 'horizontal';
|
|
37
|
+
/** Increase the border contrast in contexts where is could be hard to identify the card. */
|
|
38
|
+
this.contrastedBorders = false;
|
|
37
39
|
}
|
|
38
40
|
handleClick() {
|
|
39
41
|
// To be overridden by subclasses
|
|
@@ -85,6 +87,7 @@ export class FormSelectableCard extends ShoelaceElement {
|
|
|
85
87
|
'selectable-card--disabled': isDisabled,
|
|
86
88
|
'selectable-card--error': this.error,
|
|
87
89
|
'selectable-card--checkbox': this.type === 'checkbox',
|
|
90
|
+
'selectable-card--contrasted-borders': this.contrastedBorders,
|
|
88
91
|
})}
|
|
89
92
|
?disabled=${isDisabled}
|
|
90
93
|
aria-disabled=${ifDefined(isDeactivated ? 'true' : undefined)}
|
|
@@ -175,6 +178,9 @@ __decorate([
|
|
|
175
178
|
__decorate([
|
|
176
179
|
property()
|
|
177
180
|
], FormSelectableCard.prototype, "layout", void 0);
|
|
181
|
+
__decorate([
|
|
182
|
+
property({ type: Boolean, reflect: true, attribute: 'contrasted-borders' })
|
|
183
|
+
], FormSelectableCard.prototype, "contrastedBorders", void 0);
|
|
178
184
|
__decorate([
|
|
179
185
|
watch(['disabled', 'readonly', 'parentDisabled', 'parentReadonly'], {
|
|
180
186
|
waitUntilFirstUpdate: true,
|
|
@@ -139,4 +139,9 @@ export default css `
|
|
|
139
139
|
outline: var(--dsa-wc-focus-ring);
|
|
140
140
|
outline-offset: var(--dsa-wc-focus-ring-offset);
|
|
141
141
|
}
|
|
142
|
+
|
|
143
|
+
/** Contrasted **/
|
|
144
|
+
.selectable-card--contrasted-borders {
|
|
145
|
+
border-color: var(--dsa-wc-card-border-color-contrasted);
|
|
146
|
+
}
|
|
142
147
|
`;
|
package/dist/internal/modal.d.ts
CHANGED
|
@@ -1,12 +1,24 @@
|
|
|
1
1
|
export default class Modal {
|
|
2
2
|
element: HTMLElement;
|
|
3
|
+
isExternalActivated: boolean;
|
|
3
4
|
tabDirection: 'forward' | 'backward';
|
|
5
|
+
currentFocus: HTMLElement | null;
|
|
6
|
+
previousFocus: HTMLElement | null;
|
|
7
|
+
elementsWithTabbableControls: string[];
|
|
4
8
|
constructor(element: HTMLElement);
|
|
9
|
+
/** Activates focus trapping. */
|
|
5
10
|
activate(): void;
|
|
11
|
+
/** Deactivates focus trapping. */
|
|
6
12
|
deactivate(): void;
|
|
13
|
+
/** Determines if this modal element is currently active or not. */
|
|
7
14
|
isActive(): boolean;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
15
|
+
/** Activates external modal behavior and temporarily disables focus trapping. */
|
|
16
|
+
activateExternal(): void;
|
|
17
|
+
/** Deactivates external modal behavior and re-enables focus trapping. */
|
|
18
|
+
deactivateExternal(): void;
|
|
19
|
+
private checkFocus;
|
|
20
|
+
private handleFocusIn;
|
|
21
|
+
private possiblyHasTabbableChildren;
|
|
22
|
+
private handleKeyDown;
|
|
23
|
+
private handleKeyUp;
|
|
12
24
|
}
|
package/dist/internal/modal.js
CHANGED
|
@@ -1,51 +1,127 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { activeElements, getDeepestActiveElement } from './active-elements';
|
|
2
|
+
import { getTabbableElements } from './tabbable';
|
|
2
3
|
let activeModals = [];
|
|
3
4
|
export default class Modal {
|
|
4
5
|
constructor(element) {
|
|
5
6
|
this.tabDirection = 'forward';
|
|
7
|
+
this.handleFocusIn = () => {
|
|
8
|
+
if (!this.isActive())
|
|
9
|
+
return;
|
|
10
|
+
this.checkFocus();
|
|
11
|
+
};
|
|
12
|
+
this.handleKeyDown = (event) => {
|
|
13
|
+
var _a;
|
|
14
|
+
if (event.key !== 'Tab' || this.isExternalActivated)
|
|
15
|
+
return;
|
|
16
|
+
if (!this.isActive())
|
|
17
|
+
return;
|
|
18
|
+
// Because sometimes focus can actually be taken over from outside sources,
|
|
19
|
+
// we don't want to rely on `this.currentFocus`. Instead we check the actual `activeElement` and
|
|
20
|
+
// recurse through shadowRoots.
|
|
21
|
+
const currentActiveElement = getDeepestActiveElement();
|
|
22
|
+
this.previousFocus = currentActiveElement;
|
|
23
|
+
if (this.previousFocus &&
|
|
24
|
+
this.possiblyHasTabbableChildren(this.previousFocus)) {
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
if (event.shiftKey) {
|
|
28
|
+
this.tabDirection = 'backward';
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
this.tabDirection = 'forward';
|
|
32
|
+
}
|
|
33
|
+
const tabbableElements = getTabbableElements(this.element);
|
|
34
|
+
let currentFocusIndex = tabbableElements.findIndex((el) => el === currentActiveElement);
|
|
35
|
+
this.previousFocus = this.currentFocus;
|
|
36
|
+
const addition = this.tabDirection === 'forward' ? 1 : -1;
|
|
37
|
+
// eslint-disable-next-line
|
|
38
|
+
while (true) {
|
|
39
|
+
if (currentFocusIndex + addition >= tabbableElements.length) {
|
|
40
|
+
currentFocusIndex = 0;
|
|
41
|
+
}
|
|
42
|
+
else if (currentFocusIndex + addition < 0) {
|
|
43
|
+
currentFocusIndex = tabbableElements.length - 1;
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
currentFocusIndex += addition;
|
|
47
|
+
}
|
|
48
|
+
this.previousFocus = this.currentFocus;
|
|
49
|
+
const nextFocus =
|
|
50
|
+
/** @type {HTMLElement} */ tabbableElements[currentFocusIndex];
|
|
51
|
+
// This is a special case. We need to make sure we're not calling .focus() if we're already focused on an element
|
|
52
|
+
// that possibly has "controls"
|
|
53
|
+
if (this.tabDirection === 'backward') {
|
|
54
|
+
if (this.previousFocus &&
|
|
55
|
+
this.possiblyHasTabbableChildren(this.previousFocus)) {
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
if (nextFocus && this.possiblyHasTabbableChildren(nextFocus)) {
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
event.preventDefault();
|
|
63
|
+
this.currentFocus = nextFocus;
|
|
64
|
+
(_a = this.currentFocus) === null || _a === void 0 ? void 0 : _a.focus({ preventScroll: false });
|
|
65
|
+
// Check to make sure focus actually changed. It may not always be the next focus, we just don't want it to be the previousFocus.
|
|
66
|
+
const allActiveElements = [...activeElements()];
|
|
67
|
+
if (allActiveElements.includes(this.currentFocus) ||
|
|
68
|
+
!allActiveElements.includes(this.previousFocus)) {
|
|
69
|
+
break;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
setTimeout(() => this.checkFocus());
|
|
73
|
+
};
|
|
74
|
+
this.handleKeyUp = () => {
|
|
75
|
+
this.tabDirection = 'forward';
|
|
76
|
+
};
|
|
6
77
|
this.element = element;
|
|
7
|
-
this.
|
|
8
|
-
this.handleKeyDown = this.handleKeyDown.bind(this);
|
|
9
|
-
this.handleKeyUp = this.handleKeyUp.bind(this);
|
|
78
|
+
this.elementsWithTabbableControls = ['iframe'];
|
|
10
79
|
}
|
|
80
|
+
/** Activates focus trapping. */
|
|
11
81
|
activate() {
|
|
12
82
|
activeModals.push(this.element);
|
|
13
83
|
document.addEventListener('focusin', this.handleFocusIn);
|
|
14
84
|
document.addEventListener('keydown', this.handleKeyDown);
|
|
15
85
|
document.addEventListener('keyup', this.handleKeyUp);
|
|
16
86
|
}
|
|
87
|
+
/** Deactivates focus trapping. */
|
|
17
88
|
deactivate() {
|
|
18
89
|
activeModals = activeModals.filter((modal) => modal !== this.element);
|
|
90
|
+
this.currentFocus = null;
|
|
19
91
|
document.removeEventListener('focusin', this.handleFocusIn);
|
|
20
92
|
document.removeEventListener('keydown', this.handleKeyDown);
|
|
21
93
|
document.removeEventListener('keyup', this.handleKeyUp);
|
|
22
94
|
}
|
|
95
|
+
/** Determines if this modal element is currently active or not. */
|
|
23
96
|
isActive() {
|
|
24
97
|
// The "active" modal is always the most recent one shown
|
|
25
98
|
return activeModals[activeModals.length - 1] === this.element;
|
|
26
99
|
}
|
|
100
|
+
/** Activates external modal behavior and temporarily disables focus trapping. */
|
|
101
|
+
activateExternal() {
|
|
102
|
+
this.isExternalActivated = true;
|
|
103
|
+
}
|
|
104
|
+
/** Deactivates external modal behavior and re-enables focus trapping. */
|
|
105
|
+
deactivateExternal() {
|
|
106
|
+
this.isExternalActivated = false;
|
|
107
|
+
}
|
|
27
108
|
checkFocus() {
|
|
28
|
-
if (this.isActive()) {
|
|
109
|
+
if (this.isActive() && !this.isExternalActivated) {
|
|
110
|
+
const tabbableElements = getTabbableElements(this.element);
|
|
29
111
|
if (!this.element.matches(':focus-within')) {
|
|
30
|
-
const
|
|
112
|
+
const start = tabbableElements[0];
|
|
113
|
+
const end = tabbableElements[tabbableElements.length - 1];
|
|
31
114
|
const target = this.tabDirection === 'forward' ? start : end;
|
|
32
115
|
if (typeof (target === null || target === void 0 ? void 0 : target.focus) === 'function') {
|
|
33
|
-
|
|
116
|
+
this.currentFocus = target;
|
|
117
|
+
target.focus({ preventScroll: false });
|
|
34
118
|
}
|
|
35
119
|
}
|
|
36
120
|
}
|
|
37
121
|
}
|
|
38
|
-
|
|
39
|
-
this.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
if (event.key === 'Tab' && event.shiftKey) {
|
|
43
|
-
this.tabDirection = 'backward';
|
|
44
|
-
// Ensure focus remains trapped after the key is pressed
|
|
45
|
-
requestAnimationFrame(() => this.checkFocus());
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
handleKeyUp() {
|
|
49
|
-
this.tabDirection = 'forward';
|
|
122
|
+
possiblyHasTabbableChildren(element) {
|
|
123
|
+
return (this.elementsWithTabbableControls.includes(element.tagName.toLowerCase()) || element.hasAttribute('controls')
|
|
124
|
+
// Should we add a data-attribute for people to set just in case they have an element where we don't know if it has possibly tabbable elements?
|
|
125
|
+
);
|
|
50
126
|
}
|
|
51
127
|
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* element because it short-circuits after finding the first and last ones.
|
|
4
4
|
*/
|
|
5
5
|
export declare function getTabbableBoundary(root: HTMLElement | ShadowRoot): {
|
|
6
|
-
start: HTMLElement
|
|
7
|
-
end: HTMLElement
|
|
6
|
+
start: HTMLElement;
|
|
7
|
+
end: HTMLElement;
|
|
8
8
|
};
|
|
9
|
+
export declare function getTabbableElements(root: HTMLElement | ShadowRoot): HTMLElement[];
|
|
@@ -1,31 +1,78 @@
|
|
|
1
|
+
// Cached compute style calls. This is specifically for browsers that dont support `checkVisibility()`.
|
|
2
|
+
// computedStyle calls are "live" so they only need to be retrieved once for an element.
|
|
3
|
+
const computedStyleMap = new WeakMap();
|
|
4
|
+
function getCachedComputedStyle(el) {
|
|
5
|
+
let computedStyle = computedStyleMap.get(el);
|
|
6
|
+
if (!computedStyle) {
|
|
7
|
+
computedStyle = window.getComputedStyle(el, null);
|
|
8
|
+
computedStyleMap.set(el, computedStyle);
|
|
9
|
+
}
|
|
10
|
+
return computedStyle;
|
|
11
|
+
}
|
|
12
|
+
function isVisible(el) {
|
|
13
|
+
// This is the fastest check, but isn't supported in Safari.
|
|
14
|
+
if (typeof el.checkVisibility === 'function') {
|
|
15
|
+
// Opacity is focusable, visibility is not.
|
|
16
|
+
return el.checkVisibility({
|
|
17
|
+
checkOpacity: false,
|
|
18
|
+
checkVisibilityCSS: true,
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
// Fallback "polyfill" for "checkVisibility"
|
|
22
|
+
const computedStyle = getCachedComputedStyle(el);
|
|
23
|
+
return (computedStyle.visibility !== 'hidden' && computedStyle.display !== 'none');
|
|
24
|
+
}
|
|
25
|
+
// While this behavior isn't standard in Safari / Chrome yet, I think it's the most reasonable
|
|
26
|
+
// way of handling tabbable overflow areas. Browser sniffing seems gross, and it's the most
|
|
27
|
+
// accessible way of handling overflow areas. [Konnor]
|
|
28
|
+
function isOverflowingAndTabbable(el) {
|
|
29
|
+
const computedStyle = getCachedComputedStyle(el);
|
|
30
|
+
const { overflowY, overflowX } = computedStyle;
|
|
31
|
+
if (overflowY === 'scroll' || overflowX === 'scroll') {
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
if (overflowY !== 'auto' || overflowX !== 'auto') {
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
// Always overflow === "auto" by this point
|
|
38
|
+
const isOverflowingY = el.scrollHeight > el.clientHeight;
|
|
39
|
+
if (isOverflowingY && overflowY === 'auto') {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
const isOverflowingX = el.scrollWidth > el.clientWidth;
|
|
43
|
+
if (isOverflowingX && overflowX === 'auto') {
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
return false;
|
|
47
|
+
}
|
|
1
48
|
/** Determines if the specified element is tabbable using heuristics inspired by https://github.com/focus-trap/tabbable */
|
|
2
49
|
function isTabbable(el) {
|
|
3
50
|
const tag = el.tagName.toLowerCase();
|
|
4
|
-
|
|
5
|
-
|
|
51
|
+
const tabindex = Number(el.getAttribute('tabindex'));
|
|
52
|
+
const hasTabindex = el.hasAttribute('tabindex');
|
|
53
|
+
// elements with a tabindex attribute that is either NaN or <= -1 are not tabbable
|
|
54
|
+
if (hasTabindex && (isNaN(tabindex) || tabindex <= -1)) {
|
|
6
55
|
return false;
|
|
7
56
|
}
|
|
8
57
|
// Elements with a disabled attribute are not tabbable
|
|
9
58
|
if (el.hasAttribute('disabled')) {
|
|
10
59
|
return false;
|
|
11
60
|
}
|
|
12
|
-
//
|
|
13
|
-
if (el.
|
|
14
|
-
el.getAttribute('aria-disabled') !== 'false') {
|
|
15
|
-
return false;
|
|
16
|
-
}
|
|
17
|
-
// Radios without a checked attribute are not tabbable
|
|
18
|
-
if (tag === 'input' &&
|
|
19
|
-
el.getAttribute('type') === 'radio' &&
|
|
20
|
-
!el.hasAttribute('checked')) {
|
|
61
|
+
// If any parents have "inert", we aren't "tabbable"
|
|
62
|
+
if (el.closest('[inert]')) {
|
|
21
63
|
return false;
|
|
22
64
|
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
65
|
+
if (tag === 'input' && el.getAttribute('type') === 'radio') {
|
|
66
|
+
const rootNode = el.getRootNode();
|
|
67
|
+
const findRadios = `input[type='radio'][name="${el.getAttribute('name')}"]`;
|
|
68
|
+
const firstChecked = rootNode.querySelector(`${findRadios}:checked`);
|
|
69
|
+
if (firstChecked) {
|
|
70
|
+
return firstChecked === el;
|
|
71
|
+
}
|
|
72
|
+
const firstRadio = rootNode.querySelector(findRadios);
|
|
73
|
+
return firstRadio === el;
|
|
26
74
|
}
|
|
27
|
-
|
|
28
|
-
if (window.getComputedStyle(el).visibility === 'hidden') {
|
|
75
|
+
if (!isVisible(el)) {
|
|
29
76
|
return false;
|
|
30
77
|
}
|
|
31
78
|
// Audio and video elements with the controls attribute are tabbable
|
|
@@ -42,7 +89,7 @@ function isTabbable(el) {
|
|
|
42
89
|
return true;
|
|
43
90
|
}
|
|
44
91
|
// At this point, the following elements are considered tabbable
|
|
45
|
-
|
|
92
|
+
const isNativelyTabbable = [
|
|
46
93
|
'button',
|
|
47
94
|
'input',
|
|
48
95
|
'select',
|
|
@@ -51,7 +98,13 @@ function isTabbable(el) {
|
|
|
51
98
|
'audio',
|
|
52
99
|
'video',
|
|
53
100
|
'summary',
|
|
101
|
+
'iframe',
|
|
54
102
|
].includes(tag);
|
|
103
|
+
if (isNativelyTabbable) {
|
|
104
|
+
return true;
|
|
105
|
+
}
|
|
106
|
+
// We save the overflow checks for last, because they're the most expensive
|
|
107
|
+
return isOverflowingAndTabbable(el);
|
|
55
108
|
}
|
|
56
109
|
/**
|
|
57
110
|
* Returns the first and last bounding elements that are tabbable. This is more performant than checking every single
|
|
@@ -59,21 +112,60 @@ function isTabbable(el) {
|
|
|
59
112
|
*/
|
|
60
113
|
export function getTabbableBoundary(root) {
|
|
61
114
|
var _a, _b;
|
|
62
|
-
const
|
|
115
|
+
const tabbableElements = getTabbableElements(root);
|
|
116
|
+
// Find the first and last tabbable elements
|
|
117
|
+
const start = (_a = tabbableElements[0]) !== null && _a !== void 0 ? _a : null;
|
|
118
|
+
const end = (_b = tabbableElements[tabbableElements.length - 1]) !== null && _b !== void 0 ? _b : null;
|
|
119
|
+
return { start, end };
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* This looks funky. Basically a slot's children will always be picked up *if* they're within the `root` element.
|
|
123
|
+
* However, there is an edge case when, if the `root` is wrapped by another shadow DOM, it won't grab the children.
|
|
124
|
+
* This fixes that fun edge case.
|
|
125
|
+
*/
|
|
126
|
+
function getSlottedChildrenOutsideRootElement(slotElement, root) {
|
|
127
|
+
var _a;
|
|
128
|
+
return (((_a = slotElement.getRootNode({ composed: true })) === null || _a === void 0 ? void 0 : _a.host) !==
|
|
129
|
+
root);
|
|
130
|
+
}
|
|
131
|
+
export function getTabbableElements(root) {
|
|
132
|
+
const walkedEls = new WeakMap();
|
|
133
|
+
const tabbableElements = [];
|
|
63
134
|
function walk(el) {
|
|
64
|
-
if (el instanceof
|
|
65
|
-
|
|
135
|
+
if (el instanceof Element) {
|
|
136
|
+
// if the element has "inert" we can just no-op it.
|
|
137
|
+
if (el.hasAttribute('inert') || el.closest('[inert]')) {
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
if (walkedEls.has(el)) {
|
|
141
|
+
return;
|
|
142
|
+
}
|
|
143
|
+
walkedEls.set(el, true);
|
|
144
|
+
if (!tabbableElements.includes(el) && isTabbable(el)) {
|
|
145
|
+
tabbableElements.push(el);
|
|
146
|
+
}
|
|
147
|
+
if (el instanceof HTMLSlotElement &&
|
|
148
|
+
getSlottedChildrenOutsideRootElement(el, root)) {
|
|
149
|
+
el.assignedElements({ flatten: true }).forEach((assignedEl) => {
|
|
150
|
+
walk(assignedEl);
|
|
151
|
+
});
|
|
152
|
+
}
|
|
66
153
|
if (el.shadowRoot !== null && el.shadowRoot.mode === 'open') {
|
|
67
154
|
walk(el.shadowRoot);
|
|
68
155
|
}
|
|
69
156
|
}
|
|
70
|
-
|
|
71
|
-
|
|
157
|
+
for (const e of el.children) {
|
|
158
|
+
walk(e);
|
|
159
|
+
}
|
|
72
160
|
}
|
|
73
161
|
// Collect all elements including the root
|
|
74
162
|
walk(root);
|
|
75
|
-
//
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
163
|
+
// Is this worth having? Most sorts will always add increased overhead. And positive tabindexes shouldn't really be used.
|
|
164
|
+
// So is it worth being right? Or fast?
|
|
165
|
+
return tabbableElements.sort((a, b) => {
|
|
166
|
+
// Make sure we sort by tabindex.
|
|
167
|
+
const aTabindex = Number(a.getAttribute('tabindex')) || 0;
|
|
168
|
+
const bTabindex = Number(b.getAttribute('tabindex')) || 0;
|
|
169
|
+
return bTabindex - aTabindex;
|
|
170
|
+
});
|
|
79
171
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import '../components/footer-sitemap-item/footer-sitemap-item';
|
|
2
|
+
import '../components/footer-sitemap/footer-sitemap';
|
|
3
|
+
import '../components/footer/footer';
|
|
4
|
+
import '../components/header/header';
|
|
5
|
+
import { Decorator } from '@storybook/web-components-vite';
|
|
6
|
+
export declare const withPageTemplate: Decorator;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
import '../components/footer-sitemap-item/footer-sitemap-item';
|
|
3
|
+
import '../components/footer-sitemap/footer-sitemap';
|
|
4
|
+
import '../components/footer/footer';
|
|
5
|
+
import '../components/header/header';
|
|
6
|
+
export const withPageTemplate = (story) => html `
|
|
7
|
+
<style>
|
|
8
|
+
/** CSS Reset */
|
|
9
|
+
html,
|
|
10
|
+
body,
|
|
11
|
+
div,
|
|
12
|
+
h1,
|
|
13
|
+
h2,
|
|
14
|
+
h3,
|
|
15
|
+
h4,
|
|
16
|
+
h5,
|
|
17
|
+
h6,
|
|
18
|
+
p {
|
|
19
|
+
margin: 0;
|
|
20
|
+
padding: 0;
|
|
21
|
+
border: 0;
|
|
22
|
+
font-size: 100%;
|
|
23
|
+
font: inherit;
|
|
24
|
+
vertical-align: baseline;
|
|
25
|
+
}
|
|
26
|
+
body {
|
|
27
|
+
line-height: 1;
|
|
28
|
+
}
|
|
29
|
+
ul {
|
|
30
|
+
margin: 0;
|
|
31
|
+
}
|
|
32
|
+
address {
|
|
33
|
+
font-style: inherit;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/** Common page template */
|
|
37
|
+
html,
|
|
38
|
+
body,
|
|
39
|
+
#storybook-root,
|
|
40
|
+
#root-inner {
|
|
41
|
+
height: 100%;
|
|
42
|
+
margin: 0;
|
|
43
|
+
}
|
|
44
|
+
html {
|
|
45
|
+
scroll-behavior: smooth;
|
|
46
|
+
}
|
|
47
|
+
dsa-header {
|
|
48
|
+
--header-max-width: 922px;
|
|
49
|
+
z-index: 1;
|
|
50
|
+
}
|
|
51
|
+
dsa-footer {
|
|
52
|
+
--footer-max-width: 922px;
|
|
53
|
+
}
|
|
54
|
+
.layout {
|
|
55
|
+
display: flex;
|
|
56
|
+
flex-direction: column;
|
|
57
|
+
height: 100%;
|
|
58
|
+
}
|
|
59
|
+
main {
|
|
60
|
+
flex-grow: 1;
|
|
61
|
+
display: flex;
|
|
62
|
+
justify-content: center;
|
|
63
|
+
background: var(--dsa-color-surface-base);
|
|
64
|
+
color: var(--dsa-color-text-on-base-primary);
|
|
65
|
+
font: var(--dsa-font-medium-normal);
|
|
66
|
+
}
|
|
67
|
+
.container {
|
|
68
|
+
width: -webkit-fill-available;
|
|
69
|
+
max-width: 922px;
|
|
70
|
+
margin: 24px 16px 80px;
|
|
71
|
+
}
|
|
72
|
+
.placeholder {
|
|
73
|
+
color: red;
|
|
74
|
+
}
|
|
75
|
+
</style>
|
|
76
|
+
<div class="layout">
|
|
77
|
+
<dsa-header>
|
|
78
|
+
<span slot="site-name">Nom du site / service</span>
|
|
79
|
+
<span slot="baseline">Baseline - précisions</span>
|
|
80
|
+
</dsa-header>
|
|
81
|
+
<main>
|
|
82
|
+
<div class="container">${story()}</div>
|
|
83
|
+
</main>
|
|
84
|
+
<dsa-footer>
|
|
85
|
+
<dsa-footer-sitemap
|
|
86
|
+
slot="footer-bottom"
|
|
87
|
+
aria-label="Accessibilité et informations légales"
|
|
88
|
+
align-links="right"
|
|
89
|
+
>
|
|
90
|
+
<dsa-footer-sitemap-item
|
|
91
|
+
><a href="#" class="dsa-link dsa-link--standalone"
|
|
92
|
+
>Accessibilité : partiellement conforme
|
|
93
|
+
</a>
|
|
94
|
+
</dsa-footer-sitemap-item>
|
|
95
|
+
<dsa-footer-sitemap-item
|
|
96
|
+
><a href="#" class="dsa-link dsa-link--standalone"
|
|
97
|
+
>Mentions légales
|
|
98
|
+
</a>
|
|
99
|
+
</dsa-footer-sitemap-item>
|
|
100
|
+
</dsa-footer-sitemap>
|
|
101
|
+
</dsa-footer>
|
|
102
|
+
</div>
|
|
103
|
+
`;
|