@ds-autonomie/web-components 2.21.0 → 2.21.1
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 +11 -0
- package/cdn/chunks/{chunk.5VZFKPSK.js → chunk.24NXLHSI.js} +1 -1
- package/cdn/chunks/{chunk.OZUBIMSO.js → chunk.2ER3NBC5.js} +1 -1
- package/cdn/chunks/{chunk.7T3GRSME.js → chunk.2PBEBWOP.js} +1 -1
- package/cdn/chunks/{chunk.DZNXUAKA.js → chunk.37M4BXLK.js} +1 -1
- package/cdn/chunks/{chunk.OX4H5VZP.js → chunk.3Q73BJS5.js} +1 -1
- package/cdn/chunks/{chunk.3NZ4VRJF.js → chunk.4SRRFJ5K.js} +1 -1
- package/cdn/chunks/{chunk.THBCP6LI.js → chunk.4VPKUUYI.js} +1 -1
- package/cdn/chunks/{chunk.BFOG2B56.js → chunk.5BVWK6K3.js} +1 -1
- package/cdn/chunks/{chunk.JU47KXI6.js → chunk.64XZMZ77.js} +1 -1
- package/cdn/chunks/{chunk.6Y5FKCNR.js → chunk.6B4UFELP.js} +7 -7
- package/cdn/chunks/{chunk.I4AEWSTQ.js → chunk.6EJNSZJR.js} +1 -1
- package/cdn/chunks/{chunk.AHAZYWZF.js → chunk.6VYL37C4.js} +1 -1
- package/cdn/chunks/{chunk.UPUWTQY3.js → chunk.7HT5EWGA.js} +1 -1
- package/cdn/chunks/chunk.7RARSIUW.js +38 -0
- package/cdn/chunks/{chunk.CWRA4UT2.js → chunk.7RM7VDGX.js} +1 -1
- package/cdn/chunks/{chunk.VM2KBACU.js → chunk.AAYMCYCU.js} +1 -1
- package/cdn/chunks/{chunk.LXVTY3UZ.js → chunk.AMOSE5HG.js} +1 -1
- package/cdn/chunks/{chunk.NLFHV3ZO.js → chunk.APXTIKVI.js} +1 -1
- package/cdn/chunks/{chunk.XVTFPCEL.js → chunk.BTHWDYRM.js} +6 -5
- package/cdn/chunks/{chunk.SCA6KI3Y.js → chunk.D52GGKLJ.js} +1 -1
- package/cdn/chunks/chunk.DIMD2VOY.js +23 -0
- package/cdn/chunks/{chunk.J5KWRJTH.js → chunk.DLQV224B.js} +1 -1
- package/cdn/chunks/{chunk.GHH7XYKB.js → chunk.DOFWGC23.js} +1 -1
- package/cdn/chunks/chunk.DQCCNCWD.js +56 -0
- package/cdn/chunks/{chunk.6DSY52TF.js → chunk.DYFOZ46Z.js} +1 -1
- package/cdn/chunks/chunk.E2MXTZP6.js +65 -0
- package/cdn/chunks/{chunk.7DI4X2VG.js → chunk.EYRLG5PX.js} +1 -1
- package/cdn/chunks/{chunk.VCAUYLU6.js → chunk.EZJFC4HU.js} +1 -1
- package/cdn/chunks/{chunk.DGEG6HVV.js → chunk.F2JIMT3T.js} +1 -1
- package/cdn/chunks/{chunk.WDYFEO2Q.js → chunk.FAW4PEMU.js} +3 -3
- package/cdn/chunks/{chunk.DBVKBRPG.js → chunk.FWFZG7TN.js} +1 -1
- package/cdn/chunks/{chunk.CT4MJF6T.js → chunk.GI2AQXQB.js} +1 -1
- package/cdn/chunks/{chunk.OR4BPTYF.js → chunk.H56SHMXX.js} +1 -1
- package/cdn/chunks/{chunk.27RSAF7P.js → chunk.H63LC2FP.js} +1 -1
- package/cdn/chunks/{chunk.LPXI2TGU.js → chunk.HN7OEKVB.js} +1 -1
- package/cdn/chunks/{chunk.UB73V5BI.js → chunk.HYHQBG6T.js} +1 -1
- package/cdn/chunks/{chunk.VRETONIU.js → chunk.HYQVCAH7.js} +1 -1
- package/cdn/chunks/{chunk.A7WF23I3.js → chunk.IBACM3KM.js} +1 -1
- package/cdn/chunks/{chunk.XZWROQBU.js → chunk.IDZ2RBHS.js} +5 -2
- package/cdn/chunks/{chunk.CFJ4QXH4.js → chunk.IXAKCI7U.js} +1 -1
- package/cdn/chunks/{chunk.GNP3HUWO.js → chunk.IZFWLGVN.js} +1 -1
- package/cdn/chunks/{chunk.K6LO352V.js → chunk.IZFZSMNL.js} +1 -1
- package/cdn/chunks/{chunk.M4NNGNSF.js → chunk.L4PDR2XQ.js} +1 -1
- package/cdn/chunks/{chunk.N35G45JG.js → chunk.L7V323CK.js} +1 -1
- package/cdn/chunks/{chunk.353PHEPC.js → chunk.LIHGH26S.js} +1 -1
- package/cdn/chunks/chunk.MU332V37.js +42 -0
- package/cdn/chunks/{chunk.POOZWGH5.js → chunk.MYN44Z6S.js} +1 -1
- package/cdn/chunks/chunk.NHMFB7ET.js +1 -0
- package/cdn/chunks/{chunk.IJ4EFTP2.js → chunk.NUADNBQV.js} +1 -1
- package/cdn/chunks/{chunk.BWWABV2J.js → chunk.NVJC2QTS.js} +1 -1
- package/cdn/chunks/{chunk.MIF4MK3R.js → chunk.NYTHY7TB.js} +1 -1
- package/cdn/chunks/{chunk.RMHUEO6M.js → chunk.OB2C6PTR.js} +1 -1
- package/cdn/chunks/{chunk.ELL45QD3.js → chunk.ODDQO2HD.js} +1 -1
- package/cdn/chunks/{chunk.Z33ITBWZ.js → chunk.ONUDFMLG.js} +8 -8
- package/cdn/chunks/{chunk.TBAF2O5H.js → chunk.OTYLTVBL.js} +1 -1
- package/cdn/chunks/chunk.PAYML2WU.js +20 -0
- package/cdn/chunks/{chunk.OE4QGAVP.js → chunk.PRKWQXS3.js} +1 -1
- package/cdn/chunks/{chunk.FASLFYND.js → chunk.Q5SVZYIN.js} +1 -1
- package/cdn/chunks/{chunk.P5OHHVIZ.js → chunk.QRLWNZCU.js} +1 -1
- package/cdn/chunks/{chunk.I6KH3RXW.js → chunk.QTXLNRFI.js} +1 -1
- package/cdn/chunks/{chunk.OHC3KP3N.js → chunk.RC2F2CPY.js} +1 -1
- package/cdn/chunks/{chunk.OSQWNBGB.js → chunk.RCVYUT4P.js} +1 -1
- package/cdn/chunks/{chunk.B6OZRSZK.js → chunk.RSIWBM4T.js} +1 -1
- package/cdn/chunks/chunk.S3CAREPN.js +18 -0
- package/cdn/chunks/{chunk.YG7EIWOO.js → chunk.TLQIAQRC.js} +1 -1
- package/cdn/chunks/{chunk.AWM5EZRY.js → chunk.TMUGGTVF.js} +1 -1
- package/cdn/chunks/{chunk.UIEL566X.js → chunk.TNPDX6EX.js} +1 -1
- package/cdn/chunks/chunk.TY4KYVHJ.js +27 -0
- package/cdn/chunks/{chunk.4HFX2WWN.js → chunk.UKO4J7PG.js} +1 -1
- package/cdn/chunks/{chunk.AGV4A3YT.js → chunk.UXEA6PSC.js} +1 -1
- package/cdn/chunks/{chunk.UQC4FZQO.js → chunk.UXYCUMRZ.js} +1 -1
- package/cdn/chunks/{chunk.QZ7M6OGO.js → chunk.VILF2M2M.js} +1 -1
- package/cdn/chunks/{chunk.UREKS7QR.js → chunk.VPTZFEPZ.js} +1 -1
- package/cdn/chunks/{chunk.ZQPFBR34.js → chunk.WCHNPFSL.js} +1 -1
- package/cdn/chunks/{chunk.XBO6BPEL.js → chunk.XUW6MAEV.js} +1 -1
- package/cdn/chunks/{chunk.YEEGO6X3.js → chunk.YIFMUGSO.js} +1 -1
- package/cdn/chunks/{chunk.VBIJSQJQ.js → chunk.YQETGEXV.js} +1 -1
- package/cdn/chunks/{chunk.GGN6W46J.js → chunk.ZGGW2XG7.js} +1 -1
- package/cdn/chunks/{chunk.6ETSOBAB.js → chunk.ZOGTB7J7.js} +1 -1
- package/cdn/components/accordion/accordion.js +1 -1
- package/cdn/components/badge/badge.js +1 -1
- package/cdn/components/banner/banner.js +1 -1
- package/cdn/components/breadcrumb-item/breadcrumb-item.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.js +1 -1
- package/cdn/components/callout/callout.styles.js +1 -1
- package/cdn/components/card/card.js +1 -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-accordion/card-nav-accordion.js +1 -1
- package/cdn/components/card-nav-item/card-nav-item.js +1 -1
- package/cdn/components/checkbox/checkbox.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.js +1 -1
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/copy-button/copy-button.js +1 -1
- package/cdn/components/copy-button/copy-button.styles.js +1 -1
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/dropdown/dropdown.js +1 -1
- package/cdn/components/error-message-panel/error-message-panel.js +1 -1
- package/cdn/components/fieldset/fieldset.js +1 -1
- package/cdn/components/file-upload/file-upload.js +1 -1
- package/cdn/components/filter-counter/filter-counter.js +1 -1
- package/cdn/components/filter-date/filter-date.js +1 -1
- package/cdn/components/filter-range/filter-range.js +1 -1
- package/cdn/components/filter-select/filter-select.js +1 -1
- package/cdn/components/footer/footer.js +1 -1
- package/cdn/components/footer-content-block/footer-content-block.js +1 -1
- package/cdn/components/footer-mandatory-mentions/footer-mandatory-mentions.js +1 -1
- package/cdn/components/footer-sitemap/footer-sitemap.js +1 -1
- package/cdn/components/header/header.js +1 -1
- package/cdn/components/header-modern/header-modern.js +1 -1
- package/cdn/components/header-search/header-search.js +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/input-amount/input-amount.js +1 -1
- package/cdn/components/input-date/input-date.js +1 -1
- package/cdn/components/input-mask/input-mask.js +1 -1
- package/cdn/components/input-mask/input-mask.utils.d.ts +0 -1
- package/cdn/components/input-mask/input-mask.utils.js +1 -1
- package/cdn/components/input-native/input-native.js +1 -1
- package/cdn/components/input-otp/input-otp.js +1 -1
- package/cdn/components/input-phone/input-phone.js +1 -1
- package/cdn/components/input-time/input-time.js +1 -1
- package/cdn/components/menu-accordion/menu-accordion.js +1 -1
- package/cdn/components/menu-item/menu-item.js +1 -1
- package/cdn/components/menu-navigation/menu-navigation.js +1 -1
- package/cdn/components/navbar-link/navbar-link.js +1 -1
- package/cdn/components/navbar-menu/navbar-menu.js +1 -1
- package/cdn/components/page-header/page-header.js +1 -1
- package/cdn/components/pagination/pagination.js +1 -1
- package/cdn/components/pagination-button/pagination-button.js +1 -1
- package/cdn/components/popup/popup.js +1 -1
- package/cdn/components/profile-button/profile-button.js +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.js +1 -1
- package/cdn/components/search/search.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/sidenav/sidenav.js +1 -1
- package/cdn/components/sidenav-info-accordion/sidenav-info-accordion.js +1 -1
- package/cdn/components/step/step.js +1 -1
- package/cdn/components/table-caption/table-caption.js +1 -1
- package/cdn/components/table-container/table-container.js +1 -1
- package/cdn/components/table-header-row/table-header-row.js +1 -1
- package/cdn/components/table-row/table-row.js +1 -1
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/components/tree/tree.js +1 -1
- package/cdn/custom-elements.json +1 -61
- package/cdn/design-system.js +1 -1
- package/cdn/internal/slot.d.ts +0 -5
- package/cdn/internal/slot.js +0 -20
- package/cdn/internal/tabbable.d.ts +0 -8
- package/cdn/internal/tabbable.js +0 -12
- package/cdn/utilities/date.d.ts +0 -2
- package/cdn/utilities/date.js +1 -1
- package/cdn/utilities/storybook.js +1 -1
- package/cdn/web-types.json +1 -16
- package/dist/chunks/{chunk.73XHVQNA.js → chunk.32T5435Z.js} +2 -2
- package/dist/chunks/{chunk.H5G2LRCX.js → chunk.32ZGNEEA.js} +6 -6
- package/dist/chunks/{chunk.TAMFIHNV.js → chunk.4DRUU356.js} +28 -36
- package/dist/chunks/{chunk.QHNPNQXO.js → chunk.4TRXHBIO.js} +9 -11
- package/dist/chunks/{chunk.SEMHY47B.js → chunk.5GTWUU56.js} +1 -1
- package/dist/chunks/{chunk.LBLBASKK.js → chunk.623OV6KT.js} +1 -1
- package/dist/chunks/{chunk.X3H6MOUU.js → chunk.6XF7Y5OQ.js} +1 -1
- package/dist/chunks/{chunk.GSRQID3H.js → chunk.7AB3AL2Z.js} +2 -2
- package/dist/chunks/{chunk.M47YUO2L.js → chunk.A63V45OW.js} +1 -1
- package/dist/chunks/{chunk.ZSPNI52I.js → chunk.AEGKKYZ4.js} +1 -1
- package/dist/chunks/{chunk.5DVIZLXZ.js → chunk.AGQDJZXG.js} +2 -2
- package/dist/chunks/{chunk.SYQNO5B4.js → chunk.BADNDBKF.js} +1 -1
- package/dist/chunks/{chunk.ITBFUL7J.js → chunk.BBH5JFVX.js} +1 -1
- package/dist/chunks/{chunk.H7TB3KTK.js → chunk.BKW7OOII.js} +1 -1
- package/dist/chunks/{chunk.4IDR4RJI.js → chunk.CP3HQO7Z.js} +1 -1
- package/dist/chunks/{chunk.UBA2H662.js → chunk.DI4J6YRC.js} +1 -1
- package/dist/chunks/{chunk.3D7AGBFQ.js → chunk.DYV7U6UU.js} +0 -2
- package/dist/chunks/{chunk.JBFJWJUF.js → chunk.E6UAGCKS.js} +1 -1
- package/dist/chunks/{chunk.7HMEK2ND.js → chunk.E7CTAIEF.js} +1 -1
- package/dist/chunks/{chunk.PT2BKEDG.js → chunk.EC6ZMNDK.js} +1 -1
- package/dist/chunks/{chunk.RPPERQYB.js → chunk.ECHY7YBZ.js} +1 -1
- package/dist/chunks/{chunk.BZFZTT6Z.js → chunk.EH7ABWD6.js} +1 -1
- package/dist/chunks/{chunk.MOTDL3I3.js → chunk.ENRVP5HO.js} +5 -5
- package/dist/chunks/{chunk.Y4KCVPIC.js → chunk.EWAET5DR.js} +5 -5
- package/dist/chunks/{chunk.GYWU4AAB.js → chunk.EWO55RR2.js} +41 -49
- package/dist/chunks/{chunk.BIB7IJGE.js → chunk.FOZ6VW33.js} +2 -2
- package/dist/chunks/{chunk.DEEMRWEE.js → chunk.FTIQ3KCK.js} +4 -4
- package/dist/chunks/{chunk.AC6UE3V5.js → chunk.FV626ULR.js} +7 -6
- package/dist/chunks/{chunk.ZUG2HYP5.js → chunk.HD75OK3X.js} +1 -1
- package/dist/chunks/{chunk.EX63QI6Z.js → chunk.HTBUOA43.js} +3 -3
- package/dist/chunks/{chunk.RJAOB66Y.js → chunk.HTSDHYY3.js} +4 -4
- package/dist/chunks/{chunk.KOO2JWHZ.js → chunk.HTXWT3CI.js} +1 -1
- package/dist/chunks/{chunk.ZDRQOJI6.js → chunk.IRJKFO7O.js} +3 -3
- package/dist/chunks/{chunk.C6BC46KV.js → chunk.JP47EKO5.js} +5 -5
- package/dist/chunks/{chunk.SYZVBVOX.js → chunk.KDDTJP4K.js} +1 -1
- package/dist/chunks/{chunk.ITFYDUMM.js → chunk.KR4VFINH.js} +1 -1
- package/dist/chunks/{chunk.PCTIMH5D.js → chunk.L365K634.js} +3 -3
- package/dist/chunks/{chunk.7PE2PORN.js → chunk.LB3ZEOQX.js} +2 -2
- package/dist/chunks/{chunk.LJ2VCS7Q.js → chunk.LKLBHDXL.js} +5 -2
- package/dist/chunks/{chunk.E2AA6JZR.js → chunk.LN4SRWKC.js} +1 -1
- package/dist/chunks/{chunk.SKY7526Z.js → chunk.LNSYUTNL.js} +1 -1
- package/dist/chunks/{chunk.JMA3VRB4.js → chunk.MMROE4ER.js} +2 -2
- package/dist/chunks/{chunk.RMOUFLCI.js → chunk.N6RV7TJA.js} +1 -1
- package/dist/chunks/{chunk.EPG5ZB4T.js → chunk.OMSTY3Y5.js} +2 -2
- package/dist/chunks/{chunk.BWP55AAX.js → chunk.OYJ4CG6J.js} +1 -1
- package/dist/chunks/{chunk.GOVTNZ72.js → chunk.PPNCR6KJ.js} +2 -2
- package/dist/chunks/{chunk.VTNFE6PI.js → chunk.QHW2OXLX.js} +1 -1
- package/dist/chunks/{chunk.N2V4KI76.js → chunk.QJC7AVKZ.js} +1 -1
- package/dist/chunks/{chunk.F4DMZGND.js → chunk.QM6A2OJ6.js} +2 -2
- package/dist/chunks/{chunk.WQMUNZSA.js → chunk.RANW22ZB.js} +2 -2
- package/dist/chunks/{chunk.Q6GPBRDV.js → chunk.RHRIPLA3.js} +1 -1
- package/dist/chunks/{chunk.M347TELO.js → chunk.RKGIZ4JZ.js} +5 -5
- package/dist/chunks/{chunk.U5AWZEM5.js → chunk.RTBQXZDB.js} +1 -1
- package/dist/chunks/{chunk.7WMOPNN5.js → chunk.SKYFDHVP.js} +5 -5
- package/dist/chunks/{chunk.RIJIUMG2.js → chunk.SPVKFHUZ.js} +5 -4
- package/dist/chunks/{chunk.MTRAJSQ5.js → chunk.SWIKAUKG.js} +4 -3
- package/dist/chunks/{chunk.XHZ5CCR7.js → chunk.SYWMXJ3H.js} +20 -18
- package/dist/chunks/{chunk.OYVF3HNG.js → chunk.TIM2RCEB.js} +0 -23
- package/dist/chunks/{chunk.H7QHCUBR.js → chunk.TKJ72YYU.js} +1 -1
- package/dist/chunks/{chunk.XCSAMBUB.js → chunk.TXZ4S7T7.js} +2 -2
- package/dist/chunks/{chunk.RLLACUYR.js → chunk.U73GKQGJ.js} +1 -1
- package/dist/chunks/{chunk.AL6PYL6U.js → chunk.UPMUUECF.js} +1 -1
- package/dist/chunks/{chunk.Y7UR2ZKQ.js → chunk.UR3NX4ST.js} +1 -1
- package/dist/chunks/{chunk.ABXTXNT4.js → chunk.USCIRPV5.js} +22 -19
- package/dist/chunks/{chunk.QLJNW3TZ.js → chunk.UXHQARJW.js} +1 -1
- package/dist/chunks/{chunk.MRGJKLE3.js → chunk.UZZ34Z5W.js} +25 -20
- package/dist/chunks/{chunk.IYGSQFGQ.js → chunk.VCO46TJT.js} +2 -2
- package/dist/chunks/{chunk.7EVHJ2OT.js → chunk.VPAEURPO.js} +40 -25
- package/dist/chunks/{chunk.DZLEAEG5.js → chunk.X7QQZ42A.js} +2 -2
- package/dist/chunks/{chunk.XGEWLFBF.js → chunk.X7RPGUOS.js} +3 -3
- package/dist/chunks/{chunk.N2XNANRE.js → chunk.XEHLIOJ2.js} +1 -1
- package/dist/chunks/{chunk.DJFSPHO4.js → chunk.XQ3BCGWA.js} +1 -1
- package/dist/chunks/{chunk.5ESJXERV.js → chunk.YKBHVARA.js} +1 -1
- package/dist/chunks/{chunk.IQY2ZVAV.js → chunk.YOK7OXBS.js} +5 -5
- package/dist/chunks/{chunk.RDHPV744.js → chunk.YSEIF6AP.js} +1 -1
- package/dist/chunks/{chunk.S4ZCJOC5.js → chunk.ZOFJITKA.js} +1 -1
- package/dist/chunks/{chunk.KGP2JSZ7.js → chunk.ZWZ72KXY.js} +1 -1
- package/dist/components/accordion/accordion.js +2 -2
- package/dist/components/badge/badge.js +2 -2
- package/dist/components/banner/banner.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
- package/dist/components/calendar/calendar.js +3 -3
- package/dist/components/calendar/calendar.styles.js +1 -1
- package/dist/components/callout/callout.js +2 -2
- package/dist/components/callout/callout.styles.js +1 -1
- package/dist/components/card/card.js +2 -2
- package/dist/components/card-content/card-content.js +2 -2
- package/dist/components/card-nav/card-nav.js +2 -2
- package/dist/components/card-nav-accordion/card-nav-accordion.js +2 -2
- package/dist/components/card-nav-item/card-nav-item.js +2 -2
- package/dist/components/checkbox/checkbox.js +3 -3
- package/dist/components/checkbox-button/checkbox-button.js +4 -4
- package/dist/components/checkbox-card/checkbox-card.js +3 -3
- package/dist/components/checkbox-group/checkbox-group.js +2 -2
- package/dist/components/combobox/combobox.js +6 -6
- package/dist/components/copy-button/copy-button.js +4 -4
- package/dist/components/copy-button/copy-button.styles.js +1 -1
- package/dist/components/dialog/dialog.js +3 -3
- package/dist/components/drawer/drawer.js +3 -3
- package/dist/components/dropdown/dropdown.js +2 -2
- package/dist/components/error-message-panel/error-message-panel.js +2 -2
- package/dist/components/fieldset/fieldset.js +2 -2
- package/dist/components/file-upload/file-upload.js +2 -2
- package/dist/components/filter-counter/filter-counter.js +17 -17
- package/dist/components/filter-date/filter-date.js +8 -8
- package/dist/components/filter-range/filter-range.js +16 -16
- package/dist/components/filter-select/filter-select.js +17 -17
- package/dist/components/footer/footer.js +2 -2
- package/dist/components/footer-content-block/footer-content-block.js +2 -2
- package/dist/components/footer-mandatory-mentions/footer-mandatory-mentions.js +2 -2
- package/dist/components/footer-sitemap/footer-sitemap.js +2 -2
- package/dist/components/header/header.js +2 -2
- package/dist/components/header-modern/header-modern.js +2 -2
- package/dist/components/header-search/header-search.js +3 -3
- package/dist/components/input/input.js +14 -14
- package/dist/components/input-amount/input-amount.js +5 -5
- package/dist/components/input-date/input-date.js +9 -9
- package/dist/components/input-mask/input-mask.js +5 -5
- package/dist/components/input-mask/input-mask.utils.d.ts +0 -1
- package/dist/components/input-mask/input-mask.utils.js +1 -3
- package/dist/components/input-native/input-native.js +4 -4
- package/dist/components/input-otp/input-otp.js +4 -4
- package/dist/components/input-phone/input-phone.js +10 -10
- package/dist/components/input-time/input-time.js +5 -5
- package/dist/components/menu-accordion/menu-accordion.js +4 -4
- package/dist/components/menu-item/menu-item.js +4 -4
- package/dist/components/menu-navigation/menu-navigation.js +6 -6
- package/dist/components/navbar-link/navbar-link.js +6 -6
- package/dist/components/navbar-menu/navbar-menu.js +3 -3
- package/dist/components/page-header/page-header.js +2 -2
- package/dist/components/pagination/pagination.js +16 -16
- package/dist/components/pagination-button/pagination-button.js +2 -2
- package/dist/components/popup/popup.js +1 -1
- package/dist/components/profile-button/profile-button.js +4 -4
- package/dist/components/radio-button/radio-button.js +4 -4
- package/dist/components/radio-card/radio-card.js +4 -4
- package/dist/components/radio-group/radio-group.js +2 -2
- package/dist/components/search/search.js +2 -2
- package/dist/components/select/select.js +6 -6
- package/dist/components/sidenav/sidenav.js +4 -4
- package/dist/components/sidenav-info-accordion/sidenav-info-accordion.js +5 -5
- package/dist/components/step/step.js +2 -2
- package/dist/components/table-caption/table-caption.js +2 -2
- package/dist/components/table-container/table-container.js +2 -2
- package/dist/components/table-header-row/table-header-row.js +8 -8
- package/dist/components/table-row/table-row.js +4 -4
- package/dist/components/tag/tag.js +3 -3
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/components/tree/tree.js +1 -1
- package/dist/custom-elements.json +1 -61
- package/dist/design-system.js +134 -134
- package/dist/internal/slot.d.ts +0 -5
- package/dist/internal/slot.js +0 -20
- package/dist/internal/tabbable.d.ts +0 -8
- package/dist/internal/tabbable.js +0 -12
- package/dist/utilities/date.d.ts +0 -2
- package/dist/utilities/date.js +1 -5
- package/dist/utilities/storybook.js +2 -2
- package/dist/web-types.json +1 -16
- package/package.json +1 -1
- package/cdn/chunks/chunk.6DVHKT6J.js +0 -56
- package/cdn/chunks/chunk.6XSWDZ3K.js +0 -42
- package/cdn/chunks/chunk.AU7QYOWT.js +0 -27
- package/cdn/chunks/chunk.GSE4BYLS.js +0 -38
- package/cdn/chunks/chunk.IFSGAJQ4.js +0 -1
- package/cdn/chunks/chunk.J34FMZ22.js +0 -20
- package/cdn/chunks/chunk.RUMRXWLX.js +0 -65
- package/cdn/chunks/chunk.SXMGNTD4.js +0 -18
- package/cdn/chunks/chunk.U2HDZAQO.js +0 -23
- package/cdn/components/include/request.d.ts +0 -8
- package/cdn/components/include/request.js +0 -1
- package/cdn/components/table/types.d.ts +0 -5
- package/cdn/components/table/types.js +0 -1
- package/cdn/events/dsa-focus-in.d.ts +0 -7
- package/cdn/events/dsa-focus-in.js +0 -1
- package/cdn/events/dsa-focus-out.d.ts +0 -7
- package/cdn/events/dsa-focus-out.js +0 -1
- package/cdn/translations/en-gb.d.ts +0 -3
- package/cdn/translations/en-gb.js +0 -1
- package/dist/components/include/request.d.ts +0 -8
- package/dist/components/include/request.js +0 -24
- package/dist/components/table/types.d.ts +0 -5
- package/dist/components/table/types.js +0 -12
- package/dist/events/dsa-focus-in.d.ts +0 -7
- package/dist/events/dsa-focus-in.js +0 -1
- package/dist/events/dsa-focus-out.d.ts +0 -7
- package/dist/events/dsa-focus-out.js +0 -1
- package/dist/translations/en-gb.d.ts +0 -3
- package/dist/translations/en-gb.js +0 -21
- /package/dist/chunks/{chunk.STZAPPWR.js → chunk.7Y2PLLDT.js} +0 -0
- /package/dist/chunks/{chunk.YIY5RM53.js → chunk.XMFD37RX.js} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk.NC5Y5YXL.js";
|
|
4
4
|
import {
|
|
5
5
|
HasSlotController
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.XMFD37RX.js";
|
|
7
7
|
import {
|
|
8
8
|
a11yWarning
|
|
9
9
|
} from "./chunk.PWL7QCVG.js";
|
|
@@ -36,9 +36,10 @@ var DSACard = class extends ShoelaceElement {
|
|
|
36
36
|
return this.href ? true : false;
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
+
const { hasSlotController } = this;
|
|
39
40
|
const isLink = this.isLink();
|
|
40
41
|
const tag = isLink ? literal`a` : literal`div`;
|
|
41
|
-
if (isLink && !
|
|
42
|
+
if (isLink && !hasSlotController.test("header")) {
|
|
42
43
|
a11yWarning(
|
|
43
44
|
"<dsa-card> requires a header slot for accessibility when used as a link"
|
|
44
45
|
);
|
|
@@ -49,9 +50,9 @@ var DSACard = class extends ShoelaceElement {
|
|
|
49
50
|
class=${classMap({
|
|
50
51
|
card: true,
|
|
51
52
|
link: isLink,
|
|
52
|
-
"card--has-footer":
|
|
53
|
-
"card--has-image":
|
|
54
|
-
"card--has-header":
|
|
53
|
+
"card--has-footer": hasSlotController.test("footer"),
|
|
54
|
+
"card--has-image": hasSlotController.test("image"),
|
|
55
|
+
"card--has-header": hasSlotController.test("header"),
|
|
55
56
|
"card--contrasted-borders": this.contrastedBorders
|
|
56
57
|
})}
|
|
57
58
|
>
|
|
@@ -64,7 +65,7 @@ var DSACard = class extends ShoelaceElement {
|
|
|
64
65
|
<slot name="header" part="header" class="card__header"></slot>
|
|
65
66
|
</${tag}>
|
|
66
67
|
<slot name="image" part="image" class="card__image"></slot>
|
|
67
|
-
${
|
|
68
|
+
${hasSlotController.test("[default]") ? html` <slot part="body" class="card__body"></slot> ` : ""}
|
|
68
69
|
<slot name="footer" part="footer" class="card__footer"></slot>
|
|
69
70
|
</div>
|
|
70
71
|
`;
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
} from "./chunk.EH2DQIPN.js";
|
|
10
10
|
import {
|
|
11
11
|
DSAPaginationButton
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.EH7ABWD6.js";
|
|
13
13
|
import {
|
|
14
14
|
DSAInput
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.JP47EKO5.js";
|
|
16
16
|
import {
|
|
17
17
|
DSAVisuallyHidden
|
|
18
18
|
} from "./chunk.JIN6PGAK.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk.QGI766JC.js";
|
|
22
22
|
import {
|
|
23
23
|
HasSlotController
|
|
24
|
-
} from "./chunk.
|
|
24
|
+
} from "./chunk.XMFD37RX.js";
|
|
25
25
|
import {
|
|
26
26
|
LocalizeController
|
|
27
27
|
} from "./chunk.DVIHNMQQ.js";
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
input_amount_styles_default
|
|
3
|
-
} from "./chunk.SJNFRQKU.js";
|
|
4
1
|
import {
|
|
5
2
|
isInvalidAmountKey,
|
|
6
3
|
numberToFrAmount,
|
|
@@ -9,7 +6,10 @@ import {
|
|
|
9
6
|
} from "./chunk.QHEMM3XC.js";
|
|
10
7
|
import {
|
|
11
8
|
InputBase
|
|
12
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.E7CTAIEF.js";
|
|
10
|
+
import {
|
|
11
|
+
input_amount_styles_default
|
|
12
|
+
} from "./chunk.SJNFRQKU.js";
|
|
13
13
|
import {
|
|
14
14
|
DSAIconButton
|
|
15
15
|
} from "./chunk.2GTXVMMC.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DSATableRow
|
|
3
|
+
} from "./chunk.N6RV7TJA.js";
|
|
1
4
|
import {
|
|
2
5
|
DSATableHeaderCell
|
|
3
6
|
} from "./chunk.ITD5BZEA.js";
|
|
4
7
|
import {
|
|
5
8
|
table_header_row_styles_default
|
|
6
9
|
} from "./chunk.VO73SGIU.js";
|
|
7
|
-
import {
|
|
8
|
-
DSATableRow
|
|
9
|
-
} from "./chunk.RMOUFLCI.js";
|
|
10
10
|
import {
|
|
11
11
|
DSAVisuallyHidden
|
|
12
12
|
} from "./chunk.JIN6PGAK.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DSAInputTime
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.7AB3AL2Z.js";
|
|
4
4
|
import {
|
|
5
5
|
DSAInputNative
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.CP3HQO7Z.js";
|
|
7
7
|
import {
|
|
8
8
|
DSAInputAmount
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.HTSDHYY3.js";
|
|
10
10
|
import {
|
|
11
11
|
DSAInputDate
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.SKYFDHVP.js";
|
|
13
13
|
import {
|
|
14
14
|
InputBase
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.E7CTAIEF.js";
|
|
16
16
|
import {
|
|
17
17
|
watch
|
|
18
18
|
} from "./chunk.QB2NJE2Y.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DSATag
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.UXHQARJW.js";
|
|
4
4
|
import {
|
|
5
5
|
DSAOption
|
|
6
6
|
} from "./chunk.WEWJQ2AA.js";
|
|
7
7
|
import {
|
|
8
8
|
FormControlLayout
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.U73GKQGJ.js";
|
|
10
10
|
import {
|
|
11
11
|
DSAPopup
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.EWO55RR2.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultValue
|
|
15
15
|
} from "./chunk.CMJ2SRTL.js";
|
|
@@ -222,14 +222,17 @@ var calendar_styles_default = css`
|
|
|
222
222
|
background-color: var(--dsa-color-primitive-colors-identity-purple-800);
|
|
223
223
|
}
|
|
224
224
|
|
|
225
|
+
.wc-datepicker__date--start:not(.wc-datepicker__date--end) > *,
|
|
226
|
+
.wc-datepicker__date--end:not(.wc-datepicker__date--start) > * {
|
|
227
|
+
border: 1px solid var(--dsa-wc-calendar-cell-border-color);
|
|
228
|
+
}
|
|
229
|
+
|
|
225
230
|
.wc-datepicker__date--start:not(.wc-datepicker__date--end) > * {
|
|
226
231
|
border-radius: 4px 0px 0px 4px;
|
|
227
|
-
border: 1px solid var(--dsa-wc-calendar-cell-border-color);
|
|
228
232
|
}
|
|
229
233
|
|
|
230
234
|
.wc-datepicker__date--end:not(.wc-datepicker__date--start) > * {
|
|
231
235
|
border-radius: 0px 4px 4px 0px;
|
|
232
|
-
border: 1px solid var(--dsa-wc-calendar-cell-border-color);
|
|
233
236
|
}
|
|
234
237
|
|
|
235
238
|
.wc-datepicker__date--disabled {
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk.HIABUXVS.js";
|
|
4
4
|
import {
|
|
5
5
|
DSATooltip
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.DI4J6YRC.js";
|
|
7
7
|
import {
|
|
8
8
|
HasSlotController
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.XMFD37RX.js";
|
|
10
10
|
import {
|
|
11
11
|
waitForEvent
|
|
12
12
|
} from "./chunk.B4BZKR24.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk.D7HT35YE.js";
|
|
7
7
|
import {
|
|
8
8
|
DSACheckboxGroup
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.KDDTJP4K.js";
|
|
10
10
|
import {
|
|
11
11
|
DSAVisuallyHidden
|
|
12
12
|
} from "./chunk.JIN6PGAK.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk.6QDM5FUA.js";
|
|
19
19
|
import {
|
|
20
20
|
HasSlotController
|
|
21
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.XMFD37RX.js";
|
|
22
22
|
import {
|
|
23
23
|
FormControlController
|
|
24
24
|
} from "./chunk.DJLJEQST.js";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk.QZQO5YY7.js";
|
|
4
4
|
import {
|
|
5
5
|
DSAPopup
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.EWO55RR2.js";
|
|
7
7
|
import {
|
|
8
8
|
HasSlotController
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.XMFD37RX.js";
|
|
10
10
|
import {
|
|
11
11
|
waitForEvent
|
|
12
12
|
} from "./chunk.B4BZKR24.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
FilterBase
|
|
3
|
+
} from "./chunk.HTXWT3CI.js";
|
|
1
4
|
import {
|
|
2
5
|
filter_date_styles_default
|
|
3
6
|
} from "./chunk.IJYHCSO5.js";
|
|
4
|
-
import {
|
|
5
|
-
FilterBase
|
|
6
|
-
} from "./chunk.KOO2JWHZ.js";
|
|
7
7
|
import {
|
|
8
8
|
DSACalendar
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.UZZ34Z5W.js";
|
|
10
10
|
import {
|
|
11
11
|
formatDateRange,
|
|
12
12
|
getDateFromISO,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
getLocaleDateFromISO,
|
|
15
15
|
isValidDate,
|
|
16
16
|
parseDateRange
|
|
17
|
-
} from "./chunk.
|
|
17
|
+
} from "./chunk.TIM2RCEB.js";
|
|
18
18
|
import {
|
|
19
19
|
DSAButton
|
|
20
20
|
} from "./chunk.2G35OVLZ.js";
|
|
@@ -3,22 +3,22 @@ import {
|
|
|
3
3
|
} from "./chunk.6PI2M6R6.js";
|
|
4
4
|
import {
|
|
5
5
|
InputBase
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.E7CTAIEF.js";
|
|
7
7
|
import {
|
|
8
8
|
DSAInternalDateField
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.LNSYUTNL.js";
|
|
10
10
|
import {
|
|
11
11
|
DSAPopup
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.EWO55RR2.js";
|
|
13
13
|
import {
|
|
14
14
|
DSACalendar
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.UZZ34Z5W.js";
|
|
16
16
|
import {
|
|
17
17
|
formatDateRange,
|
|
18
18
|
getDateFromISO,
|
|
19
19
|
getISOFormattedDate,
|
|
20
20
|
parseDateRange
|
|
21
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.TIM2RCEB.js";
|
|
22
22
|
import {
|
|
23
23
|
DSAIconButton
|
|
24
24
|
} from "./chunk.2GTXVMMC.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk.TION6YCJ.js";
|
|
4
4
|
import {
|
|
5
5
|
HasSlotController
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.XMFD37RX.js";
|
|
7
7
|
import {
|
|
8
8
|
ifDefinedAndNotEmpty
|
|
9
9
|
} from "./chunk.ZQJVCRB2.js";
|
|
@@ -32,6 +32,7 @@ var DSACardNav = class extends ShoelaceElement {
|
|
|
32
32
|
this.contrastedBorders = false;
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
+
const { hasSlotController } = this;
|
|
35
36
|
return html`
|
|
36
37
|
<div
|
|
37
38
|
part="base"
|
|
@@ -45,20 +46,20 @@ var DSACardNav = class extends ShoelaceElement {
|
|
|
45
46
|
<slot
|
|
46
47
|
name="title-icon"
|
|
47
48
|
class=${ifDefinedAndNotEmpty(
|
|
48
|
-
|
|
49
|
+
hasSlotController.test("title-icon") ? "card-nav__title_icon" : void 0
|
|
49
50
|
)}
|
|
50
51
|
></slot>
|
|
51
52
|
<div class="title-block-text">
|
|
52
53
|
<slot
|
|
53
54
|
name="title"
|
|
54
55
|
class=${ifDefinedAndNotEmpty(
|
|
55
|
-
|
|
56
|
+
hasSlotController.test("title") ? "title" : void 0
|
|
56
57
|
)}
|
|
57
58
|
></slot>
|
|
58
59
|
<slot
|
|
59
60
|
name="subtitle"
|
|
60
61
|
class=${ifDefinedAndNotEmpty(
|
|
61
|
-
|
|
62
|
+
hasSlotController.test("subtitle") ? "subtitle" : void 0
|
|
62
63
|
)}
|
|
63
64
|
></slot>
|
|
64
65
|
</div>
|
|
@@ -46,17 +46,18 @@ var copy_button_styles_default = css`
|
|
|
46
46
|
outline-offset: var(--dsa-wc-focus-ring-offset);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
+
.copy-button__icon {
|
|
50
|
+
aspect-ratio: 1;
|
|
51
|
+
height: unset;
|
|
52
|
+
}
|
|
49
53
|
.copy-button--small .copy-button__icon {
|
|
50
54
|
width: var(--dsa-wc-icon-button-size--small);
|
|
51
|
-
height: var(--dsa-wc-icon-button-size--small);
|
|
52
55
|
}
|
|
53
56
|
.copy-button--medium .copy-button__icon {
|
|
54
57
|
width: var(--dsa-wc-icon-button-size--medium);
|
|
55
|
-
height: var(--dsa-wc-icon-button-size--medium);
|
|
56
58
|
}
|
|
57
59
|
.copy-button--large .copy-button__icon {
|
|
58
60
|
width: var(--dsa-wc-icon-button-size--large);
|
|
59
|
-
height: var(--dsa-wc-icon-button-size--large);
|
|
60
61
|
}
|
|
61
62
|
|
|
62
63
|
/* Colors */
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk.TD6AE7FQ.js";
|
|
4
4
|
import {
|
|
5
5
|
HasSlotController
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.XMFD37RX.js";
|
|
7
7
|
import {
|
|
8
8
|
a11yWarning
|
|
9
9
|
} from "./chunk.PWL7QCVG.js";
|
|
@@ -51,9 +51,10 @@ var DSACardContent = class extends ShoelaceElement {
|
|
|
51
51
|
return this.href ? true : false;
|
|
52
52
|
}
|
|
53
53
|
updateTagsSizes() {
|
|
54
|
+
const { size } = this;
|
|
54
55
|
const slottedTags = this.querySelectorAll("dsa-tag");
|
|
55
56
|
slottedTags.forEach(
|
|
56
|
-
(tag) => tag.setAttribute("size",
|
|
57
|
+
(tag) => tag.setAttribute("size", size === "large" ? "medium" : "small")
|
|
57
58
|
);
|
|
58
59
|
}
|
|
59
60
|
handleTagsSlotChange() {
|
|
@@ -63,11 +64,12 @@ var DSACardContent = class extends ShoelaceElement {
|
|
|
63
64
|
this.updateTagsSizes();
|
|
64
65
|
}
|
|
65
66
|
render() {
|
|
67
|
+
const { hasSlotController, layout, size, contrastedBorders } = this;
|
|
66
68
|
const isLink = this.isLink();
|
|
67
69
|
const tag = isLink ? literal`a` : literal`div`;
|
|
68
|
-
const hasSideLinkIcon = isLink && !
|
|
69
|
-
const hasBottomLinkIcon = isLink && !
|
|
70
|
-
if (isLink && !
|
|
70
|
+
const hasSideLinkIcon = isLink && !hasSlotController.test("footer") && layout === "left-align";
|
|
71
|
+
const hasBottomLinkIcon = isLink && !hasSlotController.test("footer") && layout !== "left-align";
|
|
72
|
+
if (isLink && !hasSlotController.test("title")) {
|
|
71
73
|
a11yWarning(
|
|
72
74
|
"<dsa-card-content> requires a title slot for accessibility when used as a link"
|
|
73
75
|
);
|
|
@@ -78,23 +80,23 @@ var DSACardContent = class extends ShoelaceElement {
|
|
|
78
80
|
class=${classMap({
|
|
79
81
|
"card-content": true,
|
|
80
82
|
"card-content--link": isLink,
|
|
81
|
-
"card-content--small":
|
|
82
|
-
"card-content--medium":
|
|
83
|
-
"card-content--large":
|
|
84
|
-
"card-content--left-align":
|
|
85
|
-
"card-content--right-align":
|
|
83
|
+
"card-content--small": size === "small",
|
|
84
|
+
"card-content--medium": size === "medium",
|
|
85
|
+
"card-content--large": size === "large",
|
|
86
|
+
"card-content--left-align": layout === "left-align",
|
|
87
|
+
"card-content--right-align": layout === "right-align",
|
|
86
88
|
"card-content--filled": this.variant === "filled",
|
|
87
|
-
"card-content--contrasted-borders":
|
|
89
|
+
"card-content--contrasted-borders": contrastedBorders
|
|
88
90
|
})}
|
|
89
91
|
>
|
|
90
92
|
<slot name="media" class=${ifDefinedAndNotEmpty(
|
|
91
|
-
|
|
93
|
+
hasSlotController.test("media") ? "card-content__media" : void 0
|
|
92
94
|
)}></slot>
|
|
93
95
|
<div part="body" class="card-content__body">
|
|
94
96
|
<div class="card-content__header">
|
|
95
97
|
<div class="card-content__title_block">
|
|
96
98
|
<slot name="title-icon" class=${ifDefinedAndNotEmpty(
|
|
97
|
-
|
|
99
|
+
hasSlotController.test("title-icon") ? "card-content__title-icon" : void 0
|
|
98
100
|
)}></slot>
|
|
99
101
|
<div class="card-content__title-block-text">
|
|
100
102
|
<${tag}
|
|
@@ -106,14 +108,14 @@ var DSACardContent = class extends ShoelaceElement {
|
|
|
106
108
|
<slot
|
|
107
109
|
name="title"
|
|
108
110
|
class=${ifDefinedAndNotEmpty(
|
|
109
|
-
|
|
111
|
+
hasSlotController.test("title") ? "card-content__title" : void 0
|
|
110
112
|
)}
|
|
111
113
|
></slot>
|
|
112
114
|
</${tag}>
|
|
113
115
|
<slot
|
|
114
116
|
name="subtitle"
|
|
115
117
|
class=${ifDefinedAndNotEmpty(
|
|
116
|
-
|
|
118
|
+
hasSlotController.test("subtitle") ? "card-content__subtitle" : void 0
|
|
117
119
|
)}>
|
|
118
120
|
</slot>
|
|
119
121
|
</div>
|
|
@@ -122,17 +124,17 @@ var DSACardContent = class extends ShoelaceElement {
|
|
|
122
124
|
name="tags"
|
|
123
125
|
@slotchange=${this.handleTagsSlotChange}
|
|
124
126
|
class=${ifDefinedAndNotEmpty(
|
|
125
|
-
|
|
127
|
+
hasSlotController.test("tags") ? "card-content__tags" : void 0
|
|
126
128
|
)}
|
|
127
129
|
></slot>
|
|
128
130
|
</div>
|
|
129
131
|
|
|
130
|
-
${
|
|
132
|
+
${hasSlotController.test("[default]") ? html` <slot class="card-content__content"></slot> ` : ""}
|
|
131
133
|
<slot
|
|
132
134
|
name="footer"
|
|
133
135
|
part="footer"
|
|
134
136
|
class=${ifDefinedAndNotEmpty(
|
|
135
|
-
|
|
137
|
+
hasSlotController.test("footer") ? "card-content__footer" : void 0
|
|
136
138
|
)}
|
|
137
139
|
tabindex=${ifDefined(isLink ? "-1" : void 0)}
|
|
138
140
|
></slot>
|
|
@@ -1,21 +1,4 @@
|
|
|
1
1
|
// src/utilities/date.ts
|
|
2
|
-
function parseDate(dateString, lang) {
|
|
3
|
-
const dateFormat = new Intl.DateTimeFormat(lang, {
|
|
4
|
-
year: "numeric",
|
|
5
|
-
month: "2-digit",
|
|
6
|
-
day: "2-digit"
|
|
7
|
-
});
|
|
8
|
-
const dateOrder = dateFormat.formatToParts(/* @__PURE__ */ new Date()).filter((part) => ["day", "month", "year"].includes(part.type)).map((part) => part.type);
|
|
9
|
-
const parts = dateString.split(/[-/]/);
|
|
10
|
-
if (parts.length !== 3) return null;
|
|
11
|
-
const dateObj = {};
|
|
12
|
-
dateOrder.forEach((part, index) => {
|
|
13
|
-
dateObj[part] = parseInt(parts[index], 10);
|
|
14
|
-
});
|
|
15
|
-
dateObj.month -= 1;
|
|
16
|
-
const date = new Date(dateObj.year, dateObj.month, dateObj.day);
|
|
17
|
-
return isNaN(date.getTime()) ? null : date;
|
|
18
|
-
}
|
|
19
2
|
function getLocaleDateFromISO(isoDate, lang) {
|
|
20
3
|
if (isoDate === "") {
|
|
21
4
|
return "";
|
|
@@ -23,10 +6,6 @@ function getLocaleDateFromISO(isoDate, lang) {
|
|
|
23
6
|
return getDateFromISO(isoDate).toLocaleDateString(lang !== "" ? lang : "");
|
|
24
7
|
}
|
|
25
8
|
}
|
|
26
|
-
function isISODate(date) {
|
|
27
|
-
const isoDatePattern = /^\d{4}-\d{2}-\d{2}$/;
|
|
28
|
-
return isoDatePattern.test(date);
|
|
29
|
-
}
|
|
30
9
|
function isValidDate(isoDate) {
|
|
31
10
|
const [year, month, day] = isoDate.split("-");
|
|
32
11
|
if ([year, month, day].includes("")) {
|
|
@@ -70,9 +49,7 @@ function formatDateRange(startDate, endDate) {
|
|
|
70
49
|
}
|
|
71
50
|
|
|
72
51
|
export {
|
|
73
|
-
parseDate,
|
|
74
52
|
getLocaleDateFromISO,
|
|
75
|
-
isISODate,
|
|
76
53
|
isValidDate,
|
|
77
54
|
getISOFormattedDate,
|
|
78
55
|
getDateFromISO,
|