@ds-autonomie/web-components 2.16.0 → 2.17.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 +17 -0
- package/README.md +30 -1
- package/bin/cli.js +324 -0
- package/cdn/chunks/{chunk.U57FV4DW.js → chunk.23NGYECZ.js} +1 -1
- package/cdn/chunks/{chunk.VYPTKC72.js → chunk.2DV64XU7.js} +1 -1
- package/cdn/chunks/{chunk.2GNTWYWW.js → chunk.2LF6OMUV.js} +4 -4
- package/cdn/chunks/{chunk.SCQFF6RL.js → chunk.2MLSQPMY.js} +1 -1
- package/cdn/chunks/{chunk.NLVJBP2P.js → chunk.2MY5TX6M.js} +1 -1
- package/cdn/chunks/{chunk.C7LXZROF.js → chunk.2QOKOUSD.js} +1 -1
- package/cdn/chunks/{chunk.PS32MK6F.js → chunk.2RZZILUX.js} +1 -1
- package/cdn/chunks/{chunk.AW3ER72P.js → chunk.3G5TZAEL.js} +1 -1
- package/cdn/chunks/{chunk.6VDERLDX.js → chunk.3HXQ2XPS.js} +1 -1
- package/cdn/chunks/{chunk.EUEYMWEY.js → chunk.3QGRYFX6.js} +2 -2
- package/cdn/chunks/{chunk.2UFBLWVL.js → chunk.43ZUOVN3.js} +1 -1
- package/cdn/chunks/{chunk.GFEAALOQ.js → chunk.465G6RHI.js} +1 -1
- package/cdn/chunks/{chunk.DDVB3ULY.js → chunk.4E7MNGOV.js} +1 -1
- package/cdn/chunks/{chunk.3YGVCBEP.js → chunk.4HSGYXFW.js} +1 -1
- package/cdn/chunks/{chunk.S67Z4LWB.js → chunk.4RIUPE2O.js} +1 -1
- package/cdn/chunks/{chunk.ORT3DEGC.js → chunk.6GAHBGOF.js} +1 -1
- package/cdn/chunks/{chunk.ILH5GUUR.js → chunk.6GC5ODVL.js} +7 -2
- package/cdn/chunks/{chunk.2HT24T5L.js → chunk.6TFK3HZG.js} +1 -1
- package/cdn/chunks/chunk.7Y7CQMR6.js +3 -0
- package/cdn/chunks/{chunk.A5JIGFHI.js → chunk.A45JZ63N.js} +1 -1
- package/cdn/chunks/{chunk.JFRJEP7B.js → chunk.A5DTG2XB.js} +1 -1
- package/cdn/chunks/{chunk.O6PQS44E.js → chunk.ABNF7OWB.js} +1 -1
- package/cdn/chunks/{chunk.I5O5OEF6.js → chunk.AKVKEBPE.js} +1 -1
- package/cdn/chunks/{chunk.ODWKPVI7.js → chunk.AU7QYOWT.js} +1 -1
- package/cdn/chunks/{chunk.Y36RVC3B.js → chunk.CBNY3KDR.js} +1 -1
- package/cdn/chunks/{chunk.IHX7OGQS.js → chunk.CJZS4FSB.js} +1 -1
- package/cdn/chunks/{chunk.YY3VAR25.js → chunk.D3BOAL4N.js} +1 -1
- package/cdn/chunks/{chunk.XAIDESV3.js → chunk.D5S2YDML.js} +1 -1
- package/cdn/chunks/{chunk.KA7GX6E6.js → chunk.DYSLQ6GC.js} +1 -1
- package/cdn/chunks/{chunk.GGWPFQAG.js → chunk.EL4NZRIR.js} +1 -1
- package/cdn/chunks/{chunk.6SOEHTQ6.js → chunk.F3UE7567.js} +1 -1
- package/cdn/chunks/{chunk.P2JWRNFC.js → chunk.F5LRDLVV.js} +1 -1
- package/cdn/chunks/{chunk.Y2FECEGA.js → chunk.FEXCFMDC.js} +1 -1
- package/cdn/chunks/{chunk.2MKXX3AZ.js → chunk.FGDBYD7N.js} +1 -1
- package/cdn/chunks/{chunk.ZE7M7PYK.js → chunk.FHS54ZO7.js} +1 -1
- package/cdn/chunks/{chunk.BF3YX5F2.js → chunk.FYJYTPOV.js} +6 -2
- package/cdn/chunks/{chunk.IHSVGSNA.js → chunk.GGGLGLGP.js} +1 -1
- package/cdn/chunks/{chunk.YRFEXBVK.js → chunk.GHHMVWM2.js} +1 -1
- package/cdn/chunks/chunk.GM4KTNXL.js +1 -0
- package/cdn/chunks/chunk.GYURCDPD.js +50 -0
- package/cdn/chunks/{chunk.ARJARKS7.js → chunk.H5XLHNHE.js} +1 -1
- package/cdn/chunks/{chunk.SEHHEIJU.js → chunk.HCFW7RW4.js} +6 -3
- package/cdn/chunks/{chunk.IUEUKFXV.js → chunk.HCJCL2UD.js} +1 -1
- package/cdn/chunks/{chunk.W6JRTDUG.js → chunk.HO6LFH7Z.js} +1 -1
- package/cdn/chunks/{chunk.567TV3AI.js → chunk.I4LDWGHK.js} +1 -1
- package/cdn/chunks/{chunk.FHOLYDJH.js → chunk.IDWQZLCM.js} +1 -1
- package/cdn/chunks/{chunk.DMEVGY2I.js → chunk.II4JQ433.js} +1 -1
- package/cdn/chunks/{chunk.GODU5S6L.js → chunk.IJNUBDIJ.js} +1 -1
- package/cdn/chunks/{chunk.4GOIYNKA.js → chunk.IKPDLLWM.js} +1 -1
- package/cdn/chunks/chunk.ILCY7FNR.js +108 -0
- package/cdn/chunks/chunk.IYKXS5B3.js +66 -0
- package/cdn/chunks/{chunk.PZ34V53E.js → chunk.J5EBYKBM.js} +1 -1
- package/cdn/chunks/{chunk.PXRWDGEE.js → chunk.JO6IBXF3.js} +1 -1
- package/cdn/chunks/{chunk.WDSDDJUA.js → chunk.JPOWE7L2.js} +1 -1
- package/cdn/chunks/{chunk.OUYBHFGA.js → chunk.KC2NESXB.js} +1 -1
- package/cdn/chunks/chunk.KH2JVAEZ.js +3 -0
- package/cdn/chunks/{chunk.6YHPQNRD.js → chunk.KHGWE5IX.js} +4 -0
- package/cdn/chunks/{chunk.P6BU4NK5.js → chunk.L7SDBPGB.js} +1 -1
- package/cdn/chunks/{chunk.DJRRY37G.js → chunk.LA5W25UC.js} +1 -1
- package/cdn/chunks/{chunk.6P4B7FUU.js → chunk.LFI7CMVX.js} +1 -1
- package/cdn/chunks/{chunk.DO7GE2JH.js → chunk.LIC3WRPD.js} +5 -77
- package/cdn/chunks/{chunk.IGP2B2C4.js → chunk.LOZ2JZLU.js} +6 -6
- package/cdn/chunks/{chunk.UNNWNSLV.js → chunk.LSD5NIU2.js} +1 -1
- package/cdn/chunks/{chunk.L5NMGFQR.js → chunk.MK2QCBNO.js} +1 -1
- package/cdn/chunks/{chunk.A7X22WNS.js → chunk.MWGVWSH3.js} +1 -1
- package/cdn/chunks/{chunk.QE5LC4CR.js → chunk.N4VN25E6.js} +1 -1
- package/cdn/chunks/{chunk.QQLU3UB4.js → chunk.N7EFYGZ6.js} +17 -17
- package/cdn/chunks/{chunk.FWT4DITA.js → chunk.NE525Q3J.js} +4 -4
- package/cdn/chunks/{chunk.OFTBMGFJ.js → chunk.NEWNV55I.js} +1 -1
- package/cdn/chunks/{chunk.5HX5C6UJ.js → chunk.NIH3WB32.js} +1 -1
- package/cdn/chunks/{chunk.76VB4TUF.js → chunk.OTNGFYHL.js} +1 -1
- package/cdn/chunks/{chunk.HZ5SMNUA.js → chunk.OTTGEQF6.js} +1 -1
- package/cdn/chunks/{chunk.BXGC6IHW.js → chunk.PSXSWQCS.js} +1 -1
- package/cdn/chunks/{chunk.NTUGYGGF.js → chunk.PZ6VFJYI.js} +1 -1
- package/cdn/chunks/{chunk.EAGPDAIA.js → chunk.QLA42ORC.js} +3 -3
- package/cdn/chunks/{chunk.ZBQJJV4G.js → chunk.QNAPY67H.js} +1 -1
- package/cdn/chunks/{chunk.HS7JWPZY.js → chunk.QO3O2UNB.js} +2 -2
- package/cdn/chunks/{chunk.6MH6HU7Z.js → chunk.QQLTDM2A.js} +1 -1
- package/cdn/chunks/{chunk.KP77TFIK.js → chunk.QSJXNN7N.js} +1 -1
- package/cdn/chunks/{chunk.PSFO47C6.js → chunk.QVF2D4NC.js} +1 -1
- package/cdn/chunks/{chunk.AP4A32XE.js → chunk.RGBTVRRP.js} +1 -1
- package/cdn/chunks/{chunk.GQY4KTZW.js → chunk.RUVWVGYN.js} +2 -2
- package/cdn/chunks/{chunk.CLVTQ7Z4.js → chunk.RVQUT7ZY.js} +1 -1
- package/cdn/chunks/{chunk.YUKNXF67.js → chunk.S5TQGB4V.js} +1 -1
- package/cdn/chunks/{chunk.WBYL64GM.js → chunk.S5XJPLVO.js} +1 -1
- package/cdn/chunks/{chunk.4WXQIRY5.js → chunk.SIT3GCR7.js} +1 -1
- package/cdn/chunks/{chunk.6GEQ7HC5.js → chunk.SLTCOGOD.js} +1 -1
- package/cdn/chunks/{chunk.76SO56MH.js → chunk.SN7BDOHN.js} +7 -3
- package/cdn/chunks/{chunk.F2MZMWYW.js → chunk.T5OLUN3T.js} +3 -3
- package/cdn/chunks/{chunk.CUB2L2VC.js → chunk.TS5WHKH6.js} +1 -1
- package/cdn/chunks/{chunk.Q2CL3LZL.js → chunk.U7X2EV5T.js} +6 -4
- package/cdn/chunks/{chunk.GR7Z5SEP.js → chunk.UAGWSEWC.js} +1 -1
- package/cdn/chunks/{chunk.SSKKBMOK.js → chunk.UEYALIC7.js} +1 -1
- package/cdn/chunks/{chunk.BZAPXRW2.js → chunk.ULWBK7T7.js} +1 -1
- package/cdn/chunks/{chunk.2PKKSM74.js → chunk.UWBADC7U.js} +1 -1
- package/cdn/chunks/{chunk.5JVG47EU.js → chunk.VE5CSYN4.js} +1 -1
- package/cdn/chunks/{chunk.TZRJVOUT.js → chunk.VMFX2PWY.js} +4 -7
- package/cdn/chunks/{chunk.VBIYQ77B.js → chunk.VO4NFG2W.js} +1 -1
- package/cdn/chunks/{chunk.NUGD6UUY.js → chunk.W25NCUPA.js} +1 -1
- package/cdn/chunks/{chunk.ARZOIBPV.js → chunk.W7AY6BP2.js} +1 -1
- package/cdn/chunks/{chunk.J65PQE2V.js → chunk.W7S553SV.js} +1 -1
- package/cdn/chunks/{chunk.OU7R32QE.js → chunk.WJLFKSRJ.js} +1 -1
- package/cdn/chunks/{chunk.MG447SMO.js → chunk.X2G2BFIN.js} +1 -1
- package/cdn/chunks/{chunk.DCJBLLVF.js → chunk.X4UXKXMO.js} +1 -1
- package/cdn/chunks/{chunk.GRSCMN3N.js → chunk.XUPT47LV.js} +0 -1
- package/cdn/chunks/{chunk.3T33HE3M.js → chunk.XZWROQBU.js} +1 -1
- package/cdn/chunks/{chunk.OJ4FBUS6.js → chunk.YRJIHG6T.js} +1 -1
- package/cdn/chunks/{chunk.MWJXUXK2.js → chunk.YRQ4GUXM.js} +1 -1
- package/cdn/chunks/{chunk.AGZH4MVB.js → chunk.YXR5X3ZH.js} +1 -1
- package/cdn/chunks/{chunk.JIVPHN7K.js → chunk.YZK4IVQW.js} +1 -1
- package/cdn/chunks/{chunk.X6RYYYER.js → chunk.ZFWCNYR2.js} +1 -1
- package/cdn/chunks/{chunk.IICXN6X7.js → chunk.ZKV4BJLY.js} +3 -3
- package/cdn/chunks/{chunk.CM6ZWC5E.js → chunk.ZPW2DSUP.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.d.ts +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.d.ts +0 -1
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/button/button.styles.js +1 -1
- package/cdn/components/calendar/calendar.js +1 -1
- package/cdn/components/calendar/calendar.styles.js +1 -1
- package/cdn/components/card-nav/card-nav.js +1 -1
- package/cdn/components/card-nav/card-nav.styles.js +1 -1
- package/cdn/components/card-nav-accordion/card-nav-accordion.js +1 -1
- package/cdn/components/card-nav-accordion/card-nav-accordion.styles.js +1 -1
- package/cdn/components/card-nav-item/card-nav-item.js +1 -1
- package/cdn/components/card-nav-item/card-nav-item.styles.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.d.ts +2 -0
- package/cdn/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn/components/checkbox-group/checkbox-group.styles.js +1 -1
- package/cdn/components/combobox/combobox.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/fieldset/fieldset.js +1 -1
- package/cdn/components/fieldset/fieldset.styles.js +1 -1
- package/cdn/components/file-upload/file-upload.d.ts +7 -3
- package/cdn/components/file-upload/file-upload.js +1 -1
- package/cdn/components/file-upload/file-upload.styles.js +1 -1
- package/cdn/components/file-upload-item/file-upload-item.js +1 -1
- package/cdn/components/file-upload-item/file-upload-item.styles.js +1 -1
- package/cdn/components/filter-button/filter-button.js +1 -1
- package/cdn/components/filter-counter/filter-counter.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.js +1 -1
- package/cdn/components/header-modern/header-modern.js +1 -1
- package/cdn/components/header-search/header-search.js +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/input-amount/input-amount.js +1 -1
- package/cdn/components/input-amount/input-amount.styles.js +1 -1
- package/cdn/components/input-date/input-date.js +1 -1
- package/cdn/components/input-date/input-date.styles.js +1 -1
- package/cdn/components/input-mask/input-mask.js +1 -1
- package/cdn/components/input-mask/input-mask.styles.js +1 -1
- package/cdn/components/input-native/input-native.js +1 -1
- package/cdn/components/input-native/input-native.styles.js +1 -1
- package/cdn/components/input-otp/input-otp.js +1 -1
- package/cdn/components/input-otp/input-otp.styles.js +1 -1
- package/cdn/components/input-phone/input-phone.js +1 -1
- package/cdn/components/input-phone/input-phone.styles.js +1 -1
- package/cdn/components/input-time/input-time.js +1 -1
- package/cdn/components/input-time/input-time.styles.js +1 -1
- package/cdn/components/menu-accordion/menu-accordion.js +1 -1
- package/cdn/components/menu-accordion/menu-accordion.styles.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/menu-navigation/menu-navigation.styles.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.js +1 -1
- package/cdn/components/pagination/pagination.js +1 -1
- package/cdn/components/pagination-button/pagination-button.js +1 -1
- package/cdn/components/pagination-button/pagination-button.styles.js +1 -1
- package/cdn/components/profile-button/profile-button.js +1 -1
- package/cdn/components/profile-button/profile-button.styles.js +1 -1
- package/cdn/components/progress-bar/progress-bar.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.d.ts +2 -0
- package/cdn/components/radio-group/radio-group.js +1 -1
- package/cdn/components/radio-group/radio-group.styles.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.js +1 -1
- package/cdn/components/select/select.styles.js +1 -1
- package/cdn/components/sidenav/sidenav.js +1 -1
- package/cdn/components/sidenav-info-accordion/sidenav-info-accordion.js +1 -1
- package/cdn/components/skip-links/skip-links.js +1 -1
- package/cdn/components/spinner/spinner.js +1 -1
- package/cdn/components/split-panel/split-panel.js +1 -1
- package/cdn/components/step/step.js +1 -1
- package/cdn/components/switch/switch.js +1 -1
- package/cdn/components/tab/tab.js +1 -1
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/table-action/table-action.js +1 -1
- package/cdn/components/table-action/table-action.styles.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.js +1 -1
- package/cdn/components/table-header-row/table-header-row.js +1 -1
- package/cdn/components/table-of-contents/table-of-contents.js +1 -1
- package/cdn/components/table-row/table-row.js +1 -1
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/components/textarea/textarea.styles.js +1 -1
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/components/tree/tree.js +1 -1
- package/cdn/components/tree-item/tree-item.js +1 -1
- package/cdn/custom-elements.json +151 -76
- package/cdn/design-system.d.ts +0 -1
- package/cdn/design-system.js +1 -40
- package/cdn/internal/components/form-selectable-card/form-selectable-card.d.ts +1 -0
- package/cdn/internal/components/form-selectable-card/form-selectable-card.js +3 -1
- package/cdn/internal/components/input-base/input-base.styles.js +6 -1
- package/cdn/styles/form-control.styles.js +4 -0
- package/cdn/templates/utilities/decorator.js +1 -1
- package/cdn/templates/utilities/header.js +2 -2
- package/cdn/themes/dsa-theme-tac.css +5 -5
- package/cdn/themes/dsa-theme-tac.min.css +1 -1
- package/cdn/themes/dsa-theme-tac.styles.js +5 -5
- package/cdn/themes/dsa-wc-theme.css +174 -152
- package/cdn/themes/dsa-wc-theme.min.css +1 -1
- package/cdn/themes/dsa-wc-theme.styles.js +172 -152
- package/cdn/translations/en-gb.js +1 -1
- package/cdn/translations/en.js +1 -1
- package/cdn/translations/fr.js +1 -1
- package/cdn/utilities/localize.d.ts +2 -0
- package/cdn/utilities/localize.js +1 -1
- package/cdn/utilities/storybook.js +1 -1
- package/cdn/vscode.html-custom-data.json +12 -11
- package/cdn/web-types.json +62 -32
- package/dist/chunks/{chunk.T4Q6QP47.js → chunk.2DYEXJNV.js} +4 -2
- package/dist/chunks/{chunk.3MXQLB4L.js → chunk.2K5QPKBA.js} +1 -1
- package/dist/chunks/{chunk.5LUZ76CA.js → chunk.2O3KAV2X.js} +2 -2
- package/dist/chunks/{chunk.YTT3RNXV.js → chunk.2SQ6UBOQ.js} +1 -1
- package/dist/chunks/{chunk.FXV7WH4N.js → chunk.2VY6ETYT.js} +1 -1
- package/dist/chunks/{chunk.KRGYVKGG.js → chunk.2VZ4MMR5.js} +3 -3
- package/dist/chunks/{chunk.NVCEVGBF.js → chunk.34BCRRRT.js} +1 -1
- package/dist/chunks/{chunk.ENFXOLGK.js → chunk.3RFVW3FP.js} +3 -3
- package/dist/chunks/{chunk.K4WJKETZ.js → chunk.3W6ROVW2.js} +1 -1
- package/dist/chunks/{chunk.I624JTPY.js → chunk.3WHBR6ML.js} +1 -1
- package/dist/chunks/{chunk.I7553C2G.js → chunk.4NZ25HB6.js} +1 -1
- package/dist/chunks/{chunk.ANLC37HJ.js → chunk.57DTA5ZP.js} +3 -3
- package/dist/chunks/{chunk.V3LDWXHK.js → chunk.5A6XLOZY.js} +2 -2
- package/dist/chunks/{chunk.KTSLND6I.js → chunk.6JFNUOJL.js} +2 -2
- package/dist/chunks/{chunk.TW7YE6SU.js → chunk.6K3AZQXP.js} +1 -1
- package/dist/chunks/{chunk.YCAQ7W4B.js → chunk.6LLDVH7Y.js} +1 -1
- package/dist/chunks/{chunk.BZQMTSEX.js → chunk.6NRREKDF.js} +1 -1
- package/dist/chunks/{chunk.NBBSSAAF.js → chunk.6WPKFGU3.js} +1 -1
- package/dist/chunks/{chunk.2MJ3TUEC.js → chunk.7S4HUOC7.js} +2 -2
- package/dist/chunks/{chunk.Y2XMBFRO.js → chunk.7WQZIM7N.js} +5 -5
- package/dist/chunks/{chunk.SIO6FXBK.js → chunk.A6WS4GML.js} +2 -2
- package/dist/chunks/{chunk.HZPQGJ6B.js → chunk.ABJLUGLR.js} +28 -13
- package/dist/chunks/{chunk.4Y4BDZCW.js → chunk.ACM36IFE.js} +1 -1
- package/dist/chunks/{chunk.UUZBFS35.js → chunk.AECIJYFZ.js} +3 -3
- package/dist/chunks/{chunk.QQTHVDGJ.js → chunk.AFSUKPIV.js} +2 -2
- package/dist/chunks/{chunk.NTHYV3TN.js → chunk.ANV74452.js} +3 -3
- package/dist/chunks/{chunk.NHF2XMDG.js → chunk.APWZSSG6.js} +1 -1
- package/dist/chunks/{chunk.Q2XLWXN3.js → chunk.BO3GUSFS.js} +2 -2
- package/dist/chunks/{chunk.RAUXZLKM.js → chunk.C6UENJ2Y.js} +1 -1
- package/dist/chunks/{chunk.J7TEQIPK.js → chunk.CABJDFOO.js} +3 -3
- package/dist/chunks/{chunk.XATWRKAV.js → chunk.CKEB7DWU.js} +4 -0
- package/dist/chunks/{chunk.AUI3QHQQ.js → chunk.DC6KKJOX.js} +1 -1
- package/dist/chunks/{chunk.2V4TQXY6.js → chunk.DMSUKPJE.js} +2 -2
- package/dist/chunks/{chunk.SJFSACRO.js → chunk.DT6Y5ZUB.js} +3 -3
- package/dist/chunks/{chunk.JDHNGWIH.js → chunk.EEO75M3R.js} +2 -5
- package/dist/chunks/{chunk.JZCLQ75K.js → chunk.EGJGLON7.js} +1 -1
- package/dist/chunks/{chunk.CY7SF7KT.js → chunk.EMPEBDHH.js} +1 -1
- package/dist/chunks/{chunk.MFNBPWAR.js → chunk.EWMFHVNW.js} +7 -2
- package/dist/chunks/{chunk.2UHD24QX.js → chunk.EXGB2DIR.js} +5 -5
- package/dist/chunks/{chunk.3BDFJNQD.js → chunk.EXHYWKQB.js} +1 -1
- package/dist/chunks/{chunk.BFTVJPB4.js → chunk.FB4KLQQL.js} +1 -1
- package/dist/chunks/{chunk.VK44P4XQ.js → chunk.FQZVV2TO.js} +1 -1
- package/dist/chunks/{chunk.GSIIWPNB.js → chunk.H4WJ64X5.js} +1 -1
- package/dist/chunks/{chunk.55MXUVNS.js → chunk.H7L4YNKB.js} +1 -1
- package/dist/chunks/{chunk.CEW6LABS.js → chunk.HBYJN6RA.js} +3 -3
- package/dist/chunks/{chunk.PFNWEDHI.js → chunk.HFTU6LUQ.js} +1 -1
- package/dist/chunks/{chunk.2GKYCE3E.js → chunk.HHVXZJUU.js} +19 -15
- package/dist/chunks/{chunk.XS7X5VMK.js → chunk.HPAWBSR5.js} +1 -1
- package/dist/chunks/{chunk.3WSB3BNE.js → chunk.I522XZAV.js} +1 -1
- package/dist/chunks/{chunk.5KTLM3MD.js → chunk.JIMAJLDU.js} +2 -2
- package/dist/chunks/{chunk.D72FHMFI.js → chunk.JUOYMIGK.js} +1 -1
- package/dist/chunks/{chunk.BIM3HNFI.js → chunk.KZFOOKD2.js} +3 -75
- package/dist/chunks/{chunk.LIESRIIK.js → chunk.LFCY7UUJ.js} +6 -3
- package/dist/chunks/{chunk.OEOSDW6K.js → chunk.LJ2VCS7Q.js} +1 -1
- package/dist/chunks/{chunk.F47D5JTA.js → chunk.LQAWGV5K.js} +1 -1
- package/dist/chunks/{chunk.ECETHATR.js → chunk.LZOGVU7B.js} +4 -4
- package/dist/chunks/{chunk.LE2O6AR5.js → chunk.M5X6QE4H.js} +1 -1
- package/dist/chunks/{chunk.6X467UIN.js → chunk.MFGYIAUT.js} +1 -1
- package/dist/chunks/{chunk.6FHEIU65.js → chunk.MGW4E3VW.js} +3 -3
- package/dist/chunks/{chunk.7EBWBPAS.js → chunk.MXDGKTTH.js} +3 -3
- package/dist/chunks/{chunk.PZACWPDY.js → chunk.N2SYQR7M.js} +1 -1
- package/dist/chunks/{chunk.Q7VBTFT2.js → chunk.NCN4I6KX.js} +2 -2
- package/dist/chunks/{chunk.2E6QIQHU.js → chunk.NMU6DWUH.js} +2 -2
- package/dist/chunks/{chunk.HKXHM6VA.js → chunk.O3SPGNIU.js} +2 -2
- package/dist/chunks/{chunk.CRAVJN6L.js → chunk.O65OOIT6.js} +1 -1
- package/dist/chunks/{chunk.JJF4QB3T.js → chunk.OAJEHJJO.js} +1 -1
- package/dist/chunks/{chunk.QTVVGVFN.js → chunk.OKTHM7J2.js} +2 -2
- package/dist/chunks/{chunk.Y52HRJXK.js → chunk.ORFYYGB2.js} +1 -1
- package/dist/chunks/{chunk.UXRWPABH.js → chunk.OW6RUTZA.js} +1 -1
- package/dist/chunks/{chunk.RNLOUIO3.js → chunk.P2KNRWE5.js} +1 -1
- package/dist/chunks/{chunk.F4SZABJP.js → chunk.PEWNJNAP.js} +1 -1
- package/dist/chunks/{chunk.TVLPPNG4.js → chunk.PGXKP7ME.js} +2 -2
- package/dist/chunks/{chunk.S2VPUQPO.js → chunk.QBVIZ55Q.js} +4 -4
- package/dist/chunks/{chunk.IQVRPRHR.js → chunk.QGSBICBZ.js} +1 -1
- package/dist/chunks/{chunk.6L6NPRUN.js → chunk.QOW4B54V.js} +3 -3
- package/dist/chunks/{chunk.FAFK3STZ.js → chunk.QS7BPH3Y.js} +1 -1
- package/dist/chunks/{chunk.TOOML6W3.js → chunk.QZC7F7NX.js} +69 -8
- package/dist/chunks/{chunk.3XTO3LV5.js → chunk.R3CYFIJA.js} +1 -1
- package/dist/chunks/{chunk.ERXIZLHH.js → chunk.RIJIUMG2.js} +1 -1
- package/dist/chunks/{chunk.RG2NQAX7.js → chunk.RU7L7OSM.js} +6 -6
- package/dist/chunks/{chunk.MSDVGZFG.js → chunk.S5FAXONJ.js} +1 -1
- package/dist/chunks/{chunk.O67DEHIL.js → chunk.SLXERY4H.js} +3 -3
- package/dist/chunks/{chunk.MJVWVA7K.js → chunk.SN5JW345.js} +1 -1
- package/dist/chunks/{chunk.VPOPSJUF.js → chunk.SOF3BQCV.js} +5 -1
- package/dist/chunks/{chunk.RE5LWX2D.js → chunk.SZDGGP2Y.js} +7 -3
- package/dist/chunks/{chunk.LYW7WENA.js → chunk.TION6YCJ.js} +2 -2
- package/dist/chunks/{chunk.VPSUIQHG.js → chunk.TNZEC73D.js} +1 -1
- package/dist/chunks/{chunk.5C436DB4.js → chunk.TP5XEQ2O.js} +1 -1
- package/dist/chunks/{chunk.QTPJ4QBU.js → chunk.TRVKPMDO.js} +2 -2
- package/dist/chunks/{chunk.72TUQY57.js → chunk.TW7OE55S.js} +1 -1
- package/dist/chunks/{chunk.UOLALNTU.js → chunk.TZZRAR42.js} +1 -1
- package/dist/chunks/{chunk.GNJTQL5Q.js → chunk.UHF3BDIM.js} +6 -2
- package/dist/chunks/{chunk.CXWEKXGR.js → chunk.UHSLPBTG.js} +1 -1
- package/dist/chunks/{chunk.U74UUL5R.js → chunk.UKH2D4DL.js} +18 -11
- package/dist/chunks/{chunk.PANCODOV.js → chunk.UNDVQ2N3.js} +5 -17
- package/dist/chunks/{chunk.SA4KYN77.js → chunk.V5GAH4HU.js} +3 -3
- package/dist/chunks/{chunk.55W7VWHS.js → chunk.VA2ASBUR.js} +4 -4
- package/dist/chunks/{chunk.F57NYQVS.js → chunk.VBUVNNMA.js} +4 -4
- package/dist/chunks/{chunk.JDVVXASM.js → chunk.VHSA53PH.js} +1 -1
- package/dist/chunks/{chunk.P6RAYH7K.js → chunk.VKBTTWXW.js} +1 -1
- package/dist/chunks/{chunk.M2YBQINH.js → chunk.WDPZ4NSH.js} +2 -2
- package/dist/chunks/{chunk.TYAQGRNJ.js → chunk.WHHYA5VY.js} +4 -0
- package/dist/chunks/{chunk.QGA7WIG4.js → chunk.WRFA56CD.js} +1 -1
- package/dist/chunks/{chunk.CNV2KEV4.js → chunk.X6SEIMM4.js} +2 -2
- package/dist/chunks/{chunk.VFHBJRGL.js → chunk.XGZ4IJ57.js} +2 -2
- package/dist/chunks/{chunk.WOZF7EML.js → chunk.XJCHW2GZ.js} +1 -1
- package/dist/chunks/{chunk.QO2BHDXY.js → chunk.XL3HVVDK.js} +1 -1
- package/dist/chunks/{chunk.Y42C4XSY.js → chunk.XZU6MLWO.js} +1 -1
- package/dist/chunks/{chunk.TDKJ4FY5.js → chunk.YC2VYNCD.js} +1 -1
- package/dist/chunks/{chunk.3JBCFU7B.js → chunk.Z4R36OG7.js} +0 -1
- package/dist/chunks/{chunk.3XEJ3UQS.js → chunk.ZBTNV3E7.js} +1 -1
- package/dist/chunks/{chunk.AICETKP7.js → chunk.ZJEACN47.js} +2 -2
- package/dist/chunks/{chunk.IG5ZIIQI.js → chunk.ZQ56PQ6F.js} +2 -2
- package/dist/components/accordion/accordion.js +3 -3
- package/dist/components/accordion-group/accordion-group.js +5 -6
- package/dist/components/alert/alert.d.ts +1 -1
- 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.d.ts +0 -1
- package/dist/components/button/button.js +4 -5
- package/dist/components/button/button.styles.js +1 -1
- package/dist/components/calendar/calendar.js +3 -3
- package/dist/components/calendar/calendar.styles.js +1 -1
- package/dist/components/card-nav/card-nav.js +2 -2
- package/dist/components/card-nav/card-nav.styles.js +1 -1
- package/dist/components/card-nav-accordion/card-nav-accordion.js +3 -3
- package/dist/components/card-nav-accordion/card-nav-accordion.styles.js +1 -1
- package/dist/components/card-nav-item/card-nav-item.js +2 -2
- package/dist/components/card-nav-item/card-nav-item.styles.js +1 -1
- package/dist/components/checkbox/checkbox.js +6 -6
- package/dist/components/checkbox/checkbox.styles.js +2 -2
- package/dist/components/checkbox-button/checkbox-button.js +7 -7
- package/dist/components/checkbox-card/checkbox-card.js +3 -2
- package/dist/components/checkbox-group/checkbox-group.d.ts +2 -0
- package/dist/components/checkbox-group/checkbox-group.js +4 -4
- package/dist/components/checkbox-group/checkbox-group.styles.js +2 -2
- package/dist/components/combobox/combobox.js +9 -9
- package/dist/components/combobox/combobox.styles.js +2 -2
- 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/fieldset/fieldset.js +2 -2
- package/dist/components/fieldset/fieldset.styles.js +1 -1
- package/dist/components/file-upload/file-upload.d.ts +7 -3
- package/dist/components/file-upload/file-upload.js +6 -6
- package/dist/components/file-upload/file-upload.styles.js +2 -2
- package/dist/components/file-upload-item/file-upload-item.js +2 -2
- package/dist/components/file-upload-item/file-upload-item.styles.js +1 -1
- package/dist/components/filter-button/filter-button.js +2 -2
- package/dist/components/filter-counter/filter-counter.js +22 -22
- package/dist/components/filter-date/filter-date.js +10 -11
- package/dist/components/filter-range/filter-range.js +22 -22
- package/dist/components/filter-select/filter-select.js +23 -23
- 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.js +2 -2
- package/dist/components/header-modern/header-modern.js +2 -2
- package/dist/components/header-search/header-search.js +8 -8
- package/dist/components/input/input.js +16 -16
- package/dist/components/input-amount/input-amount.js +6 -6
- package/dist/components/input-amount/input-amount.styles.js +3 -3
- package/dist/components/input-date/input-date.js +9 -9
- package/dist/components/input-date/input-date.styles.js +3 -3
- package/dist/components/input-mask/input-mask.js +6 -6
- package/dist/components/input-mask/input-mask.styles.js +3 -3
- package/dist/components/input-native/input-native.js +6 -6
- package/dist/components/input-native/input-native.styles.js +3 -3
- package/dist/components/input-otp/input-otp.js +4 -4
- package/dist/components/input-otp/input-otp.styles.js +2 -2
- package/dist/components/input-phone/input-phone.js +10 -10
- package/dist/components/input-phone/input-phone.styles.js +2 -2
- package/dist/components/input-time/input-time.js +6 -6
- package/dist/components/input-time/input-time.styles.js +3 -3
- package/dist/components/menu-accordion/menu-accordion.js +4 -4
- package/dist/components/menu-accordion/menu-accordion.styles.js +1 -1
- package/dist/components/menu-item/menu-item.js +3 -3
- package/dist/components/menu-navigation/menu-navigation.js +5 -5
- package/dist/components/menu-navigation/menu-navigation.styles.js +1 -1
- package/dist/components/navbar-link/navbar-link.js +5 -5
- package/dist/components/navbar-menu/navbar-menu.js +2 -2
- package/dist/components/option/option.js +2 -2
- package/dist/components/pagination/pagination.js +20 -20
- package/dist/components/pagination-button/pagination-button.js +3 -3
- package/dist/components/pagination-button/pagination-button.styles.js +2 -2
- package/dist/components/profile-button/profile-button.js +4 -4
- package/dist/components/profile-button/profile-button.styles.js +1 -1
- package/dist/components/progress-bar/progress-bar.js +2 -2
- package/dist/components/radio-button/radio-button.js +7 -7
- package/dist/components/radio-card/radio-card.js +6 -6
- package/dist/components/radio-group/radio-group.d.ts +2 -0
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/radio-group/radio-group.styles.js +2 -2
- 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.js +7 -7
- package/dist/components/select/select.styles.js +2 -2
- package/dist/components/sidenav/sidenav.js +3 -3
- package/dist/components/sidenav-info-accordion/sidenav-info-accordion.js +5 -5
- 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 +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.js +2 -2
- package/dist/components/tab-group/tab-group.js +2 -2
- package/dist/components/table-action/table-action.js +6 -7
- package/dist/components/table-action/table-action.styles.js +1 -1
- 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.js +2 -2
- package/dist/components/table-header-row/table-header-row.js +9 -9
- package/dist/components/table-of-contents/table-of-contents.js +2 -2
- package/dist/components/table-row/table-row.js +8 -8
- package/dist/components/tag/tag.js +3 -3
- package/dist/components/textarea/textarea.js +4 -4
- package/dist/components/textarea/textarea.styles.js +2 -2
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/components/tree/tree.js +10 -10
- package/dist/components/tree-item/tree-item.js +9 -9
- package/dist/custom-elements.json +151 -76
- package/dist/design-system.d.ts +0 -1
- package/dist/design-system.js +118 -272
- package/dist/internal/components/form-selectable-card/form-selectable-card.d.ts +1 -0
- package/dist/internal/components/form-selectable-card/form-selectable-card.js +3 -1
- package/dist/internal/components/input-base/input-base.styles.js +6 -1
- package/dist/styles/form-control.styles.js +4 -0
- package/dist/templates/utilities/decorator.js +1 -1
- package/dist/templates/utilities/header.js +2 -2
- package/dist/themes/dsa-theme-tac.css +5 -5
- package/dist/themes/dsa-theme-tac.min.css +1 -1
- package/dist/themes/dsa-theme-tac.styles.js +5 -5
- package/dist/themes/dsa-wc-theme.css +174 -152
- package/dist/themes/dsa-wc-theme.min.css +1 -1
- package/dist/themes/dsa-wc-theme.styles.js +172 -152
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/utilities/localize.d.ts +2 -0
- package/dist/utilities/localize.js +1 -1
- package/dist/utilities/storybook.js +2 -2
- package/dist/vscode.html-custom-data.json +12 -11
- package/dist/web-types.json +62 -32
- package/package.json +8 -3
- package/cdn/chunks/chunk.3SJY545H.js +0 -3
- package/cdn/chunks/chunk.55AOGZN7.js +0 -3
- package/cdn/chunks/chunk.5MEOAS43.js +0 -66
- package/cdn/chunks/chunk.6JIYQYLW.js +0 -1
- package/cdn/chunks/chunk.SKA3D63Q.js +0 -50
- package/cdn/chunks/chunk.XWUH44W4.js +0 -102
- package/cdn/internal/components/button-group/button-group.d.ts +0 -35
- package/cdn/internal/components/button-group/button-group.js +0 -119
- package/cdn/internal/components/button-group/button-group.styles.d.ts +0 -2
- package/cdn/internal/components/button-group/button-group.styles.js +0 -29
- package/dist/internal/components/button-group/button-group.d.ts +0 -35
- package/dist/internal/components/button-group/button-group.js +0 -119
- package/dist/internal/components/button-group/button-group.styles.d.ts +0 -2
- package/dist/internal/components/button-group/button-group.styles.js +0 -29
package/dist/translations/en.js
CHANGED
package/dist/translations/fr.js
CHANGED
|
@@ -44,6 +44,8 @@ export interface Translation extends DefaultTranslation {
|
|
|
44
44
|
fileSelect: (directory: boolean, multiple: boolean) => string;
|
|
45
45
|
fileDropHere: (multiple: boolean) => string;
|
|
46
46
|
onlySingleFileAllowed: string;
|
|
47
|
+
fileTypeNotAccepted: (fileNames: string[]) => string;
|
|
48
|
+
fileSizeExceeded: (fileNames: string[]) => string;
|
|
47
49
|
clearFile: (fileName: string) => string;
|
|
48
50
|
uploadFileProgressBar: string;
|
|
49
51
|
pagination: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../chunks/chunk.
|
|
1
|
+
import "../chunks/chunk.TP5XEQ2O.js";
|
|
2
2
|
import "../chunks/chunk.UVGAHM33.js";
|
|
3
3
|
import "../chunks/chunk.GYWU4AAB.js";
|
|
4
4
|
import "../chunks/chunk.WOMQVTNZ.js";
|
|
@@ -6,7 +6,7 @@ import "../chunks/chunk.B4BZKR24.js";
|
|
|
6
6
|
import "../chunks/chunk.D6XRV35U.js";
|
|
7
7
|
import "../chunks/chunk.HPDCOGLH.js";
|
|
8
8
|
import "../chunks/chunk.PWL7QCVG.js";
|
|
9
|
-
import "../chunks/chunk.
|
|
9
|
+
import "../chunks/chunk.WHHYA5VY.js";
|
|
10
10
|
import "../chunks/chunk.QB2NJE2Y.js";
|
|
11
11
|
import "../chunks/chunk.SVWU6JW4.js";
|
|
12
12
|
import "../chunks/chunk.TUVJKY7S.js";
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
"name": "dsa-alert",
|
|
73
|
-
"description": "Alerts are used to display important messages inline or as toast notifications.\n---\n\n\n### **Events:**\n - **dsa-show** - Emitted when the alert opens.\n- **dsa-after-show** - Emitted after the alert opens and all animations are complete.\n- **dsa-hide** - Emitted when the alert closes.\n- **dsa-after-hide** - Emitted after the alert closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the alert.\n- **hide()** - Hides the alert\n- **toast()** - Displays the alert as a toast notification. This will move the alert out of its position in the DOM and, when\ndismissed, it will be removed from the DOM completely. By storing a reference to the alert, you can reuse it by\ncalling this method again. The returned promise will resolve after the alert is hidden.\n\n### **Slots:**\n - _default_ - The alert's main content.\n- **action** - An optional slot action, usually a `dsa-button
|
|
73
|
+
"description": "Alerts are used to display important messages inline or as toast notifications.\n---\n\n\n### **Events:**\n - **dsa-show** - Emitted when the alert opens.\n- **dsa-after-show** - Emitted after the alert opens and all animations are complete.\n- **dsa-hide** - Emitted when the alert closes.\n- **dsa-after-hide** - Emitted after the alert closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the alert.\n- **hide()** - Hides the alert\n- **toast()** - Displays the alert as a toast notification. This will move the alert out of its position in the DOM and, when\ndismissed, it will be removed from the DOM completely. By storing a reference to the alert, you can reuse it by\ncalling this method again. The returned promise will resolve after the alert is hidden.\n\n### **Slots:**\n - _default_ - The alert's main content.\n- **action** - An optional slot action, usually a `dsa-button`.",
|
|
74
74
|
"attributes": [
|
|
75
75
|
{
|
|
76
76
|
"name": "alert-title",
|
|
@@ -325,12 +325,6 @@
|
|
|
325
325
|
],
|
|
326
326
|
"references": []
|
|
327
327
|
},
|
|
328
|
-
{
|
|
329
|
-
"name": "dsa-breadcrumb",
|
|
330
|
-
"description": "Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.\n---\n\n\n### **Slots:**\n - _default_ - One or more breadcrumb items to display.",
|
|
331
|
-
"attributes": [],
|
|
332
|
-
"references": []
|
|
333
|
-
},
|
|
334
328
|
{
|
|
335
329
|
"name": "dsa-breadcrumb-item",
|
|
336
330
|
"description": "Breadcrumb Items are used inside [breadcrumbs](/components/breadcrumb) to represent different links.\n---\n\n\n### **Slots:**\n - _default_ - The breadcrumb item's label.\n- **prefix** - An optional prefix, usually an icon or icon button.\n- **suffix** - An optional suffix, usually an icon or icon button.",
|
|
@@ -358,6 +352,12 @@
|
|
|
358
352
|
],
|
|
359
353
|
"references": []
|
|
360
354
|
},
|
|
355
|
+
{
|
|
356
|
+
"name": "dsa-breadcrumb",
|
|
357
|
+
"description": "Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.\n---\n\n\n### **Slots:**\n - _default_ - One or more breadcrumb items to display.",
|
|
358
|
+
"attributes": [],
|
|
359
|
+
"references": []
|
|
360
|
+
},
|
|
361
361
|
{
|
|
362
362
|
"name": "dsa-button",
|
|
363
363
|
"description": "Buttons represent actions that are available to the user.\n---\n\n\n### **Events:**\n - **dsa-blur** - Emitted when the button loses focus.\n- **dsa-focus** - Emitted when the button gains focus.\n- **dsa-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n- **dsa-change** - Emitted when a toggle button changes its pressed state.\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n- **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The button's label.\n- **prefix** - A presentational prefix icon or similar element.\n- **suffix** - A presentational suffix icon or similar element.",
|
|
@@ -841,7 +841,7 @@
|
|
|
841
841
|
},
|
|
842
842
|
{
|
|
843
843
|
"name": "dsa-checkbox-group",
|
|
844
|
-
"description": "Checkbox groups are used to group multiple [checkbox](/components/checkbox), [checkbox buttons](/components/checkbox-button) or [checkbox cards](/components/checkbox-card) so they function as a single form control.\n---\n\n\n### **Events:**\n - **dsa-change** - Emitted when the checkbox group's selected value changes.\n- **dsa-input** - Emitted when the checkbox group receives user input.\n- **dsa-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The default slot where `<dsa-checkbox>`, `<dsa-checkbox-button>`, or `<dsa-checkbox-card>` elements are placed.\n- **label** - The checkbox group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **tooltip** - The tooltip slot allows additional information to be passed along the label.",
|
|
844
|
+
"description": "Checkbox groups are used to group multiple [checkbox](/components/checkbox), [checkbox buttons](/components/checkbox-button) or [checkbox cards](/components/checkbox-card) so they function as a single form control.\n---\n\n\n### **Events:**\n - **dsa-change** - Emitted when the checkbox group's selected value changes.\n- **dsa-input** - Emitted when the checkbox group receives user input.\n- **dsa-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox-group.\n\n### **Slots:**\n - _default_ - The default slot where `<dsa-checkbox>`, `<dsa-checkbox-button>`, or `<dsa-checkbox-card>` elements are placed.\n- **label** - The checkbox group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **tooltip** - The tooltip slot allows additional information to be passed along the label.",
|
|
845
845
|
"attributes": [
|
|
846
846
|
{
|
|
847
847
|
"name": "label",
|
|
@@ -1397,7 +1397,7 @@
|
|
|
1397
1397
|
},
|
|
1398
1398
|
{
|
|
1399
1399
|
"name": "accept",
|
|
1400
|
-
"description": "The file types the file input should accept, separated by
|
|
1400
|
+
"description": "The file types the file input should accept, separated by commas.",
|
|
1401
1401
|
"values": []
|
|
1402
1402
|
},
|
|
1403
1403
|
{
|
|
@@ -1429,7 +1429,8 @@
|
|
|
1429
1429
|
"name": "error-message",
|
|
1430
1430
|
"description": "The error message or messages that are shown when “error” is set to “true”. To display several\nmessages, they must be separated by a pipe character, e.g. \"Error 1|Error 2|Error 3”.",
|
|
1431
1431
|
"values": [{ "name": "string[]" }]
|
|
1432
|
-
}
|
|
1432
|
+
},
|
|
1433
|
+
{ "name": "file-size-limit", "values": [] }
|
|
1433
1434
|
],
|
|
1434
1435
|
"references": []
|
|
1435
1436
|
},
|
|
@@ -2915,7 +2916,7 @@
|
|
|
2915
2916
|
},
|
|
2916
2917
|
{
|
|
2917
2918
|
"name": "dsa-radio-group",
|
|
2918
|
-
"description": "Radio groups are used to group multiple [radios](/components/radio), [radio buttons](/components/radio-button) or [radio cards](/components/radio-card) so they function as a single form control.\n---\n\n\n### **Events:**\n - **dsa-change** - Emitted when the radio group's selected value changes.\n- **dsa-input** - Emitted when the radio group receives user input.\n- **dsa-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The default slot where `<dsa-radio>`, `<dsa-radio-button>`, or `<dsa-radio-card>` elements are placed.\n- **label** - The radio group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **tooltip** - The tooltip slot allows additional information to be passed along the label",
|
|
2919
|
+
"description": "Radio groups are used to group multiple [radios](/components/radio), [radio buttons](/components/radio-button) or [radio cards](/components/radio-card) so they function as a single form control.\n---\n\n\n### **Events:**\n - **dsa-change** - Emitted when the radio group's selected value changes.\n- **dsa-input** - Emitted when the radio group receives user input.\n- **dsa-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus(options: _FocusOptions_)** - Sets focus on the radio-group.\n\n### **Slots:**\n - _default_ - The default slot where `<dsa-radio>`, `<dsa-radio-button>`, or `<dsa-radio-card>` elements are placed.\n- **label** - The radio group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n- **tooltip** - The tooltip slot allows additional information to be passed along the label",
|
|
2919
2920
|
"attributes": [
|
|
2920
2921
|
{
|
|
2921
2922
|
"name": "label",
|
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@ds-autonomie/web-components",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.17.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"framework-config": {
|
|
7
7
|
"enable-when": {
|
|
@@ -1066,30 +1066,6 @@
|
|
|
1066
1066
|
}
|
|
1067
1067
|
]
|
|
1068
1068
|
},
|
|
1069
|
-
{
|
|
1070
|
-
"name": "dsa-breadcrumb",
|
|
1071
|
-
"description": "",
|
|
1072
|
-
"js": {
|
|
1073
|
-
"properties": [
|
|
1074
|
-
{
|
|
1075
|
-
"name": "defaultSlot",
|
|
1076
|
-
"value": {
|
|
1077
|
-
"type": "HTMLSlotElement"
|
|
1078
|
-
}
|
|
1079
|
-
},
|
|
1080
|
-
{
|
|
1081
|
-
"name": "localize",
|
|
1082
|
-
"value": {}
|
|
1083
|
-
},
|
|
1084
|
-
{
|
|
1085
|
-
"name": "handleSlotChange",
|
|
1086
|
-
"value": {}
|
|
1087
|
-
}
|
|
1088
|
-
],
|
|
1089
|
-
"events": []
|
|
1090
|
-
},
|
|
1091
|
-
"attributes": []
|
|
1092
|
-
},
|
|
1093
1069
|
{
|
|
1094
1070
|
"name": "dsa-breadcrumb-item",
|
|
1095
1071
|
"description": "",
|
|
@@ -1157,6 +1133,30 @@
|
|
|
1157
1133
|
}
|
|
1158
1134
|
]
|
|
1159
1135
|
},
|
|
1136
|
+
{
|
|
1137
|
+
"name": "dsa-breadcrumb",
|
|
1138
|
+
"description": "",
|
|
1139
|
+
"js": {
|
|
1140
|
+
"properties": [
|
|
1141
|
+
{
|
|
1142
|
+
"name": "defaultSlot",
|
|
1143
|
+
"value": {
|
|
1144
|
+
"type": "HTMLSlotElement"
|
|
1145
|
+
}
|
|
1146
|
+
},
|
|
1147
|
+
{
|
|
1148
|
+
"name": "localize",
|
|
1149
|
+
"value": {}
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
"name": "handleSlotChange",
|
|
1153
|
+
"value": {}
|
|
1154
|
+
}
|
|
1155
|
+
],
|
|
1156
|
+
"events": []
|
|
1157
|
+
},
|
|
1158
|
+
"attributes": []
|
|
1159
|
+
},
|
|
1160
1160
|
{
|
|
1161
1161
|
"name": "dsa-button",
|
|
1162
1162
|
"description": "",
|
|
@@ -1172,10 +1172,6 @@
|
|
|
1172
1172
|
"name": "formControlController",
|
|
1173
1173
|
"value": {}
|
|
1174
1174
|
},
|
|
1175
|
-
{
|
|
1176
|
-
"name": "hasSlotController",
|
|
1177
|
-
"value": {}
|
|
1178
|
-
},
|
|
1179
1175
|
{
|
|
1180
1176
|
"name": "localize",
|
|
1181
1177
|
"value": {}
|
|
@@ -2966,6 +2962,11 @@
|
|
|
2966
2962
|
"name": "setCustomValidity",
|
|
2967
2963
|
"description": "Sets a custom validation message. Pass an empty string to restore validity.",
|
|
2968
2964
|
"value": {}
|
|
2965
|
+
},
|
|
2966
|
+
{
|
|
2967
|
+
"name": "focus",
|
|
2968
|
+
"description": "Sets focus on the checkbox-group.",
|
|
2969
|
+
"value": {}
|
|
2969
2970
|
}
|
|
2970
2971
|
],
|
|
2971
2972
|
"events": [
|
|
@@ -4949,7 +4950,7 @@
|
|
|
4949
4950
|
{
|
|
4950
4951
|
"name": "internalError",
|
|
4951
4952
|
"value": {
|
|
4952
|
-
"type": "string"
|
|
4953
|
+
"type": "string | TemplateResult<1>"
|
|
4953
4954
|
}
|
|
4954
4955
|
},
|
|
4955
4956
|
{
|
|
@@ -5010,7 +5011,7 @@
|
|
|
5010
5011
|
},
|
|
5011
5012
|
{
|
|
5012
5013
|
"name": "accept",
|
|
5013
|
-
"description": "The file types the file input should accept, separated by
|
|
5014
|
+
"description": "The file types the file input should accept, separated by commas.",
|
|
5014
5015
|
"value": {
|
|
5015
5016
|
"type": "string"
|
|
5016
5017
|
}
|
|
@@ -5064,6 +5065,12 @@
|
|
|
5064
5065
|
"type": "string | string[]"
|
|
5065
5066
|
}
|
|
5066
5067
|
},
|
|
5068
|
+
{
|
|
5069
|
+
"name": "fileSizeLimit",
|
|
5070
|
+
"value": {
|
|
5071
|
+
"type": "number | undefined"
|
|
5072
|
+
}
|
|
5073
|
+
},
|
|
5067
5074
|
{
|
|
5068
5075
|
"name": "validity",
|
|
5069
5076
|
"description": "Gets the validity state object",
|
|
@@ -5132,6 +5139,18 @@
|
|
|
5132
5139
|
"name": "addFiles",
|
|
5133
5140
|
"value": {}
|
|
5134
5141
|
},
|
|
5142
|
+
{
|
|
5143
|
+
"name": "isAcceptedFileType",
|
|
5144
|
+
"value": {}
|
|
5145
|
+
},
|
|
5146
|
+
{
|
|
5147
|
+
"name": "isAcceptedFileSize",
|
|
5148
|
+
"value": {}
|
|
5149
|
+
},
|
|
5150
|
+
{
|
|
5151
|
+
"name": "filterValidFiles",
|
|
5152
|
+
"value": {}
|
|
5153
|
+
},
|
|
5135
5154
|
{
|
|
5136
5155
|
"name": "handleChange",
|
|
5137
5156
|
"value": {}
|
|
@@ -5258,7 +5277,7 @@
|
|
|
5258
5277
|
},
|
|
5259
5278
|
{
|
|
5260
5279
|
"name": "accept",
|
|
5261
|
-
"description": "The file types the file input should accept, separated by
|
|
5280
|
+
"description": "The file types the file input should accept, separated by commas.",
|
|
5262
5281
|
"value": {
|
|
5263
5282
|
"type": "string"
|
|
5264
5283
|
}
|
|
@@ -5304,6 +5323,12 @@
|
|
|
5304
5323
|
"value": {
|
|
5305
5324
|
"type": "string | string[]"
|
|
5306
5325
|
}
|
|
5326
|
+
},
|
|
5327
|
+
{
|
|
5328
|
+
"name": "file-size-limit",
|
|
5329
|
+
"value": {
|
|
5330
|
+
"type": "number | undefined"
|
|
5331
|
+
}
|
|
5307
5332
|
}
|
|
5308
5333
|
]
|
|
5309
5334
|
},
|
|
@@ -12134,6 +12159,11 @@
|
|
|
12134
12159
|
"name": "setCustomValidity",
|
|
12135
12160
|
"description": "Sets a custom validation message. Pass an empty string to restore validity.",
|
|
12136
12161
|
"value": {}
|
|
12162
|
+
},
|
|
12163
|
+
{
|
|
12164
|
+
"name": "focus",
|
|
12165
|
+
"description": "Sets focus on the radio-group.",
|
|
12166
|
+
"value": {}
|
|
12137
12167
|
}
|
|
12138
12168
|
],
|
|
12139
12169
|
"events": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ds-autonomie/web-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.17.0",
|
|
4
4
|
"homepage": "https://dsa.service-public-autonomie.fr",
|
|
5
5
|
"bugs": "https://lindie.app/share/c220b6cb46f514a79413a6438af2a82e263a0c10",
|
|
6
6
|
"author": "CNSA",
|
|
@@ -24,9 +24,13 @@
|
|
|
24
24
|
"files": [
|
|
25
25
|
"dist",
|
|
26
26
|
"cdn",
|
|
27
|
+
"bin",
|
|
27
28
|
"CHANGELOG.md",
|
|
28
29
|
"LICENSE"
|
|
29
30
|
],
|
|
31
|
+
"bin": {
|
|
32
|
+
"web-components": "bin/cli.js"
|
|
33
|
+
},
|
|
30
34
|
"repository": {
|
|
31
35
|
"directory": "packages/web-components",
|
|
32
36
|
"type": "git",
|
|
@@ -42,16 +46,18 @@
|
|
|
42
46
|
"node": ">=22"
|
|
43
47
|
},
|
|
44
48
|
"dependencies": {
|
|
49
|
+
"chalk": "5.6.2",
|
|
45
50
|
"@floating-ui/dom": "1.7.4",
|
|
46
51
|
"@shoelace-style/animations": "1.2.0",
|
|
47
52
|
"@shoelace-style/localize": "3.2.1",
|
|
48
53
|
"big.js": "7.0.1",
|
|
49
54
|
"composed-offset-position": "0.0.6",
|
|
50
55
|
"lit": "3.3.2",
|
|
56
|
+
"ora": "^9.0.0",
|
|
51
57
|
"wc-datepicker": "0.9.3"
|
|
52
58
|
},
|
|
53
59
|
"peerDependencies": {
|
|
54
|
-
"@ds-autonomie/assets": "1.4.
|
|
60
|
+
"@ds-autonomie/assets": "1.4.12"
|
|
55
61
|
},
|
|
56
62
|
"devDependencies": {
|
|
57
63
|
"@chromatic-com/storybook": "^5.0.0",
|
|
@@ -76,7 +82,6 @@
|
|
|
76
82
|
"eslint-plugin-storybook": "10.1.11",
|
|
77
83
|
"eslint-plugin-wc": "3.0.2",
|
|
78
84
|
"jsonata": "2.1.0",
|
|
79
|
-
"ora": "^9.0.0",
|
|
80
85
|
"postcss": "8.5.6",
|
|
81
86
|
"postcss-lit": "1.3.1",
|
|
82
87
|
"sinon": "21.0.1",
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import{a as I}from"./chunk.WDSDDJUA.js";import{a as M}from"./chunk.S2RTEOQU.js";import{a as B}from"./chunk.PIG773U2.js";import{a as x}from"./chunk.NJBAMERR.js";import{a as k}from"./chunk.SWEIVB73.js";import{b as C,c as R,d as V,e as E}from"./chunk.FWTZS7LK.js";import{a as g}from"./chunk.ELL45QD3.js";import{a as p}from"./chunk.B4KFHYLS.js";import{d as b}from"./chunk.ZBHHLRFH.js";import{a as m}from"./chunk.BWEPOOQP.js";import{a as y,b as r,c as u,d as f,f as v}from"./chunk.KBZ32KWP.js";import{a as h}from"./chunk.GP725TPQ.js";import{f as i}from"./chunk.IZ2HVRME.js";var a=class extends v{constructor(){super(...arguments);this.formControlController=new C(this);this.hasSlotController=new g(this,"help-text","label");this.customValidityMessage="";this.customValidityError="";this.hasRadioButtons=!1;this.hasRadioCards=!1;this.readonlyRadioButtonValue=new Map;this.defaultValue="";this.label="";this.helpText="";this.description="";this.name="option";this.value="";this.deselectable=!1;this.form="";this.required=!1;this.disabled=!1;this.readonly=!1;this.horizontal=!1;this.error=!1;this.errorMessage="";this.hideLabel=!1}get validity(){let t=this.required&&!this.value;return this.customValidityMessage!==""?E:t?V:R}get validationMessage(){let t=this.required&&!this.value;return this.customValidityMessage!==""?this.customValidityMessage:t?this.validationInput.validationMessage:""}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value}firstUpdated(){this.formControlController.updateValidity()}getAllRadios(){let t=[...this.querySelectorAll("dsa-radio, dsa-radio-button, dsa-radio-card")];return this.hasRadioButtons=t.some(e=>e.tagName.toLowerCase()==="dsa-radio-button"),this.hasRadioCards=t.some(e=>e.tagName.toLowerCase()==="dsa-radio-card"),t}handleRadioClick(t){let e=t.target.closest("dsa-radio, dsa-radio-button, dsa-radio-card");if(!e||e.disabled||e.readonly||this.disabled||this.readonly)return;let o=this.getAllRadios(),s=this.value;e.value!==s?(this.value=e.value,this.updateCheckedRadio()):this.deselectable&&(this.value="",o.forEach(d=>{d.checked=!1})),this.value!==s&&this.emit("dsa-change"),this.emit("dsa-input")}handleKeyDown(t){if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"," "].includes(t.key)||this.disabled||this.readonly)return;let e=this.getAllRadios().filter(n=>!this.disabled&&!n.disabled&&(!n.readonly||n.checked)),o=e.length,s=e.findIndex(n=>n.matches(":focus")),d=t.key===" "?0:["ArrowUp","ArrowLeft"].includes(t.key)?-1:1,c=this.value,l=s+d;if(l=M(l,o),this.getAllRadios().forEach(n=>{n.checked=!1,this.hasRadioButtons||this.hasRadioCards?n.button.tabIndex=-1:n.tabIndex=-1}),d===0?(e[l].checked=this.deselectable?e[l].value!==c:!0,this.value=e[l].checked?e[l].value:""):(this.value=e[l].readonly||e[s].readonly&&e[s].checked?this.value:e[l].value,e[l].checked=this.value===e[l].value),!this.hasRadioButtons&&!this.hasRadioCards)e[l].tabIndex=0,e[l].focus();else{let n=e[l];n.button.tabIndex=0,n.button.focus()}this.value!==c&&(this.emit("dsa-change"),this.emit("dsa-input")),t.preventDefault()}handleLabelClick(){let t=this.getAllRadios().filter(s=>!s.disabled),o=t.find(s=>s.checked)||t[0];o&&o.focus()}handleSlotChange(){if(customElements.get("dsa-radio")||customElements.get("dsa-radio-button")||customElements.get("dsa-radio-card")){let t=this.getAllRadios(),e=!1;t.forEach(o=>{o.error=this.error,(this.hasRadioButtons||this.hasRadioCards)&&o.readonly&&this.readonlyRadioButtonValue.set(o.value,!0),e=o.checked||e,o.parentDisabled=this.disabled,o.parentReadonly=this.readonly}),this.updateCheckedRadio()}else customElements.whenDefined("dsa-radio").then(()=>this.handleSlotChange()),customElements.whenDefined("dsa-radio-button").then(()=>this.handleSlotChange()),customElements.whenDefined("dsa-radio-card").then(()=>this.handleSlotChange())}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}updateCheckedRadio(){this.getAllRadios().forEach(e=>{var o;if(e.checked=e.value===this.value,this.hasRadioButtons||this.hasRadioCards){let s=e;s.readonly=(o=this.readonlyRadioButtonValue.get(this.value))!=null?o:s.readonly}}),this.updateTabIndexes(),this.formControlController.setValidity(this.validity.valid)}getDescriptionIds(){let t=[];return this.error&&(t=["error-text"]),t=[...t,"help-text","description"],t.join(" ")}updateTabIndexes(){let t=this.getAllRadios(),e=t.findIndex(s=>!s.disabled&&(!s.readonly||s.checked)),o=this.value!==""&&t.some(s=>s.value===this.value);t.forEach((s,d)=>{if(this.disabled){s.tabIndex=-1;return}let c=s.checked&&!s.disabled||!o&&d===e&&!this.readonly;if(this.hasRadioButtons||this.hasRadioCards){let l=s;customElements.whenDefined(this.hasRadioButtons?"dsa-radio-button":"dsa-radio-card").then(()=>{l.button.tabIndex=c?0:-1})}else s.tabIndex=c?0:-1})}handleValueChange(){this.hasUpdated&&this.updateCheckedRadio()}handleErrorChange(){this.getAllRadios().forEach(t=>t.error=this.error)}handleDisabledChange(){this.getAllRadios().forEach(t=>t.parentDisabled=this.disabled)}handleReadonlyChange(){this.getAllRadios().forEach(t=>t.parentReadonly=this.readonly),this.updateTabIndexes()}checkValidity(){let t=this.required&&!this.value,e=this.customValidityMessage!=="";return t||e?(this.formControlController.emitInvalidEvent(),!1):!0}getForm(){return this.formControlController.getForm()}reportValidity(){let t=this.validity.valid;return this.error=!1,this.customValidityError=this.customValidityMessage!==""?this.customValidityMessage:t?"":this.validationInput.validationMessage,this.formControlController.setValidity(t),this.validationInput.hidden=!0,clearTimeout(this.validationTimeout),t||(this.error=!0,this.validationInput.hidden=!1,this.validationInput.reportValidity(),this.validationTimeout=setTimeout(()=>this.validationInput.hidden=!0,1e4)),t}setCustomValidity(t=""){this.customValidityMessage=t,this.validationInput.setCustomValidity(t),this.formControlController.updateValidity()}render(){let t=this.hasSlotController.test("label"),e=this.hasSlotController.test("help-text"),o=this.label?!0:!!t,s=this.helpText?!0:!!e;return o||p("<dsa-radio-group> requires a label attribute or a label slot for accessibility"),this.error&&!this.errorMessage&&p("<dsa-radio-group> requires an error-message attribute for accessibility when the error attribute is set"),h`
|
|
2
|
-
<fieldset
|
|
3
|
-
part="form-control"
|
|
4
|
-
class=${b({"form-control":!0,"form-control--error":this.error,"form-control--medium":!0,"form-control--radio-group":!0,"form-control--has-label":o,"form-control--has-help-text":s,"form-control--has-buttons":this.hasRadioButtons,"form-control--has-cards":this.hasRadioCards,"form-control--options-horizontal":!!this.horizontal})}
|
|
5
|
-
role="radiogroup"
|
|
6
|
-
aria-labelledby="label ${this.getDescriptionIds()}"
|
|
7
|
-
aria-invalid=${this.error}
|
|
8
|
-
>
|
|
9
|
-
${this.hideLabel?h`<dsa-visually-hidden id="label"
|
|
10
|
-
><slot name="label">${this.label}</slot></dsa-visually-hidden
|
|
11
|
-
>`:h`
|
|
12
|
-
<span
|
|
13
|
-
part="form-control-label"
|
|
14
|
-
id="label"
|
|
15
|
-
class="form-control__label"
|
|
16
|
-
aria-hidden=${o?"false":"true"}
|
|
17
|
-
@click=${this.handleLabelClick}
|
|
18
|
-
>
|
|
19
|
-
${this.required?h`<span class="form-control__label-required">*</span>`:""}
|
|
20
|
-
<slot name="label">${this.label}</slot>
|
|
21
|
-
</span>
|
|
22
|
-
`}
|
|
23
|
-
|
|
24
|
-
<slot name="tooltip" class="form-control__tooltip"></slot>
|
|
25
|
-
|
|
26
|
-
<div
|
|
27
|
-
part="form-control-input"
|
|
28
|
-
class="form-control-input form-control__field"
|
|
29
|
-
>
|
|
30
|
-
<dsa-visually-hidden>
|
|
31
|
-
<label class="radio-group__validation">
|
|
32
|
-
<input
|
|
33
|
-
type="text"
|
|
34
|
-
class="radio-group__validation-input"
|
|
35
|
-
?required=${this.required}
|
|
36
|
-
tabindex="-1"
|
|
37
|
-
hidden
|
|
38
|
-
@invalid=${this.handleInvalid}
|
|
39
|
-
/>
|
|
40
|
-
</label>
|
|
41
|
-
</dsa-visually-hidden>
|
|
42
|
-
|
|
43
|
-
<slot
|
|
44
|
-
@click=${this.handleRadioClick}
|
|
45
|
-
@keydown=${this.handleKeyDown}
|
|
46
|
-
@slotchange=${this.handleSlotChange}
|
|
47
|
-
class="form-control__options"
|
|
48
|
-
></slot>
|
|
49
|
-
</div>
|
|
50
|
-
<slot
|
|
51
|
-
name="help-text"
|
|
52
|
-
part="form-control-help-text"
|
|
53
|
-
id="help-text"
|
|
54
|
-
class="form-control__help-text"
|
|
55
|
-
>
|
|
56
|
-
${this.helpText}
|
|
57
|
-
</slot>
|
|
58
|
-
|
|
59
|
-
${this.error?k(this.customValidityError!==""?this.customValidityError:this.errorMessage):""}
|
|
60
|
-
${this.description!==""?h`
|
|
61
|
-
<p id="description" class="form-control__description">
|
|
62
|
-
${this.description}
|
|
63
|
-
</p>
|
|
64
|
-
`:""}
|
|
65
|
-
</fieldset>
|
|
66
|
-
`}};a.styles=I,a.dependencies={"dsa-error-text":x,"dsa-visually-hidden":B},i([f("slot:not([name])")],a.prototype,"defaultSlot",2),i([f(".radio-group__validation-input")],a.prototype,"validationInput",2),i([u()],a.prototype,"hasRadioButtons",2),i([u()],a.prototype,"hasRadioCards",2),i([u()],a.prototype,"readonlyRadioButtonValue",2),i([u()],a.prototype,"defaultValue",2),i([r()],a.prototype,"label",2),i([r({attribute:"help-text"})],a.prototype,"helpText",2),i([r({attribute:"description"})],a.prototype,"description",2),i([r()],a.prototype,"name",2),i([r({reflect:!0})],a.prototype,"value",2),i([r({type:Boolean,reflect:!0})],a.prototype,"deselectable",2),i([r({reflect:!0})],a.prototype,"form",2),i([r({type:Boolean,reflect:!0})],a.prototype,"required",2),i([r({type:Boolean,reflect:!0})],a.prototype,"disabled",2),i([r({type:Boolean,reflect:!0})],a.prototype,"readonly",2),i([r({type:Boolean})],a.prototype,"horizontal",2),i([r({type:Boolean})],a.prototype,"error",2),i([r({attribute:"error-message",converter:{fromAttribute:t=>t?t.split("|"):"",toAttribute:t=>typeof t=="string"?t:t.join("|")}})],a.prototype,"errorMessage",2),i([r({type:Boolean,attribute:"hide-label"})],a.prototype,"hideLabel",2),i([m("value")],a.prototype,"handleValueChange",1),i([m("error")],a.prototype,"handleErrorChange",1),i([m("disabled")],a.prototype,"handleDisabledChange",1),i([m("readonly")],a.prototype,"handleReadonlyChange",1),a=i([y("dsa-radio-group")],a);export{a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as i,b as s}from"./chunk.HJGLYEWV.js";var a={$code:"fr",$name:"Fran\xE7ais",$dir:"ltr",carousel:"Carrousel",clearEntry:"Effacer l'entr\xE9e",close:"Fermer",copy:"Copier",youAreHere:"Vous \xEAtes ici :",countryCallingCode:"Indicatif t\xE9l\xE9phonique international",currentValue:"Valeur actuelle",goToSlide:(e,r)=>`Aller \xE0 la diapositive ${e} de ${r}`,hidePassword:"Masquer le mot de passe",loading:"Chargement",nextSlide:"Diapositive suivante",previousSlide:"Diapositive pr\xE9c\xE9dente",progress:"Progr\xE8s",remove:"Retirer",resize:"Redimensionner",scrollToEnd:"Faire d\xE9filer jusqu'\xE0 la fin",scrollToStart:"Faire d\xE9filer jusqu'au d\xE9but",selectAColorFromTheScreen:"S\xE9lectionnez une couleur \xE0 l'\xE9cran",selectATime:"S\xE9lectionnez une heure",showPassword:"Montrer le mot de passe",slideNum:e=>`Diapositive ${e}`,toggleColorFormat:"Changer le format de couleur",noMatchFound:"Aucune correspondance trouv\xE9e",optionsLoading:"Chargement des options",optionsError:"Une erreur est survenue",step:"\xC9tape",stepActive:"\xC9tape active",stepCompleted:"\xC9tape valid\xE9e",stepInProgress:"\xC9tape en cours",stepError:"\xC9tape en erreur",skipLinksAriaLabel:"Liens d'acc\xE8s rapide",errorMessagePanelCodePrefix:"Code d'erreur: ",fileSelect:(e,r)=>e?"Choisir un dossier":r?"Choisir des fichiers":"Choisir un fichier",fileDropHere:e=>e?"Glissez et d\xE9posez vos fichiers ici":"Glissez et d\xE9posez votre fichier ici",onlySingleFileAllowed:"Un seul fichier est autoris\xE9",clearFile:e=>`Retirer le fichier : ${e}`,uploadFileProgressBar:"Barre de progression pour le t\xE9l\xE9chargement de fichiers",pagination:"Pagination",paginationResults:(e,r,t,n)=>`${e}-${r} sur ${t} ${n!=null?n:"r\xE9sultats"}`,paginationResultsAriaLabel:(e,r,t,n)=>`Affichage de ${e} \xE0 ${r} sur ${t} ${n!=null?n:"r\xE9sultats"}`,linesPerPage:"Lignes par page",page:"page",ofTotal:e=>`sur ${e}`,previousPage:"Page pr\xE9c\xE9dente",nextPage:"Page suivante",results:"r\xE9sultats",cnsa:"CNSA Caisse Nationale de solidarit\xE9 pour l'autonomie",spa:"Service public de l'autonomie",cnsaGoToHomepage:"CNSA Caisse Nationale de solidarit\xE9 pour l'autonomie, aller \xE0 la page d'accueil",spaGoToHomepage:"Service public de l'autonomie, aller \xE0 la page d'accueil",search:"Rechercher",cancel:"Annuler",showTableActionsAnnouncement:"Une barre d'actions est d\xE9sormais disponible au-dessus du tableau.",selectAllTableRows:"S\xE9lectionner toutes les lignes du tableau",selectRow:"S\xE9lectionner la ligne",showExpandedTableRowHeader:"Afficher les d\xE9tails des lignes du tableau",showExpandedTableRow:"Afficher d\xE9tails",hideExpandedTableRow:"Masquer d\xE9tails",cnsaFooterLogoLabel:"Service public de l'autonomie",openAll:"Tout ouvrir",closeAll:"Tout fermer",numberSelected:(e,r)=>`${e} s\xE9lectionn\xE9${r==="feminine"?"e":""}${e>1?"s":""}`,deselectAll:"Tout d\xE9s\xE9lectionner",selectAll:"Tout s\xE9lectionner",seeAll:e=>`Voir tout (${e})`,seeMore:"Voir plus",columns:"Colonnes",increase:"Augmenter",decrease:"Diminuer",reinitialize:"R\xE9initialiser",validate:"Valider",filterReset:"R\xE9initialiser",filterSubmit:"Valider",valuesSelected:"valeurs s\xE9lectionn\xE9es",optionsAvailable:"options disponibles",selectValue:e=>`S\xE9lectionner ${e?"des valeurs":"une valeur"}`,lessThan:"inf\xE9rieur \xE0",moreThan:"sup\xE9rieur \xE0",min:"Min",max:"Max",clearButton:"Effacer valeur",hours:e=>`${e} Heure${Number(e)>1?"s":""}`,minutes:e=>`${e} Minute${Number(e)>1?"s":""}`,seconds:e=>`${e} Seconde${Number(e)>1?"s":""}`,milliseconds:e=>`${e} Milliseconde${Number(e)>1?"s":""}`,selectedTime:"Heure s\xE9lectionn\xE9e :",day:"Jour",month:"Mois",year:"Ann\xE9e",dayPlaceholder:"JJ",monthPlaceholder:"MM",yearPlaceholder:"AAAA",selectedDate:"Date s\xE9lectionn\xE9e : ",selectedDates:"Dates s\xE9lectionn\xE9es : ",enhancedMonth:e=>{switch(e){case 1:return"1 - Janvier";case 2:return"2 - F\xE9vrier";case 3:return"3 - Mars";case 4:return"4 - Avril";case 5:return"5 - Mai";case 6:return"6 - Juin";case 7:return"7 - Juillet";case 8:return"8 - Ao\xFBt";case 9:return"9 - Septembre";case 10:return"10 - Octobre";case 11:return"11 - Novembre";case 12:return"12 - D\xE9cembre";default:return""}},monthSelect:"S\xE9lectionner le mois",nextMonthButton:"Mois suivant",nextYearButton:"Ann\xE9e suivante",picker:"Choisir une date",pickerRange:"Choisir une plage de dates",previousMonthButton:"Mois pr\xE9c\xE9dent",previousYearButton:"Ann\xE9e pr\xE9c\xE9dente",todayButton:"Afficher la date du jour",yearSelect:"S\xE9lectionner l'ann\xE9e",startDate:"Date de d\xE9but",endDate:"Date de fin",invalidDate:"Date non valide",invalidStartDate:"Date de d\xE9but non valide",invalidEndDate:"Date de fin non valide",tableOfContents:"Sommaire :",userMenu:"Menu utilisateur",switchOn:"Activ\xE9",switchOff:"D\xE9sactiv\xE9",sidenav:"Navigation lat\xE9rale",toggleSidenav:"D\xE9velopper/R\xE9duire la navigation lat\xE9rale",copied:"Texte copi\xE9 dans le presse-papiers",copyError:"Echec de la copie",info:"Information",warning:"Attention",error:"Erreur",success:"Succ\xE8s",fr_FR:"France",fr_GP:"Guadeloupe, Saint-Barth\xE9lemy et Saint-Martin",fr_GF:"Guyane",fr_MQ:"Martinique",fr_NC:"Nouvelle-Cal\xE9donie",fr_PF:"Polyn\xE9sie fran\xE7aise",fr_PM:"Saint-Pierre-et-Miquelon",fr_RE:"R\xE9union et Mayotte",fr_WF:"Wallis-et-Futuna"};i(a);var c=a;var o=class extends s{};var l={$code:"en",$name:"English",$dir:"ltr",carousel:"Carousel",clearEntry:"Clear entry",close:"Close",copy:"Copy",youAreHere:"You are here:",countryCallingCode:"Country calling code",currentValue:"Current value",goToSlide:(e,r)=>`Go to slide ${e} of ${r}`,hidePassword:"Hide password",loading:"Loading",nextSlide:"Next slide",previousSlide:"Previous slide",progress:"Progress",remove:"Remove",resize:"Resize",scrollToEnd:"Scroll to end",scrollToStart:"Scroll to start",selectAColorFromTheScreen:"Select a color from the screen",selectATime:"Select a time",showPassword:"Show password",slideNum:e=>`Slide ${e}`,toggleColorFormat:"Toggle color format",noMatchFound:"No match found",optionsLoading:"Options loading",optionsError:"An error has occurred",step:"Step",stepActive:"Active step",stepCompleted:"Step completed",stepInProgress:"Step in progress",stepError:"Step in error",skipLinksAriaLabel:"Skip links",errorMessagePanelCodePrefix:"Error code: ",fileSelect:(e,r)=>e?"Select a directory":r?"Choose files":"Choose a file",fileDropHere:e=>e?"Drag and drop your files here":"Drag and drop your file here",onlySingleFileAllowed:"Only a single file is allowed",clearFile:e=>`Remove file : ${e}`,uploadFileProgressBar:"Upload file progress bar",pagination:"Pagination",paginationResults:(e,r,t,n)=>`${e}-${r} of ${t} ${n!=null?n:"results"}`,paginationResultsAriaLabel:(e,r,t,n)=>`Showing ${e} to ${r} of ${t} ${n!=null?n:"results"}`,linesPerPage:"Lines per page",page:"page",ofTotal:e=>`of ${e}`,previousPage:"Previous page",nextPage:"Next page",results:"results",cnsa:"CNSA Caisse Nationale de solidarit\xE9 pour l'autonomie",spa:"Service public de l'autonomie",cnsaGoToHomepage:"CNSA Caisse Nationale de solidarit\xE9 pour l'autonomie, go to homepage",spaGoToHomepage:"Service public de l'autonomie, go to homepage",search:"Search",cancel:"Cancel",showTableActionsAnnouncement:"An action bar is now available above the table",selectAllTableRows:"Select all table rows",selectRow:"Select row",showExpandedTableRowHeader:"Show details of table rows",showExpandedTableRow:"Show details",hideExpandedTableRow:"Hide details",cnsaFooterLogoLabel:"Service public de l'autonomie",openAll:"Open all",closeAll:"Close all",numberSelected:e=>`${e} selected`,deselectAll:"Deselect all",selectAll:"Select all",seeAll:e=>`See all (${e})`,seeMore:"See more",columns:"Columns",increase:"Increase",decrease:"Decrease",reinitialize:"Reinitialize",validate:"Validate",filterReset:"Reinitialize",filterSubmit:"Validate",valuesSelected:"values selected",optionsAvailable:"options available",selectValue:e=>`Select ${e?"values":"a value"}`,lessThan:"less than",moreThan:"more than",min:"Min",max:"Max",clearButton:"Clear value",hours:e=>`${e} Hour${Number(e)>1?"s":""}`,minutes:e=>`${e} Minute${Number(e)>1?"s":""}`,seconds:e=>`${e} Second${Number(e)>1?"s":""}`,milliseconds:e=>`${e} Millisecond${Number(e)>1?"s":""}`,selectedTime:"Selected time :",day:"Day",month:"Month",year:"Year",dayPlaceholder:"DD",monthPlaceholder:"MM",yearPlaceholder:"YYYY",selectedDate:"Selected date : ",selectedDates:"Selected dates : ",enhancedMonth:e=>{switch(e){case 1:return"1 - January";case 2:return"2 - February";case 3:return"3 - March";case 4:return"4 - April";case 5:return"5 - May";case 6:return"6 - June";case 7:return"7 - July";case 8:return"8 - August";case 9:return"9 - September";case 10:return"10 - October";case 11:return"11 - November";case 12:return"12 - December";default:return""}},monthSelect:"Select month",nextMonthButton:"Next month",nextYearButton:"Next year",picker:"Choose date",pickerRange:"Choose a date range",previousMonthButton:"Previous month",previousYearButton:"Previous year",todayButton:"Show today",yearSelect:"Select year",startDate:"Start date",endDate:"End date",invalidDate:"Invalid date",invalidStartDate:"Invalid start date",invalidEndDate:"Invalide end date",tableOfContents:"Table of contents :",userMenu:"User Menu",switchOn:"On",switchOff:"Off",sidenav:"Side navigation",toggleSidenav:"Toggle side navigation",copied:"Copied",copyError:"Copy error",info:"Information",warning:"Warning",error:"Error",success:"Success",fr_FR:"France",fr_GP:"Guadeloupe",fr_GF:"Guiana",fr_MQ:"Martinique",fr_NC:"New Caledonia",fr_PF:"French Polynesia",fr_PM:"Saint-Pierre-et-Miquelon",fr_RE:"R\xE9union and Mayotte",fr_WF:"Wallis and Futuna"};i(l);var S=l;export{S as a,c as b,o as c};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import{a as k}from"./chunk.76VB4TUF.js";import{b as $,c as _}from"./chunk.FWTZS7LK.js";import{a as E}from"./chunk.DO7GE2JH.js";import{a as v}from"./chunk.ELL45QD3.js";import{a as h,b as a}from"./chunk.FDMPUSVV.js";import{a as o}from"./chunk.NIRNX67K.js";import{c as C}from"./chunk.6JIYQYLW.js";import{c as y}from"./chunk.KD3BHBHK.js";import{a as s}from"./chunk.2RF4WD6T.js";import{d as p}from"./chunk.ZBHHLRFH.js";import{a as g}from"./chunk.BWEPOOQP.js";import{a as f,b as i,c as d,d as m,f as b}from"./chunk.KBZ32KWP.js";import{f as e}from"./chunk.IZ2HVRME.js";var t=class extends b{constructor(){super(...arguments);this.formControlController=new $(this,{form:r=>{if(r.hasAttribute("form")){let l=r.getRootNode(),n=r.getAttribute("form");return l.getElementById(n)}return r.closest("form")},assumeInteractionOn:["click"]});this.hasSlotController=new v(this,"[default]","prefix","suffix");this.localize=new C(this);this.hasFocus=!1;this.invalid=!1;this.title="";this.variant="primary";this.size="medium";this.caret=!1;this.disabled=!1;this.loading=!1;this.floating=!1;this.contrasted=!1;this.toggle=!1;this.pressed=!1;this.type="button";this.name="";this.value="";this.href="";this.rel="noreferrer noopener";this.ariaLabel="";this.description=""}get validity(){return this.isButton()?this.button.validity:_}get validationMessage(){return this.isButton()?this.button.validationMessage:""}connectedCallback(){super.connectedCallback(),this.handleHostClick=this.handleHostClick.bind(this),this.addEventListener("click",this.handleHostClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleHostClick)}firstUpdated(){this.isButton()&&this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("dsa-blur")}handleFocus(){this.hasFocus=!0,this.emit("dsa-focus")}handleClick(){this.type==="submit"&&this.formControlController.submit(this),this.type==="reset"&&this.formControlController.reset(this),this.type==="button"&&this.toggle&&(this.pressed=!this.pressed,this.emit("dsa-change"))}handleHostClick(r){(this.disabled||this.loading)&&(r.preventDefault(),r.stopImmediatePropagation())}handleInvalid(r){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(r)}getSpinnerVariant(){return this.floating?"floating":this.contrasted?"contrasted":"base"}isButton(){return!this.href}isLink(){return!!this.href}handleDisabledChange(){this.isButton()&&this.formControlController.setValidity(this.disabled)}click(){this.button.click()}focus(r){this.button.focus(r)}blur(){this.button.blur()}checkValidity(){return this.isButton()?this.button.checkValidity():!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.isButton()?this.button.reportValidity():!0}setCustomValidity(r){this.isButton()&&(this.button.setCustomValidity(r),this.formControlController.updateValidity())}render(){var u,c;let r=this.isLink(),l=this.getSpinnerVariant(),n=r?h`a`:h`button`;return a`
|
|
2
|
-
<${n}
|
|
3
|
-
part="base"
|
|
4
|
-
class=${p({button:!0,"button--on-base":!this.floating,"button--on-floating-menu":this.floating,"button--on-contrasted-menu":this.contrasted,"button--navigation":this.variant==="navigation","button--primary":this.variant==="primary","button--secondary":this.variant==="secondary","button--tertiary":this.variant==="tertiary"||this.variant==="tertiary-with-outline","button--tertiary-with-outline":this.variant==="tertiary-with-outline","button--neutral":this.variant==="neutral","button--danger":this.variant==="danger","button--small":this.size==="small","button--medium":this.size==="medium","button--large":this.size==="large","button--caret":this.caret,"button--toggle":this.toggle,"button--pressed":this.toggle&&this.pressed,"button--disabled":this.disabled,"button--focused":this.hasFocus,"button--loading":this.loading,"button--rtl":this.localize.dir()==="rtl","button--has-label":this.hasSlotController.test("[default]"),"button--has-prefix":this.hasSlotController.test("prefix"),"button--has-suffix":this.hasSlotController.test("suffix")})}
|
|
5
|
-
?disabled=${s(r?void 0:this.disabled)}
|
|
6
|
-
type=${s(r?void 0:this.type)}
|
|
7
|
-
title=${o((u=this.accessibleName)!=null?u:this.title)}
|
|
8
|
-
name=${o(r?void 0:this.name)}
|
|
9
|
-
value=${o(r?void 0:this.value)}
|
|
10
|
-
href=${s(r?this.href:void 0)}
|
|
11
|
-
target=${s(r?this.target:void 0)}
|
|
12
|
-
download=${s(r?this.download:void 0)}
|
|
13
|
-
rel=${s(r?this.rel:void 0)}
|
|
14
|
-
aria-label=${o((c=this.accessibleName)!=null?c:this.ariaLabel)}
|
|
15
|
-
aria-describedby="description"
|
|
16
|
-
aria-disabled=${s(this.disabled&&r?"true":void 0)}
|
|
17
|
-
aria-pressed=${s(this.toggle?this.pressed:void 0)}
|
|
18
|
-
tabindex=${s(this.disabled?"-1":void 0)}
|
|
19
|
-
@blur=${this.handleBlur}
|
|
20
|
-
@focus=${this.handleFocus}
|
|
21
|
-
@invalid=${this.isButton()?this.handleInvalid:null}
|
|
22
|
-
@click=${this.handleClick}
|
|
23
|
-
>
|
|
24
|
-
|
|
25
|
-
<slot name="prefix" part="prefix" class="button__prefix">
|
|
26
|
-
${this.toggle&&this.pressed&&this.variant==="secondary"?a` <dsa-icon
|
|
27
|
-
part="pressed-check"
|
|
28
|
-
name="check"
|
|
29
|
-
class="button__icon-check"
|
|
30
|
-
library="system"
|
|
31
|
-
></dsa-icon>`:""}
|
|
32
|
-
</slot>
|
|
33
|
-
<slot part="label" class="button__label"></slot>
|
|
34
|
-
<slot name="suffix" part="suffix" class="button__suffix"></slot>
|
|
35
|
-
${this.caret?a`
|
|
36
|
-
<dsa-icon
|
|
37
|
-
part="caret"
|
|
38
|
-
class="button__caret"
|
|
39
|
-
name="expand_more"
|
|
40
|
-
library="system"
|
|
41
|
-
></dsa-icon>
|
|
42
|
-
`:""}
|
|
43
|
-
${this.loading?a`<dsa-spinner variant=${l}></dsa-spinner>`:""}
|
|
44
|
-
</${n}>
|
|
45
|
-
${this.description!==""?a`
|
|
46
|
-
<p id="description" class="button__description">
|
|
47
|
-
${this.description}
|
|
48
|
-
</p>
|
|
49
|
-
`:""}
|
|
50
|
-
`}};t.styles=E,t.dependencies={"dsa-icon":y,"dsa-spinner":k},e([m(".button")],t.prototype,"button",2),e([d()],t.prototype,"hasFocus",2),e([d()],t.prototype,"invalid",2),e([i()],t.prototype,"title",2),e([i({reflect:!0})],t.prototype,"variant",2),e([i({reflect:!0})],t.prototype,"size",2),e([i({type:Boolean,reflect:!0})],t.prototype,"caret",2),e([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([i({type:Boolean,reflect:!0})],t.prototype,"loading",2),e([i({type:Boolean,reflect:!0})],t.prototype,"floating",2),e([i({type:Boolean,reflect:!0})],t.prototype,"contrasted",2),e([i({type:Boolean,reflect:!0})],t.prototype,"toggle",2),e([i({type:Boolean,reflect:!0})],t.prototype,"pressed",2),e([i()],t.prototype,"type",2),e([i()],t.prototype,"name",2),e([i()],t.prototype,"value",2),e([i()],t.prototype,"href",2),e([i()],t.prototype,"target",2),e([i()],t.prototype,"rel",2),e([i()],t.prototype,"download",2),e([i()],t.prototype,"form",2),e([i({attribute:"formaction"})],t.prototype,"formAction",2),e([i({attribute:"formenctype"})],t.prototype,"formEnctype",2),e([i({attribute:"formmethod"})],t.prototype,"formMethod",2),e([i({attribute:"formnovalidate",type:Boolean})],t.prototype,"formNoValidate",2),e([i({attribute:"formtarget"})],t.prototype,"formTarget",2),e([i({attribute:"aria-label"})],t.prototype,"ariaLabel",2),e([i({attribute:"accessible-name",reflect:!0})],t.prototype,"accessibleName",2),e([i({attribute:"description"})],t.prototype,"description",2),e([g("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),t=e([f("dsa-button")],t);export{t as a};
|