@ds-autonomie/web-components 2.18.0 → 2.19.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 +19 -0
- package/cdn/chunks/{chunk.HJUAHLY6.js → chunk.2EC2JS5U.js} +1 -1
- package/cdn/chunks/{chunk.3G5TZAEL.js → chunk.2J6VNJAV.js} +2 -2
- package/cdn/chunks/chunk.2JTZGBMF.js +1 -0
- package/cdn/chunks/chunk.3D5VBTZM.js +6 -0
- package/cdn/chunks/chunk.3FMDB6AF.js +19 -0
- package/cdn/chunks/{chunk.AZWPWL5D.js → chunk.3URUFDPU.js} +4 -4
- package/cdn/chunks/chunk.4A2SP2JA.js +68 -0
- package/cdn/chunks/{chunk.2RZZILUX.js → chunk.4IWXGSUM.js} +7 -7
- package/cdn/chunks/chunk.4VP4RPNY.js +25 -0
- package/cdn/chunks/{chunk.QLA42ORC.js → chunk.535I3ZDX.js} +6 -6
- package/cdn/chunks/{chunk.ZPW2DSUP.js → chunk.5KCVCUSX.js} +1 -1
- package/cdn/chunks/{chunk.L7SDBPGB.js → chunk.5MXBS7CA.js} +1 -1
- package/cdn/chunks/chunk.5OGTGPR7.js +1 -0
- package/cdn/chunks/{chunk.W3ZGFMS3.js → chunk.5PWPU25F.js} +1 -1
- package/cdn/chunks/{chunk.23QXZAWH.js → chunk.5V6ZBY2X.js} +1 -1
- package/cdn/chunks/{chunk.VE5CSYN4.js → chunk.67UP3FZD.js} +1 -1
- package/cdn/chunks/chunk.6HXGZFOB.js +68 -0
- package/cdn/chunks/{chunk.F5LRDLVV.js → chunk.77YRGKFQ.js} +1 -1
- package/cdn/chunks/{chunk.VO4NFG2W.js → chunk.7OMTHUFI.js} +1 -1
- package/cdn/chunks/{chunk.FHS54ZO7.js → chunk.7RWZ2YNR.js} +1 -1
- package/cdn/chunks/{chunk.H5VVBPCR.js → chunk.7TKKYYU2.js} +1 -1
- package/cdn/chunks/{chunk.LFI7CMVX.js → chunk.7WZQFRLE.js} +1 -1
- package/cdn/chunks/{chunk.TM7AGXEU.js → chunk.7YNQVYS2.js} +1 -1
- package/cdn/chunks/{chunk.3TFD5K7U.js → chunk.7ZYAJWHQ.js} +1 -1
- package/cdn/chunks/{chunk.YXR5X3ZH.js → chunk.AB4OF3RS.js} +1 -1
- package/cdn/chunks/{chunk.CJZS4FSB.js → chunk.AGA6W4U2.js} +1 -1
- package/cdn/chunks/chunk.AGX2JVB6.js +1 -0
- package/cdn/chunks/{chunk.LSD5NIU2.js → chunk.AYT5ORA7.js} +1 -1
- package/cdn/chunks/{chunk.2MLSQPMY.js → chunk.AZVWRRFP.js} +1 -1
- package/cdn/chunks/{chunk.AOPSMRYY.js → chunk.BDRT5OOU.js} +1 -1
- package/cdn/chunks/{chunk.OTTGEQF6.js → chunk.BOCMAV5D.js} +1 -1
- package/cdn/chunks/{chunk.2S76L6WY.js → chunk.BXY7ZIT5.js} +5 -5
- package/cdn/chunks/{chunk.2DV64XU7.js → chunk.CCKFL63L.js} +1 -1
- package/cdn/chunks/{chunk.4HSGYXFW.js → chunk.CLIKZB5P.js} +8 -14
- package/cdn/chunks/chunk.CMPRHBFO.js +1 -0
- package/cdn/chunks/{chunk.QSJXNN7N.js → chunk.COMV5MJ5.js} +1 -1
- package/cdn/chunks/{chunk.THOSFGWY.js → chunk.CWHPCCQQ.js} +3 -1
- package/cdn/chunks/{chunk.ZWCO2GBI.js → chunk.CWT6MEMU.js} +1 -1
- package/cdn/chunks/{chunk.ILCY7FNR.js → chunk.DFIOQK4K.js} +1 -1
- package/cdn/chunks/chunk.DR6FOTG4.js +1 -0
- package/cdn/chunks/{chunk.A45JZ63N.js → chunk.DRNNBI43.js} +1 -1
- package/cdn/chunks/{chunk.V3N4CMN7.js → chunk.DY5MCIEV.js} +3 -3
- package/cdn/chunks/chunk.E2BYQFB7.js +11 -0
- package/cdn/chunks/{chunk.PZ6VFJYI.js → chunk.EAWHOXCM.js} +1 -1
- package/cdn/chunks/chunk.EZQSKUPG.js +20 -0
- package/cdn/chunks/{chunk.QJLFNSIA.js → chunk.F4EQPWW4.js} +1 -1
- package/cdn/chunks/{chunk.SDPQMM4W.js → chunk.GDNVDKSZ.js} +1 -1
- package/cdn/chunks/chunk.GPW6JCHZ.js +13 -0
- package/cdn/chunks/{chunk.VE2TTZQA.js → chunk.GQ75QMJG.js} +12 -4
- package/cdn/chunks/{chunk.KC2NESXB.js → chunk.GVL377SN.js} +1 -1
- package/cdn/chunks/{chunk.JO6IBXF3.js → chunk.H6KRGKOT.js} +1 -1
- package/cdn/chunks/chunk.H7CICKO6.js +173 -0
- package/cdn/chunks/chunk.HEWKH2LT.js +44 -0
- package/cdn/chunks/{chunk.ZFWCNYR2.js → chunk.HGNNGE53.js} +1 -1
- package/cdn/chunks/{chunk.2LF6OMUV.js → chunk.HW5UT2FF.js} +15 -15
- package/cdn/chunks/{chunk.NIH3WB32.js → chunk.IDTMD6WQ.js} +1 -1
- package/cdn/chunks/{chunk.GYURCDPD.js → chunk.IMDJ7GD2.js} +1 -1
- package/cdn/chunks/{chunk.3FHGJRJ3.js → chunk.IMVLXBHS.js} +9 -10
- package/cdn/chunks/{chunk.YRJIHG6T.js → chunk.IUOHXTHC.js} +1 -1
- package/cdn/chunks/{chunk.SLTCOGOD.js → chunk.IYPKQQOD.js} +1 -1
- package/cdn/chunks/chunk.J7MFL7JZ.js +11 -0
- package/cdn/chunks/{chunk.GEV6DKVB.js → chunk.JFLIH5L5.js} +2 -22
- package/cdn/chunks/{chunk.NEWNV55I.js → chunk.JFT7O46L.js} +1 -1
- package/cdn/chunks/chunk.JLB52ESL.js +130 -0
- package/cdn/chunks/chunk.KOU7YZ7Z.js +32 -0
- package/cdn/chunks/{chunk.3LUZLW6F.js → chunk.KSJJM4LY.js} +3 -3
- package/cdn/chunks/{chunk.YZK4IVQW.js → chunk.KTJAW66F.js} +1 -1
- package/cdn/chunks/{chunk.TGVZIOKS.js → chunk.KVPC6DC4.js} +1 -1
- package/cdn/chunks/{chunk.GHHMVWM2.js → chunk.KWBL3MII.js} +4 -4
- package/cdn/chunks/{chunk.YRQ4GUXM.js → chunk.KX5QV54N.js} +1 -1
- package/cdn/chunks/{chunk.GM4KTNXL.js → chunk.LBAIMDY3.js} +1 -1
- package/cdn/chunks/chunk.M7BLJVGV.js +28 -0
- package/cdn/chunks/chunk.MC7ZQO6Z.js +1 -0
- package/cdn/chunks/chunk.MN7GWB3J.js +66 -0
- package/cdn/chunks/{chunk.F3UE7567.js → chunk.MRVUEYXZ.js} +1 -1
- package/cdn/chunks/{chunk.ZKKBL76K.js → chunk.PVV7WADS.js} +1 -1
- package/cdn/chunks/chunk.QEODND2O.js +8 -0
- package/cdn/chunks/chunk.QOIUR37X.js +1 -0
- package/cdn/chunks/chunk.QTD6NQFL.js +1 -0
- package/cdn/chunks/{chunk.FEXCFMDC.js → chunk.RMI7CBAO.js} +5 -5
- package/cdn/chunks/{chunk.QQLTDM2A.js → chunk.RTVNV4IL.js} +1 -1
- package/cdn/chunks/{chunk.UAGWSEWC.js → chunk.STCKZYIM.js} +6 -6
- package/cdn/chunks/chunk.THWI644G.js +54 -0
- package/cdn/chunks/{chunk.23NGYECZ.js → chunk.TPKY6SO3.js} +1 -1
- package/cdn/chunks/chunk.U6OE2WNY.js +51 -0
- package/cdn/chunks/{chunk.J5EBYKBM.js → chunk.UXV7IG5J.js} +1 -1
- package/cdn/chunks/{chunk.PSXSWQCS.js → chunk.VOJKFSPN.js} +1 -1
- package/cdn/chunks/{chunk.H5XLHNHE.js → chunk.VVOUCVXZ.js} +1 -1
- package/cdn/chunks/{chunk.UWBADC7U.js → chunk.WMOV27WV.js} +5 -2
- package/cdn/chunks/chunk.WQIMDJJX.js +101 -0
- package/cdn/chunks/{chunk.OTNGFYHL.js → chunk.WWRGGVFZ.js} +1 -1
- package/cdn/chunks/{chunk.HO6LFH7Z.js → chunk.WXQKHJC3.js} +1 -1
- package/cdn/chunks/chunk.YBVIKP5F.js +41 -0
- package/cdn/chunks/chunk.YDZQVGSP.js +47 -0
- package/cdn/chunks/{chunk.D3BOAL4N.js → chunk.YWOAIOEZ.js} +1 -1
- package/cdn/chunks/chunk.YZO4H6DD.js +57 -0
- package/cdn/chunks/{chunk.MTXJMWYM.js → chunk.Z226LHQY.js} +1 -1
- package/cdn/chunks/{chunk.2QOKOUSD.js → chunk.ZMEW7RFS.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/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-nav-accordion/card-nav-accordion.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/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/drawer/drawer.js +1 -1
- package/cdn/components/dropdown/dropdown.js +1 -1
- package/cdn/components/error-message-panel/error-message-panel.js +1 -1
- package/cdn/components/file-upload/file-upload.js +1 -1
- package/cdn/components/filter-button/filter-button.js +1 -1
- package/cdn/components/filter-counter/filter-counter.js +1 -1
- package/cdn/components/filter-date/filter-date.js +1 -1
- package/cdn/components/filter-range/filter-range.js +1 -1
- package/cdn/components/filter-select/filter-select.js +1 -1
- package/cdn/components/footer/footer.js +1 -1
- package/cdn/components/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/header/header.d.ts +1 -0
- 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.d.ts +1 -0
- package/cdn/components/header-modern/header-modern.js +1 -1
- package/cdn/components/header-search/header-search.js +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/input-amount/input-amount.js +1 -1
- package/cdn/components/input-date/input-date.js +1 -1
- package/cdn/components/input-mask/input-mask.js +1 -1
- package/cdn/components/input-native/input-native.js +1 -1
- package/cdn/components/input-phone/input-phone.js +1 -1
- package/cdn/components/input-time/input-time.js +1 -1
- package/cdn/components/menu-accordion/menu-accordion.js +1 -1
- package/cdn/components/menu-item/menu-item.js +1 -1
- package/cdn/components/menu-navigation/menu-navigation.js +1 -1
- package/cdn/components/navbar-link/navbar-link.js +1 -1
- package/cdn/components/navbar-menu/navbar-menu.js +1 -1
- package/cdn/components/option/option.d.ts +2 -0
- package/cdn/components/option/option.js +1 -1
- package/cdn/components/option/option.styles.js +1 -1
- package/cdn/components/pagination/pagination.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/radio/radio.js +1 -1
- package/cdn/components/radio/radio.styles.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/relative-time/relative-time.js +1 -1
- package/cdn/components/search/search.js +1 -1
- package/cdn/components/search/search.styles.js +1 -1
- package/cdn/components/select/select.d.ts +3 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/select/select.styles.js +1 -1
- package/cdn/components/sidenav/sidenav.d.ts +4 -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-link-item/skip-link-item.js +1 -1
- package/cdn/components/skip-links/skip-links.js +1 -1
- package/cdn/components/spinner/spinner.js +1 -1
- package/cdn/components/split-panel/split-panel.js +1 -1
- package/cdn/components/step/step.js +1 -1
- package/cdn/components/step/step.styles.js +1 -1
- package/cdn/components/stepper/stepper.d.ts +4 -1
- package/cdn/components/stepper/stepper.js +1 -1
- package/cdn/components/switch/switch.js +1 -1
- package/cdn/components/switch/switch.styles.js +1 -1
- package/cdn/components/tab/tab.d.ts +3 -0
- package/cdn/components/tab/tab.js +1 -1
- package/cdn/components/tab/tab.styles.js +1 -1
- package/cdn/components/tab-group/tab-group.d.ts +1 -0
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/tab-group/tab-group.styles.js +1 -1
- package/cdn/components/tab-panel/tab-panel.js +1 -1
- package/cdn/components/table/table.d.ts +29 -0
- package/cdn/components/table/table.js +1 -1
- package/cdn/components/table-action/table-action.js +1 -1
- package/cdn/components/table-body/table-body.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-head/table-head.js +1 -1
- package/cdn/components/table-header-row/table-header-row.d.ts +1 -0
- package/cdn/components/table-header-row/table-header-row.js +1 -1
- package/cdn/components/table-header-row/table-header-row.styles.js +1 -1
- package/cdn/components/table-of-contents/table-of-contents.js +1 -1
- package/cdn/components/table-row/table-row-base.styles.js +1 -1
- package/cdn/components/table-row/table-row.d.ts +20 -0
- package/cdn/components/table-row/table-row.js +1 -1
- package/cdn/components/table-row/table-row.styles.js +1 -1
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/components/tree/tree.d.ts +4 -0
- package/cdn/components/tree/tree.js +1 -1
- package/cdn/components/tree-item/tree-item.js +1 -1
- package/cdn/custom-elements.json +936 -43
- package/cdn/design-system.js +1 -1
- package/cdn/events/dsa-table-row-reordered.d.ts +14 -0
- package/cdn/events/dsa-table-row-reordered.js +1 -0
- package/cdn/events/events.d.ts +1 -0
- package/cdn/internal/components/form-selectable-card/form-selectable-card.js +3 -2
- package/cdn/internal/components/form-selectable-card/form-selectable-card.styles.js +4 -4
- package/cdn/internal/components/form-toggle-button/form-toggle-button.js +3 -2
- package/cdn/internal/components/form-toggle-button/form-toggle-button.styles.js +2 -2
- 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/helpers.d.ts +2 -0
- package/cdn/utilities/helpers.js +1 -1
- package/cdn/utilities/localize.d.ts +2 -0
- package/cdn/utilities/localize.js +1 -1
- package/cdn/utilities/storybook.js +1 -1
- package/cdn/vscode.html-custom-data.json +42 -2
- package/cdn/web-types.json +452 -4
- package/dist/chunks/{chunk.TNZEC73D.js → chunk.2AMILV3O.js} +1 -1
- package/dist/chunks/{chunk.TZZRAR42.js → chunk.2GJ46J7Q.js} +1 -1
- package/dist/chunks/{chunk.C6UENJ2Y.js → chunk.2WW7OJZT.js} +1 -1
- package/dist/chunks/{chunk.PFQ6NGY7.js → chunk.33P7XYHC.js} +1 -1
- package/dist/chunks/{chunk.WHHYA5VY.js → chunk.34HS7ICN.js} +4 -0
- package/dist/chunks/{chunk.SLXERY4H.js → chunk.4535HZ7L.js} +8 -4
- package/dist/chunks/{chunk.MGW4E3VW.js → chunk.47AQXN3U.js} +2 -2
- package/dist/chunks/{chunk.EXHYWKQB.js → chunk.4E2FKC3C.js} +1 -1
- package/dist/chunks/{chunk.MPV4OPIK.js → chunk.4K6WZ7K7.js} +9 -3
- package/dist/chunks/{chunk.D6D5UTHQ.js → chunk.4NY2E4AU.js} +9 -5
- package/dist/chunks/{chunk.X6SEIMM4.js → chunk.4VSGAJJL.js} +2 -2
- package/dist/chunks/{chunk.TF4MJ3XV.js → chunk.5R7OHVIP.js} +3 -3
- package/dist/chunks/{chunk.NMU6DWUH.js → chunk.5SH25FOL.js} +27 -6
- package/dist/chunks/{chunk.EXGB2DIR.js → chunk.5TBGCNJD.js} +46 -25
- package/dist/chunks/{chunk.TRVKPMDO.js → chunk.6BCJJGLC.js} +1 -1
- package/dist/chunks/{chunk.RKKRGVJW.js → chunk.6RXEQKWZ.js} +13 -3
- package/dist/chunks/{chunk.P2KNRWE5.js → chunk.72FKNFBS.js} +1 -1
- package/dist/chunks/{chunk.FF67XKLP.js → chunk.75USPA7U.js} +26 -18
- package/dist/chunks/{chunk.V5GAH4HU.js → chunk.7BBNETYY.js} +3 -3
- package/dist/chunks/{chunk.AFSUKPIV.js → chunk.7MY3WW7C.js} +5 -3
- package/dist/chunks/{chunk.EHGHV3EE.js → chunk.B3QEXOQE.js} +2 -1
- package/dist/chunks/{chunk.ANOLAL4B.js → chunk.BUGXYS34.js} +1 -1
- package/dist/chunks/chunk.D5YUY5BG.js +608 -0
- package/dist/chunks/{chunk.5A6XLOZY.js → chunk.DN3K2GHZ.js} +1 -1
- package/dist/chunks/{chunk.6TDKZD7U.js → chunk.E6D32GY2.js} +14 -2
- package/dist/chunks/{chunk.TP5XEQ2O.js → chunk.ELOLGOFM.js} +1 -1
- package/dist/chunks/{chunk.M5X6QE4H.js → chunk.ERMNNF77.js} +1 -1
- package/dist/chunks/{chunk.5T4IWZR2.js → chunk.FBY2IM6R.js} +1 -1
- package/dist/chunks/{chunk.N2SYQR7M.js → chunk.FLI47BNN.js} +1 -1
- package/dist/chunks/{chunk.3WHBR6ML.js → chunk.FLRNIL37.js} +1 -1
- package/dist/chunks/chunk.FOZRSNGL.js +111 -0
- package/dist/chunks/{chunk.OAJEHJJO.js → chunk.FZFK3D6L.js} +1 -1
- package/dist/chunks/{chunk.CABJDFOO.js → chunk.GMHRN23H.js} +6 -6
- package/dist/chunks/{chunk.ZBTNV3E7.js → chunk.GSSDOCVR.js} +42 -14
- package/dist/chunks/{chunk.LQAWGV5K.js → chunk.GTO6NACR.js} +1 -1
- package/dist/chunks/{chunk.WRFA56CD.js → chunk.H26XMOUA.js} +1 -1
- package/dist/chunks/{chunk.3NOR7Y4Y.js → chunk.HKP752UH.js} +2 -1
- package/dist/chunks/{chunk.GBBK2LRH.js → chunk.HRZVG552.js} +2 -2
- package/dist/chunks/{chunk.PEWNJNAP.js → chunk.HYAC2WLH.js} +1 -1
- package/dist/chunks/{chunk.DT6Y5ZUB.js → chunk.IMZ2EJ3J.js} +2 -2
- package/dist/chunks/{chunk.RIMN7NRW.js → chunk.JATRBE3H.js} +7 -7
- package/dist/chunks/{chunk.XGZ4IJ57.js → chunk.JTPMSU67.js} +51 -33
- package/dist/chunks/{chunk.JUOYMIGK.js → chunk.KD27MP6C.js} +5 -2
- package/dist/chunks/{chunk.5NUD3TZO.js → chunk.KD5YM72X.js} +12 -4
- package/dist/chunks/{chunk.A6WS4GML.js → chunk.KPVDLRVV.js} +2 -2
- package/dist/chunks/{chunk.ZU3DGID3.js → chunk.KW762SFE.js} +3 -3
- package/dist/chunks/chunk.LH65ZIEN.js +412 -0
- package/dist/chunks/{chunk.7NJP4D2X.js → chunk.LLOSO7FC.js} +5 -5
- package/dist/chunks/{chunk.ZJEACN47.js → chunk.LT44CVRV.js} +1 -1
- package/dist/chunks/{chunk.6K3AZQXP.js → chunk.LYVWDO7O.js} +1 -1
- package/dist/chunks/{chunk.6JFNUOJL.js → chunk.M47KXEXM.js} +1 -1
- package/dist/chunks/{chunk.PGXKP7ME.js → chunk.PSWGNIVT.js} +18 -6
- package/dist/chunks/{chunk.FLRB45SF.js → chunk.PSYTLBRK.js} +12 -0
- package/dist/chunks/{chunk.2LWUWDHO.js → chunk.Q3SL7AWD.js} +3 -3
- package/dist/chunks/{chunk.AECIJYFZ.js → chunk.Q4BEX42U.js} +49 -33
- package/dist/chunks/{chunk.HPAWBSR5.js → chunk.Q7YCE4UA.js} +1 -1
- package/dist/chunks/{chunk.ABJLUGLR.js → chunk.QKUUHXNR.js} +65 -25
- package/dist/chunks/{chunk.T3CLPVPE.js → chunk.QUEYKUIS.js} +4 -4
- package/dist/chunks/{chunk.XJCHW2GZ.js → chunk.RG7MUNLM.js} +27 -17
- package/dist/chunks/{chunk.6NRREKDF.js → chunk.RK2WN36C.js} +1 -1
- package/dist/chunks/{chunk.ZZ67C4V2.js → chunk.RZRBWZ7K.js} +14 -5
- package/dist/chunks/{chunk.QZC7F7NX.js → chunk.SAKI57GG.js} +2 -2
- package/dist/chunks/{chunk.H7L4YNKB.js → chunk.SAQFLKP7.js} +40 -16
- package/dist/chunks/{chunk.UKH2D4DL.js → chunk.SGPAUD26.js} +32 -14
- package/dist/chunks/{chunk.7WQZIM7N.js → chunk.SGRSRDWP.js} +17 -9
- package/dist/chunks/{chunk.JFAQ5QOI.js → chunk.SP2SVH7K.js} +3 -3
- package/dist/chunks/{chunk.UNDVQ2N3.js → chunk.SXFVCR7O.js} +2 -2
- package/dist/chunks/{chunk.2O3KAV2X.js → chunk.T6OAGTAP.js} +2 -2
- package/dist/chunks/{chunk.BO3GUSFS.js → chunk.TCW77JY3.js} +1 -1
- package/dist/chunks/{chunk.IAJLX5AF.js → chunk.TPO64PVN.js} +11 -5
- package/dist/chunks/{chunk.ZQ56PQ6F.js → chunk.U4W57NV6.js} +6 -3
- package/dist/chunks/{chunk.DMSUKPJE.js → chunk.UESIZCBP.js} +1 -1
- package/dist/chunks/{chunk.LZOGVU7B.js → chunk.UQ7ZIOBO.js} +1 -1
- package/dist/chunks/{chunk.2K5QPKBA.js → chunk.V26NK6TM.js} +5 -4
- package/dist/chunks/{chunk.APWZSSG6.js → chunk.V2HQ7IVJ.js} +1 -1
- package/dist/chunks/{chunk.VHSA53PH.js → chunk.V3LWOWUB.js} +1 -1
- package/dist/chunks/{chunk.WDPZ4NSH.js → chunk.V4SDZV6L.js} +1 -1
- package/dist/chunks/{chunk.BHEY6E7D.js → chunk.VJMPU2K5.js} +24 -26
- package/dist/chunks/{chunk.HFTU6LUQ.js → chunk.VNGKMC5T.js} +1 -1
- package/dist/chunks/{chunk.WLP7MATK.js → chunk.VO73SGIU.js} +1 -1
- package/dist/chunks/{chunk.FQZVV2TO.js → chunk.VOKBXFKF.js} +8 -4
- package/dist/chunks/{chunk.2SQ6UBOQ.js → chunk.VPBDM3F2.js} +11 -4
- package/dist/chunks/{chunk.LZPAAWTZ.js → chunk.VPZ2H23V.js} +0 -20
- package/dist/chunks/{chunk.BSSSDSVK.js → chunk.VYX5ZSFI.js} +2 -2
- package/dist/chunks/{chunk.ACM36IFE.js → chunk.WAEFCPAX.js} +6 -6
- package/dist/chunks/{chunk.UHSLPBTG.js → chunk.WEPA3NJG.js} +1 -1
- package/dist/chunks/{chunk.JEWVIFAO.js → chunk.WJU4UHF5.js} +4 -1
- package/dist/chunks/{chunk.O3SPGNIU.js → chunk.WSQ2ZYD4.js} +9 -5
- package/dist/chunks/{chunk.4NZ25HB6.js → chunk.XAYOMJ4X.js} +27 -17
- package/dist/chunks/{chunk.SOF3BQCV.js → chunk.XMBQRPGX.js} +10 -6
- package/dist/chunks/{chunk.YC2VYNCD.js → chunk.XTVVSORU.js} +1 -1
- package/dist/chunks/{chunk.6RDA3XLH.js → chunk.YF2V46J3.js} +9 -10
- package/dist/chunks/{chunk.63ACYDSJ.js → chunk.YI6BUIUL.js} +3 -3
- package/dist/chunks/{chunk.FB4KLQQL.js → chunk.YYKAI7FO.js} +6 -12
- package/dist/chunks/{chunk.VKBTTWXW.js → chunk.ZFGRB56M.js} +94 -38
- package/dist/chunks/{chunk.MVDMKWDN.js → chunk.ZHPIA4F4.js} +3 -1
- package/dist/chunks/{chunk.HBYJN6RA.js → chunk.ZS3JNRJE.js} +2 -2
- package/dist/chunks/{chunk.ATUDHG2E.js → chunk.ZYGCOBUE.js} +1 -1
- package/dist/components/accordion/accordion.js +2 -2
- package/dist/components/accordion-group/accordion-group.js +4 -4
- package/dist/components/alert/alert.js +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
- package/dist/components/button/button.js +3 -3
- package/dist/components/calendar/calendar.js +2 -2
- package/dist/components/card-nav-accordion/card-nav-accordion.js +2 -2
- package/dist/components/checkbox/checkbox.js +4 -3
- package/dist/components/checkbox/checkbox.styles.js +1 -1
- package/dist/components/checkbox-button/checkbox-button.js +4 -3
- package/dist/components/checkbox-card/checkbox-card.js +3 -2
- package/dist/components/checkbox-group/checkbox-group.js +1 -1
- package/dist/components/combobox/combobox.js +9 -9
- package/dist/components/combobox/combobox.styles.js +1 -1
- package/dist/components/copy-button/copy-button.js +3 -3
- package/dist/components/dialog/dialog.js +2 -2
- package/dist/components/drawer/drawer.js +2 -2
- package/dist/components/dropdown/dropdown.js +2 -2
- package/dist/components/error-message-panel/error-message-panel.js +2 -2
- package/dist/components/file-upload/file-upload.js +3 -3
- package/dist/components/filter-button/filter-button.js +2 -2
- package/dist/components/filter-counter/filter-counter.js +13 -13
- package/dist/components/filter-date/filter-date.js +8 -8
- package/dist/components/filter-range/filter-range.js +13 -13
- package/dist/components/filter-select/filter-select.js +16 -16
- 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.d.ts +1 -0
- package/dist/components/header/header.js +3 -2
- package/dist/components/header-external-link/header-external-link.js +2 -1
- package/dist/components/header-modern/header-modern.d.ts +1 -0
- package/dist/components/header-modern/header-modern.js +3 -2
- package/dist/components/header-search/header-search.js +6 -6
- package/dist/components/input/input.js +8 -8
- package/dist/components/input-amount/input-amount.js +2 -2
- package/dist/components/input-date/input-date.js +4 -4
- package/dist/components/input-mask/input-mask.js +2 -2
- package/dist/components/input-native/input-native.js +2 -2
- package/dist/components/input-phone/input-phone.js +9 -8
- package/dist/components/input-time/input-time.js +2 -2
- package/dist/components/menu-accordion/menu-accordion.js +3 -3
- package/dist/components/menu-item/menu-item.js +3 -3
- package/dist/components/menu-navigation/menu-navigation.js +4 -4
- package/dist/components/navbar-link/navbar-link.js +4 -4
- package/dist/components/navbar-menu/navbar-menu.js +2 -2
- package/dist/components/option/option.d.ts +2 -0
- package/dist/components/option/option.js +4 -3
- package/dist/components/option/option.styles.js +1 -1
- package/dist/components/pagination/pagination.js +9 -9
- package/dist/components/profile-button/profile-button.js +3 -3
- package/dist/components/progress-bar/progress-bar.js +2 -2
- package/dist/components/radio/radio.js +3 -2
- package/dist/components/radio/radio.styles.js +1 -1
- package/dist/components/radio-button/radio-button.js +4 -3
- package/dist/components/radio-card/radio-card.js +4 -3
- package/dist/components/radio-group/radio-group.js +2 -1
- package/dist/components/relative-time/relative-time.js +2 -2
- package/dist/components/search/search.js +3 -3
- package/dist/components/search/search.styles.js +1 -1
- package/dist/components/select/select.d.ts +3 -1
- package/dist/components/select/select.js +5 -5
- package/dist/components/select/select.styles.js +1 -1
- package/dist/components/sidenav/sidenav.d.ts +4 -1
- package/dist/components/sidenav/sidenav.js +4 -4
- package/dist/components/sidenav-info-accordion/sidenav-info-accordion.js +4 -4
- package/dist/components/skip-link-item/skip-link-item.js +2 -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 +2 -2
- package/dist/components/step/step.js +4 -3
- package/dist/components/step/step.styles.js +1 -1
- package/dist/components/stepper/stepper.d.ts +4 -1
- package/dist/components/stepper/stepper.js +1 -1
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/switch/switch.styles.js +1 -1
- package/dist/components/tab/tab.d.ts +3 -0
- package/dist/components/tab/tab.js +4 -3
- package/dist/components/tab/tab.styles.js +1 -1
- package/dist/components/tab-group/tab-group.d.ts +1 -0
- package/dist/components/tab-group/tab-group.js +4 -3
- package/dist/components/tab-group/tab-group.styles.js +1 -1
- package/dist/components/tab-panel/tab-panel.js +2 -1
- package/dist/components/table/table.d.ts +29 -0
- package/dist/components/table/table.js +2 -1
- package/dist/components/table-action/table-action.js +4 -4
- package/dist/components/table-body/table-body.js +3 -2
- package/dist/components/table-caption/table-caption.js +2 -2
- package/dist/components/table-container/table-container.js +3 -2
- package/dist/components/table-head/table-head.js +3 -2
- package/dist/components/table-header-row/table-header-row.d.ts +1 -0
- package/dist/components/table-header-row/table-header-row.js +10 -9
- package/dist/components/table-header-row/table-header-row.styles.js +2 -2
- package/dist/components/table-of-contents/table-of-contents.js +2 -2
- package/dist/components/table-row/table-row-base.styles.js +1 -1
- package/dist/components/table-row/table-row.d.ts +20 -0
- package/dist/components/table-row/table-row.js +8 -7
- package/dist/components/table-row/table-row.styles.js +2 -2
- package/dist/components/tag/tag.js +3 -3
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/components/tree/tree.d.ts +4 -0
- package/dist/components/tree/tree.js +8 -7
- package/dist/components/tree-item/tree-item.js +7 -6
- package/dist/custom-elements.json +936 -43
- package/dist/design-system.js +98 -98
- package/dist/events/dsa-table-row-reordered.d.ts +14 -0
- package/dist/events/dsa-table-row-reordered.js +1 -0
- package/dist/events/events.d.ts +1 -0
- package/dist/internal/components/form-selectable-card/form-selectable-card.js +3 -2
- package/dist/internal/components/form-selectable-card/form-selectable-card.styles.js +4 -4
- package/dist/internal/components/form-toggle-button/form-toggle-button.js +3 -2
- package/dist/internal/components/form-toggle-button/form-toggle-button.styles.js +2 -2
- 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/helpers.d.ts +2 -0
- package/dist/utilities/helpers.js +7 -3
- package/dist/utilities/localize.d.ts +2 -0
- package/dist/utilities/localize.js +1 -1
- package/dist/utilities/storybook.js +2 -2
- package/dist/vscode.html-custom-data.json +42 -2
- package/dist/web-types.json +452 -4
- package/package.json +1 -1
- package/cdn/chunks/chunk.2PN56GC6.js +0 -1
- package/cdn/chunks/chunk.4RIUPE2O.js +0 -1
- package/cdn/chunks/chunk.63QVJAPP.js +0 -11
- package/cdn/chunks/chunk.67MZYN3N.js +0 -37
- package/cdn/chunks/chunk.6AGU5DOT.js +0 -1
- package/cdn/chunks/chunk.6GAHBGOF.js +0 -47
- package/cdn/chunks/chunk.A6JUKRCA.js +0 -38
- package/cdn/chunks/chunk.AEBG7WOW.js +0 -20
- package/cdn/chunks/chunk.AKVKEBPE.js +0 -13
- package/cdn/chunks/chunk.DYSLQ6GC.js +0 -68
- package/cdn/chunks/chunk.E6XLVREY.js +0 -11
- package/cdn/chunks/chunk.EHLI2NSG.js +0 -26
- package/cdn/chunks/chunk.FGDBYD7N.js +0 -41
- package/cdn/chunks/chunk.IJNUBDIJ.js +0 -1
- package/cdn/chunks/chunk.IYKXS5B3.js +0 -66
- package/cdn/chunks/chunk.JNOQLPCE.js +0 -8
- package/cdn/chunks/chunk.K6YUVAOE.js +0 -6
- package/cdn/chunks/chunk.N4VN25E6.js +0 -44
- package/cdn/chunks/chunk.PFU2C3OZ.js +0 -1
- package/cdn/chunks/chunk.QO3O2UNB.js +0 -68
- package/cdn/chunks/chunk.QVF2D4NC.js +0 -1
- package/cdn/chunks/chunk.SIT3GCR7.js +0 -173
- package/cdn/chunks/chunk.TFJB3OT3.js +0 -19
- package/cdn/chunks/chunk.UEYALIC7.js +0 -25
- package/cdn/chunks/chunk.W7AY6BP2.js +0 -130
- package/cdn/chunks/chunk.W7S553SV.js +0 -50
- package/cdn/chunks/chunk.WJLFKSRJ.js +0 -51
- package/cdn/chunks/chunk.X2G2BFIN.js +0 -1
- package/cdn/chunks/chunk.X4U7WI77.js +0 -28
- package/cdn/chunks/chunk.YUUDCDMZ.js +0 -1
- package/dist/chunks/chunk.DMQJ4GLL.js +0 -209
- package/dist/chunks/chunk.DYZHSPWO.js +0 -48
- package/dist/chunks/chunk.RFJJRWWT.js +0 -282
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import {
|
|
2
|
+
table_row_base_styles_default
|
|
3
|
+
} from "./chunk.ZHPIA4F4.js";
|
|
4
|
+
|
|
5
|
+
// src/components/table-row/table-row.styles.ts
|
|
6
|
+
import { css } from "lit";
|
|
7
|
+
var table_row_styles_default = css`
|
|
8
|
+
${table_row_base_styles_default}
|
|
9
|
+
|
|
10
|
+
:host {
|
|
11
|
+
background: var(--dsa-wc-table-row-background);
|
|
12
|
+
font: var(--dsa-wc-table-row-font);
|
|
13
|
+
color: var(--dsa-wc-table-row-color);
|
|
14
|
+
transition:
|
|
15
|
+
background var(--dsa-wc-transition-fast) ease,
|
|
16
|
+
opacity var(--dsa-wc-transition-fast) ease;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:host(:hover:not([loading])),
|
|
20
|
+
:host(:hover[selected]) {
|
|
21
|
+
background: var(--dsa-wc-table-row-hover-background);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
:host(.reordering-no-hover:hover:not([selected]):not([loading])) {
|
|
25
|
+
background: var(--dsa-wc-table-row-background);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:host(.reordering-no-hover:hover[selected]:not([loading])) {
|
|
29
|
+
background: var(--dsa-wc-table-row-selected-background);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* Selected State */
|
|
33
|
+
:host([selected]) {
|
|
34
|
+
background: var(--dsa-wc-table-row-selected-background);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.column-expand-button,
|
|
38
|
+
.column-reorder-button {
|
|
39
|
+
padding: 0;
|
|
40
|
+
text-align: center;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.reorder-button::part(base) {
|
|
44
|
+
cursor: grab;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.reorder-button::part(base):active {
|
|
48
|
+
cursor: grabbing;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
:host([dragging]) .reorder-button::part(base) {
|
|
52
|
+
cursor: grabbing;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
:host([dragging]) {
|
|
56
|
+
opacity: 0.7;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
:host([drag-preview]) {
|
|
60
|
+
opacity: 1;
|
|
61
|
+
background: var(--dsa-wc-table-row-background);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
:host([drag-preview]) dsa-table-cell,
|
|
65
|
+
:host([drag-preview]) ::slotted(dsa-table-cell) {
|
|
66
|
+
background: var(--dsa-wc-table-row-background);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
:host([drop-target]) dsa-table-cell::after,
|
|
70
|
+
:host([drop-target]) ::slotted(dsa-table-cell)::after {
|
|
71
|
+
content: '';
|
|
72
|
+
position: absolute;
|
|
73
|
+
inset-inline: 0;
|
|
74
|
+
block-size: 3px;
|
|
75
|
+
background: var(--dsa-color-primitive-colors-identity-purple-500);
|
|
76
|
+
pointer-events: none;
|
|
77
|
+
z-index: 1;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
:host([drop-target][drop-target-position='before']) dsa-table-cell::after,
|
|
81
|
+
:host([drop-target][drop-target-position='before'])
|
|
82
|
+
::slotted(dsa-table-cell)::after {
|
|
83
|
+
inset-block-start: 0;
|
|
84
|
+
transform: translateY(-50%);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
:host([drop-target][drop-target-position='after']) dsa-table-cell::after,
|
|
88
|
+
:host([drop-target][drop-target-position='after'])
|
|
89
|
+
::slotted(dsa-table-cell)::after {
|
|
90
|
+
inset-block-end: -1px;
|
|
91
|
+
transform: translateY(50%);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.expand-button {
|
|
95
|
+
display: none;
|
|
96
|
+
transform: rotateX(0deg);
|
|
97
|
+
transition: transform var(--dsa-wc-transition-medium) ease;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.column-expand-button--has-icon .expand-button {
|
|
101
|
+
display: inline-block;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.expand-button--expand-less {
|
|
105
|
+
transform: rotateX(-180deg);
|
|
106
|
+
}
|
|
107
|
+
`;
|
|
108
|
+
|
|
109
|
+
export {
|
|
110
|
+
table_row_styles_default
|
|
111
|
+
};
|
|
@@ -126,11 +126,11 @@ var search_styles_default = css`
|
|
|
126
126
|
border-color: var(--dsa-wc-search-on-base-hover-border-color);
|
|
127
127
|
background-color: var(--dsa-wc-search-on-base-hover-background-color);
|
|
128
128
|
}
|
|
129
|
-
.search-bar--
|
|
129
|
+
.search-bar--error.search-bar--on-base .input {
|
|
130
130
|
border-color: var(--dsa-wc-search-on-base-error-border-color);
|
|
131
131
|
background-color: var(--dsa-wc-search-on-base-error-background-color);
|
|
132
132
|
}
|
|
133
|
-
.search-bar--
|
|
133
|
+
.search-bar--error.search-bar--on-base .input:hover {
|
|
134
134
|
border-color: var(--dsa-wc-search-on-base-error-hover-border-color);
|
|
135
135
|
background-color: var(--dsa-wc-search-on-base-error-hover-background-color);
|
|
136
136
|
}
|
|
@@ -144,11 +144,11 @@ var search_styles_default = css`
|
|
|
144
144
|
border-color: var(--dsa-wc-search-on-layer-hover-border-color);
|
|
145
145
|
background-color: var(--dsa-wc-search-on-layer-hover-background-color);
|
|
146
146
|
}
|
|
147
|
-
.search-bar--
|
|
147
|
+
.search-bar--error.search-bar--on-layer .input {
|
|
148
148
|
border-color: var(--dsa-wc-search-on-layer-error-border-color);
|
|
149
149
|
background-color: var(--dsa-wc-search-on-layer-error-background-color);
|
|
150
150
|
}
|
|
151
|
-
.search-bar--
|
|
151
|
+
.search-bar--error.search-bar--on-layer .input:hover {
|
|
152
152
|
border-color: var(--dsa-wc-search-on-layer-error-hover-border-color);
|
|
153
153
|
background-color: var(
|
|
154
154
|
--dsa-wc-search-on-layer-error-hover-background-color
|
|
@@ -173,13 +173,13 @@ var search_styles_default = css`
|
|
|
173
173
|
--dsa-wc-search-on-floating-menu-hover-background-color
|
|
174
174
|
);
|
|
175
175
|
}
|
|
176
|
-
.search-bar--
|
|
176
|
+
.search-bar--error.search-bar--on-floating .input {
|
|
177
177
|
border-color: var(--dsa-wc-search-on-floating-menu-error-border-color);
|
|
178
178
|
background-color: var(
|
|
179
179
|
--dsa-wc-search-on-floating-menu-error-background-color
|
|
180
180
|
);
|
|
181
181
|
}
|
|
182
|
-
.search-bar--
|
|
182
|
+
.search-bar--error.search-bar--on-floating .input:hover {
|
|
183
183
|
border-color: var(
|
|
184
184
|
--dsa-wc-search-on-floating-menu-error-hover-border-color
|
|
185
185
|
);
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tab_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.Q3SL7AWD.js";
|
|
4
|
+
import {
|
|
5
|
+
setAttributeIfDifferent
|
|
6
|
+
} from "./chunk.PSYTLBRK.js";
|
|
4
7
|
import {
|
|
5
8
|
DSAIconButton
|
|
6
9
|
} from "./chunk.WNESPUKK.js";
|
|
7
10
|
import {
|
|
8
11
|
LocalizeController
|
|
9
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.34HS7ICN.js";
|
|
10
13
|
import {
|
|
11
14
|
watch
|
|
12
15
|
} from "./chunk.QB2NJE2Y.js";
|
|
@@ -19,7 +22,7 @@ import {
|
|
|
19
22
|
|
|
20
23
|
// src/components/tab/tab.ts
|
|
21
24
|
import { html } from "lit";
|
|
22
|
-
import { customElement, property, query } from "lit/decorators.js";
|
|
25
|
+
import { customElement, property, query, state } from "lit/decorators.js";
|
|
23
26
|
import { classMap } from "lit/directives/class-map.js";
|
|
24
27
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
25
28
|
var id = 0;
|
|
@@ -29,6 +32,7 @@ var DSATab = class extends ShoelaceElement {
|
|
|
29
32
|
this.localize = new LocalizeController(this);
|
|
30
33
|
this.attrId = ++id;
|
|
31
34
|
this.componentId = `dsa-tab-${this.attrId}`;
|
|
35
|
+
this.widthPlaceholderNodes = [];
|
|
32
36
|
this.panel = "";
|
|
33
37
|
this.active = false;
|
|
34
38
|
this.closable = false;
|
|
@@ -36,32 +40,53 @@ var DSATab = class extends ShoelaceElement {
|
|
|
36
40
|
}
|
|
37
41
|
connectedCallback() {
|
|
38
42
|
super.connectedCallback();
|
|
39
|
-
this.
|
|
43
|
+
if (!this.id) {
|
|
44
|
+
this.id = this.componentId;
|
|
45
|
+
}
|
|
46
|
+
setAttributeIfDifferent(this, "role", "tab");
|
|
40
47
|
}
|
|
41
48
|
firstUpdated() {
|
|
49
|
+
this.updateWidthPlaceholderNodes();
|
|
42
50
|
const closeButton = this.closeButton;
|
|
43
51
|
if (closeButton !== null) {
|
|
44
52
|
closeButton.updateComplete.then(() => {
|
|
45
|
-
|
|
53
|
+
const tabIndexValue = this.active ? "0" : "-1";
|
|
54
|
+
setAttributeIfDifferent(closeButton.button, "tabindex", tabIndexValue);
|
|
46
55
|
});
|
|
47
56
|
}
|
|
48
57
|
}
|
|
58
|
+
handleDefaultSlotChange() {
|
|
59
|
+
this.updateWidthPlaceholderNodes();
|
|
60
|
+
}
|
|
61
|
+
updateWidthPlaceholderNodes() {
|
|
62
|
+
this.widthPlaceholderNodes = this.defaultSlot ? this.defaultSlot.assignedNodes().map((node) => node.cloneNode(true)) : [];
|
|
63
|
+
}
|
|
49
64
|
handleCloseClick(event) {
|
|
50
65
|
event.stopPropagation();
|
|
51
66
|
this.emit("dsa-close");
|
|
52
67
|
}
|
|
53
68
|
handleActiveChange() {
|
|
54
69
|
var _a;
|
|
55
|
-
|
|
56
|
-
(
|
|
70
|
+
const ariaSelected = this.active ? "true" : "false";
|
|
71
|
+
setAttributeIfDifferent(this, "aria-selected", ariaSelected);
|
|
72
|
+
const closeButtonTabIndex = this.active ? "0" : "-1";
|
|
73
|
+
if ((_a = this.closeButton) == null ? void 0 : _a.button) {
|
|
74
|
+
setAttributeIfDifferent(
|
|
75
|
+
this.closeButton.button,
|
|
76
|
+
"tabindex",
|
|
77
|
+
closeButtonTabIndex
|
|
78
|
+
);
|
|
79
|
+
}
|
|
57
80
|
}
|
|
58
81
|
handleDisabledChange() {
|
|
59
|
-
|
|
60
|
-
this
|
|
82
|
+
const ariaDisabled = this.disabled ? "true" : "false";
|
|
83
|
+
setAttributeIfDifferent(this, "aria-disabled", ariaDisabled);
|
|
84
|
+
const tabIndexValue = this.disabled ? -1 : 0;
|
|
85
|
+
if (this.tabIndex !== tabIndexValue) {
|
|
86
|
+
this.tabIndex = tabIndexValue;
|
|
87
|
+
}
|
|
61
88
|
}
|
|
62
89
|
render() {
|
|
63
|
-
var _a;
|
|
64
|
-
this.id = this.id.length > 0 ? this.id : this.componentId;
|
|
65
90
|
return html`
|
|
66
91
|
<div
|
|
67
92
|
part="base"
|
|
@@ -74,9 +99,9 @@ var DSATab = class extends ShoelaceElement {
|
|
|
74
99
|
tabindex=${ifDefined(this.disabled ? "-1" : null)}
|
|
75
100
|
>
|
|
76
101
|
<div class="tab__content">
|
|
77
|
-
<slot part="label"></slot>
|
|
102
|
+
<slot part="label" @slotchange=${this.handleDefaultSlotChange}></slot>
|
|
78
103
|
<div class="tab__width-placeholder">
|
|
79
|
-
${
|
|
104
|
+
${this.widthPlaceholderNodes}
|
|
80
105
|
</div>
|
|
81
106
|
</div>
|
|
82
107
|
${this.closable ? html`
|
|
@@ -96,11 +121,14 @@ var DSATab = class extends ShoelaceElement {
|
|
|
96
121
|
};
|
|
97
122
|
DSATab.styles = tab_styles_default;
|
|
98
123
|
DSATab.dependencies = { "dsa-icon-button": DSAIconButton };
|
|
124
|
+
__decorateClass([
|
|
125
|
+
state()
|
|
126
|
+
], DSATab.prototype, "widthPlaceholderNodes", 2);
|
|
99
127
|
__decorateClass([
|
|
100
128
|
query(".tab")
|
|
101
129
|
], DSATab.prototype, "tab", 2);
|
|
102
130
|
__decorateClass([
|
|
103
|
-
query("
|
|
131
|
+
query(".tab__close-button")
|
|
104
132
|
], DSATab.prototype, "closeButton", 2);
|
|
105
133
|
__decorateClass([
|
|
106
134
|
query("slot:not([name])")
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk.6WKAXIB2.js";
|
|
4
4
|
import {
|
|
5
5
|
DSATable
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.D5YUY5BG.js";
|
|
7
7
|
import {
|
|
8
8
|
LoadingStateElement
|
|
9
9
|
} from "./chunk.YROTOHU3.js";
|
|
@@ -27,6 +27,7 @@ var DSATableHead = class extends LoadingStateElement {
|
|
|
27
27
|
if (parent instanceof DSATable) {
|
|
28
28
|
parent.handleHeaderRowExpandable();
|
|
29
29
|
parent.handleHeaderRowSelectable();
|
|
30
|
+
parent.handleHeaderRowReorderable();
|
|
30
31
|
parent.handleAlignmentChange();
|
|
31
32
|
parent.handleHeaderCellsCount();
|
|
32
33
|
}
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk.O65OOIT6.js";
|
|
13
13
|
import {
|
|
14
14
|
DSAInput
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.QUEYKUIS.js";
|
|
16
16
|
import {
|
|
17
17
|
DSAVisuallyHidden
|
|
18
18
|
} from "./chunk.JIN6PGAK.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "./chunk.YIY5RM53.js";
|
|
25
25
|
import {
|
|
26
26
|
LocalizeController
|
|
27
|
-
} from "./chunk.
|
|
27
|
+
} from "./chunk.34HS7ICN.js";
|
|
28
28
|
import {
|
|
29
29
|
DSAIcon
|
|
30
30
|
} from "./chunk.CKJJ4MSU.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DSASelect
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.Q4BEX42U.js";
|
|
4
4
|
import {
|
|
5
5
|
frenchNumberPrefix,
|
|
6
6
|
phonePrefixOptions
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk.WMFEJDPX.js";
|
|
22
22
|
import {
|
|
23
23
|
DSAOption
|
|
24
|
-
} from "./chunk.
|
|
24
|
+
} from "./chunk.SAQFLKP7.js";
|
|
25
25
|
import {
|
|
26
26
|
DSAIconButton
|
|
27
27
|
} from "./chunk.WNESPUKK.js";
|
|
@@ -3,25 +3,25 @@ import {
|
|
|
3
3
|
} from "./chunk.2LB4AUIL.js";
|
|
4
4
|
import {
|
|
5
5
|
DSAInput
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.QUEYKUIS.js";
|
|
7
7
|
import {
|
|
8
8
|
FilterBase
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.4VSGAJJL.js";
|
|
10
10
|
import {
|
|
11
11
|
scrollIntoView
|
|
12
12
|
} from "./chunk.EMIT7S33.js";
|
|
13
|
-
import {
|
|
14
|
-
normalizeStr
|
|
15
|
-
} from "./chunk.FLRB45SF.js";
|
|
16
13
|
import {
|
|
17
14
|
DSAOption
|
|
18
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.SAQFLKP7.js";
|
|
16
|
+
import {
|
|
17
|
+
normalizeStr
|
|
18
|
+
} from "./chunk.PSYTLBRK.js";
|
|
19
19
|
import {
|
|
20
20
|
DSAVisuallyHidden
|
|
21
21
|
} from "./chunk.JIN6PGAK.js";
|
|
22
22
|
import {
|
|
23
23
|
DSAButton
|
|
24
|
-
} from "./chunk.
|
|
24
|
+
} from "./chunk.SXFVCR7O.js";
|
|
25
25
|
import {
|
|
26
26
|
DSAIcon
|
|
27
27
|
} from "./chunk.CKJJ4MSU.js";
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sidenav_styles_default
|
|
3
3
|
} from "./chunk.THC4PF2E.js";
|
|
4
|
-
import {
|
|
5
|
-
isMacOS
|
|
6
|
-
} from "./chunk.FLRB45SF.js";
|
|
7
4
|
import {
|
|
8
5
|
DSATooltip
|
|
9
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.ELOLGOFM.js";
|
|
7
|
+
import {
|
|
8
|
+
isMacOS,
|
|
9
|
+
removeAttributeIfPresent,
|
|
10
|
+
setAttributeIfDifferent
|
|
11
|
+
} from "./chunk.PSYTLBRK.js";
|
|
10
12
|
import {
|
|
11
13
|
DSADivider
|
|
12
14
|
} from "./chunk.QGI766JC.js";
|
|
@@ -15,7 +17,7 @@ import {
|
|
|
15
17
|
} from "./chunk.YIY5RM53.js";
|
|
16
18
|
import {
|
|
17
19
|
LocalizeController
|
|
18
|
-
} from "./chunk.
|
|
20
|
+
} from "./chunk.34HS7ICN.js";
|
|
19
21
|
import {
|
|
20
22
|
DSAIcon
|
|
21
23
|
} from "./chunk.CKJJ4MSU.js";
|
|
@@ -45,6 +47,7 @@ var DSASideNav = class extends ShoelaceElement {
|
|
|
45
47
|
"bottom"
|
|
46
48
|
);
|
|
47
49
|
this.localize = new LocalizeController(this);
|
|
50
|
+
this.isShortcutListenerAttached = false;
|
|
48
51
|
this.collapsed = false;
|
|
49
52
|
this.allowShortcut = false;
|
|
50
53
|
this.navLabel = "";
|
|
@@ -54,25 +57,38 @@ var DSASideNav = class extends ShoelaceElement {
|
|
|
54
57
|
this.handleAccordionActivation = this.handleAccordionActivation.bind(this);
|
|
55
58
|
this.handleAccordionKeyDown = this.handleAccordionKeyDown.bind(this);
|
|
56
59
|
this.handleDocumentKeyDown = this.handleDocumentKeyDown.bind(this);
|
|
60
|
+
this.addEventListener("click", this.handleAccordionActivation);
|
|
61
|
+
this.addEventListener("keydown", this.handleAccordionKeyDown);
|
|
57
62
|
if (this.allowShortcut) {
|
|
58
|
-
|
|
63
|
+
this.attachShortcutListener();
|
|
59
64
|
}
|
|
60
65
|
}
|
|
61
66
|
disconnectedCallback() {
|
|
62
67
|
super.disconnectedCallback();
|
|
63
|
-
|
|
68
|
+
this.removeEventListener("click", this.handleAccordionActivation);
|
|
69
|
+
this.removeEventListener("keydown", this.handleAccordionKeyDown);
|
|
70
|
+
this.detachShortcutListener();
|
|
71
|
+
}
|
|
72
|
+
attachShortcutListener() {
|
|
73
|
+
if (!this.isShortcutListenerAttached) {
|
|
74
|
+
document.addEventListener("keydown", this.handleDocumentKeyDown);
|
|
75
|
+
this.isShortcutListenerAttached = true;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
detachShortcutListener() {
|
|
79
|
+
if (this.isShortcutListenerAttached) {
|
|
64
80
|
document.removeEventListener("keydown", this.handleDocumentKeyDown);
|
|
81
|
+
this.isShortcutListenerAttached = false;
|
|
65
82
|
}
|
|
66
83
|
}
|
|
67
|
-
|
|
68
|
-
const
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
});
|
|
84
|
+
getAccordionTarget(event) {
|
|
85
|
+
const target = event.target;
|
|
86
|
+
if (!target) {
|
|
87
|
+
return null;
|
|
88
|
+
}
|
|
89
|
+
return target.closest(
|
|
90
|
+
`${MENU_ACCORDION_SELECTOR}, ${SIDENAV_INFO_ACCORDION}`
|
|
91
|
+
);
|
|
76
92
|
}
|
|
77
93
|
handleDocumentKeyDown(event) {
|
|
78
94
|
if (event.key === "\\" && (isMacOS() ? event.metaKey : event.ctrlKey)) {
|
|
@@ -80,34 +96,36 @@ var DSASideNav = class extends ShoelaceElement {
|
|
|
80
96
|
}
|
|
81
97
|
}
|
|
82
98
|
handleAccordionKeyDown(event) {
|
|
83
|
-
if (event.key === "Enter" || event.key === " ") {
|
|
99
|
+
if ((event.key === "Enter" || event.key === " ") && this.collapsed) {
|
|
84
100
|
this.handleAccordionActivation(event);
|
|
85
101
|
}
|
|
86
102
|
}
|
|
87
103
|
handleAccordionActivation(event) {
|
|
88
|
-
if (this.collapsed) {
|
|
104
|
+
if (!this.collapsed) {
|
|
105
|
+
return;
|
|
106
|
+
}
|
|
107
|
+
const accordion = this.getAccordionTarget(event);
|
|
108
|
+
if (accordion !== null) {
|
|
89
109
|
this.collapsed = false;
|
|
90
|
-
|
|
110
|
+
if (!accordion.open) {
|
|
111
|
+
accordion.open = true;
|
|
112
|
+
}
|
|
91
113
|
}
|
|
92
114
|
}
|
|
93
115
|
toggleSidenav() {
|
|
94
116
|
this.collapsed = !this.collapsed;
|
|
95
117
|
}
|
|
96
118
|
updateChildrenState() {
|
|
97
|
-
const
|
|
98
|
-
|
|
99
|
-
MENU_ACCORDION_SELECTOR
|
|
119
|
+
const items = this.querySelectorAll(
|
|
120
|
+
`${MENU_ITEM_SELECTOR}, ${MENU_ACCORDION_SELECTOR}, ${SIDENAV_INFO_ACCORDION}`
|
|
100
121
|
);
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
} else {
|
|
107
|
-
item.removeAttribute("collapsed");
|
|
108
|
-
}
|
|
122
|
+
items.forEach((item) => {
|
|
123
|
+
if (this.collapsed) {
|
|
124
|
+
setAttributeIfDifferent(item, "collapsed", "true");
|
|
125
|
+
} else {
|
|
126
|
+
removeAttributeIfPresent(item, "collapsed");
|
|
109
127
|
}
|
|
110
|
-
);
|
|
128
|
+
});
|
|
111
129
|
}
|
|
112
130
|
handleExpandedChange() {
|
|
113
131
|
this.updateChildrenState();
|
|
@@ -119,9 +137,9 @@ var DSASideNav = class extends ShoelaceElement {
|
|
|
119
137
|
}
|
|
120
138
|
handleAllowShortcutChange() {
|
|
121
139
|
if (this.allowShortcut) {
|
|
122
|
-
|
|
140
|
+
this.attachShortcutListener();
|
|
123
141
|
} else {
|
|
124
|
-
|
|
142
|
+
this.detachShortcutListener();
|
|
125
143
|
}
|
|
126
144
|
}
|
|
127
145
|
render() {
|
|
@@ -59,14 +59,17 @@ var checkbox_styles_default = css`
|
|
|
59
59
|
outline-offset: var(--dsa-wc-focus-ring-offset);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
.checkbox--has-label .checkbox__label
|
|
62
|
+
.checkbox--has-label .checkbox__label {
|
|
63
63
|
display: inline-block;
|
|
64
|
-
color: var(--dsa-wc-checkbox-color);
|
|
65
64
|
line-height: var(--toggle-size);
|
|
66
65
|
margin-inline-start: 0.5em;
|
|
67
66
|
user-select: none;
|
|
68
67
|
}
|
|
69
68
|
|
|
69
|
+
.checkbox--has-label:not(.checkbox--disabled) .checkbox__label {
|
|
70
|
+
color: var(--dsa-wc-checkbox-color);
|
|
71
|
+
}
|
|
72
|
+
|
|
70
73
|
.checkbox__label-required {
|
|
71
74
|
color: var(--dsa-wc-form-required-content-color);
|
|
72
75
|
}
|
|
@@ -92,8 +92,16 @@ var switch_styles_default = css`
|
|
|
92
92
|
|
|
93
93
|
.switch__state {
|
|
94
94
|
user-select: none;
|
|
95
|
-
display:
|
|
96
|
-
|
|
95
|
+
display: grid;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.switch__state-label {
|
|
99
|
+
grid-area: 1 / 1;
|
|
100
|
+
visibility: hidden;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.switch__state-label--visible {
|
|
104
|
+
visibility: visible;
|
|
97
105
|
}
|
|
98
106
|
|
|
99
107
|
.switch__input {
|
|
@@ -155,7 +163,7 @@ var switch_styles_default = css`
|
|
|
155
163
|
}
|
|
156
164
|
|
|
157
165
|
/* Checked + hover */
|
|
158
|
-
.switch
|
|
166
|
+
.switch--checked:not(.switch--disabled):not(.switch--readonly):hover
|
|
159
167
|
.switch__control {
|
|
160
168
|
background-color: var(
|
|
161
169
|
--dsa-wc-switch-control-background-color-active-hover
|
|
@@ -165,7 +173,7 @@ var switch_styles_default = css`
|
|
|
165
173
|
}
|
|
166
174
|
|
|
167
175
|
/* Checked + focus */
|
|
168
|
-
.switch--
|
|
176
|
+
.switch--checked.switch--focused:not(.switch--disabled):not(.switch--readonly)
|
|
169
177
|
.switch__control {
|
|
170
178
|
background-color: var(
|
|
171
179
|
--dsa-wc-switch-control-background-color-active-hover
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk.UYPZGXIY.js";
|
|
7
7
|
import {
|
|
8
8
|
DSATooltip
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.ELOLGOFM.js";
|
|
10
10
|
import {
|
|
11
11
|
DSAVisuallyHidden
|
|
12
12
|
} from "./chunk.JIN6PGAK.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk.WNESPUKK.js";
|
|
16
16
|
import {
|
|
17
17
|
LocalizeController
|
|
18
|
-
} from "./chunk.
|
|
18
|
+
} from "./chunk.34HS7ICN.js";
|
|
19
19
|
import {
|
|
20
20
|
watch
|
|
21
21
|
} from "./chunk.QB2NJE2Y.js";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk.WO56WJXU.js";
|
|
4
4
|
import {
|
|
5
5
|
DSACheckbox
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.SGRSRDWP.js";
|
|
7
7
|
import {
|
|
8
8
|
DSASpinner
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.2WW7OJZT.js";
|
|
10
10
|
import {
|
|
11
11
|
animateTo,
|
|
12
12
|
shimKeyframesHeightAuto,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk.HPDCOGLH.js";
|
|
19
19
|
import {
|
|
20
20
|
LocalizeController
|
|
21
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.34HS7ICN.js";
|
|
22
22
|
import {
|
|
23
23
|
DSAIcon
|
|
24
24
|
} from "./chunk.CKJJ4MSU.js";
|