@ds-autonomie/web-components 2.19.0 → 2.21.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 +47 -0
- package/cdn/chunks/{chunk.63UE4VAO.js → chunk.2FPBPQUJ.js} +4 -6
- package/cdn/chunks/chunk.2OLHSSGN.js +60 -0
- package/cdn/chunks/{chunk.HEWKH2LT.js → chunk.2OZWUNZO.js} +2 -2
- package/cdn/chunks/{chunk.FX5UP23Z.js → chunk.2TZ4LFPJ.js} +1 -1
- package/cdn/chunks/{chunk.WWTHUDXI.js → chunk.2V4YCZ2W.js} +5 -2
- package/cdn/chunks/chunk.2YKQ7H24.js +3 -0
- package/cdn/chunks/{chunk.KWBL3MII.js → chunk.353PHEPC.js} +1 -1
- package/cdn/chunks/{chunk.ZMEW7RFS.js → chunk.3I36IGZA.js} +1 -1
- package/cdn/chunks/chunk.3NZ4VRJF.js +62 -0
- package/cdn/chunks/{chunk.DRNNBI43.js → chunk.3Z6ANWYS.js} +1 -1
- package/cdn/chunks/{chunk.JR3UZ7RV.js → chunk.4DONSG7S.js} +5 -4
- package/cdn/chunks/chunk.4HFX2WWN.js +26 -0
- package/cdn/chunks/{chunk.GFXPRQI6.js → chunk.4IZELNZN.js} +4 -4
- package/cdn/chunks/{chunk.EFCT4GFV.js → chunk.52THFY6J.js} +1 -0
- package/cdn/chunks/{chunk.5KCVCUSX.js → chunk.5VZFKPSK.js} +1 -1
- package/cdn/chunks/chunk.5YSNZTMZ.js +1 -0
- package/cdn/chunks/{chunk.WRM72LHH.js → chunk.5ZXHNMZU.js} +1 -1
- package/cdn/chunks/{chunk.IDWQZLCM.js → chunk.67T75VHN.js} +8 -8
- package/cdn/chunks/{chunk.CEKPJB4F.js → chunk.6B4U6EHI.js} +7 -13
- package/cdn/chunks/{chunk.ZCITPD2M.js → chunk.6DSY52TF.js} +5 -5
- package/cdn/chunks/{chunk.JFT7O46L.js → chunk.6DVHKT6J.js} +1 -1
- package/cdn/chunks/{chunk.5OGTGPR7.js → chunk.6ETSOBAB.js} +1 -1
- package/cdn/chunks/{chunk.6MYWUUAG.js → chunk.6QUNPG2K.js} +11 -12
- package/cdn/chunks/{chunk.NEWW6U6M.js → chunk.6WO7QCUB.js} +2 -0
- package/cdn/chunks/{chunk.AZVWRRFP.js → chunk.6XSWDZ3K.js} +1 -1
- package/cdn/chunks/chunk.75OMKNKV.js +35 -0
- package/cdn/chunks/{chunk.JLB52ESL.js → chunk.7DI4X2VG.js} +1 -1
- package/cdn/chunks/chunk.7JVAXVTA.js +1 -0
- package/cdn/chunks/{chunk.H6KRGKOT.js → chunk.7T3GRSME.js} +1 -1
- package/cdn/chunks/{chunk.WMOV27WV.js → chunk.7U5JEAWJ.js} +1 -1
- package/cdn/chunks/{chunk.7WZQFRLE.js → chunk.A7WF23I3.js} +1 -1
- package/cdn/chunks/{chunk.VOJKFSPN.js → chunk.AGV4A3YT.js} +1 -1
- package/cdn/chunks/{chunk.KHGWE5IX.js → chunk.ALIA5R6V.js} +32 -34
- package/cdn/chunks/chunk.AM2ZR2Y2.js +19 -0
- package/cdn/chunks/{chunk.WYKFMOCB.js → chunk.AQOO2T52.js} +1 -1
- package/cdn/chunks/{chunk.7ZYAJWHQ.js → chunk.AWM5EZRY.js} +1 -1
- package/cdn/chunks/{chunk.CWT6MEMU.js → chunk.B6OZRSZK.js} +19 -23
- package/cdn/chunks/chunk.BFOG2B56.js +121 -0
- package/cdn/chunks/{chunk.JP66XCHO.js → chunk.BNTHEAJN.js} +8 -9
- package/cdn/chunks/chunk.BWWABV2J.js +66 -0
- package/cdn/chunks/{chunk.IUOHXTHC.js → chunk.C6L5URBB.js} +1 -1
- package/cdn/chunks/chunk.CFJ4QXH4.js +19 -0
- package/cdn/chunks/{chunk.U6OE2WNY.js → chunk.CT4MJF6T.js} +5 -5
- package/cdn/chunks/{chunk.KX5QV54N.js → chunk.CWRA4UT2.js} +1 -1
- package/cdn/chunks/chunk.DBVKBRPG.js +47 -0
- package/cdn/chunks/{chunk.SN7BDOHN.js → chunk.DEILGCUT.js} +12 -35
- package/cdn/chunks/{chunk.CIFSYLTI.js → chunk.DFZPEZNV.js} +1 -1
- package/cdn/chunks/{chunk.CMPRHBFO.js → chunk.DGEG6HVV.js} +1 -1
- package/cdn/chunks/{chunk.THWI644G.js → chunk.DZNXUAKA.js} +2 -2
- package/cdn/chunks/{chunk.43ZUOVN3.js → chunk.EMVVCZ7J.js} +8 -5
- package/cdn/chunks/{chunk.M5ND6PIZ.js → chunk.EQQUOYXA.js} +6 -6
- package/cdn/chunks/{chunk.STCKZYIM.js → chunk.EV47H3BZ.js} +1 -1
- package/cdn/chunks/chunk.EXQPVGOS.js +1 -0
- package/cdn/chunks/{chunk.AB4OF3RS.js → chunk.FASLFYND.js} +1 -1
- package/cdn/chunks/{chunk.K747WAAP.js → chunk.FSDHPRBJ.js} +9 -13
- package/cdn/chunks/{chunk.WWRGGVFZ.js → chunk.FVTT4MMC.js} +1 -1
- package/cdn/chunks/chunk.G4QC72M3.js +90 -0
- package/cdn/chunks/{chunk.F6P3DA77.js → chunk.GA4W656I.js} +3 -4
- package/cdn/chunks/chunk.GGN6W46J.js +33 -0
- package/cdn/chunks/{chunk.7IFO43EM.js → chunk.GHH7XYKB.js} +1 -1
- package/cdn/chunks/{chunk.YZO4H6DD.js → chunk.GL7V5QFT.js} +1 -1
- package/cdn/chunks/{chunk.CIKTPEVX.js → chunk.GLMWJUWZ.js} +2 -0
- package/cdn/chunks/chunk.GNP3HUWO.js +80 -0
- package/cdn/chunks/{chunk.MRVUEYXZ.js → chunk.GSE4BYLS.js} +1 -1
- package/cdn/chunks/{chunk.WEWRFZAQ.js → chunk.HACTOR3N.js} +1 -1
- package/cdn/chunks/{chunk.HCFW7RW4.js → chunk.HJIBYZA7.js} +33 -37
- package/cdn/chunks/{chunk.FYJYTPOV.js → chunk.HLXIBAA3.js} +2 -3
- package/cdn/chunks/{chunk.XOEINTMR.js → chunk.HPYWAFMA.js} +8 -11
- package/cdn/chunks/{chunk.RGBTVRRP.js → chunk.HTMFQPE5.js} +10 -12
- package/cdn/chunks/{chunk.VIXRVYB7.js → chunk.HZV5COH7.js} +1 -1
- package/cdn/chunks/chunk.I2EMSNY5.js +3 -0
- package/cdn/chunks/{chunk.MK2QCBNO.js → chunk.I2SFPZRT.js} +13 -13
- package/cdn/chunks/{chunk.HGNNGE53.js → chunk.I4AEWSTQ.js} +5 -5
- package/cdn/chunks/chunk.I6KH3RXW.js +31 -0
- package/cdn/chunks/{chunk.4IWXGSUM.js → chunk.IJ4EFTP2.js} +2 -2
- package/cdn/chunks/{chunk.T5OLUN3T.js → chunk.IZDRYSJI.js} +8 -8
- package/cdn/chunks/chunk.J34FMZ22.js +20 -0
- package/cdn/chunks/chunk.J5KWRJTH.js +121 -0
- package/cdn/chunks/{chunk.A5DTG2XB.js → chunk.JU47KXI6.js} +3 -3
- package/cdn/chunks/{chunk.GPW6JCHZ.js → chunk.K6LO352V.js} +1 -1
- package/cdn/chunks/{chunk.4VP4RPNY.js → chunk.KDJOQQSW.js} +1 -1
- package/cdn/chunks/{chunk.EJ5DXQU3.js → chunk.KIBXAWKS.js} +1 -0
- package/cdn/chunks/{chunk.LOZ2JZLU.js → chunk.KLTVL4KH.js} +12 -15
- package/cdn/chunks/{chunk.AYT5ORA7.js → chunk.KUSB4WKX.js} +1 -1
- package/cdn/chunks/{chunk.IDTMD6WQ.js → chunk.KZKCBYIC.js} +1 -1
- package/cdn/chunks/chunk.LCXOBOTQ.js +64 -0
- package/cdn/chunks/{chunk.5V6ZBY2X.js → chunk.LPXI2TGU.js} +1 -1
- package/cdn/chunks/{chunk.2JTZGBMF.js → chunk.LXVTY3UZ.js} +1 -1
- package/cdn/chunks/{chunk.2J6VNJAV.js → chunk.M4NNGNSF.js} +1 -1
- package/cdn/chunks/chunk.MIF4MK3R.js +47 -0
- package/cdn/chunks/{chunk.6HXGZFOB.js → chunk.MPOEF2AD.js} +1 -1
- package/cdn/chunks/{chunk.TS5WHKH6.js → chunk.N35G45JG.js} +1 -1
- package/cdn/chunks/{chunk.2QQVNGQU.js → chunk.NG2DZYRR.js} +1 -1
- package/cdn/chunks/{chunk.RNR6P3VA.js → chunk.NWYSJOVO.js} +1 -1
- package/cdn/chunks/{chunk.H46NZIZH.js → chunk.O7SAIPOG.js} +1 -1
- package/cdn/chunks/chunk.OE4QGAVP.js +40 -0
- package/cdn/chunks/{chunk.YBVIKP5F.js → chunk.OHC3KP3N.js} +2 -2
- package/cdn/chunks/chunk.OR4BPTYF.js +4 -0
- package/cdn/chunks/{chunk.E2GQJ6JW.js → chunk.OSQWNBGB.js} +1 -1
- package/cdn/chunks/{chunk.5PWPU25F.js → chunk.OX4H5VZP.js} +5 -5
- package/cdn/chunks/{chunk.YDZQVGSP.js → chunk.OZUBIMSO.js} +2 -2
- package/cdn/chunks/{chunk.RMI7CBAO.js → chunk.P5OHHVIZ.js} +4 -4
- package/cdn/chunks/{chunk.PIWF5VEN.js → chunk.PNTZLR2X.js} +1 -1
- package/cdn/chunks/chunk.POOZWGH5.js +64 -0
- package/cdn/chunks/chunk.Q54GPNUS.js +1 -0
- package/cdn/chunks/chunk.QHQUGZAC.js +1 -0
- package/cdn/chunks/{chunk.4GV3WJET.js → chunk.QXQFA2PL.js} +2 -2
- package/cdn/chunks/chunk.QZ7M6OGO.js +123 -0
- package/cdn/chunks/{chunk.RCGUDUP2.js → chunk.R2SAERUV.js} +14 -15
- package/cdn/chunks/{chunk.EZQSKUPG.js → chunk.RKAXCU2K.js} +1 -1
- package/cdn/chunks/{chunk.4A2SP2JA.js → chunk.RMHUEO6M.js} +1 -1
- package/cdn/chunks/{chunk.LLP7EPAY.js → chunk.RUMRXWLX.js} +1 -1
- package/cdn/chunks/{chunk.BARZKNDN.js → chunk.RXX4NY67.js} +5 -10
- package/cdn/chunks/{chunk.NJOCDP2A.js → chunk.SARJ4UB5.js} +1 -1
- package/cdn/chunks/chunk.SCA6KI3Y.js +108 -0
- package/cdn/chunks/{chunk.2MY5TX6M.js → chunk.SK27PJHT.js} +1 -2
- package/cdn/chunks/{chunk.DR6FOTG4.js → chunk.TBAF2O5H.js} +1 -1
- package/cdn/chunks/chunk.THBCP6LI.js +173 -0
- package/cdn/chunks/{chunk.II4JQ433.js → chunk.U5TCFENL.js} +1 -1
- package/cdn/chunks/{chunk.HW5UT2FF.js → chunk.UB73V5BI.js} +3 -3
- package/cdn/chunks/chunk.UIEL566X.js +59 -0
- package/cdn/chunks/{chunk.U7X2EV5T.js → chunk.UIKL7DR3.js} +119 -91
- package/cdn/chunks/{chunk.3FMDB6AF.js → chunk.UPTGFHYO.js} +1 -1
- package/cdn/chunks/{chunk.KOU7YZ7Z.js → chunk.UPUWTQY3.js} +1 -1
- package/cdn/chunks/{chunk.3URUFDPU.js → chunk.UQC4FZQO.js} +1 -1
- package/cdn/chunks/{chunk.COMV5MJ5.js → chunk.UREKS7QR.js} +1 -1
- package/cdn/chunks/{chunk.6GC5ODVL.js → chunk.UVI76N5N.js} +7 -7
- package/cdn/chunks/chunk.V6G6DQFY.js +25 -0
- package/cdn/chunks/{chunk.GVL377SN.js → chunk.VBIJSQJQ.js} +1 -1
- package/cdn/chunks/chunk.VCAUYLU6.js +53 -0
- package/cdn/chunks/chunk.VEWOSPRC.js +19 -0
- package/cdn/chunks/chunk.VK2CO5ZK.js +5 -0
- package/cdn/chunks/{chunk.EG6MMAM3.js → chunk.VM2KBACU.js} +1 -1
- package/cdn/chunks/{chunk.76OQZSVD.js → chunk.VPHVZMUY.js} +1 -1
- package/cdn/chunks/chunk.VRETONIU.js +112 -0
- package/cdn/chunks/{chunk.7OMTHUFI.js → chunk.VSTKTCJY.js} +1 -1
- package/cdn/chunks/{chunk.7RWZ2YNR.js → chunk.VVBLZBT2.js} +1 -1
- package/cdn/chunks/{chunk.IMDJ7GD2.js → chunk.W6E7LGND.js} +1 -1
- package/cdn/chunks/{chunk.U72UDJIM.js → chunk.WADWJFMR.js} +1 -1
- package/cdn/chunks/chunk.WDYFEO2Q.js +6 -0
- package/cdn/chunks/{chunk.NJBAMERR.js → chunk.WFPILKOS.js} +1 -1
- package/cdn/chunks/{chunk.JOY25RSZ.js → chunk.X4AWEYYO.js} +0 -5
- package/cdn/chunks/{chunk.M7BLJVGV.js → chunk.XBO6BPEL.js} +1 -1
- package/cdn/chunks/chunk.XDSXN7TT.js +17 -0
- package/cdn/chunks/{chunk.F4EQPWW4.js → chunk.XP43FQ5R.js} +3 -3
- package/cdn/chunks/{chunk.J7MFL7JZ.js → chunk.XXFCN6MW.js} +1 -1
- package/cdn/chunks/{chunk.JPOWE7L2.js → chunk.YDZDEOUX.js} +1 -1
- package/cdn/chunks/chunk.YEEGO6X3.js +85 -0
- package/cdn/chunks/chunk.YG7EIWOO.js +27 -0
- package/cdn/chunks/{chunk.BS2OSSAE.js → chunk.YOPYBUGE.js} +1 -1
- package/cdn/chunks/{chunk.67UP3FZD.js → chunk.Z33ITBWZ.js} +5 -5
- package/cdn/chunks/{chunk.F6YFQ3GB.js → chunk.ZEMA7TWY.js} +15 -2
- package/cdn/chunks/chunk.ZNP3XUGI.js +9 -0
- package/cdn/chunks/chunk.ZNUQSSRL.js +24 -0
- package/cdn/chunks/{chunk.BDRT5OOU.js → chunk.ZQPFBR34.js} +1 -1
- package/cdn/chunks/{chunk.CLIKZB5P.js → chunk.ZZEMBF7E.js} +1 -1
- package/cdn/components/accordion/accordion.js +1 -1
- package/cdn/components/accordion-group/accordion-group.js +1 -1
- package/cdn/components/alert/alert.js +1 -1
- package/cdn/components/avatar/avatar.js +1 -1
- package/cdn/components/banner/banner.d.ts +36 -0
- package/cdn/components/banner/banner.js +1 -0
- package/cdn/components/banner/banner.styles.d.ts +2 -0
- package/cdn/components/banner/banner.styles.js +1 -0
- package/cdn/components/breadcrumb/breadcrumb.js +1 -1
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/calendar/calendar.js +1 -1
- package/cdn/components/card-content/card-content.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/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.js +1 -1
- package/cdn/components/checkbox-group/checkbox-group.styles.js +1 -1
- package/cdn/components/combobox/combobox.d.ts +3 -0
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/combobox/combobox.styles.js +1 -1
- package/cdn/components/copy-button/copy-button.js +1 -1
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/download-card/download-card.d.ts +3 -1
- package/cdn/components/download-card/download-card.js +1 -1
- package/cdn/components/download-card/download-card.styles.js +1 -1
- package/cdn/components/download-link/download-link.d.ts +3 -1
- package/cdn/components/download-link/download-link.js +1 -1
- package/cdn/components/download-link/download-link.styles.js +1 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/drawer/drawer.styles.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/error-message-panel/error-message-panel.styles.js +1 -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 +10 -0
- 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-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.js +1 -1
- package/cdn/components/filter-counter/filter-counter.d.ts +2 -0
- package/cdn/components/filter-counter/filter-counter.js +1 -1
- package/cdn/components/filter-date/filter-date.js +1 -1
- package/cdn/components/filter-date/filter-date.styles.js +1 -1
- package/cdn/components/filter-range/filter-range.js +1 -1
- package/cdn/components/filter-select/filter-select.d.ts +3 -0
- package/cdn/components/filter-select/filter-select.js +1 -1
- package/cdn/components/footer/footer.js +1 -1
- package/cdn/components/footer/footer.styles.js +1 -1
- package/cdn/components/footer-mandatory-mentions/footer-mandatory-mentions.js +1 -1
- package/cdn/components/footer-mandatory-mentions/footer-mandatory-mentions.styles.js +1 -1
- package/cdn/components/footer-sitemap/footer-sitemap.js +1 -1
- package/cdn/components/footer-sitemap/footer-sitemap.styles.js +1 -1
- package/cdn/components/footer-sitemap-item/footer-sitemap-item.js +1 -1
- package/cdn/components/footer-sitemap-item/footer-sitemap-item.styles.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/graphic-element/graphic-element.library.js +1 -1
- package/cdn/components/header/header.js +1 -1
- package/cdn/components/header-external-link/header-external-link.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/icon/icon.js +1 -1
- package/cdn/components/icon/library.js +1 -1
- package/cdn/components/icon-button/icon-button.js +1 -1
- package/cdn/components/icon-button/icon-button.styles.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-amount/input-amount.styles.js +1 -1
- package/cdn/components/input-amount/input-amount.utils.js +1 -1
- package/cdn/components/input-date/input-date.js +1 -1
- package/cdn/components/input-date/input-date.styles.js +1 -1
- package/cdn/components/input-mask/input-mask.configs.js +1 -1
- package/cdn/components/input-mask/input-mask.d.ts +6 -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-mask/input-mask.utils.d.ts +3 -0
- 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-native/input-native.styles.js +1 -1
- 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.configs.js +1 -1
- package/cdn/components/input-phone/input-phone.d.ts +6 -2
- 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 +2 -0
- 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 +7 -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 +1 -0
- package/cdn/components/menu-item/menu-item.js +1 -1
- package/cdn/components/menu-item/menu-item.styles.js +1 -1
- package/cdn/components/menu-navigation/menu-navigation.js +1 -1
- package/cdn/components/mutation-observer/mutation-observer.d.ts +1 -1
- package/cdn/components/mutation-observer/mutation-observer.js +1 -1
- package/cdn/components/navbar/navbar.d.ts +4 -5
- package/cdn/components/navbar/navbar.js +1 -1
- package/cdn/components/navbar/navbar.styles.js +1 -1
- package/cdn/components/navbar-link/navbar-link.js +1 -1
- package/cdn/components/navbar-menu/navbar-menu.d.ts +3 -0
- package/cdn/components/navbar-menu/navbar-menu.js +1 -1
- package/cdn/components/option/option.js +1 -1
- package/cdn/components/page-header/page-header.js +1 -1
- package/cdn/components/page-header/page-header.styles.js +1 -1
- package/cdn/components/pagination/pagination.d.ts +3 -1
- package/cdn/components/pagination/pagination.js +1 -1
- package/cdn/components/pagination/pagination.styles.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/progress-bar/progress-bar.js +1 -1
- package/cdn/components/progress-bar/progress-bar.styles.js +1 -1
- package/cdn/components/progress-ring/progress-ring.d.ts +2 -0
- package/cdn/components/progress-ring/progress-ring.js +1 -1
- package/cdn/components/progress-ring/progress-ring.styles.js +1 -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.js +1 -1
- package/cdn/components/radio-group/radio-group.styles.js +1 -1
- package/cdn/components/range-slider/range-slider.d.ts +1 -0
- 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.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/select/select.styles.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/skip-links/skip-links.js +1 -1
- package/cdn/components/spinner/spinner.js +1 -1
- package/cdn/components/spinner/spinner.styles.js +1 -1
- package/cdn/components/split-panel/split-panel.d.ts +2 -0
- package/cdn/components/split-panel/split-panel.js +1 -1
- package/cdn/components/split-panel/split-panel.styles.js +1 -1
- package/cdn/components/step/step.js +1 -1
- package/cdn/components/success-text/success-text.js +1 -1
- package/cdn/components/switch/switch.js +1 -1
- package/cdn/components/tab/tab.js +1 -1
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/table-action/table-action.d.ts +2 -0
- package/cdn/components/table-action/table-action.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-cell/table-header-cell.js +1 -1
- package/cdn/components/table-header-row/table-header-row.js +1 -1
- package/cdn/components/table-of-contents/table-of-contents.js +1 -1
- package/cdn/components/table-of-contents/table-of-contents.styles.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/textarea/textarea.styles.js +1 -1
- 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 +1 -2
- package/cdn/components/tree-item/tree-item.js +1 -1
- package/cdn/components/tree-item/tree-item.styles.js +1 -1
- package/cdn/custom-elements.json +625 -49
- package/cdn/design-system.d.ts +1 -0
- package/cdn/design-system.js +1 -1
- package/cdn/internal/components/date-field/date-field.d.ts +1 -0
- package/cdn/internal/components/date-field/date-field.js +24 -8
- package/cdn/internal/components/form-control/form-control-layout.js +16 -15
- package/cdn/internal/components/input-base/input-base.js +4 -3
- package/cdn/internal/components/input-base/input-base.styles.js +6 -6
- package/cdn/styles/form-control.styles.js +32 -34
- package/cdn/templates/utilities/decorator.js +1 -1
- package/cdn/templates/utilities/header.js +1 -1
- package/cdn/templates/utilities/template-story-config.js +0 -3
- package/cdn/themes/dsa-wc-theme.css +2 -4
- package/cdn/themes/dsa-wc-theme.min.css +1 -1
- package/cdn/themes/dsa-wc-theme.styles.js +2 -4
- package/cdn/translations/en-gb.js +1 -1
- package/cdn/translations/en.js +1 -1
- package/cdn/translations/fr.js +1 -1
- package/cdn/utilities/icon-library.js +1 -1
- package/cdn/utilities/localize.d.ts +1 -0
- package/cdn/utilities/localize.js +1 -1
- package/cdn/utilities/storybook.js +2 -2
- package/cdn/vscode.html-custom-data.json +37 -0
- package/cdn/web-types.json +340 -21
- package/dist/chunks/{chunk.SXFVCR7O.js → chunk.2G35OVLZ.js} +3 -3
- package/dist/chunks/{chunk.WNESPUKK.js → chunk.2GTXVMMC.js} +4 -6
- package/dist/chunks/{chunk.JKNKFWLE.js → chunk.2I4VZQYC.js} +5 -6
- package/dist/chunks/{chunk.7OLEA3GQ.js → chunk.3D7AGBFQ.js} +55 -28
- package/dist/chunks/{chunk.MFGYIAUT.js → chunk.3TAGND37.js} +1 -1
- package/dist/chunks/{chunk.QEXDSP5Y.js → chunk.47CX6JJX.js} +0 -5
- package/dist/chunks/{chunk.CQR34TNY.js → chunk.4AUOO4K2.js} +9 -13
- package/dist/chunks/{chunk.V4SDZV6L.js → chunk.4IDR4RJI.js} +7 -7
- package/dist/chunks/{chunk.LYVWDO7O.js → chunk.5DVIZLXZ.js} +9 -8
- package/dist/chunks/{chunk.4535HZ7L.js → chunk.5ESJXERV.js} +5 -5
- package/dist/chunks/{chunk.5NSAEDEE.js → chunk.5NGXTSAJ.js} +1 -1
- package/dist/chunks/{chunk.I522XZAV.js → chunk.65EFQZ4A.js} +1 -2
- package/dist/chunks/{chunk.TLQMWL6I.js → chunk.67J6LDJW.js} +5 -2
- package/dist/chunks/{chunk.GUKOZGE3.js → chunk.6EU6GX26.js} +1 -1
- package/dist/chunks/{chunk.33P7XYHC.js → chunk.6KY7LP6G.js} +5 -3
- package/dist/chunks/{chunk.UHF3BDIM.js → chunk.6PI2M6R6.js} +1 -2
- package/dist/chunks/{chunk.6Q5DARJM.js → chunk.6ZVGYVEL.js} +1 -1
- package/dist/chunks/{chunk.V26NK6TM.js → chunk.73XHVQNA.js} +1 -1
- package/dist/chunks/{chunk.K27SKJCO.js → chunk.74CLWWSO.js} +3 -2
- package/dist/chunks/{chunk.T6OAGTAP.js → chunk.7EVHJ2OT.js} +3 -3
- package/dist/chunks/{chunk.WMFEJDPX.js → chunk.7HMEK2ND.js} +6 -5
- package/dist/chunks/{chunk.7MY3WW7C.js → chunk.7PE2PORN.js} +2 -2
- package/dist/chunks/{chunk.YI6BUIUL.js → chunk.7WMOPNN5.js} +26 -10
- package/dist/chunks/{chunk.QKT5LLDM.js → chunk.7YNHLXVZ.js} +1 -1
- package/dist/chunks/chunk.7Z3P7ZIT.js +100 -0
- package/dist/chunks/{chunk.PENDUUVT.js → chunk.A4X3GH4U.js} +46 -41
- package/dist/chunks/{chunk.6BCJJGLC.js → chunk.ABXTXNT4.js} +2 -2
- package/dist/chunks/{chunk.767V7QP2.js → chunk.ADV67KWS.js} +5 -10
- package/dist/chunks/{chunk.EMPEBDHH.js → chunk.ADVAWXPE.js} +8 -10
- package/dist/chunks/{chunk.VNGKMC5T.js → chunk.AEU5B6YK.js} +1 -1
- package/dist/chunks/{chunk.RG7MUNLM.js → chunk.AL6PYL6U.js} +10 -9
- package/dist/chunks/{chunk.FLI47BNN.js → chunk.BAWCVSXY.js} +4 -4
- package/dist/chunks/{chunk.ZS3JNRJE.js → chunk.BIB7IJGE.js} +4 -4
- package/dist/chunks/{chunk.BJ76CXBF.js → chunk.BWP55AAX.js} +1 -1
- package/dist/chunks/{chunk.O65OOIT6.js → chunk.BZFZTT6Z.js} +4 -2
- package/dist/chunks/{chunk.EWMFHVNW.js → chunk.C4SE3ULG.js} +7 -7
- package/dist/chunks/{chunk.QUEYKUIS.js → chunk.C6BC46KV.js} +7 -7
- package/dist/chunks/{chunk.KD27MP6C.js → chunk.D7HT35YE.js} +1 -1
- package/dist/chunks/{chunk.JATRBE3H.js → chunk.DEEMRWEE.js} +41 -19
- package/dist/chunks/{chunk.WJFVQRWU.js → chunk.DIRVCY5C.js} +1 -1
- package/dist/chunks/{chunk.XAYOMJ4X.js → chunk.DJFSPHO4.js} +5 -5
- package/dist/chunks/{chunk.34HS7ICN.js → chunk.DVIHNMQQ.js} +4 -2
- package/dist/chunks/{chunk.H26XMOUA.js → chunk.DX7525EY.js} +1 -1
- package/dist/chunks/{chunk.WEPA3NJG.js → chunk.DZLEAEG5.js} +61 -61
- package/dist/chunks/chunk.E2AA6JZR.js +102 -0
- package/dist/chunks/{chunk.6QE4MIXY.js → chunk.E6D26DI7.js} +2 -5
- package/dist/chunks/{chunk.KAG2EIKO.js → chunk.EH2DQIPN.js} +9 -10
- package/dist/chunks/{chunk.U4W57NV6.js → chunk.EPG5ZB4T.js} +2 -2
- package/dist/chunks/{chunk.VYX5ZSFI.js → chunk.EQNOUAQ6.js} +8 -4
- package/dist/chunks/{chunk.RU7L7OSM.js → chunk.ESWLZEFC.js} +12 -15
- package/dist/chunks/{chunk.HRZVG552.js → chunk.EX63QI6Z.js} +27 -20
- package/dist/chunks/{chunk.SGRSRDWP.js → chunk.F4DMZGND.js} +10 -10
- package/dist/chunks/{chunk.GTO6NACR.js → chunk.FLCLDNUC.js} +2 -2
- package/dist/chunks/{chunk.LHKUT7UW.js → chunk.GDRWZRCN.js} +16 -9
- package/dist/chunks/{chunk.5SH25FOL.js → chunk.GM3QM4YJ.js} +3 -3
- package/dist/chunks/{chunk.47AQXN3U.js → chunk.GOVTNZ72.js} +52 -31
- package/dist/chunks/{chunk.2GJ46J7Q.js → chunk.GQZAFXU6.js} +1 -1
- package/dist/chunks/{chunk.M47KXEXM.js → chunk.GSRQID3H.js} +32 -10
- package/dist/chunks/{chunk.IMZ2EJ3J.js → chunk.H5G2LRCX.js} +85 -85
- package/dist/chunks/{chunk.4E2FKC3C.js → chunk.H7QHCUBR.js} +2 -2
- package/dist/chunks/{chunk.LT44CVRV.js → chunk.H7TB3KTK.js} +6 -10
- package/dist/chunks/{chunk.LO42XUHN.js → chunk.HAWD2P5K.js} +12 -13
- package/dist/chunks/{chunk.WO56WJXU.js → chunk.HG526A44.js} +1 -0
- package/dist/chunks/{chunk.6WPKFGU3.js → chunk.HIABUXVS.js} +13 -13
- package/dist/chunks/{chunk.2WW7OJZT.js → chunk.IDMG3YLC.js} +2 -2
- package/dist/chunks/{chunk.JVIWPP43.js → chunk.IEYQPZRM.js} +1 -0
- package/dist/chunks/{chunk.SRLGPXHB.js → chunk.IJYHCSO5.js} +1 -1
- package/dist/chunks/{chunk.SP2SVH7K.js → chunk.IQY2ZVAV.js} +17 -11
- package/dist/chunks/{chunk.SAKI57GG.js → chunk.ITBFUL7J.js} +48 -24
- package/dist/chunks/{chunk.TURUUPFG.js → chunk.ITD5BZEA.js} +1 -1
- package/dist/chunks/{chunk.PSWGNIVT.js → chunk.ITFYDUMM.js} +3 -3
- package/dist/chunks/{chunk.R3PD3TNK.js → chunk.IWCSAXJN.js} +2 -2
- package/dist/chunks/{chunk.5R7OHVIP.js → chunk.IYGSQFGQ.js} +5 -5
- package/dist/chunks/{chunk.4NY2E4AU.js → chunk.JBFJWJUF.js} +5 -5
- package/dist/chunks/{chunk.UC5S2IUH.js → chunk.JLAQUWWF.js} +1 -1
- package/dist/chunks/{chunk.WSQ2ZYD4.js → chunk.JMA3VRB4.js} +2 -2
- package/dist/chunks/{chunk.LFCY7UUJ.js → chunk.JZAQYPUX.js} +31 -35
- package/dist/chunks/{chunk.WFACPRM5.js → chunk.K64V2XZO.js} +5 -1
- package/dist/chunks/{chunk.WAEFCPAX.js → chunk.KC2ZHNPC.js} +1 -1
- package/dist/chunks/{chunk.H4WJ64X5.js → chunk.KGP2JSZ7.js} +58 -53
- package/dist/chunks/{chunk.FLRNIL37.js → chunk.KN6JQY6O.js} +1 -1
- package/dist/chunks/{chunk.4VSGAJJL.js → chunk.KOO2JWHZ.js} +2 -2
- package/dist/chunks/{chunk.XZU6MLWO.js → chunk.LBLBASKK.js} +14 -8
- package/dist/chunks/{chunk.FZFK3D6L.js → chunk.LUN6HLAE.js} +22 -31
- package/dist/chunks/{chunk.ZFGRB56M.js → chunk.LVSZUO34.js} +5 -5
- package/dist/chunks/{chunk.7BBNETYY.js → chunk.M347TELO.js} +8 -8
- package/dist/chunks/{chunk.XL3HVVDK.js → chunk.M47YUO2L.js} +1 -1
- package/dist/chunks/{chunk.6HSTAJNR.js → chunk.M6X2ZDO6.js} +2 -2
- package/dist/chunks/{chunk.DN3K2GHZ.js → chunk.MRGJKLE3.js} +1 -1
- package/dist/chunks/{chunk.YKL22V4E.js → chunk.N2V4KI76.js} +1 -1
- package/dist/chunks/{chunk.UQ7ZIOBO.js → chunk.N2XNANRE.js} +2 -2
- package/dist/chunks/{chunk.YMBSK45L.js → chunk.NBEDK6M4.js} +2 -0
- package/dist/chunks/{chunk.34BCRRRT.js → chunk.NTKYNRVQ.js} +8 -3
- package/dist/chunks/{chunk.ERMNNF77.js → chunk.ORAH2BHK.js} +3 -3
- package/dist/chunks/{chunk.3SAKVK56.js → chunk.P57KFF6A.js} +12 -7
- package/dist/chunks/{chunk.5TBGCNJD.js → chunk.PCTIMH5D.js} +26 -11
- package/dist/chunks/{chunk.JBKNTRA7.js → chunk.PFPVUCRD.js} +20 -7
- package/dist/chunks/{chunk.ZYGCOBUE.js → chunk.PT2BKEDG.js} +1 -1
- package/dist/chunks/{chunk.Q7YCE4UA.js → chunk.Q45EA7A6.js} +8 -3
- package/dist/chunks/{chunk.QKUUHXNR.js → chunk.Q6GPBRDV.js} +6 -6
- package/dist/chunks/{chunk.MDQDWJCR.js → chunk.QCVOP7JL.js} +13 -0
- package/dist/chunks/{chunk.ODOHKR6J.js → chunk.QHEMM3XC.js} +18 -16
- package/dist/chunks/{chunk.KPVDLRVV.js → chunk.QLJNW3TZ.js} +3 -3
- package/dist/chunks/{chunk.64EGGLHL.js → chunk.QWPEXQZX.js} +7 -13
- package/dist/chunks/{chunk.TCW77JY3.js → chunk.RJAOB66Y.js} +50 -41
- package/dist/chunks/{chunk.RVUUZ3KA.js → chunk.RLLACUYR.js} +27 -15
- package/dist/chunks/{chunk.LH65ZIEN.js → chunk.RMOUFLCI.js} +7 -7
- package/dist/chunks/{chunk.S5FAXONJ.js → chunk.RVOALTE4.js} +5 -5
- package/dist/chunks/{chunk.XTVVSORU.js → chunk.S4ZCJOC5.js} +16 -14
- package/dist/chunks/{chunk.CFBX4SXO.js → chunk.SEMHY47B.js} +1 -1
- package/dist/chunks/{chunk.6LLDVH7Y.js → chunk.SJNFRQKU.js} +1 -1
- package/dist/chunks/{chunk.FBY2IM6R.js → chunk.SKY7526Z.js} +19 -14
- package/dist/chunks/{chunk.RZRBWZ7K.js → chunk.SPIKJZGM.js} +1 -1
- package/dist/chunks/{chunk.QGSBICBZ.js → chunk.SWKXQDKB.js} +1 -1
- package/dist/chunks/{chunk.VOKBXFKF.js → chunk.SYQNO5B4.js} +5 -5
- package/dist/chunks/{chunk.SGPAUD26.js → chunk.SYZVBVOX.js} +4 -4
- package/dist/chunks/{chunk.CKEB7DWU.js → chunk.T43D4ETK.js} +32 -34
- package/dist/chunks/{chunk.J476JEKY.js → chunk.T7O6NKFH.js} +1 -1
- package/dist/chunks/{chunk.V3LWOWUB.js → chunk.TAMFIHNV.js} +2 -2
- package/dist/chunks/{chunk.KIN7BJ2S.js → chunk.TILFUJJ2.js} +3 -4
- package/dist/chunks/{chunk.2DYEXJNV.js → chunk.TJNOM7IR.js} +117 -89
- package/dist/chunks/{chunk.4XPBWICF.js → chunk.TNWA2A3X.js} +1 -1
- package/dist/chunks/{chunk.KW762SFE.js → chunk.TOXFYUP5.js} +7 -11
- package/dist/chunks/{chunk.CFUNT7FK.js → chunk.TXX2YIZA.js} +6 -7
- package/dist/chunks/{chunk.VJMPU2K5.js → chunk.U5AWZEM5.js} +5 -5
- package/dist/chunks/{chunk.HYAC2WLH.js → chunk.U6SFJUEX.js} +4 -3
- package/dist/chunks/{chunk.ELOLGOFM.js → chunk.UBA2H662.js} +1 -1
- package/dist/chunks/{chunk.SZDGGP2Y.js → chunk.VDZUSRNI.js} +12 -35
- package/dist/chunks/{chunk.XSXVVUKP.js → chunk.VILH76T7.js} +2 -0
- package/dist/chunks/{chunk.IER4ZBFV.js → chunk.VNBYO53K.js} +2 -1
- package/dist/chunks/{chunk.EGJGLON7.js → chunk.VRUSJUXU.js} +7 -4
- package/dist/chunks/{chunk.72FKNFBS.js → chunk.VTNFE6PI.js} +4 -5
- package/dist/chunks/{chunk.GSSDOCVR.js → chunk.W2GBRU2D.js} +5 -5
- package/dist/chunks/{chunk.SAQFLKP7.js → chunk.WEWJQ2AA.js} +6 -6
- package/dist/chunks/{chunk.TW7OE55S.js → chunk.WQA4XJEW.js} +1 -1
- package/dist/chunks/{chunk.2AMILV3O.js → chunk.WQMUNZSA.js} +31 -6
- package/dist/chunks/{chunk.YYKAI7FO.js → chunk.WZBEL7FC.js} +1 -1
- package/dist/chunks/{chunk.VPBDM3F2.js → chunk.X3H6MOUU.js} +1 -1
- package/dist/chunks/{chunk.RK2WN36C.js → chunk.XBQTTKJU.js} +1 -1
- package/dist/chunks/{chunk.JTPMSU67.js → chunk.XCSAMBUB.js} +8 -8
- package/dist/chunks/{chunk.Q4BEX42U.js → chunk.XGEWLFBF.js} +8 -8
- package/dist/chunks/{chunk.6TDF44UO.js → chunk.XHZ5CCR7.js} +1 -1
- package/dist/chunks/{chunk.UESIZCBP.js → chunk.Y4KCVPIC.js} +49 -49
- package/dist/chunks/{chunk.V2HQ7IVJ.js → chunk.Y7UR2ZKQ.js} +8 -7
- package/dist/chunks/{chunk.CKJJ4MSU.js → chunk.YPBLUIU7.js} +11 -7
- package/dist/chunks/{chunk.6RXEQKWZ.js → chunk.Z4TGH2YA.js} +3 -3
- package/dist/chunks/{chunk.KUXAIXES.js → chunk.ZAYEYBAY.js} +8 -11
- package/dist/chunks/{chunk.E6D32GY2.js → chunk.ZDRQOJI6.js} +4 -4
- package/dist/chunks/{chunk.QS7BPH3Y.js → chunk.ZSPNI52I.js} +9 -18
- package/dist/chunks/{chunk.XMBQRPGX.js → chunk.ZUG2HYP5.js} +7 -7
- package/dist/components/accordion/accordion.js +6 -5
- package/dist/components/accordion-group/accordion-group.js +9 -8
- package/dist/components/alert/alert.js +8 -7
- package/dist/components/avatar/avatar.js +5 -4
- package/dist/components/banner/banner.d.ts +36 -0
- package/dist/components/banner/banner.js +24 -0
- package/dist/components/banner/banner.styles.d.ts +2 -0
- package/dist/components/banner/banner.styles.js +8 -0
- package/dist/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +6 -5
- package/dist/components/button/button.js +8 -7
- package/dist/components/calendar/calendar.js +2 -2
- package/dist/components/card-content/card-content.js +5 -4
- package/dist/components/card-nav-accordion/card-nav-accordion.js +6 -5
- package/dist/components/card-nav-item/card-nav-item.js +5 -4
- package/dist/components/checkbox/checkbox.js +11 -11
- package/dist/components/checkbox/checkbox.styles.js +2 -2
- package/dist/components/checkbox-button/checkbox-button.js +10 -10
- package/dist/components/checkbox-card/checkbox-card.js +8 -8
- package/dist/components/checkbox-group/checkbox-group.js +8 -7
- package/dist/components/checkbox-group/checkbox-group.styles.js +2 -2
- package/dist/components/combobox/combobox.d.ts +3 -0
- package/dist/components/combobox/combobox.js +17 -17
- package/dist/components/combobox/combobox.styles.js +2 -2
- package/dist/components/copy-button/copy-button.js +7 -6
- package/dist/components/dialog/dialog.js +8 -7
- package/dist/components/download-card/download-card.d.ts +3 -1
- package/dist/components/download-card/download-card.js +6 -5
- package/dist/components/download-card/download-card.styles.js +1 -1
- package/dist/components/download-link/download-link.d.ts +3 -1
- package/dist/components/download-link/download-link.js +6 -5
- package/dist/components/download-link/download-link.styles.js +1 -1
- package/dist/components/drawer/drawer.js +9 -8
- package/dist/components/drawer/drawer.styles.js +1 -1
- package/dist/components/dropdown/dropdown.js +2 -2
- package/dist/components/error-message-panel/error-message-panel.js +3 -3
- package/dist/components/error-message-panel/error-message-panel.styles.js +1 -1
- package/dist/components/error-text/error-text.js +5 -4
- package/dist/components/fieldset/fieldset.js +2 -2
- package/dist/components/fieldset/fieldset.styles.js +1 -1
- package/dist/components/file-upload/file-upload.d.ts +10 -0
- package/dist/components/file-upload/file-upload.js +12 -11
- package/dist/components/file-upload/file-upload.styles.js +2 -2
- package/dist/components/file-upload-item/file-upload-item.js +7 -6
- package/dist/components/file-upload-item/file-upload-item.styles.js +1 -1
- package/dist/components/filter-button/filter-button.js +6 -5
- package/dist/components/filter-counter/filter-counter.d.ts +2 -0
- package/dist/components/filter-counter/filter-counter.js +33 -32
- package/dist/components/filter-date/filter-date.js +16 -15
- package/dist/components/filter-date/filter-date.styles.js +1 -1
- package/dist/components/filter-range/filter-range.js +33 -32
- package/dist/components/filter-select/filter-select.d.ts +3 -0
- package/dist/components/filter-select/filter-select.js +33 -33
- package/dist/components/footer/footer.js +3 -3
- package/dist/components/footer/footer.styles.js +1 -1
- package/dist/components/footer-mandatory-mentions/footer-mandatory-mentions.js +2 -2
- package/dist/components/footer-mandatory-mentions/footer-mandatory-mentions.styles.js +1 -1
- package/dist/components/footer-sitemap/footer-sitemap.js +2 -2
- package/dist/components/footer-sitemap/footer-sitemap.styles.js +1 -1
- package/dist/components/footer-sitemap-item/footer-sitemap-item.js +2 -2
- package/dist/components/footer-sitemap-item/footer-sitemap-item.styles.js +1 -1
- package/dist/components/format-bytes/format-bytes.js +2 -2
- package/dist/components/format-date/format-date.js +2 -2
- package/dist/components/format-number/format-number.js +2 -2
- package/dist/components/header/header.js +4 -4
- package/dist/components/header-external-link/header-external-link.js +2 -2
- package/dist/components/header-modern/header-modern.js +3 -3
- package/dist/components/header-search/header-search.js +13 -12
- package/dist/components/icon/icon.js +4 -3
- package/dist/components/icon/library.js +2 -2
- package/dist/components/icon-button/icon-button.js +6 -5
- package/dist/components/icon-button/icon-button.styles.js +1 -1
- package/dist/components/input/input.js +26 -25
- package/dist/components/input-amount/input-amount.js +16 -15
- package/dist/components/input-amount/input-amount.styles.js +3 -3
- package/dist/components/input-amount/input-amount.utils.js +1 -1
- package/dist/components/input-date/input-date.js +17 -16
- package/dist/components/input-date/input-date.styles.js +3 -3
- package/dist/components/input-mask/input-mask.configs.js +1 -1
- package/dist/components/input-mask/input-mask.d.ts +6 -1
- package/dist/components/input-mask/input-mask.js +16 -15
- package/dist/components/input-mask/input-mask.styles.js +3 -3
- package/dist/components/input-mask/input-mask.utils.d.ts +3 -0
- package/dist/components/input-mask/input-mask.utils.js +5 -1
- package/dist/components/input-native/input-native.js +15 -14
- package/dist/components/input-native/input-native.styles.js +3 -3
- package/dist/components/input-otp/input-otp.js +11 -10
- package/dist/components/input-otp/input-otp.styles.js +2 -2
- package/dist/components/input-phone/input-phone.d.ts +6 -2
- package/dist/components/input-phone/input-phone.js +21 -21
- package/dist/components/input-phone/input-phone.styles.js +2 -2
- package/dist/components/input-time/input-time.d.ts +2 -0
- package/dist/components/input-time/input-time.js +16 -15
- package/dist/components/input-time/input-time.styles.js +3 -3
- package/dist/components/menu-accordion/menu-accordion.d.ts +7 -2
- package/dist/components/menu-accordion/menu-accordion.js +8 -7
- package/dist/components/menu-accordion/menu-accordion.styles.js +1 -1
- package/dist/components/menu-item/menu-item.d.ts +1 -0
- package/dist/components/menu-item/menu-item.js +4 -4
- package/dist/components/menu-item/menu-item.styles.js +1 -1
- package/dist/components/menu-navigation/menu-navigation.js +5 -5
- package/dist/components/mutation-observer/mutation-observer.d.ts +1 -1
- package/dist/components/mutation-observer/mutation-observer.js +1 -1
- package/dist/components/navbar/navbar.d.ts +4 -5
- package/dist/components/navbar/navbar.js +2 -2
- package/dist/components/navbar/navbar.styles.js +1 -1
- package/dist/components/navbar-link/navbar-link.js +10 -9
- package/dist/components/navbar-menu/navbar-menu.d.ts +3 -0
- package/dist/components/navbar-menu/navbar-menu.js +6 -5
- package/dist/components/option/option.js +6 -6
- package/dist/components/page-header/page-header.js +2 -2
- package/dist/components/page-header/page-header.styles.js +1 -1
- package/dist/components/pagination/pagination.d.ts +3 -1
- package/dist/components/pagination/pagination.js +29 -28
- package/dist/components/pagination/pagination.styles.js +1 -1
- package/dist/components/pagination-button/pagination-button.js +1 -1
- package/dist/components/profile-button/profile-button.js +8 -7
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-bar/progress-bar.styles.js +1 -1
- package/dist/components/progress-ring/progress-ring.d.ts +2 -0
- package/dist/components/progress-ring/progress-ring.js +2 -2
- package/dist/components/progress-ring/progress-ring.styles.js +1 -1
- package/dist/components/radio/radio.js +6 -6
- package/dist/components/radio-button/radio-button.js +10 -10
- package/dist/components/radio-card/radio-card.js +12 -12
- package/dist/components/radio-group/radio-group.js +8 -8
- package/dist/components/radio-group/radio-group.styles.js +2 -2
- package/dist/components/range-slider/range-slider.d.ts +1 -0
- package/dist/components/range-slider/range-slider.js +1 -1
- package/dist/components/relative-time/relative-time.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +1 -1
- package/dist/components/search/search.js +9 -8
- package/dist/components/select/select.js +15 -14
- package/dist/components/select/select.styles.js +2 -2
- package/dist/components/sidenav/sidenav.js +7 -7
- package/dist/components/sidenav-info-accordion/sidenav-info-accordion.js +9 -8
- package/dist/components/skip-links/skip-links.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/spinner/spinner.styles.js +1 -1
- package/dist/components/split-panel/split-panel.d.ts +2 -0
- package/dist/components/split-panel/split-panel.js +7 -6
- package/dist/components/split-panel/split-panel.styles.js +1 -1
- package/dist/components/step/step.js +6 -6
- package/dist/components/success-text/success-text.js +5 -4
- package/dist/components/switch/switch.js +7 -6
- package/dist/components/tab/tab.js +8 -8
- package/dist/components/tab-group/tab-group.js +8 -8
- package/dist/components/table-action/table-action.d.ts +2 -0
- package/dist/components/table-action/table-action.js +9 -8
- package/dist/components/table-caption/table-caption.js +2 -2
- package/dist/components/table-container/table-container.js +3 -3
- package/dist/components/table-header-cell/table-header-cell.js +5 -4
- package/dist/components/table-header-row/table-header-row.js +19 -19
- package/dist/components/table-of-contents/table-of-contents.js +7 -6
- package/dist/components/table-of-contents/table-of-contents.styles.js +1 -1
- package/dist/components/table-row/table-row.js +15 -15
- package/dist/components/tag/tag.js +9 -8
- package/dist/components/textarea/textarea.js +9 -8
- package/dist/components/textarea/textarea.styles.js +2 -2
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/components/tree/tree.js +11 -26
- package/dist/components/tree-item/tree-item.d.ts +1 -2
- package/dist/components/tree-item/tree-item.js +10 -25
- package/dist/components/tree-item/tree-item.styles.js +1 -1
- package/dist/custom-elements.json +625 -49
- package/dist/design-system.d.ts +1 -0
- package/dist/design-system.js +240 -235
- package/dist/internal/components/date-field/date-field.d.ts +1 -0
- package/dist/internal/components/date-field/date-field.js +24 -8
- package/dist/internal/components/form-control/form-control-layout.js +16 -15
- package/dist/internal/components/input-base/input-base.js +4 -3
- package/dist/internal/components/input-base/input-base.styles.js +6 -6
- package/dist/styles/form-control.styles.js +32 -34
- package/dist/templates/utilities/decorator.js +1 -1
- package/dist/templates/utilities/header.js +1 -1
- package/dist/templates/utilities/template-story-config.js +0 -3
- package/dist/themes/dsa-wc-theme.css +2 -4
- package/dist/themes/dsa-wc-theme.min.css +1 -1
- package/dist/themes/dsa-wc-theme.styles.js +2 -4
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/utilities/icon-library.js +2 -2
- package/dist/utilities/localize.d.ts +1 -0
- package/dist/utilities/localize.js +1 -1
- package/dist/utilities/storybook.js +2 -2
- package/dist/vscode.html-custom-data.json +37 -0
- package/dist/web-types.json +340 -21
- package/package.json +18 -18
- package/cdn/chunks/chunk.2EC2JS5U.js +0 -60
- package/cdn/chunks/chunk.4NE2V6DW.js +0 -9
- package/cdn/chunks/chunk.5MXBS7CA.js +0 -62
- package/cdn/chunks/chunk.77YRGKFQ.js +0 -53
- package/cdn/chunks/chunk.7TKKYYU2.js +0 -112
- package/cdn/chunks/chunk.7Y7CQMR6.js +0 -3
- package/cdn/chunks/chunk.AGA6W4U2.js +0 -26
- package/cdn/chunks/chunk.BOCMAV5D.js +0 -51
- package/cdn/chunks/chunk.C2H2IJ5N.js +0 -19
- package/cdn/chunks/chunk.CCKFL63L.js +0 -31
- package/cdn/chunks/chunk.CUYQOZPJ.js +0 -20
- package/cdn/chunks/chunk.DFIOQK4K.js +0 -108
- package/cdn/chunks/chunk.EAWHOXCM.js +0 -24
- package/cdn/chunks/chunk.GDNVDKSZ.js +0 -4
- package/cdn/chunks/chunk.H7CICKO6.js +0 -173
- package/cdn/chunks/chunk.HCJCL2UD.js +0 -23
- package/cdn/chunks/chunk.IYPKQQOD.js +0 -35
- package/cdn/chunks/chunk.KD3BHBHK.js +0 -19
- package/cdn/chunks/chunk.KH2JVAEZ.js +0 -3
- package/cdn/chunks/chunk.KTJAW66F.js +0 -73
- package/cdn/chunks/chunk.KVPC6DC4.js +0 -121
- package/cdn/chunks/chunk.LBAIMDY3.js +0 -1
- package/cdn/chunks/chunk.MN7GWB3J.js +0 -66
- package/cdn/chunks/chunk.PICWAFB5.js +0 -1
- package/cdn/chunks/chunk.PVV7WADS.js +0 -121
- package/cdn/chunks/chunk.QXMNA43O.js +0 -19
- package/cdn/chunks/chunk.RGOPSYRZ.js +0 -1
- package/cdn/chunks/chunk.RTVNV4IL.js +0 -27
- package/cdn/chunks/chunk.S5XJPLVO.js +0 -51
- package/cdn/chunks/chunk.TPKY6SO3.js +0 -94
- package/cdn/chunks/chunk.U5DYVPGP.js +0 -1
- package/cdn/chunks/chunk.ULWBK7T7.js +0 -40
- package/cdn/chunks/chunk.UXV7IG5J.js +0 -1
- package/cdn/chunks/chunk.VL5LPHV3.js +0 -47
- package/cdn/chunks/chunk.VVOUCVXZ.js +0 -123
- package/cdn/chunks/chunk.WFR7MSMI.js +0 -1
- package/cdn/chunks/chunk.WXQKHJC3.js +0 -5
- package/cdn/chunks/chunk.XGUKMUW4.js +0 -25
- package/cdn/chunks/chunk.YWOAIOEZ.js +0 -75
- package/cdn/chunks/chunk.Z226LHQY.js +0 -64
- package/dist/chunks/{chunk.WJU4UHF5.js → chunk.24VWWARJ.js} +3 -3
- package/dist/chunks/{chunk.GBZY2OWL.js → chunk.BIDMVL7F.js} +3 -3
|
@@ -51,11 +51,15 @@ import{a as n}from"./chunk.UMC4I57R.js";import{a as o}from"./chunk.6G2FNLAV.js";
|
|
|
51
51
|
outline: none;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
.menu-accordion__prefix
|
|
55
|
-
|
|
54
|
+
.menu-accordion__prefix,
|
|
55
|
+
.menu-accordion__summary {
|
|
56
56
|
display: flex;
|
|
57
57
|
align-items: center;
|
|
58
58
|
}
|
|
59
|
+
|
|
60
|
+
.menu-accordion__prefix {
|
|
61
|
+
flex: 0 0 auto;
|
|
62
|
+
}
|
|
59
63
|
.menu-accordion__prefix::slotted(*) {
|
|
60
64
|
margin-inline-end: var(--dsa-wc-menu-item-margin-inline-end);
|
|
61
65
|
display: flex;
|
|
@@ -65,8 +69,6 @@ import{a as n}from"./chunk.UMC4I57R.js";import{a as o}from"./chunk.6G2FNLAV.js";
|
|
|
65
69
|
|
|
66
70
|
.menu-accordion__summary {
|
|
67
71
|
flex: 0 1 auto;
|
|
68
|
-
display: flex;
|
|
69
|
-
align-items: center;
|
|
70
72
|
}
|
|
71
73
|
|
|
72
74
|
.menu-accordion__badge::slotted(*) {
|
|
@@ -109,9 +111,7 @@ import{a as n}from"./chunk.UMC4I57R.js";import{a as o}from"./chunk.6G2FNLAV.js";
|
|
|
109
111
|
display: none;
|
|
110
112
|
}
|
|
111
113
|
|
|
112
|
-
.menu-accordion--collapsed .menu-accordion__summary
|
|
113
|
-
display: none;
|
|
114
|
-
}
|
|
114
|
+
.menu-accordion--collapsed .menu-accordion__summary,
|
|
115
115
|
.menu-accordion--collapsed .menu-accordion__summary-icon {
|
|
116
116
|
display: none;
|
|
117
117
|
}
|
|
@@ -122,18 +122,18 @@ import{a as n}from"./chunk.UMC4I57R.js";import{a as o}from"./chunk.6G2FNLAV.js";
|
|
|
122
122
|
}
|
|
123
123
|
.menu-accordion--small.menu-accordion--collapsed
|
|
124
124
|
.menu-accordion__badge::slotted(*) {
|
|
125
|
-
|
|
126
|
-
|
|
125
|
+
inset-block-start: 0.125rem;
|
|
126
|
+
inset-inline-start: 1.5rem;
|
|
127
127
|
}
|
|
128
128
|
.menu-accordion--medium.menu-accordion--collapsed
|
|
129
129
|
.menu-accordion__badge::slotted(*) {
|
|
130
|
-
|
|
131
|
-
|
|
130
|
+
inset-block-start: 0.25rem;
|
|
131
|
+
inset-inline-start: 1.625rem;
|
|
132
132
|
}
|
|
133
133
|
.menu-accordion--large.menu-accordion--collapsed
|
|
134
134
|
.menu-accordion__badge::slotted(*) {
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
inset-block-start: 0.5rem;
|
|
136
|
+
inset-inline-start: 1.75rem;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
/*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as d}from"./chunk.HPYWAFMA.js";import{a as p}from"./chunk.ELL45QD3.js";import{c as n}from"./chunk.Q54GPNUS.js";import{d as l}from"./chunk.ZBHHLRFH.js";import{a,b as i,f as c}from"./chunk.KBZ32KWP.js";import{a as s}from"./chunk.GP725TPQ.js";import{f as t}from"./chunk.IZ2HVRME.js";var e=class extends c{constructor(){super(...arguments);this.localize=new n(this);this.hasSlotController=new p(this,"description","action","error-code");this.errorCode=""}render(){let{errorCode:o,hasSlotController:r,localize:m}=this,h=r.test("description"),v=r.test("action"),f=o?!0:r.test("error-code");return s`
|
|
2
2
|
<div part="base">
|
|
3
3
|
<div class="top-left-quarter-circle">
|
|
4
4
|
<svg viewBox="0 0 150 60" width="150" height="60" aria-hidden="true">
|
|
@@ -9,13 +9,13 @@ import{a as n}from"./chunk.XOEINTMR.js";import{a as l}from"./chunk.ELL45QD3.js";
|
|
|
9
9
|
</svg>
|
|
10
10
|
</div>
|
|
11
11
|
<div
|
|
12
|
-
class=${
|
|
12
|
+
class=${l({"error-message-panel":!0,"error-message-panel--has-description":h,"error-message-panel--has-action":v,"error-message-panel--has-error-code":f})}
|
|
13
13
|
>
|
|
14
14
|
<slot part="title" class="error-message-panel__title"></slot>
|
|
15
15
|
<p part="error-code">
|
|
16
|
-
${
|
|
16
|
+
${m.term("errorMessagePanelCodePrefix")}<slot
|
|
17
17
|
name="error-code"
|
|
18
|
-
>${
|
|
18
|
+
>${o}</slot
|
|
19
19
|
>
|
|
20
20
|
</p>
|
|
21
21
|
<slot name="description" part="description"></slot>
|
|
@@ -35,4 +35,4 @@ import{a as n}from"./chunk.XOEINTMR.js";import{a as l}from"./chunk.ELL45QD3.js";
|
|
|
35
35
|
</svg>
|
|
36
36
|
</div>
|
|
37
37
|
</div>
|
|
38
|
-
`}};e.styles=
|
|
38
|
+
`}};e.styles=d,t([i({attribute:"error-code"})],e.prototype,"errorCode",2),e=t([a("dsa-error-message-panel")],e);export{e as a};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import{a as v}from"./chunk.NPIFJCS3.js";import{a as E}from"./chunk.J34FMZ22.js";import{a as c}from"./chunk.KLRPP4NQ.js";import{a as p,c as h}from"./chunk.HHVNQNCC.js";import{a as u,c as m}from"./chunk.TV2TMO2H.js";import{c as w}from"./chunk.Q54GPNUS.js";import{d as y}from"./chunk.ZBHHLRFH.js";import{a as d}from"./chunk.BWEPOOQP.js";import{a as f,b as a,d as l,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 r,s,o;let i=((r=this.containingElement)==null?void 0:r.getRootNode())instanceof ShadowRoot?(o=(s=document.activeElement)==null?void 0:s.shadowRoot)==null?void 0:o.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 c(this,"dsa-after-show")}async hide(){if(this.open)return this.open=!1,await c(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}this.updateAccessibleTrigger();let{popup:e,panel:i,localize:r}=this;if(this.open){this.emit("dsa-show"),this.addOpenListeners(),await h(this),i.hidden=!1,e.active=!0;let{keyframes:s,options:o}=m(this,"dropdown.show",{dir:r.dir()});await p(e.popup,s,o),this.emit("dsa-after-show")}else{this.emit("dsa-hide"),this.removeOpenListeners(),await h(this);let{keyframes:s,options:o}=m(this,"dropdown.hide",{dir:r.dir()});await p(e.popup,s,o),i.hidden=!0,e.active=!1,this.emit("dsa-after-hide")}}render(){let{placement:e,skidding:i,hoist:r,open:s,disabled:o}=this;return g`
|
|
2
|
+
<dsa-popup
|
|
3
|
+
part="base"
|
|
4
|
+
placement=${e}
|
|
5
|
+
skidding=${i}
|
|
6
|
+
strategy=${r?"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":s,"dropdown--disabled":o})}
|
|
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([l(".dropdown")],t.prototype,"popup",2),n([l(".dropdown__trigger")],t.prototype,"trigger",2),n([l(".dropdown__panel")],t.prototype,"panel",2),n([a({type:Boolean,reflect:!0})],t.prototype,"open",2),n([a({reflect:!0})],t.prototype,"placement",2),n([a({type:Boolean,reflect:!0})],t.prototype,"disabled",2),n([a({attribute:!1})],t.prototype,"containingElement",2),n([a({type:Number})],t.prototype,"skidding",2),n([a({type:Boolean})],t.prototype,"hoist",2),n([a({type:Boolean,attribute:"close-panel-on-click"})],t.prototype,"closePanelOnClick",2),n([d("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),n([d("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),t=n([f("dsa-dropdown")],t);u("dropdown.show",{keyframes:[{opacity:0,scale:.9},{opacity:1,scale:1}],options:{duration:100,easing:"ease"}});u("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{a as T}from"./chunk.IMVLXBHS.js";import{a as z}from"./chunk.FECWEUQM.js";import{
|
|
1
|
+
import{a as T}from"./chunk.IMVLXBHS.js";import{a as z}from"./chunk.FECWEUQM.js";import{a as C}from"./chunk.PIG773U2.js";import{a as k}from"./chunk.ELL45QD3.js";import{a as y}from"./chunk.B4KFHYLS.js";import{a as r,b as l}from"./chunk.FDMPUSVV.js";import{c as g}from"./chunk.Q54GPNUS.js";import{c as $}from"./chunk.AM2ZR2Y2.js";import{b as v}from"./chunk.QTD6NQFL.js";import{a as i}from"./chunk.2RF4WD6T.js";import{d as o}from"./chunk.ZBHHLRFH.js";import{a as m,b as s,d as f,f as b}from"./chunk.KBZ32KWP.js";import{f as e}from"./chunk.IZ2HVRME.js";var t=class extends b{constructor(){super(...arguments);this.hasSlotController=new k(this,"title","content");this.localize=new g(this);this.status="default";this.stepTitle="";this.content="";this.vertical=!1;this.clickable=!1;this.href="";this.rel="noreferrer noopener"}click(){this.button.click()}focus(c){this.button.focus(c)}blur(){this.button.blur()}connectedCallback(){v(this,"role","listitem"),super.connectedCallback()}getTag(){return this.clickable?this.href?r`a`:r`button`:r`div`}getStepLabel(){switch(this.status){case"complete":return this.localize.term("stepCompleted");case"in-progress":return this.localize.term("stepInProgress");case"active":return this.localize.term("stepActive");case"error":return this.localize.term("stepError");default:return}}render(){let c=this.hasSlotController.test("title"),L=this.hasSlotController.test("content"),x=this.hasSlotController.test("tooltip"),d=this.stepTitle?!0:!!c,_=this.content?!0:!!L,p=!this.clickable,E=this.status!=="in-progress"&&this.status!=="active"?z(this.status):void 0,a=this.getStepLabel(),n=this.clickable&&this.href,h=this.clickable&&!this.href,u=this.getTag();return this.clickable&&!d&&y("<dsa-step> requires a `step-title` attribute or an element in its `title` slot for accessibility when clickable, "),l`
|
|
2
2
|
<div
|
|
3
3
|
part="step"
|
|
4
4
|
class=${o({"step-container":!0,"step-container--clickable":!p,"step-container--has-title":d,"step-container--has-content":_,"step-container__horizontal":!this.vertical,"step-container__vertical":this.vertical})}
|
|
@@ -68,4 +68,4 @@ import{a as T}from"./chunk.IMVLXBHS.js";import{a as z}from"./chunk.FECWEUQM.js";
|
|
|
68
68
|
<slot name="content" class="step-content">${this.content}</slot>
|
|
69
69
|
</div>
|
|
70
70
|
</div>
|
|
71
|
-
`}};t.styles=T,t.dependencies={"dsa-icon"
|
|
71
|
+
`}};t.styles=T,t.dependencies={"dsa-icon":$,"dsa-visually-hidden":C},e([f(".button")],t.prototype,"button",2),e([s()],t.prototype,"status",2),e([s({attribute:"step-title"})],t.prototype,"stepTitle",2),e([s()],t.prototype,"content",2),e([s()],t.prototype,"index",2),e([s({type:Boolean})],t.prototype,"vertical",2),e([s({type:Boolean})],t.prototype,"clickable",2),e([s()],t.prototype,"href",2),e([s()],t.prototype,"target",2),e([s()],t.prototype,"rel",2),t=e([m("dsa-step")],t);export{t as a};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import{a as
|
|
2
|
-
${
|
|
1
|
+
import{a as t}from"./chunk.UMC4I57R.js";import{a as e}from"./chunk.6G2FNLAV.js";var r=e`
|
|
2
|
+
${t}
|
|
3
3
|
|
|
4
4
|
:host {
|
|
5
5
|
display: block;
|
|
@@ -16,10 +16,10 @@ import{a as d}from"./chunk.UMC4I57R.js";import{a as e}from"./chunk.6G2FNLAV.js";
|
|
|
16
16
|
border-width: 1px;
|
|
17
17
|
border-style: solid;
|
|
18
18
|
}
|
|
19
|
-
.fieldset
|
|
19
|
+
:host([variant='base']) .fieldset {
|
|
20
20
|
border-color: var(--dsa-wc-fieldset-border-color);
|
|
21
21
|
}
|
|
22
|
-
.fieldset
|
|
22
|
+
:host([variant='layer']) .fieldset {
|
|
23
23
|
border-color: transparent;
|
|
24
24
|
}
|
|
25
25
|
|
|
@@ -51,15 +51,15 @@ import{a as d}from"./chunk.UMC4I57R.js";import{a as e}from"./chunk.6G2FNLAV.js";
|
|
|
51
51
|
gap: var(--dsa-spacing-16);
|
|
52
52
|
flex-wrap: wrap;
|
|
53
53
|
}
|
|
54
|
-
|
|
54
|
+
:host(:not([horizontal])) .fieldset__content {
|
|
55
55
|
flex-direction: column;
|
|
56
56
|
}
|
|
57
|
-
|
|
57
|
+
:host([horizontal]) .fieldset__content {
|
|
58
58
|
flex-direction: row;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
/** Contrasted **/
|
|
62
|
-
|
|
62
|
+
:host([contrasted-borders]) .fieldset {
|
|
63
63
|
border-color: var(--dsa-wc-fieldset-border-color-contrasted);
|
|
64
64
|
}
|
|
65
|
-
`;export{
|
|
65
|
+
`;export{r as a};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import{a as Ft}from"./chunk.TYYYX2PR.js";import{d as Pt}from"./chunk.ZBHHLRFH.js";import{a as kt,b as O,d as At,f as zt}from"./chunk.KBZ32KWP.js";import{a as Ct}from"./chunk.GP725TPQ.js";import{a as A,b as $,d as gt,f as v}from"./chunk.IZ2HVRME.js";var V=Math.min,S=Math.max,ut=Math.round,ht=Math.floor,F=t=>({x:t,y:t}),xe={left:"right",right:"left",bottom:"top",top:"bottom"};function wt(t,e,n){return S(t,V(e,n))}function Z(t,e){return typeof t=="function"?t(e):t}function I(t){return t.split("-")[0]}function tt(t){return t.split("-")[1]}function St(t){return t==="x"?"y":"x"}function xt(t){return t==="y"?"height":"width"}function D(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function bt(t){return St(D(t))}function _t(t,e,n){n===void 0&&(n=!1);let o=tt(t),i=bt(t),s=xt(i),r=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(r=ft(r)),[r,ft(r)]}function Vt(t){let e=ft(t);return[yt(t),e,yt(e)]}function yt(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}var Ht=["left","right"],Wt=["right","left"],be=["top","bottom"],ve=["bottom","top"];function Re(t,e,n){switch(t){case"top":case"bottom":return n?e?Wt:Ht:e?Ht:Wt;case"left":case"right":return e?be:ve;default:return[]}}function Dt(t,e,n,o){let i=tt(t),s=Re(I(t),n==="start",o);return i&&(s=s.map(r=>r+"-"+i),e&&(s=s.concat(s.map(yt)))),s}function ft(t){let e=I(t);return xe[e]+t.slice(e.length)}function Oe(t){return A({top:0,right:0,bottom:0,left:0},t)}function Lt(t){return typeof t!="number"?Oe(t):{top:t,right:t,bottom:t,left:t}}function et(t){let{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function Xt(t,e,n){let{reference:o,floating:i}=t,s=D(e),r=bt(e),l=xt(r),a=I(e),h=s==="y",c=o.x+o.width/2-i.width/2,f=o.y+o.height/2-i.height/2,d=o[l]/2-i[l]/2,u;switch(a){case"top":u={x:c,y:o.y-i.height};break;case"bottom":u={x:c,y:o.y+o.height};break;case"right":u={x:o.x+o.width,y:f};break;case"left":u={x:o.x-i.width,y:f};break;default:u={x:o.x,y:o.y}}switch(tt(e)){case"start":u[r]-=d*(n&&h?-1:1);break;case"end":u[r]+=d*(n&&h?-1:1);break}return u}async function jt(t,e){var n;e===void 0&&(e={});let{x:o,y:i,platform:s,rects:r,elements:l,strategy:a}=t,{boundary:h="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:d=!1,padding:u=0}=Z(e,t),m=Lt(u),g=l[d?f==="floating"?"reference":"floating":f],y=et(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(g)))==null||n?g:g.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:h,rootBoundary:c,strategy:a})),x=f==="floating"?{x:o,y:i,width:r.floating.width,height:r.floating.height}:r.reference,b=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),R=await(s.isElement==null?void 0:s.isElement(b))?await(s.getScale==null?void 0:s.getScale(b))||{x:1,y:1}:{x:1,y:1},E=et(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:x,offsetParent:b,strategy:a}):x);return{top:(y.top-E.top+m.top)/R.y,bottom:(E.bottom-y.bottom+m.bottom)/R.y,left:(y.left-E.left+m.left)/R.x,right:(E.right-y.right+m.right)/R.x}}var Ee=50,Yt=async(t,e,n)=>{let{placement:o="bottom",strategy:i="absolute",middleware:s=[],platform:r}=n,l=r.detectOverflow?r:$(A({},r),{detectOverflow:jt}),a=await(r.isRTL==null?void 0:r.isRTL(e)),h=await r.getElementRects({reference:t,floating:e,strategy:i}),{x:c,y:f}=Xt(h,o,a),d=o,u=0,m={};for(let p=0;p<s.length;p++){let g=s[p];if(!g)continue;let{name:y,fn:x}=g,{x:b,y:R,data:E,reset:C}=await x({x:c,y:f,initialPlacement:o,placement:d,strategy:i,middlewareData:m,rects:h,platform:l,elements:{reference:t,floating:e}});c=b!=null?b:c,f=R!=null?R:f,m[y]=A(A({},m[y]),E),C&&u<Ee&&(u++,typeof C=="object"&&(C.placement&&(d=C.placement),C.rects&&(h=C.rects===!0?await r.getElementRects({reference:t,floating:e,strategy:i}):C.rects),{x:c,y:f}=Xt(h,d,a)),p=-1)}return{x:c,y:f,placement:d,strategy:i,middlewareData:m}},It=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:o,placement:i,rects:s,platform:r,elements:l,middlewareData:a}=e,{element:h,padding:c=0}=Z(t,e)||{};if(h==null)return{};let f=Lt(c),d={x:n,y:o},u=bt(i),m=xt(u),p=await r.getDimensions(h),g=u==="y",y=g?"top":"left",x=g?"bottom":"right",b=g?"clientHeight":"clientWidth",R=s.reference[m]+s.reference[u]-d[u]-s.floating[m],E=d[u]-s.reference[u],C=await(r.getOffsetParent==null?void 0:r.getOffsetParent(h)),P=C?C[b]:0;(!P||!await(r.isElement==null?void 0:r.isElement(C)))&&(P=l.floating[b]||s.floating[m]);let j=R/2-E/2,W=P/2-p[m]/2-1,B=V(f[y],W),U=V(f[x],W),_=B,K=P-p[m]-U,T=P/2-p[m]/2+j,k=wt(_,T,K),J=!a.arrow&&tt(i)!=null&&T!==k&&s.reference[m]/2-(T<_?B:U)-p[m]/2<0,Y=J?T<_?T-_:T-K:0;return{[u]:d[u]+Y,data:A({[u]:k,centerOffset:T-k-Y},J&&{alignmentOffset:Y}),reset:J}}});var qt=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;let{placement:i,middlewareData:s,rects:r,initialPlacement:l,platform:a,elements:h}=e,T=Z(t,e),{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:p=!0}=T,g=gt(T,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=s.arrow)!=null&&n.alignmentOffset)return{};let y=I(i),x=D(l),b=I(l)===l,R=await(a.isRTL==null?void 0:a.isRTL(h.floating)),E=d||(b||!p?[ft(l)]:Vt(l)),C=m!=="none";!d&&C&&E.push(...Dt(l,p,m,R));let P=[l,...E],j=await a.detectOverflow(e,g),W=[],B=((o=s.flip)==null?void 0:o.overflows)||[];if(c&&W.push(j[y]),f){let k=_t(i,r,R);W.push(j[k[0]],j[k[1]])}if(B=[...B,{placement:i,overflows:W}],!W.every(k=>k<=0)){var U,_;let k=(((U=s.flip)==null?void 0:U.index)||0)+1,J=P[k];if(J&&(!(f==="alignment"?x!==D(J):!1)||B.every(z=>D(z.placement)===x?z.overflows[0]>0:!0)))return{data:{index:k,overflows:B},reset:{placement:J}};let Y=(_=B.filter(Q=>Q.overflows[0]<=0).sort((Q,z)=>Q.overflows[1]-z.overflows[1])[0])==null?void 0:_.placement;if(!Y)switch(u){case"bestFit":{var K;let Q=(K=B.filter(z=>{if(C){let G=D(z.placement);return G===x||G==="y"}return!0}).map(z=>[z.placement,z.overflows.filter(G=>G>0).reduce((G,we)=>G+we,0)]).sort((z,G)=>z[1]-G[1])[0])==null?void 0:K[0];Q&&(Y=Q);break}case"initialPlacement":Y=l;break}if(i!==Y)return{reset:{placement:Y}}}return{}}}};var Ce=new Set(["left","top"]);async function Ae(t,e){let{placement:n,platform:o,elements:i}=t,s=await(o.isRTL==null?void 0:o.isRTL(i.floating)),r=I(n),l=tt(n),a=D(n)==="y",h=Ce.has(r)?-1:1,c=s&&a?-1:1,f=Z(e,t),{mainAxis:d,crossAxis:u,alignmentAxis:m}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof m=="number"&&(u=l==="end"?m*-1:m),a?{x:u*c,y:d*h}:{x:d*h,y:u*c}}var Ut=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;let{x:i,y:s,placement:r,middlewareData:l}=e,a=await Ae(e,t);return r===((n=l.offset)==null?void 0:n.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:i+a.x,y:s+a.y,data:$(A({},a),{placement:r})}}}},Kt=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:o,placement:i,platform:s}=e,y=Z(t,e),{mainAxis:r=!0,crossAxis:l=!1,limiter:a={fn:x=>{let{x:b,y:R}=x;return{x:b,y:R}}}}=y,h=gt(y,["mainAxis","crossAxis","limiter"]),c={x:n,y:o},f=await s.detectOverflow(e,h),d=D(I(i)),u=St(d),m=c[u],p=c[d];if(r){let x=u==="y"?"top":"left",b=u==="y"?"bottom":"right",R=m+f[x],E=m-f[b];m=wt(R,m,E)}if(l){let x=d==="y"?"top":"left",b=d==="y"?"bottom":"right",R=p+f[x],E=p-f[b];p=wt(R,p,E)}let g=a.fn($(A({},e),{[u]:m,[d]:p}));return $(A({},g),{data:{x:g.x-n,y:g.y-o,enabled:{[u]:r,[d]:l}}})}}};var Gt=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;let{placement:i,rects:s,platform:r,elements:l}=e,B=Z(t,e),{apply:a=()=>{}}=B,h=gt(B,["apply"]),c=await r.detectOverflow(e,h),f=I(i),d=tt(i),u=D(i)==="y",{width:m,height:p}=s.floating,g,y;f==="top"||f==="bottom"?(g=f,y=d===(await(r.isRTL==null?void 0:r.isRTL(l.floating))?"start":"end")?"left":"right"):(y=f,g=d==="end"?"top":"bottom");let x=p-c.top-c.bottom,b=m-c.left-c.right,R=V(p-c[g],x),E=V(m-c[y],b),C=!e.middlewareData.shift,P=R,j=E;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(j=b),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(P=x),C&&!d){let U=S(c.left,0),_=S(c.right,0),K=S(c.top,0),T=S(c.bottom,0);u?j=m-2*(U!==0||_!==0?U+_:S(c.left,c.right)):P=p-2*(K!==0||T!==0?K+T:S(c.top,c.bottom))}await a($(A({},e),{availableWidth:j,availableHeight:P}));let W=await r.getDimensions(l.floating);return m!==W.width||p!==W.height?{reset:{rects:!0}}:{}}}};function vt(){return typeof window!="undefined"}function ot(t){return Qt(t)?(t.nodeName||"").toLowerCase():"#document"}function L(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function H(t){var e;return(e=(Qt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Qt(t){return vt()?t instanceof Node||t instanceof L(t).Node:!1}function M(t){return vt()?t instanceof Element||t instanceof L(t).Element:!1}function X(t){return vt()?t instanceof HTMLElement||t instanceof L(t).HTMLElement:!1}function Jt(t){return!vt()||typeof ShadowRoot=="undefined"?!1:t instanceof ShadowRoot||t instanceof L(t).ShadowRoot}function lt(t){let{overflow:e,overflowX:n,overflowY:o,display:i}=N(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&i!=="inline"&&i!=="contents"}function Zt(t){return/^(table|td|th)$/.test(ot(t))}function dt(t){try{if(t.matches(":popover-open"))return!0}catch(e){}try{return t.matches(":modal")}catch(e){return!1}}var Pe=/transform|translate|scale|rotate|perspective|filter/,Se=/paint|layout|strict|content/,nt=t=>!!t&&t!=="none",Tt;function ct(t){let e=M(t)?N(t):t;return nt(e.transform)||nt(e.translate)||nt(e.scale)||nt(e.rotate)||nt(e.perspective)||!Rt()&&(nt(e.backdropFilter)||nt(e.filter))||Pe.test(e.willChange||"")||Se.test(e.contain||"")}function te(t){let e=q(t);for(;X(e)&&!it(e);){if(ct(e))return e;if(dt(e))return null;e=q(e)}return null}function Rt(){return Tt==null&&(Tt=typeof CSS!="undefined"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Tt}function it(t){return/^(html|body|#document)$/.test(ot(t))}function N(t){return L(t).getComputedStyle(t)}function mt(t){return M(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function q(t){if(ot(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Jt(t)&&t.host||H(t);return Jt(e)?e.host:e}function ee(t){let e=q(t);return it(e)?t.ownerDocument?t.ownerDocument.body:t.body:X(e)&<(e)?e:ee(e)}function st(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);let i=ee(t),s=i===((o=t.ownerDocument)==null?void 0:o.body),r=L(i);if(s){let l=Ot(r);return e.concat(r,r.visualViewport||[],lt(i)?i:[],l&&n?st(l):[])}else return e.concat(i,st(i,[],n))}function Ot(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function re(t){let e=N(t),n=parseFloat(e.width)||0,o=parseFloat(e.height)||0,i=X(t),s=i?t.offsetWidth:n,r=i?t.offsetHeight:o,l=ut(n)!==s||ut(o)!==r;return l&&(n=s,o=r),{width:n,height:o,$:l}}function $t(t){return M(t)?t:t.contextElement}function at(t){let e=$t(t);if(!X(e))return F(1);let n=e.getBoundingClientRect(),{width:o,height:i,$:s}=re(e),r=(s?ut(n.width):n.width)/o,l=(s?ut(n.height):n.height)/i;return(!r||!Number.isFinite(r))&&(r=1),(!l||!Number.isFinite(l))&&(l=1),{x:r,y:l}}var Le=F(0);function se(t){let e=L(t);return!Rt()||!e.visualViewport?Le:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Te(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==L(t)?!1:e}function rt(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);let i=t.getBoundingClientRect(),s=$t(t),r=F(1);e&&(o?M(o)&&(r=at(o)):r=at(t));let l=Te(s,n,o)?se(s):F(0),a=(i.left+l.x)/r.x,h=(i.top+l.y)/r.y,c=i.width/r.x,f=i.height/r.y;if(s){let d=L(s),u=o&&M(o)?L(o):o,m=d,p=Ot(m);for(;p&&o&&u!==m;){let g=at(p),y=p.getBoundingClientRect(),x=N(p),b=y.left+(p.clientLeft+parseFloat(x.paddingLeft))*g.x,R=y.top+(p.clientTop+parseFloat(x.paddingTop))*g.y;a*=g.x,h*=g.y,c*=g.x,f*=g.y,a+=b,h+=R,m=L(p),p=Ot(m)}}return et({width:c,height:f,x:a,y:h})}function Et(t,e){let n=mt(t).scrollLeft;return e?e.left+n:rt(H(t)).left+n}function le(t,e){let n=t.getBoundingClientRect(),o=n.left+e.scrollLeft-Et(t,n),i=n.top+e.scrollTop;return{x:o,y:i}}function Be(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t,s=i==="fixed",r=H(o),l=e?dt(e.floating):!1;if(o===r||l&&s)return n;let a={scrollLeft:0,scrollTop:0},h=F(1),c=F(0),f=X(o);if((f||!f&&!s)&&((ot(o)!=="body"||lt(r))&&(a=mt(o)),f)){let u=rt(o);h=at(o),c.x=u.x+o.clientLeft,c.y=u.y+o.clientTop}let d=r&&!f&&!s?le(r,a):F(0);return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-a.scrollLeft*h.x+c.x+d.x,y:n.y*h.y-a.scrollTop*h.y+c.y+d.y}}function $e(t){return Array.from(t.getClientRects())}function Me(t){let e=H(t),n=mt(t),o=t.ownerDocument.body,i=S(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),s=S(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),r=-n.scrollLeft+Et(t),l=-n.scrollTop;return N(o).direction==="rtl"&&(r+=S(e.clientWidth,o.clientWidth)-i),{width:i,height:s,x:r,y:l}}var ne=25;function Ne(t,e){let n=L(t),o=H(t),i=n.visualViewport,s=o.clientWidth,r=o.clientHeight,l=0,a=0;if(i){s=i.width,r=i.height;let c=Rt();(!c||c&&e==="fixed")&&(l=i.offsetLeft,a=i.offsetTop)}let h=Et(o);if(h<=0){let c=o.ownerDocument,f=c.body,d=getComputedStyle(f),u=c.compatMode==="CSS1Compat"&&parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0,m=Math.abs(o.clientWidth-f.clientWidth-u);m<=ne&&(s-=m)}else h<=ne&&(s+=h);return{width:s,height:r,x:l,y:a}}function ke(t,e){let n=rt(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,s=X(t)?at(t):F(1),r=t.clientWidth*s.x,l=t.clientHeight*s.y,a=i*s.x,h=o*s.y;return{width:r,height:l,x:a,y:h}}function oe(t,e,n){let o;if(e==="viewport")o=Ne(t,n);else if(e==="document")o=Me(H(t));else if(M(e))o=ke(e,n);else{let i=se(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return et(o)}function ce(t,e){let n=q(t);return n===e||!M(n)||it(n)?!1:N(n).position==="fixed"||ce(n,e)}function ze(t,e){let n=e.get(t);if(n)return n;let o=st(t,[],!1).filter(l=>M(l)&&ot(l)!=="body"),i=null,s=N(t).position==="fixed",r=s?q(t):t;for(;M(r)&&!it(r);){let l=N(r),a=ct(r);!a&&l.position==="fixed"&&(i=null),(s?!a&&!i:!a&&l.position==="static"&&!!i&&(i.position==="absolute"||i.position==="fixed")||lt(r)&&!a&&ce(t,r))?o=o.filter(c=>c!==r):i=l,r=q(r)}return e.set(t,o),o}function Fe(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t,r=[...n==="clippingAncestors"?dt(e)?[]:ze(e,this._c):[].concat(n),o],l=oe(e,r[0],i),a=l.top,h=l.right,c=l.bottom,f=l.left;for(let d=1;d<r.length;d++){let u=oe(e,r[d],i);a=S(u.top,a),h=V(u.right,h),c=V(u.bottom,c),f=S(u.left,f)}return{width:h-f,height:c-a,x:f,y:a}}function He(t){let{width:e,height:n}=re(t);return{width:e,height:n}}function We(t,e,n){let o=X(e),i=H(e),s=n==="fixed",r=rt(t,!0,s,e),l={scrollLeft:0,scrollTop:0},a=F(0);function h(){a.x=Et(i)}if(o||!o&&!s)if((ot(e)!=="body"||lt(i))&&(l=mt(e)),o){let u=rt(e,!0,s,e);a.x=u.x+e.clientLeft,a.y=u.y+e.clientTop}else i&&h();s&&!o&&i&&h();let c=i&&!o&&!s?le(i,l):F(0),f=r.left+l.scrollLeft-a.x-c.x,d=r.top+l.scrollTop-a.y-c.y;return{x:f,y:d,width:r.width,height:r.height}}function Bt(t){return N(t).position==="static"}function ie(t,e){if(!X(t)||N(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return H(t)===n&&(n=n.ownerDocument.body),n}function ae(t,e){let n=L(t);if(dt(t))return n;if(!X(t)){let i=q(t);for(;i&&!it(i);){if(M(i)&&!Bt(i))return i;i=q(i)}return n}let o=ie(t,e);for(;o&&Zt(o)&&Bt(o);)o=ie(o,e);return o&&it(o)&&Bt(o)&&!ct(o)?n:o||te(t)||n}var _e=async function(t){let e=this.getOffsetParent||ae,n=this.getDimensions,o=await n(t.floating);return{reference:We(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Ve(t){return N(t).direction==="rtl"}var pt={convertOffsetParentRelativeRectToViewportRelativeRect:Be,getDocumentElement:H,getClippingRect:Fe,getOffsetParent:ae,getElementRects:_e,getClientRects:$e,getDimensions:He,getScale:at,isElement:M,isRTL:Ve};function fe(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function De(t,e){let n=null,o,i=H(t);function s(){var l;clearTimeout(o),(l=n)==null||l.disconnect(),n=null}function r(l,a){l===void 0&&(l=!1),a===void 0&&(a=1),s();let h=t.getBoundingClientRect(),{left:c,top:f,width:d,height:u}=h;if(l||e(),!d||!u)return;let m=ht(f),p=ht(i.clientWidth-(c+d)),g=ht(i.clientHeight-(f+u)),y=ht(c),b={rootMargin:-m+"px "+-p+"px "+-g+"px "+-y+"px",threshold:S(0,V(1,a))||1},R=!0;function E(C){let P=C[0].intersectionRatio;if(P!==a){if(!R)return r();P?r(!1,P):o=setTimeout(()=>{r(!1,1e-7)},1e3)}P===1&&!fe(h,t.getBoundingClientRect())&&r(),R=!1}try{n=new IntersectionObserver(E,$(A({},b),{root:i.ownerDocument}))}catch(C){n=new IntersectionObserver(E,b)}n.observe(t)}return r(!0),s}function ue(t,e,n,o){o===void 0&&(o={});let{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=o,h=$t(t),c=i||s?[...h?st(h):[],...e?st(e):[]]:[];c.forEach(y=>{i&&y.addEventListener("scroll",n,{passive:!0}),s&&y.addEventListener("resize",n)});let f=h&&l?De(h,n):null,d=-1,u=null;r&&(u=new ResizeObserver(y=>{let[x]=y;x&&x.target===h&&u&&e&&(u.unobserve(e),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var b;(b=u)==null||b.observe(e)})),n()}),h&&!a&&u.observe(h),e&&u.observe(e));let m,p=a?rt(t):null;a&&g();function g(){let y=rt(t);p&&!fe(p,y)&&n(),p=y,m=requestAnimationFrame(g)}return n(),()=>{var y;c.forEach(x=>{i&&x.removeEventListener("scroll",n),s&&x.removeEventListener("resize",n)}),f==null||f(),(y=u)==null||y.disconnect(),u=null,a&&cancelAnimationFrame(m)}}var he=Ut;var de=Kt,me=qt,Mt=Gt;var pe=It;var ge=(t,e,n)=>{let o=new Map,i=A({platform:pt},n),s=$(A({},i.platform),{_c:o});return Yt(t,e,$(A({},i),{platform:s}))};function ye(t){return Xe(t)}function Nt(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Xe(t){for(let e=t;e;e=Nt(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Nt(t);e;e=Nt(e)){if(!(e instanceof Element))continue;let n=getComputedStyle(e);if(n.display!=="contents"&&(n.position!=="static"||ct(n)||e.tagName==="BODY"))return e}return null}var w=class extends zt{constructor(){super(...arguments);this.active=!1;this.placement="top";this.strategy="absolute";this.distance=0;this.skidding=0;this.arrow=!1;this.arrowPlacement="anchor";this.arrowPadding=10;this.flip=!1;this.flipFallbackPlacements="";this.flipFallbackStrategy="best-fit";this.flipPadding=0;this.shift=!1;this.shiftPadding=0;this.autoSizePadding=0;this.hoverBridge=!1;this.updateHoverBridge=()=>{if(this.hoverBridge&&this.anchorEl){let n=this.anchorEl.getBoundingClientRect(),o=this.popup.getBoundingClientRect(),i=this.placement.includes("top")||this.placement.includes("bottom"),s=0,r=0,l=0,a=0,h=0,c=0,f=0,d=0;i?n.top<o.top?(s=n.left,r=n.bottom,l=n.right,a=n.bottom,h=o.left,c=o.top,f=o.right,d=o.top):(s=o.left,r=o.bottom,l=o.right,a=o.bottom,h=n.left,c=n.top,f=n.right,d=n.top):n.left<o.left?(s=n.right,r=n.top,l=o.left,a=o.top,h=n.right,c=n.bottom,f=o.left,d=o.bottom):(s=o.right,r=o.top,l=n.left,a=n.top,h=o.right,c=o.bottom,f=n.left,d=n.bottom),this.style.setProperty("--hover-bridge-top-left-x",`${s}px`),this.style.setProperty("--hover-bridge-top-left-y",`${r}px`),this.style.setProperty("--hover-bridge-top-right-x",`${l}px`),this.style.setProperty("--hover-bridge-top-right-y",`${a}px`),this.style.setProperty("--hover-bridge-bottom-left-x",`${h}px`),this.style.setProperty("--hover-bridge-bottom-left-y",`${c}px`),this.style.setProperty("--hover-bridge-bottom-right-x",`${f}px`),this.style.setProperty("--hover-bridge-bottom-right-y",`${d}px`)}}}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start()}disconnectedCallback(){this.stop()}async updated(n){super.updated(n),n.has("active")&&(this.active?this.start():this.stop()),n.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}async handleAnchorChange(){if(await this.stop(),this.anchor&&typeof this.anchor=="string"){let n=this.getRootNode();this.anchorEl=n.getElementById(this.anchor)}else this.anchor instanceof Element?this.anchorEl=this.anchor:this.anchorEl=this.querySelector('[slot="anchor"]');if(this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),!this.anchorEl)throw new Error("Invalid anchor element: no anchor could be found using the anchor slot or the anchor attribute.");this.start()}start(){this.anchorEl&&(this.cleanup=ue(this.anchorEl,this.popup,()=>{this.reposition()}))}stop(){return new Promise(n=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame(()=>n())):n()})}reposition(){if(!this.active||!this.anchorEl)return;let n=[he({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?n.push(Mt({apply:({rects:i})=>{let s=this.sync==="width"||this.sync==="both",r=this.sync==="height"||this.sync==="both";this.popup.style.width=s?`${i.reference.width}px`:"",this.popup.style.height=r?`${i.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&n.push(me({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&n.push(de({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?n.push(Mt({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:i,availableHeight:s})=>{this.autoSize==="vertical"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-height",`${s}px`):this.style.removeProperty("--auto-size-available-height"),this.autoSize==="horizontal"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-width",`${i}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&n.push(pe({element:this.arrowEl,padding:this.arrowPadding}));let o=this.strategy==="absolute"?i=>pt.getOffsetParent(i,ye):pt.getOffsetParent;ge(this.anchorEl,this.popup,{placement:this.placement,middleware:n,strategy:this.strategy,platform:$(A({},pt),{getOffsetParent:o})}).then(({x:i,y:s,middlewareData:r,placement:l})=>{let a=getComputedStyle(this).direction==="rtl",h={top:"bottom",right:"left",bottom:"top",left:"right"}[l.split("-")[0]];if(this.setAttribute("data-current-placement",l),Object.assign(this.popup.style,{left:`${i}px`,top:`${s}px`}),this.arrow){let c=r.arrow.x,f=r.arrow.y,d="",u="",m="",p="";if(this.arrowPlacement==="start"){let g=typeof c=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";d=typeof f=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",u=a?g:"",p=a?"":g}else if(this.arrowPlacement==="end"){let g=typeof c=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";u=a?"":g,p=a?g:"",m=typeof f=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(p=typeof c=="number"?"calc(50% - var(--arrow-size-diagonal))":"",d=typeof f=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(p=typeof c=="number"?`${c}px`:"",d=typeof f=="number"?`${f}px`:"");Object.assign(this.arrowEl.style,{top:d,right:u,bottom:m,left:p,[h]:"calc(var(--arrow-size-diagonal) * -1)"})}}),requestAnimationFrame(()=>this.updateHoverBridge()),this.emit("dsa-reposition")}render(){return Ct`
|
|
2
|
+
<slot name="anchor" @slotchange=${this.handleAnchorChange}></slot>
|
|
3
|
+
|
|
4
|
+
<span
|
|
5
|
+
part="hover-bridge"
|
|
6
|
+
class=${Pt({"popup-hover-bridge":!0,"popup-hover-bridge--visible":this.hoverBridge&&this.active})}
|
|
7
|
+
></span>
|
|
8
|
+
|
|
9
|
+
<div
|
|
10
|
+
part="popup"
|
|
11
|
+
class=${Pt({popup:!0,"popup--active":this.active,"popup--fixed":this.strategy==="fixed","popup--has-arrow":this.arrow})}
|
|
12
|
+
>
|
|
13
|
+
<slot></slot>
|
|
14
|
+
${this.arrow?Ct`<div
|
|
15
|
+
part="arrow"
|
|
16
|
+
class="popup__arrow"
|
|
17
|
+
role="presentation"
|
|
18
|
+
></div>`:""}
|
|
19
|
+
</div>
|
|
20
|
+
`}};w.styles=Ft,v([At(".popup")],w.prototype,"popup",2),v([At(".popup__arrow")],w.prototype,"arrowEl",2),v([O()],w.prototype,"anchor",2),v([O({type:Boolean,reflect:!0})],w.prototype,"active",2),v([O({reflect:!0})],w.prototype,"placement",2),v([O({reflect:!0})],w.prototype,"strategy",2),v([O({type:Number})],w.prototype,"distance",2),v([O({type:Number})],w.prototype,"skidding",2),v([O({type:Boolean})],w.prototype,"arrow",2),v([O({attribute:"arrow-placement"})],w.prototype,"arrowPlacement",2),v([O({attribute:"arrow-padding",type:Number})],w.prototype,"arrowPadding",2),v([O({type:Boolean})],w.prototype,"flip",2),v([O({attribute:"flip-fallback-placements",converter:{fromAttribute:n=>n.split(" ").map(o=>o.trim()).filter(o=>o!==""),toAttribute:n=>n.join(" ")}})],w.prototype,"flipFallbackPlacements",2),v([O({attribute:"flip-fallback-strategy"})],w.prototype,"flipFallbackStrategy",2),v([O({type:Object})],w.prototype,"flipBoundary",2),v([O({attribute:"flip-padding",type:Number})],w.prototype,"flipPadding",2),v([O({type:Boolean})],w.prototype,"shift",2),v([O({type:Object})],w.prototype,"shiftBoundary",2),v([O({attribute:"shift-padding",type:Number})],w.prototype,"shiftPadding",2),v([O({attribute:"auto-size"})],w.prototype,"autoSize",2),v([O()],w.prototype,"sync",2),v([O({type:Object})],w.prototype,"autoSizeBoundary",2),v([O({attribute:"auto-size-padding",type:Number})],w.prototype,"autoSizePadding",2),v([O({attribute:"hover-bridge",type:Boolean})],w.prototype,"hoverBridge",2),w=v([kt("dsa-popup")],w);export{w as a};
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import{a as L}from"./chunk.RVJ7GEHV.js";import{a as f}from"./chunk.AWM5EZRY.js";import{a as O}from"./chunk.VBIJSQJQ.js";import{a as V}from"./chunk.2OZWUNZO.js";import{c as w}from"./chunk.3RLUYXJN.js";import{a as _}from"./chunk.PIG773U2.js";import{a as C}from"./chunk.W6E7LGND.js";import{c as $}from"./chunk.AM2ZR2Y2.js";import{a as m}from"./chunk.QTD6NQFL.js";import{a as v}from"./chunk.2RF4WD6T.js";import{a as c}from"./chunk.BWEPOOQP.js";import{a as y,b as h,c as r,d as u}from"./chunk.KBZ32KWP.js";import{a as o}from"./chunk.GP725TPQ.js";import{a as g,b,f as a}from"./chunk.IZ2HVRME.js";var p="dsa-option",i=class extends O{constructor(){super(...arguments);this.displayLabel="";this.allOptions=[];this.selectedOptions=[];this.displayedOptions=[];this.searchValue="";this.nbOptions=0;this.seeAll=!1;this.debounceTimerId=null;this.optionsByValue=new Map;this.normalizedLabelsByValue=new Map;this.value="";this.multiple=!1;this.maxVisibleListLength=5;this.searchable=!1;this.debounceTimeout=300;this.optionGender="masculine";this.columnsFilter=!1}connectedCallback(){super.connectedCallback(),this.allOptions=this.getAllOptions(),this.nbOptions=this.allOptions.length,this.filterOptions()}disconnectedCallback(){super.disconnectedCallback(),this.debounceTimerId!==null&&(clearTimeout(this.debounceTimerId),this.debounceTimerId=null)}handleKeyDown(e){super.handleKeyDown(e);let l=e.composedPath(),t=l.some(n=>n instanceof V),s=l.some(n=>n instanceof f);if((e.key==="Enter"||e.key===" ")&&t&&this.currentOption&&!this.currentOption.disabled&&(e.preventDefault(),this.multiple||this.value.includes(this.currentOption.value)?this.toggleOptionSelection(this.currentOption):this.setSelectedOptions(this.currentOption),this.updateComplete.then(()=>{this.emit("dsa-change")}),!this.multiple&&!this.drawer&&(this.hide(),this.filterTrigger.focus({preventScroll:!0}))),!this.multiple&&t&&["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let n=this.displayedOptions.indexOf(this.currentOption),d=Math.max(0,n);!(n===0&&e.key==="ArrowUp")&&!(n===this.displayedOptions.length-1&&e.key==="ArrowDown")&&e.preventDefault(),e.key==="ArrowDown"&&n<this.displayedOptions.length-1?d=n+1:e.key==="ArrowUp"&&n>0?d=n-1:e.key==="Home"?d=0:e.key==="End"&&(d=this.displayedOptions.length-1),this.setCurrentOption(this.displayedOptions[d])}s&&e.stopPropagation()}handleSearchInput(e){e.stopPropagation(),this.searchValue=this.searchInput.value,this.debounceTimerId!==null&&clearTimeout(this.debounceTimerId),this.debounceTimerId=setTimeout(()=>{this.emit("dsa-input")},this.debounceTimeout)}handleOptionFocus(e){let t=e.target.closest(p);t&&this.setCurrentOption(t)}handleOptionClick(e){let t=e.target.closest(p),s=this.value;t&&!t.disabled&&(this.multiple||this.value.includes(t.value)?this.toggleOptionSelection(t):this.setSelectedOptions(t),this.value!==s&&this.updateComplete.then(()=>{this.emit("dsa-change")}),!this.multiple&&!this.drawer&&(this.updateComplete.then(()=>this.filterTrigger.focus({preventScroll:!0})),this.hide()))}filterOptions(){if(this.searchValue.length>0){let e=m(this.searchValue);this.displayedOptions=this.allOptions.filter(l=>{var s;return((s=this.normalizedLabelsByValue.get(l.value))!=null?s:m(l.innerText)).includes(e)})}else!this.seeAll&&this.maxVisibleListLength>0?this.displayedOptions=this.allOptions.slice(0,this.maxVisibleListLength):this.displayedOptions=this.allOptions;this.displayedOptions.forEach(e=>e.tabIndex=0)}handleMultipleHeaderButtonClick(){this.selectedOptions.length>0?this.allOptions.forEach(e=>e.selected=!1):this.allOptions.forEach(e=>e.selected=!0),this.selectionChanged(),this.updateComplete.then(()=>{this.emit("dsa-change")})}handleSearchClear(){this.searchValue=""}handleSeeAllClick(){this.seeAll=!0,this.filterOptions()}handleDefaultSlotChange(){if(customElements.get(p)){this.allOptions=this.getAllOptions(),this.nbOptions=this.allOptions.length;let e=Array.isArray(this.value)?this.value:[this.value];this.setSelectedOptions(this.allOptions.filter(l=>e.includes(l.value))),this.filterOptions()}else customElements.whenDefined(p).then(()=>this.handleDefaultSlotChange())}getAllOptions(){let e=this.querySelectorAll(p),l=[];return this.optionsByValue.clear(),this.normalizedLabelsByValue.clear(),e.forEach(t=>{t.role=this.multiple?"checkbox":"radio";let s=t.cloneNode(!0);s.selected=t.selected,s.multiple=this.multiple,s.role=this.multiple?"checkbox":"radio",s.classList.add("filter-select__option"),s.onfocus=this.handleOptionFocus.bind(this),l.push(s),this.optionsByValue.set(t.value,t),this.normalizedLabelsByValue.set(t.value,m(s.innerText))}),l}getFirstOption(){return this.querySelector(p)}setCurrentOption(e){this.displayedOptions.forEach(l=>{l.current=!1}),e&&(this.currentOption=e,e.current=!0,e.focus())}setSelectedOptions(e){let l=Array.isArray(e)?e:[e];this.allOptions.forEach(t=>t.selected=!1),l.length&&l.forEach(t=>{let s=this.optionsByValue.get(t.value);s&&(t.selected=!0,s.selected=!0)}),this.selectionChanged()}toggleOptionSelection(e,l){let t=this.optionsByValue.get(e.value);t&&(l===!0||l===!1?t.selected=l:t.selected=!e.selected,this.selectionChanged())}selectionChanged(){var l,t;this.selectedOptions=this.allOptions.filter(s=>s.selected),this.filterOptions();let e=new Set(this.selectedOptions.map(s=>s.value));this.displayedOptions.forEach(s=>{s.selected=e.has(s.value)}),this.multiple?this.value=this.selectedOptions.map(s=>s.value):this.value=(t=(l=this.selectedOptions[0])==null?void 0:l.value)!=null?t:"",this.selectedOptions[0]?this.selectedOptions[0].updateComplete.then(()=>{var s,n;this.displayLabel=(n=(s=this.selectedOptions[0])==null?void 0:s.getTextLabel())!=null?n:""}):this.displayLabel=""}getDisplayedOptionsList(){return this.multiple?o`<div role="list">
|
|
2
|
+
${this.displayedOptions.map(e=>o`<div role="listitem">${e}</div>`)}
|
|
3
|
+
</div>`:this.displayedOptions}handleSearchValueChange(){this.searchValue.length>0&&(this.seeAll=!0),this.filterOptions()}handleValueChange(){let e=Array.isArray(this.value)?this.value:[this.value];this.setSelectedOptions(this.allOptions.filter(l=>e.includes(l.value)))}async handleOpenChange(){this.open&&(this.selectedOptions.length>0&&(this.seeAll=!0),this.filterOptions(),this.setCurrentOption(this.selectedOptions[0]||this.getFirstOption())),await super.handleOpenChange(),this.open&&(requestAnimationFrame(()=>{this.setCurrentOption(this.currentOption)}),this.currentOption&&w(this.currentOption,this.listbox,"vertical","auto"))}handleSeeAllChange(){this.seeAll&&this.displayedOptions[this.maxVisibleListLength]!==void 0&&setTimeout(()=>this.displayedOptions[this.maxVisibleListLength].focus())}handleMultipleChange(){this.handleDefaultSlotChange()}async hide(){await super.hide(),this.searchValue=""}renderTrigger(){if(this.columnsFilter)return o`
|
|
4
|
+
<dsa-button
|
|
5
|
+
slot="anchor"
|
|
6
|
+
class="filter__trigger"
|
|
7
|
+
aria-expanded=${this.open?"true":"false"}
|
|
8
|
+
aria-controls="filter__panel"
|
|
9
|
+
?disabled=${this.disabled}
|
|
10
|
+
@focus=${this.handleFocus}
|
|
11
|
+
@blur=${this.handleBlur}
|
|
12
|
+
@mousedown=${this.handleFilterTriggerMouseDown}
|
|
13
|
+
variant="tertiary"
|
|
14
|
+
caret
|
|
15
|
+
>
|
|
16
|
+
<dsa-icon
|
|
17
|
+
name="view_column"
|
|
18
|
+
slot="prefix"
|
|
19
|
+
library="system"
|
|
20
|
+
></dsa-icon>
|
|
21
|
+
${this.label!==""?this.label:this.localize.term("columns")}
|
|
22
|
+
</dsa-button>
|
|
23
|
+
`;{let e=this.selectedOptions.length;return o`
|
|
24
|
+
<dsa-filter-button
|
|
25
|
+
slot="anchor"
|
|
26
|
+
class="filter__trigger"
|
|
27
|
+
label=${this.label}
|
|
28
|
+
selected-option=${e===1?this.displayLabel:""}
|
|
29
|
+
selection-count=${e}
|
|
30
|
+
aria-expanded=${this.open?"true":"false"}
|
|
31
|
+
aria-controls="filter__panel"
|
|
32
|
+
?disabled=${this.disabled}
|
|
33
|
+
?readonly=${this.readonly}
|
|
34
|
+
?drawer=${this.drawer}
|
|
35
|
+
@focus=${this.handleFocus}
|
|
36
|
+
@blur=${this.handleBlur}
|
|
37
|
+
@mousedown=${this.handleFilterTriggerMouseDown}
|
|
38
|
+
></dsa-filter-button>
|
|
39
|
+
`}}renderDeSelectAll(){let e=this.selectedOptions.length;return o`
|
|
40
|
+
<dsa-button
|
|
41
|
+
class="filter__multiselect-header__deselect-all"
|
|
42
|
+
variant="tertiary"
|
|
43
|
+
size="small"
|
|
44
|
+
@click=${this.handleMultipleHeaderButtonClick}
|
|
45
|
+
>
|
|
46
|
+
${e===0?o` ${this.localize.term("selectAll")} `:o`
|
|
47
|
+
<dsa-icon
|
|
48
|
+
name="restart_alt"
|
|
49
|
+
slot="prefix"
|
|
50
|
+
library="system"
|
|
51
|
+
></dsa-icon>
|
|
52
|
+
${this.localize.term("deselectAll")}
|
|
53
|
+
`}
|
|
54
|
+
</dsa-button>
|
|
55
|
+
`}renderPanelContent(){let e=this.selectedOptions.length;return o`
|
|
56
|
+
${this.multiple&&!this.drawer?o`
|
|
57
|
+
<div class="filter__multiselect-header">
|
|
58
|
+
<span role="status"
|
|
59
|
+
>${this.localize.term("numberSelected",e,this.optionGender)}</span
|
|
60
|
+
>
|
|
61
|
+
${this.renderDeSelectAll()}
|
|
62
|
+
</div>
|
|
63
|
+
`:""}
|
|
64
|
+
${this.searchable?o`
|
|
65
|
+
<dsa-input
|
|
66
|
+
type="search"
|
|
67
|
+
accessible-name=${this.localize.term("search")}
|
|
68
|
+
placeholder=${this.localize.term("search")}
|
|
69
|
+
variant="layer"
|
|
70
|
+
.value=${this.searchValue}
|
|
71
|
+
@input=${this.handleSearchInput}
|
|
72
|
+
clearable
|
|
73
|
+
@dsa-clear=${this.handleSearchClear}
|
|
74
|
+
></dsa-input>
|
|
75
|
+
<dsa-visually-hidden>
|
|
76
|
+
<span
|
|
77
|
+
role="status"
|
|
78
|
+
aria-live="polite"
|
|
79
|
+
aria-relevant="all"
|
|
80
|
+
.live=${this.searchValue}
|
|
81
|
+
>${this.searchValue.length>0?`${this.displayedOptions.length} ${this.localize.term("optionsAvailable")}`:""}</span
|
|
82
|
+
>
|
|
83
|
+
</dsa-visually-hidden>
|
|
84
|
+
`:""}
|
|
85
|
+
|
|
86
|
+
<div
|
|
87
|
+
id="listbox"
|
|
88
|
+
role=${this.multiple?"group":"radiogroup"}
|
|
89
|
+
aria-multiselectable=${v(this.multiple?"true":void 0)}
|
|
90
|
+
aria-label=${this.localize.term("selectValue",this.multiple)}
|
|
91
|
+
part="listbox"
|
|
92
|
+
class="filter__listbox"
|
|
93
|
+
@mouseup=${this.handleOptionClick}
|
|
94
|
+
>
|
|
95
|
+
${this.displayedOptions.length>0?this.getDisplayedOptionsList():o`<div class="filter__empty_text">
|
|
96
|
+
<p>${this.localize.term("noMatchFound")}</p>
|
|
97
|
+
</div>`}
|
|
98
|
+
</div>
|
|
99
|
+
|
|
100
|
+
<div
|
|
101
|
+
class="filter__options"
|
|
102
|
+
tabindex="-1"
|
|
103
|
+
role=${this.multiple?"group":"radiogroup"}
|
|
104
|
+
>
|
|
105
|
+
<slot @slotchange=${this.handleDefaultSlotChange}></slot>
|
|
106
|
+
</div>
|
|
107
|
+
|
|
108
|
+
<div class="filter-select__footer">
|
|
109
|
+
${this.maxVisibleListLength>0&&this.nbOptions>this.maxVisibleListLength&&!this.seeAll?o`
|
|
110
|
+
<dsa-button
|
|
111
|
+
variant="tertiary"
|
|
112
|
+
size="small"
|
|
113
|
+
class="filter__see-all-button"
|
|
114
|
+
@click=${this.handleSeeAllClick}
|
|
115
|
+
>
|
|
116
|
+
${this.localize.term("seeAll",this.nbOptions)}
|
|
117
|
+
</dsa-button>
|
|
118
|
+
`:""}
|
|
119
|
+
${this.drawer&&this.multiple?this.renderDeSelectAll():""}
|
|
120
|
+
</div>
|
|
121
|
+
`}};i.styles=L,i.dependencies=b(g({},O.dependencies),{"dsa-button":C,"dsa-icon":$,"dsa-input":f,"dsa-visually-hidden":_}),a([u(".filter__multiselect-header__deselect-all")],i.prototype,"deselectAllButton",2),a([u("dsa-input")],i.prototype,"searchInput",2),a([u(".filter__listbox")],i.prototype,"listbox",2),a([u(".filter__see-all-button")],i.prototype,"seeAllButton",2),a([r()],i.prototype,"displayLabel",2),a([r()],i.prototype,"allOptions",2),a([r()],i.prototype,"currentOption",2),a([r()],i.prototype,"selectedOptions",2),a([r()],i.prototype,"displayedOptions",2),a([r()],i.prototype,"searchValue",2),a([r()],i.prototype,"nbOptions",2),a([r()],i.prototype,"seeAll",2),a([r()],i.prototype,"debounceTimerId",2),a([h({converter:{fromAttribute:e=>e.split(" "),toAttribute:e=>typeof e=="string"?e:e.join(" ")}})],i.prototype,"value",2),a([h({type:Boolean,reflect:!0})],i.prototype,"multiple",2),a([h({attribute:"max-visible-list-length",type:Number})],i.prototype,"maxVisibleListLength",2),a([h({type:Boolean})],i.prototype,"searchable",2),a([h({type:Number,attribute:"debounce-timeout"})],i.prototype,"debounceTimeout",2),a([h({attribute:"option-gender"})],i.prototype,"optionGender",2),a([h({type:Boolean,attribute:"columns-filter"})],i.prototype,"columnsFilter",2),a([c("searchValue",{waitUntilFirstUpdate:!0})],i.prototype,"handleSearchValueChange",1),a([c("value",{waitUntilFirstUpdate:!0})],i.prototype,"handleValueChange",1),a([c("seeAll")],i.prototype,"handleSeeAllChange",1),a([c("multiple")],i.prototype,"handleMultipleChange",1),i=a([y("dsa-filter-select")],i);export{i as a};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import{a as m}from"./chunk.4E7MNGOV.js";import{a as p}from"./chunk.PIG773U2.js";import{a as
|
|
1
|
+
import{a as m}from"./chunk.4E7MNGOV.js";import{a as p}from"./chunk.PIG773U2.js";import{a as d}from"./chunk.ELL45QD3.js";import{a as r}from"./chunk.2RF4WD6T.js";import{d as n}from"./chunk.ZBHHLRFH.js";import{a as i,b as l,d as o,f as u}from"./chunk.KBZ32KWP.js";import{a as s}from"./chunk.GP725TPQ.js";import{f as t}from"./chunk.IZ2HVRME.js";var e=class extends u{constructor(){super(...arguments);this.hasSlotController=new d(this,"[default]","prefix","suffix");this.value=0;this.selected=!1;this.disabled=!1;this.navigationType="button";this.compact=!1}getAriaCurrent(){if(this.selected)return this.navigationType==="link"?"page":"true"}render(){let f=this.hasSlotController.test("[default]"),a=this.selected||this.value===-1,b=this.getAriaCurrent();return s`
|
|
2
2
|
<button
|
|
3
3
|
role=${r(this.navigationType==="link"?"link":void 0)}
|
|
4
4
|
part="base"
|
|
5
|
-
class=${
|
|
5
|
+
class=${n({button:!0,"button-pagination":!0,"button-number":!f,"button--selected":this.selected,"button--inactive":a,"button--disabled":this.disabled})}
|
|
6
6
|
value="${this.value}"
|
|
7
7
|
?disabled=${this.disabled||a}
|
|
8
|
-
aria-current=${r(
|
|
8
|
+
aria-current=${r(b)}
|
|
9
9
|
>
|
|
10
10
|
<slot name="prefix"></slot>
|
|
11
11
|
${this.compact&&this.value===0?s`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as c}from"./chunk.
|
|
1
|
+
import{a as c}from"./chunk.UIEL566X.js";import{a as m}from"./chunk.ELL45QD3.js";import{a as t}from"./chunk.KLRPP4NQ.js";import{a as n}from"./chunk.B4KFHYLS.js";import{a as r,b as o,d as i,f as l}from"./chunk.KBZ32KWP.js";import{a}from"./chunk.GP725TPQ.js";import{f as s}from"./chunk.IZ2HVRME.js";var e=class extends l{constructor(){super(...arguments);this.hasSlotController=new m(this,"collapsed-summary","summary");this.open=!1;this.collapsed=!1}handleToggle(){this.open!==this.accordion.open&&(this.open=this.accordion.open)}async show(){if(!this.open)return this.open=!0,await t(this,"dsa-after-show")}async hide(){if(this.open)return this.open=!1,await t(this,"dsa-after-hide")}focus(d){this.accordion.focus(d)}blur(){this.accordion.blur()}click(){this.accordion.click()}render(){return!this.summary&&!this.hasSlotController.test("summary")&&n("<dsa-sidenav-info-accordion> requires a summary attribute or a summary slot for accessibility"),a`
|
|
2
2
|
<dsa-menu-accordion
|
|
3
3
|
?open=${this.open}
|
|
4
4
|
?collapsed=${this.collapsed}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as v}from"./chunk.DY5MCIEV.js";import{
|
|
1
|
+
import{a as v}from"./chunk.DY5MCIEV.js";import{a as f}from"./chunk.2FPBPQUJ.js";import{c as m}from"./chunk.Q54GPNUS.js";import{b as s}from"./chunk.QTD6NQFL.js";import{a as p}from"./chunk.2RF4WD6T.js";import{d as u}from"./chunk.ZBHHLRFH.js";import{a as n}from"./chunk.BWEPOOQP.js";import{a as r,b as o,c as h,d as i,f as b}from"./chunk.KBZ32KWP.js";import{a as d}from"./chunk.GP725TPQ.js";import{f as e}from"./chunk.IZ2HVRME.js";var B=0,t=class extends b{constructor(){super(...arguments);this.localize=new m(this);this.attrId=++B;this.componentId=`dsa-tab-${this.attrId}`;this.widthPlaceholderNodes=[];this.panel="";this.active=!1;this.closable=!1;this.disabled=!1}connectedCallback(){super.connectedCallback(),this.id||(this.id=this.componentId),s(this,"role","tab")}firstUpdated(){this.updateWidthPlaceholderNodes();let l=this.closeButton;l!==null&&l.updateComplete.then(()=>{let a=this.active?"0":"-1";s(l.button,"tabindex",a)})}handleDefaultSlotChange(){this.updateWidthPlaceholderNodes()}updateWidthPlaceholderNodes(){this.widthPlaceholderNodes=this.defaultSlot?this.defaultSlot.assignedNodes().map(l=>l.cloneNode(!0)):[]}handleCloseClick(l){l.stopPropagation(),this.emit("dsa-close")}handleActiveChange(){var c;let l=this.active?"true":"false";s(this,"aria-selected",l);let a=this.active?"0":"-1";(c=this.closeButton)!=null&&c.button&&s(this.closeButton.button,"tabindex",a)}handleDisabledChange(){let l=this.disabled?"true":"false";s(this,"aria-disabled",l);let a=this.disabled?-1:0;this.tabIndex!==a&&(this.tabIndex=a)}render(){return d`
|
|
2
2
|
<div
|
|
3
3
|
part="base"
|
|
4
4
|
class=${u({tab:!0,"tab--active":this.active,"tab--closable":this.closable,"tab--disabled":this.disabled})}
|
|
@@ -8,6 +8,7 @@ import{a}from"./chunk.UMC4I57R.js";import{a as r}from"./chunk.6G2FNLAV.js";var i
|
|
|
8
8
|
.file-item-container {
|
|
9
9
|
display: flex;
|
|
10
10
|
flex-direction: column;
|
|
11
|
+
--clear-icon-size: var(--dsa-wc-file-upload-clear-icon-medium-size);
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
/* Item */
|
|
@@ -77,23 +78,21 @@ import{a}from"./chunk.UMC4I57R.js";import{a as r}from"./chunk.6G2FNLAV.js";var i
|
|
|
77
78
|
[part~='clear-button']::after {
|
|
78
79
|
content: '';
|
|
79
80
|
position: absolute;
|
|
80
|
-
inset:
|
|
81
|
+
inset: 0;
|
|
81
82
|
margin: -0.625rem;
|
|
82
83
|
}
|
|
83
84
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
[part~='clear-button'] > dsa-icon {
|
|
86
|
+
width: var(--clear-icon-size);
|
|
87
|
+
height: var(--clear-icon-size);
|
|
87
88
|
}
|
|
88
89
|
|
|
89
|
-
.file-item-container--
|
|
90
|
-
|
|
91
|
-
width: var(--dsa-wc-file-upload-clear-icon-medium-size);
|
|
90
|
+
.file-item-container--small {
|
|
91
|
+
--clear-icon-size: var(--dsa-wc-file-upload-clear-icon-small-size);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
.file-item-container--large
|
|
95
|
-
|
|
96
|
-
width: var(--dsa-wc-file-upload-clear-icon-large-size);
|
|
94
|
+
.file-item-container--large {
|
|
95
|
+
--clear-icon-size: var(--dsa-wc-file-upload-clear-icon-large-size);
|
|
97
96
|
}
|
|
98
97
|
|
|
99
98
|
/* Progress Indicator */
|
|
@@ -123,9 +122,7 @@ import{a}from"./chunk.UMC4I57R.js";import{a as r}from"./chunk.6G2FNLAV.js";var i
|
|
|
123
122
|
/* Progress Bar */
|
|
124
123
|
.progress-bar {
|
|
125
124
|
position: absolute;
|
|
126
|
-
|
|
127
|
-
left: 0px;
|
|
128
|
-
right: 0px;
|
|
125
|
+
inset: auto 0 0;
|
|
129
126
|
height: 4px;
|
|
130
127
|
background: var(--dsa-color-progress-bar-background);
|
|
131
128
|
}
|
|
@@ -142,8 +139,8 @@ import{a}from"./chunk.UMC4I57R.js";import{a as r}from"./chunk.6G2FNLAV.js";var i
|
|
|
142
139
|
height: 100%;
|
|
143
140
|
background-color: var(--dsa-color-progress-bar-on-background-indicator);
|
|
144
141
|
transition:
|
|
145
|
-
400ms
|
|
146
|
-
|
|
142
|
+
width 400ms,
|
|
143
|
+
background-color 400ms;
|
|
147
144
|
user-select: none;
|
|
148
145
|
}
|
|
149
146
|
`;export{i as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as d}from"./chunk.QHSERCS2.js";import{a as n}from"./chunk.B4KFHYLS.js";import{c}from"./chunk.
|
|
1
|
+
import{a as d}from"./chunk.QHSERCS2.js";import{a as n}from"./chunk.B4KFHYLS.js";import{c}from"./chunk.Q54GPNUS.js";import{c as o}from"./chunk.AM2ZR2Y2.js";import{a as l}from"./chunk.BWEPOOQP.js";import{a as i,b as a,f as r}from"./chunk.KBZ32KWP.js";import{a as s}from"./chunk.GP725TPQ.js";import{f as t}from"./chunk.IZ2HVRME.js";var e=class extends r{constructor(){super(...arguments);this.localize=new c(this);this.label="";this.selectedOption="";this.selectionCount=0;this.tabindex=0;this.disabled=!1;this.readonly=!1;this.drawer=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","button")}handleSelectionCountChange(){this.selectionCount>1?this.setAttribute("aria-label",`${this.label} : ${this.selectionCount} ${this.localize.term("valuesSelected")}`):this.removeAttribute("aria-label")}handleDisabledChange(){this.tabindex=this.disabled?-1:0,this.setAttribute("aria-disabled",this.disabled||this.readonly?"true":"false")}render(){return this.label||n("<dsa-filter-button> require a label attribute for accessibility"),s`
|
|
2
2
|
<span class="label"
|
|
3
3
|
>${`${this.label}${this.selectionCount>0&&!this.drawer?" : ":""}`}</span
|
|
4
4
|
>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as h}from"./chunk.4GFD32WP.js";import{c as g}from"./chunk.
|
|
1
|
+
import{a as h}from"./chunk.4GFD32WP.js";import{c as g}from"./chunk.Q54GPNUS.js";import{a,b as n,c as r,d,f as c}from"./chunk.KBZ32KWP.js";import{a as i}from"./chunk.GP725TPQ.js";import{f as o}from"./chunk.IZ2HVRME.js";var e=class extends c{constructor(){super(...arguments);this.localize=new g(this);this.isToggleButtonInCloseMode=!1;this.allAccordions=[];this.singleOpen=!1;this.toggleButton=!1}openAll(){this.allAccordions.forEach(t=>{t.open=!0})}closeAll(){this.allAccordions.forEach(t=>{t.open=!1})}updateToggleButtonMode(){this.toggleButton&&this.allAccordions.every(t=>t.open)&&(this.isToggleButtonInCloseMode=!0)}handleAccordionOpenEvent(t){let l=t.target;if(l.tagName.toLowerCase()==="dsa-accordion"){if(this.singleOpen){this.allAccordions.forEach(s=>{s!==l&&s.open&&(s.open=!1)});return}this.updateToggleButtonMode()}}handleAccordionCloseEvent(t){t.target.tagName.toLowerCase()!=="dsa-accordion"||this.singleOpen||!this.toggleButton||(this.isToggleButtonInCloseMode=!1)}handleToggleButtonClick(){this.isToggleButtonInCloseMode?this.closeAll():this.openAll(),this.isToggleButtonInCloseMode=!this.isToggleButtonInCloseMode}handleSlotChange(){this.allAccordions=[...this.querySelectorAll("dsa-accordion")],this.allAccordions.forEach(t=>t.setAttribute("role","listitem")),this.updateToggleButtonMode()}render(){let t=this.isToggleButtonInCloseMode?this.localize.term("closeAll"):this.localize.term("openAll");return i`
|
|
2
2
|
<div part="base" role="group">
|
|
3
3
|
${!this.singleOpen&&this.toggleButton?i`
|
|
4
4
|
<div part="actions" class="accordion-group__actions">
|