@ds-autonomie/web-components 2.13.0 → 2.14.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 +15 -0
- package/cdn/chunks/{chunk.ZTSFBM3Z.js → chunk.27QL4IYU.js} +1 -1
- package/cdn/chunks/{chunk.F2AI7O4R.js → chunk.2BS4FDS7.js} +1 -1
- package/cdn/chunks/{chunk.BUKM2N6B.js → chunk.3EGQN2WU.js} +1 -1
- package/cdn/chunks/{chunk.Z7ZDVATP.js → chunk.3N5SP55U.js} +11 -8
- package/cdn/chunks/{chunk.653MPFUT.js → chunk.3N7ZDDUL.js} +3 -3
- package/cdn/chunks/{chunk.SOPFOWBL.js → chunk.3UIZ5RTK.js} +1 -1
- package/cdn/chunks/{chunk.XHR7MVV6.js → chunk.5HLGCYCW.js} +4 -4
- package/cdn/chunks/{chunk.CEDKHQ6Y.js → chunk.5KQYKK7F.js} +1 -1
- package/cdn/chunks/{chunk.SVSNIKRJ.js → chunk.5OXHY35T.js} +1 -1
- package/cdn/chunks/{chunk.E6U524GP.js → chunk.5YWOUFLR.js} +1 -1
- package/cdn/chunks/{chunk.MYUDDEC5.js → chunk.6OI6TY62.js} +5 -5
- package/cdn/chunks/{chunk.4Q2WUHBV.js → chunk.6T4NTP5P.js} +1 -1
- package/cdn/chunks/{chunk.UBWOOLWW.js → chunk.6TEFOHBI.js} +47 -30
- package/cdn/chunks/{chunk.UANNVQFM.js → chunk.6TP5MV24.js} +1 -1
- package/cdn/chunks/{chunk.NZFBTFCB.js → chunk.7H3HPSRF.js} +1 -1
- package/cdn/chunks/{chunk.Y3VIEPP4.js → chunk.7OHJ4IWG.js} +1 -1
- package/cdn/chunks/{chunk.IUTJLFMA.js → chunk.AXLGDJN5.js} +14 -2
- package/cdn/chunks/{chunk.QVKLZ6B5.js → chunk.BFFPRKRY.js} +1 -1
- package/cdn/chunks/{chunk.CH7F7WGJ.js → chunk.BKYKGPRF.js} +4 -4
- package/cdn/chunks/{chunk.U4KGIXKJ.js → chunk.C77KPVOT.js} +2 -2
- package/cdn/chunks/{chunk.VDNWYNYL.js → chunk.CMJGPUHA.js} +1 -1
- package/cdn/chunks/{chunk.3K2PJ2XE.js → chunk.CSILWGEZ.js} +1 -1
- package/cdn/chunks/{chunk.UDSRZSUI.js → chunk.CTL6ZCUT.js} +1 -1
- package/cdn/chunks/{chunk.L2J7SIIL.js → chunk.D4SGUF6U.js} +3 -7
- package/cdn/chunks/{chunk.KVKLGFVO.js → chunk.DBFO36BO.js} +1 -1
- package/cdn/chunks/{chunk.KM4KITZK.js → chunk.DZNKN7UG.js} +1 -1
- package/cdn/chunks/{chunk.VX3USOBX.js → chunk.EWW2BZ55.js} +1 -1
- package/cdn/chunks/{chunk.FK753ZOL.js → chunk.FAUBDRT4.js} +1 -1
- package/cdn/chunks/{chunk.KOCETN2L.js → chunk.G2SVIJQS.js} +33 -6
- package/cdn/chunks/{chunk.IJML6NHK.js → chunk.GSJB73YG.js} +5 -7
- package/cdn/chunks/{chunk.QRMD4CZI.js → chunk.HBQ2CUEK.js} +6 -6
- package/cdn/chunks/{chunk.HD52LE6J.js → chunk.I6BMKPEG.js} +2 -2
- package/cdn/chunks/chunk.I6O5BUMW.js +193 -0
- package/cdn/chunks/{chunk.CCG62HSL.js → chunk.IIYHRPGQ.js} +1 -1
- package/cdn/chunks/{chunk.JJZU37TO.js → chunk.IJCMZSUR.js} +1 -1
- package/cdn/chunks/{chunk.3YZ3B66O.js → chunk.IXYMG74O.js} +1 -1
- package/cdn/chunks/{chunk.ZSS3MAEC.js → chunk.J2572HZK.js} +1 -1
- package/cdn/chunks/{chunk.KNXOB4UE.js → chunk.JRRGTRHM.js} +2 -2
- package/cdn/chunks/{chunk.SY3EVBNT.js → chunk.JTLVEFWT.js} +3 -0
- package/cdn/chunks/{chunk.S4IPKDIZ.js → chunk.KGCF4GE3.js} +1 -1
- package/cdn/chunks/{chunk.KA5KPMKE.js → chunk.KJEDKAAU.js} +1 -1
- package/cdn/chunks/{chunk.J7IAZRFK.js → chunk.L2BUQDZM.js} +1 -1
- package/cdn/chunks/{chunk.ALIVM5IK.js → chunk.M4JIV4Y5.js} +2 -2
- package/cdn/chunks/{chunk.BR3HXIYO.js → chunk.MF7YPS4H.js} +1 -1
- package/cdn/chunks/{chunk.LAHTYN7O.js → chunk.MY7IDU47.js} +1 -1
- package/cdn/chunks/{chunk.TRBARQEX.js → chunk.NP4PGPAG.js} +1 -1
- package/cdn/chunks/{chunk.CPYSCXYB.js → chunk.NR7XWVN5.js} +1 -1
- package/cdn/chunks/{chunk.7IKGNEUS.js → chunk.NRSRHNP4.js} +1 -1
- package/cdn/chunks/chunk.NXQMWO3B.js +266 -0
- package/cdn/chunks/{chunk.VN25W2LD.js → chunk.O4UP6LFM.js} +47 -20
- package/cdn/chunks/{chunk.ZF3LJFGB.js → chunk.OBQI5SCI.js} +2 -2
- package/cdn/chunks/{chunk.CE4QX5GY.js → chunk.OOJHJQ3U.js} +16 -1
- package/cdn/chunks/{chunk.VJJMI4E3.js → chunk.OTTJPZLF.js} +2 -2
- package/cdn/chunks/{chunk.E6EXYKCB.js → chunk.PA54RLEK.js} +4 -4
- package/cdn/chunks/{chunk.XI4SZBXQ.js → chunk.PJMLZBRQ.js} +4 -4
- package/cdn/chunks/{chunk.FSMUXFAQ.js → chunk.PSBVXVMH.js} +21 -0
- package/cdn/chunks/{chunk.ANY4UVWZ.js → chunk.PWRGRVWK.js} +2 -2
- package/cdn/chunks/{chunk.4ZYC455I.js → chunk.Q32YUSGV.js} +2 -2
- package/cdn/chunks/{chunk.SKCM6IIU.js → chunk.Q7GSCDIH.js} +1 -1
- package/cdn/chunks/{chunk.MYFWIBY6.js → chunk.QCPPB4JM.js} +2 -2
- package/cdn/chunks/{chunk.XUMSOEU7.js → chunk.QQDMDNG6.js} +2 -2
- package/cdn/chunks/{chunk.5BXI46NB.js → chunk.SALIDVU2.js} +3 -4
- package/cdn/chunks/{chunk.IWCZNIF5.js → chunk.SFB5GQLQ.js} +5 -5
- package/cdn/chunks/{chunk.RO6E3CHM.js → chunk.SV2UWNMS.js} +1 -1
- package/cdn/chunks/{chunk.OVCET4YX.js → chunk.TUANFMEV.js} +1 -1
- package/cdn/chunks/{chunk.LF2FSSES.js → chunk.TZJNCBSI.js} +1 -1
- package/cdn/chunks/{chunk.XIS6BKXM.js → chunk.UB6PQVJQ.js} +36 -9
- package/cdn/chunks/{chunk.7X3L3UKI.js → chunk.VC4NFGNB.js} +1 -1
- package/cdn/chunks/{chunk.4UH2GNFC.js → chunk.VO5QJNZB.js} +1 -1
- package/cdn/chunks/{chunk.3RLCSIOS.js → chunk.VRHOQBOT.js} +2 -6
- package/cdn/chunks/{chunk.GCZKQEK3.js → chunk.VZKLPHWL.js} +1 -1
- package/cdn/chunks/{chunk.BPBQ7RLQ.js → chunk.X4ROOYZQ.js} +2 -2
- package/cdn/chunks/{chunk.H4JTQC7T.js → chunk.XBIJAUV4.js} +1 -1
- package/cdn/chunks/{chunk.R3NC5YZH.js → chunk.Y4S7SM27.js} +1 -1
- package/cdn/chunks/{chunk.G6BQ2WKP.js → chunk.YDZHK6RM.js} +2 -2
- package/cdn/chunks/{chunk.PX75GZGD.js → chunk.YUKVCPXW.js} +25 -2
- package/cdn/chunks/{chunk.B6A5AGBJ.js → chunk.ZED3URBR.js} +1 -0
- package/cdn/chunks/{chunk.FOB2ZQTP.js → chunk.ZFTN4BWG.js} +2 -2
- package/cdn/chunks/{chunk.A36W5FG6.js → chunk.ZKESFKS5.js} +1 -1
- package/cdn/components/accordion/accordion.js +4 -4
- package/cdn/components/accordion-group/accordion-group.js +6 -6
- package/cdn/components/alert/alert.d.ts +1 -0
- package/cdn/components/alert/alert.js +4 -4
- package/cdn/components/avatar/avatar.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.js +4 -4
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +2 -2
- package/cdn/components/button/button.js +5 -5
- package/cdn/components/calendar/calendar.js +2 -2
- package/cdn/components/callout/callout.js +2 -2
- package/cdn/components/card-content/card-content.js +2 -2
- package/cdn/components/card-nav-accordion/card-nav-accordion.js +4 -4
- package/cdn/components/card-nav-item/card-nav-item.js +2 -2
- package/cdn/components/checkbox/checkbox.js +6 -6
- package/cdn/components/checkbox-button/checkbox-button.js +3 -3
- package/cdn/components/checkbox-card/checkbox-card.js +2 -2
- package/cdn/components/checkbox-group/checkbox-group.js +3 -3
- package/cdn/components/combobox/combobox.d.ts +1 -0
- package/cdn/components/combobox/combobox.js +11 -7
- package/cdn/components/copy-button/copy-button.js +5 -5
- package/cdn/components/dialog/dialog.js +4 -4
- package/cdn/components/download-card/download-card.js +2 -2
- package/cdn/components/download-link/download-link.js +2 -2
- package/cdn/components/drawer/drawer.js +4 -4
- package/cdn/components/dropdown/dropdown.js +2 -2
- package/cdn/components/error-message-panel/error-message-panel.js +2 -2
- package/cdn/components/error-text/error-text.js +2 -2
- package/cdn/components/file-upload/file-upload.js +4 -4
- package/cdn/components/file-upload-item/file-upload-item.js +2 -2
- package/cdn/components/filter-button/filter-button.js +4 -4
- package/cdn/components/filter-counter/filter-counter.js +18 -18
- package/cdn/components/filter-date/filter-date.js +9 -9
- package/cdn/components/filter-range/filter-range.js +18 -18
- package/cdn/components/filter-select/filter-select.js +19 -19
- package/cdn/components/footer/footer.js +2 -2
- package/cdn/components/format-bytes/format-bytes.js +2 -2
- package/cdn/components/format-date/format-date.js +2 -2
- package/cdn/components/format-number/format-number.js +2 -2
- package/cdn/components/header/header.assets.d.ts +2 -1
- package/cdn/components/header/header.assets.js +5 -3
- package/cdn/components/header/header.d.ts +1 -0
- package/cdn/components/header/header.js +4 -4
- package/cdn/components/header/header.styles.js +1 -1
- package/cdn/components/header-modern/header-modern.d.ts +42 -0
- package/cdn/components/header-modern/header-modern.js +20 -0
- package/cdn/components/header-modern/header-modern.styles.d.ts +2 -0
- package/cdn/components/header-modern/header-modern.styles.js +10 -0
- package/cdn/components/header-search/header-search.d.ts +0 -1
- package/cdn/components/header-search/header-search.js +9 -9
- package/cdn/components/header-search/header-search.styles.js +1 -1
- package/cdn/components/icon/icon.js +2 -2
- package/cdn/components/icon-button/icon-button.js +2 -2
- package/cdn/components/input/input.js +13 -13
- package/cdn/components/input-amount/input-amount.js +5 -5
- package/cdn/components/input-date/input-date.js +8 -8
- package/cdn/components/input-mask/input-mask.js +6 -6
- package/cdn/components/input-native/input-native.js +5 -5
- package/cdn/components/input-otp/input-otp.js +4 -4
- package/cdn/components/input-phone/input-phone.js +14 -12
- package/cdn/components/input-time/input-time.js +7 -7
- package/cdn/components/menu-accordion/menu-accordion.js +5 -5
- package/cdn/components/menu-item/menu-item.js +2 -2
- package/cdn/components/menu-navigation/menu-navigation.js +2 -2
- package/cdn/components/navbar-link/navbar-link.js +4 -4
- package/cdn/components/navbar-menu/navbar-menu.js +5 -5
- package/cdn/components/option/option.js +4 -4
- package/cdn/components/pagination/pagination.js +14 -14
- package/cdn/components/profile-button/profile-button.js +7 -7
- package/cdn/components/profile-button/profile-button.styles.js +1 -1
- package/cdn/components/progress-bar/progress-bar.js +2 -2
- package/cdn/components/quote/quote.js +2 -2
- package/cdn/components/radio/radio.js +2 -2
- package/cdn/components/radio-button/radio-button.js +5 -5
- package/cdn/components/radio-card/radio-card.js +5 -5
- package/cdn/components/radio-group/radio-group.js +4 -4
- package/cdn/components/relative-time/relative-time.js +2 -2
- package/cdn/components/search/search.js +5 -5
- package/cdn/components/select/select.d.ts +1 -2
- package/cdn/components/select/select.js +10 -6
- package/cdn/components/sidenav/sidenav.js +6 -6
- package/cdn/components/sidenav-info-accordion/sidenav-info-accordion.js +5 -5
- package/cdn/components/skip-link-item/skip-link-item.js +2 -2
- package/cdn/components/skip-link-item/skip-link-item.styles.js +1 -1
- package/cdn/components/skip-links/skip-links.js +2 -2
- package/cdn/components/spinner/spinner.js +2 -2
- package/cdn/components/split-panel/split-panel.js +4 -4
- package/cdn/components/step/step.js +5 -5
- package/cdn/components/success-text/success-text.js +2 -2
- package/cdn/components/switch/switch.js +5 -5
- package/cdn/components/tab/tab.js +4 -4
- package/cdn/components/tab-group/tab-group.js +4 -4
- package/cdn/components/table-action/table-action.js +2 -2
- package/cdn/components/table-body/table-body.js +2 -2
- package/cdn/components/table-caption/table-caption.js +2 -2
- package/cdn/components/table-container/table-container.js +2 -2
- package/cdn/components/table-header-cell/table-header-cell.js +2 -2
- package/cdn/components/table-header-row/table-header-row.js +11 -11
- package/cdn/components/table-of-contents/table-of-contents.js +2 -2
- package/cdn/components/table-row/table-row.js +8 -8
- package/cdn/components/tag/tag.d.ts +10 -0
- package/cdn/components/tag/tag.js +14 -5
- package/cdn/components/tag/tag.styles.js +1 -1
- package/cdn/components/textarea/textarea.js +4 -4
- package/cdn/components/tooltip/tooltip.js +2 -2
- package/cdn/components/tree/tree.js +11 -11
- package/cdn/components/tree-item/tree-item.js +9 -9
- package/cdn/custom-elements.json +613 -343
- package/cdn/design-system.d.ts +1 -0
- package/cdn/design-system.js +145 -140
- package/cdn/themes/dsa-wc-theme.css +20 -1
- package/cdn/themes/dsa-wc-theme.min.css +1 -1
- package/cdn/themes/dsa-wc-theme.styles.js +20 -1
- 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/localize.d.ts +7 -1
- package/cdn/utilities/localize.js +1 -1
- package/cdn/utilities/storybook.js +2 -2
- package/cdn/vscode.html-custom-data.json +45 -13
- package/cdn/web-types.json +277 -135
- package/dist/chunks/{chunk.KYZD4HDJ.js → chunk.2IQGSC6O.js} +2 -2
- package/dist/chunks/{chunk.PFSXVNN2.js → chunk.2OOQ2NCR.js} +1 -1
- package/dist/chunks/{chunk.D5R3P43B.js → chunk.2SEZCGJ3.js} +1 -1
- package/dist/chunks/{chunk.7TG3DZTW.js → chunk.36NZDHSV.js} +1 -1
- package/dist/chunks/{chunk.OKT4R6YV.js → chunk.46JZ4IOR.js} +1 -1
- package/dist/chunks/{chunk.M5BZYGOO.js → chunk.47UW24KJ.js} +47 -30
- package/dist/chunks/{chunk.A2YTGQ5P.js → chunk.4RIYXW6H.js} +1 -1
- package/dist/chunks/{chunk.5SH2NDGR.js → chunk.5SWZPGRD.js} +2 -2
- package/dist/chunks/{chunk.OBK2DHZB.js → chunk.6R2AWNKQ.js} +4 -4
- package/dist/chunks/{chunk.I26LWXXM.js → chunk.6WSD7QPH.js} +1 -1
- package/dist/chunks/{chunk.2I63PZSO.js → chunk.7532DR34.js} +1 -1
- package/dist/chunks/{chunk.7EXTAE26.js → chunk.7AUS6TUM.js} +1 -1
- package/dist/chunks/{chunk.6KJSL5LS.js → chunk.7NXV3VF3.js} +1 -1
- package/dist/chunks/{chunk.TWQ2VS2U.js → chunk.7T4JFEP3.js} +1 -1
- package/dist/chunks/{chunk.JSNVYESF.js → chunk.7TLERCGA.js} +25 -2
- package/dist/chunks/{chunk.GDLRITRX.js → chunk.A6JPNFVS.js} +1 -1
- package/dist/chunks/{chunk.OBIOX2QK.js → chunk.AJ6TVRRB.js} +1 -1
- package/dist/chunks/{chunk.PSY6BXI7.js → chunk.AXDAWBNN.js} +3 -0
- package/dist/chunks/{chunk.6VBPJWGT.js → chunk.C42D5RKV.js} +3 -3
- package/dist/chunks/{chunk.OM7W63ZQ.js → chunk.CCULDZ5X.js} +1 -1
- package/dist/chunks/{chunk.SHMCRSQN.js → chunk.D5655OGD.js} +4 -4
- package/dist/chunks/{chunk.ZRTIZ2ZU.js → chunk.DZIULIME.js} +1 -1
- package/dist/chunks/{chunk.S4KNUHFV.js → chunk.EKKVLF7E.js} +1 -1
- package/dist/chunks/{chunk.GIRLDLV3.js → chunk.F4IP53FN.js} +4 -4
- package/dist/chunks/{chunk.Z5AFKKBB.js → chunk.F7ZGTKYJ.js} +1 -1
- package/dist/chunks/{chunk.7MGIRC6M.js → chunk.FFVQTNFR.js} +1 -1
- package/dist/chunks/{chunk.4CT4OG3U.js → chunk.FIA35WYC.js} +1 -1
- package/dist/chunks/{chunk.37SIR5NH.js → chunk.FUL6NUHM.js} +1 -1
- package/dist/chunks/{chunk.6A2PTTMJ.js → chunk.GLDOSWES.js} +2 -2
- package/dist/chunks/{chunk.LXAPUOCB.js → chunk.GO2YJX4Q.js} +31 -5
- package/dist/chunks/{chunk.WMH22J3Y.js → chunk.GXST43AN.js} +1 -1
- package/dist/chunks/{chunk.P5HQ7ESJ.js → chunk.H7FOSCQV.js} +1 -1
- package/dist/chunks/{chunk.HH6M5ISS.js → chunk.HJMA4FPP.js} +1 -1
- package/dist/chunks/{chunk.7LOQIP5T.js → chunk.HMTZWLCV.js} +11 -8
- package/dist/chunks/{chunk.UIUYLHPM.js → chunk.HNYLJTPB.js} +1 -1
- package/dist/chunks/{chunk.JAN26V2T.js → chunk.I5ODFJO6.js} +1 -1
- package/dist/chunks/{chunk.AVFXGN5E.js → chunk.ILHVGOFN.js} +1 -1
- package/dist/chunks/chunk.ISWWNUGH.js +264 -0
- package/dist/chunks/{chunk.U6FYLS3C.js → chunk.J6RPTAQI.js} +1 -1
- package/dist/chunks/{chunk.X23V3C6R.js → chunk.JDHDSPED.js} +1 -1
- package/dist/chunks/{chunk.K2UXH6ZD.js → chunk.JDHNGWIH.js} +2 -6
- package/dist/chunks/{chunk.UXNALBWT.js → chunk.JKZSEYGF.js} +1 -1
- package/dist/chunks/{chunk.JF47WNHN.js → chunk.JTJBX4QS.js} +1 -1
- package/dist/chunks/{chunk.DQFLHN3N.js → chunk.KWPO3EDM.js} +4 -4
- package/dist/chunks/{chunk.X6EAVUBY.js → chunk.L6NDVRCR.js} +5 -5
- package/dist/chunks/{chunk.WID2OCNV.js → chunk.LDGTSFQV.js} +1 -1
- package/dist/chunks/{chunk.652GG3AU.js → chunk.LKL435K3.js} +1 -1
- package/dist/chunks/{chunk.6HTDKIVC.js → chunk.MMEFZDPJ.js} +1 -1
- package/dist/chunks/{chunk.XCVEA2XZ.js → chunk.N5HIPUUE.js} +5 -7
- package/dist/chunks/{chunk.TEHV57S2.js → chunk.NLQQDGEL.js} +16 -1
- package/dist/chunks/{chunk.N36MBM2Q.js → chunk.O42OVLHD.js} +1 -1
- package/dist/chunks/{chunk.N6N5PXAU.js → chunk.OOJRFXKM.js} +1 -1
- package/dist/chunks/{chunk.7M5CM6FS.js → chunk.Q2YIXYWB.js} +1 -1
- package/dist/chunks/{chunk.RQ2JUBGT.js → chunk.QCSAZGXA.js} +1 -1
- package/dist/chunks/{chunk.IW2YJ6FJ.js → chunk.QKV2UFTU.js} +1 -1
- package/dist/chunks/{chunk.7BLYNLBH.js → chunk.QY3AIGLE.js} +14 -2
- package/dist/chunks/{chunk.PL7FGR6O.js → chunk.RBRPIIUZ.js} +2 -3
- package/dist/chunks/{chunk.ULC7VUCJ.js → chunk.RCKLGFQP.js} +1 -1
- package/dist/chunks/{chunk.B4DA7JH6.js → chunk.RHI7PHVF.js} +2 -2
- package/dist/chunks/{chunk.BC35J2XZ.js → chunk.ROCLZVBA.js} +36 -9
- package/dist/chunks/chunk.TCTJKHNY.js +187 -0
- package/dist/chunks/{chunk.NHMU76XR.js → chunk.TRGRP3EU.js} +47 -20
- package/dist/chunks/{chunk.CJIVNPKU.js → chunk.TSWE7TKY.js} +1 -1
- package/dist/chunks/{chunk.55QIIYQY.js → chunk.TYBH3WM7.js} +2 -6
- package/dist/chunks/{chunk.FJUIXT7L.js → chunk.U6XEEEIG.js} +1 -1
- package/dist/chunks/{chunk.YQUUPYEO.js → chunk.WBB5EJ2R.js} +1 -1
- package/dist/chunks/{chunk.ZK6Y3PH5.js → chunk.WH3C6KS6.js} +1 -1
- package/dist/chunks/{chunk.SL2366FG.js → chunk.WNYVRNKA.js} +4 -4
- package/dist/chunks/{chunk.DVKGL7IF.js → chunk.X3ZR4IMO.js} +1 -1
- package/dist/chunks/{chunk.EOBDJFKX.js → chunk.XH64BF6I.js} +4 -4
- package/dist/chunks/{chunk.AXRKD7DS.js → chunk.XPNRSOJY.js} +1 -1
- package/dist/chunks/{chunk.S55U4A2J.js → chunk.YVMIUPK5.js} +1 -0
- package/dist/chunks/{chunk.72WPMH2C.js → chunk.Z5WPCFQ2.js} +1 -1
- package/dist/chunks/{chunk.VS6H6IPF.js → chunk.ZCI3JIOP.js} +1 -1
- package/dist/chunks/{chunk.JKNWQHLV.js → chunk.ZTQFL5KG.js} +2 -2
- package/dist/chunks/{chunk.KZBMMXBH.js → chunk.ZTQL6LV2.js} +21 -0
- package/dist/components/accordion/accordion.js +4 -4
- package/dist/components/accordion-group/accordion-group.js +6 -6
- package/dist/components/alert/alert.d.ts +1 -0
- package/dist/components/alert/alert.js +4 -4
- package/dist/components/avatar/avatar.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.js +4 -4
- package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
- package/dist/components/button/button.js +5 -5
- package/dist/components/calendar/calendar.js +2 -2
- package/dist/components/callout/callout.js +2 -2
- package/dist/components/card-content/card-content.js +2 -2
- package/dist/components/card-nav-accordion/card-nav-accordion.js +4 -4
- package/dist/components/card-nav-item/card-nav-item.js +2 -2
- package/dist/components/checkbox/checkbox.js +5 -5
- package/dist/components/checkbox-button/checkbox-button.js +3 -3
- package/dist/components/checkbox-card/checkbox-card.js +2 -2
- package/dist/components/checkbox-group/checkbox-group.js +3 -3
- package/dist/components/combobox/combobox.d.ts +1 -0
- package/dist/components/combobox/combobox.js +11 -7
- package/dist/components/copy-button/copy-button.js +5 -5
- package/dist/components/dialog/dialog.js +4 -4
- package/dist/components/download-card/download-card.js +2 -2
- package/dist/components/download-link/download-link.js +2 -2
- package/dist/components/drawer/drawer.js +4 -4
- package/dist/components/dropdown/dropdown.js +2 -2
- package/dist/components/error-message-panel/error-message-panel.js +2 -2
- package/dist/components/error-text/error-text.js +2 -2
- package/dist/components/file-upload/file-upload.js +4 -4
- package/dist/components/file-upload-item/file-upload-item.js +2 -2
- package/dist/components/filter-button/filter-button.js +4 -4
- package/dist/components/filter-counter/filter-counter.js +17 -17
- package/dist/components/filter-date/filter-date.js +8 -8
- package/dist/components/filter-range/filter-range.js +17 -17
- package/dist/components/filter-select/filter-select.js +18 -18
- package/dist/components/footer/footer.js +2 -2
- 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.assets.d.ts +2 -1
- package/dist/components/header/header.assets.js +5 -3
- package/dist/components/header/header.d.ts +1 -0
- package/dist/components/header/header.js +4 -4
- package/dist/components/header/header.styles.js +1 -1
- package/dist/components/header-modern/header-modern.d.ts +42 -0
- package/dist/components/header-modern/header-modern.js +16 -0
- package/dist/components/header-modern/header-modern.styles.d.ts +2 -0
- package/dist/components/header-modern/header-modern.styles.js +8 -0
- package/dist/components/header-search/header-search.d.ts +0 -1
- package/dist/components/header-search/header-search.js +8 -8
- package/dist/components/header-search/header-search.styles.js +1 -1
- package/dist/components/icon/icon.js +2 -2
- package/dist/components/icon-button/icon-button.js +2 -2
- package/dist/components/input/input.js +12 -12
- package/dist/components/input-amount/input-amount.js +4 -4
- package/dist/components/input-date/input-date.js +7 -7
- package/dist/components/input-mask/input-mask.js +5 -5
- package/dist/components/input-native/input-native.js +4 -4
- package/dist/components/input-otp/input-otp.js +2 -2
- package/dist/components/input-phone/input-phone.js +13 -11
- package/dist/components/input-time/input-time.js +6 -6
- package/dist/components/menu-accordion/menu-accordion.js +5 -5
- package/dist/components/menu-item/menu-item.js +2 -2
- package/dist/components/menu-navigation/menu-navigation.js +2 -2
- package/dist/components/navbar-link/navbar-link.js +4 -4
- package/dist/components/navbar-menu/navbar-menu.js +5 -5
- package/dist/components/option/option.js +4 -4
- package/dist/components/pagination/pagination.js +13 -13
- package/dist/components/profile-button/profile-button.js +7 -7
- package/dist/components/profile-button/profile-button.styles.js +1 -1
- package/dist/components/progress-bar/progress-bar.js +2 -2
- package/dist/components/quote/quote.js +2 -2
- package/dist/components/radio/radio.js +2 -2
- package/dist/components/radio-button/radio-button.js +5 -5
- package/dist/components/radio-card/radio-card.js +5 -5
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/relative-time/relative-time.js +2 -2
- package/dist/components/search/search.js +4 -4
- package/dist/components/select/select.d.ts +1 -2
- package/dist/components/select/select.js +10 -6
- package/dist/components/sidenav/sidenav.js +6 -6
- package/dist/components/sidenav-info-accordion/sidenav-info-accordion.js +5 -5
- package/dist/components/skip-link-item/skip-link-item.js +2 -2
- package/dist/components/skip-link-item/skip-link-item.styles.js +1 -1
- package/dist/components/skip-links/skip-links.js +2 -2
- package/dist/components/spinner/spinner.js +2 -2
- package/dist/components/split-panel/split-panel.js +4 -4
- package/dist/components/step/step.js +5 -5
- package/dist/components/success-text/success-text.js +2 -2
- package/dist/components/switch/switch.js +4 -4
- package/dist/components/tab/tab.js +4 -4
- package/dist/components/tab-group/tab-group.js +4 -4
- package/dist/components/table-action/table-action.js +2 -2
- package/dist/components/table-body/table-body.js +2 -2
- package/dist/components/table-caption/table-caption.js +2 -2
- package/dist/components/table-container/table-container.js +2 -2
- package/dist/components/table-header-cell/table-header-cell.js +2 -2
- package/dist/components/table-header-row/table-header-row.js +10 -10
- package/dist/components/table-of-contents/table-of-contents.js +2 -2
- package/dist/components/table-row/table-row.js +7 -7
- package/dist/components/tag/tag.d.ts +10 -0
- package/dist/components/tag/tag.js +14 -5
- package/dist/components/tag/tag.styles.js +1 -1
- package/dist/components/textarea/textarea.js +2 -2
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/components/tree/tree.js +10 -10
- package/dist/components/tree-item/tree-item.js +8 -8
- package/dist/custom-elements.json +613 -343
- package/dist/design-system.d.ts +1 -0
- package/dist/design-system.js +142 -137
- package/dist/themes/dsa-wc-theme.css +20 -1
- package/dist/themes/dsa-wc-theme.min.css +1 -1
- package/dist/themes/dsa-wc-theme.styles.js +20 -1
- 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/localize.d.ts +7 -1
- package/dist/utilities/localize.js +1 -1
- package/dist/utilities/storybook.js +2 -2
- package/dist/vscode.html-custom-data.json +45 -13
- package/dist/web-types.json +277 -135
- package/package.json +1 -1
- package/cdn/chunks/{chunk.JS5WYOPH.js → chunk.LSTE53DJ.js} +3 -3
- package/cdn/chunks/{chunk.MECNKUMI.js → chunk.PWXXK3CE.js} +3 -3
- package/cdn/chunks/{chunk.ZRTVJE3I.js → chunk.RNIIRHX6.js} +3 -3
- package/dist/chunks/{chunk.CHYPZO53.js → chunk.B65HMRYD.js} +3 -3
- package/dist/chunks/{chunk.6SOP54V7.js → chunk.U54VTW5T.js} +3 -3
- package/dist/chunks/{chunk.TNUH3IEK.js → chunk.WUA5D6EA.js} +3 -3
|
@@ -3,18 +3,19 @@ import {
|
|
|
3
3
|
} from "./chunk.WFSNJLGP.js";
|
|
4
4
|
import {
|
|
5
5
|
tag_styles_default
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.PSBVXVMH.js";
|
|
7
7
|
import {
|
|
8
8
|
LocalizeController
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.AXLGDJN5.js";
|
|
10
10
|
import {
|
|
11
|
-
e2
|
|
11
|
+
e2
|
|
12
12
|
} from "./chunk.JY4LUWQC.js";
|
|
13
13
|
import {
|
|
14
14
|
watch
|
|
15
15
|
} from "./chunk.TKTCYZRK.js";
|
|
16
16
|
import {
|
|
17
17
|
ShoelaceElement,
|
|
18
|
+
e,
|
|
18
19
|
n,
|
|
19
20
|
t
|
|
20
21
|
} from "./chunk.TEKUWOCD.js";
|
|
@@ -36,6 +37,8 @@ var DSATag = class extends ShoelaceElement {
|
|
|
36
37
|
this.size = "medium";
|
|
37
38
|
this.removable = false;
|
|
38
39
|
this.label = "";
|
|
40
|
+
this.accessibleName = "";
|
|
41
|
+
this.tooltip = false;
|
|
39
42
|
}
|
|
40
43
|
handleRemoveClick() {
|
|
41
44
|
this.emit("dsa-remove");
|
|
@@ -54,6 +57,7 @@ var DSATag = class extends ShoelaceElement {
|
|
|
54
57
|
}
|
|
55
58
|
}
|
|
56
59
|
render() {
|
|
60
|
+
var _a;
|
|
57
61
|
if (DEPRECATED_TAG_VARIANTS.includes(
|
|
58
62
|
this.variant
|
|
59
63
|
)) {
|
|
@@ -61,10 +65,14 @@ var DSATag = class extends ShoelaceElement {
|
|
|
61
65
|
`The ${this.variant} variant of <dsa-tag> is deprecated, and will be removed in the next major release. Please consider using a variant from 100 to 500 instead.`
|
|
62
66
|
);
|
|
63
67
|
}
|
|
68
|
+
const enhancedLabel = this.accessibleName ? x`
|
|
69
|
+
<span aria-hidden="true">${this.label}</span
|
|
70
|
+
><dsa-visually-hidden>${this.accessibleName}</dsa-visually-hidden>
|
|
71
|
+
` : this.label;
|
|
64
72
|
return x`
|
|
65
73
|
<span
|
|
66
74
|
part="base"
|
|
67
|
-
class=${
|
|
75
|
+
class=${e2({
|
|
68
76
|
tag: true,
|
|
69
77
|
// Variant
|
|
70
78
|
[`tag--${this.variant}`]: true,
|
|
@@ -78,7 +86,14 @@ var DSATag = class extends ShoelaceElement {
|
|
|
78
86
|
>
|
|
79
87
|
<slot part="prefix" name="prefix" class="tag__prefix"></slot>
|
|
80
88
|
|
|
81
|
-
|
|
89
|
+
${this.tooltip ? x`
|
|
90
|
+
<dsa-tooltip distance="16">
|
|
91
|
+
<span slot="content" aria-hidden="true">${enhancedLabel}</span>
|
|
92
|
+
<span class="tag__content tag__trigger" tabindex="0">
|
|
93
|
+
${enhancedLabel}
|
|
94
|
+
</span>
|
|
95
|
+
</dsa-tooltip>
|
|
96
|
+
` : x`<span class="tag__content">${enhancedLabel}</span>`}
|
|
82
97
|
|
|
83
98
|
<slot part="suffix" name="suffix" class="tag__suffix"></slot>
|
|
84
99
|
|
|
@@ -87,7 +102,7 @@ var DSATag = class extends ShoelaceElement {
|
|
|
87
102
|
part="remove-button"
|
|
88
103
|
exportparts="base:remove-button__base"
|
|
89
104
|
name="close"
|
|
90
|
-
label=${`${this.localize.term("remove")} ${this.label}`}
|
|
105
|
+
label=${`${this.localize.term("remove")} ${(_a = this.accessibleName) != null ? _a : this.label}`}
|
|
91
106
|
class="tag__remove"
|
|
92
107
|
size=${this.iconButtonSize}
|
|
93
108
|
@click=${this.handleRemoveClick}
|
|
@@ -100,6 +115,12 @@ var DSATag = class extends ShoelaceElement {
|
|
|
100
115
|
}
|
|
101
116
|
};
|
|
102
117
|
DSATag.styles = tag_styles_default;
|
|
118
|
+
__decorateClass([
|
|
119
|
+
e(".tag__content")
|
|
120
|
+
], DSATag.prototype, "content", 2);
|
|
121
|
+
__decorateClass([
|
|
122
|
+
e("dsa-icon-button")
|
|
123
|
+
], DSATag.prototype, "removeButton", 2);
|
|
103
124
|
__decorateClass([
|
|
104
125
|
n({ type: Boolean, attribute: "disable-removable-focus" })
|
|
105
126
|
], DSATag.prototype, "disableRemovableFocus", 2);
|
|
@@ -115,6 +136,12 @@ __decorateClass([
|
|
|
115
136
|
__decorateClass([
|
|
116
137
|
n()
|
|
117
138
|
], DSATag.prototype, "label", 2);
|
|
139
|
+
__decorateClass([
|
|
140
|
+
n({ attribute: "accessible-name" })
|
|
141
|
+
], DSATag.prototype, "accessibleName", 2);
|
|
142
|
+
__decorateClass([
|
|
143
|
+
n({ type: Boolean })
|
|
144
|
+
], DSATag.prototype, "tooltip", 2);
|
|
118
145
|
__decorateClass([
|
|
119
146
|
watch("size")
|
|
120
147
|
], DSATag.prototype, "updateIconButtonSize", 1);
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk.SUUV7E4I.js";
|
|
30
30
|
import {
|
|
31
31
|
LocalizeController
|
|
32
|
-
} from "./chunk.
|
|
32
|
+
} from "./chunk.AXLGDJN5.js";
|
|
33
33
|
import {
|
|
34
34
|
o
|
|
35
35
|
} from "./chunk.XED65RH5.js";
|
|
@@ -154,7 +154,7 @@ var DSASelect = class extends FormControlLayout {
|
|
|
154
154
|
}
|
|
155
155
|
if (["ArrowUp", "ArrowDown", "Home", "End"].includes(event.key)) {
|
|
156
156
|
const allOptions = this.getAllOptions();
|
|
157
|
-
const currentIndex = allOptions.indexOf(this.currentOption);
|
|
157
|
+
const currentIndex = this.currentOption ? allOptions.indexOf(this.currentOption) : -1;
|
|
158
158
|
let newIndex = Math.max(0, currentIndex);
|
|
159
159
|
event.preventDefault();
|
|
160
160
|
if (!this.open) {
|
|
@@ -305,10 +305,6 @@ var DSASelect = class extends FormControlLayout {
|
|
|
305
305
|
getAllOptions() {
|
|
306
306
|
return [...this.querySelectorAll("dsa-option")];
|
|
307
307
|
}
|
|
308
|
-
// Gets the first <dsa-option> element
|
|
309
|
-
getFirstOption() {
|
|
310
|
-
return this.querySelector("dsa-option");
|
|
311
|
-
}
|
|
312
308
|
// Sets the current option, which is the option the user is currently interacting with (e.g. via keyboard). Only one
|
|
313
309
|
// option may be "current" at a time.
|
|
314
310
|
setCurrentOption(option) {
|
|
@@ -322,6 +318,8 @@ var DSASelect = class extends FormControlLayout {
|
|
|
322
318
|
option.current = true;
|
|
323
319
|
option.tabIndex = 0;
|
|
324
320
|
option.focus();
|
|
321
|
+
} else {
|
|
322
|
+
this.currentOption = void 0;
|
|
325
323
|
}
|
|
326
324
|
}
|
|
327
325
|
// Sets the selected option(s)
|
|
@@ -384,7 +382,6 @@ var DSASelect = class extends FormControlLayout {
|
|
|
384
382
|
}
|
|
385
383
|
async handleOpenChange() {
|
|
386
384
|
if (this.open && !this.disabled && !this.readonly) {
|
|
387
|
-
this.setCurrentOption(this.selectedOptions[0] || this.getFirstOption());
|
|
388
385
|
this.emit("dsa-show");
|
|
389
386
|
this.addOpenListeners();
|
|
390
387
|
await stopAnimations(this);
|
|
@@ -411,6 +408,7 @@ var DSASelect = class extends FormControlLayout {
|
|
|
411
408
|
await animateTo(this.popup.popup, keyframes, options);
|
|
412
409
|
this.listbox.hidden = true;
|
|
413
410
|
this.popup.active = false;
|
|
411
|
+
this.setCurrentOption(void 0);
|
|
414
412
|
this.emit("dsa-after-hide");
|
|
415
413
|
}
|
|
416
414
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DSASelect
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.GSJB73YG.js";
|
|
4
|
+
import {
|
|
5
|
+
getPhoneConfig
|
|
6
|
+
} from "./chunk.YKKP7YAT.js";
|
|
4
7
|
import {
|
|
5
8
|
input_phone_styles_default
|
|
6
9
|
} from "./chunk.6PLXHBET.js";
|
|
@@ -8,9 +11,6 @@ import {
|
|
|
8
11
|
frenchNumberPrefix,
|
|
9
12
|
phonePrefixOptions
|
|
10
13
|
} from "./chunk.RJXLIOW7.js";
|
|
11
|
-
import {
|
|
12
|
-
getPhoneConfig
|
|
13
|
-
} from "./chunk.YKKP7YAT.js";
|
|
14
14
|
import {
|
|
15
15
|
maskedValueToRawValue,
|
|
16
16
|
rawValueToMaskedValue,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk.AYVXBNFN.js";
|
|
22
22
|
import {
|
|
23
23
|
l
|
|
24
|
-
} from "./chunk.
|
|
24
|
+
} from "./chunk.5YWOUFLR.js";
|
|
25
25
|
import {
|
|
26
26
|
ifDefinedAndNotEmpty
|
|
27
27
|
} from "./chunk.SUUV7E4I.js";
|
|
@@ -258,7 +258,7 @@ var DSAInputPhone = class extends InputBase {
|
|
|
258
258
|
.value=${this.phonePrefix}
|
|
259
259
|
?disabled=${this.disabled}
|
|
260
260
|
?readonly=${this.readonly}
|
|
261
|
-
|
|
261
|
+
accessible-name=${this.localize.term("countryCallingCode")}
|
|
262
262
|
.placement=${this.placement}
|
|
263
263
|
hoist
|
|
264
264
|
.size=${this.size}
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import {
|
|
2
|
+
cnsaLogoNoSubtextSvg,
|
|
3
|
+
spaLogoSvg
|
|
4
|
+
} from "./chunk.YUKVCPXW.js";
|
|
5
|
+
import {
|
|
6
|
+
header_modern_styles_default
|
|
7
|
+
} from "./chunk.NXQMWO3B.js";
|
|
8
|
+
import {
|
|
9
|
+
HasSlotController
|
|
10
|
+
} from "./chunk.YIY5RM53.js";
|
|
11
|
+
import {
|
|
12
|
+
LocalizeController
|
|
13
|
+
} from "./chunk.AXLGDJN5.js";
|
|
14
|
+
import {
|
|
15
|
+
e2
|
|
16
|
+
} from "./chunk.JY4LUWQC.js";
|
|
17
|
+
import {
|
|
18
|
+
watch
|
|
19
|
+
} from "./chunk.TKTCYZRK.js";
|
|
20
|
+
import {
|
|
21
|
+
ShoelaceElement,
|
|
22
|
+
e,
|
|
23
|
+
n,
|
|
24
|
+
t
|
|
25
|
+
} from "./chunk.TEKUWOCD.js";
|
|
26
|
+
import {
|
|
27
|
+
x
|
|
28
|
+
} from "./chunk.JXF4O366.js";
|
|
29
|
+
import {
|
|
30
|
+
__decorateClass
|
|
31
|
+
} from "./chunk.7WRNLPGX.js";
|
|
32
|
+
|
|
33
|
+
// src/components/header-modern/header-modern.ts
|
|
34
|
+
var DSAHeaderModern = class extends ShoelaceElement {
|
|
35
|
+
constructor() {
|
|
36
|
+
super(...arguments);
|
|
37
|
+
this.hasSlotController = new HasSlotController(
|
|
38
|
+
this,
|
|
39
|
+
"external-links",
|
|
40
|
+
"second-logo",
|
|
41
|
+
"site-name",
|
|
42
|
+
"search",
|
|
43
|
+
"navbar"
|
|
44
|
+
);
|
|
45
|
+
this.localize = new LocalizeController(this);
|
|
46
|
+
this.firstLogo = "public";
|
|
47
|
+
this.searchExpanded = false;
|
|
48
|
+
this.mobile = false;
|
|
49
|
+
}
|
|
50
|
+
connectedCallback() {
|
|
51
|
+
super.connectedCallback();
|
|
52
|
+
this.handleSearchExpandEvent = this.handleSearchExpandEvent.bind(this);
|
|
53
|
+
this.handleSearchCollapseEvent = this.handleSearchCollapseEvent.bind(this);
|
|
54
|
+
this.addEventListener("dsa-expand", this.handleSearchExpandEvent);
|
|
55
|
+
this.addEventListener("dsa-collapse", this.handleSearchCollapseEvent);
|
|
56
|
+
}
|
|
57
|
+
disconnectedCallback() {
|
|
58
|
+
super.disconnectedCallback();
|
|
59
|
+
this.removeEventListener("dsa-expand", this.handleSearchExpandEvent);
|
|
60
|
+
this.removeEventListener("dsa-collapse", this.handleSearchCollapseEvent);
|
|
61
|
+
}
|
|
62
|
+
handleSearchExpandEvent() {
|
|
63
|
+
this.searchExpanded = true;
|
|
64
|
+
}
|
|
65
|
+
handleSearchCollapseEvent() {
|
|
66
|
+
this.searchExpanded = false;
|
|
67
|
+
}
|
|
68
|
+
getFirtLogo() {
|
|
69
|
+
if (this.firstLogo === "pro") {
|
|
70
|
+
return spaLogoSvg(this.localize.term("spa"));
|
|
71
|
+
}
|
|
72
|
+
return cnsaLogoNoSubtextSvg(this.localize.term("cnsa"));
|
|
73
|
+
}
|
|
74
|
+
handleSearchExpanded() {
|
|
75
|
+
if (this.hasSlotController.test("search")) {
|
|
76
|
+
const search = this.querySelector("dsa-header-search");
|
|
77
|
+
if (search !== null) {
|
|
78
|
+
search.expanded = this.searchExpanded;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
handleMobile() {
|
|
83
|
+
if (this.hasSlotController.test("search")) {
|
|
84
|
+
const search = this.querySelector("dsa-header-search");
|
|
85
|
+
if (search !== null && this.mobile !== void 0) {
|
|
86
|
+
search.mobile = this.mobile;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
render() {
|
|
91
|
+
if (!this.hasSlotController.test("site-name")) {
|
|
92
|
+
console.warn(
|
|
93
|
+
"(DSA) The <site-name> slot is required. Please use a link to your homepage in the <site-name> slot."
|
|
94
|
+
);
|
|
95
|
+
}
|
|
96
|
+
return x`
|
|
97
|
+
<header
|
|
98
|
+
part="base"
|
|
99
|
+
role="banner"
|
|
100
|
+
class=${e2({
|
|
101
|
+
header: true,
|
|
102
|
+
"header--mobile": this.mobile === true,
|
|
103
|
+
"header--desktop": this.mobile === false,
|
|
104
|
+
"header--spa": this.firstLogo === "pro",
|
|
105
|
+
"header--cnsa": this.firstLogo === "public",
|
|
106
|
+
"header--with-external-links": this.hasSlotController.test("external-links"),
|
|
107
|
+
"header--with-second-logo": this.hasSlotController.test("second-logo"),
|
|
108
|
+
"header--with-navbar": this.hasSlotController.test("navbar")
|
|
109
|
+
})}
|
|
110
|
+
>
|
|
111
|
+
<ul class="external-links__container">
|
|
112
|
+
<slot name="external-links" part="external-links"></slot>
|
|
113
|
+
</ul>
|
|
114
|
+
|
|
115
|
+
<div class="header__main-container">
|
|
116
|
+
<section
|
|
117
|
+
part="main"
|
|
118
|
+
class=${e2({
|
|
119
|
+
header__main: true,
|
|
120
|
+
"header--search-expanded": this.hasSlotController.test("search") && this.searchExpanded
|
|
121
|
+
})}
|
|
122
|
+
>
|
|
123
|
+
<div class="header__brand-top">
|
|
124
|
+
<slot
|
|
125
|
+
name="first-logo"
|
|
126
|
+
part="first-logo"
|
|
127
|
+
class=${e2({
|
|
128
|
+
logo: true
|
|
129
|
+
})}
|
|
130
|
+
>
|
|
131
|
+
${this.getFirtLogo()}
|
|
132
|
+
</slot>
|
|
133
|
+
${!this.mobile ? x`
|
|
134
|
+
<div class="header__brand">
|
|
135
|
+
<slot
|
|
136
|
+
id="second-logo"
|
|
137
|
+
name="second-logo"
|
|
138
|
+
class="logo"
|
|
139
|
+
></slot>
|
|
140
|
+
<slot name="site-name" part="site-name"></slot>
|
|
141
|
+
</div>
|
|
142
|
+
` : ""}
|
|
143
|
+
</div>
|
|
144
|
+
<div class="header__actions">
|
|
145
|
+
<slot name="search" part="search"></slot>
|
|
146
|
+
<slot part="navigation"></slot>
|
|
147
|
+
</div>
|
|
148
|
+
${this.mobile ? x`
|
|
149
|
+
<div class="header__brand">
|
|
150
|
+
<slot
|
|
151
|
+
id="second-logo"
|
|
152
|
+
name="second-logo"
|
|
153
|
+
class="logo"
|
|
154
|
+
></slot>
|
|
155
|
+
<slot name="site-name" part="site-name"></slot>
|
|
156
|
+
</div>
|
|
157
|
+
` : ""}
|
|
158
|
+
</section>
|
|
159
|
+
</div>
|
|
160
|
+
|
|
161
|
+
<div class="header__navbar-container">
|
|
162
|
+
<slot name="navbar" part="navbar"></slot>
|
|
163
|
+
</div>
|
|
164
|
+
</header>
|
|
165
|
+
`;
|
|
166
|
+
}
|
|
167
|
+
};
|
|
168
|
+
DSAHeaderModern.styles = header_modern_styles_default;
|
|
169
|
+
__decorateClass([
|
|
170
|
+
e('[part="external-links"]')
|
|
171
|
+
], DSAHeaderModern.prototype, "externalLinks", 2);
|
|
172
|
+
__decorateClass([
|
|
173
|
+
n({ reflect: true, attribute: "first-logo" })
|
|
174
|
+
], DSAHeaderModern.prototype, "firstLogo", 2);
|
|
175
|
+
__decorateClass([
|
|
176
|
+
n({ reflect: true, type: Boolean, attribute: "search-expanded" })
|
|
177
|
+
], DSAHeaderModern.prototype, "searchExpanded", 2);
|
|
178
|
+
__decorateClass([
|
|
179
|
+
n({ type: Boolean })
|
|
180
|
+
], DSAHeaderModern.prototype, "mobile", 2);
|
|
181
|
+
__decorateClass([
|
|
182
|
+
watch("searchExpanded")
|
|
183
|
+
], DSAHeaderModern.prototype, "handleSearchExpanded", 1);
|
|
184
|
+
__decorateClass([
|
|
185
|
+
watch("mobile")
|
|
186
|
+
], DSAHeaderModern.prototype, "handleMobile", 1);
|
|
187
|
+
DSAHeaderModern = __decorateClass([
|
|
188
|
+
t("dsa-header-modern")
|
|
189
|
+
], DSAHeaderModern);
|
|
190
|
+
|
|
191
|
+
export {
|
|
192
|
+
DSAHeaderModern
|
|
193
|
+
};
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk.EMIT7S33.js";
|
|
15
15
|
import {
|
|
16
16
|
l
|
|
17
|
-
} from "./chunk.
|
|
17
|
+
} from "./chunk.5YWOUFLR.js";
|
|
18
18
|
import {
|
|
19
19
|
waitForEvent
|
|
20
20
|
} from "./chunk.B4BZKR24.js";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
} from "./chunk.SUUV7E4I.js";
|
|
32
32
|
import {
|
|
33
33
|
LocalizeController
|
|
34
|
-
} from "./chunk.
|
|
34
|
+
} from "./chunk.AXLGDJN5.js";
|
|
35
35
|
import {
|
|
36
36
|
o
|
|
37
37
|
} from "./chunk.XED65RH5.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk.PWL7QCVG.js";
|
|
19
19
|
import {
|
|
20
20
|
LocalizeController
|
|
21
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.AXLGDJN5.js";
|
|
22
22
|
import {
|
|
23
23
|
e2
|
|
24
24
|
} from "./chunk.JY4LUWQC.js";
|
|
@@ -190,7 +190,7 @@ var DSATooltip = class extends ShoelaceElement {
|
|
|
190
190
|
/** Automatically adds an accessible description to the trigger element */
|
|
191
191
|
handleDefaultSlotChange() {
|
|
192
192
|
const target = this.querySelector(
|
|
193
|
-
"dsa-button, dsa-icon-button"
|
|
193
|
+
"dsa-button, dsa-icon-button, .tag__trigger"
|
|
194
194
|
);
|
|
195
195
|
target == null ? void 0 : target.setAttribute("description", this.content);
|
|
196
196
|
if (!target) {
|