@ds-autonomie/web-components 2.7.1 → 2.8.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 +28 -0
- package/cdn/chunks/{chunk.X7VTIYF4.js → chunk.2AGKTM6V.js} +25 -1
- package/cdn/chunks/{chunk.H5LXYWU4.js → chunk.2MMASCIR.js} +2 -2
- package/cdn/chunks/{chunk.QWF2EIS5.js → chunk.32DAUHJ6.js} +11 -2
- package/cdn/chunks/{chunk.2Y5NYPC2.js → chunk.36Y6T57J.js} +1 -1
- package/cdn/chunks/{chunk.HWM7ESSG.js → chunk.3EJ54TS4.js} +85 -28
- package/cdn/chunks/{chunk.VQ6RNAGR.js → chunk.3VGPRUUT.js} +7 -0
- package/cdn/chunks/{chunk.YKUXDSKS.js → chunk.3VYO2UYA.js} +12 -2
- package/cdn/chunks/{chunk.XQSTAOEF.js → chunk.3Z2GKRZW.js} +1 -1
- package/cdn/chunks/{chunk.OA2FMS3O.js → chunk.46MVNLKZ.js} +1 -1
- package/cdn/chunks/chunk.4DEEMH54.js +229 -0
- package/cdn/chunks/{chunk.RIREJ6N6.js → chunk.4XTF2ZKZ.js} +1 -2
- package/cdn/chunks/{chunk.EM2CIX7W.js → chunk.57JI3UNH.js} +6 -0
- package/cdn/chunks/{chunk.JBUTAD7Y.js → chunk.5FH6QU4A.js} +1 -1
- package/cdn/chunks/{chunk.IRKLMCCV.js → chunk.5R2EV6NZ.js} +1 -1
- package/cdn/chunks/{chunk.RPKQJKOJ.js → chunk.653FSYCC.js} +3 -3
- package/cdn/chunks/{chunk.ICB64ITZ.js → chunk.6MHC5DNA.js} +1 -1
- package/cdn/chunks/{chunk.AAIT63AW.js → chunk.6P7WH7AZ.js} +1 -1
- package/cdn/chunks/{chunk.OIIMIRMI.js → chunk.6PLXHBET.js} +1 -1
- package/cdn/chunks/{chunk.OXTOMS7Z.js → chunk.6QCIYDOP.js} +1 -1
- package/cdn/chunks/{chunk.PUGGE6YS.js → chunk.6UXGYL2N.js} +5 -5
- package/cdn/chunks/{chunk.PB3XIUKQ.js → chunk.77VY2UR4.js} +4 -3
- package/cdn/chunks/{chunk.WI43OAV3.js → chunk.7JC3OWVV.js} +1 -1
- package/cdn/chunks/chunk.7LPJZYXA.js +151 -0
- package/cdn/chunks/{chunk.2FLI3YXG.js → chunk.7Y7NWHLB.js} +1 -1
- package/cdn/chunks/{chunk.5SFJEW3X.js → chunk.ANUEXNCN.js} +1 -1
- package/cdn/chunks/{chunk.VGYU72R2.js → chunk.ASVIB6BX.js} +2 -3
- package/cdn/chunks/{chunk.VXKRQ46O.js → chunk.AXJPYPJF.js} +3 -3
- package/cdn/chunks/{chunk.GJ6NPBI5.js → chunk.B2BEAIE7.js} +25 -0
- package/cdn/chunks/{chunk.COU4R52T.js → chunk.B5BIYVZQ.js} +3 -3
- package/cdn/chunks/chunk.B6A5AGBJ.js +37 -0
- package/cdn/chunks/{chunk.EPILD4OF.js → chunk.BKJGWZ2J.js} +1 -1
- package/cdn/chunks/{chunk.UMMRTTO5.js → chunk.C43CVKBG.js} +5 -2
- package/cdn/chunks/{chunk.AFJSWKU3.js → chunk.C4TNUODO.js} +1 -1
- package/cdn/chunks/{chunk.3LYWE5F4.js → chunk.CDM7VX7Q.js} +5 -1
- package/cdn/chunks/{chunk.CGWQEFIA.js → chunk.CRX7KUAK.js} +8 -3
- package/cdn/chunks/{chunk.XUO4ROFZ.js → chunk.CVZBPG2A.js} +35 -21
- package/cdn/chunks/{chunk.U22AXFTO.js → chunk.CWY2H4ZC.js} +1 -1
- package/cdn/chunks/{chunk.YZL5RFYO.js → chunk.DBSXHLX2.js} +8 -3
- package/cdn/chunks/{chunk.MUUNZVY6.js → chunk.DRVOJTJS.js} +8 -4
- package/cdn/chunks/{chunk.JJVGZ76D.js → chunk.DSXA7V54.js} +1 -1
- package/cdn/chunks/{chunk.WY73AW7H.js → chunk.DUANMGYF.js} +1 -1
- package/cdn/chunks/{chunk.K6UN4I5Q.js → chunk.EP2LR57N.js} +21 -92
- package/cdn/chunks/{chunk.727KD4JC.js → chunk.EXKO4BNS.js} +2 -2
- package/cdn/chunks/{chunk.JDMH5Z5K.js → chunk.EXPTHDVJ.js} +1 -1
- package/cdn/chunks/{chunk.5CO3IOJ7.js → chunk.F4WG4HCT.js} +1 -1
- package/cdn/chunks/{chunk.AYE3T37E.js → chunk.FBMGDNRV.js} +2 -16
- package/cdn/chunks/{chunk.XWXOKQFC.js → chunk.FRO6GRVS.js} +4 -2
- package/cdn/chunks/{chunk.TY7XK6UL.js → chunk.FSMUXFAQ.js} +20 -0
- package/cdn/chunks/{chunk.DAZARNOY.js → chunk.FVXLPV3C.js} +1 -1
- package/cdn/chunks/{chunk.DDR5VWG6.js → chunk.FWUVNYIG.js} +1 -1
- package/cdn/chunks/{chunk.DR5NYTMX.js → chunk.FZ6I3S7V.js} +1 -1
- package/cdn/chunks/{chunk.YCM23TDI.js → chunk.G5AZGI3C.js} +1 -1
- package/cdn/chunks/{chunk.WYJYCTJH.js → chunk.HE4K2YDO.js} +3 -3
- package/cdn/chunks/{chunk.NYPRGHOM.js → chunk.HPXPJRHP.js} +8 -3
- package/cdn/chunks/{chunk.SJ2AWS22.js → chunk.HPYTPVEB.js} +5 -0
- package/cdn/chunks/{chunk.HSIGEKL5.js → chunk.IIGRYD5Y.js} +11 -2
- package/cdn/chunks/{chunk.CGI4SZOM.js → chunk.IROQ5KMI.js} +24 -1
- package/cdn/chunks/{chunk.2V3L25KR.js → chunk.J5KUYGZX.js} +1 -1
- package/cdn/chunks/{chunk.WPFRO2F3.js → chunk.JA56VM3Z.js} +1 -1
- package/cdn/chunks/{chunk.CYQIQZJW.js → chunk.JHGJY6PX.js} +1 -1
- package/cdn/chunks/{chunk.OS6HXGQN.js → chunk.K25KURIV.js} +14 -14
- package/cdn/chunks/{chunk.X7IM3QEW.js → chunk.KFEGO6UK.js} +1 -1
- package/cdn/chunks/{chunk.TYFFPF75.js → chunk.KVS4YLOR.js} +7 -2
- package/cdn/chunks/chunk.L43WS4PE.js +199 -0
- package/cdn/chunks/{chunk.6JU5COXK.js → chunk.MDTUJ5PF.js} +2 -0
- package/cdn/chunks/{chunk.4AMUMMHK.js → chunk.MILYWVXX.js} +1 -1
- package/cdn/chunks/{chunk.BA4BKE4Z.js → chunk.NAK3JRLN.js} +1 -1
- package/cdn/chunks/{chunk.6YJMFHXD.js → chunk.NBIZCATT.js} +30 -0
- package/cdn/chunks/{chunk.DQVGUB6W.js → chunk.NMQZUXDC.js} +5 -5
- package/cdn/chunks/{chunk.DHNNNXA5.js → chunk.O23T7ACS.js} +7 -9
- package/cdn/chunks/{chunk.I6GUYLJ5.js → chunk.OG6VURY2.js} +1 -1
- package/cdn/chunks/{chunk.ZZC5FXXS.js → chunk.OMTZHU6Z.js} +3 -3
- package/cdn/chunks/{chunk.TREMKCQL.js → chunk.OR25BIGS.js} +8 -19
- package/cdn/chunks/{chunk.EBONUJNQ.js → chunk.P6AXCAIZ.js} +2 -2
- package/cdn/chunks/{chunk.AGSBC7NG.js → chunk.PHX6FWGI.js} +1 -1
- package/cdn/chunks/{chunk.6LVJAJSU.js → chunk.PI6IDFTT.js} +1 -1
- package/cdn/chunks/{chunk.LLUIABYV.js → chunk.PJEZIRWR.js} +1 -1
- package/cdn/chunks/{chunk.LUW6TISZ.js → chunk.PJYI43NT.js} +3 -3
- package/cdn/chunks/{chunk.NFK3HLNV.js → chunk.PO2MPDC4.js} +2 -2
- package/cdn/chunks/{chunk.HT76M4H6.js → chunk.PUJDUSQL.js} +2 -2
- package/cdn/chunks/{chunk.D3742XUM.js → chunk.PUXPFZCL.js} +1 -1
- package/cdn/chunks/{chunk.RPE5DQV3.js → chunk.PZK4ARTY.js} +3 -2
- package/cdn/chunks/{chunk.F7JDQK4S.js → chunk.Q3L5UFXN.js} +3 -3
- package/cdn/chunks/{chunk.TFKHAQH2.js → chunk.Q47NBYPL.js} +1 -1
- package/cdn/chunks/{chunk.XY23YPTE.js → chunk.QAVFHUTW.js} +1 -1
- package/cdn/chunks/{chunk.UTGGMWFM.js → chunk.QI3Z34F3.js} +1 -1
- package/cdn/chunks/{chunk.NKGRPMTB.js → chunk.QI6C4MCQ.js} +1 -1
- package/cdn/chunks/{chunk.DRFY3ZYD.js → chunk.RBCREK7M.js} +1 -1
- package/cdn/chunks/{chunk.6UZBVLUM.js → chunk.RO655SBI.js} +2 -2
- package/cdn/chunks/{chunk.6GRHC4QP.js → chunk.S442ESGW.js} +42 -1
- package/cdn/chunks/{chunk.JNSLHUG6.js → chunk.SCX733LL.js} +1 -1
- package/cdn/chunks/{chunk.AJTIXDGD.js → chunk.SD5OYXQH.js} +1 -1
- package/cdn/chunks/{chunk.OSDQDIQK.js → chunk.SI2RABQ3.js} +4 -3
- package/cdn/chunks/{chunk.7RUDZBEW.js → chunk.SJYXVRVE.js} +7 -9
- package/cdn/chunks/{chunk.ZHVVHTSA.js → chunk.SM32TV36.js} +1 -1
- package/cdn/chunks/{chunk.ZIGZ3NHX.js → chunk.SWEVWWU3.js} +4 -4
- package/cdn/chunks/chunk.TQA5AU7V.js +186 -0
- package/cdn/chunks/{chunk.SZP4NECR.js → chunk.UIDRD6XW.js} +0 -5
- package/cdn/chunks/{chunk.PSEUH4XD.js → chunk.UIHXF3PF.js} +1 -1
- package/cdn/chunks/{chunk.7JJC4KJM.js → chunk.UMGPQSGY.js} +1 -2
- package/cdn/chunks/{chunk.WZ7EIGZK.js → chunk.VB6ZFHSB.js} +1 -1
- package/cdn/chunks/{chunk.Z67R2PEC.js → chunk.VCFEF4I5.js} +11 -0
- package/cdn/chunks/{chunk.ZKSQCNM3.js → chunk.VFOTKDNC.js} +1 -1
- package/cdn/chunks/chunk.VJ5PVQ2X.js +93 -0
- package/cdn/chunks/{chunk.TTEJCKML.js → chunk.VZ6BTUIZ.js} +1 -1
- package/cdn/chunks/{chunk.PN4WLCJ3.js → chunk.W6E5ULU7.js} +11 -8
- package/cdn/chunks/chunk.WFSNJLGP.js +50 -0
- package/cdn/chunks/{chunk.ITVH52VV.js → chunk.WZMY5NAQ.js} +1 -1
- package/cdn/chunks/{chunk.PYSLOYV4.js → chunk.XGEEGV5B.js} +1 -1
- package/cdn/chunks/{chunk.4GD5XLM6.js → chunk.XPDOQQDL.js} +8 -1
- package/cdn/chunks/{chunk.JXSDPG7W.js → chunk.XTZ2D4IK.js} +1 -1
- package/cdn/chunks/{chunk.LBZAIC7T.js → chunk.YHV2WTJ7.js} +1 -1
- package/cdn/chunks/{chunk.DUVDKUAG.js → chunk.YJD2UDAJ.js} +1 -1
- package/cdn/chunks/{chunk.53B47UTB.js → chunk.YSA4DTJQ.js} +2 -1
- package/cdn/chunks/{chunk.7ZWULAGR.js → chunk.Z6MSABHO.js} +1 -3
- package/cdn/chunks/{chunk.NTBWT2CY.js → chunk.ZHOXGYKI.js} +1 -1
- package/cdn/chunks/{chunk.4NCJ5UUW.js → chunk.ZI6HZEZQ.js} +1 -2
- package/cdn/components/accordion/accordion.js +3 -3
- package/cdn/components/accordion/accordion.styles.js +1 -1
- package/cdn/components/accordion-group/accordion-group.js +4 -4
- package/cdn/components/alert/alert.js +4 -4
- package/cdn/components/badge/badge.js +2 -2
- package/cdn/components/badge/badge.styles.js +1 -1
- package/cdn/components/breadcrumb/breadcrumb.js +2 -2
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +2 -2
- package/cdn/components/button/button.js +3 -3
- package/cdn/components/calendar/calendar.js +2 -2
- package/cdn/components/callout/callout.js +2 -2
- package/cdn/components/card-content/card-content.d.ts +1 -1
- package/cdn/components/card-content/card-content.js +2 -2
- package/cdn/components/card-content/card-content.styles.js +1 -1
- package/cdn/components/card-nav-accordion/card-nav-accordion.js +2 -2
- package/cdn/components/checkbox/checkbox.js +8 -8
- package/cdn/components/checkbox/checkbox.styles.js +2 -2
- package/cdn/components/checkbox-button/checkbox-button.js +7 -7
- package/cdn/components/checkbox-group/checkbox-group.js +6 -6
- package/cdn/components/checkbox-group/checkbox-group.styles.js +2 -2
- package/cdn/components/combobox/combobox.js +14 -13
- package/cdn/components/combobox/combobox.styles.js +2 -2
- package/cdn/components/dialog/dialog.js +4 -4
- package/cdn/components/drawer/drawer.js +4 -4
- package/cdn/components/dropdown/dropdown.js +2 -2
- package/cdn/components/error-message-panel/error-message-panel.js +2 -2
- package/cdn/components/error-text/error-text.d.ts +2 -0
- package/cdn/components/error-text/error-text.js +2 -2
- package/cdn/components/error-text/error-text.styles.js +1 -1
- package/cdn/components/error-text/error-text.utils.d.ts +1 -1
- package/cdn/components/error-text/error-text.utils.js +1 -1
- package/cdn/components/fieldset/fieldset.js +1 -1
- package/cdn/components/file-upload/file-upload.js +7 -7
- package/cdn/components/file-upload/file-upload.styles.js +2 -2
- package/cdn/components/file-upload-item/file-upload-item.js +4 -4
- package/cdn/components/filter-button/filter-button.js +4 -4
- package/cdn/components/filter-counter/filter-counter.js +26 -26
- package/cdn/components/filter-date/filter-date.js +11 -11
- package/cdn/components/filter-range/filter-range.js +26 -26
- package/cdn/components/filter-select/filter-select.js +27 -27
- package/cdn/components/footer/footer.js +2 -2
- package/cdn/components/format-bytes/format-bytes.js +2 -2
- package/cdn/components/format-date/format-date.js +2 -2
- package/cdn/components/format-number/format-number.js +2 -2
- package/cdn/components/header/header.js +2 -2
- package/cdn/components/header-search/header-search.d.ts +7 -9
- package/cdn/components/header-search/header-search.js +12 -7
- package/cdn/components/header-search/header-search.styles.js +1 -1
- package/cdn/components/icon-button/icon-button.d.ts +2 -0
- package/cdn/components/icon-button/icon-button.js +2 -2
- package/cdn/components/icon-button/icon-button.styles.js +1 -1
- package/cdn/components/input/input.js +19 -19
- package/cdn/components/input-amount/input-amount.js +12 -12
- package/cdn/components/input-amount/input-amount.styles.js +3 -3
- package/cdn/components/input-date/input-date.d.ts +1 -1
- package/cdn/components/input-date/input-date.js +14 -14
- package/cdn/components/input-date/input-date.styles.js +3 -3
- package/cdn/components/input-mask/input-mask.js +10 -10
- package/cdn/components/input-mask/input-mask.styles.js +3 -3
- package/cdn/components/input-native/input-native.js +12 -12
- package/cdn/components/input-native/input-native.styles.js +3 -3
- package/cdn/components/input-otp/input-otp.js +10 -10
- package/cdn/components/input-otp/input-otp.styles.js +2 -2
- package/cdn/components/input-phone/input-phone.js +17 -16
- package/cdn/components/input-phone/input-phone.styles.js +2 -2
- package/cdn/components/input-time/input-time.d.ts +1 -1
- package/cdn/components/input-time/input-time.js +12 -12
- package/cdn/components/input-time/input-time.styles.js +3 -3
- package/cdn/components/menu-accordion/menu-accordion.d.ts +16 -1
- package/cdn/components/menu-accordion/menu-accordion.js +7 -3
- package/cdn/components/menu-accordion/menu-accordion.styles.js +1 -1
- package/cdn/components/menu-item/menu-item.d.ts +7 -2
- package/cdn/components/menu-item/menu-item.js +11 -8
- package/cdn/components/menu-item/menu-item.styles.js +1 -1
- package/cdn/components/menu-label/menu-label.js +2 -2
- package/cdn/components/menu-label/menu-label.styles.js +1 -1
- package/cdn/components/menu-navigation/menu-navigation.js +1 -1
- package/cdn/components/navbar-link/navbar-link.js +1 -1
- package/cdn/components/navbar-menu/navbar-menu.js +3 -3
- package/cdn/components/option/option.js +2 -2
- package/cdn/components/page-header/page-header.d.ts +2 -0
- package/cdn/components/page-header/page-header.js +2 -2
- package/cdn/components/page-header/page-header.styles.js +1 -1
- package/cdn/components/pagination/pagination.js +20 -20
- package/cdn/components/profile-button/profile-button.js +4 -4
- package/cdn/components/progress-bar/progress-bar.js +2 -2
- package/cdn/components/quote/quote.js +2 -2
- package/cdn/components/radio-button/radio-button.js +7 -7
- package/cdn/components/radio-card/radio-card.js +7 -7
- package/cdn/components/radio-group/radio-group.js +6 -6
- package/cdn/components/radio-group/radio-group.styles.js +2 -2
- package/cdn/components/relative-time/relative-time.js +2 -2
- package/cdn/components/search/search.d.ts +58 -0
- package/cdn/components/search/search.js +33 -0
- package/cdn/components/search/search.styles.d.ts +2 -0
- package/cdn/components/search/search.styles.js +10 -0
- package/cdn/components/select/select.js +13 -12
- package/cdn/components/select/select.styles.js +2 -2
- package/cdn/components/sidenav/sidenav.d.ts +49 -0
- package/cdn/components/sidenav/sidenav.js +32 -0
- package/cdn/components/sidenav/sidenav.styles.d.ts +2 -0
- package/cdn/components/sidenav/sidenav.styles.js +10 -0
- package/cdn/components/skip-links/skip-links.js +2 -2
- package/cdn/components/spinner/spinner.js +2 -2
- package/cdn/components/split-panel/split-panel.js +2 -2
- package/cdn/components/step/step.js +3 -3
- package/cdn/components/switch/switch.d.ts +4 -0
- package/cdn/components/switch/switch.js +4 -4
- package/cdn/components/switch/switch.styles.js +1 -1
- package/cdn/components/tab/tab.js +4 -4
- package/cdn/components/tab-group/tab-group.js +4 -4
- package/cdn/components/table-action/table-action.d.ts +0 -1
- package/cdn/components/table-action/table-action.js +3 -4
- package/cdn/components/table-action/table-action.styles.js +1 -1
- package/cdn/components/table-body/table-body.js +2 -2
- package/cdn/components/table-caption/table-caption.js +2 -2
- package/cdn/components/table-container/table-container.js +3 -3
- package/cdn/components/table-container/table-container.styles.js +1 -1
- package/cdn/components/table-header-cell/table-header-cell.js +2 -2
- package/cdn/components/table-header-row/table-header-row.d.ts +2 -0
- package/cdn/components/table-header-row/table-header-row.js +16 -16
- package/cdn/components/table-of-contents/table-of-contents.js +2 -2
- package/cdn/components/table-row/table-row.js +12 -12
- package/cdn/components/tag/tag-variants.d.ts +2 -0
- package/cdn/components/tag/tag-variants.js +9 -0
- package/cdn/components/tag/tag.d.ts +2 -1
- package/cdn/components/tag/tag.js +6 -5
- package/cdn/components/tag/tag.styles.js +1 -1
- package/cdn/components/textarea/textarea.js +7 -7
- package/cdn/components/textarea/textarea.styles.js +2 -2
- package/cdn/components/tooltip/tooltip.js +2 -2
- package/cdn/components/tree/tree.d.ts +0 -1
- package/cdn/components/tree/tree.js +13 -13
- package/cdn/components/tree-item/tree-item.js +12 -12
- package/cdn/components/tree-item/tree-item.styles.js +1 -1
- package/cdn/custom-elements.json +1264 -580
- package/cdn/design-system.d.ts +2 -0
- package/cdn/design-system.js +168 -157
- package/cdn/internal/components/form-control/form-control-layout.d.ts +1 -1
- package/cdn/internal/components/form-control/form-control-layout.js +2 -1
- package/cdn/internal/components/input-base/input-base.styles.js +41 -0
- package/cdn/styles/form-control.styles.js +11 -0
- package/cdn/themes/dsa-wc-theme.css +229 -131
- package/cdn/themes/dsa-wc-theme.min.css +1 -1
- package/cdn/themes/dsa-wc-theme.styles.js +233 -113
- 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 +3 -0
- package/cdn/utilities/localize.js +1 -1
- package/cdn/vscode.html-custom-data.json +114 -42
- package/cdn/web-types.json +467 -60
- package/dist/chunks/chunk.2BFULL4S.js +91 -0
- package/dist/chunks/{chunk.MIYT3FL6.js → chunk.2X26TEKN.js} +1 -1
- package/dist/chunks/{chunk.L6W3CYD4.js → chunk.3ZD3V2KP.js} +3 -3
- package/dist/chunks/{chunk.JON4U643.js → chunk.42QDYDUA.js} +7 -0
- package/dist/chunks/{chunk.NLA75JL2.js → chunk.4EHJHIX6.js} +1 -1
- package/dist/chunks/chunk.4UJ22ZMT.js +180 -0
- package/dist/chunks/{chunk.2M2IP243.js → chunk.5AUORSHY.js} +3 -3
- package/dist/chunks/{chunk.5R72UMFK.js → chunk.5FNJFIAP.js} +1 -2
- package/dist/chunks/{chunk.22OCLFM3.js → chunk.5NAZU6VJ.js} +1 -1
- package/dist/chunks/{chunk.BND7D2NW.js → chunk.5NUD3TZO.js} +0 -5
- package/dist/chunks/{chunk.XCN5K2XF.js → chunk.5P4H33F3.js} +1 -1
- package/dist/chunks/{chunk.AUFE5P4K.js → chunk.64JDAZJD.js} +1 -1
- package/dist/chunks/{chunk.VQE5HKSZ.js → chunk.6BNYXFNI.js} +42 -1
- package/dist/chunks/{chunk.TMEVQJFZ.js → chunk.6OU7PEJ7.js} +1 -1
- package/dist/chunks/{chunk.IZBHR7GP.js → chunk.6QDM5FUA.js} +3 -2
- package/dist/chunks/{chunk.F5YZY7IA.js → chunk.6WYYBTGI.js} +1 -1
- package/dist/chunks/{chunk.WFE6XYFE.js → chunk.75YDRKLZ.js} +1 -1
- package/dist/chunks/{chunk.4WSA3PVB.js → chunk.7DOBADZS.js} +8 -1
- package/dist/chunks/{chunk.KCCJOS36.js → chunk.7IDXYS74.js} +1 -1
- package/dist/chunks/{chunk.XE4ZWLIV.js → chunk.A3C6TXYJ.js} +1 -1
- package/dist/chunks/{chunk.4W3KHK6H.js → chunk.ACK66ARL.js} +11 -3
- package/dist/chunks/{chunk.F5MJDN3I.js → chunk.APAY54SU.js} +2 -2
- package/dist/chunks/{chunk.UASOW27F.js → chunk.ASXUQYKD.js} +8 -19
- package/dist/chunks/{chunk.V4QSKSKY.js → chunk.AV4NDZ53.js} +3 -3
- package/dist/chunks/{chunk.C7BO57Z2.js → chunk.AZSX7X74.js} +1 -1
- package/dist/chunks/{chunk.X2YGBYH3.js → chunk.B2VWC53K.js} +85 -28
- package/dist/chunks/{chunk.WQ2FYG4C.js → chunk.BGECKQA7.js} +7 -4
- package/dist/chunks/{chunk.F5ZP4HRG.js → chunk.BIOPGPFI.js} +4 -4
- package/dist/chunks/{chunk.S6U34E3B.js → chunk.BKVGENKT.js} +1 -1
- package/dist/chunks/{chunk.5R6YK6UH.js → chunk.BN2N444O.js} +2 -0
- package/dist/chunks/{chunk.YJFPZYLA.js → chunk.BOVPSNQV.js} +3 -3
- package/dist/chunks/{chunk.Q5LSLQYU.js → chunk.CISPPQE6.js} +24 -1
- package/dist/chunks/{chunk.WKVCQRI3.js → chunk.DAJGCL4G.js} +14 -14
- package/dist/chunks/{chunk.TRF5X2OX.js → chunk.DNAC7QQY.js} +1 -1
- package/dist/chunks/{chunk.DRDLQHBU.js → chunk.DRR77YKL.js} +8 -3
- package/dist/chunks/{chunk.HLW42LP2.js → chunk.EH4P2PAK.js} +1 -1
- package/dist/chunks/{chunk.6KQTEZWQ.js → chunk.EHTCYJUT.js} +11 -0
- package/dist/chunks/{chunk.TZTE7NZH.js → chunk.EVZPPU4T.js} +22 -92
- package/dist/chunks/{chunk.TGSYVYXC.js → chunk.EXD4UGIK.js} +8 -3
- package/dist/chunks/{chunk.4TZQFWYO.js → chunk.EXZKCBM2.js} +1 -1
- package/dist/chunks/{chunk.SQKLY4C5.js → chunk.FEJKESAK.js} +25 -1
- package/dist/chunks/{chunk.3DPENH5I.js → chunk.FUWX57HR.js} +1 -2
- package/dist/chunks/{chunk.KEJKTQP6.js → chunk.FX2CWZWY.js} +5 -0
- package/dist/chunks/{chunk.JRNQCQZ6.js → chunk.G2TZ2WRC.js} +2 -1
- package/dist/chunks/{chunk.BSQBGWA5.js → chunk.GZLUKU6W.js} +1 -1
- package/dist/chunks/{chunk.ZF4F6GS4.js → chunk.IY63XRZU.js} +1 -1
- package/dist/chunks/chunk.J7TEQIPK.js +197 -0
- package/dist/chunks/{chunk.DGRP6NIE.js → chunk.JOYIBNCU.js} +1 -1
- package/dist/chunks/{chunk.3XRQRY25.js → chunk.JSOEKBRU.js} +5 -1
- package/dist/chunks/{chunk.GU7M3YZL.js → chunk.KM2R3DVU.js} +1 -1
- package/dist/chunks/{chunk.QS6HEROR.js → chunk.KP4V4E7A.js} +25 -0
- package/dist/chunks/{chunk.4LRLYTU2.js → chunk.KZBMMXBH.js} +20 -0
- package/dist/chunks/{chunk.3VBHRND2.js → chunk.KZYUFD57.js} +35 -21
- package/dist/chunks/{chunk.MIOQ72YC.js → chunk.LF5OW4Q2.js} +1 -1
- package/dist/chunks/{chunk.3VPMYLIQ.js → chunk.LGIV2ORI.js} +1 -1
- package/dist/chunks/{chunk.Q4EYFRM4.js → chunk.LRK3TXL6.js} +1 -1
- package/dist/chunks/{chunk.JMI76HD4.js → chunk.LSXTU3B7.js} +3 -3
- package/dist/chunks/{chunk.4C27VRHP.js → chunk.LT57I36B.js} +1 -1
- package/dist/chunks/{chunk.KF3RQTZS.js → chunk.LTRUDJQX.js} +1 -1
- package/dist/chunks/{chunk.ALER4ICK.js → chunk.MBXPU4IH.js} +3 -3
- package/dist/chunks/{chunk.P6F4V2WC.js → chunk.MC4VR5SF.js} +1 -1
- package/dist/chunks/{chunk.NTZRDWUL.js → chunk.MGUTN2EW.js} +1 -1
- package/dist/chunks/{chunk.GCYENPC4.js → chunk.MHFU7RYF.js} +1 -1
- package/dist/chunks/{chunk.SK3KWU2I.js → chunk.N3JDTZGM.js} +6 -0
- package/dist/chunks/chunk.N3XLPLEX.js +218 -0
- package/dist/chunks/{chunk.7APL3BFH.js → chunk.NJPFD5VP.js} +2 -2
- package/dist/chunks/{chunk.KOVXCQ7N.js → chunk.NPBB5F3W.js} +11 -8
- package/dist/chunks/{chunk.6T2YC247.js → chunk.NUWANZB6.js} +4 -2
- package/dist/chunks/{chunk.YGWSCW2R.js → chunk.NZYYIPXD.js} +7 -2
- package/dist/chunks/{chunk.OXYSNELC.js → chunk.OALTSDOF.js} +1 -1
- package/dist/chunks/{chunk.JMC37GFN.js → chunk.OHHVC2MR.js} +1 -1
- package/dist/chunks/{chunk.G5UGZLXK.js → chunk.OMN7S5EJ.js} +1 -1
- package/dist/chunks/{chunk.RRF5FP5T.js → chunk.P5RLKSS2.js} +1 -1
- package/dist/chunks/{chunk.4H63REQH.js → chunk.PFEA4LHL.js} +4 -3
- package/dist/chunks/{chunk.LQFGKDZ2.js → chunk.PMOOV7DL.js} +5 -5
- package/dist/chunks/{chunk.UVHW7PER.js → chunk.Q6WSFDAH.js} +1 -1
- package/dist/chunks/{chunk.GSKMPYLG.js → chunk.QEXDSP5Y.js} +30 -0
- package/dist/chunks/{chunk.ZCC67O7A.js → chunk.QFLN5YC3.js} +1 -3
- package/dist/chunks/{chunk.KE2YIQBY.js → chunk.QMD3WQ6X.js} +1 -1
- package/dist/chunks/{chunk.O7CMVOYT.js → chunk.R6EZO2TX.js} +2 -16
- package/dist/chunks/{chunk.GAWEZKA4.js → chunk.RFVSJPI2.js} +1 -1
- package/dist/chunks/{chunk.WJVUWDD3.js → chunk.S2T7P35F.js} +1 -1
- package/dist/chunks/chunk.S55U4A2J.js +35 -0
- package/dist/chunks/{chunk.NWCZDJRW.js → chunk.S5KHLSIS.js} +2 -2
- package/dist/chunks/{chunk.3IO4OYE5.js → chunk.SHJWL34V.js} +2 -2
- package/dist/chunks/{chunk.LBL4MF5O.js → chunk.SLK36LT4.js} +11 -2
- package/dist/chunks/{chunk.D5NED4A7.js → chunk.SN6UWYPR.js} +1 -1
- package/dist/chunks/{chunk.5M3PNLFK.js → chunk.SQBBBPCT.js} +1 -1
- package/dist/chunks/{chunk.SQN6J7NO.js → chunk.TI4TWPK4.js} +12 -2
- package/dist/chunks/{chunk.SO24QHVD.js → chunk.TIOKAREG.js} +2 -2
- package/dist/chunks/{chunk.64WIFBWM.js → chunk.TRL4P2I3.js} +1 -1
- package/dist/chunks/{chunk.U4YHIBOA.js → chunk.TTKJ6GEE.js} +1 -1
- package/dist/chunks/{chunk.DIPKIYCI.js → chunk.U7YRSU64.js} +1 -1
- package/dist/chunks/chunk.UCEUZIH3.js +149 -0
- package/dist/chunks/{chunk.SWGCRIQY.js → chunk.UHB6OMQ5.js} +1 -1
- package/dist/chunks/{chunk.PKLEQQED.js → chunk.UJA4LKHS.js} +1 -1
- package/dist/chunks/{chunk.TL57GYVH.js → chunk.UXRWPABH.js} +5 -2
- package/dist/chunks/{chunk.2IZN2PB2.js → chunk.V4DBHCM5.js} +1 -1
- package/dist/chunks/{chunk.M4QIQSRQ.js → chunk.VIHLSHXH.js} +3 -3
- package/dist/chunks/{chunk.ECEBZG4J.js → chunk.VNSUZ3DB.js} +1 -1
- package/dist/chunks/{chunk.TQVU3XMF.js → chunk.VS3EEOTM.js} +1 -1
- package/dist/chunks/{chunk.T6GMY73C.js → chunk.WFPXD3HS.js} +5 -5
- package/dist/chunks/chunk.WFSNJLGP.js +50 -0
- package/dist/chunks/{chunk.HO5SDSRD.js → chunk.WKWUSTM5.js} +4 -3
- package/dist/chunks/{chunk.MZF3NKUN.js → chunk.WSUEW3PY.js} +1 -1
- package/dist/chunks/{chunk.4URWC2X6.js → chunk.WXIWEJWG.js} +1 -1
- package/dist/chunks/{chunk.IRB6RKPB.js → chunk.X62TO5PD.js} +7 -9
- package/dist/chunks/{chunk.CKLF64MV.js → chunk.XSOVJYEE.js} +8 -3
- package/dist/chunks/{chunk.NZK2GET6.js → chunk.XUF2TGYG.js} +2 -3
- package/dist/chunks/{chunk.Q554T7OG.js → chunk.XZ3J3IG7.js} +2 -2
- package/dist/chunks/{chunk.7Y6EREAO.js → chunk.Y5ZRM5BM.js} +1 -1
- package/dist/chunks/{chunk.QNSYKNEY.js → chunk.Y73QDSJF.js} +1 -2
- package/dist/chunks/{chunk.EI5YI3SN.js → chunk.YITLAHPM.js} +7 -9
- package/dist/chunks/{chunk.FFOGTR5J.js → chunk.YKFBADA2.js} +1 -1
- package/dist/chunks/{chunk.P4RIY6RD.js → chunk.Z6Q46NWH.js} +1 -1
- package/dist/chunks/{chunk.EUAQCNT2.js → chunk.ZEDZQGWQ.js} +1 -1
- package/dist/chunks/{chunk.GM2K57YA.js → chunk.ZNBZAGXP.js} +1 -1
- package/dist/components/accordion/accordion.js +3 -3
- package/dist/components/accordion/accordion.styles.js +1 -1
- package/dist/components/accordion-group/accordion-group.js +4 -4
- package/dist/components/alert/alert.js +4 -4
- package/dist/components/badge/badge.js +2 -2
- package/dist/components/badge/badge.styles.js +1 -1
- 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/callout/callout.js +2 -2
- package/dist/components/card-content/card-content.d.ts +1 -1
- package/dist/components/card-content/card-content.js +2 -2
- package/dist/components/card-content/card-content.styles.js +1 -1
- package/dist/components/card-nav-accordion/card-nav-accordion.js +2 -2
- package/dist/components/checkbox/checkbox.js +8 -8
- package/dist/components/checkbox/checkbox.styles.js +2 -2
- package/dist/components/checkbox-button/checkbox-button.js +7 -7
- package/dist/components/checkbox-group/checkbox-group.js +6 -6
- package/dist/components/checkbox-group/checkbox-group.styles.js +2 -2
- package/dist/components/combobox/combobox.js +14 -13
- package/dist/components/combobox/combobox.styles.js +2 -2
- package/dist/components/dialog/dialog.js +4 -4
- package/dist/components/drawer/drawer.js +4 -4
- package/dist/components/dropdown/dropdown.js +2 -2
- package/dist/components/error-message-panel/error-message-panel.js +2 -2
- package/dist/components/error-text/error-text.d.ts +2 -0
- package/dist/components/error-text/error-text.js +2 -2
- package/dist/components/error-text/error-text.styles.js +1 -1
- package/dist/components/error-text/error-text.utils.d.ts +1 -1
- package/dist/components/error-text/error-text.utils.js +1 -1
- package/dist/components/fieldset/fieldset.js +1 -1
- package/dist/components/file-upload/file-upload.js +7 -7
- package/dist/components/file-upload/file-upload.styles.js +2 -2
- package/dist/components/file-upload-item/file-upload-item.js +4 -4
- package/dist/components/filter-button/filter-button.js +4 -4
- package/dist/components/filter-counter/filter-counter.js +26 -26
- package/dist/components/filter-date/filter-date.js +11 -11
- package/dist/components/filter-range/filter-range.js +26 -26
- package/dist/components/filter-select/filter-select.js +27 -27
- 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-search/header-search.d.ts +7 -9
- package/dist/components/header-search/header-search.js +12 -7
- package/dist/components/header-search/header-search.styles.js +1 -1
- package/dist/components/icon-button/icon-button.d.ts +2 -0
- package/dist/components/icon-button/icon-button.js +2 -2
- package/dist/components/icon-button/icon-button.styles.js +1 -1
- package/dist/components/input/input.js +19 -19
- package/dist/components/input-amount/input-amount.js +12 -12
- package/dist/components/input-amount/input-amount.styles.js +3 -3
- package/dist/components/input-date/input-date.d.ts +1 -1
- package/dist/components/input-date/input-date.js +14 -14
- package/dist/components/input-date/input-date.styles.js +3 -3
- package/dist/components/input-mask/input-mask.js +10 -10
- package/dist/components/input-mask/input-mask.styles.js +3 -3
- package/dist/components/input-native/input-native.js +12 -12
- package/dist/components/input-native/input-native.styles.js +3 -3
- package/dist/components/input-otp/input-otp.js +10 -10
- package/dist/components/input-otp/input-otp.styles.js +2 -2
- package/dist/components/input-phone/input-phone.js +17 -16
- package/dist/components/input-phone/input-phone.styles.js +2 -2
- package/dist/components/input-time/input-time.d.ts +1 -1
- package/dist/components/input-time/input-time.js +12 -12
- package/dist/components/input-time/input-time.styles.js +3 -3
- package/dist/components/menu-accordion/menu-accordion.d.ts +16 -1
- package/dist/components/menu-accordion/menu-accordion.js +7 -3
- package/dist/components/menu-accordion/menu-accordion.styles.js +1 -1
- package/dist/components/menu-item/menu-item.d.ts +7 -2
- package/dist/components/menu-item/menu-item.js +10 -8
- package/dist/components/menu-item/menu-item.styles.js +1 -1
- package/dist/components/menu-label/menu-label.js +2 -2
- package/dist/components/menu-label/menu-label.styles.js +1 -1
- package/dist/components/menu-navigation/menu-navigation.js +1 -1
- package/dist/components/navbar-link/navbar-link.js +1 -1
- package/dist/components/navbar-menu/navbar-menu.js +3 -3
- package/dist/components/option/option.js +2 -2
- package/dist/components/page-header/page-header.d.ts +2 -0
- package/dist/components/page-header/page-header.js +2 -2
- package/dist/components/page-header/page-header.styles.js +1 -1
- package/dist/components/pagination/pagination.js +20 -20
- package/dist/components/profile-button/profile-button.js +4 -4
- package/dist/components/progress-bar/progress-bar.js +2 -2
- package/dist/components/quote/quote.js +2 -2
- package/dist/components/radio-button/radio-button.js +7 -7
- package/dist/components/radio-card/radio-card.js +7 -7
- package/dist/components/radio-group/radio-group.js +6 -6
- 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.d.ts +58 -0
- package/dist/components/search/search.js +26 -0
- package/dist/components/search/search.styles.d.ts +2 -0
- package/dist/components/search/search.styles.js +8 -0
- package/dist/components/select/select.js +13 -12
- package/dist/components/select/select.styles.js +2 -2
- package/dist/components/sidenav/sidenav.d.ts +49 -0
- package/dist/components/sidenav/sidenav.js +28 -0
- package/dist/components/sidenav/sidenav.styles.d.ts +2 -0
- package/dist/components/sidenav/sidenav.styles.js +8 -0
- 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 +3 -3
- package/dist/components/switch/switch.d.ts +4 -0
- package/dist/components/switch/switch.js +4 -4
- package/dist/components/switch/switch.styles.js +1 -1
- package/dist/components/tab/tab.js +4 -4
- package/dist/components/tab-group/tab-group.js +4 -4
- package/dist/components/table-action/table-action.d.ts +0 -1
- package/dist/components/table-action/table-action.js +3 -4
- package/dist/components/table-action/table-action.styles.js +1 -1
- package/dist/components/table-body/table-body.js +2 -2
- package/dist/components/table-caption/table-caption.js +2 -2
- package/dist/components/table-container/table-container.js +3 -3
- package/dist/components/table-container/table-container.styles.js +1 -1
- package/dist/components/table-header-cell/table-header-cell.js +2 -2
- package/dist/components/table-header-row/table-header-row.d.ts +2 -0
- package/dist/components/table-header-row/table-header-row.js +16 -16
- package/dist/components/table-of-contents/table-of-contents.js +2 -2
- package/dist/components/table-row/table-row.js +12 -12
- package/dist/components/tag/tag-variants.d.ts +2 -0
- package/dist/components/tag/tag-variants.js +9 -0
- package/dist/components/tag/tag.d.ts +2 -1
- package/dist/components/tag/tag.js +6 -5
- package/dist/components/tag/tag.styles.js +1 -1
- package/dist/components/textarea/textarea.js +7 -7
- package/dist/components/textarea/textarea.styles.js +2 -2
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/components/tree/tree.d.ts +0 -1
- package/dist/components/tree/tree.js +13 -13
- package/dist/components/tree-item/tree-item.js +12 -12
- package/dist/components/tree-item/tree-item.styles.js +1 -1
- package/dist/custom-elements.json +1264 -580
- package/dist/design-system.d.ts +2 -0
- package/dist/design-system.js +168 -157
- package/dist/internal/components/form-control/form-control-layout.d.ts +1 -1
- package/dist/internal/components/form-control/form-control-layout.js +2 -1
- package/dist/internal/components/input-base/input-base.styles.js +41 -0
- package/dist/styles/form-control.styles.js +11 -0
- package/dist/themes/dsa-wc-theme.css +229 -131
- package/dist/themes/dsa-wc-theme.min.css +1 -1
- package/dist/themes/dsa-wc-theme.styles.js +233 -113
- 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 +3 -0
- package/dist/utilities/localize.js +1 -1
- package/dist/vscode.html-custom-data.json +114 -42
- package/dist/web-types.json +467 -60
- package/package.json +2 -2
- package/cdn/chunks/chunk.4NTCF65I.js +0 -91
- package/cdn/chunks/chunk.BPTOLQO5.js +0 -94
- package/dist/chunks/chunk.HRIAHWFV.js +0 -89
- package/dist/chunks/chunk.JGDAZAC5.js +0 -92
- package/cdn/chunks/{chunk.RUOVZAV3.js → chunk.PPXDIPEB.js} +3 -3
- package/cdn/chunks/{chunk.UTRP3G7E.js → chunk.QMXNHAS2.js} +3 -3
- package/dist/chunks/{chunk.GEWIMBEO.js → chunk.7QLR3F26.js} +3 -3
- package/dist/chunks/{chunk.CYT2OFOL.js → chunk.BHYZVOLJ.js} +3 -3
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
menu_item_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.2AGKTM6V.js";
|
|
4
4
|
import {
|
|
5
|
+
HasSlotController,
|
|
5
6
|
getTextContent
|
|
6
7
|
} from "./chunk.YIY5RM53.js";
|
|
7
8
|
import {
|
|
@@ -34,17 +35,21 @@ import {
|
|
|
34
35
|
var DSAMenuItem = class extends ShoelaceElement {
|
|
35
36
|
constructor() {
|
|
36
37
|
super(...arguments);
|
|
38
|
+
this.hasSlotController = new HasSlotController(this, "prefix");
|
|
37
39
|
this.type = "button";
|
|
38
40
|
this.size = "medium";
|
|
39
41
|
this.disabled = false;
|
|
40
42
|
this.href = "";
|
|
41
43
|
this.rel = "noreferrer noopener";
|
|
44
|
+
this.collapsed = false;
|
|
42
45
|
}
|
|
43
46
|
connectedCallback() {
|
|
44
47
|
super.connectedCallback();
|
|
45
48
|
this.handleHostClick = this.handleHostClick.bind(this);
|
|
46
49
|
this.addEventListener("click", this.handleHostClick);
|
|
47
|
-
this.
|
|
50
|
+
if (!this.hasAttribute("role")) {
|
|
51
|
+
this.setAttribute("role", "listitem");
|
|
52
|
+
}
|
|
48
53
|
}
|
|
49
54
|
disconnectedCallback() {
|
|
50
55
|
super.disconnectedCallback();
|
|
@@ -89,35 +94,41 @@ var DSAMenuItem = class extends ShoelaceElement {
|
|
|
89
94
|
}
|
|
90
95
|
render() {
|
|
91
96
|
const tag = this.type === "link" ? i`a` : i`button`;
|
|
97
|
+
if (this.collapsed && !this.hasSlotController.test("prefix")) {
|
|
98
|
+
return u``;
|
|
99
|
+
}
|
|
92
100
|
return u`
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
101
|
+
<dsa-tooltip placement="right" hoist content=${this.getTextLabel()} ?disabled=${!this.collapsed}>
|
|
102
|
+
<${tag}
|
|
103
|
+
part="base"
|
|
104
|
+
class=${e2({
|
|
96
105
|
"menu-item": true,
|
|
97
106
|
"menu-item--small": this.size === "small",
|
|
98
107
|
"menu-item--medium": this.size === "medium",
|
|
99
108
|
"menu-item--large": this.size === "large",
|
|
100
109
|
"menu-item--disabled": this.disabled,
|
|
101
110
|
"menu-item--button": this.type === "button",
|
|
102
|
-
"menu-item--link": this.type === "link"
|
|
111
|
+
"menu-item--link": this.type === "link",
|
|
112
|
+
"menu-item--collapsed": this.collapsed
|
|
103
113
|
})}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
114
|
+
href=${o(this.type === "link" ? this.href : void 0)}
|
|
115
|
+
target=${o(this.type === "link" ? this.target : void 0)}
|
|
116
|
+
rel=${o(this.type === "link" ? this.rel : void 0)}
|
|
117
|
+
download=${o(this.type === "link" ? this.download : void 0)}
|
|
118
|
+
aria-current=${ifDefinedAndNotEmpty(this.current)}
|
|
119
|
+
tabindex=${o(this.disabled ? "-1" : void 0)}
|
|
120
|
+
>
|
|
121
|
+
<slot name="prefix" part="prefix" class="menu-item__prefix"></slot>
|
|
112
122
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
123
|
+
<slot
|
|
124
|
+
part="label"
|
|
125
|
+
class="menu-item__label"
|
|
126
|
+
@slotchange=${this.handleDefaultSlotChange}
|
|
127
|
+
></slot>
|
|
118
128
|
|
|
119
|
-
|
|
120
|
-
|
|
129
|
+
<slot name="suffix" part="suffix" class="menu-item__suffix"></slot>
|
|
130
|
+
</${tag}>
|
|
131
|
+
</dsa-tooltip>
|
|
121
132
|
`;
|
|
122
133
|
}
|
|
123
134
|
};
|
|
@@ -152,6 +163,9 @@ __decorateClass([
|
|
|
152
163
|
__decorateClass([
|
|
153
164
|
n()
|
|
154
165
|
], DSAMenuItem.prototype, "current", 2);
|
|
166
|
+
__decorateClass([
|
|
167
|
+
n({ type: Boolean, reflect: true })
|
|
168
|
+
], DSAMenuItem.prototype, "collapsed", 2);
|
|
155
169
|
__decorateClass([
|
|
156
170
|
watch("disabled")
|
|
157
171
|
], DSAMenuItem.prototype, "handleDisabledChange", 1);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
page_header_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.B2BEAIE7.js";
|
|
4
4
|
import {
|
|
5
5
|
HasSlotController
|
|
6
6
|
} from "./chunk.YIY5RM53.js";
|
|
@@ -34,6 +34,7 @@ var DSAPageHeader = class extends ShoelaceElement {
|
|
|
34
34
|
"secondary-text"
|
|
35
35
|
);
|
|
36
36
|
this.mobile = false;
|
|
37
|
+
this.reduced = false;
|
|
37
38
|
}
|
|
38
39
|
render() {
|
|
39
40
|
return x`
|
|
@@ -42,11 +43,12 @@ var DSAPageHeader = class extends ShoelaceElement {
|
|
|
42
43
|
class=${e({
|
|
43
44
|
"page-header": true,
|
|
44
45
|
"page-header--mobile": this.mobile === true,
|
|
45
|
-
"page-header--desktop": this.mobile === false
|
|
46
|
+
"page-header--desktop": this.mobile === false,
|
|
47
|
+
"page-header--reduced": this.reduced === true
|
|
46
48
|
})}
|
|
47
49
|
>
|
|
48
50
|
<div class="page-header__container">
|
|
49
|
-
<slot name="breadcrumb"></slot>
|
|
51
|
+
<slot name="breadcrumb" class="breadcrumb"></slot>
|
|
50
52
|
<slot
|
|
51
53
|
name="backlink"
|
|
52
54
|
class=${ifDefinedAndNotEmpty(
|
|
@@ -84,6 +86,9 @@ DSAPageHeader.styles = page_header_styles_default;
|
|
|
84
86
|
__decorateClass([
|
|
85
87
|
n({ type: Boolean })
|
|
86
88
|
], DSAPageHeader.prototype, "mobile", 2);
|
|
89
|
+
__decorateClass([
|
|
90
|
+
n({ type: Boolean })
|
|
91
|
+
], DSAPageHeader.prototype, "reduced", 2);
|
|
87
92
|
DSAPageHeader = __decorateClass([
|
|
88
93
|
t("dsa-page-header")
|
|
89
94
|
], DSAPageHeader);
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DSATableRow
|
|
3
|
+
} from "./chunk.DUANMGYF.js";
|
|
1
4
|
import {
|
|
2
5
|
table_header_row_styles_default
|
|
3
6
|
} from "./chunk.FH62MZVI.js";
|
|
4
7
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./chunk.WY73AW7H.js";
|
|
7
|
-
import {
|
|
8
|
+
e,
|
|
8
9
|
t
|
|
9
10
|
} from "./chunk.EW5LC4ZI.js";
|
|
10
11
|
import {
|
|
@@ -34,7 +35,7 @@ var DSATableHeaderRow = class extends DSATableRow {
|
|
|
34
35
|
accessible-name=${this.selectionLabel !== "" ? this.selectionLabel : this.localize.term("selectAllTableRows")}
|
|
35
36
|
value=${this.selectionValue}
|
|
36
37
|
?checked=${this.selected}
|
|
37
|
-
@click=${(
|
|
38
|
+
@click=${(e2) => e2.stopPropagation()}
|
|
38
39
|
@dsa-change=${this.handleCheckboxChange}
|
|
39
40
|
?disabled=${this.loading}
|
|
40
41
|
></dsa-checkbox>
|
|
@@ -56,6 +57,9 @@ var DSATableHeaderRow = class extends DSATableRow {
|
|
|
56
57
|
}
|
|
57
58
|
};
|
|
58
59
|
DSATableHeaderRow.styles = table_header_row_styles_default;
|
|
60
|
+
__decorateClass([
|
|
61
|
+
e(".checkbox")
|
|
62
|
+
], DSATableHeaderRow.prototype, "selectAllCheckbox", 2);
|
|
59
63
|
DSATableHeaderRow = __decorateClass([
|
|
60
64
|
t("dsa-table-header-row")
|
|
61
65
|
], DSATableHeaderRow);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
header_search_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.B6A5AGBJ.js";
|
|
4
4
|
import {
|
|
5
5
|
l
|
|
6
6
|
} from "./chunk.LDYYA5WE.js";
|
|
7
7
|
import {
|
|
8
8
|
LocalizeController
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.57JI3UNH.js";
|
|
10
10
|
import {
|
|
11
11
|
e2
|
|
12
12
|
} from "./chunk.JY4LUWQC.js";
|
|
@@ -14,7 +14,6 @@ import {
|
|
|
14
14
|
ShoelaceElement,
|
|
15
15
|
e,
|
|
16
16
|
n,
|
|
17
|
-
r,
|
|
18
17
|
t
|
|
19
18
|
} from "./chunk.EW5LC4ZI.js";
|
|
20
19
|
import {
|
|
@@ -29,7 +28,6 @@ var DSAHeaderSearch = class extends ShoelaceElement {
|
|
|
29
28
|
constructor() {
|
|
30
29
|
super(...arguments);
|
|
31
30
|
this.localize = new LocalizeController(this);
|
|
32
|
-
this.hasFocus = false;
|
|
33
31
|
this.value = "";
|
|
34
32
|
this.expanded = false;
|
|
35
33
|
this.alwaysOpen = false;
|
|
@@ -46,42 +44,10 @@ var DSAHeaderSearch = class extends ShoelaceElement {
|
|
|
46
44
|
this.input.focus();
|
|
47
45
|
}
|
|
48
46
|
handleChange() {
|
|
49
|
-
this.value = this.
|
|
50
|
-
this.emit("dsa-change");
|
|
47
|
+
this.value = this.search.value;
|
|
51
48
|
}
|
|
52
49
|
handleInput() {
|
|
53
|
-
this.value = this.
|
|
54
|
-
this.emit("dsa-input");
|
|
55
|
-
}
|
|
56
|
-
handleInputFocus() {
|
|
57
|
-
this.hasFocus = true;
|
|
58
|
-
this.emit("dsa-focus");
|
|
59
|
-
}
|
|
60
|
-
handleInputBlur() {
|
|
61
|
-
this.hasFocus = false;
|
|
62
|
-
this.emit("dsa-blur");
|
|
63
|
-
}
|
|
64
|
-
handleClearClick(event) {
|
|
65
|
-
this.value = "";
|
|
66
|
-
this.emit("dsa-clear");
|
|
67
|
-
this.emit("dsa-input");
|
|
68
|
-
this.emit("dsa-change");
|
|
69
|
-
this.input.focus();
|
|
70
|
-
event.stopPropagation();
|
|
71
|
-
}
|
|
72
|
-
handleKeyDown(event) {
|
|
73
|
-
event.stopPropagation();
|
|
74
|
-
const hasModifier = event.metaKey || event.ctrlKey || event.shiftKey || event.altKey;
|
|
75
|
-
if (event.key === "Enter" && !hasModifier) {
|
|
76
|
-
setTimeout(() => {
|
|
77
|
-
if (!event.defaultPrevented && !event.isComposing) {
|
|
78
|
-
this.handleSubmitClick();
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
handleSubmitClick() {
|
|
84
|
-
this.emit("dsa-submit");
|
|
50
|
+
this.value = this.search.value;
|
|
85
51
|
}
|
|
86
52
|
async handleCancelClick() {
|
|
87
53
|
this.emit("dsa-collapse");
|
|
@@ -89,6 +55,15 @@ var DSAHeaderSearch = class extends ShoelaceElement {
|
|
|
89
55
|
await this.updateComplete;
|
|
90
56
|
this.expandButton.focus();
|
|
91
57
|
}
|
|
58
|
+
get input() {
|
|
59
|
+
return this.search.input;
|
|
60
|
+
}
|
|
61
|
+
get submitButton() {
|
|
62
|
+
return this.search.submitButton;
|
|
63
|
+
}
|
|
64
|
+
get clearButton() {
|
|
65
|
+
return this.search.clearButton;
|
|
66
|
+
}
|
|
92
67
|
render() {
|
|
93
68
|
if (!this.expanded && !this.alwaysOpen) {
|
|
94
69
|
if (this.mobile) {
|
|
@@ -109,7 +84,6 @@ var DSAHeaderSearch = class extends ShoelaceElement {
|
|
|
109
84
|
id="expand-button"
|
|
110
85
|
variant="navigation"
|
|
111
86
|
part="button button--navigation"
|
|
112
|
-
}
|
|
113
87
|
@click=${this.handleExpandClick}
|
|
114
88
|
>
|
|
115
89
|
<dsa-icon name="search" library="system"></dsa-icon>
|
|
@@ -126,48 +100,12 @@ var DSAHeaderSearch = class extends ShoelaceElement {
|
|
|
126
100
|
"search-bar--desktop": !this.mobile
|
|
127
101
|
})}
|
|
128
102
|
>
|
|
129
|
-
<
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
"input__control--mobile": this.mobile,
|
|
136
|
-
"input__control--desktop": !this.mobile
|
|
137
|
-
})}
|
|
138
|
-
type="search"
|
|
139
|
-
placeholder=${this.localize.term("search")}
|
|
140
|
-
aria-label=${this.localize.term("search")}
|
|
141
|
-
title=${this.localize.term("search")}
|
|
142
|
-
.value=${l(this.value)}
|
|
143
|
-
@change=${this.handleChange}
|
|
144
|
-
@input=${this.handleInput}
|
|
145
|
-
@focus=${this.handleInputFocus}
|
|
146
|
-
@blur=${this.handleInputBlur}
|
|
147
|
-
@keydown=${this.handleKeyDown}
|
|
148
|
-
/>
|
|
149
|
-
${this.value.length > 0 ? x`
|
|
150
|
-
<dsa-icon-button
|
|
151
|
-
id="clear-button"
|
|
152
|
-
part="clear-button"
|
|
153
|
-
name="cancel"
|
|
154
|
-
label=${this.localize.term("clearEntry")}
|
|
155
|
-
@click=${this.handleClearClick}
|
|
156
|
-
library="system"
|
|
157
|
-
></dsa-icon-button>
|
|
158
|
-
` : ""}
|
|
159
|
-
</div>
|
|
160
|
-
|
|
161
|
-
<dsa-icon-button
|
|
162
|
-
id="submit-button"
|
|
163
|
-
name="search"
|
|
164
|
-
library="system"
|
|
165
|
-
label=${this.localize.term("search")}
|
|
166
|
-
variant="primary"
|
|
167
|
-
size=${this.mobile ? "large" : "xlarge"}
|
|
168
|
-
@click=${this.handleSubmitClick}
|
|
169
|
-
>
|
|
170
|
-
</dsa-icon-button>
|
|
103
|
+
<dsa-search
|
|
104
|
+
size=${this.mobile ? "small" : "medium"}
|
|
105
|
+
.value=${l(this.value)}
|
|
106
|
+
@dsa-change=${this.handleChange}
|
|
107
|
+
@dsa-input=${this.handleInput}
|
|
108
|
+
></dsa-search>
|
|
171
109
|
|
|
172
110
|
${!this.alwaysOpen ? x`
|
|
173
111
|
<dsa-button
|
|
@@ -185,23 +123,14 @@ var DSAHeaderSearch = class extends ShoelaceElement {
|
|
|
185
123
|
};
|
|
186
124
|
DSAHeaderSearch.styles = header_search_styles_default;
|
|
187
125
|
__decorateClass([
|
|
188
|
-
e("
|
|
189
|
-
], DSAHeaderSearch.prototype, "
|
|
126
|
+
e("dsa-search")
|
|
127
|
+
], DSAHeaderSearch.prototype, "search", 2);
|
|
190
128
|
__decorateClass([
|
|
191
129
|
e("#expand-button")
|
|
192
130
|
], DSAHeaderSearch.prototype, "expandButton", 2);
|
|
193
|
-
__decorateClass([
|
|
194
|
-
e("#submit-button")
|
|
195
|
-
], DSAHeaderSearch.prototype, "submitButton", 2);
|
|
196
131
|
__decorateClass([
|
|
197
132
|
e("#cancel-button")
|
|
198
133
|
], DSAHeaderSearch.prototype, "cancelButton", 2);
|
|
199
|
-
__decorateClass([
|
|
200
|
-
e("#clear-button")
|
|
201
|
-
], DSAHeaderSearch.prototype, "clearButton", 2);
|
|
202
|
-
__decorateClass([
|
|
203
|
-
r()
|
|
204
|
-
], DSAHeaderSearch.prototype, "hasFocus", 2);
|
|
205
134
|
__decorateClass([
|
|
206
135
|
n()
|
|
207
136
|
], DSAHeaderSearch.prototype, "value", 2);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderFormElementErrors
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.PZK4ARTY.js";
|
|
4
4
|
import {
|
|
5
5
|
waitForEvent
|
|
6
6
|
} from "./chunk.B4BZKR24.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk.PWL7QCVG.js";
|
|
19
19
|
import {
|
|
20
20
|
LocalizeController
|
|
21
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.57JI3UNH.js";
|
|
22
22
|
import {
|
|
23
23
|
watch
|
|
24
24
|
} from "./chunk.4FQJ3QJK.js";
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
table_action_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.C43CVKBG.js";
|
|
4
4
|
import {
|
|
5
5
|
LocalizeController
|
|
6
|
-
} from "./chunk.
|
|
7
|
-
import {
|
|
8
|
-
watch
|
|
9
|
-
} from "./chunk.4FQJ3QJK.js";
|
|
6
|
+
} from "./chunk.57JI3UNH.js";
|
|
10
7
|
import {
|
|
11
8
|
ShoelaceElement,
|
|
12
9
|
e,
|
|
@@ -31,13 +28,6 @@ var DSATableAction = class extends ShoelaceElement {
|
|
|
31
28
|
this.emit("dsa-table-actions-close");
|
|
32
29
|
this.show = false;
|
|
33
30
|
}
|
|
34
|
-
handleShowChange() {
|
|
35
|
-
if (this.show) {
|
|
36
|
-
this.removeAttribute("tabindex");
|
|
37
|
-
} else {
|
|
38
|
-
this.setAttribute("tabindex", "-1");
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
31
|
render() {
|
|
42
32
|
return x`
|
|
43
33
|
<slot part="label" name="label"></slot>
|
|
@@ -47,7 +37,6 @@ var DSATableAction = class extends ShoelaceElement {
|
|
|
47
37
|
id="closeButton"
|
|
48
38
|
variant="tertiary"
|
|
49
39
|
contrasted
|
|
50
|
-
size="small"
|
|
51
40
|
@click=${this.handleClose}
|
|
52
41
|
>
|
|
53
42
|
<dsa-icon slot="prefix" name="close" library="system"></dsa-icon>
|
|
@@ -63,9 +52,6 @@ __decorateClass([
|
|
|
63
52
|
__decorateClass([
|
|
64
53
|
n({ type: Boolean, reflect: true })
|
|
65
54
|
], DSATableAction.prototype, "show", 2);
|
|
66
|
-
__decorateClass([
|
|
67
|
-
watch("show")
|
|
68
|
-
], DSATableAction.prototype, "handleShowChange", 1);
|
|
69
55
|
DSATableAction = __decorateClass([
|
|
70
56
|
t("dsa-table-action")
|
|
71
57
|
], DSATableAction);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
table_container_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.UMGPQSGY.js";
|
|
4
4
|
import {
|
|
5
5
|
LoadingStateElement
|
|
6
6
|
} from "./chunk.PBUOYITV.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk.YIY5RM53.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalizeController
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.57JI3UNH.js";
|
|
13
13
|
import {
|
|
14
14
|
e2 as e
|
|
15
15
|
} from "./chunk.JY4LUWQC.js";
|
|
@@ -94,8 +94,10 @@ var DSATableContainer = class extends LoadingStateElement {
|
|
|
94
94
|
if (toolbar !== null) {
|
|
95
95
|
if (this.showTableActions) {
|
|
96
96
|
toolbar.setAttribute("tabindex", "-1");
|
|
97
|
+
toolbar.setAttribute("aria-hidden", "true");
|
|
97
98
|
} else {
|
|
98
99
|
toolbar.removeAttribute("tabindex");
|
|
100
|
+
toolbar.removeAttribute("aria-hidden");
|
|
99
101
|
}
|
|
100
102
|
}
|
|
101
103
|
}
|
|
@@ -232,6 +232,26 @@ var tag_styles_default = i`
|
|
|
232
232
|
color: var(--dsa-wc-tag-green-700-on-base);
|
|
233
233
|
}
|
|
234
234
|
|
|
235
|
+
.tag--neutral-100 {
|
|
236
|
+
background: var(--dsa-wc-tag-neutral-100-base);
|
|
237
|
+
color: var(--dsa-wc-tag-neutral-100-on-base);
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.tag--neutral-200 {
|
|
241
|
+
background: var(--dsa-wc-tag-neutral-200-base);
|
|
242
|
+
color: var(--dsa-wc-tag-neutral-200-on-base);
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.tag--neutral-300 {
|
|
246
|
+
background: var(--dsa-wc-tag-neutral-300-base);
|
|
247
|
+
color: var(--dsa-wc-tag-neutral-300-on-base);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.tag--neutral-400 {
|
|
251
|
+
background: var(--dsa-wc-tag-neutral-400-base);
|
|
252
|
+
color: var(--dsa-wc-tag-neutral-400-on-base);
|
|
253
|
+
}
|
|
254
|
+
|
|
235
255
|
/*
|
|
236
256
|
* Size modifiers
|
|
237
257
|
*/
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DSAInputTime
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.O23T7ACS.js";
|
|
4
4
|
import {
|
|
5
5
|
DSAInputDate
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.SJYXVRVE.js";
|
|
7
7
|
import {
|
|
8
8
|
InputBase
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.FWUVNYIG.js";
|
|
10
10
|
import {
|
|
11
11
|
o
|
|
12
12
|
} from "./chunk.XED65RH5.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
form_control_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.VCFEF4I5.js";
|
|
4
4
|
import {
|
|
5
5
|
component_styles_default
|
|
6
6
|
} from "./chunk.MQAAYEM3.js";
|
|
@@ -138,8 +138,13 @@ var combobox_styles_default = i`
|
|
|
138
138
|
padding: 0 var(--dsa-wc-multiselect-tag-padding-inline);
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
.select--disabled .select__tags
|
|
142
|
-
|
|
141
|
+
.select--disabled .select__tags dsa-tag::part(base) {
|
|
142
|
+
background: var(--dsa-wc-multiselect-tag-disabled-background) !important;
|
|
143
|
+
color: var(--dsa-wc-multiselect-tag-disabled-color) !important;
|
|
144
|
+
border: solid 1px var(--dsa-wc-multiselect-tag-disabled-border-color);
|
|
145
|
+
cursor: not-allowed !important;
|
|
146
|
+
}
|
|
147
|
+
.select--readonly .select__tags dsa-tag::part(base) {
|
|
143
148
|
cursor: not-allowed !important;
|
|
144
149
|
}
|
|
145
150
|
|
|
@@ -31,6 +31,11 @@ var error_text_styles_default = i`
|
|
|
31
31
|
color: var(--dsa-wc-error-text-icon-color);
|
|
32
32
|
font-size: var(--dsa-wc-error-text-icon-size);
|
|
33
33
|
}
|
|
34
|
+
|
|
35
|
+
.error-text--on-floating .error-text__slot,
|
|
36
|
+
.error-text--on-floating .error-text__icon {
|
|
37
|
+
color: var(--dsa-wc-error-text-on-floating-menu-color);
|
|
38
|
+
}
|
|
34
39
|
`;
|
|
35
40
|
|
|
36
41
|
export {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
error_text_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.HPYTPVEB.js";
|
|
4
4
|
import {
|
|
5
5
|
e2 as e
|
|
6
6
|
} from "./chunk.JY4LUWQC.js";
|
|
7
7
|
import {
|
|
8
8
|
ShoelaceElement,
|
|
9
|
+
n,
|
|
9
10
|
t
|
|
10
11
|
} from "./chunk.EW5LC4ZI.js";
|
|
11
12
|
import {
|
|
@@ -17,10 +18,15 @@ import {
|
|
|
17
18
|
|
|
18
19
|
// src/components/error-text/error-text.ts
|
|
19
20
|
var DSAErrorText = class extends ShoelaceElement {
|
|
21
|
+
constructor() {
|
|
22
|
+
super(...arguments);
|
|
23
|
+
this.variant = "base";
|
|
24
|
+
}
|
|
20
25
|
render() {
|
|
21
26
|
return x`<div
|
|
22
27
|
class=${e({
|
|
23
|
-
"error-text": true
|
|
28
|
+
"error-text": true,
|
|
29
|
+
"error-text--on-floating": this.variant === "floating"
|
|
24
30
|
})}
|
|
25
31
|
>
|
|
26
32
|
<dsa-icon
|
|
@@ -33,6 +39,9 @@ var DSAErrorText = class extends ShoelaceElement {
|
|
|
33
39
|
}
|
|
34
40
|
};
|
|
35
41
|
DSAErrorText.styles = error_text_styles_default;
|
|
42
|
+
__decorateClass([
|
|
43
|
+
n({ reflect: true })
|
|
44
|
+
], DSAErrorText.prototype, "variant", 2);
|
|
36
45
|
DSAErrorText = __decorateClass([
|
|
37
46
|
t("dsa-error-text")
|
|
38
47
|
], DSAErrorText);
|