@ds-autonomie/web-components 2.15.0 → 2.17.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 +30 -0
- package/README.md +30 -1
- package/bin/cli.js +324 -0
- package/cdn/chunks/chunk.23NGYECZ.js +94 -0
- package/cdn/chunks/chunk.2DV64XU7.js +31 -0
- package/cdn/chunks/{chunk.XPETABJ4.js → chunk.2LF6OMUV.js} +4 -4
- package/cdn/chunks/chunk.2MLSQPMY.js +42 -0
- package/cdn/chunks/{chunk.NLVJBP2P.js → chunk.2MY5TX6M.js} +1 -1
- package/cdn/chunks/{chunk.OX2DFLBF.js → chunk.2QOKOUSD.js} +2 -2
- package/cdn/chunks/{chunk.5WVQIAAW.js → chunk.2QQVNGQU.js} +1 -1
- package/cdn/chunks/{chunk.TQ3LRTTI.js → chunk.2RZZILUX.js} +6 -6
- package/cdn/chunks/{chunk.GHQSD5YO.js → chunk.2UUQJVQI.js} +1 -1
- package/cdn/chunks/{chunk.M5XSTHLZ.js → chunk.3G5TZAEL.js} +5 -5
- package/cdn/chunks/chunk.3HXQ2XPS.js +14 -0
- package/cdn/chunks/{chunk.EUEYMWEY.js → chunk.3QGRYFX6.js} +2 -2
- package/cdn/chunks/{chunk.2UFBLWVL.js → chunk.43ZUOVN3.js} +1 -1
- package/cdn/chunks/chunk.465G6RHI.js +72 -0
- package/cdn/chunks/{chunk.DDVB3ULY.js → chunk.4E7MNGOV.js} +1 -1
- package/cdn/chunks/{chunk.3YGVCBEP.js → chunk.4HSGYXFW.js} +1 -1
- package/cdn/chunks/{chunk.SGR2HWTG.js → chunk.4RIUPE2O.js} +1 -1
- package/cdn/chunks/{chunk.666CJOK2.js → chunk.63QVJAPP.js} +1 -1
- package/cdn/chunks/{chunk.BOVKVXAW.js → chunk.63UE4VAO.js} +3 -3
- package/cdn/chunks/{chunk.4E24Z2WP.js → chunk.6GAHBGOF.js} +1 -1
- package/cdn/chunks/{chunk.ILH5GUUR.js → chunk.6GC5ODVL.js} +7 -2
- package/cdn/chunks/chunk.6TFK3HZG.js +43 -0
- package/cdn/chunks/chunk.7IFO43EM.js +7 -0
- package/cdn/chunks/chunk.7Y7CQMR6.js +3 -0
- package/cdn/chunks/{chunk.YNAR73DY.js → chunk.A45JZ63N.js} +1 -1
- package/cdn/chunks/chunk.A5DTG2XB.js +20 -0
- package/cdn/chunks/chunk.AAEIE3M2.js +19 -0
- package/cdn/chunks/{chunk.GF6YLXJP.js → chunk.ABNF7OWB.js} +1 -1
- package/cdn/chunks/chunk.AEBG7WOW.js +20 -0
- package/cdn/chunks/{chunk.DJQPDKQQ.js → chunk.AHAZYWZF.js} +1 -1
- package/cdn/chunks/chunk.AKVKEBPE.js +13 -0
- package/cdn/chunks/{chunk.NTJ2Q7C7.js → chunk.AU7QYOWT.js} +1 -1
- package/cdn/chunks/{chunk.QEF2FJQH.js → chunk.BS2OSSAE.js} +1 -1
- package/cdn/chunks/{chunk.X4ZMBBF2.js → chunk.BXV6H4J7.js} +1 -1
- package/cdn/chunks/chunk.C2H2IJ5N.js +19 -0
- package/cdn/chunks/chunk.CBNY3KDR.js +60 -0
- package/cdn/chunks/chunk.CIFSYLTI.js +8 -0
- package/cdn/chunks/chunk.CJZS4FSB.js +26 -0
- package/cdn/chunks/{chunk.FQD6DREW.js → chunk.CUYQOZPJ.js} +1 -1
- package/cdn/chunks/chunk.D3BOAL4N.js +75 -0
- package/cdn/chunks/{chunk.FMCWIRIG.js → chunk.D3OBSGJL.js} +1 -1
- package/cdn/chunks/{chunk.Q6KTHJKH.js → chunk.D5S2YDML.js} +2 -2
- package/cdn/chunks/chunk.DYSLQ6GC.js +68 -0
- package/cdn/chunks/{chunk.L3D5HYKQ.js → chunk.E2GQJ6JW.js} +1 -1
- package/cdn/chunks/{chunk.QAGAG3KB.js → chunk.EG6MMAM3.js} +1 -1
- package/cdn/chunks/chunk.EL4NZRIR.js +26 -0
- package/cdn/chunks/chunk.F3UE7567.js +38 -0
- package/cdn/chunks/chunk.F5LRDLVV.js +53 -0
- package/cdn/chunks/{chunk.JKTUEHFN.js → chunk.FEXCFMDC.js} +8 -8
- package/cdn/chunks/chunk.FGDBYD7N.js +41 -0
- package/cdn/chunks/{chunk.VUP2ER2T.js → chunk.FHS54ZO7.js} +1 -1
- package/cdn/chunks/{chunk.N6IYJMR7.js → chunk.FNWVRCNG.js} +1 -1
- package/cdn/chunks/{chunk.DUYCHM7G.js → chunk.FX5UP23Z.js} +1 -1
- package/cdn/chunks/{chunk.BF3YX5F2.js → chunk.FYJYTPOV.js} +6 -2
- package/cdn/chunks/chunk.GGGLGLGP.js +38 -0
- package/cdn/chunks/chunk.GHHMVWM2.js +56 -0
- package/cdn/chunks/{chunk.U3MN56U3.js → chunk.GLPWHSEE.js} +1 -1
- package/cdn/chunks/chunk.GM4KTNXL.js +1 -0
- package/cdn/chunks/chunk.GYURCDPD.js +50 -0
- package/cdn/chunks/{chunk.OHVT6KT2.js → chunk.H46NZIZH.js} +2 -2
- package/cdn/chunks/chunk.H5XLHNHE.js +123 -0
- package/cdn/chunks/{chunk.TUTBC6IK.js → chunk.HCFW7RW4.js} +125 -3
- package/cdn/chunks/{chunk.2Q5WFUBC.js → chunk.HCJCL2UD.js} +1 -1
- package/cdn/chunks/{chunk.R32NZV24.js → chunk.HFASPBS3.js} +16 -6
- package/cdn/chunks/{chunk.YT3TTAYO.js → chunk.HO6LFH7Z.js} +1 -1
- package/cdn/chunks/{chunk.567TV3AI.js → chunk.I4LDWGHK.js} +1 -1
- package/cdn/chunks/{chunk.MMQPOGIJ.js → chunk.IDWQZLCM.js} +1 -1
- package/cdn/chunks/{chunk.ABEBXNWB.js → chunk.IE7LFMND.js} +1 -1
- package/cdn/chunks/{chunk.DMEVGY2I.js → chunk.II4JQ433.js} +1 -1
- package/cdn/chunks/{chunk.QQLNTNXD.js → chunk.IJNUBDIJ.js} +1 -1
- package/cdn/chunks/chunk.IKPDLLWM.js +121 -0
- package/cdn/chunks/chunk.ILCY7FNR.js +108 -0
- package/cdn/chunks/{chunk.3ZDZD4UZ.js → chunk.IMXEAMW3.js} +1 -1
- package/cdn/chunks/{chunk.FGBFP2DK.js → chunk.IOIBAXOU.js} +1 -1
- package/cdn/chunks/chunk.IYKXS5B3.js +66 -0
- package/cdn/chunks/{chunk.KDH2RAG7.js → chunk.J5EBYKBM.js} +1 -1
- package/cdn/chunks/{chunk.JESEUS7N.js → chunk.JNOQLPCE.js} +1 -1
- package/cdn/chunks/{chunk.LIGGJXC2.js → chunk.JO6IBXF3.js} +6 -6
- package/cdn/chunks/{chunk.WDSDDJUA.js → chunk.JPOWE7L2.js} +1 -1
- package/cdn/chunks/{chunk.5PAMB4OC.js → chunk.JZMIS7DF.js} +1 -1
- package/cdn/chunks/{chunk.PBH223D4.js → chunk.K6YUVAOE.js} +1 -1
- package/cdn/chunks/chunk.KBZ32KWP.js +25 -0
- package/cdn/chunks/chunk.KC2NESXB.js +41 -0
- package/cdn/chunks/{chunk.ODSVS3RK.js → chunk.KD3BHBHK.js} +1 -1
- package/cdn/chunks/chunk.KH2JVAEZ.js +3 -0
- package/cdn/chunks/{chunk.6YHPQNRD.js → chunk.KHGWE5IX.js} +4 -0
- package/cdn/chunks/chunk.L7SDBPGB.js +62 -0
- package/cdn/chunks/{chunk.QAARCUGO.js → chunk.LA5W25UC.js} +3 -3
- package/cdn/chunks/{chunk.ZJHH7J64.js → chunk.LBRHB47I.js} +1 -1
- package/cdn/chunks/{chunk.65I7LBQ4.js → chunk.LFI7CMVX.js} +9 -9
- package/cdn/chunks/{chunk.DO7GE2JH.js → chunk.LIC3WRPD.js} +5 -77
- package/cdn/chunks/chunk.LLP7EPAY.js +65 -0
- package/cdn/chunks/{chunk.Q7Q7EOMW.js → chunk.LOZ2JZLU.js} +13 -6
- package/cdn/chunks/chunk.LSD5NIU2.js +13 -0
- package/cdn/chunks/{chunk.OZSD377J.js → chunk.M5ND6PIZ.js} +1 -1
- package/cdn/chunks/{chunk.L5NMGFQR.js → chunk.MK2QCBNO.js} +1 -1
- package/cdn/chunks/chunk.MMVWNVZX.js +1 -0
- package/cdn/chunks/{chunk.NSHYTCO4.js → chunk.MQFH5TMZ.js} +1 -1
- package/cdn/chunks/{chunk.YL64DA2G.js → chunk.MWGVWSH3.js} +1 -1
- package/cdn/chunks/chunk.N4VN25E6.js +44 -0
- package/cdn/chunks/chunk.N7EFYGZ6.js +112 -0
- package/cdn/chunks/{chunk.LZLMA4XO.js → chunk.NAQDAODO.js} +1 -1
- package/cdn/chunks/{chunk.FWT4DITA.js → chunk.NE525Q3J.js} +4 -4
- package/cdn/chunks/chunk.NEWNV55I.js +56 -0
- package/cdn/chunks/{chunk.3CCCUH4R.js → chunk.NIH3WB32.js} +1 -1
- package/cdn/chunks/chunk.NJBAMERR.js +10 -0
- package/cdn/chunks/{chunk.UIFWKAGV.js → chunk.NJOCDP2A.js} +1 -1
- package/cdn/chunks/{chunk.EJVWPDLE.js → chunk.NLFHV3ZO.js} +1 -1
- package/cdn/chunks/{chunk.WY4VZXA6.js → chunk.ODH67RGS.js} +1 -1
- package/cdn/chunks/{chunk.TWHU4SRL.js → chunk.OTNGFYHL.js} +1 -1
- package/cdn/chunks/chunk.OTTGEQF6.js +51 -0
- package/cdn/chunks/{chunk.KLFLHNDX.js → chunk.OV7NPMB7.js} +1 -1
- package/cdn/chunks/{chunk.YLQZAJP3.js → chunk.PICWAFB5.js} +1 -1
- package/cdn/chunks/{chunk.J3YJSL5B.js → chunk.PIG773U2.js} +1 -1
- package/cdn/chunks/chunk.PSXSWQCS.js +35 -0
- package/cdn/chunks/{chunk.6PG2RNLF.js → chunk.PZ6VFJYI.js} +1 -1
- package/cdn/chunks/{chunk.EAGPDAIA.js → chunk.QLA42ORC.js} +3 -3
- package/cdn/chunks/chunk.QNAPY67H.js +73 -0
- package/cdn/chunks/chunk.QO3O2UNB.js +68 -0
- package/cdn/chunks/chunk.QQLTDM2A.js +27 -0
- package/cdn/chunks/chunk.QSJXNN7N.js +36 -0
- package/cdn/chunks/{chunk.UJBDLF4Q.js → chunk.QVF2D4NC.js} +1 -1
- package/cdn/chunks/{chunk.R5KZP5VA.js → chunk.QXMNA43O.js} +2 -2
- package/cdn/chunks/{chunk.TX3ZXE3D.js → chunk.R4AIWMHW.js} +1 -1
- package/cdn/chunks/{chunk.AP4A32XE.js → chunk.RGBTVRRP.js} +1 -1
- package/cdn/chunks/{chunk.GQY4KTZW.js → chunk.RUVWVGYN.js} +2 -2
- package/cdn/chunks/{chunk.FPWX73NT.js → chunk.RVQUT7ZY.js} +3 -3
- package/cdn/chunks/chunk.S5TQGB4V.js +62 -0
- package/cdn/chunks/{chunk.57GTEVYE.js → chunk.S5XJPLVO.js} +1 -1
- package/cdn/chunks/chunk.SIT3GCR7.js +173 -0
- package/cdn/chunks/chunk.SLTCOGOD.js +35 -0
- package/cdn/chunks/{chunk.76SO56MH.js → chunk.SN7BDOHN.js} +7 -3
- package/cdn/chunks/{chunk.5VPTZHRV.js → chunk.SXMGNTD4.js} +1 -1
- package/cdn/chunks/{chunk.F2MZMWYW.js → chunk.T5OLUN3T.js} +3 -3
- package/cdn/chunks/chunk.TFJB3OT3.js +19 -0
- package/cdn/chunks/chunk.TS5WHKH6.js +15 -0
- package/cdn/chunks/{chunk.PZEHCF7A.js → chunk.U2HDZAQO.js} +3 -3
- package/cdn/chunks/{chunk.JBN243CX.js → chunk.U5DYVPGP.js} +1 -1
- package/cdn/chunks/{chunk.Q2CL3LZL.js → chunk.U7X2EV5T.js} +6 -4
- package/cdn/chunks/{chunk.GR7Z5SEP.js → chunk.UAGWSEWC.js} +1 -1
- package/cdn/chunks/{chunk.EBJMEK7O.js → chunk.UCVFWCJ3.js} +1 -1
- package/cdn/chunks/chunk.UEYALIC7.js +25 -0
- package/cdn/chunks/{chunk.DRIKSOP6.js → chunk.ULWBK7T7.js} +1 -1
- package/cdn/chunks/{chunk.2PKKSM74.js → chunk.UWBADC7U.js} +1 -1
- package/cdn/chunks/{chunk.D7CLOP7O.js → chunk.VE5CSYN4.js} +10 -10
- package/cdn/chunks/chunk.VL5LPHV3.js +47 -0
- package/cdn/chunks/{chunk.TZRJVOUT.js → chunk.VMFX2PWY.js} +4 -7
- package/cdn/chunks/chunk.VMXJHVRU.js +1 -0
- package/cdn/chunks/chunk.VO4NFG2W.js +45 -0
- package/cdn/chunks/{chunk.BF3YQOYM.js → chunk.VZW43GJJ.js} +2 -5
- package/cdn/chunks/chunk.W25NCUPA.js +20 -0
- package/cdn/chunks/chunk.W7AY6BP2.js +130 -0
- package/cdn/chunks/chunk.W7S553SV.js +50 -0
- package/cdn/chunks/{chunk.DNAYYYKK.js → chunk.WEWRFZAQ.js} +1 -1
- package/cdn/chunks/chunk.WJLFKSRJ.js +51 -0
- package/cdn/chunks/{chunk.62TMME56.js → chunk.WYKFMOCB.js} +2 -2
- package/cdn/chunks/{chunk.ZHE5HDNL.js → chunk.X2G2BFIN.js} +1 -1
- package/cdn/chunks/{chunk.CHNH72UY.js → chunk.X4UXKXMO.js} +2 -2
- package/cdn/chunks/{chunk.23SH73TB.js → chunk.XGUKMUW4.js} +1 -1
- package/cdn/chunks/{chunk.GRSCMN3N.js → chunk.XUPT47LV.js} +0 -1
- package/cdn/chunks/{chunk.3T33HE3M.js → chunk.XZWROQBU.js} +1 -1
- package/cdn/chunks/{chunk.NSZPQ5ZJ.js → chunk.YRJIHG6T.js} +1 -1
- package/cdn/chunks/chunk.YRQ4GUXM.js +26 -0
- package/cdn/chunks/chunk.YXR5X3ZH.js +55 -0
- package/cdn/chunks/chunk.YZK4IVQW.js +73 -0
- package/cdn/chunks/{chunk.3IM3457W.js → chunk.Z4D2D4BF.js} +1 -1
- package/cdn/chunks/{chunk.IIJKTI4Z.js → chunk.Z4V4DU2C.js} +23 -11
- package/cdn/chunks/chunk.ZCITPD2M.js +11 -0
- package/cdn/chunks/{chunk.TBBDY4SH.js → chunk.ZFWCNYR2.js} +1 -1
- package/cdn/chunks/{chunk.IICXN6X7.js → chunk.ZKV4BJLY.js} +3 -3
- package/cdn/chunks/chunk.ZPW2DSUP.js +115 -0
- package/cdn/components/accordion/accordion.d.ts +7 -2
- package/cdn/components/accordion/accordion.js +1 -1
- package/cdn/components/accordion-group/accordion-group.js +1 -1
- package/cdn/components/alert/alert.d.ts +10 -2
- package/cdn/components/alert/alert.js +1 -1
- package/cdn/components/alert/alert.styles.js +1 -1
- package/cdn/components/anchor-tag/anchor-tag.js +1 -1
- package/cdn/components/animation/animation.js +1 -1
- package/cdn/components/avatar/avatar.js +1 -1
- package/cdn/components/avatar-group/avatar-group.d.ts +0 -1
- package/cdn/components/avatar-group/avatar-group.js +1 -1
- package/cdn/components/badge/badge.js +1 -1
- package/cdn/components/badge/badge.styles.js +1 -1
- package/cdn/components/breadcrumb/breadcrumb.d.ts +0 -3
- package/cdn/components/breadcrumb/breadcrumb.js +1 -1
- package/cdn/components/breadcrumb-item/breadcrumb-item.d.ts +6 -0
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/cdn/components/button/button.d.ts +6 -3
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/button/button.styles.js +1 -1
- package/cdn/components/calendar/calendar.js +1 -1
- package/cdn/components/calendar/calendar.styles.js +1 -1
- package/cdn/components/callout/callout.d.ts +0 -1
- package/cdn/components/callout/callout.js +1 -1
- package/cdn/components/card/card.js +1 -1
- package/cdn/components/card-content/card-content.d.ts +4 -1
- package/cdn/components/card-content/card-content.js +1 -1
- package/cdn/components/card-nav/card-nav.js +1 -1
- package/cdn/components/card-nav/card-nav.styles.js +1 -1
- package/cdn/components/card-nav-accordion/card-nav-accordion.d.ts +4 -1
- package/cdn/components/card-nav-accordion/card-nav-accordion.js +1 -1
- package/cdn/components/card-nav-accordion/card-nav-accordion.styles.js +1 -1
- package/cdn/components/card-nav-item/card-nav-item.d.ts +4 -1
- package/cdn/components/card-nav-item/card-nav-item.js +1 -1
- package/cdn/components/card-nav-item/card-nav-item.styles.js +1 -1
- package/cdn/components/checkbox/checkbox.d.ts +6 -3
- package/cdn/components/checkbox/checkbox.js +1 -1
- package/cdn/components/checkbox/checkbox.styles.js +1 -1
- package/cdn/components/checkbox-button/checkbox-button.js +1 -1
- package/cdn/components/checkbox-card/checkbox-card.js +1 -1
- package/cdn/components/checkbox-group/checkbox-group.d.ts +8 -2
- package/cdn/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn/components/checkbox-group/checkbox-group.styles.js +1 -1
- package/cdn/components/combobox/combobox.d.ts +15 -6
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/combobox/combobox.styles.js +1 -1
- package/cdn/components/copy-button/copy-button.d.ts +6 -4
- package/cdn/components/copy-button/copy-button.js +1 -1
- package/cdn/components/dialog/dialog.d.ts +4 -1
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/divider/divider.js +1 -1
- package/cdn/components/download-card/download-card.d.ts +4 -1
- package/cdn/components/download-card/download-card.js +1 -1
- package/cdn/components/download-link/download-link.d.ts +4 -1
- package/cdn/components/download-link/download-link.js +1 -1
- package/cdn/components/drawer/drawer.d.ts +4 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/dropdown/dropdown.d.ts +4 -2
- package/cdn/components/dropdown/dropdown.js +1 -1
- package/cdn/components/error-message-panel/error-message-panel.js +1 -1
- package/cdn/components/error-text/error-text.d.ts +4 -1
- package/cdn/components/error-text/error-text.js +1 -1
- package/cdn/components/fieldset/fieldset.js +1 -1
- package/cdn/components/fieldset/fieldset.styles.js +1 -1
- package/cdn/components/file-upload/file-upload.d.ts +29 -6
- package/cdn/components/file-upload/file-upload.js +1 -1
- package/cdn/components/file-upload/file-upload.styles.js +1 -1
- package/cdn/components/file-upload/file-upload.utils.d.ts +1 -0
- package/cdn/components/file-upload/file-upload.utils.js +1 -0
- package/cdn/components/file-upload-item/file-upload-item.js +1 -1
- package/cdn/components/file-upload-item/file-upload-item.styles.js +1 -1
- package/cdn/components/filter-button/filter-button.d.ts +4 -3
- package/cdn/components/filter-button/filter-button.js +1 -1
- package/cdn/components/filter-counter/filter-counter.d.ts +11 -5
- package/cdn/components/filter-counter/filter-counter.js +1 -1
- package/cdn/components/filter-date/filter-date.d.ts +15 -5
- package/cdn/components/filter-date/filter-date.js +1 -1
- package/cdn/components/filter-range/filter-range.d.ts +14 -6
- package/cdn/components/filter-range/filter-range.js +1 -1
- package/cdn/components/filter-select/filter-select.d.ts +13 -2
- package/cdn/components/filter-select/filter-select.js +1 -1
- package/cdn/components/footer/footer.d.ts +6 -1
- package/cdn/components/footer/footer.js +1 -1
- package/cdn/components/footer-content-block/footer-content-block.d.ts +0 -1
- package/cdn/components/footer-content-block/footer-content-block.js +1 -1
- package/cdn/components/footer-mandatory-mentions/footer-mandatory-mentions.d.ts +4 -1
- package/cdn/components/footer-mandatory-mentions/footer-mandatory-mentions.js +1 -1
- package/cdn/components/footer-sitemap/footer-sitemap.js +1 -1
- package/cdn/components/footer-sitemap-item/footer-sitemap-item.d.ts +0 -1
- package/cdn/components/footer-sitemap-item/footer-sitemap-item.js +1 -1
- package/cdn/components/format-bytes/format-bytes.js +1 -1
- package/cdn/components/format-date/format-date.js +1 -1
- package/cdn/components/format-number/format-number.js +1 -1
- package/cdn/components/graphic-element/graphic-element.js +1 -1
- package/cdn/components/header/header.d.ts +0 -1
- package/cdn/components/header/header.js +1 -1
- package/cdn/components/header-external-link/header-external-link.d.ts +6 -0
- package/cdn/components/header-external-link/header-external-link.js +1 -1
- package/cdn/components/header-modern/header-modern.d.ts +0 -1
- package/cdn/components/header-modern/header-modern.js +1 -1
- package/cdn/components/header-search/header-search.d.ts +10 -6
- package/cdn/components/header-search/header-search.js +1 -1
- package/cdn/components/icon/icon.js +1 -1
- package/cdn/components/icon/library.js +1 -1
- package/cdn/components/icon/library.system.js +1 -1
- package/cdn/components/icon-button/icon-button.d.ts +4 -1
- package/cdn/components/icon-button/icon-button.js +1 -1
- package/cdn/components/input/input.d.ts +11 -8
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/input-amount/input-amount.d.ts +7 -2
- package/cdn/components/input-amount/input-amount.js +1 -1
- package/cdn/components/input-amount/input-amount.styles.js +1 -1
- package/cdn/components/input-date/input-date.d.ts +16 -7
- package/cdn/components/input-date/input-date.js +1 -1
- package/cdn/components/input-date/input-date.styles.js +1 -1
- package/cdn/components/input-mask/input-mask.d.ts +8 -1
- package/cdn/components/input-mask/input-mask.js +1 -1
- package/cdn/components/input-mask/input-mask.styles.js +1 -1
- package/cdn/components/input-native/input-native.d.ts +9 -3
- package/cdn/components/input-native/input-native.js +1 -1
- package/cdn/components/input-native/input-native.styles.js +1 -1
- package/cdn/components/input-otp/input-otp.d.ts +1 -2
- package/cdn/components/input-otp/input-otp.js +1 -1
- package/cdn/components/input-otp/input-otp.styles.js +1 -1
- package/cdn/components/input-phone/input-phone.d.ts +12 -4
- package/cdn/components/input-phone/input-phone.js +1 -1
- package/cdn/components/input-phone/input-phone.styles.js +1 -1
- package/cdn/components/input-time/input-time.d.ts +13 -5
- package/cdn/components/input-time/input-time.js +1 -1
- package/cdn/components/input-time/input-time.styles.js +1 -1
- package/cdn/components/menu-accordion/menu-accordion.d.ts +6 -2
- package/cdn/components/menu-accordion/menu-accordion.js +1 -1
- package/cdn/components/menu-accordion/menu-accordion.styles.js +1 -1
- package/cdn/components/menu-item/menu-item.d.ts +4 -1
- package/cdn/components/menu-item/menu-item.js +1 -1
- package/cdn/components/menu-label/menu-label.js +1 -1
- package/cdn/components/menu-navigation/menu-navigation.js +1 -1
- package/cdn/components/menu-navigation/menu-navigation.styles.js +1 -1
- package/cdn/components/mutation-observer/mutation-observer.js +1 -1
- package/cdn/components/navbar/navbar.js +1 -1
- package/cdn/components/navbar-link/navbar-link.js +1 -1
- package/cdn/components/navbar-menu/navbar-menu.d.ts +6 -4
- package/cdn/components/navbar-menu/navbar-menu.js +1 -1
- package/cdn/components/option/option.d.ts +6 -2
- package/cdn/components/option/option.js +1 -1
- package/cdn/components/page-header/page-header.js +1 -1
- package/cdn/components/pagination/pagination.d.ts +14 -5
- package/cdn/components/pagination/pagination.js +1 -1
- package/cdn/components/pagination-button/pagination-button.d.ts +6 -0
- package/cdn/components/pagination-button/pagination-button.js +1 -1
- package/cdn/components/pagination-button/pagination-button.styles.js +1 -1
- package/cdn/components/popup/popup.js +1 -1
- package/cdn/components/profile-button/profile-button.d.ts +8 -3
- package/cdn/components/profile-button/profile-button.js +1 -1
- package/cdn/components/profile-button/profile-button.styles.js +1 -1
- package/cdn/components/progress-bar/progress-bar.js +1 -1
- package/cdn/components/progress-ring/progress-ring.js +1 -1
- package/cdn/components/quote/quote.js +1 -1
- package/cdn/components/radio/radio.d.ts +6 -1
- package/cdn/components/radio/radio.js +1 -1
- package/cdn/components/radio-button/radio-button.js +1 -1
- package/cdn/components/radio-card/radio-card.js +1 -1
- package/cdn/components/radio-group/radio-group.d.ts +8 -2
- package/cdn/components/radio-group/radio-group.js +1 -1
- package/cdn/components/radio-group/radio-group.styles.js +1 -1
- package/cdn/components/range-slider/range-slider.d.ts +0 -2
- package/cdn/components/range-slider/range-slider.js +1 -1
- package/cdn/components/relative-time/relative-time.js +1 -1
- package/cdn/components/resize-observer/resize-observer.js +1 -1
- package/cdn/components/search/search.d.ts +7 -4
- package/cdn/components/search/search.js +1 -1
- package/cdn/components/search/search.styles.js +1 -1
- package/cdn/components/select/select.d.ts +9 -4
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/select/select.styles.js +1 -1
- package/cdn/components/sidenav/sidenav.d.ts +8 -3
- package/cdn/components/sidenav/sidenav.js +1 -1
- package/cdn/components/sidenav-info-accordion/sidenav-info-accordion.d.ts +4 -2
- package/cdn/components/sidenav-info-accordion/sidenav-info-accordion.js +1 -1
- package/cdn/components/skeleton/skeleton.js +1 -1
- package/cdn/components/skip-link-item/skip-link-item.js +1 -1
- package/cdn/components/skip-links/skip-links.js +1 -1
- package/cdn/components/spinner/spinner.js +1 -1
- package/cdn/components/split-panel/split-panel.d.ts +4 -1
- package/cdn/components/split-panel/split-panel.js +1 -1
- package/cdn/components/step/step.d.ts +6 -2
- package/cdn/components/step/step.js +1 -1
- package/cdn/components/stepper/stepper.js +1 -1
- package/cdn/components/success-text/success-text.d.ts +4 -1
- package/cdn/components/success-text/success-text.js +1 -1
- package/cdn/components/switch/switch.d.ts +4 -1
- package/cdn/components/switch/switch.js +1 -1
- package/cdn/components/tab/tab.d.ts +4 -2
- package/cdn/components/tab/tab.js +1 -1
- package/cdn/components/tab-group/tab-group.d.ts +4 -1
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/tab-panel/tab-panel.js +1 -1
- package/cdn/components/table/table.js +1 -1
- package/cdn/components/table-action/table-action.d.ts +8 -2
- package/cdn/components/table-action/table-action.js +1 -1
- package/cdn/components/table-action/table-action.styles.js +1 -1
- package/cdn/components/table-body/table-body.js +1 -1
- package/cdn/components/table-caption/table-caption.d.ts +4 -1
- package/cdn/components/table-caption/table-caption.js +1 -1
- package/cdn/components/table-caption/table-caption.styles.js +1 -1
- package/cdn/components/table-cell/table-cell.d.ts +4 -1
- package/cdn/components/table-cell/table-cell.js +1 -1
- package/cdn/components/table-container/table-container.d.ts +4 -1
- package/cdn/components/table-container/table-container.js +1 -1
- package/cdn/components/table-expanded-row/table-expanded-row.js +1 -1
- package/cdn/components/table-head/table-head.js +1 -1
- package/cdn/components/table-header-cell/table-header-cell.d.ts +6 -3
- package/cdn/components/table-header-cell/table-header-cell.js +1 -1
- package/cdn/components/table-header-row/table-header-row.d.ts +8 -3
- package/cdn/components/table-header-row/table-header-row.js +1 -1
- package/cdn/components/table-of-contents/table-of-contents.d.ts +4 -0
- package/cdn/components/table-of-contents/table-of-contents.js +1 -1
- package/cdn/components/table-row/table-row.d.ts +6 -4
- package/cdn/components/table-row/table-row.js +1 -1
- package/cdn/components/table-single-cell-row/table-single-cell-row.js +1 -1
- package/cdn/components/table-toolbar/table-toolbar.js +1 -1
- package/cdn/components/tag/tag.d.ts +8 -3
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/components/tag/tag.styles.js +1 -1
- package/cdn/components/tag-button/tag-button.js +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/components/textarea/textarea.styles.js +1 -1
- package/cdn/components/tooltip/tooltip.d.ts +4 -2
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/components/tree/tree.js +1 -1
- package/cdn/components/tree-item/tree-item.d.ts +8 -3
- package/cdn/components/tree-item/tree-item.js +1 -1
- package/cdn/components/visually-hidden/visually-hidden.js +1 -1
- package/cdn/custom-elements.json +975 -127
- package/cdn/design-system.d.ts +0 -1
- package/cdn/design-system.js +1 -40
- package/cdn/internal/components/calendar/calendar.js +0 -2
- package/cdn/internal/components/checkbox-box/checkbox-box.d.ts +4 -1
- package/cdn/internal/components/checkbox-box/checkbox-box.js +2 -1
- package/cdn/internal/components/filter-base/filter-base.d.ts +6 -4
- package/cdn/internal/components/filter-base/filter-base.js +6 -2
- package/cdn/internal/components/form-control/form-control-layout.d.ts +4 -1
- package/cdn/internal/components/form-control/form-control-layout.js +4 -1
- package/cdn/internal/components/form-selectable-card/form-selectable-card.d.ts +9 -3
- package/cdn/internal/components/form-selectable-card/form-selectable-card.js +11 -4
- package/cdn/internal/components/form-toggle-button/form-toggle-button.d.ts +4 -1
- package/cdn/internal/components/form-toggle-button/form-toggle-button.js +2 -1
- package/cdn/internal/components/input-base/input-base.d.ts +5 -1
- package/cdn/internal/components/input-base/input-base.js +2 -1
- package/cdn/internal/components/input-base/input-base.styles.js +6 -1
- package/cdn/internal/components/radio-icon/radio-icon.d.ts +4 -1
- package/cdn/internal/components/radio-icon/radio-icon.js +2 -1
- package/cdn/internal/shoelace-element.d.ts +3 -0
- package/cdn/internal/shoelace-element.js +23 -0
- package/cdn/styles/form-control.styles.js +4 -0
- package/cdn/templates/utilities/decorator.js +1 -1
- package/cdn/templates/utilities/header.js +2 -2
- package/cdn/themes/dsa-theme-tac.css +5 -5
- package/cdn/themes/dsa-theme-tac.min.css +1 -1
- package/cdn/themes/dsa-theme-tac.styles.js +5 -5
- package/cdn/themes/dsa-wc-theme.css +180 -152
- package/cdn/themes/dsa-wc-theme.min.css +1 -1
- package/cdn/themes/dsa-wc-theme.styles.js +178 -152
- 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 +1 -1
- package/cdn/utilities/localize.d.ts +4 -0
- package/cdn/utilities/localize.js +1 -1
- package/cdn/utilities/storybook.js +1 -1
- package/cdn/vscode.html-custom-data.json +23 -12
- package/cdn/web-types.json +522 -36
- package/dist/chunks/{chunk.T4Q6QP47.js → chunk.2DYEXJNV.js} +4 -2
- package/dist/chunks/{chunk.GWVJL4RF.js → chunk.2K5QPKBA.js} +5 -1
- package/dist/chunks/{chunk.255DCWQE.js → chunk.2O3KAV2X.js} +9 -2
- package/dist/chunks/{chunk.Q6SKCUWC.js → chunk.2RZJMNNG.js} +0 -3
- package/dist/chunks/{chunk.DEQ4YOE2.js → chunk.2SQ6UBOQ.js} +1 -1
- package/dist/chunks/{chunk.FXV7WH4N.js → chunk.2VY6ETYT.js} +1 -1
- package/dist/chunks/{chunk.775FJWON.js → chunk.2VZ4MMR5.js} +20 -2
- package/dist/chunks/{chunk.HXC52XCE.js → chunk.34BCRRRT.js} +2 -2
- package/dist/chunks/{chunk.35QYCRYB.js → chunk.3RFVW3FP.js} +28 -2
- package/dist/chunks/{chunk.IR2O4TL3.js → chunk.3SAKVK56.js} +5 -1
- package/dist/chunks/{chunk.WD5PUKCI.js → chunk.3W6ROVW2.js} +6 -2
- package/dist/chunks/{chunk.6WEGUWI5.js → chunk.3WHBR6ML.js} +2 -2
- package/dist/chunks/{chunk.Q6XO7AEM.js → chunk.4NZ25HB6.js} +2 -2
- package/dist/chunks/{chunk.FAG62NRM.js → chunk.4UFNEXOD.js} +5 -1
- package/dist/chunks/{chunk.IT5CTBH7.js → chunk.4XPBWICF.js} +1 -1
- package/dist/chunks/{chunk.47GFM36Y.js → chunk.54XSLFSC.js} +1 -1
- package/dist/chunks/{chunk.TZQ3MU6S.js → chunk.57DTA5ZP.js} +18 -2
- package/dist/chunks/{chunk.23ND2IYT.js → chunk.5A6XLOZY.js} +3 -5
- package/dist/chunks/{chunk.AHUS3URN.js → chunk.5NSAEDEE.js} +5 -1
- package/dist/chunks/{chunk.T2M6RDF7.js → chunk.6JFNUOJL.js} +20 -4
- package/dist/chunks/{chunk.PNKCJUTV.js → chunk.6K3AZQXP.js} +5 -1
- package/dist/chunks/{chunk.YCAQ7W4B.js → chunk.6LLDVH7Y.js} +1 -1
- package/dist/chunks/{chunk.AUJ2FJE2.js → chunk.6NRREKDF.js} +2 -2
- package/dist/chunks/{chunk.JAVCUO27.js → chunk.6Q5DARJM.js} +5 -1
- package/dist/chunks/{chunk.BGZYADDV.js → chunk.6QE4MIXY.js} +1 -1
- package/dist/chunks/{chunk.ORDSJDUP.js → chunk.6TDF44UO.js} +5 -1
- package/dist/chunks/{chunk.NBBSSAAF.js → chunk.6WPKFGU3.js} +1 -1
- package/dist/chunks/{chunk.4APWIIUS.js → chunk.73XRFTV7.js} +4 -4
- package/dist/chunks/{chunk.NOH4G7Z3.js → chunk.7S4HUOC7.js} +12 -2
- package/dist/chunks/{chunk.FTWMMA3O.js → chunk.7WQZIM7N.js} +16 -6
- package/dist/chunks/{chunk.OGVBLLDB.js → chunk.A6WS4GML.js} +19 -7
- package/dist/chunks/{chunk.YRCGZJGX.js → chunk.ABJLUGLR.js} +39 -14
- package/dist/chunks/{chunk.X4ZCLMAL.js → chunk.AC6UE3V5.js} +1 -1
- package/dist/chunks/{chunk.4Y4BDZCW.js → chunk.ACM36IFE.js} +1 -1
- package/dist/chunks/{chunk.DV3XUZHI.js → chunk.AECIJYFZ.js} +20 -4
- package/dist/chunks/{chunk.Z6DP5AUJ.js → chunk.AFSUKPIV.js} +2 -2
- package/dist/chunks/{chunk.KONRKBD4.js → chunk.AG4HZDJV.js} +1 -0
- package/dist/chunks/{chunk.F7K75AKP.js → chunk.ANV74452.js} +27 -3
- package/dist/chunks/{chunk.ZYP5UA6L.js → chunk.APWZSSG6.js} +2 -2
- package/dist/chunks/{chunk.5JCDRTBY.js → chunk.BASV2VAI.js} +1 -1
- package/dist/chunks/{chunk.LNQM4VDZ.js → chunk.BJ76CXBF.js} +1 -1
- package/dist/chunks/{chunk.6BXNHKYR.js → chunk.BO3GUSFS.js} +14 -6
- package/dist/chunks/{chunk.HSM5HMUP.js → chunk.BTEEMPDS.js} +1 -1
- package/dist/chunks/{chunk.CQTA7CG3.js → chunk.C6UENJ2Y.js} +2 -2
- package/dist/chunks/{chunk.J7TEQIPK.js → chunk.CABJDFOO.js} +3 -3
- package/dist/chunks/{chunk.2LNBA2FQ.js → chunk.CFBX4SXO.js} +5 -1
- package/dist/chunks/{chunk.XATWRKAV.js → chunk.CKEB7DWU.js} +4 -0
- package/dist/chunks/{chunk.EWY2GCPZ.js → chunk.CKJJ4MSU.js} +2 -2
- package/dist/chunks/{chunk.O4ZVD6ZZ.js → chunk.DC6KKJOX.js} +6 -2
- package/dist/chunks/{chunk.XGXOHXHU.js → chunk.DMSUKPJE.js} +12 -4
- package/dist/chunks/{chunk.PEAZPHYW.js → chunk.DT6Y5ZUB.js} +29 -8
- package/dist/chunks/{chunk.76W5QCK5.js → chunk.ECJIGGPC.js} +1 -1
- package/dist/chunks/{chunk.JDHNGWIH.js → chunk.EEO75M3R.js} +2 -5
- package/dist/chunks/{chunk.JZCLQ75K.js → chunk.EGJGLON7.js} +1 -1
- package/dist/chunks/{chunk.CY7SF7KT.js → chunk.EMPEBDHH.js} +1 -1
- package/dist/chunks/{chunk.MFNBPWAR.js → chunk.EWMFHVNW.js} +7 -2
- package/dist/chunks/{chunk.SV42ISYL.js → chunk.EXGB2DIR.js} +29 -3
- package/dist/chunks/{chunk.OUAQWUW4.js → chunk.EXHYWKQB.js} +6 -2
- package/dist/chunks/{chunk.BFTVJPB4.js → chunk.FB4KLQQL.js} +1 -1
- package/dist/chunks/{chunk.YT4HJ3IL.js → chunk.FF67XKLP.js} +1 -1
- package/dist/chunks/{chunk.GY4FLVTL.js → chunk.FNJT4W4I.js} +1 -1
- package/dist/chunks/{chunk.7ICCANB6.js → chunk.FQZVV2TO.js} +12 -2
- package/dist/chunks/{chunk.MOQLFC6H.js → chunk.GBZY2OWL.js} +3 -3
- package/dist/chunks/{chunk.ED25W2OX.js → chunk.GUKOZGE3.js} +9 -1
- package/dist/chunks/{chunk.5EIUAA3U.js → chunk.GYWU4AAB.js} +1 -1
- package/dist/chunks/{chunk.AABUINPL.js → chunk.GZZFBLBE.js} +1 -1
- package/dist/chunks/{chunk.RQVGZS26.js → chunk.H4WJ64X5.js} +2 -2
- package/dist/chunks/{chunk.G7WA3OWF.js → chunk.H7L4YNKB.js} +12 -2
- package/dist/chunks/{chunk.LS7YUONN.js → chunk.HALYTFYA.js} +1 -1
- package/dist/chunks/{chunk.C2USJPWZ.js → chunk.HBYJN6RA.js} +17 -3
- package/dist/chunks/{chunk.HSU4VAS4.js → chunk.HFTU6LUQ.js} +2 -2
- package/dist/chunks/{chunk.CRHM2CE5.js → chunk.HHVXZJUU.js} +39 -15
- package/dist/chunks/{chunk.V2LO3RHA.js → chunk.HPAWBSR5.js} +2 -2
- package/dist/chunks/{chunk.3WSB3BNE.js → chunk.I522XZAV.js} +1 -1
- package/dist/chunks/{chunk.JVFGYM3B.js → chunk.IAJLX5AF.js} +1 -1
- package/dist/chunks/{chunk.O7HKQMZA.js → chunk.IJUJLGCZ.js} +1 -1
- package/dist/chunks/{chunk.PDXO7ACT.js → chunk.J476JEKY.js} +1 -1
- package/dist/chunks/{chunk.RMCLM44L.js → chunk.JBKNTRA7.js} +1 -1
- package/dist/chunks/{chunk.6SP7XNBV.js → chunk.JEWVIFAO.js} +5 -1
- package/dist/chunks/{chunk.5KTLM3MD.js → chunk.JIMAJLDU.js} +2 -2
- package/dist/chunks/{chunk.P6ZIC3SJ.js → chunk.JIN6PGAK.js} +1 -1
- package/dist/chunks/{chunk.DKRTICMF.js → chunk.JKNKFWLE.js} +1 -1
- package/dist/chunks/{chunk.D72FHMFI.js → chunk.JUOYMIGK.js} +1 -1
- package/dist/chunks/{chunk.BIM3HNFI.js → chunk.KZFOOKD2.js} +3 -75
- package/dist/chunks/{chunk.KOGIJSJ2.js → chunk.LFCY7UUJ.js} +124 -2
- package/dist/chunks/{chunk.2HARVX2F.js → chunk.LHKUT7UW.js} +5 -1
- package/dist/chunks/{chunk.OEOSDW6K.js → chunk.LJ2VCS7Q.js} +1 -1
- package/dist/chunks/{chunk.GP75TYQS.js → chunk.LPQTWKYW.js} +2 -2
- package/dist/chunks/{chunk.UNN3FKRS.js → chunk.LQAWGV5K.js} +6 -2
- package/dist/chunks/{chunk.VOHUSNGA.js → chunk.LZOGVU7B.js} +11 -4
- package/dist/chunks/{chunk.7O7LNFJW.js → chunk.M5X6QE4H.js} +21 -6
- package/dist/chunks/{chunk.6X467UIN.js → chunk.MFGYIAUT.js} +1 -1
- package/dist/chunks/{chunk.JIXU425U.js → chunk.MGW4E3VW.js} +10 -3
- package/dist/chunks/{chunk.LJKZZ5Z7.js → chunk.MPV4OPIK.js} +1 -1
- package/dist/chunks/{chunk.VFDZ6OTM.js → chunk.MXDGKTTH.js} +17 -3
- package/dist/chunks/{chunk.364OCK6Y.js → chunk.N2SYQR7M.js} +2 -2
- package/dist/chunks/{chunk.BKZKEYEW.js → chunk.N3SOWEHQ.js} +1 -1
- package/dist/chunks/{chunk.ZJHYC5NS.js → chunk.NCN4I6KX.js} +7 -3
- package/dist/chunks/{chunk.73ZFCB6R.js → chunk.NMU6DWUH.js} +7 -3
- package/dist/chunks/{chunk.E4I65Q6Y.js → chunk.NXO27KKG.js} +1 -1
- package/dist/chunks/{chunk.YAVLD645.js → chunk.O3SPGNIU.js} +2 -2
- package/dist/chunks/{chunk.QZXP2757.js → chunk.O65OOIT6.js} +6 -2
- package/dist/chunks/{chunk.G3QPDRD4.js → chunk.OAJEHJJO.js} +6 -2
- package/dist/chunks/{chunk.MPR4IZDU.js → chunk.OKTHM7J2.js} +3 -3
- package/dist/chunks/{chunk.EQBGP5ZK.js → chunk.ORFYYGB2.js} +6 -2
- package/dist/chunks/{chunk.UXRWPABH.js → chunk.OW6RUTZA.js} +1 -1
- package/dist/chunks/{chunk.VVRJUTG5.js → chunk.P2KNRWE5.js} +6 -2
- package/dist/chunks/{chunk.3G3MLJCH.js → chunk.PCLHDZYI.js} +1 -1
- package/dist/chunks/{chunk.YLG5J7YM.js → chunk.PENDUUVT.js} +1 -1
- package/dist/chunks/{chunk.CULKJQ43.js → chunk.PEWNJNAP.js} +2 -2
- package/dist/chunks/{chunk.VUF4NZNQ.js → chunk.PGXKP7ME.js} +13 -3
- package/dist/chunks/{chunk.S2VPUQPO.js → chunk.QBVIZ55Q.js} +4 -4
- package/dist/chunks/{chunk.JTG2VILD.js → chunk.QGI766JC.js} +1 -1
- package/dist/chunks/{chunk.IQVRPRHR.js → chunk.QGSBICBZ.js} +1 -1
- package/dist/chunks/{chunk.XBYDQEMZ.js → chunk.QHNPNQXO.js} +1 -1
- package/dist/chunks/{chunk.664KFSJP.js → chunk.QKT5LLDM.js} +2 -2
- package/dist/chunks/{chunk.PBDKMCCH.js → chunk.QOW4B54V.js} +16 -2
- package/dist/chunks/{chunk.7I4C6CEB.js → chunk.QS7BPH3Y.js} +2 -2
- package/dist/chunks/{chunk.L56KKTTB.js → chunk.QZC7F7NX.js} +252 -59
- package/dist/chunks/{chunk.3XTO3LV5.js → chunk.R3CYFIJA.js} +1 -1
- package/dist/chunks/{chunk.SO4EEDCJ.js → chunk.RDHPV744.js} +1 -1
- package/dist/chunks/{chunk.VHKZOCPL.js → chunk.RIJIUMG2.js} +2 -2
- package/dist/chunks/{chunk.RYPGPHI7.js → chunk.RPPERQYB.js} +2 -2
- package/dist/chunks/{chunk.FB47DS6G.js → chunk.RU7L7OSM.js} +13 -6
- package/dist/chunks/{chunk.XMRIXYIV.js → chunk.RVUUZ3KA.js} +7 -1
- package/dist/chunks/{chunk.MSDVGZFG.js → chunk.S5FAXONJ.js} +1 -1
- package/dist/chunks/{chunk.TKIRVUSQ.js → chunk.SLXERY4H.js} +8 -4
- package/dist/chunks/{chunk.ZBVZPKHH.js → chunk.SN5JW345.js} +14 -2
- package/dist/chunks/{chunk.XRVDXZ37.js → chunk.SOF3BQCV.js} +20 -2
- package/dist/chunks/{chunk.SL3DN4BD.js → chunk.SVWU6JW4.js} +24 -0
- package/dist/chunks/{chunk.RE5LWX2D.js → chunk.SZDGGP2Y.js} +7 -3
- package/dist/chunks/{chunk.LYW7WENA.js → chunk.TION6YCJ.js} +2 -2
- package/dist/chunks/{chunk.KVBCYZ63.js → chunk.TNZEC73D.js} +9 -2
- package/dist/chunks/{chunk.OXRZH5XZ.js → chunk.TP5XEQ2O.js} +6 -2
- package/dist/chunks/{chunk.JBEKH5GD.js → chunk.TRVKPMDO.js} +7 -3
- package/dist/chunks/{chunk.72TUQY57.js → chunk.TW7OE55S.js} +1 -1
- package/dist/chunks/{chunk.3NFVJZPV.js → chunk.TZZRAR42.js} +2 -2
- package/dist/chunks/chunk.U5AV7YAS.js +66 -0
- package/dist/chunks/{chunk.GNJTQL5Q.js → chunk.UHF3BDIM.js} +6 -2
- package/dist/chunks/{chunk.VOUA4OR5.js → chunk.UHSLPBTG.js} +6 -2
- package/dist/chunks/{chunk.SK2SJE2S.js → chunk.UKH2D4DL.js} +29 -12
- package/dist/chunks/{chunk.NMTWMSSW.js → chunk.UNDVQ2N3.js} +12 -17
- package/dist/chunks/{chunk.ZTQL6LV2.js → chunk.UYPZGXIY.js} +14 -4
- package/dist/chunks/{chunk.T4R634BF.js → chunk.V5GAH4HU.js} +22 -2
- package/dist/chunks/{chunk.4U66LKYV.js → chunk.VA2ASBUR.js} +23 -6
- package/dist/chunks/{chunk.UDSWI6Y6.js → chunk.VBUVNNMA.js} +18 -4
- package/dist/chunks/{chunk.L7NOS4FR.js → chunk.VHSA53PH.js} +6 -2
- package/dist/chunks/{chunk.42QEV4IV.js → chunk.VKBTTWXW.js} +6 -2
- package/dist/chunks/{chunk.STWD3IVA.js → chunk.WDPZ4NSH.js} +16 -4
- package/dist/chunks/{chunk.O6JPAHCB.js → chunk.WFACPRM5.js} +1 -1
- package/dist/chunks/{chunk.QY3AIGLE.js → chunk.WHHYA5VY.js} +17 -3
- package/dist/chunks/{chunk.CEC2UZ2B.js → chunk.WJFVQRWU.js} +9 -1
- package/dist/chunks/{chunk.ZGBHQB4P.js → chunk.WMFEJDPX.js} +10 -2
- package/dist/chunks/{chunk.PBUGRVMQ.js → chunk.WNESPUKK.js} +5 -1
- package/dist/chunks/{chunk.4ODHJQ4O.js → chunk.WRFA56CD.js} +2 -2
- package/dist/chunks/{chunk.ZVKFVRCK.js → chunk.X6SEIMM4.js} +12 -2
- package/dist/chunks/{chunk.WWO46GSF.js → chunk.XDW2FM6B.js} +8 -1
- package/dist/chunks/{chunk.FXFNRADC.js → chunk.XGZ4IJ57.js} +16 -2
- package/dist/chunks/{chunk.TN4CAFLD.js → chunk.XJCHW2GZ.js} +2 -2
- package/dist/chunks/{chunk.5J4LC3T5.js → chunk.XL3HVVDK.js} +6 -2
- package/dist/chunks/{chunk.5WY2ZKV4.js → chunk.XSPIIP5W.js} +20 -8
- package/dist/chunks/{chunk.QRPBHKNM.js → chunk.XZU6MLWO.js} +2 -2
- package/dist/chunks/{chunk.URFGFMJF.js → chunk.YC2VYNCD.js} +6 -2
- package/dist/chunks/{chunk.JTKPLTO2.js → chunk.YKL22V4E.js} +1 -1
- package/dist/chunks/{chunk.KJFIJI7X.js → chunk.YROTOHU3.js} +1 -1
- package/dist/chunks/{chunk.3JBCFU7B.js → chunk.Z4R36OG7.js} +0 -1
- package/dist/chunks/{chunk.ML7UI7S7.js → chunk.ZBTNV3E7.js} +6 -2
- package/dist/chunks/{chunk.Z73F57HS.js → chunk.ZJEACN47.js} +3 -3
- package/dist/chunks/{chunk.3D22YO3Z.js → chunk.ZQ56PQ6F.js} +2 -2
- package/dist/chunks/{chunk.SAYXVOCR.js → chunk.ZZ67C4V2.js} +5 -1
- package/dist/components/accordion/accordion.d.ts +7 -2
- package/dist/components/accordion/accordion.js +8 -8
- package/dist/components/accordion-group/accordion-group.js +9 -10
- package/dist/components/alert/alert.d.ts +10 -2
- package/dist/components/alert/alert.js +8 -8
- package/dist/components/alert/alert.styles.js +1 -1
- package/dist/components/anchor-tag/anchor-tag.js +2 -2
- package/dist/components/animation/animation.js +2 -2
- package/dist/components/avatar/avatar.js +5 -5
- package/dist/components/avatar-group/avatar-group.d.ts +0 -1
- package/dist/components/avatar-group/avatar-group.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/badge/badge.styles.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.d.ts +0 -3
- package/dist/components/breadcrumb/breadcrumb.js +3 -10
- package/dist/components/breadcrumb-item/breadcrumb-item.d.ts +6 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.js +10 -3
- package/dist/components/button/button.d.ts +6 -3
- package/dist/components/button/button.js +8 -9
- package/dist/components/button/button.styles.js +1 -1
- package/dist/components/calendar/calendar.js +4 -4
- package/dist/components/calendar/calendar.styles.js +1 -1
- package/dist/components/callout/callout.d.ts +0 -1
- package/dist/components/callout/callout.js +2 -13
- package/dist/components/card/card.js +2 -2
- package/dist/components/card-content/card-content.d.ts +4 -1
- package/dist/components/card-content/card-content.js +5 -5
- package/dist/components/card-nav/card-nav.js +3 -3
- package/dist/components/card-nav/card-nav.styles.js +1 -1
- package/dist/components/card-nav-accordion/card-nav-accordion.d.ts +4 -1
- package/dist/components/card-nav-accordion/card-nav-accordion.js +7 -7
- package/dist/components/card-nav-accordion/card-nav-accordion.styles.js +1 -1
- package/dist/components/card-nav-item/card-nav-item.d.ts +4 -1
- package/dist/components/card-nav-item/card-nav-item.js +6 -6
- package/dist/components/card-nav-item/card-nav-item.styles.js +1 -1
- package/dist/components/checkbox/checkbox.d.ts +6 -3
- package/dist/components/checkbox/checkbox.js +13 -13
- package/dist/components/checkbox/checkbox.styles.js +2 -2
- package/dist/components/checkbox-button/checkbox-button.js +13 -13
- package/dist/components/checkbox-card/checkbox-card.js +9 -8
- package/dist/components/checkbox-group/checkbox-group.d.ts +8 -2
- package/dist/components/checkbox-group/checkbox-group.js +10 -10
- package/dist/components/checkbox-group/checkbox-group.styles.js +2 -2
- package/dist/components/combobox/combobox.d.ts +15 -6
- package/dist/components/combobox/combobox.js +20 -18
- package/dist/components/combobox/combobox.styles.js +2 -2
- package/dist/components/copy-button/copy-button.d.ts +6 -4
- package/dist/components/copy-button/copy-button.js +8 -8
- package/dist/components/dialog/dialog.d.ts +4 -1
- package/dist/components/dialog/dialog.js +7 -7
- package/dist/components/divider/divider.js +2 -2
- package/dist/components/download-card/download-card.d.ts +4 -1
- package/dist/components/download-card/download-card.js +5 -5
- package/dist/components/download-link/download-link.d.ts +4 -1
- package/dist/components/download-link/download-link.js +5 -5
- package/dist/components/drawer/drawer.d.ts +4 -1
- package/dist/components/drawer/drawer.js +7 -7
- package/dist/components/dropdown/dropdown.d.ts +4 -2
- package/dist/components/dropdown/dropdown.js +4 -4
- package/dist/components/error-message-panel/error-message-panel.js +3 -3
- package/dist/components/error-text/error-text.d.ts +4 -1
- package/dist/components/error-text/error-text.js +5 -5
- package/dist/components/fieldset/fieldset.js +3 -3
- package/dist/components/fieldset/fieldset.styles.js +1 -1
- package/dist/components/file-upload/file-upload.d.ts +29 -6
- package/dist/components/file-upload/file-upload.js +18 -10
- package/dist/components/file-upload/file-upload.styles.js +2 -2
- package/dist/components/file-upload/file-upload.utils.d.ts +1 -0
- package/dist/components/file-upload/file-upload.utils.js +7 -0
- package/dist/components/file-upload-item/file-upload-item.js +7 -7
- package/dist/components/file-upload-item/file-upload-item.styles.js +1 -1
- package/dist/components/filter-button/filter-button.d.ts +4 -3
- package/dist/components/filter-button/filter-button.js +6 -9
- package/dist/components/filter-counter/filter-counter.d.ts +11 -5
- package/dist/components/filter-counter/filter-counter.js +34 -33
- package/dist/components/filter-date/filter-date.d.ts +15 -5
- package/dist/components/filter-date/filter-date.js +17 -16
- package/dist/components/filter-range/filter-range.d.ts +14 -6
- package/dist/components/filter-range/filter-range.js +37 -36
- package/dist/components/filter-select/filter-select.d.ts +13 -2
- package/dist/components/filter-select/filter-select.js +36 -35
- package/dist/components/footer/footer.d.ts +6 -1
- package/dist/components/footer/footer.js +4 -4
- package/dist/components/footer-content-block/footer-content-block.d.ts +0 -1
- package/dist/components/footer-content-block/footer-content-block.js +2 -4
- package/dist/components/footer-mandatory-mentions/footer-mandatory-mentions.d.ts +4 -1
- package/dist/components/footer-mandatory-mentions/footer-mandatory-mentions.js +3 -3
- package/dist/components/footer-sitemap/footer-sitemap.js +2 -2
- package/dist/components/footer-sitemap-item/footer-sitemap-item.d.ts +0 -1
- package/dist/components/footer-sitemap-item/footer-sitemap-item.js +2 -4
- package/dist/components/format-bytes/format-bytes.js +3 -3
- package/dist/components/format-date/format-date.js +3 -3
- package/dist/components/format-number/format-number.js +3 -3
- package/dist/components/graphic-element/graphic-element.js +1 -1
- package/dist/components/header/header.d.ts +0 -1
- package/dist/components/header/header.js +3 -5
- package/dist/components/header-external-link/header-external-link.d.ts +6 -0
- package/dist/components/header-external-link/header-external-link.js +4 -2
- package/dist/components/header-modern/header-modern.d.ts +0 -1
- package/dist/components/header-modern/header-modern.js +3 -5
- package/dist/components/header-search/header-search.d.ts +10 -6
- package/dist/components/header-search/header-search.js +14 -14
- 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 +4 -1
- package/dist/components/icon-button/icon-button.js +5 -5
- package/dist/components/input/input.d.ts +11 -8
- package/dist/components/input/input.js +28 -25
- package/dist/components/input-amount/input-amount.d.ts +7 -2
- package/dist/components/input-amount/input-amount.js +15 -15
- package/dist/components/input-amount/input-amount.styles.js +3 -3
- package/dist/components/input-date/input-date.d.ts +16 -7
- package/dist/components/input-date/input-date.js +19 -19
- package/dist/components/input-date/input-date.styles.js +3 -3
- package/dist/components/input-mask/input-mask.d.ts +8 -1
- package/dist/components/input-mask/input-mask.js +16 -14
- package/dist/components/input-mask/input-mask.styles.js +3 -3
- package/dist/components/input-native/input-native.d.ts +9 -3
- package/dist/components/input-native/input-native.js +15 -15
- package/dist/components/input-native/input-native.styles.js +3 -3
- package/dist/components/input-otp/input-otp.d.ts +1 -2
- package/dist/components/input-otp/input-otp.js +12 -14
- package/dist/components/input-otp/input-otp.styles.js +2 -2
- package/dist/components/input-phone/input-phone.d.ts +12 -4
- package/dist/components/input-phone/input-phone.js +24 -24
- package/dist/components/input-phone/input-phone.styles.js +2 -2
- package/dist/components/input-time/input-time.d.ts +13 -5
- package/dist/components/input-time/input-time.js +17 -17
- package/dist/components/input-time/input-time.styles.js +3 -3
- package/dist/components/menu-accordion/menu-accordion.d.ts +6 -2
- package/dist/components/menu-accordion/menu-accordion.js +9 -9
- package/dist/components/menu-accordion/menu-accordion.styles.js +1 -1
- package/dist/components/menu-item/menu-item.d.ts +4 -1
- package/dist/components/menu-item/menu-item.js +5 -5
- package/dist/components/menu-label/menu-label.js +2 -2
- package/dist/components/menu-navigation/menu-navigation.js +7 -7
- package/dist/components/menu-navigation/menu-navigation.styles.js +1 -1
- package/dist/components/mutation-observer/mutation-observer.js +2 -2
- package/dist/components/navbar/navbar.js +2 -2
- package/dist/components/navbar-link/navbar-link.js +11 -11
- package/dist/components/navbar-menu/navbar-menu.d.ts +6 -4
- package/dist/components/navbar-menu/navbar-menu.js +7 -14
- package/dist/components/option/option.d.ts +6 -2
- package/dist/components/option/option.js +7 -7
- package/dist/components/page-header/page-header.js +2 -2
- package/dist/components/pagination/pagination.d.ts +14 -5
- package/dist/components/pagination/pagination.js +36 -31
- package/dist/components/pagination-button/pagination-button.d.ts +6 -0
- package/dist/components/pagination-button/pagination-button.js +6 -4
- package/dist/components/pagination-button/pagination-button.styles.js +2 -2
- package/dist/components/popup/popup.js +2 -2
- package/dist/components/profile-button/profile-button.d.ts +8 -3
- package/dist/components/profile-button/profile-button.js +10 -10
- package/dist/components/profile-button/profile-button.styles.js +1 -1
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.js +2 -2
- package/dist/components/quote/quote.js +2 -2
- package/dist/components/radio/radio.d.ts +6 -1
- package/dist/components/radio/radio.js +6 -6
- package/dist/components/radio-button/radio-button.js +13 -13
- package/dist/components/radio-card/radio-card.js +14 -14
- package/dist/components/radio-group/radio-group.d.ts +8 -2
- package/dist/components/radio-group/radio-group.js +10 -10
- package/dist/components/radio-group/radio-group.styles.js +2 -2
- 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 +3 -3
- package/dist/components/resize-observer/resize-observer.js +2 -2
- package/dist/components/search/search.d.ts +7 -4
- package/dist/components/search/search.js +9 -9
- package/dist/components/search/search.styles.js +1 -1
- package/dist/components/select/select.d.ts +9 -4
- package/dist/components/select/select.js +17 -17
- package/dist/components/select/select.styles.js +2 -2
- package/dist/components/sidenav/sidenav.d.ts +8 -3
- package/dist/components/sidenav/sidenav.js +9 -9
- package/dist/components/sidenav-info-accordion/sidenav-info-accordion.d.ts +4 -2
- package/dist/components/sidenav-info-accordion/sidenav-info-accordion.js +10 -10
- package/dist/components/skeleton/skeleton.js +2 -2
- package/dist/components/skip-link-item/skip-link-item.js +2 -2
- package/dist/components/skip-links/skip-links.js +3 -3
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/split-panel/split-panel.d.ts +4 -1
- package/dist/components/split-panel/split-panel.js +6 -6
- package/dist/components/step/step.d.ts +6 -2
- package/dist/components/step/step.js +7 -7
- package/dist/components/stepper/stepper.js +2 -2
- package/dist/components/success-text/success-text.d.ts +4 -1
- package/dist/components/success-text/success-text.js +5 -5
- package/dist/components/switch/switch.d.ts +4 -1
- package/dist/components/switch/switch.js +7 -7
- package/dist/components/tab/tab.d.ts +4 -2
- package/dist/components/tab/tab.js +7 -7
- package/dist/components/tab-group/tab-group.d.ts +4 -1
- package/dist/components/tab-group/tab-group.js +7 -7
- package/dist/components/tab-panel/tab-panel.js +2 -2
- package/dist/components/table/table.js +2 -2
- package/dist/components/table-action/table-action.d.ts +8 -2
- package/dist/components/table-action/table-action.js +18 -5
- package/dist/components/table-action/table-action.styles.js +1 -1
- package/dist/components/table-body/table-body.js +5 -5
- package/dist/components/table-caption/table-caption.d.ts +4 -1
- package/dist/components/table-caption/table-caption.js +6 -6
- package/dist/components/table-caption/table-caption.styles.js +1 -1
- package/dist/components/table-cell/table-cell.d.ts +4 -1
- package/dist/components/table-cell/table-cell.js +4 -4
- package/dist/components/table-container/table-container.d.ts +4 -1
- package/dist/components/table-container/table-container.js +5 -5
- package/dist/components/table-expanded-row/table-expanded-row.js +2 -2
- package/dist/components/table-head/table-head.js +4 -4
- package/dist/components/table-header-cell/table-header-cell.d.ts +6 -3
- package/dist/components/table-header-cell/table-header-cell.js +8 -8
- package/dist/components/table-header-row/table-header-row.d.ts +8 -3
- package/dist/components/table-header-row/table-header-row.js +21 -21
- package/dist/components/table-of-contents/table-of-contents.d.ts +4 -0
- package/dist/components/table-of-contents/table-of-contents.js +9 -3
- package/dist/components/table-row/table-row.d.ts +6 -4
- package/dist/components/table-row/table-row.js +16 -16
- package/dist/components/table-single-cell-row/table-single-cell-row.js +2 -2
- package/dist/components/table-toolbar/table-toolbar.js +2 -2
- package/dist/components/tag/tag.d.ts +8 -3
- package/dist/components/tag/tag.js +11 -11
- package/dist/components/tag/tag.styles.js +1 -1
- package/dist/components/tag-button/tag-button.js +2 -2
- package/dist/components/textarea/textarea.js +10 -10
- package/dist/components/textarea/textarea.styles.js +2 -2
- package/dist/components/tooltip/tooltip.d.ts +4 -2
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/tree/tree.js +17 -17
- package/dist/components/tree-item/tree-item.d.ts +8 -3
- package/dist/components/tree-item/tree-item.js +16 -16
- package/dist/components/visually-hidden/visually-hidden.js +2 -2
- package/dist/custom-elements.json +975 -127
- package/dist/design-system.d.ts +0 -1
- package/dist/design-system.js +211 -364
- package/dist/internal/components/calendar/calendar.js +0 -2
- package/dist/internal/components/checkbox-box/checkbox-box.d.ts +4 -1
- package/dist/internal/components/checkbox-box/checkbox-box.js +2 -1
- package/dist/internal/components/filter-base/filter-base.d.ts +6 -4
- package/dist/internal/components/filter-base/filter-base.js +6 -2
- package/dist/internal/components/form-control/form-control-layout.d.ts +4 -1
- package/dist/internal/components/form-control/form-control-layout.js +4 -1
- package/dist/internal/components/form-selectable-card/form-selectable-card.d.ts +9 -3
- package/dist/internal/components/form-selectable-card/form-selectable-card.js +11 -4
- package/dist/internal/components/form-toggle-button/form-toggle-button.d.ts +4 -1
- package/dist/internal/components/form-toggle-button/form-toggle-button.js +2 -1
- package/dist/internal/components/input-base/input-base.d.ts +5 -1
- package/dist/internal/components/input-base/input-base.js +2 -1
- package/dist/internal/components/input-base/input-base.styles.js +6 -1
- package/dist/internal/components/radio-icon/radio-icon.d.ts +4 -1
- package/dist/internal/components/radio-icon/radio-icon.js +2 -1
- package/dist/internal/shoelace-element.d.ts +3 -0
- package/dist/internal/shoelace-element.js +23 -0
- package/dist/styles/form-control.styles.js +4 -0
- package/dist/templates/utilities/decorator.js +1 -1
- package/dist/templates/utilities/header.js +2 -2
- package/dist/themes/dsa-theme-tac.css +5 -5
- package/dist/themes/dsa-theme-tac.min.css +1 -1
- package/dist/themes/dsa-theme-tac.styles.js +5 -5
- package/dist/themes/dsa-wc-theme.css +180 -152
- package/dist/themes/dsa-wc-theme.min.css +1 -1
- package/dist/themes/dsa-wc-theme.styles.js +178 -152
- 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 +4 -0
- package/dist/utilities/localize.js +1 -1
- package/dist/utilities/storybook.js +4 -4
- package/dist/vscode.html-custom-data.json +23 -12
- package/dist/web-types.json +522 -36
- package/package.json +9 -4
- package/cdn/chunks/chunk.2IDFQMUY.js +0 -173
- package/cdn/chunks/chunk.2OMAP64Q.js +0 -75
- package/cdn/chunks/chunk.32PDY7UK.js +0 -62
- package/cdn/chunks/chunk.3SJY545H.js +0 -3
- package/cdn/chunks/chunk.4HMGXARV.js +0 -20
- package/cdn/chunks/chunk.4WOVD75K.js +0 -1
- package/cdn/chunks/chunk.55AOGZN7.js +0 -3
- package/cdn/chunks/chunk.656TABWU.js +0 -68
- package/cdn/chunks/chunk.6IF6YOG2.js +0 -72
- package/cdn/chunks/chunk.6NIF5NUR.js +0 -6
- package/cdn/chunks/chunk.7E6YCVBM.js +0 -73
- package/cdn/chunks/chunk.7EFNXSDX.js +0 -62
- package/cdn/chunks/chunk.AFYV7235.js +0 -51
- package/cdn/chunks/chunk.APETMEWE.js +0 -44
- package/cdn/chunks/chunk.AWUKINCE.js +0 -26
- package/cdn/chunks/chunk.BLTJNDSL.js +0 -31
- package/cdn/chunks/chunk.BNGKQNWN.js +0 -20
- package/cdn/chunks/chunk.BNRHJT5Y.js +0 -41
- package/cdn/chunks/chunk.BRWNVT6G.js +0 -15
- package/cdn/chunks/chunk.BUGOUMBK.js +0 -66
- package/cdn/chunks/chunk.BYKNQ7UN.js +0 -35
- package/cdn/chunks/chunk.CEOMZJL3.js +0 -25
- package/cdn/chunks/chunk.CPEZHTWZ.js +0 -94
- package/cdn/chunks/chunk.E4OBJ7XY.js +0 -45
- package/cdn/chunks/chunk.E53LA4B5.js +0 -121
- package/cdn/chunks/chunk.EJRD5ETZ.js +0 -56
- package/cdn/chunks/chunk.ESMXIAXC.js +0 -41
- package/cdn/chunks/chunk.F2P7GHWQ.js +0 -26
- package/cdn/chunks/chunk.FIAFLKBH.js +0 -112
- package/cdn/chunks/chunk.GQ6KYNN7.js +0 -55
- package/cdn/chunks/chunk.GTWDOMYW.js +0 -73
- package/cdn/chunks/chunk.GW7LIL6T.js +0 -14
- package/cdn/chunks/chunk.HN7LULYJ.js +0 -50
- package/cdn/chunks/chunk.HOEECTTJ.js +0 -13
- package/cdn/chunks/chunk.HXKY4TCL.js +0 -42
- package/cdn/chunks/chunk.IQSBJVVT.js +0 -115
- package/cdn/chunks/chunk.ISAALGRC.js +0 -11
- package/cdn/chunks/chunk.J7BHUTIC.js +0 -26
- package/cdn/chunks/chunk.JFLLAQ3M.js +0 -1
- package/cdn/chunks/chunk.JO5OCC2C.js +0 -123
- package/cdn/chunks/chunk.JQHISP6X.js +0 -35
- package/cdn/chunks/chunk.K5JD7GGR.js +0 -8
- package/cdn/chunks/chunk.KL3MAUBF.js +0 -50
- package/cdn/chunks/chunk.KQCEZAEK.js +0 -53
- package/cdn/chunks/chunk.KXZCAPFG.js +0 -51
- package/cdn/chunks/chunk.KYNJPLDI.js +0 -19
- package/cdn/chunks/chunk.L4Z7QLDC.js +0 -7
- package/cdn/chunks/chunk.M4Y6MS6D.js +0 -13
- package/cdn/chunks/chunk.OJFSSNE6.js +0 -19
- package/cdn/chunks/chunk.OS3TEHEN.js +0 -38
- package/cdn/chunks/chunk.QWPUMMAA.js +0 -56
- package/cdn/chunks/chunk.RDMQQGD2.js +0 -68
- package/cdn/chunks/chunk.RLILIS2Y.js +0 -19
- package/cdn/chunks/chunk.RROT6Z42.js +0 -65
- package/cdn/chunks/chunk.SBOY5ZZ2.js +0 -36
- package/cdn/chunks/chunk.T2HPIB56.js +0 -72
- package/cdn/chunks/chunk.TKMEE6QH.js +0 -43
- package/cdn/chunks/chunk.TW5PTRLU.js +0 -20
- package/cdn/chunks/chunk.UJTEHF7B.js +0 -130
- package/cdn/chunks/chunk.VLFAKRJ7.js +0 -27
- package/cdn/chunks/chunk.WPG2N7B5.js +0 -10
- package/cdn/chunks/chunk.WY3M4SRD.js +0 -25
- package/cdn/chunks/chunk.XNHKS4WB.js +0 -60
- package/cdn/chunks/chunk.Y2EQJWZE.js +0 -38
- package/cdn/chunks/chunk.YZCUYRA4.js +0 -47
- package/cdn/chunks/core-js.6QDCQS53.js +0 -8
- package/cdn/chunks/dom.AS2IDUUD.js +0 -25
- package/cdn/chunks/wc-datepicker.entry.6PSI3D65.js +0 -1
- package/cdn/internal/components/button-group/button-group.d.ts +0 -35
- package/cdn/internal/components/button-group/button-group.js +0 -119
- package/cdn/internal/components/button-group/button-group.styles.d.ts +0 -2
- package/cdn/internal/components/button-group/button-group.styles.js +0 -29
- package/dist/internal/components/button-group/button-group.d.ts +0 -35
- package/dist/internal/components/button-group/button-group.js +0 -119
- package/dist/internal/components/button-group/button-group.styles.d.ts +0 -2
- package/dist/internal/components/button-group/button-group.styles.js +0 -29
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# @ds-autonomie/web-components
|
|
2
2
|
|
|
3
|
+
## 2.17.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 4f185e3: Modification des variables CSS pour la typographie
|
|
8
|
+
- 3f0819b: `file-upload` : vérification de la taille et du format du fichier avant l'ajout au champ
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- 91c89e0: `input-date` : Possibilité d'ajuster la largeur du champ via la vairable CSS `--input-field-width`
|
|
13
|
+
- 7de160d: `radio-group`, `checkbox-group` : déplacement du focus sur la première option disponible si le groupe est `required` et l'utilisateur tente de soumettre le formulaire sans avoir sélectionné une option
|
|
14
|
+
- 96fcecf: Ajout d'une CLI pour mesurer l'utilisation du DSA dans un répertoire donné
|
|
15
|
+
- e69a88d: `button`, `profile-button` : application des bonnes pratiques d'écoconception
|
|
16
|
+
- 9e2e579: `menu-navigation` : correction de l'absence de défilement
|
|
17
|
+
- Updated dependencies [4f185e3]
|
|
18
|
+
- @ds-autonomie/assets@1.4.12
|
|
19
|
+
|
|
20
|
+
## 2.16.0
|
|
21
|
+
|
|
22
|
+
### Minor Changes
|
|
23
|
+
|
|
24
|
+
- ff2dec3: `file-upload` : possibilité d'avoir une zone de glisser-déposer
|
|
25
|
+
`alert` : ajout d'un attribut pour modifier la taille
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- 7f5bebc: `input-phone` : correction de la réinitialisation des valeurs
|
|
30
|
+
- f5670bd: `tag` : Agrandissement de la cible du bouton de suppression. Application des bonnes pratiques écoconception web.
|
|
31
|
+
- c9e7208: `badge` : application des bonnes pratiques écoconception web
|
|
32
|
+
|
|
3
33
|
## 2.15.0
|
|
4
34
|
|
|
5
35
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -1,3 +1,32 @@
|
|
|
1
1
|
# Design System de l'Autonomie - Web Components
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
La documention est consultable [ici](https://dsa.service-public-autonomie.fr).
|
|
4
|
+
|
|
5
|
+
## Metrics CLI
|
|
6
|
+
|
|
7
|
+
Compter l'usage des balises `<dsa-*>` dans un projet.
|
|
8
|
+
|
|
9
|
+
Ou lancer la commande:
|
|
10
|
+
|
|
11
|
+
- Lancer depuis la racine du projet a analyser (recommande), afin de scanner le dossier courant.
|
|
12
|
+
- Lancer depuis un autre dossier en le precisant avec `--path`.
|
|
13
|
+
|
|
14
|
+
Exemples:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
# Lancer a la racine du projet a analyser
|
|
18
|
+
npx @ds-autonomie/web-components metrics
|
|
19
|
+
|
|
20
|
+
# Scanner uniquement un sous-dossier
|
|
21
|
+
npx @ds-autonomie/web-components metrics --path ./src
|
|
22
|
+
|
|
23
|
+
# Limiter les extensions scannees
|
|
24
|
+
npx @ds-autonomie/web-components metrics --path ./src --extensions html,ts,tsx
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Options:
|
|
28
|
+
|
|
29
|
+
- `-p, --path <dir>`: dossier racine a scanner (defaut: `.`)
|
|
30
|
+
- `-e, --extensions <liste>`: extensions a scanner, separees par des virgules
|
|
31
|
+
- `--json`: sortie JSON pour traitement automatique
|
|
32
|
+
- `-h, --help`: aide
|
package/bin/cli.js
ADDED
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import chalk from 'chalk';
|
|
3
|
+
import fs from 'node:fs/promises';
|
|
4
|
+
import path from 'node:path';
|
|
5
|
+
import process from 'node:process';
|
|
6
|
+
import ora from 'ora';
|
|
7
|
+
|
|
8
|
+
const DEFAULT_EXTENSIONS = [
|
|
9
|
+
'.html',
|
|
10
|
+
'.htm',
|
|
11
|
+
'.js',
|
|
12
|
+
'.jsx',
|
|
13
|
+
'.ts',
|
|
14
|
+
'.tsx',
|
|
15
|
+
'.vue',
|
|
16
|
+
'.svelte',
|
|
17
|
+
'.md',
|
|
18
|
+
'.mdx',
|
|
19
|
+
'.astro',
|
|
20
|
+
];
|
|
21
|
+
|
|
22
|
+
const DEFAULT_IGNORED_DIRS = new Set([
|
|
23
|
+
'node_modules',
|
|
24
|
+
'.git',
|
|
25
|
+
'dist',
|
|
26
|
+
'build',
|
|
27
|
+
'out',
|
|
28
|
+
'.next',
|
|
29
|
+
'.nuxt',
|
|
30
|
+
'coverage',
|
|
31
|
+
'.turbo',
|
|
32
|
+
'storybook-static',
|
|
33
|
+
]);
|
|
34
|
+
|
|
35
|
+
const args = process.argv.slice(2);
|
|
36
|
+
const command = args[0];
|
|
37
|
+
|
|
38
|
+
if (
|
|
39
|
+
!command ||
|
|
40
|
+
command === 'help' ||
|
|
41
|
+
command === '--help' ||
|
|
42
|
+
command === '-h'
|
|
43
|
+
) {
|
|
44
|
+
printUsage();
|
|
45
|
+
process.exit(0);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
if (command !== 'metrics') {
|
|
49
|
+
printUsage(`Unknown command: ${command}`);
|
|
50
|
+
process.exit(1);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
const options = parseOptions(args.slice(1));
|
|
54
|
+
const rootDir = path.resolve(process.cwd(), options.root);
|
|
55
|
+
const spinner = createSpinner(options);
|
|
56
|
+
const analysisDate = new Date().toISOString();
|
|
57
|
+
|
|
58
|
+
try {
|
|
59
|
+
const extensions = options.extensions.length
|
|
60
|
+
? options.extensions
|
|
61
|
+
: DEFAULT_EXTENSIONS;
|
|
62
|
+
const files = await runTask('Scanning files', () =>
|
|
63
|
+
collectFiles(rootDir, new Set(extensions), DEFAULT_IGNORED_DIRS)
|
|
64
|
+
);
|
|
65
|
+
const results = await runTask('Counting <dsa-*> tags', () =>
|
|
66
|
+
countDsaTags(files)
|
|
67
|
+
);
|
|
68
|
+
const dsaPackages = await readDsaPackageVersions(rootDir);
|
|
69
|
+
|
|
70
|
+
if (options.json) {
|
|
71
|
+
console.log(
|
|
72
|
+
JSON.stringify(
|
|
73
|
+
{
|
|
74
|
+
analysisDate,
|
|
75
|
+
root: rootDir,
|
|
76
|
+
dsaPackages,
|
|
77
|
+
filesScanned: results.filesScanned,
|
|
78
|
+
totalTags: results.totalTags,
|
|
79
|
+
uniqueComponents: results.uniqueComponents,
|
|
80
|
+
components: results.components,
|
|
81
|
+
},
|
|
82
|
+
null,
|
|
83
|
+
2
|
|
84
|
+
)
|
|
85
|
+
);
|
|
86
|
+
} else {
|
|
87
|
+
printReport(rootDir, analysisDate, results, dsaPackages);
|
|
88
|
+
}
|
|
89
|
+
} catch (error) {
|
|
90
|
+
console.error(chalk.red('Error while running metrics.'));
|
|
91
|
+
console.error(chalk.red(error instanceof Error ? error.message : error));
|
|
92
|
+
process.exit(1);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
function parseOptions(rawArgs) {
|
|
96
|
+
const parsedOptions = {
|
|
97
|
+
root: '.',
|
|
98
|
+
extensions: [],
|
|
99
|
+
json: false,
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
for (let i = 0; i < rawArgs.length; i += 1) {
|
|
103
|
+
const arg = rawArgs[i];
|
|
104
|
+
|
|
105
|
+
if (arg === '--path' || arg === '-p') {
|
|
106
|
+
parsedOptions.root = rawArgs[i + 1] || '.';
|
|
107
|
+
i += 1;
|
|
108
|
+
continue;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
if (arg === '--extensions' || arg === '-e') {
|
|
112
|
+
const value = rawArgs[i + 1] || '';
|
|
113
|
+
parsedOptions.extensions = value
|
|
114
|
+
.split(',')
|
|
115
|
+
.map((ext) => ext.trim())
|
|
116
|
+
.filter(Boolean)
|
|
117
|
+
.map((ext) => (ext.startsWith('.') ? ext : `.${ext}`));
|
|
118
|
+
i += 1;
|
|
119
|
+
continue;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
if (arg === '--json') {
|
|
123
|
+
parsedOptions.json = true;
|
|
124
|
+
continue;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
if (arg === '--help' || arg === '-h') {
|
|
128
|
+
printUsage();
|
|
129
|
+
process.exit(0);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
return parsedOptions;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
async function collectFiles(dir, extensions, ignoredDirs) {
|
|
137
|
+
const files = [];
|
|
138
|
+
await walkDir(dir, files, extensions, ignoredDirs);
|
|
139
|
+
return files;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
async function walkDir(currentDir, files, extensions, ignoredDirs) {
|
|
143
|
+
let entries;
|
|
144
|
+
try {
|
|
145
|
+
entries = await fs.readdir(currentDir, { withFileTypes: true });
|
|
146
|
+
} catch (error) {
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
for (const entry of entries) {
|
|
151
|
+
if (entry.isSymbolicLink()) {
|
|
152
|
+
continue;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
const fullPath = path.join(currentDir, entry.name);
|
|
156
|
+
|
|
157
|
+
if (entry.isDirectory()) {
|
|
158
|
+
if (ignoredDirs.has(entry.name)) {
|
|
159
|
+
continue;
|
|
160
|
+
}
|
|
161
|
+
await walkDir(fullPath, files, extensions, ignoredDirs);
|
|
162
|
+
continue;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
if (!entry.isFile()) {
|
|
166
|
+
continue;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
if (extensions.has(path.extname(entry.name).toLowerCase())) {
|
|
170
|
+
files.push(fullPath);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
async function countDsaTags(files) {
|
|
176
|
+
const tagRegex = /<\s*dsa-[a-z0-9-]+(?=[\s/>])/gi;
|
|
177
|
+
const counts = new Map();
|
|
178
|
+
let filesScanned = 0;
|
|
179
|
+
let totalTags = 0;
|
|
180
|
+
|
|
181
|
+
for (const file of files) {
|
|
182
|
+
let contents;
|
|
183
|
+
try {
|
|
184
|
+
contents = await fs.readFile(file, 'utf8');
|
|
185
|
+
} catch (error) {
|
|
186
|
+
continue;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
filesScanned += 1;
|
|
190
|
+
const matches = contents.match(tagRegex) || [];
|
|
191
|
+
|
|
192
|
+
for (const match of matches) {
|
|
193
|
+
const tagName = match.replace(/^<\s*/u, '').toLowerCase();
|
|
194
|
+
counts.set(tagName, (counts.get(tagName) || 0) + 1);
|
|
195
|
+
totalTags += 1;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
const sorted = Array.from(counts.entries()).sort((a, b) => {
|
|
200
|
+
if (b[1] !== a[1]) return b[1] - a[1];
|
|
201
|
+
return a[0].localeCompare(b[0]);
|
|
202
|
+
});
|
|
203
|
+
|
|
204
|
+
return {
|
|
205
|
+
filesScanned,
|
|
206
|
+
totalTags,
|
|
207
|
+
uniqueComponents: counts.size,
|
|
208
|
+
components: Object.fromEntries(sorted),
|
|
209
|
+
};
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
function printReport(dir, date, results, dsaPackages) {
|
|
213
|
+
console.log(chalk.bold('DSA component metrics'));
|
|
214
|
+
console.log(`${chalk.cyan('Analysis date:')} ${date}`);
|
|
215
|
+
console.log(`${chalk.cyan('Root:')} ${dir}`);
|
|
216
|
+
printPackageVersions(dsaPackages);
|
|
217
|
+
console.log(`${chalk.cyan('Files scanned:')} ${results.filesScanned}`);
|
|
218
|
+
console.log(`${chalk.cyan('Total tags:')} ${results.totalTags}`);
|
|
219
|
+
console.log(
|
|
220
|
+
`${chalk.cyan('Unique components:')} ${results.uniqueComponents}`
|
|
221
|
+
);
|
|
222
|
+
|
|
223
|
+
const entries = Object.entries(results.components);
|
|
224
|
+
if (!entries.length) {
|
|
225
|
+
console.log(chalk.yellow('No <dsa-> components found.'));
|
|
226
|
+
return;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
console.log('');
|
|
230
|
+
console.log('Counts:');
|
|
231
|
+
for (const [tag, count] of entries) {
|
|
232
|
+
console.log(`- ${tag}: ${count}`);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
function printUsage(errorMessage) {
|
|
237
|
+
if (errorMessage) {
|
|
238
|
+
console.error(chalk.red(errorMessage));
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
console.log('Usage: npx @ds-autonomie/web-components metrics [options]');
|
|
242
|
+
console.log('');
|
|
243
|
+
console.log('Options:');
|
|
244
|
+
console.log(' -p, --path <dir> Root directory to scan (default: .)');
|
|
245
|
+
console.log(' -e, --extensions <list> Comma-separated extensions to scan');
|
|
246
|
+
console.log(' --json Output JSON');
|
|
247
|
+
console.log(' -h, --help Show help');
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
async function readDsaPackageVersions(dir) {
|
|
251
|
+
const packagePath = path.join(dir, 'package.json');
|
|
252
|
+
let raw;
|
|
253
|
+
|
|
254
|
+
try {
|
|
255
|
+
raw = await fs.readFile(packagePath, 'utf8');
|
|
256
|
+
} catch (error) {
|
|
257
|
+
return {};
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
let data;
|
|
261
|
+
try {
|
|
262
|
+
data = JSON.parse(raw);
|
|
263
|
+
} catch (error) {
|
|
264
|
+
return {};
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
const merged = {
|
|
268
|
+
...data.dependencies,
|
|
269
|
+
...data.devDependencies,
|
|
270
|
+
...data.peerDependencies,
|
|
271
|
+
...data.optionalDependencies,
|
|
272
|
+
};
|
|
273
|
+
|
|
274
|
+
const entries = Object.entries(merged || {}).filter(([name]) =>
|
|
275
|
+
name.startsWith('@ds-autonomie/')
|
|
276
|
+
);
|
|
277
|
+
|
|
278
|
+
if (!entries.length) {
|
|
279
|
+
return {};
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
entries.sort((a, b) => a[0].localeCompare(b[0]));
|
|
283
|
+
return Object.fromEntries(entries);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
function printPackageVersions(dsaPackages) {
|
|
287
|
+
if (!dsaPackages || !Object.keys(dsaPackages).length) {
|
|
288
|
+
console.log(`${chalk.cyan('DSA packages:')} none found`);
|
|
289
|
+
return;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
console.log(chalk.cyan('DSA packages:'));
|
|
293
|
+
for (const [name, version] of Object.entries(dsaPackages)) {
|
|
294
|
+
console.log(`- ${name}: ${version}`);
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
function createSpinner(spinnerOptions) {
|
|
299
|
+
if (spinnerOptions.json || !process.stdout.isTTY) {
|
|
300
|
+
return null;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
return ora({ hideCursor: false });
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
async function runTask(label, action) {
|
|
307
|
+
if (!spinner) {
|
|
308
|
+
return await action();
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
spinner.text = label;
|
|
312
|
+
spinner.start();
|
|
313
|
+
|
|
314
|
+
try {
|
|
315
|
+
const result = await action();
|
|
316
|
+
spinner.stop();
|
|
317
|
+
console.log(chalk.green(`✔ ${label}`));
|
|
318
|
+
return result;
|
|
319
|
+
} catch (error) {
|
|
320
|
+
spinner.stop();
|
|
321
|
+
console.error(chalk.red(`✘ ${label}`));
|
|
322
|
+
throw error;
|
|
323
|
+
}
|
|
324
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import{a as C}from"./chunk.W7AY6BP2.js";import{a as b,b as z}from"./chunk.ZA2UO7BF.js";import{a as x}from"./chunk.76OQZSVD.js";import{a as U}from"./chunk.U7X2EV5T.js";import{d,e as f,f as F}from"./chunk.RGOPSYRZ.js";import{a as $}from"./chunk.ZCITPD2M.js";import{a as v}from"./chunk.FX5UP23Z.js";import{a as S}from"./chunk.N4VN25E6.js";import{a as E}from"./chunk.63UE4VAO.js";import{a as m}from"./chunk.NIRNX67K.js";import{b as w}from"./chunk.HJGLYEWV.js";import{c as M}from"./chunk.KD3BHBHK.js";import{a as r}from"./chunk.2RF4WD6T.js";import{d as l}from"./chunk.ZBHHLRFH.js";import{a as p}from"./chunk.BWEPOOQP.js";import{a as P,b as h,c as o,d as y}from"./chunk.KBZ32KWP.js";import{a as c}from"./chunk.GP725TPQ.js";import{a as V,b as k,f as i}from"./chunk.IZ2HVRME.js";var t=class extends ${constructor(){super(...arguments);this.localize=new w(this);this.maskedNumber="";this.phoneConfig=x("+33");this.placeholder=this.phoneConfig.placeholder;this.pattern=this.phoneConfig.pattern;this._isSyncing=!1;this.value="";this.phonePrefix="+33";this.phoneNumber="";this.inputPrefix="";this.placement="bottom-start"}get validity(){let e;return this.phoneNumber.length>0&&(e=this.value.match(this.pattern)!==null),{badInput:this.input.validity.badInput,customError:this.input.validity.customError,patternMismatch:!e,rangeOverflow:this.input.validity.rangeOverflow,rangeUnderflow:this.input.validity.rangeUnderflow,stepMismatch:this.input.validity.stepMismatch,tooLong:this.input.validity.tooLong,tooShort:this.input.validity.tooShort,typeMismatch:this.input.validity.typeMismatch,valid:e!==void 0?e:this.input.validity.valid,valueMissing:this.input.validity.valueMissing}}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value,this.setPhoneFromValue(this.value),this.maskedNumber=f(this.phoneNumber,this.placeholder)}willUpdate(e){e.has("phonePrefix")&&!b.includes(this.phonePrefix)&&(this.phonePrefix=e.get("phonePrefix"))}handleDocumentKeyUp(){let e=d(this.input.value),s=F(e,this.phoneConfig.mask),n=f(s,this.placeholder);this.phoneNumber=s,this.maskedNumber=n,this.input.value=n,this.updateValue(),this.formControlController.updateValidity(),this.emit("dsa-input")}handlePhonePrefixSelectChange(e){e.stopPropagation();let{target:s}=e;s instanceof C&&(this.phonePrefix=s.value,this.updateValue(),this.emit("dsa-change"))}handleInputChange(e){let{target:s}=e;if(s instanceof HTMLInputElement){let n=d(s.value);this.phoneNumber=n,this.updateValue(),this.emit("dsa-change")}}handleClearIconClick(e){this.phonePrefix="+33",this.phoneNumber="",this.emit("dsa-clear"),this.emit("dsa-input"),this.emit("dsa-change"),this.input.focus(),e.stopPropagation()}updateValue(){if(!this._isSyncing){if(this._isSyncing=!0,this.phoneNumber.length===0)this.value="";else{let e=d(this.placeholder).length;this.value=`${this.phonePrefix}${this.phoneNumber.substring(0,e)}`}this._isSyncing=!1}}updatePhoneConfig(){this.phoneConfig=x(this.phonePrefix),this.placeholder=this.phoneConfig.placeholder,this.pattern=this.phoneConfig.pattern}setPhoneFromValue(e){this.value===""&&(this.phonePrefix="+33",this.phoneNumber="");let s=d(this.placeholder).length,n=b.findIndex(a=>e.startsWith(a));if(n>=0){let a=b[n],u=e.replace(a,"").substring(0,s);this.phonePrefix=a,this.phoneNumber=u}}getDescriptionIds(){let e=["input-phone"];return this.error&&(e=[...e,"error-text"]),e=[...e,"help-text","description"],e.join(" ")}handleDisabledChange(){this.disabled?this.phonePrefixEl.setAttribute("disabled",""):this.phonePrefixEl.removeAttribute("disabled"),this.formControlController.setValidity(this.disabled)}async handleValueChange(){this._isSyncing||(this._isSyncing=!0,this.setPhoneFromValue(this.value),this.maskedNumber=f(this.phoneNumber,this.placeholder),await this.updateComplete,this.formControlController.updateValidity(),this._isSyncing=!1)}handlePhonePrefixChange(){this.updatePhoneConfig(),this.updateValue()}handlePhoneNumberChange(){this.updateValue()}checkValidity(){var a;let e=(a=this.input)==null?void 0:a.checkValidity();return this.phoneNumber.length===0?e!=null?e:!1:this.value.match(this.pattern)!==null}reportValidity(){var a;let e=(a=this.input)==null?void 0:a.reportValidity();return this.phoneNumber.length===0?e!=null?e:!1:this.value.match(this.pattern)!==null}renderInput(){var u,_,N;let e=this.hasSlotController.test("label"),s=this.label?!0:!!e,n=this.clearable&&!this.disabled&&!this.readonly&&(typeof this.phoneNumber=="number"||((u=this.phoneNumber)==null?void 0:u.length)>0),a=this.placeholder.substring(this.maskedNumber.length||0);return c`
|
|
2
|
+
<div part="base" class="input-phone__input form-control__field">
|
|
3
|
+
<dsa-select
|
|
4
|
+
id="prefix"
|
|
5
|
+
part="select"
|
|
6
|
+
class=${l({"input-phone__select":!0,"input-phone__select-error":this.error,"input-phone__select-success":this.success&&!this.error})}
|
|
7
|
+
.variant=${v(this.variant)}
|
|
8
|
+
.value=${this.phonePrefix}
|
|
9
|
+
?disabled=${this.disabled}
|
|
10
|
+
?readonly=${this.readonly}
|
|
11
|
+
accessible-name=${this.localize.term("countryCallingCode")}
|
|
12
|
+
.placement=${this.placement}
|
|
13
|
+
hoist
|
|
14
|
+
.size=${this.size}
|
|
15
|
+
@dsa-change=${this.handlePhonePrefixSelectChange}
|
|
16
|
+
enterkeyhint="enter"
|
|
17
|
+
display-value
|
|
18
|
+
no-sync-width
|
|
19
|
+
>
|
|
20
|
+
${z.map(g=>c`
|
|
21
|
+
<dsa-option value=${g.value} .size=${this.size}>
|
|
22
|
+
<dsa-icon
|
|
23
|
+
slot="prefix"
|
|
24
|
+
name="french_flag"
|
|
25
|
+
library="system"
|
|
26
|
+
class="input-phone__flag"
|
|
27
|
+
></dsa-icon>
|
|
28
|
+
${this.localize.term(g.label)} (${g.value})
|
|
29
|
+
</dsa-option>
|
|
30
|
+
`)}
|
|
31
|
+
</dsa-select>
|
|
32
|
+
|
|
33
|
+
<div
|
|
34
|
+
class=${l({"input-phone":!0,"input-phone--error":this.error,"input-phone--success":this.success&&!this.error,"input-phone--on-layer":this.variant==="layer","input-phone--on-base":this.variant==="base","input-phone--disabled":this.disabled,"input-phone--readonly":this.readonly,"input-phone--focused":this.hasFocus,"input-phone--empty":this.phoneNumber===""})}
|
|
35
|
+
>
|
|
36
|
+
<span>${this.inputPrefix}</span>
|
|
37
|
+
|
|
38
|
+
<div class="input-phone__mask">
|
|
39
|
+
<div
|
|
40
|
+
class=${l({"input-phone__placeholder":!0})}
|
|
41
|
+
aria-placeholder=${a}
|
|
42
|
+
aria-hidden="true"
|
|
43
|
+
>
|
|
44
|
+
<span class="input-phone__value" aria-hidden="true">
|
|
45
|
+
${this.maskedNumber}</span
|
|
46
|
+
>
|
|
47
|
+
${a}
|
|
48
|
+
</div>
|
|
49
|
+
|
|
50
|
+
<input
|
|
51
|
+
part="input"
|
|
52
|
+
id="input"
|
|
53
|
+
class=${l({"input-phone__control":!0})}
|
|
54
|
+
type="text"
|
|
55
|
+
title=${m(s?void 0:(_=this.accessibleName)!=null?_:this.title)}
|
|
56
|
+
name=${m(this.name)}
|
|
57
|
+
?disabled=${this.disabled}
|
|
58
|
+
?readonly=${this.readonly}
|
|
59
|
+
aria-disabled=${r(this.readonly?"true":void 0)}
|
|
60
|
+
?required=${this.required}
|
|
61
|
+
minlength=${r(this.placeholder.length)}
|
|
62
|
+
maxlength=${r(this.placeholder.length)}
|
|
63
|
+
size=${r(this.placeholder.length)}
|
|
64
|
+
placeholder=${r(this.placeholder)}
|
|
65
|
+
.value=${v(this.maskedNumber)}
|
|
66
|
+
autocomplete="tel-national"
|
|
67
|
+
?autofocus=${this.autofocus}
|
|
68
|
+
enterkeyhint=${r(this.enterkeyhint)}
|
|
69
|
+
inputmode="tel"
|
|
70
|
+
aria-label=${m(s?void 0:(N=this.accessibleName)!=null?N:this.title)}
|
|
71
|
+
aria-describedby=${this.getDescriptionIds()}
|
|
72
|
+
aria-invalid=${r(this.error?"true":void 0)}
|
|
73
|
+
@change=${this.handleInputChange}
|
|
74
|
+
@keyup=${this.handleDocumentKeyUp}
|
|
75
|
+
@keydown=${this.handleKeyDown}
|
|
76
|
+
@focus=${this.handleFocus}
|
|
77
|
+
@blur=${this.handleBlur}
|
|
78
|
+
@invalid=${this.handleInvalid}
|
|
79
|
+
/>
|
|
80
|
+
</div>
|
|
81
|
+
${n?c`
|
|
82
|
+
<dsa-icon-button
|
|
83
|
+
part="clear-button"
|
|
84
|
+
class="input-phone__clear"
|
|
85
|
+
label=${this.localize.term("clearEntry")}
|
|
86
|
+
@click=${this.handleClearIconClick}
|
|
87
|
+
name="close"
|
|
88
|
+
library="system"
|
|
89
|
+
>
|
|
90
|
+
</dsa-icon-button>
|
|
91
|
+
`:""}
|
|
92
|
+
</div>
|
|
93
|
+
</div>
|
|
94
|
+
`}};t.styles=U,t.dependencies=k(V({},$.dependencies),{"dsa-icon":M,"dsa-icon-button":E,"dsa-option":S,"dsa-select":C}),i([y(".input-phone__control")],t.prototype,"input",2),i([y(".input-phone__select")],t.prototype,"phonePrefixEl",2),i([o()],t.prototype,"maskedNumber",2),i([o()],t.prototype,"phoneConfig",2),i([o()],t.prototype,"placeholder",2),i([o()],t.prototype,"pattern",2),i([h()],t.prototype,"value",2),i([h({attribute:!1})],t.prototype,"phonePrefix",2),i([h({attribute:!1})],t.prototype,"phoneNumber",2),i([h({attribute:"input-prefix"})],t.prototype,"inputPrefix",2),i([h({reflect:!0})],t.prototype,"placement",2),i([p("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),i([p("value")],t.prototype,"handleValueChange",1),i([p("phonePrefix",{waitUntilFirstUpdate:!0})],t.prototype,"handlePhonePrefixChange",1),i([p("phoneNumber",{waitUntilFirstUpdate:!0})],t.prototype,"handlePhoneNumberChange",1),t=i([P("dsa-input-phone")],t);export{t as a};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import{a as v}from"./chunk.NPIFJCS3.js";import{a as E}from"./chunk.CUYQOZPJ.js";import{a as d}from"./chunk.KLRPP4NQ.js";import{a as r,c as l}from"./chunk.HHVNQNCC.js";import{a as h,c as p}from"./chunk.TV2TMO2H.js";import{c as w}from"./chunk.GM4KTNXL.js";import{d as y}from"./chunk.ZBHHLRFH.js";import{a}from"./chunk.BWEPOOQP.js";import{a as f,b as s,d as o,f as b}from"./chunk.KBZ32KWP.js";import{a as g}from"./chunk.GP725TPQ.js";import{f as n}from"./chunk.IZ2HVRME.js";var t=class extends b{constructor(){super(...arguments);this.localize=new w(this);this.open=!1;this.placement="bottom-start";this.disabled=!1;this.skidding=0;this.hoist=!1;this.closePanelOnClick=!1}connectedCallback(){super.connectedCallback(),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.handleDocumentMouseDown=this.handleDocumentMouseDown.bind(this),this.containingElement||(this.containingElement=this)}firstUpdated(){this.panel.hidden=!this.open,this.open&&(this.addOpenListeners(),this.popup.active=!0)}disconnectedCallback(){super.disconnectedCallback(),this.removeOpenListeners(),this.hide()}focusOnTrigger(){let e=this.trigger.assignedElements({flatten:!0})[0];typeof(e==null?void 0:e.focus)=="function"&&e.focus()}handleKeyDown(e){this.open&&e.key==="Escape"&&(e.stopPropagation(),this.hide(),this.focusOnTrigger())}handleDocumentKeyDown(e){if(e.key==="Escape"&&this.open){e.stopPropagation(),this.focusOnTrigger(),this.hide();return}e.key==="Tab"&&setTimeout(()=>{var c,u,m;let i=((c=this.containingElement)==null?void 0:c.getRootNode())instanceof ShadowRoot?(m=(u=document.activeElement)==null?void 0:u.shadowRoot)==null?void 0:m.activeElement:document.activeElement;(!this.containingElement||(i==null?void 0:i.closest(this.containingElement.tagName.toLowerCase()))!==this.containingElement)&&this.hide()})}handleDocumentMouseDown(e){let i=e.composedPath();this.containingElement&&!i.includes(this.containingElement)&&this.hide()}handleTriggerClick(){this.open?this.hide():(this.show(),this.focusOnTrigger())}handleTriggerKeyDown(e){[" ","Enter"].includes(e.key)&&(e.preventDefault(),this.handleTriggerClick())}handleTriggerKeyUp(e){e.key===" "&&e.preventDefault()}handleTriggerSlotChange(){this.handleDisabledChange(),this.updateAccessibleTrigger()}handlePanelClick(){this.closePanelOnClick&&(this.open=!1)}getTrigger(){return this.trigger.assignedElements({flatten:!0})[0]}handleDisabledChange(){let e=this.getTrigger();(e.tagName.toLowerCase()==="dsa-button"||e.tagName.toLowerCase()==="dsa-icon-button")&&(e.disabled=this.disabled)}updateAccessibleTrigger(){let e=this.getTrigger(),i;if(e){switch(e.tagName.toLowerCase()){case"dsa-button":case"dsa-icon-button":case"dsa-profile-button":i=e.button;break;default:i=e}i.setAttribute("aria-expanded",this.open?"true":"false")}}async show(){if(!this.open)return this.open=!0,await d(this,"dsa-after-show")}async hide(){if(this.open)return this.open=!1,await d(this,"dsa-after-hide")}reposition(){this.popup.reposition()}addOpenListeners(){this.panel.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keydown",this.handleDocumentKeyDown),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){this.panel&&this.panel.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keydown",this.handleDocumentKeyDown),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}async handleOpenChange(){if(this.disabled){this.open=!1;return}if(this.updateAccessibleTrigger(),this.open){this.emit("dsa-show"),this.addOpenListeners(),await l(this),this.panel.hidden=!1,this.popup.active=!0;let{keyframes:e,options:i}=p(this,"dropdown.show",{dir:this.localize.dir()});await r(this.popup.popup,e,i),this.emit("dsa-after-show")}else{this.emit("dsa-hide"),this.removeOpenListeners(),await l(this);let{keyframes:e,options:i}=p(this,"dropdown.hide",{dir:this.localize.dir()});await r(this.popup.popup,e,i),this.panel.hidden=!0,this.popup.active=!1,this.emit("dsa-after-hide")}}render(){return g`
|
|
2
|
+
<dsa-popup
|
|
3
|
+
part="base"
|
|
4
|
+
placement=${this.placement}
|
|
5
|
+
skidding=${this.skidding}
|
|
6
|
+
strategy=${this.hoist?"fixed":"absolute"}
|
|
7
|
+
distance="4"
|
|
8
|
+
flip
|
|
9
|
+
shift
|
|
10
|
+
auto-size="vertical"
|
|
11
|
+
auto-size-padding="10"
|
|
12
|
+
class=${y({dropdown:!0,"dropdown--open":this.open,"dropdown--disabled":this.disabled})}
|
|
13
|
+
>
|
|
14
|
+
<slot
|
|
15
|
+
name="trigger"
|
|
16
|
+
slot="anchor"
|
|
17
|
+
part="trigger"
|
|
18
|
+
class="dropdown__trigger"
|
|
19
|
+
@click=${this.handleTriggerClick}
|
|
20
|
+
@keydown=${this.handleTriggerKeyDown}
|
|
21
|
+
@keyup=${this.handleTriggerKeyUp}
|
|
22
|
+
@slotchange=${this.handleTriggerSlotChange}
|
|
23
|
+
></slot>
|
|
24
|
+
|
|
25
|
+
<slot
|
|
26
|
+
part="panel"
|
|
27
|
+
class="dropdown__panel"
|
|
28
|
+
@click=${this.handlePanelClick}
|
|
29
|
+
></slot>
|
|
30
|
+
</dsa-popup>
|
|
31
|
+
`}};t.styles=v,t.dependencies={"dsa-popup":E},n([o(".dropdown")],t.prototype,"popup",2),n([o(".dropdown__trigger")],t.prototype,"trigger",2),n([o(".dropdown__panel")],t.prototype,"panel",2),n([s({type:Boolean,reflect:!0})],t.prototype,"open",2),n([s({reflect:!0})],t.prototype,"placement",2),n([s({type:Boolean,reflect:!0})],t.prototype,"disabled",2),n([s({attribute:!1})],t.prototype,"containingElement",2),n([s({type:Number})],t.prototype,"skidding",2),n([s({type:Boolean})],t.prototype,"hoist",2),n([s({type:Boolean,attribute:"close-panel-on-click"})],t.prototype,"closePanelOnClick",2),n([a("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),n([a("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),t=n([f("dsa-dropdown")],t);h("dropdown.show",{keyframes:[{opacity:0,scale:.9},{opacity:1,scale:1}],options:{duration:100,easing:"ease"}});h("dropdown.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.9}],options:{duration:100,easing:"ease"}});export{t as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as t}from"./chunk.FDMPUSVV.js";import{
|
|
1
|
+
import{a as v}from"./chunk.WYKFMOCB.js";import{a as u}from"./chunk.H46NZIZH.js";import{a as p}from"./chunk.ELL45QD3.js";import{b as t}from"./chunk.FDMPUSVV.js";import{c as h}from"./chunk.KD3BHBHK.js";import{a as o}from"./chunk.2RF4WD6T.js";import{d as i}from"./chunk.ZBHHLRFH.js";import{a as b}from"./chunk.BWEPOOQP.js";import{b as r,d,f as n}from"./chunk.KBZ32KWP.js";import{a as s}from"./chunk.6G2FNLAV.js";import{f as a}from"./chunk.IZ2HVRME.js";var f=s`
|
|
2
2
|
:host {
|
|
3
3
|
display: inline-block;
|
|
4
4
|
position: relative;
|
|
@@ -143,7 +143,7 @@ import{b as t}from"./chunk.FDMPUSVV.js";import{d as i}from"./chunk.ZBHHLRFH.js";
|
|
|
143
143
|
.selectable-card--contrasted-borders {
|
|
144
144
|
border-color: var(--dsa-wc-card-border-color-contrasted);
|
|
145
145
|
}
|
|
146
|
-
`;var e=class extends n{constructor(){super(...arguments);this.checked=!1;this.disabled=!1;this.parentDisabled=!1;this.readonly=!1;this.parentReadonly=!1;this.error=!1;this.layout="horizontal";this.contrastedBorders=!1}handleClick(){}handleBlur(){this.emit("dsa-blur")}handleFocus(){this.emit("dsa-focus")}handleDisabledChange(){this.readonly||this.parentReadonly?this.button.setAttribute("aria-disabled","true"):this.button.removeAttribute("aria-disabled")}focus(c){this.button.focus(c)}blur(){this.button.blur()}render(){let c=this.disabled||this.parentDisabled,l=this.readonly||this.parentReadonly;return t`
|
|
146
|
+
`;var e=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"image");this.checked=!1;this.disabled=!1;this.parentDisabled=!1;this.readonly=!1;this.parentReadonly=!1;this.error=!1;this.layout="horizontal";this.contrastedBorders=!1}handleClick(){}handleBlur(){this.emit("dsa-blur")}handleFocus(){this.emit("dsa-focus")}handleDisabledChange(){this.readonly||this.parentReadonly?this.button.setAttribute("aria-disabled","true"):this.button.removeAttribute("aria-disabled")}focus(c){this.button.focus(c)}blur(){this.button.blur()}render(){let c=this.disabled||this.parentDisabled,l=this.readonly||this.parentReadonly;return t`
|
|
147
147
|
<div part="base">
|
|
148
148
|
<button
|
|
149
149
|
part="${`button${this.checked?" selectable-card--checked":""}`}"
|
|
@@ -177,7 +177,7 @@ import{b as t}from"./chunk.FDMPUSVV.js";import{d as i}from"./chunk.ZBHHLRFH.js";
|
|
|
177
177
|
`}
|
|
178
178
|
|
|
179
179
|
<div class="selectable-card__content">
|
|
180
|
-
${this.layout==="vertical"?t`
|
|
180
|
+
${this.layout==="vertical"&&this.hasSlotController.test("image")?t`
|
|
181
181
|
<slot
|
|
182
182
|
name="image"
|
|
183
183
|
part="image"
|
|
@@ -202,4 +202,4 @@ import{b as t}from"./chunk.FDMPUSVV.js";import{d as i}from"./chunk.ZBHHLRFH.js";
|
|
|
202
202
|
</div>
|
|
203
203
|
</button>
|
|
204
204
|
</div>
|
|
205
|
-
`}};e.styles=h,a([d(".selectable-card")],e.prototype,"button",2),a([r({type:Boolean,reflect:!0})],e.prototype,"checked",2),a([r()],e.prototype,"value",2),a([r({type:Boolean,reflect:!0})],e.prototype,"disabled",2),a([r({type:Boolean})],e.prototype,"parentDisabled",2),a([r({type:Boolean,reflect:!0})],e.prototype,"readonly",2),a([r({type:Boolean})],e.prototype,"parentReadonly",2),a([r({type:Boolean})],e.prototype,"error",2),a([r()],e.prototype,"layout",2),a([r({type:Boolean,reflect:!0,attribute:"contrasted-borders"})],e.prototype,"contrastedBorders",2),a([b(["readonly","parentReadonly"],{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1);export{e as a};
|
|
205
|
+
`}};e.styles=f,e.dependencies={"dsa-icon":h,"dsa-internal-radio-icon":v,"dsa-internal-checkbox-box":u},a([d(".selectable-card")],e.prototype,"button",2),a([r({type:Boolean,reflect:!0})],e.prototype,"checked",2),a([r()],e.prototype,"value",2),a([r({type:Boolean,reflect:!0})],e.prototype,"disabled",2),a([r({type:Boolean})],e.prototype,"parentDisabled",2),a([r({type:Boolean,reflect:!0})],e.prototype,"readonly",2),a([r({type:Boolean})],e.prototype,"parentReadonly",2),a([r({type:Boolean})],e.prototype,"error",2),a([r()],e.prototype,"layout",2),a([r({type:Boolean,reflect:!0,attribute:"contrasted-borders"})],e.prototype,"contrastedBorders",2),a([b(["readonly","parentReadonly"],{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1);export{e as a};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import{a as k}from"./chunk.RUVWVGYN.js";import{a as _}from"./chunk.ELL45QD3.js";import{a as l}from"./chunk.KLRPP4NQ.js";import{a as n,c as d,d as h}from"./chunk.HHVNQNCC.js";import{a as c,c as m}from"./chunk.TV2TMO2H.js";import{a as g}from"./chunk.B4KFHYLS.js";import{c as v}from"./chunk.GM4KTNXL.js";import{c as b}from"./chunk.KD3BHBHK.js";import{d as u}from"./chunk.ZBHHLRFH.js";import{a as w}from"./chunk.BWEPOOQP.js";import{a as y,b as i,d as o,f}from"./chunk.KBZ32KWP.js";import{a as p}from"./chunk.GP725TPQ.js";import{f as a}from"./chunk.IZ2HVRME.js";var e=class extends f{constructor(){super(...arguments);this.localize=new v(this);this.hasSlotController=new _(this,"summary");this.open=!1;this.role="listitem"}firstUpdated(){this.body.hidden=!this.open,this.body.style.height=this.open?"auto":"0"}handleSummaryClick(){this.open?this.hide():this.show(),this.headerButton.focus()}handleSummaryKeyDown(t){(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),this.open?this.hide():this.show()),(t.key==="ArrowUp"||t.key==="ArrowLeft")&&(t.preventDefault(),this.hide()),(t.key==="ArrowDown"||t.key==="ArrowRight")&&(t.preventDefault(),this.show())}async handleOpenChange(){if(this.open){if(this.emit("dsa-show",{cancelable:!0}).defaultPrevented){this.open=!1;return}await d(this.body),this.body.hidden=!1;let{keyframes:s,options:r}=m(this,"accordion.show",{dir:this.localize.dir()});await n(this.body,h(s,this.body.scrollHeight),r),this.body.style.height="auto",this.emit("dsa-after-show")}else{if(this.emit("dsa-hide",{cancelable:!0}).defaultPrevented){this.open=!0;return}await d(this.body);let{keyframes:s,options:r}=m(this,"accordion.hide",{dir:this.localize.dir()});await n(this.body,h(s,this.body.scrollHeight),r),this.body.hidden=!0,this.body.style.height="auto",this.emit("dsa-after-hide")}}async show(){if(!this.open)return this.open=!0,await l(this,"dsa-after-show")}async hide(){if(this.open)return this.open=!1,await l(this,"dsa-after-hide")}render(){return!this.summary&&!this.hasSlotController.test("summary")&&g("<dsa-card-nav-accordion> requires a summary attribute or a summary slot for accessibility"),p`
|
|
2
|
+
<div
|
|
3
|
+
part="base"
|
|
4
|
+
class=${u({"card-nav-accordion":!0,"card-nav-accordion--open":this.open,"card-nav-accordion--chevron":!0})}
|
|
5
|
+
>
|
|
6
|
+
<div part="header" id="header" class="card-nav-accordion__header">
|
|
7
|
+
<span
|
|
8
|
+
role="button"
|
|
9
|
+
aria-expanded=${this.open?"true":"false"}
|
|
10
|
+
aria-controls="content"
|
|
11
|
+
@click=${this.handleSummaryClick}
|
|
12
|
+
@keydown=${this.handleSummaryKeyDown}
|
|
13
|
+
class="card-nav-accordion__header-button"
|
|
14
|
+
tabindex="0"
|
|
15
|
+
>
|
|
16
|
+
<slot name="summary" class="card-nav-accordion__summary"
|
|
17
|
+
>${this.summary}</slot
|
|
18
|
+
>
|
|
19
|
+
|
|
20
|
+
<span part="summary-icon" class="card-nav-accordion__summary-icon">
|
|
21
|
+
<dsa-icon
|
|
22
|
+
class="card-nav-accordion__expand-icon"
|
|
23
|
+
name="expand_more"
|
|
24
|
+
library="system"
|
|
25
|
+
></dsa-icon>
|
|
26
|
+
</span>
|
|
27
|
+
</span>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<div
|
|
31
|
+
class="card-nav-accordion__body"
|
|
32
|
+
role="list"
|
|
33
|
+
aria-labelledby="header"
|
|
34
|
+
>
|
|
35
|
+
<slot
|
|
36
|
+
part="content"
|
|
37
|
+
id="content"
|
|
38
|
+
class="card-nav-accordion__content"
|
|
39
|
+
></slot>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
`}};e.styles=k,e.dependencies={"dsa-icon":b},a([o(".card-nav-accordion")],e.prototype,"accordion",2),a([o(".card-nav-accordion__header-button")],e.prototype,"headerButton",2),a([o(".card-nav-accordion__body")],e.prototype,"body",2),a([i({type:Boolean,reflect:!0})],e.prototype,"open",2),a([i()],e.prototype,"summary",2),a([i({reflect:!0})],e.prototype,"role",2),a([w("open",{waitUntilFirstUpdate:!0})],e.prototype,"handleOpenChange",1),e=a([y("dsa-card-nav-accordion")],e);c("accordion.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:250,easing:"linear"}});c("accordion.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:250,easing:"linear"}});export{e as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as n}from"./chunk.3FJ6JVEK.js";import{c as m}from"./chunk.
|
|
1
|
+
import{a as n}from"./chunk.3FJ6JVEK.js";import{c as m}from"./chunk.GM4KTNXL.js";import{a as o,d as s,f as i}from"./chunk.KBZ32KWP.js";import{a as l}from"./chunk.GP725TPQ.js";import{f as r}from"./chunk.IZ2HVRME.js";var e=class extends i{constructor(){super(...arguments);this.localize=new m(this)}handleSlotChange(){let a=[...this.defaultSlot.assignedElements({flatten:!0})].filter(t=>t.tagName.toLowerCase()==="dsa-breadcrumb-item");a.forEach((t,c)=>{c===a.length-1?t.setAttribute("aria-current","page"):t.removeAttribute("aria-current")})}render(){return l`
|
|
2
2
|
<nav
|
|
3
3
|
part="base"
|
|
4
4
|
aria-label=${this.localize.term("youAreHere")}
|
|
@@ -8,4 +8,4 @@ import{a as n}from"./chunk.3FJ6JVEK.js";import{c as m}from"./chunk.4WOVD75K.js";
|
|
|
8
8
|
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
9
9
|
</div>
|
|
10
10
|
</nav>
|
|
11
|
-
`}};e.styles=n,r([
|
|
11
|
+
`}};e.styles=n,r([s("slot")],e.prototype,"defaultSlot",2),e=r([o("dsa-breadcrumb")],e);export{e as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as p}from"./chunk.SZ2RS6ZH.js";import{a}from"./chunk.NIRNX67K.js";import{
|
|
1
|
+
import{a as p}from"./chunk.SZ2RS6ZH.js";import{a}from"./chunk.NIRNX67K.js";import{a as l}from"./chunk.2RF4WD6T.js";import{d as n}from"./chunk.ZBHHLRFH.js";import{a as s,b as r,d as i,f as m}from"./chunk.KBZ32KWP.js";import{a as o}from"./chunk.GP725TPQ.js";import{f as t}from"./chunk.IZ2HVRME.js";var e=class extends m{constructor(){super(...arguments);this.mobile=!1;this.href="";this.rel="noreferrer noopener"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","listitem")}handleFocus(){this.emit("dsa-focus")}handleBlur(){this.emit("dsa-blur")}render(){return o`
|
|
2
2
|
<a
|
|
3
3
|
class=${n({"navbar-link":!0,"navbar-link--mobile":this.mobile,"navbar-link--desktop":!this.mobile})}
|
|
4
4
|
href=${this.href}
|