@ds-autonomie/web-components 2.17.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 +34 -0
- package/cdn/chunks/chunk.2EC2JS5U.js +60 -0
- 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.SPZ3HJLD.js → chunk.3FYOZ6BI.js} +5 -5
- package/cdn/chunks/chunk.3URUFDPU.js +44 -0
- package/cdn/chunks/chunk.4A2SP2JA.js +68 -0
- package/cdn/chunks/{chunk.2RZZILUX.js → chunk.4IWXGSUM.js} +7 -7
- package/cdn/chunks/chunk.4NE2V6DW.js +9 -0
- 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.S5TQGB4V.js → chunk.5PWPU25F.js} +1 -1
- package/cdn/chunks/{chunk.W25NCUPA.js → chunk.5V6ZBY2X.js} +7 -8
- 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.N7EFYGZ6.js → chunk.7TKKYYU2.js} +13 -13
- package/cdn/chunks/{chunk.LFI7CMVX.js → chunk.7WZQFRLE.js} +1 -1
- package/cdn/chunks/chunk.7YNQVYS2.js +13 -0
- package/cdn/chunks/{chunk.D5S2YDML.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.465G6RHI.js → chunk.BDRT5OOU.js} +1 -1
- package/cdn/chunks/{chunk.OTTGEQF6.js → chunk.BOCMAV5D.js} +1 -1
- package/cdn/chunks/{chunk.M2JVAL5G.js → chunk.BRP4WPSN.js} +5 -5
- 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.CWHPCCQQ.js +33 -0
- package/cdn/chunks/{chunk.LA5W25UC.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.ZPQE4HH4.js → chunk.EJ5DXQU3.js} +1 -9
- package/cdn/chunks/chunk.EZQSKUPG.js +20 -0
- package/cdn/chunks/{chunk.3HXQ2XPS.js → chunk.F4EQPWW4.js} +4 -4
- package/cdn/chunks/{chunk.A6MZKELV.js → chunk.F6YFQ3GB.js} +1 -2
- package/cdn/chunks/{chunk.MWGVWSH3.js → chunk.GDNVDKSZ.js} +2 -2
- 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.HLG5HGVW.js +11 -0
- 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.IKPDLLWM.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.LLKFUARE.js → chunk.OFITABL5.js} +10 -10
- package/cdn/chunks/{chunk.X4UXKXMO.js → chunk.PVV7WADS.js} +6 -6
- 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.AAEIE3M2.js → chunk.RNR6P3VA.js} +3 -4
- package/cdn/chunks/{chunk.QQLTDM2A.js → chunk.RTVNV4IL.js} +1 -1
- package/cdn/chunks/{chunk.ZKV4BJLY.js → chunk.S4UDOENW.js} +3 -3
- 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.NE525Q3J.js → chunk.VMY3LI3D.js} +8 -8
- 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.Z226LHQY.js +64 -0
- 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.d.ts +2 -0
- 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.d.ts +3 -0
- 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.d.ts +0 -4
- package/cdn/components/menu-navigation/menu-navigation.js +1 -1
- package/cdn/components/navbar/navbar.d.ts +0 -4
- package/cdn/components/navbar/navbar.js +1 -1
- package/cdn/components/navbar-link/navbar-link.js +1 -1
- package/cdn/components/navbar-menu/navbar-menu.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-action/table-action.styles.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-caption/table-caption.styles.js +1 -1
- package/cdn/components/table-container/table-container.d.ts +2 -0
- package/cdn/components/table-container/table-container.js +1 -1
- package/cdn/components/table-container/table-container.styles.js +1 -1
- package/cdn/components/table-expanded-row/table-expanded-row.d.ts +1 -1
- package/cdn/components/table-head/table-head.js +1 -1
- package/cdn/components/table-header-cell/table-header-cell.js +1 -1
- package/cdn/components/table-header-cell/table-header-cell.styles.js +1 -1
- package/cdn/components/table-header-row/table-header-row.d.ts +2 -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.d.ts +4 -5
- 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-base.styles.d.ts +2 -0
- package/cdn/components/table-row/table-row-base.styles.js +1 -0
- package/cdn/components/table-row/table-row.d.ts +22 -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/table-toolbar/table-toolbar.js +1 -1
- package/cdn/components/table-toolbar/table-toolbar.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 -4
- package/cdn/components/tree/tree.js +1 -1
- 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 +1058 -122
- 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/date-field/date-field.styles.js +2 -2
- 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/themes/dsa-wc-theme.css +20 -45
- package/cdn/themes/dsa-wc-theme.min.css +1 -1
- package/cdn/themes/dsa-wc-theme.styles.js +20 -46
- 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 +60 -10
- package/cdn/web-types.json +537 -49
- 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.3W6ROVW2.js → chunk.33P7XYHC.js} +32 -4
- 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.2VZ4MMR5.js → chunk.4NY2E4AU.js} +14 -5
- package/dist/chunks/{chunk.X6SEIMM4.js → chunk.4VSGAJJL.js} +2 -2
- package/dist/chunks/{chunk.ANV74452.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.OKTHM7J2.js → chunk.6RXEQKWZ.js} +15 -45
- 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.BTEEMPDS.js → chunk.A42VA6HE.js} +8 -4
- package/dist/chunks/{chunk.73XRFTV7.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.SN5JW345.js → chunk.E6D32GY2.js} +20 -8
- 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.ORFYYGB2.js → chunk.FBY2IM6R.js} +3 -3
- 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.LPQTWKYW.js → chunk.HKP752UH.js} +2 -1
- package/dist/chunks/{chunk.3RFVW3FP.js → chunk.HRZVG552.js} +2 -2
- package/dist/chunks/{chunk.PEWNJNAP.js → chunk.HYAC2WLH.js} +1 -1
- package/dist/chunks/{chunk.5FNJFIAP.js → chunk.IDBAIF3R.js} +8 -8
- package/dist/chunks/{chunk.DT6Y5ZUB.js → chunk.IMZ2EJ3J.js} +2 -2
- package/dist/chunks/{chunk.VA2ASBUR.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.QOW4B54V.js → chunk.KW762SFE.js} +8 -19
- 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.MXQ5RSBS.js → chunk.MDQDWJCR.js} +1 -2
- package/dist/chunks/{chunk.QBVIZ55Q.js → chunk.POR4SJ2I.js} +5 -5
- 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.VBUVNNMA.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.57DTA5ZP.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.XDW2FM6B.js → chunk.TURUUPFG.js} +3 -3
- 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.SGKW2DOH.js → chunk.UXJPFBV5.js} +3 -3
- 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.DC6KKJOX.js → chunk.VJMPU2K5.js} +65 -33
- package/dist/chunks/{chunk.HFTU6LUQ.js → chunk.VNGKMC5T.js} +1 -1
- package/dist/chunks/chunk.VO73SGIU.js +23 -0
- 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.MXDGKTTH.js → chunk.VYX5ZSFI.js} +5 -5
- 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.UEVTKGMG.js → chunk.WO56WJXU.js} +1 -9
- package/dist/chunks/{chunk.O3SPGNIU.js → chunk.WSQ2ZYD4.js} +9 -5
- package/dist/chunks/{chunk.LAPA4KOO.js → chunk.WYLT5ZNJ.js} +2 -2
- 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.HHVXZJUU.js → chunk.YI6BUIUL.js} +35 -4
- package/dist/chunks/{chunk.OW6RUTZA.js → chunk.YS4HYV3F.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.ZHPIA4F4.js +43 -0
- package/dist/chunks/{chunk.HBYJN6RA.js → chunk.ZS3JNRJE.js} +2 -2
- package/dist/chunks/{chunk.NCN4I6KX.js → chunk.ZYGCOBUE.js} +6 -6
- 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.d.ts +2 -0
- 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.d.ts +3 -0
- 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.d.ts +0 -4
- package/dist/components/menu-navigation/menu-navigation.js +4 -4
- package/dist/components/navbar/navbar.d.ts +0 -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 +5 -5
- package/dist/components/table-action/table-action.styles.js +1 -1
- package/dist/components/table-body/table-body.js +3 -2
- package/dist/components/table-caption/table-caption.js +3 -3
- package/dist/components/table-caption/table-caption.styles.js +1 -1
- package/dist/components/table-container/table-container.d.ts +2 -0
- package/dist/components/table-container/table-container.js +4 -3
- package/dist/components/table-container/table-container.styles.js +1 -1
- package/dist/components/table-expanded-row/table-expanded-row.d.ts +1 -1
- package/dist/components/table-head/table-head.js +3 -2
- package/dist/components/table-header-cell/table-header-cell.js +2 -2
- package/dist/components/table-header-cell/table-header-cell.styles.js +1 -1
- package/dist/components/table-header-row/table-header-row.d.ts +2 -0
- package/dist/components/table-header-row/table-header-row.js +12 -10
- package/dist/components/table-header-row/table-header-row.styles.js +2 -1
- package/dist/components/table-of-contents/table-of-contents.d.ts +4 -5
- package/dist/components/table-of-contents/table-of-contents.js +3 -3
- package/dist/components/table-of-contents/table-of-contents.styles.js +1 -1
- package/dist/components/table-row/table-row-base.styles.d.ts +2 -0
- package/dist/components/table-row/table-row-base.styles.js +8 -0
- package/dist/components/table-row/table-row.d.ts +22 -0
- package/dist/components/table-row/table-row.js +13 -6
- package/dist/components/table-row/table-row.styles.js +2 -1
- package/dist/components/table-toolbar/table-toolbar.js +2 -2
- package/dist/components/table-toolbar/table-toolbar.styles.js +1 -1
- package/dist/components/tag/tag.js +3 -3
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/components/tree/tree.d.ts +4 -4
- package/dist/components/tree/tree.js +9 -8
- package/dist/components/tree-item/tree-item.js +8 -7
- package/dist/components/tree-item/tree-item.styles.js +1 -1
- package/dist/custom-elements.json +1058 -122
- package/dist/design-system.js +110 -109
- 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/date-field/date-field.styles.js +2 -2
- 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/themes/dsa-wc-theme.css +20 -45
- package/dist/themes/dsa-wc-theme.min.css +1 -1
- package/dist/themes/dsa-wc-theme.styles.js +20 -46
- 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 +60 -10
- package/dist/web-types.json +537 -49
- package/package.json +1 -1
- package/cdn/chunks/chunk.2PN56GC6.js +0 -1
- package/cdn/chunks/chunk.2UUQJVQI.js +0 -1
- package/cdn/chunks/chunk.4RIUPE2O.js +0 -1
- package/cdn/chunks/chunk.63QVJAPP.js +0 -11
- package/cdn/chunks/chunk.6GAHBGOF.js +0 -47
- package/cdn/chunks/chunk.6TFK3HZG.js +0 -43
- package/cdn/chunks/chunk.ABNF7OWB.js +0 -11
- package/cdn/chunks/chunk.ADTGGBWH.js +0 -72
- package/cdn/chunks/chunk.AEBG7WOW.js +0 -20
- package/cdn/chunks/chunk.AKVKEBPE.js +0 -13
- package/cdn/chunks/chunk.BXV6H4J7.js +0 -1
- package/cdn/chunks/chunk.CBNY3KDR.js +0 -60
- package/cdn/chunks/chunk.DYSLQ6GC.js +0 -68
- package/cdn/chunks/chunk.EL4NZRIR.js +0 -26
- package/cdn/chunks/chunk.FGDBYD7N.js +0 -41
- package/cdn/chunks/chunk.GGGLGLGP.js +0 -38
- package/cdn/chunks/chunk.IJNUBDIJ.js +0 -1
- package/cdn/chunks/chunk.IOIBAXOU.js +0 -9
- package/cdn/chunks/chunk.IYKXS5B3.js +0 -66
- package/cdn/chunks/chunk.JNOQLPCE.js +0 -8
- package/cdn/chunks/chunk.JZMIS7DF.js +0 -7
- package/cdn/chunks/chunk.K6YUVAOE.js +0 -6
- package/cdn/chunks/chunk.LIYDVH7Q.js +0 -48
- package/cdn/chunks/chunk.MQFH5TMZ.js +0 -1
- package/cdn/chunks/chunk.N4VN25E6.js +0 -44
- package/cdn/chunks/chunk.QNAPY67H.js +0 -73
- package/cdn/chunks/chunk.QO3O2UNB.js +0 -68
- package/cdn/chunks/chunk.QVF2D4NC.js +0 -1
- package/cdn/chunks/chunk.RVQUT7ZY.js +0 -26
- 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/dist/chunks/chunk.7S4HUOC7.js +0 -206
- package/dist/chunks/chunk.GI3JNOHH.js +0 -58
- package/dist/chunks/chunk.HALYTFYA.js +0 -282
- package/dist/chunks/chunk.SHNAUO5J.js +0 -82
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
table_container_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.IDBAIF3R.js";
|
|
4
4
|
import {
|
|
5
5
|
LoadingStateElement
|
|
6
6
|
} from "./chunk.YROTOHU3.js";
|
|
7
|
+
import {
|
|
8
|
+
removeAttributeIfPresent,
|
|
9
|
+
setAttributeIfDifferent
|
|
10
|
+
} from "./chunk.PSYTLBRK.js";
|
|
7
11
|
import {
|
|
8
12
|
DSAVisuallyHidden
|
|
9
13
|
} from "./chunk.JIN6PGAK.js";
|
|
@@ -12,7 +16,7 @@ import {
|
|
|
12
16
|
} from "./chunk.YIY5RM53.js";
|
|
13
17
|
import {
|
|
14
18
|
LocalizeController
|
|
15
|
-
} from "./chunk.
|
|
19
|
+
} from "./chunk.34HS7ICN.js";
|
|
16
20
|
import {
|
|
17
21
|
watch
|
|
18
22
|
} from "./chunk.QB2NJE2Y.js";
|
|
@@ -31,6 +35,20 @@ var DSATableContainer = class extends LoadingStateElement {
|
|
|
31
35
|
this.localize = new LocalizeController(this);
|
|
32
36
|
this.showTableActions = false;
|
|
33
37
|
}
|
|
38
|
+
getActionBarAndToolbar() {
|
|
39
|
+
return {
|
|
40
|
+
actionBar: this.querySelector("dsa-table-action"),
|
|
41
|
+
toolbar: this.querySelector("dsa-table-toolbar")
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
getLoadingTargets() {
|
|
45
|
+
return [
|
|
46
|
+
this.querySelector("dsa-table-caption"),
|
|
47
|
+
this.querySelector("dsa-table-head"),
|
|
48
|
+
this.querySelector("dsa-table-body"),
|
|
49
|
+
this.querySelector("dsa-pagination")
|
|
50
|
+
];
|
|
51
|
+
}
|
|
34
52
|
connectedCallback() {
|
|
35
53
|
super.connectedCallback();
|
|
36
54
|
this.handleTableSelection = this.handleTableSelection.bind(this);
|
|
@@ -70,10 +88,20 @@ var DSATableContainer = class extends LoadingStateElement {
|
|
|
70
88
|
const tableRows = [
|
|
71
89
|
...this.querySelectorAll("dsa-table-row")
|
|
72
90
|
];
|
|
73
|
-
tableRows.forEach((row) =>
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
91
|
+
tableRows.forEach((row) => {
|
|
92
|
+
if (row.selected) {
|
|
93
|
+
row.selected = false;
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
if (headerRow.checkbox.checked) {
|
|
97
|
+
headerRow.checkbox.checked = false;
|
|
98
|
+
}
|
|
99
|
+
if (headerRow.checkbox.indeterminate) {
|
|
100
|
+
headerRow.checkbox.indeterminate = false;
|
|
101
|
+
}
|
|
102
|
+
if (headerRow.selected) {
|
|
103
|
+
headerRow.selected = false;
|
|
104
|
+
}
|
|
77
105
|
}
|
|
78
106
|
}
|
|
79
107
|
handleTableSelection(event) {
|
|
@@ -91,53 +119,54 @@ var DSATableContainer = class extends LoadingStateElement {
|
|
|
91
119
|
if (!tableCaption || !tableElement || tableCaption.id || tableElement.getAttribute("aria-labelledby"))
|
|
92
120
|
return;
|
|
93
121
|
const randomId = Math.floor(Math.random() * 999999999).toString();
|
|
94
|
-
tableCaption
|
|
95
|
-
tableElement
|
|
122
|
+
setAttributeIfDifferent(tableCaption, "id", randomId);
|
|
123
|
+
setAttributeIfDifferent(tableElement, "aria-labelledby", randomId);
|
|
96
124
|
}
|
|
97
125
|
handleShowTableActions() {
|
|
98
|
-
const actionBar = this.
|
|
99
|
-
const toolbar = this.querySelector("dsa-table-toolbar");
|
|
126
|
+
const { actionBar, toolbar } = this.getActionBarAndToolbar();
|
|
100
127
|
if (actionBar !== null) {
|
|
101
128
|
if (this.showTableActions) {
|
|
102
|
-
actionBar
|
|
129
|
+
setAttributeIfDifferent(actionBar, "show", "true");
|
|
103
130
|
} else {
|
|
104
|
-
actionBar
|
|
131
|
+
removeAttributeIfPresent(actionBar, "show");
|
|
105
132
|
}
|
|
106
133
|
}
|
|
107
134
|
if (toolbar !== null) {
|
|
108
135
|
if (this.showTableActions) {
|
|
109
|
-
toolbar
|
|
110
|
-
toolbar
|
|
136
|
+
setAttributeIfDifferent(toolbar, "tabindex", "-1");
|
|
137
|
+
setAttributeIfDifferent(toolbar, "aria-hidden", "true");
|
|
111
138
|
} else {
|
|
112
|
-
toolbar
|
|
113
|
-
toolbar
|
|
139
|
+
removeAttributeIfPresent(toolbar, "tabindex");
|
|
140
|
+
removeAttributeIfPresent(toolbar, "aria-hidden");
|
|
114
141
|
}
|
|
115
142
|
}
|
|
116
143
|
}
|
|
117
144
|
handleLoading() {
|
|
118
|
-
const
|
|
119
|
-
const head = this.querySelector("dsa-table-head");
|
|
120
|
-
const body = this.querySelector("dsa-table-body");
|
|
121
|
-
const pagination = this.querySelector("dsa-pagination");
|
|
122
|
-
const childrenElements = [caption, head, body, pagination];
|
|
145
|
+
const childrenElements = this.getLoadingTargets();
|
|
123
146
|
if (this.loading) {
|
|
124
147
|
childrenElements.forEach((element) => {
|
|
125
|
-
|
|
148
|
+
if (element) {
|
|
149
|
+
setAttributeIfDifferent(element, "loading", "true");
|
|
150
|
+
}
|
|
126
151
|
});
|
|
127
152
|
} else {
|
|
128
153
|
childrenElements.forEach((element) => {
|
|
129
|
-
|
|
154
|
+
if (element) {
|
|
155
|
+
removeAttributeIfPresent(element, "loading");
|
|
156
|
+
}
|
|
130
157
|
});
|
|
131
158
|
}
|
|
132
159
|
}
|
|
133
160
|
handleSkeletonEffectChange() {
|
|
134
|
-
const
|
|
135
|
-
const head = this.querySelector("dsa-table-head");
|
|
136
|
-
const body = this.querySelector("dsa-table-body");
|
|
137
|
-
const pagination = this.querySelector("dsa-pagination");
|
|
138
|
-
const childrenElements = [caption, head, body, pagination];
|
|
161
|
+
const childrenElements = this.getLoadingTargets();
|
|
139
162
|
childrenElements.forEach((element) => {
|
|
140
|
-
|
|
163
|
+
if (element) {
|
|
164
|
+
setAttributeIfDifferent(
|
|
165
|
+
element,
|
|
166
|
+
"skeleton-effect",
|
|
167
|
+
this.skeletonEffect
|
|
168
|
+
);
|
|
169
|
+
}
|
|
141
170
|
});
|
|
142
171
|
}
|
|
143
172
|
render() {
|
|
@@ -147,26 +176,29 @@ var DSATableContainer = class extends LoadingStateElement {
|
|
|
147
176
|
return html`
|
|
148
177
|
<slot
|
|
149
178
|
part="caption"
|
|
179
|
+
class="slot-caption"
|
|
150
180
|
name="caption"
|
|
151
181
|
@slotchange=${this.handleCaptionSlotChange}
|
|
152
182
|
></slot>
|
|
153
|
-
<slot part="export" name="export"></slot>
|
|
183
|
+
<slot class="slot-export" part="export" name="export"></slot>
|
|
154
184
|
<div
|
|
155
185
|
part="bar-container"
|
|
156
186
|
class=${classMap({
|
|
187
|
+
"bar-container": true,
|
|
157
188
|
"bar-container--has-toolbar": hasToolbar,
|
|
158
189
|
"bar-container--has-action": hasAction
|
|
159
190
|
})}
|
|
160
191
|
>
|
|
161
|
-
<slot part="toolbar" name="toolbar"></slot>
|
|
162
|
-
<slot part="action" name="action"></slot>
|
|
192
|
+
<slot class="slot-toolbar" part="toolbar" name="toolbar"></slot>
|
|
193
|
+
<slot class="slot-action" part="action" name="action"></slot>
|
|
163
194
|
</div>
|
|
164
195
|
<slot
|
|
196
|
+
class="slot-table"
|
|
165
197
|
part="table"
|
|
166
198
|
name="table"
|
|
167
199
|
@slotchange=${this.handleTableSlotChange}
|
|
168
200
|
></slot>
|
|
169
|
-
<slot part="pagination" name="pagination"></slot>
|
|
201
|
+
<slot class="slot-pagination" part="pagination" name="pagination"></slot>
|
|
170
202
|
<dsa-visually-hidden aria-live="polite" aria-atomic="true">
|
|
171
203
|
${this.showTableActions ? html`<span
|
|
172
204
|
>${(_a = this.actionsAnnouncement) != null ? _a : this.localize.term("showTableActionsAnnouncement")}</span
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import {
|
|
2
|
+
table_row_base_styles_default
|
|
3
|
+
} from "./chunk.ZHPIA4F4.js";
|
|
4
|
+
|
|
5
|
+
// src/components/table-header-row/table-header-row.styles.ts
|
|
6
|
+
import { css } from "lit";
|
|
7
|
+
var table_header_row_styles_default = css`
|
|
8
|
+
${table_row_base_styles_default}
|
|
9
|
+
|
|
10
|
+
:host {
|
|
11
|
+
font: var(--dsa-wc-table-header-row-font);
|
|
12
|
+
background: var(--dsa-wc-table-header-row-background);
|
|
13
|
+
color: var(--dsa-wc-table-header-row-color);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:host(:not([loading])) .column-checkbox:hover {
|
|
17
|
+
background: var(--dsa-wc-table-header-cell-background-hover);
|
|
18
|
+
}
|
|
19
|
+
`;
|
|
20
|
+
|
|
21
|
+
export {
|
|
22
|
+
table_header_row_styles_default
|
|
23
|
+
};
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
step_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.YF2V46J3.js";
|
|
4
4
|
import {
|
|
5
5
|
getStepIcon
|
|
6
6
|
} from "./chunk.CCTWXABH.js";
|
|
7
|
+
import {
|
|
8
|
+
setAttributeIfDifferent
|
|
9
|
+
} from "./chunk.PSYTLBRK.js";
|
|
7
10
|
import {
|
|
8
11
|
DSAVisuallyHidden
|
|
9
12
|
} from "./chunk.JIN6PGAK.js";
|
|
@@ -15,7 +18,7 @@ import {
|
|
|
15
18
|
} from "./chunk.PWL7QCVG.js";
|
|
16
19
|
import {
|
|
17
20
|
LocalizeController
|
|
18
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.34HS7ICN.js";
|
|
19
22
|
import {
|
|
20
23
|
DSAIcon
|
|
21
24
|
} from "./chunk.CKJJ4MSU.js";
|
|
@@ -61,7 +64,7 @@ var DSAStep = class extends ShoelaceElement {
|
|
|
61
64
|
this.button.blur();
|
|
62
65
|
}
|
|
63
66
|
connectedCallback() {
|
|
64
|
-
this
|
|
67
|
+
setAttributeIfDifferent(this, "role", "listitem");
|
|
65
68
|
super.connectedCallback();
|
|
66
69
|
}
|
|
67
70
|
getTag() {
|
|
@@ -88,6 +91,7 @@ var DSAStep = class extends ShoelaceElement {
|
|
|
88
91
|
render() {
|
|
89
92
|
const hasTitleSlot = this.hasSlotController.test("title");
|
|
90
93
|
const hasContentSlot = this.hasSlotController.test("content");
|
|
94
|
+
const hasTooltipSlot = this.hasSlotController.test("tooltip");
|
|
91
95
|
const hasTitle = this.stepTitle ? true : !!hasTitleSlot;
|
|
92
96
|
const hasContent = this.content ? true : !!hasContentSlot;
|
|
93
97
|
const isStaticStep = !this.clickable;
|
|
@@ -185,7 +189,7 @@ var DSAStep = class extends ShoelaceElement {
|
|
|
185
189
|
>${this.stepTitle}</slot
|
|
186
190
|
>
|
|
187
191
|
</${tag}>
|
|
188
|
-
${
|
|
192
|
+
${hasTooltipSlot ? html` <slot name="tooltip" class="step-tooltip"></slot> ` : ""}
|
|
189
193
|
</div>
|
|
190
194
|
<slot name="content" class="step-content">${this.content}</slot>
|
|
191
195
|
</div>
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FormSelectableCard
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.XMBQRPGX.js";
|
|
4
|
+
import {
|
|
5
|
+
removeAttributeIfPresent,
|
|
6
|
+
setAttributeIfDifferent
|
|
7
|
+
} from "./chunk.PSYTLBRK.js";
|
|
4
8
|
import {
|
|
5
9
|
watch
|
|
6
10
|
} from "./chunk.QB2NJE2Y.js";
|
|
@@ -18,17 +22,20 @@ var DSACheckboxCard = class extends FormSelectableCard {
|
|
|
18
22
|
connectedCallback() {
|
|
19
23
|
super.connectedCallback();
|
|
20
24
|
if (!this.hasAttribute("role")) {
|
|
21
|
-
this
|
|
25
|
+
setAttributeIfDifferent(this, "role", "listitem");
|
|
22
26
|
}
|
|
23
27
|
}
|
|
24
28
|
handleClick() {
|
|
29
|
+
if (this.readonly || this.disabled || this.parentDisabled || this.parentReadonly) {
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
25
32
|
this.checked = !this.checked;
|
|
26
33
|
}
|
|
27
34
|
handleErrorChange() {
|
|
28
35
|
if (this.error) {
|
|
29
|
-
this.button
|
|
36
|
+
setAttributeIfDifferent(this.button, "aria-invalid", "true");
|
|
30
37
|
} else {
|
|
31
|
-
this.button
|
|
38
|
+
removeAttributeIfPresent(this.button, "aria-invalid");
|
|
32
39
|
}
|
|
33
40
|
}
|
|
34
41
|
};
|
|
@@ -77,16 +77,6 @@ var tab_group_styles_default = css`
|
|
|
77
77
|
right: 0;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
.tab-group--rtl .tab-group__scroll-button--start {
|
|
81
|
-
left: auto;
|
|
82
|
-
right: 0;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.tab-group--rtl .tab-group__scroll-button--end {
|
|
86
|
-
left: 0;
|
|
87
|
-
right: auto;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
80
|
/*
|
|
91
81
|
* Top
|
|
92
82
|
*/
|
|
@@ -210,11 +200,6 @@ var tab_group_styles_default = css`
|
|
|
210
200
|
var(--dsa-wc-tab-group-indicator-color);
|
|
211
201
|
}
|
|
212
202
|
|
|
213
|
-
.tab-group--start.tab-group--rtl .tab-group__indicator {
|
|
214
|
-
right: auto;
|
|
215
|
-
left: calc(-1 * var(--dsa-wc-tab-group-track-width));
|
|
216
|
-
}
|
|
217
|
-
|
|
218
203
|
.tab-group--start .tab-group__body {
|
|
219
204
|
flex: 1 1 auto;
|
|
220
205
|
order: 2;
|
|
@@ -251,11 +236,6 @@ var tab_group_styles_default = css`
|
|
|
251
236
|
var(--dsa-wc-tab-group-indicator-color);
|
|
252
237
|
}
|
|
253
238
|
|
|
254
|
-
.tab-group--end.tab-group--rtl .tab-group__indicator {
|
|
255
|
-
right: calc(-1 * var(--dsa-wc-tab-group-track-width));
|
|
256
|
-
left: auto;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
239
|
.tab-group--end .tab-group__body {
|
|
260
240
|
flex: 1 1 auto;
|
|
261
241
|
order: 1;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
table_action_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.YS4HYV3F.js";
|
|
4
4
|
import {
|
|
5
5
|
DSADivider
|
|
6
6
|
} from "./chunk.QGI766JC.js";
|
|
7
7
|
import {
|
|
8
8
|
DSAButton
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.SXFVCR7O.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalizeController
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.34HS7ICN.js";
|
|
13
13
|
import {
|
|
14
14
|
DSAIcon
|
|
15
15
|
} from "./chunk.CKJJ4MSU.js";
|
|
@@ -36,8 +36,8 @@ var DSATableAction = class extends ShoelaceElement {
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
return html`
|
|
39
|
-
<slot
|
|
40
|
-
<slot
|
|
39
|
+
<slot class="label" name="label"></slot>
|
|
40
|
+
<slot class="action"></slot>
|
|
41
41
|
<dsa-divider vertical></dsa-divider>
|
|
42
42
|
<dsa-button
|
|
43
43
|
id="closeButton"
|
|
@@ -193,13 +193,13 @@ var select_styles_default = css`
|
|
|
193
193
|
color: var(--dsa-wc-input-on-base-text-field-input-color);
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
.select--
|
|
196
|
+
.select--on-base.select--error:not(.select--disabled):not(.select--readonly)
|
|
197
197
|
.select__combobox {
|
|
198
198
|
background-color: var(--dsa-wc-input-on-base-background-color-error);
|
|
199
199
|
border-color: var(--dsa-wc-input-on-base-border-color-error);
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
-
.select--
|
|
202
|
+
.select--on-base.select--error:hover:not(.select--disabled):not(
|
|
203
203
|
.select--readonly
|
|
204
204
|
)
|
|
205
205
|
.select__combobox {
|
|
@@ -250,12 +250,12 @@ var select_styles_default = css`
|
|
|
250
250
|
color: var(--dsa-wc-input-on-layer-text-field-input-color);
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
-
.select--
|
|
253
|
+
.select--on-layer.select--error:not(.select--disabled) .select__combobox {
|
|
254
254
|
background-color: var(--dsa-wc-input-on-layer-background-color-error);
|
|
255
255
|
border-color: var(--dsa-wc-input-on-layer-border-color-error);
|
|
256
256
|
}
|
|
257
257
|
|
|
258
|
-
.select--
|
|
258
|
+
.select--on-layer.select--error:hover:not(.select--disabled)
|
|
259
259
|
.select__combobox {
|
|
260
260
|
border-color: var(--dsa-wc-input-on-layer-border-color-error-hover);
|
|
261
261
|
}
|
|
@@ -328,8 +328,8 @@ var select_styles_default = css`
|
|
|
328
328
|
font-size: var(--dsa-wc-select-icon-size);
|
|
329
329
|
}
|
|
330
330
|
|
|
331
|
-
:not(.select--disabled) .select__clear:hover,
|
|
332
|
-
:not(.select--disabled) .select__expand-icon:hover {
|
|
331
|
+
.select:not(.select--disabled) .select__clear:hover,
|
|
332
|
+
.select:not(.select--disabled) .select__expand-icon:hover {
|
|
333
333
|
color: var(--dsa-wc-input-icon-color-hover);
|
|
334
334
|
}
|
|
335
335
|
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
setAttributeIfDifferent
|
|
3
|
+
} from "./chunk.PSYTLBRK.js";
|
|
1
4
|
import {
|
|
2
5
|
DSADivider
|
|
3
6
|
} from "./chunk.QGI766JC.js";
|
|
@@ -39,7 +42,7 @@ var DSAHeaderExternalLink = class extends ShoelaceElement {
|
|
|
39
42
|
connectedCallback() {
|
|
40
43
|
super.connectedCallback();
|
|
41
44
|
if (!this.hasAttribute("role")) {
|
|
42
|
-
this
|
|
45
|
+
setAttributeIfDifferent(this, "role", "listitem");
|
|
43
46
|
}
|
|
44
47
|
}
|
|
45
48
|
render() {
|
|
@@ -71,10 +71,6 @@ var tree_item_styles_default = css`
|
|
|
71
71
|
rotate: 90deg;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
.tree-item--expanded.tree-item--rtl .tree-item__expand-button {
|
|
75
|
-
rotate: -90deg;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
74
|
.tree-item--expanded .tree-item__expand-icon,
|
|
79
75
|
.tree-item:not(.tree-item--expanded) .tree-item__collapse-icon {
|
|
80
76
|
display: none;
|
|
@@ -93,6 +89,7 @@ var tree_item_styles_default = css`
|
|
|
93
89
|
display: flex;
|
|
94
90
|
align-items: center;
|
|
95
91
|
border-inline-start: solid 3px transparent;
|
|
92
|
+
overflow-y: hidden;
|
|
96
93
|
}
|
|
97
94
|
|
|
98
95
|
.tree-item--disabled .tree-item__item {
|
|
@@ -151,11 +148,6 @@ var tree_item_styles_default = css`
|
|
|
151
148
|
z-index: 1;
|
|
152
149
|
}
|
|
153
150
|
|
|
154
|
-
.tree-item--rtl .tree-item__children::before {
|
|
155
|
-
left: auto;
|
|
156
|
-
right: 1em;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
151
|
@media (forced-colors: active) {
|
|
160
152
|
:host(:not([aria-disabled='true'])) .tree-item--selected .tree-item__item {
|
|
161
153
|
outline: dashed 1px SelectedItem;
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FormToggleButton
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.4535HZ7L.js";
|
|
4
4
|
import {
|
|
5
5
|
DSACheckboxGroup
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.SGPAUD26.js";
|
|
7
|
+
import {
|
|
8
|
+
removeAttributeIfPresent,
|
|
9
|
+
setAttributeIfDifferent
|
|
10
|
+
} from "./chunk.PSYTLBRK.js";
|
|
7
11
|
import {
|
|
8
12
|
watch
|
|
9
13
|
} from "./chunk.QB2NJE2Y.js";
|
|
@@ -22,7 +26,7 @@ var DSACheckboxButton = class extends FormToggleButton {
|
|
|
22
26
|
super.connectedCallback();
|
|
23
27
|
const parent = this.parentElement;
|
|
24
28
|
if (!this.hasAttribute("role") && parent instanceof DSACheckboxGroup) {
|
|
25
|
-
this
|
|
29
|
+
setAttributeIfDifferent(this, "role", "listitem");
|
|
26
30
|
}
|
|
27
31
|
}
|
|
28
32
|
handleClick() {
|
|
@@ -33,9 +37,9 @@ var DSACheckboxButton = class extends FormToggleButton {
|
|
|
33
37
|
}
|
|
34
38
|
handleErrorChange() {
|
|
35
39
|
if (this.error) {
|
|
36
|
-
this.button
|
|
40
|
+
setAttributeIfDifferent(this.button, "aria-invalid", "true");
|
|
37
41
|
} else {
|
|
38
|
-
this.button
|
|
42
|
+
removeAttributeIfPresent(this.button, "aria-invalid");
|
|
39
43
|
}
|
|
40
44
|
}
|
|
41
45
|
};
|
|
@@ -14,7 +14,7 @@ var table_toolbar_styles_default = css`
|
|
|
14
14
|
padding-inline: var(--dsa-spacing-12);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
.slot-filters {
|
|
18
18
|
display: flex;
|
|
19
19
|
flex-flow: row wrap;
|
|
20
20
|
gap: var(--dsa-spacing-16);
|
|
@@ -28,7 +28,7 @@ var table_toolbar_styles_default = css`
|
|
|
28
28
|
justify-content: flex-end;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
.slot-search {
|
|
32
32
|
display: flex;
|
|
33
33
|
flex-direction: row;
|
|
34
34
|
}
|
|
@@ -5,12 +5,16 @@ import {
|
|
|
5
5
|
cnsaLogoNoSubtextSvg,
|
|
6
6
|
spaLogoSvg
|
|
7
7
|
} from "./chunk.7TLERCGA.js";
|
|
8
|
+
import {
|
|
9
|
+
removeAttributeIfPresent,
|
|
10
|
+
setAttributeIfDifferent
|
|
11
|
+
} from "./chunk.PSYTLBRK.js";
|
|
8
12
|
import {
|
|
9
13
|
HasSlotController
|
|
10
14
|
} from "./chunk.YIY5RM53.js";
|
|
11
15
|
import {
|
|
12
16
|
LocalizeController
|
|
13
|
-
} from "./chunk.
|
|
17
|
+
} from "./chunk.34HS7ICN.js";
|
|
14
18
|
import {
|
|
15
19
|
watch
|
|
16
20
|
} from "./chunk.QB2NJE2Y.js";
|
|
@@ -65,26 +69,32 @@ var DSAHeaderModern = class extends ShoelaceElement {
|
|
|
65
69
|
}
|
|
66
70
|
return cnsaLogoNoSubtextSvg(this.localize.term("cnsa"));
|
|
67
71
|
}
|
|
72
|
+
getHeaderSearch() {
|
|
73
|
+
if (!this.hasSlotController.test("search")) {
|
|
74
|
+
return null;
|
|
75
|
+
}
|
|
76
|
+
return this.querySelector("dsa-header-search");
|
|
77
|
+
}
|
|
68
78
|
handleSearchExpanded() {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
79
|
+
const search = this.getHeaderSearch();
|
|
80
|
+
if (!search) {
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
if (this.searchExpanded) {
|
|
84
|
+
setAttributeIfDifferent(search, "expanded", "true");
|
|
85
|
+
} else {
|
|
86
|
+
removeAttributeIfPresent(search, "expanded");
|
|
77
87
|
}
|
|
78
88
|
}
|
|
79
89
|
handleMobile() {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
90
|
+
const search = this.getHeaderSearch();
|
|
91
|
+
if (!search) {
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
if (this.mobile) {
|
|
95
|
+
setAttributeIfDifferent(search, "mobile", "true");
|
|
96
|
+
} else {
|
|
97
|
+
removeAttributeIfPresent(search, "mobile");
|
|
88
98
|
}
|
|
89
99
|
}
|
|
90
100
|
render() {
|
|
@@ -4,6 +4,10 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
DSAInternalCheckboxBox
|
|
6
6
|
} from "./chunk.WJFVQRWU.js";
|
|
7
|
+
import {
|
|
8
|
+
removeAttributeIfPresent,
|
|
9
|
+
setAttributeIfDifferent
|
|
10
|
+
} from "./chunk.PSYTLBRK.js";
|
|
7
11
|
import {
|
|
8
12
|
HasSlotController
|
|
9
13
|
} from "./chunk.YIY5RM53.js";
|
|
@@ -142,17 +146,17 @@ var form_selectable_card_styles_default = css`
|
|
|
142
146
|
pointer-events: none;
|
|
143
147
|
}
|
|
144
148
|
|
|
145
|
-
.selectable-card
|
|
149
|
+
.selectable-card--readonly {
|
|
146
150
|
background-color: var(--dsa-wc-selectable-card-read-only-background-color);
|
|
147
151
|
border-color: var(--dsa-wc-selectable-card-read-only-border-color);
|
|
148
152
|
}
|
|
149
153
|
|
|
150
|
-
.selectable-card
|
|
154
|
+
.selectable-card--disabled {
|
|
151
155
|
background-color: var(--dsa-wc-selectable-card-disabled-background-color);
|
|
152
156
|
border-color: var(--dsa-wc-selectable-card-disabled-border-color);
|
|
153
157
|
}
|
|
154
|
-
.selectable-card
|
|
155
|
-
.selectable-card
|
|
158
|
+
.selectable-card--disabled .selectable-card__label,
|
|
159
|
+
.selectable-card--disabled .selectable-card__description {
|
|
156
160
|
color: var(--dsa-wc-selectable-card-disabled-color);
|
|
157
161
|
}
|
|
158
162
|
|
|
@@ -199,9 +203,9 @@ var FormSelectableCard = class extends ShoelaceElement {
|
|
|
199
203
|
}
|
|
200
204
|
handleDisabledChange() {
|
|
201
205
|
if (this.readonly || this.parentReadonly) {
|
|
202
|
-
this.button
|
|
206
|
+
setAttributeIfDifferent(this.button, "aria-disabled", "true");
|
|
203
207
|
} else {
|
|
204
|
-
this.button
|
|
208
|
+
removeAttributeIfPresent(this.button, "aria-disabled");
|
|
205
209
|
}
|
|
206
210
|
}
|
|
207
211
|
/** Sets focus on the radio button. */
|