@ds-autonomie/web-components 2.15.0 → 2.16.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 +13 -0
- package/cdn/chunks/{chunk.XPETABJ4.js → chunk.2GNTWYWW.js} +2 -2
- package/cdn/chunks/chunk.2HT24T5L.js +43 -0
- package/cdn/chunks/chunk.2MKXX3AZ.js +41 -0
- package/cdn/chunks/{chunk.5WVQIAAW.js → chunk.2QQVNGQU.js} +1 -1
- package/cdn/chunks/{chunk.GHQSD5YO.js → chunk.2UUQJVQI.js} +1 -1
- package/cdn/chunks/chunk.4GOIYNKA.js +121 -0
- package/cdn/chunks/chunk.4WXQIRY5.js +173 -0
- package/cdn/chunks/{chunk.3CCCUH4R.js → chunk.5HX5C6UJ.js} +1 -1
- package/cdn/chunks/{chunk.D7CLOP7O.js → chunk.5JVG47EU.js} +10 -10
- package/cdn/chunks/chunk.5MEOAS43.js +66 -0
- package/cdn/chunks/{chunk.666CJOK2.js → chunk.63QVJAPP.js} +1 -1
- package/cdn/chunks/{chunk.BOVKVXAW.js → chunk.63UE4VAO.js} +3 -3
- package/cdn/chunks/chunk.6GEQ7HC5.js +35 -0
- package/cdn/chunks/chunk.6JIYQYLW.js +1 -0
- package/cdn/chunks/chunk.6MH6HU7Z.js +27 -0
- package/cdn/chunks/{chunk.65I7LBQ4.js → chunk.6P4B7FUU.js} +9 -9
- package/cdn/chunks/chunk.6SOEHTQ6.js +38 -0
- package/cdn/chunks/chunk.6VDERLDX.js +14 -0
- package/cdn/chunks/{chunk.TWHU4SRL.js → chunk.76VB4TUF.js} +1 -1
- package/cdn/chunks/chunk.7IFO43EM.js +7 -0
- package/cdn/chunks/{chunk.YNAR73DY.js → chunk.A5JIGFHI.js} +1 -1
- package/cdn/chunks/{chunk.YL64DA2G.js → chunk.A7X22WNS.js} +1 -1
- package/cdn/chunks/chunk.AAEIE3M2.js +19 -0
- package/cdn/chunks/chunk.AEBG7WOW.js +20 -0
- package/cdn/chunks/chunk.AGZH4MVB.js +55 -0
- package/cdn/chunks/{chunk.DJQPDKQQ.js → chunk.AHAZYWZF.js} +1 -1
- package/cdn/chunks/chunk.ARJARKS7.js +123 -0
- package/cdn/chunks/chunk.ARZOIBPV.js +130 -0
- package/cdn/chunks/{chunk.M5XSTHLZ.js → chunk.AW3ER72P.js} +5 -5
- package/cdn/chunks/{chunk.QEF2FJQH.js → chunk.BS2OSSAE.js} +1 -1
- package/cdn/chunks/chunk.BXGC6IHW.js +35 -0
- package/cdn/chunks/{chunk.X4ZMBBF2.js → chunk.BXV6H4J7.js} +1 -1
- package/cdn/chunks/{chunk.DRIKSOP6.js → chunk.BZAPXRW2.js} +1 -1
- package/cdn/chunks/chunk.C2H2IJ5N.js +19 -0
- package/cdn/chunks/{chunk.OX2DFLBF.js → chunk.C7LXZROF.js} +2 -2
- package/cdn/chunks/chunk.CIFSYLTI.js +8 -0
- package/cdn/chunks/{chunk.FPWX73NT.js → chunk.CLVTQ7Z4.js} +3 -3
- package/cdn/chunks/chunk.CM6ZWC5E.js +115 -0
- package/cdn/chunks/chunk.CUB2L2VC.js +15 -0
- package/cdn/chunks/{chunk.FQD6DREW.js → chunk.CUYQOZPJ.js} +1 -1
- package/cdn/chunks/{chunk.FMCWIRIG.js → chunk.D3OBSGJL.js} +1 -1
- package/cdn/chunks/{chunk.CHNH72UY.js → chunk.DCJBLLVF.js} +2 -2
- package/cdn/chunks/{chunk.QAARCUGO.js → chunk.DJRRY37G.js} +3 -3
- package/cdn/chunks/{chunk.L3D5HYKQ.js → chunk.E2GQJ6JW.js} +1 -1
- package/cdn/chunks/{chunk.QAGAG3KB.js → chunk.EG6MMAM3.js} +1 -1
- package/cdn/chunks/{chunk.MMQPOGIJ.js → chunk.FHOLYDJH.js} +1 -1
- package/cdn/chunks/{chunk.N6IYJMR7.js → chunk.FNWVRCNG.js} +1 -1
- package/cdn/chunks/{chunk.DUYCHM7G.js → chunk.FX5UP23Z.js} +1 -1
- package/cdn/chunks/chunk.GFEAALOQ.js +72 -0
- package/cdn/chunks/chunk.GGWPFQAG.js +26 -0
- package/cdn/chunks/{chunk.U3MN56U3.js → chunk.GLPWHSEE.js} +1 -1
- package/cdn/chunks/{chunk.QQLNTNXD.js → chunk.GODU5S6L.js} +1 -1
- package/cdn/chunks/{chunk.OHVT6KT2.js → chunk.H46NZIZH.js} +2 -2
- package/cdn/chunks/{chunk.R32NZV24.js → chunk.HFASPBS3.js} +16 -6
- package/cdn/chunks/chunk.HS7JWPZY.js +68 -0
- package/cdn/chunks/chunk.HZ5SMNUA.js +51 -0
- package/cdn/chunks/chunk.I5O5OEF6.js +13 -0
- package/cdn/chunks/{chunk.ABEBXNWB.js → chunk.IE7LFMND.js} +1 -1
- package/cdn/chunks/{chunk.Q7Q7EOMW.js → chunk.IGP2B2C4.js} +7 -0
- package/cdn/chunks/chunk.IHSVGSNA.js +38 -0
- package/cdn/chunks/chunk.IHX7OGQS.js +26 -0
- package/cdn/chunks/{chunk.3ZDZD4UZ.js → chunk.IMXEAMW3.js} +1 -1
- package/cdn/chunks/{chunk.FGBFP2DK.js → chunk.IOIBAXOU.js} +1 -1
- package/cdn/chunks/{chunk.2Q5WFUBC.js → chunk.IUEUKFXV.js} +1 -1
- package/cdn/chunks/chunk.J65PQE2V.js +50 -0
- package/cdn/chunks/chunk.JFRJEP7B.js +20 -0
- package/cdn/chunks/chunk.JIVPHN7K.js +73 -0
- package/cdn/chunks/{chunk.JESEUS7N.js → chunk.JNOQLPCE.js} +1 -1
- package/cdn/chunks/{chunk.5PAMB4OC.js → chunk.JZMIS7DF.js} +1 -1
- package/cdn/chunks/{chunk.PBH223D4.js → chunk.K6YUVAOE.js} +1 -1
- package/cdn/chunks/chunk.KA7GX6E6.js +68 -0
- package/cdn/chunks/chunk.KBZ32KWP.js +25 -0
- package/cdn/chunks/{chunk.ODSVS3RK.js → chunk.KD3BHBHK.js} +1 -1
- package/cdn/chunks/chunk.KP77TFIK.js +36 -0
- package/cdn/chunks/{chunk.ZJHH7J64.js → chunk.LBRHB47I.js} +1 -1
- package/cdn/chunks/chunk.LLP7EPAY.js +65 -0
- package/cdn/chunks/{chunk.OZSD377J.js → chunk.M5ND6PIZ.js} +1 -1
- package/cdn/chunks/{chunk.ZHE5HDNL.js → chunk.MG447SMO.js} +1 -1
- package/cdn/chunks/chunk.MMVWNVZX.js +1 -0
- package/cdn/chunks/{chunk.NSHYTCO4.js → chunk.MQFH5TMZ.js} +1 -1
- package/cdn/chunks/chunk.MWJXUXK2.js +26 -0
- package/cdn/chunks/{chunk.LZLMA4XO.js → chunk.NAQDAODO.js} +1 -1
- package/cdn/chunks/chunk.NJBAMERR.js +10 -0
- package/cdn/chunks/{chunk.UIFWKAGV.js → chunk.NJOCDP2A.js} +1 -1
- package/cdn/chunks/{chunk.EJVWPDLE.js → chunk.NLFHV3ZO.js} +1 -1
- package/cdn/chunks/{chunk.6PG2RNLF.js → chunk.NTUGYGGF.js} +1 -1
- package/cdn/chunks/chunk.NUGD6UUY.js +20 -0
- package/cdn/chunks/{chunk.GF6YLXJP.js → chunk.O6PQS44E.js} +1 -1
- package/cdn/chunks/{chunk.WY4VZXA6.js → chunk.ODH67RGS.js} +1 -1
- package/cdn/chunks/{chunk.NTJ2Q7C7.js → chunk.ODWKPVI7.js} +1 -1
- package/cdn/chunks/chunk.OFTBMGFJ.js +56 -0
- package/cdn/chunks/{chunk.NSZPQ5ZJ.js → chunk.OJ4FBUS6.js} +1 -1
- package/cdn/chunks/{chunk.4E24Z2WP.js → chunk.ORT3DEGC.js} +1 -1
- package/cdn/chunks/chunk.OU7R32QE.js +51 -0
- package/cdn/chunks/chunk.OUYBHFGA.js +41 -0
- package/cdn/chunks/{chunk.KLFLHNDX.js → chunk.OV7NPMB7.js} +1 -1
- package/cdn/chunks/chunk.P2JWRNFC.js +53 -0
- package/cdn/chunks/chunk.P6BU4NK5.js +62 -0
- package/cdn/chunks/{chunk.YLQZAJP3.js → chunk.PICWAFB5.js} +1 -1
- package/cdn/chunks/{chunk.J3YJSL5B.js → chunk.PIG773U2.js} +1 -1
- package/cdn/chunks/{chunk.TQ3LRTTI.js → chunk.PS32MK6F.js} +6 -6
- package/cdn/chunks/{chunk.UJBDLF4Q.js → chunk.PSFO47C6.js} +1 -1
- package/cdn/chunks/{chunk.LIGGJXC2.js → chunk.PXRWDGEE.js} +6 -6
- package/cdn/chunks/{chunk.KDH2RAG7.js → chunk.PZ34V53E.js} +1 -1
- package/cdn/chunks/chunk.QE5LC4CR.js +44 -0
- package/cdn/chunks/chunk.QQLU3UB4.js +112 -0
- package/cdn/chunks/{chunk.R5KZP5VA.js → chunk.QXMNA43O.js} +2 -2
- package/cdn/chunks/{chunk.TX3ZXE3D.js → chunk.R4AIWMHW.js} +1 -1
- package/cdn/chunks/{chunk.SGR2HWTG.js → chunk.S67Z4LWB.js} +1 -1
- package/cdn/chunks/chunk.SCQFF6RL.js +42 -0
- package/cdn/chunks/{chunk.TUTBC6IK.js → chunk.SEHHEIJU.js} +122 -3
- package/cdn/chunks/chunk.SKA3D63Q.js +50 -0
- package/cdn/chunks/chunk.SSKKBMOK.js +25 -0
- package/cdn/chunks/{chunk.5VPTZHRV.js → chunk.SXMGNTD4.js} +1 -1
- package/cdn/chunks/chunk.TFJB3OT3.js +19 -0
- package/cdn/chunks/{chunk.PZEHCF7A.js → chunk.U2HDZAQO.js} +3 -3
- package/cdn/chunks/chunk.U57FV4DW.js +94 -0
- package/cdn/chunks/{chunk.JBN243CX.js → chunk.U5DYVPGP.js} +1 -1
- package/cdn/chunks/{chunk.EBJMEK7O.js → chunk.UCVFWCJ3.js} +1 -1
- package/cdn/chunks/chunk.UNNWNSLV.js +13 -0
- package/cdn/chunks/chunk.VBIYQ77B.js +45 -0
- package/cdn/chunks/chunk.VL5LPHV3.js +47 -0
- package/cdn/chunks/chunk.VMXJHVRU.js +1 -0
- package/cdn/chunks/chunk.VYPTKC72.js +31 -0
- package/cdn/chunks/{chunk.BF3YQOYM.js → chunk.VZW43GJJ.js} +2 -5
- package/cdn/chunks/{chunk.YT3TTAYO.js → chunk.W6JRTDUG.js} +1 -1
- package/cdn/chunks/{chunk.57GTEVYE.js → chunk.WBYL64GM.js} +1 -1
- package/cdn/chunks/{chunk.DNAYYYKK.js → chunk.WEWRFZAQ.js} +1 -1
- package/cdn/chunks/{chunk.62TMME56.js → chunk.WYKFMOCB.js} +2 -2
- package/cdn/chunks/{chunk.TBBDY4SH.js → chunk.X6RYYYER.js} +1 -1
- package/cdn/chunks/{chunk.Q6KTHJKH.js → chunk.XAIDESV3.js} +2 -2
- package/cdn/chunks/{chunk.23SH73TB.js → chunk.XGUKMUW4.js} +1 -1
- package/cdn/chunks/chunk.XWUH44W4.js +102 -0
- package/cdn/chunks/{chunk.JKTUEHFN.js → chunk.Y2FECEGA.js} +8 -8
- package/cdn/chunks/chunk.Y36RVC3B.js +60 -0
- package/cdn/chunks/chunk.YRFEXBVK.js +56 -0
- package/cdn/chunks/chunk.YUKNXF67.js +62 -0
- package/cdn/chunks/chunk.YY3VAR25.js +75 -0
- package/cdn/chunks/{chunk.3IM3457W.js → chunk.Z4D2D4BF.js} +1 -1
- package/cdn/chunks/{chunk.IIJKTI4Z.js → chunk.Z4V4DU2C.js} +23 -11
- package/cdn/chunks/chunk.ZBQJJV4G.js +73 -0
- package/cdn/chunks/chunk.ZCITPD2M.js +11 -0
- package/cdn/chunks/{chunk.VUP2ER2T.js → chunk.ZE7M7PYK.js} +1 -1
- package/cdn/components/accordion/accordion.d.ts +7 -2
- 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 +9 -1
- package/cdn/components/alert/alert.js +1 -1
- package/cdn/components/alert/alert.styles.js +1 -1
- package/cdn/components/anchor-tag/anchor-tag.js +1 -1
- package/cdn/components/animation/animation.js +1 -1
- package/cdn/components/avatar/avatar.js +1 -1
- package/cdn/components/avatar-group/avatar-group.d.ts +0 -1
- package/cdn/components/avatar-group/avatar-group.js +1 -1
- package/cdn/components/badge/badge.js +1 -1
- package/cdn/components/badge/badge.styles.js +1 -1
- package/cdn/components/breadcrumb/breadcrumb.d.ts +0 -3
- package/cdn/components/breadcrumb/breadcrumb.js +1 -1
- package/cdn/components/breadcrumb-item/breadcrumb-item.d.ts +6 -0
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/cdn/components/button/button.d.ts +6 -2
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/calendar/calendar.js +1 -1
- package/cdn/components/callout/callout.d.ts +0 -1
- package/cdn/components/callout/callout.js +1 -1
- package/cdn/components/card/card.js +1 -1
- package/cdn/components/card-content/card-content.d.ts +4 -1
- package/cdn/components/card-content/card-content.js +1 -1
- package/cdn/components/card-nav/card-nav.js +1 -1
- package/cdn/components/card-nav-accordion/card-nav-accordion.d.ts +4 -1
- package/cdn/components/card-nav-accordion/card-nav-accordion.js +1 -1
- package/cdn/components/card-nav-item/card-nav-item.d.ts +4 -1
- package/cdn/components/card-nav-item/card-nav-item.js +1 -1
- package/cdn/components/checkbox/checkbox.d.ts +6 -3
- package/cdn/components/checkbox/checkbox.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 +6 -2
- package/cdn/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn/components/combobox/combobox.d.ts +15 -6
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/copy-button/copy-button.d.ts +6 -4
- package/cdn/components/copy-button/copy-button.js +1 -1
- package/cdn/components/dialog/dialog.d.ts +4 -1
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/divider/divider.js +1 -1
- package/cdn/components/download-card/download-card.d.ts +4 -1
- package/cdn/components/download-card/download-card.js +1 -1
- package/cdn/components/download-link/download-link.d.ts +4 -1
- package/cdn/components/download-link/download-link.js +1 -1
- package/cdn/components/drawer/drawer.d.ts +4 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/dropdown/dropdown.d.ts +4 -2
- package/cdn/components/dropdown/dropdown.js +1 -1
- package/cdn/components/error-message-panel/error-message-panel.js +1 -1
- package/cdn/components/error-text/error-text.d.ts +4 -1
- package/cdn/components/error-text/error-text.js +1 -1
- package/cdn/components/fieldset/fieldset.js +1 -1
- package/cdn/components/file-upload/file-upload.d.ts +22 -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/file-upload.utils.d.ts +1 -0
- package/cdn/components/file-upload/file-upload.utils.js +1 -0
- 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.d.ts +4 -3
- package/cdn/components/filter-button/filter-button.js +1 -1
- package/cdn/components/filter-counter/filter-counter.d.ts +11 -5
- package/cdn/components/filter-counter/filter-counter.js +1 -1
- package/cdn/components/filter-date/filter-date.d.ts +15 -5
- package/cdn/components/filter-date/filter-date.js +1 -1
- package/cdn/components/filter-range/filter-range.d.ts +14 -6
- package/cdn/components/filter-range/filter-range.js +1 -1
- package/cdn/components/filter-select/filter-select.d.ts +13 -2
- package/cdn/components/filter-select/filter-select.js +1 -1
- package/cdn/components/footer/footer.d.ts +6 -1
- package/cdn/components/footer/footer.js +1 -1
- package/cdn/components/footer-content-block/footer-content-block.d.ts +0 -1
- package/cdn/components/footer-content-block/footer-content-block.js +1 -1
- package/cdn/components/footer-mandatory-mentions/footer-mandatory-mentions.d.ts +4 -1
- package/cdn/components/footer-mandatory-mentions/footer-mandatory-mentions.js +1 -1
- package/cdn/components/footer-sitemap/footer-sitemap.js +1 -1
- package/cdn/components/footer-sitemap-item/footer-sitemap-item.d.ts +0 -1
- package/cdn/components/footer-sitemap-item/footer-sitemap-item.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/graphic-element/graphic-element.js +1 -1
- package/cdn/components/header/header.d.ts +0 -1
- package/cdn/components/header/header.js +1 -1
- package/cdn/components/header-external-link/header-external-link.d.ts +6 -0
- package/cdn/components/header-external-link/header-external-link.js +1 -1
- package/cdn/components/header-modern/header-modern.d.ts +0 -1
- package/cdn/components/header-modern/header-modern.js +1 -1
- package/cdn/components/header-search/header-search.d.ts +10 -6
- package/cdn/components/header-search/header-search.js +1 -1
- package/cdn/components/icon/icon.js +1 -1
- package/cdn/components/icon/library.js +1 -1
- package/cdn/components/icon/library.system.js +1 -1
- package/cdn/components/icon-button/icon-button.d.ts +4 -1
- package/cdn/components/icon-button/icon-button.js +1 -1
- package/cdn/components/input/input.d.ts +11 -8
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/input-amount/input-amount.d.ts +7 -2
- package/cdn/components/input-amount/input-amount.js +1 -1
- package/cdn/components/input-date/input-date.d.ts +16 -7
- package/cdn/components/input-date/input-date.js +1 -1
- package/cdn/components/input-mask/input-mask.d.ts +8 -1
- package/cdn/components/input-mask/input-mask.js +1 -1
- package/cdn/components/input-native/input-native.d.ts +9 -3
- package/cdn/components/input-native/input-native.js +1 -1
- package/cdn/components/input-otp/input-otp.d.ts +1 -2
- package/cdn/components/input-otp/input-otp.js +1 -1
- package/cdn/components/input-phone/input-phone.d.ts +12 -4
- package/cdn/components/input-phone/input-phone.js +1 -1
- package/cdn/components/input-time/input-time.d.ts +13 -5
- package/cdn/components/input-time/input-time.js +1 -1
- package/cdn/components/menu-accordion/menu-accordion.d.ts +6 -2
- package/cdn/components/menu-accordion/menu-accordion.js +1 -1
- package/cdn/components/menu-item/menu-item.d.ts +4 -1
- package/cdn/components/menu-item/menu-item.js +1 -1
- package/cdn/components/menu-label/menu-label.js +1 -1
- package/cdn/components/menu-navigation/menu-navigation.js +1 -1
- package/cdn/components/mutation-observer/mutation-observer.js +1 -1
- package/cdn/components/navbar/navbar.js +1 -1
- package/cdn/components/navbar-link/navbar-link.js +1 -1
- package/cdn/components/navbar-menu/navbar-menu.d.ts +6 -4
- package/cdn/components/navbar-menu/navbar-menu.js +1 -1
- package/cdn/components/option/option.d.ts +6 -2
- package/cdn/components/option/option.js +1 -1
- package/cdn/components/page-header/page-header.js +1 -1
- package/cdn/components/pagination/pagination.d.ts +14 -5
- package/cdn/components/pagination/pagination.js +1 -1
- package/cdn/components/pagination-button/pagination-button.d.ts +6 -0
- package/cdn/components/pagination-button/pagination-button.js +1 -1
- package/cdn/components/popup/popup.js +1 -1
- package/cdn/components/profile-button/profile-button.d.ts +8 -3
- package/cdn/components/profile-button/profile-button.js +1 -1
- package/cdn/components/progress-bar/progress-bar.js +1 -1
- package/cdn/components/progress-ring/progress-ring.js +1 -1
- package/cdn/components/quote/quote.js +1 -1
- package/cdn/components/radio/radio.d.ts +6 -1
- package/cdn/components/radio/radio.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 +6 -2
- package/cdn/components/radio-group/radio-group.js +1 -1
- package/cdn/components/range-slider/range-slider.d.ts +0 -2
- package/cdn/components/range-slider/range-slider.js +1 -1
- package/cdn/components/relative-time/relative-time.js +1 -1
- package/cdn/components/resize-observer/resize-observer.js +1 -1
- package/cdn/components/search/search.d.ts +7 -4
- package/cdn/components/search/search.js +1 -1
- package/cdn/components/select/select.d.ts +9 -4
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/sidenav/sidenav.d.ts +8 -3
- package/cdn/components/sidenav/sidenav.js +1 -1
- package/cdn/components/sidenav-info-accordion/sidenav-info-accordion.d.ts +4 -2
- package/cdn/components/sidenav-info-accordion/sidenav-info-accordion.js +1 -1
- package/cdn/components/skeleton/skeleton.js +1 -1
- package/cdn/components/skip-link-item/skip-link-item.js +1 -1
- package/cdn/components/skip-links/skip-links.js +1 -1
- package/cdn/components/spinner/spinner.js +1 -1
- package/cdn/components/split-panel/split-panel.d.ts +4 -1
- package/cdn/components/split-panel/split-panel.js +1 -1
- package/cdn/components/step/step.d.ts +6 -2
- package/cdn/components/step/step.js +1 -1
- package/cdn/components/stepper/stepper.js +1 -1
- package/cdn/components/success-text/success-text.d.ts +4 -1
- package/cdn/components/success-text/success-text.js +1 -1
- package/cdn/components/switch/switch.d.ts +4 -1
- package/cdn/components/switch/switch.js +1 -1
- package/cdn/components/tab/tab.d.ts +4 -2
- package/cdn/components/tab/tab.js +1 -1
- package/cdn/components/tab-group/tab-group.d.ts +4 -1
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/tab-panel/tab-panel.js +1 -1
- package/cdn/components/table/table.js +1 -1
- package/cdn/components/table-action/table-action.d.ts +8 -2
- package/cdn/components/table-action/table-action.js +1 -1
- package/cdn/components/table-body/table-body.js +1 -1
- package/cdn/components/table-caption/table-caption.d.ts +4 -1
- package/cdn/components/table-caption/table-caption.js +1 -1
- package/cdn/components/table-cell/table-cell.d.ts +4 -1
- package/cdn/components/table-cell/table-cell.js +1 -1
- package/cdn/components/table-container/table-container.d.ts +4 -1
- package/cdn/components/table-container/table-container.js +1 -1
- package/cdn/components/table-expanded-row/table-expanded-row.js +1 -1
- package/cdn/components/table-head/table-head.js +1 -1
- package/cdn/components/table-header-cell/table-header-cell.d.ts +6 -3
- package/cdn/components/table-header-cell/table-header-cell.js +1 -1
- package/cdn/components/table-header-row/table-header-row.d.ts +8 -3
- package/cdn/components/table-header-row/table-header-row.js +1 -1
- package/cdn/components/table-of-contents/table-of-contents.d.ts +4 -0
- package/cdn/components/table-of-contents/table-of-contents.js +1 -1
- package/cdn/components/table-row/table-row.d.ts +6 -4
- package/cdn/components/table-row/table-row.js +1 -1
- package/cdn/components/table-single-cell-row/table-single-cell-row.js +1 -1
- package/cdn/components/table-toolbar/table-toolbar.js +1 -1
- package/cdn/components/tag/tag.d.ts +8 -3
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/components/tag/tag.styles.js +1 -1
- package/cdn/components/tag-button/tag-button.js +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/components/tooltip/tooltip.d.ts +4 -2
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/components/tree/tree.js +1 -1
- package/cdn/components/tree-item/tree-item.d.ts +8 -3
- package/cdn/components/tree-item/tree-item.js +1 -1
- package/cdn/components/visually-hidden/visually-hidden.js +1 -1
- package/cdn/custom-elements.json +816 -43
- package/cdn/design-system.js +2 -2
- package/cdn/internal/components/calendar/calendar.js +0 -2
- package/cdn/internal/components/checkbox-box/checkbox-box.d.ts +4 -1
- package/cdn/internal/components/checkbox-box/checkbox-box.js +2 -1
- package/cdn/internal/components/filter-base/filter-base.d.ts +6 -4
- package/cdn/internal/components/filter-base/filter-base.js +6 -2
- package/cdn/internal/components/form-control/form-control-layout.d.ts +4 -1
- package/cdn/internal/components/form-control/form-control-layout.js +4 -1
- package/cdn/internal/components/form-selectable-card/form-selectable-card.d.ts +8 -3
- package/cdn/internal/components/form-selectable-card/form-selectable-card.js +8 -3
- package/cdn/internal/components/form-toggle-button/form-toggle-button.d.ts +4 -1
- package/cdn/internal/components/form-toggle-button/form-toggle-button.js +2 -1
- package/cdn/internal/components/input-base/input-base.d.ts +5 -1
- package/cdn/internal/components/input-base/input-base.js +2 -1
- package/cdn/internal/components/radio-icon/radio-icon.d.ts +4 -1
- package/cdn/internal/components/radio-icon/radio-icon.js +2 -1
- package/cdn/internal/shoelace-element.d.ts +3 -0
- package/cdn/internal/shoelace-element.js +23 -0
- package/cdn/themes/dsa-wc-theme.css +8 -2
- package/cdn/themes/dsa-wc-theme.min.css +1 -1
- package/cdn/themes/dsa-wc-theme.styles.js +8 -2
- package/cdn/translations/en-gb.js +1 -1
- package/cdn/translations/en.js +1 -1
- package/cdn/translations/fr.js +1 -1
- package/cdn/utilities/icon-library.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 +11 -1
- package/cdn/web-types.json +466 -10
- package/dist/chunks/{chunk.73ZFCB6R.js → chunk.2E6QIQHU.js} +6 -2
- package/dist/chunks/{chunk.CRHM2CE5.js → chunk.2GKYCE3E.js} +23 -3
- package/dist/chunks/{chunk.NOH4G7Z3.js → chunk.2MJ3TUEC.js} +12 -2
- package/dist/chunks/{chunk.Q6SKCUWC.js → chunk.2RZJMNNG.js} +0 -3
- package/dist/chunks/{chunk.SV42ISYL.js → chunk.2UHD24QX.js} +28 -2
- package/dist/chunks/{chunk.XGXOHXHU.js → chunk.2V4TQXY6.js} +11 -3
- package/dist/chunks/{chunk.OUAQWUW4.js → chunk.3BDFJNQD.js} +6 -2
- package/dist/chunks/{chunk.GWVJL4RF.js → chunk.3MXQLB4L.js} +5 -1
- package/dist/chunks/{chunk.IR2O4TL3.js → chunk.3SAKVK56.js} +5 -1
- package/dist/chunks/{chunk.ML7UI7S7.js → chunk.3XEJ3UQS.js} +6 -2
- package/dist/chunks/{chunk.FAG62NRM.js → chunk.4UFNEXOD.js} +5 -1
- package/dist/chunks/{chunk.IT5CTBH7.js → chunk.4XPBWICF.js} +1 -1
- package/dist/chunks/{chunk.47GFM36Y.js → chunk.54XSLFSC.js} +1 -1
- package/dist/chunks/{chunk.G7WA3OWF.js → chunk.55MXUVNS.js} +12 -2
- package/dist/chunks/{chunk.4U66LKYV.js → chunk.55W7VWHS.js} +23 -6
- package/dist/chunks/{chunk.OXRZH5XZ.js → chunk.5C436DB4.js} +6 -2
- package/dist/chunks/{chunk.255DCWQE.js → chunk.5LUZ76CA.js} +9 -2
- package/dist/chunks/{chunk.AHUS3URN.js → chunk.5NSAEDEE.js} +5 -1
- package/dist/chunks/{chunk.JIXU425U.js → chunk.6FHEIU65.js} +9 -2
- package/dist/chunks/{chunk.PBDKMCCH.js → chunk.6L6NPRUN.js} +16 -2
- package/dist/chunks/{chunk.JAVCUO27.js → chunk.6Q5DARJM.js} +5 -1
- package/dist/chunks/{chunk.BGZYADDV.js → chunk.6QE4MIXY.js} +1 -1
- package/dist/chunks/{chunk.ORDSJDUP.js → chunk.6TDF44UO.js} +5 -1
- package/dist/chunks/{chunk.4APWIIUS.js → chunk.73XRFTV7.js} +4 -4
- package/dist/chunks/{chunk.VFDZ6OTM.js → chunk.7EBWBPAS.js} +16 -2
- package/dist/chunks/{chunk.X4ZCLMAL.js → chunk.AC6UE3V5.js} +1 -1
- package/dist/chunks/{chunk.KONRKBD4.js → chunk.AG4HZDJV.js} +1 -0
- package/dist/chunks/{chunk.Z73F57HS.js → chunk.AICETKP7.js} +2 -2
- package/dist/chunks/{chunk.TZQ3MU6S.js → chunk.ANLC37HJ.js} +18 -2
- package/dist/chunks/{chunk.O4ZVD6ZZ.js → chunk.AUI3QHQQ.js} +6 -2
- package/dist/chunks/{chunk.5JCDRTBY.js → chunk.BASV2VAI.js} +1 -1
- package/dist/chunks/{chunk.LNQM4VDZ.js → chunk.BJ76CXBF.js} +1 -1
- package/dist/chunks/{chunk.HSM5HMUP.js → chunk.BTEEMPDS.js} +1 -1
- package/dist/chunks/{chunk.AUJ2FJE2.js → chunk.BZQMTSEX.js} +2 -2
- package/dist/chunks/{chunk.C2USJPWZ.js → chunk.CEW6LABS.js} +16 -2
- package/dist/chunks/{chunk.2LNBA2FQ.js → chunk.CFBX4SXO.js} +5 -1
- package/dist/chunks/{chunk.EWY2GCPZ.js → chunk.CKJJ4MSU.js} +2 -2
- package/dist/chunks/{chunk.ZVKFVRCK.js → chunk.CNV2KEV4.js} +12 -2
- package/dist/chunks/{chunk.QZXP2757.js → chunk.CRAVJN6L.js} +5 -1
- package/dist/chunks/{chunk.VOUA4OR5.js → chunk.CXWEKXGR.js} +6 -2
- package/dist/chunks/{chunk.VOHUSNGA.js → chunk.ECETHATR.js} +9 -2
- package/dist/chunks/{chunk.76W5QCK5.js → chunk.ECJIGGPC.js} +1 -1
- package/dist/chunks/{chunk.35QYCRYB.js → chunk.ENFXOLGK.js} +28 -2
- package/dist/chunks/{chunk.VHKZOCPL.js → chunk.ERXIZLHH.js} +1 -1
- package/dist/chunks/{chunk.UNN3FKRS.js → chunk.F47D5JTA.js} +6 -2
- package/dist/chunks/{chunk.CULKJQ43.js → chunk.F4SZABJP.js} +2 -2
- package/dist/chunks/{chunk.UDSWI6Y6.js → chunk.F57NYQVS.js} +18 -4
- package/dist/chunks/{chunk.7I4C6CEB.js → chunk.FAFK3STZ.js} +1 -1
- package/dist/chunks/{chunk.YT4HJ3IL.js → chunk.FF67XKLP.js} +1 -1
- package/dist/chunks/{chunk.GY4FLVTL.js → chunk.FNJT4W4I.js} +1 -1
- package/dist/chunks/{chunk.MOQLFC6H.js → chunk.GBZY2OWL.js} +3 -3
- package/dist/chunks/{chunk.RQVGZS26.js → chunk.GSIIWPNB.js} +1 -1
- package/dist/chunks/{chunk.ED25W2OX.js → chunk.GUKOZGE3.js} +9 -1
- package/dist/chunks/{chunk.5EIUAA3U.js → chunk.GYWU4AAB.js} +1 -1
- package/dist/chunks/{chunk.AABUINPL.js → chunk.GZZFBLBE.js} +1 -1
- package/dist/chunks/{chunk.LS7YUONN.js → chunk.HALYTFYA.js} +1 -1
- package/dist/chunks/{chunk.YAVLD645.js → chunk.HKXHM6VA.js} +2 -2
- package/dist/chunks/{chunk.YRCGZJGX.js → chunk.HZPQGJ6B.js} +11 -1
- package/dist/chunks/{chunk.6WEGUWI5.js → chunk.I624JTPY.js} +2 -2
- package/dist/chunks/{chunk.Q6XO7AEM.js → chunk.I7553C2G.js} +2 -2
- package/dist/chunks/{chunk.JVFGYM3B.js → chunk.IAJLX5AF.js} +1 -1
- package/dist/chunks/{chunk.3D22YO3Z.js → chunk.IG5ZIIQI.js} +2 -2
- package/dist/chunks/{chunk.O7HKQMZA.js → chunk.IJUJLGCZ.js} +1 -1
- package/dist/chunks/{chunk.PDXO7ACT.js → chunk.J476JEKY.js} +1 -1
- package/dist/chunks/{chunk.RMCLM44L.js → chunk.JBKNTRA7.js} +1 -1
- package/dist/chunks/{chunk.L7NOS4FR.js → chunk.JDVVXASM.js} +6 -2
- package/dist/chunks/{chunk.6SP7XNBV.js → chunk.JEWVIFAO.js} +5 -1
- package/dist/chunks/{chunk.P6ZIC3SJ.js → chunk.JIN6PGAK.js} +1 -1
- package/dist/chunks/{chunk.G3QPDRD4.js → chunk.JJF4QB3T.js} +6 -2
- package/dist/chunks/{chunk.DKRTICMF.js → chunk.JKNKFWLE.js} +1 -1
- package/dist/chunks/{chunk.WD5PUKCI.js → chunk.K4WJKETZ.js} +6 -2
- package/dist/chunks/{chunk.775FJWON.js → chunk.KRGYVKGG.js} +20 -2
- package/dist/chunks/{chunk.T2M6RDF7.js → chunk.KTSLND6I.js} +19 -3
- package/dist/chunks/{chunk.7O7LNFJW.js → chunk.LE2O6AR5.js} +21 -6
- package/dist/chunks/{chunk.2HARVX2F.js → chunk.LHKUT7UW.js} +5 -1
- package/dist/chunks/{chunk.KOGIJSJ2.js → chunk.LIESRIIK.js} +120 -1
- package/dist/chunks/{chunk.GP75TYQS.js → chunk.LPQTWKYW.js} +2 -2
- package/dist/chunks/{chunk.STWD3IVA.js → chunk.M2YBQINH.js} +15 -3
- package/dist/chunks/{chunk.ZBVZPKHH.js → chunk.MJVWVA7K.js} +14 -2
- package/dist/chunks/{chunk.LJKZZ5Z7.js → chunk.MPV4OPIK.js} +1 -1
- package/dist/chunks/{chunk.BKZKEYEW.js → chunk.N3SOWEHQ.js} +1 -1
- package/dist/chunks/{chunk.ZYP5UA6L.js → chunk.NHF2XMDG.js} +2 -2
- package/dist/chunks/{chunk.F7K75AKP.js → chunk.NTHYV3TN.js} +27 -3
- package/dist/chunks/{chunk.HXC52XCE.js → chunk.NVCEVGBF.js} +2 -2
- package/dist/chunks/{chunk.E4I65Q6Y.js → chunk.NXO27KKG.js} +1 -1
- package/dist/chunks/{chunk.TKIRVUSQ.js → chunk.O67DEHIL.js} +5 -1
- package/dist/chunks/{chunk.42QEV4IV.js → chunk.P6RAYH7K.js} +6 -2
- package/dist/chunks/{chunk.NMTWMSSW.js → chunk.PANCODOV.js} +9 -2
- package/dist/chunks/{chunk.3G3MLJCH.js → chunk.PCLHDZYI.js} +1 -1
- package/dist/chunks/{chunk.YLG5J7YM.js → chunk.PENDUUVT.js} +1 -1
- package/dist/chunks/{chunk.HSU4VAS4.js → chunk.PFNWEDHI.js} +2 -2
- package/dist/chunks/{chunk.364OCK6Y.js → chunk.PZACWPDY.js} +2 -2
- package/dist/chunks/{chunk.6BXNHKYR.js → chunk.Q2XLWXN3.js} +14 -6
- package/dist/chunks/{chunk.ZJHYC5NS.js → chunk.Q7VBTFT2.js} +6 -2
- package/dist/chunks/{chunk.4ODHJQ4O.js → chunk.QGA7WIG4.js} +2 -2
- package/dist/chunks/{chunk.JTG2VILD.js → chunk.QGI766JC.js} +1 -1
- package/dist/chunks/{chunk.XBYDQEMZ.js → chunk.QHNPNQXO.js} +1 -1
- package/dist/chunks/{chunk.664KFSJP.js → chunk.QKT5LLDM.js} +2 -2
- package/dist/chunks/{chunk.5J4LC3T5.js → chunk.QO2BHDXY.js} +5 -1
- package/dist/chunks/{chunk.Z6DP5AUJ.js → chunk.QQTHVDGJ.js} +2 -2
- package/dist/chunks/{chunk.JBEKH5GD.js → chunk.QTPJ4QBU.js} +6 -2
- package/dist/chunks/{chunk.MPR4IZDU.js → chunk.QTVVGVFN.js} +3 -3
- package/dist/chunks/{chunk.CQTA7CG3.js → chunk.RAUXZLKM.js} +2 -2
- package/dist/chunks/{chunk.SO4EEDCJ.js → chunk.RDHPV744.js} +1 -1
- package/dist/chunks/{chunk.FB47DS6G.js → chunk.RG2NQAX7.js} +7 -0
- package/dist/chunks/{chunk.VVRJUTG5.js → chunk.RNLOUIO3.js} +6 -2
- package/dist/chunks/{chunk.RYPGPHI7.js → chunk.RPPERQYB.js} +2 -2
- package/dist/chunks/{chunk.XMRIXYIV.js → chunk.RVUUZ3KA.js} +7 -1
- package/dist/chunks/{chunk.T4R634BF.js → chunk.SA4KYN77.js} +22 -2
- package/dist/chunks/{chunk.OGVBLLDB.js → chunk.SIO6FXBK.js} +19 -7
- package/dist/chunks/{chunk.PEAZPHYW.js → chunk.SJFSACRO.js} +28 -7
- package/dist/chunks/{chunk.SL3DN4BD.js → chunk.SVWU6JW4.js} +24 -0
- package/dist/chunks/{chunk.URFGFMJF.js → chunk.TDKJ4FY5.js} +6 -2
- package/dist/chunks/{chunk.L56KKTTB.js → chunk.TOOML6W3.js} +189 -57
- package/dist/chunks/{chunk.VUF4NZNQ.js → chunk.TVLPPNG4.js} +12 -2
- package/dist/chunks/{chunk.PNKCJUTV.js → chunk.TW7YE6SU.js} +5 -1
- package/dist/chunks/{chunk.QY3AIGLE.js → chunk.TYAQGRNJ.js} +13 -3
- package/dist/chunks/chunk.U5AV7YAS.js +66 -0
- package/dist/chunks/{chunk.SK2SJE2S.js → chunk.U74UUL5R.js} +11 -1
- package/dist/chunks/{chunk.3NFVJZPV.js → chunk.UOLALNTU.js} +2 -2
- package/dist/chunks/{chunk.DV3XUZHI.js → chunk.UUZBFS35.js} +19 -3
- package/dist/chunks/{chunk.ZTQL6LV2.js → chunk.UYPZGXIY.js} +14 -4
- package/dist/chunks/{chunk.23ND2IYT.js → chunk.V3LDWXHK.js} +2 -4
- package/dist/chunks/{chunk.FXFNRADC.js → chunk.VFHBJRGL.js} +16 -2
- package/dist/chunks/{chunk.7ICCANB6.js → chunk.VK44P4XQ.js} +12 -2
- package/dist/chunks/{chunk.XRVDXZ37.js → chunk.VPOPSJUF.js} +15 -1
- package/dist/chunks/{chunk.KVBCYZ63.js → chunk.VPSUIQHG.js} +9 -2
- package/dist/chunks/{chunk.O6JPAHCB.js → chunk.WFACPRM5.js} +1 -1
- package/dist/chunks/{chunk.CEC2UZ2B.js → chunk.WJFVQRWU.js} +9 -1
- package/dist/chunks/{chunk.ZGBHQB4P.js → chunk.WMFEJDPX.js} +10 -2
- package/dist/chunks/{chunk.PBUGRVMQ.js → chunk.WNESPUKK.js} +5 -1
- package/dist/chunks/{chunk.TN4CAFLD.js → chunk.WOZF7EML.js} +2 -2
- package/dist/chunks/{chunk.WWO46GSF.js → chunk.XDW2FM6B.js} +8 -1
- package/dist/chunks/{chunk.V2LO3RHA.js → chunk.XS7X5VMK.js} +2 -2
- package/dist/chunks/{chunk.5WY2ZKV4.js → chunk.XSPIIP5W.js} +20 -8
- package/dist/chunks/{chunk.FTWMMA3O.js → chunk.Y2XMBFRO.js} +12 -2
- package/dist/chunks/{chunk.QRPBHKNM.js → chunk.Y42C4XSY.js} +1 -1
- package/dist/chunks/{chunk.EQBGP5ZK.js → chunk.Y52HRJXK.js} +6 -2
- package/dist/chunks/{chunk.JTKPLTO2.js → chunk.YKL22V4E.js} +1 -1
- package/dist/chunks/{chunk.KJFIJI7X.js → chunk.YROTOHU3.js} +1 -1
- package/dist/chunks/{chunk.DEQ4YOE2.js → chunk.YTT3RNXV.js} +1 -1
- package/dist/chunks/{chunk.SAYXVOCR.js → chunk.ZZ67C4V2.js} +5 -1
- package/dist/components/accordion/accordion.d.ts +7 -2
- package/dist/components/accordion/accordion.js +7 -7
- package/dist/components/accordion-group/accordion-group.js +8 -8
- package/dist/components/alert/alert.d.ts +9 -1
- package/dist/components/alert/alert.js +8 -8
- package/dist/components/alert/alert.styles.js +1 -1
- package/dist/components/anchor-tag/anchor-tag.js +2 -2
- package/dist/components/animation/animation.js +2 -2
- package/dist/components/avatar/avatar.js +5 -5
- package/dist/components/avatar-group/avatar-group.d.ts +0 -1
- package/dist/components/avatar-group/avatar-group.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/badge/badge.styles.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.d.ts +0 -3
- package/dist/components/breadcrumb/breadcrumb.js +3 -10
- package/dist/components/breadcrumb-item/breadcrumb-item.d.ts +6 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.js +10 -3
- package/dist/components/button/button.d.ts +6 -2
- package/dist/components/button/button.js +7 -7
- package/dist/components/calendar/calendar.js +3 -3
- package/dist/components/callout/callout.d.ts +0 -1
- package/dist/components/callout/callout.js +2 -13
- package/dist/components/card/card.js +2 -2
- package/dist/components/card-content/card-content.d.ts +4 -1
- package/dist/components/card-content/card-content.js +5 -5
- package/dist/components/card-nav/card-nav.js +2 -2
- package/dist/components/card-nav-accordion/card-nav-accordion.d.ts +4 -1
- package/dist/components/card-nav-accordion/card-nav-accordion.js +6 -6
- package/dist/components/card-nav-item/card-nav-item.d.ts +4 -1
- package/dist/components/card-nav-item/card-nav-item.js +5 -5
- package/dist/components/checkbox/checkbox.d.ts +6 -3
- package/dist/components/checkbox/checkbox.js +9 -9
- package/dist/components/checkbox-button/checkbox-button.js +9 -9
- package/dist/components/checkbox-card/checkbox-card.js +8 -8
- package/dist/components/checkbox-group/checkbox-group.d.ts +6 -2
- package/dist/components/checkbox-group/checkbox-group.js +7 -7
- package/dist/components/combobox/combobox.d.ts +15 -6
- package/dist/components/combobox/combobox.js +17 -15
- package/dist/components/copy-button/copy-button.d.ts +6 -4
- package/dist/components/copy-button/copy-button.js +8 -8
- package/dist/components/dialog/dialog.d.ts +4 -1
- package/dist/components/dialog/dialog.js +7 -7
- package/dist/components/divider/divider.js +2 -2
- package/dist/components/download-card/download-card.d.ts +4 -1
- package/dist/components/download-card/download-card.js +5 -5
- package/dist/components/download-link/download-link.d.ts +4 -1
- package/dist/components/download-link/download-link.js +5 -5
- package/dist/components/drawer/drawer.d.ts +4 -1
- package/dist/components/drawer/drawer.js +7 -7
- package/dist/components/dropdown/dropdown.d.ts +4 -2
- package/dist/components/dropdown/dropdown.js +4 -4
- package/dist/components/error-message-panel/error-message-panel.js +3 -3
- package/dist/components/error-text/error-text.d.ts +4 -1
- package/dist/components/error-text/error-text.js +5 -5
- package/dist/components/fieldset/fieldset.js +2 -2
- package/dist/components/file-upload/file-upload.d.ts +22 -3
- package/dist/components/file-upload/file-upload.js +16 -8
- package/dist/components/file-upload/file-upload.styles.js +1 -1
- package/dist/components/file-upload/file-upload.utils.d.ts +1 -0
- package/dist/components/file-upload/file-upload.utils.js +7 -0
- package/dist/components/file-upload-item/file-upload-item.js +7 -7
- package/dist/components/file-upload-item/file-upload-item.styles.js +1 -1
- package/dist/components/filter-button/filter-button.d.ts +4 -3
- package/dist/components/filter-button/filter-button.js +6 -9
- package/dist/components/filter-counter/filter-counter.d.ts +11 -5
- package/dist/components/filter-counter/filter-counter.js +27 -26
- package/dist/components/filter-date/filter-date.d.ts +15 -5
- package/dist/components/filter-date/filter-date.js +16 -14
- package/dist/components/filter-range/filter-range.d.ts +14 -6
- package/dist/components/filter-range/filter-range.js +30 -29
- package/dist/components/filter-select/filter-select.d.ts +13 -2
- package/dist/components/filter-select/filter-select.js +29 -28
- package/dist/components/footer/footer.d.ts +6 -1
- package/dist/components/footer/footer.js +4 -4
- package/dist/components/footer-content-block/footer-content-block.d.ts +0 -1
- package/dist/components/footer-content-block/footer-content-block.js +2 -4
- package/dist/components/footer-mandatory-mentions/footer-mandatory-mentions.d.ts +4 -1
- package/dist/components/footer-mandatory-mentions/footer-mandatory-mentions.js +3 -3
- package/dist/components/footer-sitemap/footer-sitemap.js +2 -2
- package/dist/components/footer-sitemap-item/footer-sitemap-item.d.ts +0 -1
- package/dist/components/footer-sitemap-item/footer-sitemap-item.js +2 -4
- package/dist/components/format-bytes/format-bytes.js +3 -3
- package/dist/components/format-date/format-date.js +3 -3
- package/dist/components/format-number/format-number.js +3 -3
- package/dist/components/graphic-element/graphic-element.js +1 -1
- package/dist/components/header/header.d.ts +0 -1
- package/dist/components/header/header.js +3 -5
- package/dist/components/header-external-link/header-external-link.d.ts +6 -0
- package/dist/components/header-external-link/header-external-link.js +4 -2
- package/dist/components/header-modern/header-modern.d.ts +0 -1
- package/dist/components/header-modern/header-modern.js +3 -5
- package/dist/components/header-search/header-search.d.ts +10 -6
- package/dist/components/header-search/header-search.js +11 -11
- package/dist/components/icon/icon.js +4 -4
- package/dist/components/icon/library.js +2 -2
- package/dist/components/icon/library.system.js +1 -1
- package/dist/components/icon-button/icon-button.d.ts +4 -1
- package/dist/components/icon-button/icon-button.js +5 -5
- package/dist/components/input/input.d.ts +11 -8
- package/dist/components/input/input.js +22 -19
- package/dist/components/input-amount/input-amount.d.ts +7 -2
- package/dist/components/input-amount/input-amount.js +12 -12
- package/dist/components/input-date/input-date.d.ts +16 -7
- package/dist/components/input-date/input-date.js +14 -14
- package/dist/components/input-mask/input-mask.d.ts +8 -1
- package/dist/components/input-mask/input-mask.js +12 -10
- package/dist/components/input-native/input-native.d.ts +9 -3
- package/dist/components/input-native/input-native.js +11 -11
- package/dist/components/input-otp/input-otp.d.ts +1 -2
- package/dist/components/input-otp/input-otp.js +9 -11
- package/dist/components/input-phone/input-phone.d.ts +12 -4
- package/dist/components/input-phone/input-phone.js +20 -20
- package/dist/components/input-time/input-time.d.ts +13 -5
- package/dist/components/input-time/input-time.js +13 -13
- package/dist/components/menu-accordion/menu-accordion.d.ts +6 -2
- package/dist/components/menu-accordion/menu-accordion.js +8 -8
- package/dist/components/menu-item/menu-item.d.ts +4 -1
- package/dist/components/menu-item/menu-item.js +5 -5
- package/dist/components/menu-label/menu-label.js +2 -2
- package/dist/components/menu-navigation/menu-navigation.js +6 -6
- package/dist/components/mutation-observer/mutation-observer.js +2 -2
- package/dist/components/navbar/navbar.js +2 -2
- package/dist/components/navbar-link/navbar-link.js +11 -11
- package/dist/components/navbar-menu/navbar-menu.d.ts +6 -4
- package/dist/components/navbar-menu/navbar-menu.js +7 -14
- package/dist/components/option/option.d.ts +6 -2
- package/dist/components/option/option.js +7 -7
- package/dist/components/page-header/page-header.js +2 -2
- package/dist/components/pagination/pagination.d.ts +14 -5
- package/dist/components/pagination/pagination.js +29 -24
- package/dist/components/pagination-button/pagination-button.d.ts +6 -0
- package/dist/components/pagination-button/pagination-button.js +4 -2
- package/dist/components/popup/popup.js +2 -2
- package/dist/components/profile-button/profile-button.d.ts +8 -3
- package/dist/components/profile-button/profile-button.js +9 -9
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.js +2 -2
- package/dist/components/quote/quote.js +2 -2
- package/dist/components/radio/radio.d.ts +6 -1
- package/dist/components/radio/radio.js +6 -6
- package/dist/components/radio-button/radio-button.js +9 -9
- package/dist/components/radio-card/radio-card.js +11 -11
- package/dist/components/radio-group/radio-group.d.ts +6 -2
- package/dist/components/radio-group/radio-group.js +7 -7
- package/dist/components/range-slider/range-slider.d.ts +0 -2
- package/dist/components/range-slider/range-slider.js +2 -2
- package/dist/components/relative-time/relative-time.js +3 -3
- package/dist/components/resize-observer/resize-observer.js +2 -2
- package/dist/components/search/search.d.ts +7 -4
- package/dist/components/search/search.js +8 -8
- package/dist/components/select/select.d.ts +9 -4
- package/dist/components/select/select.js +14 -14
- package/dist/components/sidenav/sidenav.d.ts +8 -3
- package/dist/components/sidenav/sidenav.js +9 -9
- package/dist/components/sidenav-info-accordion/sidenav-info-accordion.d.ts +4 -2
- package/dist/components/sidenav-info-accordion/sidenav-info-accordion.js +9 -9
- package/dist/components/skeleton/skeleton.js +2 -2
- package/dist/components/skip-link-item/skip-link-item.js +2 -2
- package/dist/components/skip-links/skip-links.js +3 -3
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/split-panel/split-panel.d.ts +4 -1
- package/dist/components/split-panel/split-panel.js +6 -6
- package/dist/components/step/step.d.ts +6 -2
- package/dist/components/step/step.js +7 -7
- package/dist/components/stepper/stepper.js +2 -2
- package/dist/components/success-text/success-text.d.ts +4 -1
- package/dist/components/success-text/success-text.js +5 -5
- package/dist/components/switch/switch.d.ts +4 -1
- package/dist/components/switch/switch.js +6 -6
- package/dist/components/tab/tab.d.ts +4 -2
- package/dist/components/tab/tab.js +7 -7
- package/dist/components/tab-group/tab-group.d.ts +4 -1
- package/dist/components/tab-group/tab-group.js +7 -7
- package/dist/components/tab-panel/tab-panel.js +2 -2
- package/dist/components/table/table.js +2 -2
- package/dist/components/table-action/table-action.d.ts +8 -2
- package/dist/components/table-action/table-action.js +18 -4
- package/dist/components/table-body/table-body.js +5 -5
- package/dist/components/table-caption/table-caption.d.ts +4 -1
- package/dist/components/table-caption/table-caption.js +5 -5
- package/dist/components/table-cell/table-cell.d.ts +4 -1
- package/dist/components/table-cell/table-cell.js +4 -4
- package/dist/components/table-container/table-container.d.ts +4 -1
- package/dist/components/table-container/table-container.js +5 -5
- package/dist/components/table-expanded-row/table-expanded-row.js +2 -2
- package/dist/components/table-head/table-head.js +4 -4
- package/dist/components/table-header-cell/table-header-cell.d.ts +6 -3
- package/dist/components/table-header-cell/table-header-cell.js +8 -8
- package/dist/components/table-header-row/table-header-row.d.ts +8 -3
- package/dist/components/table-header-row/table-header-row.js +17 -17
- package/dist/components/table-of-contents/table-of-contents.d.ts +4 -0
- package/dist/components/table-of-contents/table-of-contents.js +9 -3
- package/dist/components/table-row/table-row.d.ts +6 -4
- package/dist/components/table-row/table-row.js +12 -12
- package/dist/components/table-single-cell-row/table-single-cell-row.js +2 -2
- package/dist/components/table-toolbar/table-toolbar.js +2 -2
- package/dist/components/tag/tag.d.ts +8 -3
- package/dist/components/tag/tag.js +11 -11
- package/dist/components/tag/tag.styles.js +1 -1
- package/dist/components/tag-button/tag-button.js +2 -2
- package/dist/components/textarea/textarea.js +7 -7
- package/dist/components/tooltip/tooltip.d.ts +4 -2
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/tree/tree.js +13 -13
- package/dist/components/tree-item/tree-item.d.ts +8 -3
- package/dist/components/tree-item/tree-item.js +12 -12
- package/dist/components/visually-hidden/visually-hidden.js +2 -2
- package/dist/custom-elements.json +816 -43
- package/dist/design-system.js +181 -180
- package/dist/internal/components/calendar/calendar.js +0 -2
- package/dist/internal/components/checkbox-box/checkbox-box.d.ts +4 -1
- package/dist/internal/components/checkbox-box/checkbox-box.js +2 -1
- package/dist/internal/components/filter-base/filter-base.d.ts +6 -4
- package/dist/internal/components/filter-base/filter-base.js +6 -2
- package/dist/internal/components/form-control/form-control-layout.d.ts +4 -1
- package/dist/internal/components/form-control/form-control-layout.js +4 -1
- package/dist/internal/components/form-selectable-card/form-selectable-card.d.ts +8 -3
- package/dist/internal/components/form-selectable-card/form-selectable-card.js +8 -3
- package/dist/internal/components/form-toggle-button/form-toggle-button.d.ts +4 -1
- package/dist/internal/components/form-toggle-button/form-toggle-button.js +2 -1
- package/dist/internal/components/input-base/input-base.d.ts +5 -1
- package/dist/internal/components/input-base/input-base.js +2 -1
- package/dist/internal/components/radio-icon/radio-icon.d.ts +4 -1
- package/dist/internal/components/radio-icon/radio-icon.js +2 -1
- package/dist/internal/shoelace-element.d.ts +3 -0
- package/dist/internal/shoelace-element.js +23 -0
- package/dist/themes/dsa-wc-theme.css +8 -2
- package/dist/themes/dsa-wc-theme.min.css +1 -1
- package/dist/themes/dsa-wc-theme.styles.js +8 -2
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/utilities/icon-library.js +2 -2
- package/dist/utilities/localize.d.ts +2 -0
- package/dist/utilities/localize.js +1 -1
- package/dist/utilities/storybook.js +4 -4
- package/dist/vscode.html-custom-data.json +11 -1
- package/dist/web-types.json +466 -10
- package/package.json +2 -2
- package/cdn/chunks/chunk.2IDFQMUY.js +0 -173
- package/cdn/chunks/chunk.2OMAP64Q.js +0 -75
- package/cdn/chunks/chunk.32PDY7UK.js +0 -62
- package/cdn/chunks/chunk.4HMGXARV.js +0 -20
- package/cdn/chunks/chunk.4WOVD75K.js +0 -1
- package/cdn/chunks/chunk.656TABWU.js +0 -68
- package/cdn/chunks/chunk.6IF6YOG2.js +0 -72
- package/cdn/chunks/chunk.6NIF5NUR.js +0 -6
- package/cdn/chunks/chunk.7E6YCVBM.js +0 -73
- package/cdn/chunks/chunk.7EFNXSDX.js +0 -62
- package/cdn/chunks/chunk.AFYV7235.js +0 -51
- package/cdn/chunks/chunk.APETMEWE.js +0 -44
- package/cdn/chunks/chunk.AWUKINCE.js +0 -26
- package/cdn/chunks/chunk.BLTJNDSL.js +0 -31
- package/cdn/chunks/chunk.BNGKQNWN.js +0 -20
- package/cdn/chunks/chunk.BNRHJT5Y.js +0 -41
- package/cdn/chunks/chunk.BRWNVT6G.js +0 -15
- package/cdn/chunks/chunk.BUGOUMBK.js +0 -66
- package/cdn/chunks/chunk.BYKNQ7UN.js +0 -35
- package/cdn/chunks/chunk.CEOMZJL3.js +0 -25
- package/cdn/chunks/chunk.CPEZHTWZ.js +0 -94
- package/cdn/chunks/chunk.E4OBJ7XY.js +0 -45
- package/cdn/chunks/chunk.E53LA4B5.js +0 -121
- package/cdn/chunks/chunk.EJRD5ETZ.js +0 -56
- package/cdn/chunks/chunk.ESMXIAXC.js +0 -41
- package/cdn/chunks/chunk.F2P7GHWQ.js +0 -26
- package/cdn/chunks/chunk.FIAFLKBH.js +0 -112
- package/cdn/chunks/chunk.GQ6KYNN7.js +0 -55
- package/cdn/chunks/chunk.GTWDOMYW.js +0 -73
- package/cdn/chunks/chunk.GW7LIL6T.js +0 -14
- package/cdn/chunks/chunk.HN7LULYJ.js +0 -50
- package/cdn/chunks/chunk.HOEECTTJ.js +0 -13
- package/cdn/chunks/chunk.HXKY4TCL.js +0 -42
- package/cdn/chunks/chunk.IQSBJVVT.js +0 -115
- package/cdn/chunks/chunk.ISAALGRC.js +0 -11
- package/cdn/chunks/chunk.J7BHUTIC.js +0 -26
- package/cdn/chunks/chunk.JFLLAQ3M.js +0 -1
- package/cdn/chunks/chunk.JO5OCC2C.js +0 -123
- package/cdn/chunks/chunk.JQHISP6X.js +0 -35
- package/cdn/chunks/chunk.K5JD7GGR.js +0 -8
- package/cdn/chunks/chunk.KL3MAUBF.js +0 -50
- package/cdn/chunks/chunk.KQCEZAEK.js +0 -53
- package/cdn/chunks/chunk.KXZCAPFG.js +0 -51
- package/cdn/chunks/chunk.KYNJPLDI.js +0 -19
- package/cdn/chunks/chunk.L4Z7QLDC.js +0 -7
- package/cdn/chunks/chunk.M4Y6MS6D.js +0 -13
- package/cdn/chunks/chunk.OJFSSNE6.js +0 -19
- package/cdn/chunks/chunk.OS3TEHEN.js +0 -38
- package/cdn/chunks/chunk.QWPUMMAA.js +0 -56
- package/cdn/chunks/chunk.RDMQQGD2.js +0 -68
- package/cdn/chunks/chunk.RLILIS2Y.js +0 -19
- package/cdn/chunks/chunk.RROT6Z42.js +0 -65
- package/cdn/chunks/chunk.SBOY5ZZ2.js +0 -36
- package/cdn/chunks/chunk.T2HPIB56.js +0 -72
- package/cdn/chunks/chunk.TKMEE6QH.js +0 -43
- package/cdn/chunks/chunk.TW5PTRLU.js +0 -20
- package/cdn/chunks/chunk.UJTEHF7B.js +0 -130
- package/cdn/chunks/chunk.VLFAKRJ7.js +0 -27
- package/cdn/chunks/chunk.WPG2N7B5.js +0 -10
- package/cdn/chunks/chunk.WY3M4SRD.js +0 -25
- package/cdn/chunks/chunk.XNHKS4WB.js +0 -60
- package/cdn/chunks/chunk.Y2EQJWZE.js +0 -38
- package/cdn/chunks/chunk.YZCUYRA4.js +0 -47
- package/cdn/chunks/core-js.6QDCQS53.js +0 -8
- package/cdn/chunks/dom.AS2IDUUD.js +0 -25
- package/cdn/chunks/wc-datepicker.entry.6PSI3D65.js +0 -1
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import{a as g}from"./chunk.VE2TTZQA.js";import{a as k}from"./chunk.DUYCHM7G.js";import{a as v}from"./chunk.U4TME7DS.js";import{a as C}from"./chunk.6YHPQNRD.js";import{b}from"./chunk.FWTZS7LK.js";import{c as y}from"./chunk.4WOVD75K.js";import{d as a}from"./chunk.ZBHHLRFH.js";import{a as o}from"./chunk.2RF4WD6T.js";import{a as n}from"./chunk.BWEPOOQP.js";import{a as c,b as l,c as u,d as m,f as p}from"./chunk.CEOMZJL3.js";import{a as f}from"./chunk.UMC4I57R.js";import{a as r}from"./chunk.GP725TPQ.js";import{f as i}from"./chunk.IZ2HVRME.js";var e=class extends p{constructor(){super(...arguments);this.formControlController=new b(this,{value:t=>t.checked?t.value||"on":void 0,defaultValue:t=>t.defaultChecked,setValue:(t,s)=>t.checked=s});this.localize=new y(this);this.hasFocus=!1;this.name="";this.size="medium";this.disabled=!1;this.readonly=!1;this.checked=!1;this.defaultChecked=!1;this.form="";this.required=!1}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("dsa-blur")}handleInput(){this.emit("dsa-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}handleClick(){this.readonly||(this.checked=!this.checked,this.emit("dsa-change"))}handleFocus(){this.hasFocus=!0,this.emit("dsa-focus")}handleKeyDown(t){this.readonly||(t.key==="Enter"&&(t.preventDefault(),this.checked=!this.checked,this.emit("dsa-change"),this.emit("dsa-input")),t.key==="ArrowLeft"&&(t.preventDefault(),this.checked=!1,this.emit("dsa-change"),this.emit("dsa-input")),t.key==="ArrowRight"&&(t.preventDefault(),this.checked=!0,this.emit("dsa-change"),this.emit("dsa-input")))}handleCheckedChange(){this.input.checked=this.checked,this.formControlController.updateValidity()}handleDisabledChange(){this.formControlController.setValidity(!0)}click(){this.input.click()}focus(t){this.input.focus(t)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){var t,s,d,h;return r`
|
|
2
|
-
<div
|
|
3
|
-
class=${a({"form-control":!0,"form-control--small":this.size==="small","form-control--medium":this.size==="medium","form-control--large":this.size==="large"})}
|
|
4
|
-
>
|
|
5
|
-
<label
|
|
6
|
-
part="base"
|
|
7
|
-
class=${a({switch:!0,"switch--checked":this.checked,"switch--disabled":this.disabled,"switch--readonly":this.readonly,"switch--focused":this.hasFocus,"switch--small":this.size==="small","switch--medium":this.size==="medium","switch--large":this.size==="large"})}
|
|
8
|
-
>
|
|
9
|
-
<div part="label" class="switch__label">
|
|
10
|
-
${this.required?r`<span class="switch__label-required">*</span>`:""}
|
|
11
|
-
<slot></slot>
|
|
12
|
-
</div>
|
|
13
|
-
|
|
14
|
-
<div class="switch__indicator">
|
|
15
|
-
<input
|
|
16
|
-
class="switch__input"
|
|
17
|
-
type="checkbox"
|
|
18
|
-
name=${this.name}
|
|
19
|
-
value=${o(this.value)}
|
|
20
|
-
.checked=${k(this.checked)}
|
|
21
|
-
.disabled=${this.disabled}
|
|
22
|
-
.required=${this.required}
|
|
23
|
-
role="switch"
|
|
24
|
-
aria-checked=${this.checked?"true":"false"}
|
|
25
|
-
aria-disabled=${o(this.readonly?"true":void 0)}
|
|
26
|
-
@click=${this.handleClick}
|
|
27
|
-
@input=${this.handleInput}
|
|
28
|
-
@invalid=${this.handleInvalid}
|
|
29
|
-
@blur=${this.handleBlur}
|
|
30
|
-
@focus=${this.handleFocus}
|
|
31
|
-
@keydown=${this.handleKeyDown}
|
|
32
|
-
/>
|
|
33
|
-
|
|
34
|
-
<span part="control" class="switch__control">
|
|
35
|
-
<span part="thumb" class="switch__thumb">
|
|
36
|
-
<dsa-icon
|
|
37
|
-
class="switch__checked-icon"
|
|
38
|
-
name="done"
|
|
39
|
-
library="system"
|
|
40
|
-
></dsa-icon>
|
|
41
|
-
</span>
|
|
42
|
-
</span>
|
|
43
|
-
|
|
44
|
-
<div class="switch__state" aria-hidden="true">
|
|
45
|
-
${this.checked?(s=(t=this.labelOn)!=null?t:this.onLabel)!=null?s:this.localize.term("switchOn"):(h=(d=this.labelOff)!=null?d:this.offLabel)!=null?h:this.localize.term("switchOff")}
|
|
46
|
-
</div>
|
|
47
|
-
</div>
|
|
48
|
-
</label>
|
|
49
|
-
</div>
|
|
50
|
-
`}};e.styles=[f,C,g],i([m('input[type="checkbox"]')],e.prototype,"input",2),i([u()],e.prototype,"hasFocus",2),i([l()],e.prototype,"name",2),i([l()],e.prototype,"value",2),i([l({reflect:!0})],e.prototype,"size",2),i([l({type:Boolean,reflect:!0})],e.prototype,"disabled",2),i([l({type:Boolean,reflect:!0})],e.prototype,"readonly",2),i([l({type:Boolean,reflect:!0})],e.prototype,"checked",2),i([v("checked")],e.prototype,"defaultChecked",2),i([l({reflect:!0})],e.prototype,"form",2),i([l({type:Boolean,reflect:!0})],e.prototype,"required",2),i([l({attribute:"label-on"})],e.prototype,"labelOn",2),i([l({attribute:"on-label"})],e.prototype,"onLabel",2),i([l({attribute:"label-off"})],e.prototype,"labelOff",2),i([l({attribute:"off-label"})],e.prototype,"offLabel",2),i([n("checked",{waitUntilFirstUpdate:!0})],e.prototype,"handleCheckedChange",1),i([n("disabled",{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),e=i([c("dsa-switch")],e);export{e as a};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import{a as H}from"./chunk.RCGUDUP2.js";import{a as q}from"./chunk.27RSAF7P.js";import{a as h,b as p}from"./chunk.3RLUYXJN.js";import{a as E}from"./chunk.ELL45QD3.js";import{a as w}from"./chunk.KLRPP4NQ.js";import{a as n,c as d}from"./chunk.HHVNQNCC.js";import{a as i,c as l}from"./chunk.TV2TMO2H.js";import{a as u}from"./chunk.B4KFHYLS.js";import{a as L}from"./chunk.NIRNX67K.js";import{c as T}from"./chunk.4WOVD75K.js";import{d as k}from"./chunk.ZBHHLRFH.js";import{a as C}from"./chunk.2RF4WD6T.js";import{a as y}from"./chunk.BWEPOOQP.js";import{a as g,b as s,d as c,f as _}from"./chunk.CEOMZJL3.js";import{a as f}from"./chunk.GP725TPQ.js";import{f as a}from"./chunk.IZ2HVRME.js";function v(m){return m.charAt(0).toUpperCase()+m.slice(1)}var e=class extends _{constructor(){super(...arguments);this.hasSlotController=new E(this,"footer");this.localize=new T(this);this.open=!1;this.label="";this.placement="end";this.contained=!1;this.noHeader=!1;this.filters=!1}connectedCallback(){super.connectedCallback(),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.modal=new q(this)}firstUpdated(){this.drawer.hidden=!this.open,this.open&&(this.addOpenListeners(),this.contained||(this.modal.activate(),h(this)))}disconnectedCallback(){super.disconnectedCallback(),p(this)}requestClose(t){if(this.emit("dsa-request-close",{cancelable:!0,detail:{source:t}}).defaultPrevented){let r=l(this,"drawer.denyClose",{dir:this.localize.dir()});n(this.panel,r.keyframes,r.options);return}this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}handleDocumentKeyDown(t){if(this.open&&!this.contained&&t.key==="Escape"){let o=this.querySelectorAll("dsa-tooltip");Array.from(o).some(b=>b.open)||(t.stopPropagation(),this.requestClose("keyboard"))}}async handleOpenChange(){if(this.open){this.emit("dsa-show"),this.addOpenListeners(),this.originalTrigger=document.activeElement,this.contained||(this.modal.activate(),h(this));let t=this.querySelector("[autofocus]");t&&t.removeAttribute("autofocus"),await Promise.all([d(this.drawer),d(this.overlay)]),this.drawer.hidden=!1,requestAnimationFrame(()=>{this.emit("dsa-initial-focus",{cancelable:!0}).defaultPrevented||(t?t.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),t&&t.setAttribute("autofocus","")});let o=l(this,`drawer.show${v(this.placement)}`,{dir:this.localize.dir()}),r=l(this,"drawer.overlay.show",{dir:this.localize.dir()});await Promise.all([n(this.panel,o.keyframes,o.options),n(this.overlay,r.keyframes,r.options)]),this.emit("dsa-after-show")}else{this.emit("dsa-hide"),this.removeOpenListeners(),this.contained||(this.modal.deactivate(),p(this)),await Promise.all([d(this.drawer),d(this.overlay)]);let t=l(this,`drawer.hide${v(this.placement)}`,{dir:this.localize.dir()}),o=l(this,"drawer.overlay.hide",{dir:this.localize.dir()});await Promise.all([n(this.overlay,o.keyframes,o.options).then(()=>{this.overlay.hidden=!0}),n(this.panel,t.keyframes,t.options).then(()=>{this.panel.hidden=!0})]),this.drawer.hidden=!0,this.overlay.hidden=!1,this.panel.hidden=!1;let r=this.originalTrigger;typeof(r==null?void 0:r.focus)=="function"&&setTimeout(()=>r.focus()),this.emit("dsa-after-hide")}}handleNoModalChange(){this.open&&!this.contained&&(this.modal.activate(),h(this)),this.open&&this.contained&&(this.modal.deactivate(),p(this))}async show(){if(!this.open)return this.open=!0,await w(this,"dsa-after-show")}async hide(){if(this.open)return this.open=!1,await w(this,"dsa-after-hide")}render(){return!this.label&&!this.hasSlotController.test("label")&&u("<dsa-drawer> requires a label attribute or a label slot for accessibility"),this.noHeader&&!this.label&&u("<dsa-drawer> requires a label attribute for accessibility when `no-header` is set"),f`
|
|
2
|
-
<div
|
|
3
|
-
part="base"
|
|
4
|
-
class=${k({drawer:!0,"drawer--open":this.open,"drawer--top":this.placement==="top","drawer--end":this.placement==="end","drawer--bottom":this.placement==="bottom","drawer--start":this.placement==="start","drawer--contained":this.contained,"drawer--fixed":!this.contained,"drawer--rtl":this.localize.dir()==="rtl","drawer--has-footer":this.hasSlotController.test("footer"),"drawer--filters":this.filters})}
|
|
5
|
-
>
|
|
6
|
-
<div
|
|
7
|
-
part="overlay"
|
|
8
|
-
class="drawer__overlay"
|
|
9
|
-
@click=${()=>this.requestClose("overlay")}
|
|
10
|
-
></div>
|
|
11
|
-
|
|
12
|
-
<div
|
|
13
|
-
part="panel"
|
|
14
|
-
class="drawer__panel"
|
|
15
|
-
role="dialog"
|
|
16
|
-
aria-modal="true"
|
|
17
|
-
aria-hidden=${this.open?"false":"true"}
|
|
18
|
-
aria-label=${L(this.noHeader?this.label:void 0)}
|
|
19
|
-
aria-labelledby=${C(this.noHeader?void 0:"title")}
|
|
20
|
-
tabindex="-1"
|
|
21
|
-
>
|
|
22
|
-
${this.noHeader?"":f`
|
|
23
|
-
<header part="header" class="drawer__header">
|
|
24
|
-
<h1 part="title" class="drawer__title" id="title">
|
|
25
|
-
<!-- If there's no label, use an invisible character to prevent the header from collapsing -->
|
|
26
|
-
<slot name="label">
|
|
27
|
-
${this.label.length>0?this.label:"\uFEFF"}
|
|
28
|
-
</slot>
|
|
29
|
-
</h1>
|
|
30
|
-
<div part="header-actions" class="drawer__header-actions">
|
|
31
|
-
<slot name="header-actions"></slot>
|
|
32
|
-
<dsa-icon-button
|
|
33
|
-
part="close-button"
|
|
34
|
-
exportparts="base:close-button__base"
|
|
35
|
-
class="drawer__close"
|
|
36
|
-
name="close"
|
|
37
|
-
label=${this.localize.term("close")}
|
|
38
|
-
@click=${()=>this.requestClose("close-button")}
|
|
39
|
-
library="system"
|
|
40
|
-
size="large"
|
|
41
|
-
></dsa-icon-button>
|
|
42
|
-
</div>
|
|
43
|
-
</header>
|
|
44
|
-
`}
|
|
45
|
-
|
|
46
|
-
<slot part="body" class="drawer__body"></slot>
|
|
47
|
-
|
|
48
|
-
<footer part="footer" class="drawer__footer">
|
|
49
|
-
<slot name="footer"></slot>
|
|
50
|
-
</footer>
|
|
51
|
-
</div>
|
|
52
|
-
</div>
|
|
53
|
-
`}};e.styles=H,a([c(".drawer")],e.prototype,"drawer",2),a([c(".drawer__panel")],e.prototype,"panel",2),a([c(".drawer__overlay")],e.prototype,"overlay",2),a([s({type:Boolean,reflect:!0})],e.prototype,"open",2),a([s({reflect:!0})],e.prototype,"label",2),a([s({reflect:!0})],e.prototype,"placement",2),a([s({type:Boolean,reflect:!0})],e.prototype,"contained",2),a([s({attribute:"no-header",type:Boolean,reflect:!0})],e.prototype,"noHeader",2),a([s({type:Boolean,reflect:!0})],e.prototype,"filters",2),a([y("open",{waitUntilFirstUpdate:!0})],e.prototype,"handleOpenChange",1),a([y("contained",{waitUntilFirstUpdate:!0})],e.prototype,"handleNoModalChange",1),e=a([g("dsa-drawer")],e);i("drawer.showTop",{keyframes:[{opacity:0,translate:"0 -100%"},{opacity:1,translate:"0 0"}],options:{duration:250,easing:"ease"}});i("drawer.hideTop",{keyframes:[{opacity:1,translate:"0 0"},{opacity:0,translate:"0 -100%"}],options:{duration:250,easing:"ease"}});i("drawer.showEnd",{keyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],options:{duration:250,easing:"ease"}});i("drawer.hideEnd",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],options:{duration:250,easing:"ease"}});i("drawer.showBottom",{keyframes:[{opacity:0,translate:"0 100%"},{opacity:1,translate:"0 0"}],options:{duration:250,easing:"ease"}});i("drawer.hideBottom",{keyframes:[{opacity:1,translate:"0 0"},{opacity:0,translate:"0 100%"}],options:{duration:250,easing:"ease"}});i("drawer.showStart",{keyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],options:{duration:250,easing:"ease"}});i("drawer.hideStart",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],options:{duration:250,easing:"ease"}});i("drawer.denyClose",{keyframes:[{scale:1},{scale:1.01},{scale:1}],options:{duration:250}});i("drawer.overlay.show",{keyframes:[{opacity:0},{opacity:"var(--dsa-wc-drawer-overlay-opacity)"}],options:{duration:250}});i("drawer.overlay.hide",{keyframes:[{opacity:"var(--dsa-wc-drawer-overlay-opacity)"},{opacity:0}],options:{duration:250}});export{e as a};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import{a as u}from"./chunk.DUYCHM7G.js";import{a as C}from"./chunk.656TABWU.js";import{a as V}from"./chunk.U4TME7DS.js";import{a as F}from"./chunk.SWEIVB73.js";import{a as E}from"./chunk.2PKKSM74.js";import{b as $}from"./chunk.FWTZS7LK.js";import{a as k}from"./chunk.ELL45QD3.js";import{a as h}from"./chunk.B4KFHYLS.js";import{a as c}from"./chunk.NIRNX67K.js";import{d}from"./chunk.ZBHHLRFH.js";import{a as s}from"./chunk.2RF4WD6T.js";import{a as o}from"./chunk.BWEPOOQP.js";import{a as b,b as r,c as y,d as v,f as g}from"./chunk.CEOMZJL3.js";import{a as n}from"./chunk.GP725TPQ.js";import{f as i}from"./chunk.IZ2HVRME.js";var e=class extends g{constructor(){super(...arguments);this.formControlController=new $(this,{value:t=>t.checked?t.value||"on":void 0,defaultValue:t=>t.defaultChecked,setValue:(t,a)=>t.checked=a});this.hasSlotController=new k(this,"[default]");this.hasFocus=!1;this.title="";this.name="";this.size="medium";this.parentDisabled=!1;this.disabled=!1;this.checked=!1;this.indeterminate=!1;this.defaultChecked=!1;this.parentReadonly=!1;this.readonly=!1;this.error=!1;this.errorMessage="";this.form="";this.required=!1}get validity(){return this.input.validity}get validationMessage(){return this.input.validationMessage}connectedCallback(){super.connectedCallback();let t=this.parentElement;!this.hasAttribute("role")&&t instanceof C&&this.setAttribute("role","listitem")}firstUpdated(){this.formControlController.updateValidity()}handleClick(t){if(this.readonly||this.disabled||this.parentDisabled||this.parentReadonly){t.preventDefault(),t.stopPropagation();return}this.checked=!this.checked,this.indeterminate=!1,this.emit("dsa-change")}handleBlur(){this.hasFocus=!1,this.emit("dsa-blur")}handleInput(){this.emit("dsa-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}handleFocus(){this.hasFocus=!0,this.emit("dsa-focus")}handleDeactivatedChange(){this.readonly||this.parentReadonly?this.input.setAttribute("aria-disabled","true"):this.input.removeAttribute("aria-disabled"),(this.disabled||this.parentDisabled)&&this.formControlController.setValidity(this.disabled)}handleStateChange(){this.input.checked=this.checked,this.input.indeterminate=this.indeterminate,this.formControlController.updateValidity()}handleErrorChange(){this.error?this.input.setAttribute("aria-invalid","true"):this.input.removeAttribute("aria-invalid")}click(){this.input.click()}focus(t){this.input.focus(t)}blur(){this.input.blur()}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}render(){var m,p,f;let t=this.hasSlotController.test("[default]"),a=this.disabled||this.parentDisabled,l=this.readonly||this.parentReadonly,M=a||l;return!this.hasSlotController.test("[default]")&&!this.accessibleName&&this.tabIndex!==-1&&h("<dsa-checkbox> requires an accessible name in the default slot for accessibility"),this.error&&!this.errorMessage&&h("<dsa-checkbox> requires an error-message attribute for accessibility when the error attribute is set"),n`
|
|
2
|
-
<div
|
|
3
|
-
part="base"
|
|
4
|
-
class=${d({"form-control":!0,"form-control--error":this.error,"form-control--small":this.size==="small","form-control--medium":this.size==="medium","form-control--large":this.size==="large"})}
|
|
5
|
-
>
|
|
6
|
-
<label
|
|
7
|
-
class=${d({checkbox:!0,"checkbox--checked":this.checked,"checkbox--error":this.error,"checkbox--disabled":a,"checkbox--readonly":l,"checkbox--focused":this.hasFocus,"checkbox--indeterminate":this.indeterminate,"checkbox--has-label":t,"checkbox--small":this.size==="small","checkbox--medium":this.size==="medium","checkbox--large":this.size==="large"})}
|
|
8
|
-
>
|
|
9
|
-
<input
|
|
10
|
-
id="input"
|
|
11
|
-
class="checkbox__input"
|
|
12
|
-
type="checkbox"
|
|
13
|
-
title=${c((m=this.accessibleName)!=null?m:this.title)}
|
|
14
|
-
name=${c(this.name)}
|
|
15
|
-
value=${s(this.value)}
|
|
16
|
-
.indeterminate=${u(this.indeterminate)}
|
|
17
|
-
.checked=${u(this.checked)}
|
|
18
|
-
.disabled=${a}
|
|
19
|
-
.required=${this.required}
|
|
20
|
-
aria-label=${s(t?void 0:(p=this.accessibleName)!=null?p:this.title)}
|
|
21
|
-
aria-describedby=${s(this.error?"error-text":void 0)}
|
|
22
|
-
aria-disabled="${s(l?"true":void 0)}"
|
|
23
|
-
aria-invalid=${s(this.error?"true":void 0)}
|
|
24
|
-
@click=${this.handleClick}
|
|
25
|
-
@input=${this.handleInput}
|
|
26
|
-
@invalid=${this.handleInvalid}
|
|
27
|
-
@blur=${this.handleBlur}
|
|
28
|
-
@focus=${this.handleFocus}
|
|
29
|
-
/>
|
|
30
|
-
<dsa-internal-checkbox-box
|
|
31
|
-
?checked=${this.checked}
|
|
32
|
-
?indeterminate=${this.indeterminate}
|
|
33
|
-
size=${this.size}
|
|
34
|
-
?disabled=${a}
|
|
35
|
-
?readonly=${l}
|
|
36
|
-
?error=${this.error}
|
|
37
|
-
aria-hidden="true"
|
|
38
|
-
></dsa-internal-checkbox-box>
|
|
39
|
-
|
|
40
|
-
<div part="label" class="checkbox__label">
|
|
41
|
-
${this.required?n`<span class="checkbox__label-required">*</span>`:""}
|
|
42
|
-
<slot
|
|
43
|
-
><dsa-visually-hidden
|
|
44
|
-
>${(f=this.accessibleName)!=null?f:this.title}</dsa-visually-hidden
|
|
45
|
-
></slot
|
|
46
|
-
>
|
|
47
|
-
</div>
|
|
48
|
-
</label>
|
|
49
|
-
${this.error&&!M&&this.errorMessage?F(this.errorMessage):""}
|
|
50
|
-
</div>
|
|
51
|
-
`}};e.styles=E,i([v('input[type="checkbox"]')],e.prototype,"input",2),i([y()],e.prototype,"hasFocus",2),i([r()],e.prototype,"title",2),i([r({reflect:!0})],e.prototype,"name",2),i([r({reflect:!0})],e.prototype,"value",2),i([r({reflect:!0})],e.prototype,"size",2),i([r({type:Boolean})],e.prototype,"parentDisabled",2),i([r({type:Boolean,reflect:!0})],e.prototype,"disabled",2),i([r({type:Boolean,reflect:!0})],e.prototype,"checked",2),i([r({type:Boolean,reflect:!0})],e.prototype,"indeterminate",2),i([V("checked")],e.prototype,"defaultChecked",2),i([r({type:Boolean})],e.prototype,"parentReadonly",2),i([r({type:Boolean,reflect:!0})],e.prototype,"readonly",2),i([r({type:Boolean,reflect:!0})],e.prototype,"error",2),i([r({attribute:"error-message",converter:{fromAttribute:t=>t?t.split("|"):"",toAttribute:t=>typeof t=="string"?t:t.join("|")}})],e.prototype,"errorMessage",2),i([r({reflect:!0})],e.prototype,"form",2),i([r({type:Boolean,reflect:!0})],e.prototype,"required",2),i([r({attribute:"aria-label",reflect:!0})],e.prototype,"ariaLabel",2),i([r({attribute:"accessible-name",reflect:!0})],e.prototype,"accessibleName",2),i([o(["disabled","readonly","parentDisabled","parentReadonly"],{waitUntilFirstUpdate:!0})],e.prototype,"handleDeactivatedChange",1),i([o(["checked","indeterminate"],{waitUntilFirstUpdate:!0})],e.prototype,"handleStateChange",1),i([o("error",{waitUntilFirstUpdate:!0})],e.prototype,"handleErrorChange",1),e=i([b("dsa-checkbox")],e);export{e as a};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import{a,f as i}from"./chunk.CEOMZJL3.js";import{a as l}from"./chunk.UMC4I57R.js";import{a as s}from"./chunk.6G2FNLAV.js";import{a as r}from"./chunk.GP725TPQ.js";import{f as e}from"./chunk.IZ2HVRME.js";var o=s`
|
|
2
|
-
${l}
|
|
3
|
-
|
|
4
|
-
:host {
|
|
5
|
-
display: inline-flex;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
dsa-divider {
|
|
9
|
-
--spacing-start: var(--dsa-spacing-24);
|
|
10
|
-
--spacing-end: var(--dsa-spacing-24);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
:host(:last-of-type) dsa-divider {
|
|
14
|
-
display: none;
|
|
15
|
-
}
|
|
16
|
-
`;var t=class extends i{connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","listitem")}render(){return r`
|
|
17
|
-
<slot></slot>
|
|
18
|
-
<dsa-divider vertical></dsa-divider>
|
|
19
|
-
`}};t.styles=o,t=e([a("dsa-header-external-link")],t);export{t as a};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk.JR3UZ7RV.js";import{a as s}from"./chunk.ELL45QD3.js";import{a as l,f as o}from"./chunk.CEOMZJL3.js";import{a as e}from"./chunk.GP725TPQ.js";import{f as r}from"./chunk.IZ2HVRME.js";var t=class extends o{constructor(){super(...arguments);this.hasSlotController=new s(this,"text-left","text-right")}render(){return e`
|
|
2
|
-
<div part="base">
|
|
3
|
-
<slot part="text-left" name="text-left"></slot>
|
|
4
|
-
${this.hasSlotController.test("text-left")&&this.hasSlotController.test("text-right")?e`<dsa-divider part="divider" vertical></dsa-divider>`:""}
|
|
5
|
-
<slot part="text-right" name="text-right"></slot>
|
|
6
|
-
</div>
|
|
7
|
-
`}};t.styles=a,t=r([l("dsa-footer-mandatory-mentions")],t);export{t as a};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import{a as c}from"./chunk.QHSERCS2.js";import{a as o}from"./chunk.B4KFHYLS.js";import{c as n}from"./chunk.4WOVD75K.js";import{a as l}from"./chunk.BWEPOOQP.js";import{a as i,b as a,f as r}from"./chunk.CEOMZJL3.js";import{a as s}from"./chunk.GP725TPQ.js";import{f as t}from"./chunk.IZ2HVRME.js";var e=class extends r{constructor(){super(...arguments);this.localize=new n(this);this.label="";this.selectedOption="";this.selectionCount=0;this.tabindex=0;this.disabled=!1;this.readonly=!1;this.drawer=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("role","button")}handleSelectionCountChange(){this.selectionCount>1?this.setAttribute("aria-label",`${this.label} : ${this.selectionCount} ${this.localize.term("valuesSelected")}`):this.removeAttribute("aria-label")}handleDisabledChange(){this.tabindex=this.disabled?-1:0,this.setAttribute("aria-disabled",this.disabled||this.readonly?"true":"false")}render(){return this.label||o("<dsa-filter-button> require a label attribute for accessibility"),s`
|
|
2
|
-
<span class="label"
|
|
3
|
-
>${`${this.label}${this.selectionCount>0&&!this.drawer?" : ":""}`}</span
|
|
4
|
-
>
|
|
5
|
-
|
|
6
|
-
${this.selectionCount>1?s` <span class="results-badge"> ${this.selectionCount} </span> `:s` <span class="value"> ${this.selectedOption} </span> `}
|
|
7
|
-
|
|
8
|
-
<dsa-icon
|
|
9
|
-
class="expand-icon"
|
|
10
|
-
name="expand_more"
|
|
11
|
-
library="system"
|
|
12
|
-
></dsa-icon>
|
|
13
|
-
`}};e.styles=c,t([a()],e.prototype,"label",2),t([a({attribute:"selected-option",reflect:!0})],e.prototype,"selectedOption",2),t([a({attribute:"selection-count",reflect:!0})],e.prototype,"selectionCount",2),t([a({reflect:!0})],e.prototype,"tabindex",2),t([a({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([a({type:Boolean,reflect:!0})],e.prototype,"readonly",2),t([a({type:Boolean,reflect:!0})],e.prototype,"drawer",2),t([l("selectionCount",{waitUntilFirstUpdate:!0})],e.prototype,"handleSelectionCountChange",1),t([l(["disabled","readonly"])],e.prototype,"handleDisabledChange",1),e=t([i("dsa-filter-button")],e);export{e as a};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import{b as n}from"./chunk.WJET3UGX.js";import{a as f}from"./chunk.SPZ3HJLD.js";import{a as d}from"./chunk.JFLLAQ3M.js";import{d as h}from"./chunk.ZBHHLRFH.js";import{a as u}from"./chunk.BWEPOOQP.js";import{a,b as e,c as r,d as l}from"./chunk.CEOMZJL3.js";import{a as s}from"./chunk.GP725TPQ.js";import{f as i}from"./chunk.IZ2HVRME.js";var t=class extends d{constructor(){super(...arguments);this.nextSortDirection=this.getNextSortDirection();this.isHovered=!1;this.isFocused=!1;this.textContent="";this.role="columnheader";this.sortable=!1;this.alignment="left";this.sortDirection="none"}handleSort(){let o=this.getNextSortDirection();this.emit("dsa-table-header-cell-sort",{detail:{oldSortDirection:this.sortDirection,sortDirection:o}}),this.sortDirection=o,this.isHovered=!1}getNextSortDirection(){let c=n.findIndex(m=>m===this.sortDirection)+1;return n[c]===void 0&&(c=0),n[c]}handleMouseOver(){this.isHovered=!0}handleMouseOut(){this.isHovered=!1}handleFocus(){this.isFocused=!0}handleBlur(){this.isFocused=!1}handleSlotChange(){var o;this.textContent=(o=this.innerText)!=null?o:""}handleSortableChange(){this.sortable?this.setAttribute("aria-sort",this.sortDirection):this.removeAttribute("aria-sort")}handleSortDirectionChange(){this.sortable&&(this.setAttribute("aria-sort",this.sortDirection),this.nextSortDirection=this.getNextSortDirection())}click(){this.button.click()}focus(o){this.button.focus(o)}blur(){this.button.blur()}render(){if(this.loading)return s`<dsa-skeleton effect=${this.skeletonEffect}></dsa-skeleton>`;if(this.sortable){let o=(this.isHovered||this.isFocused)&&this.sortDirection==="none"?this.nextSortDirection:this.sortDirection;return s`
|
|
2
|
-
<button
|
|
3
|
-
type="button"
|
|
4
|
-
part="sort-button"
|
|
5
|
-
class=${h({"sort-button--align-right":this.alignment==="right","sort-button--align-left":this.alignment==="left"})}
|
|
6
|
-
@click=${this.handleSort}
|
|
7
|
-
@mouseover=${this.handleMouseOver}
|
|
8
|
-
@mouseout=${this.handleMouseOut}
|
|
9
|
-
@focus=${this.handleFocus}
|
|
10
|
-
@blur=${this.handleBlur}
|
|
11
|
-
>
|
|
12
|
-
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
13
|
-
<dsa-icon
|
|
14
|
-
class=${h({"sort-button-icon":!0,"sort-button--icon--ascending":o==="ascending","sort-button--icon--descending":o==="descending"})}
|
|
15
|
-
name="arrow_upward"
|
|
16
|
-
library="system"
|
|
17
|
-
></dsa-icon>
|
|
18
|
-
</button>
|
|
19
|
-
`}return s` <slot></slot> `}};t.styles=f,i([l('[part~="sort-button"]')],t.prototype,"button",2),i([r()],t.prototype,"nextSortDirection",2),i([r()],t.prototype,"isHovered",2),i([r()],t.prototype,"isFocused",2),i([r()],t.prototype,"textContent",2),i([e({reflect:!0})],t.prototype,"role",2),i([e({type:Boolean,reflect:!0})],t.prototype,"sortable",2),i([e()],t.prototype,"alignment",2),i([e({attribute:"sort-direction",reflect:!0})],t.prototype,"sortDirection",2),i([u("sortable")],t.prototype,"handleSortableChange",1),i([u("sortDirection",{waitUntilFirstUpdate:!0})],t.prototype,"handleSortDirectionChange",1),t=i([a("dsa-table-header-cell")],t);export{t as a};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import{a as p}from"./chunk.ADTGGBWH.js";import{c as h}from"./chunk.4WOVD75K.js";import{d as s}from"./chunk.ZBHHLRFH.js";import{a as l}from"./chunk.BWEPOOQP.js";import{a as o,b as n,c,d,f as r}from"./chunk.CEOMZJL3.js";import{a as i}from"./chunk.GP725TPQ.js";import{f as t}from"./chunk.IZ2HVRME.js";var e=class extends r{constructor(){super(...arguments);this.localize=new h(this);this.showExpandButton=!1;this.role="row";this.size="medium";this.selected=!1;this.expandable=!1;this.expanded=!1;this.showExpandedLabel="";this.hideExpandedLabel="";this.selectionLabel="";this.selectionName="";this.selectionValue="";this.loading=!1}connectedCallback(){super.connectedCallback(),this.handleRowClick=this.handleRowClick.bind(this),this.handleCheckboxChange=this.handleCheckboxChange.bind(this),this.addEventListener("click",this.handleRowClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleRowClick)}handleRowClick(){this.emit("dsa-table-row-click")}handleCheckboxChange(a){a.stopPropagation(),this.selected=this.checkbox.checked}renderFirstCell(){return this.selectionName?i`
|
|
2
|
-
<div role="cell" part="column-checkbox" aria-hidden=${this.loading}>
|
|
3
|
-
<div class="column-checkbox--content">
|
|
4
|
-
<dsa-checkbox
|
|
5
|
-
class="checkbox"
|
|
6
|
-
size="small"
|
|
7
|
-
name=${this.selectionName}
|
|
8
|
-
accessible-name=${this.selectionLabel!==""?this.selectionLabel:this.localize.term("selectRow")}
|
|
9
|
-
value=${this.selectionValue}
|
|
10
|
-
?checked=${this.selected}
|
|
11
|
-
@click=${a=>a.stopPropagation()}
|
|
12
|
-
@dsa-change=${this.handleCheckboxChange}
|
|
13
|
-
?disabled=${this.loading}
|
|
14
|
-
></dsa-checkbox>
|
|
15
|
-
</div>
|
|
16
|
-
</div>
|
|
17
|
-
`:i``}handleExpandClick(a){a.stopPropagation(),this.expanded=!this.expanded,this.emit("dsa-table-row-expand-change")}renderExpandButton(){let a=this.showExpandedLabel!==""?this.showExpandedLabel:this.localize.term("showExpandedTableRow"),x=this.hideExpandedLabel!==""?this.hideExpandedLabel:this.localize.term("hideExpandedTableRow");return i`
|
|
18
|
-
<div
|
|
19
|
-
role="cell"
|
|
20
|
-
class=${s({"column-expand-button":!0,"column-expand-button--has-icon":this.showExpandButton})}
|
|
21
|
-
aria-hidden=${this.loading}
|
|
22
|
-
>
|
|
23
|
-
<dsa-icon-button
|
|
24
|
-
variant="default"
|
|
25
|
-
name="expand_more"
|
|
26
|
-
size="xlarge"
|
|
27
|
-
class=${s({"expand-button":!0,"expand-button--expand-less":this.expanded})}
|
|
28
|
-
label=${this.expanded?x:a}
|
|
29
|
-
@click=${this.handleExpandClick}
|
|
30
|
-
?disabled=${this.loading}
|
|
31
|
-
library="system"
|
|
32
|
-
></dsa-icon-button>
|
|
33
|
-
</div>
|
|
34
|
-
`}handleExpandableChange(){var a;this.expandable&&((a=this.nextElementSibling)!=null&&a.matches(this.selectorExpandedRow))?this.showExpandButton=!0:this.showExpandButton=!1}handleExpandedChange(){var a;(a=this.nextElementSibling)!=null&&a.matches(this.selectorExpandedRow)&&(this.nextElementSibling.expanded=this.expanded)}handleSelectedChange(){this.emit("dsa-table-row-change-selection")}render(){return i`
|
|
35
|
-
${this.renderFirstCell()}
|
|
36
|
-
<slot></slot>
|
|
37
|
-
${this.expandable?this.renderExpandButton():i``}
|
|
38
|
-
`}get selectorExpandedRow(){return"dsa-table-expanded-row"}};e.styles=p,t([d(".checkbox")],e.prototype,"checkbox",2),t([d(".expand-button")],e.prototype,"expandedButton",2),t([c()],e.prototype,"showExpandButton",2),t([n({reflect:!0})],e.prototype,"role",2),t([n({reflect:!0})],e.prototype,"size",2),t([n({type:Boolean,reflect:!0})],e.prototype,"selected",2),t([n({type:Boolean,reflect:!0})],e.prototype,"expandable",2),t([n({type:Boolean,reflect:!0})],e.prototype,"expanded",2),t([n({attribute:"show-expanded-label"})],e.prototype,"showExpandedLabel",2),t([n({attribute:"hide-expanded-label"})],e.prototype,"hideExpandedLabel",2),t([n({attribute:"selection-label"})],e.prototype,"selectionLabel",2),t([n({attribute:"selection-name",reflect:!0})],e.prototype,"selectionName",2),t([n({attribute:"selection-value"})],e.prototype,"selectionValue",2),t([n({type:Boolean,reflect:!0})],e.prototype,"loading",2),t([l("expandable")],e.prototype,"handleExpandableChange",1),t([l("expanded")],e.prototype,"handleExpandedChange",1),t([l("selected",{waitUntilFirstUpdate:!0})],e.prototype,"handleSelectedChange",1),e=t([o("dsa-table-row")],e);export{e as a};
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import{a as u}from"./chunk.27RSAF7P.js";import{a as f,b as y}from"./chunk.3RLUYXJN.js";import{a as L}from"./chunk.ZJVQ3VQM.js";import{a as k}from"./chunk.ELL45QD3.js";import{a as p}from"./chunk.KLRPP4NQ.js";import{a as l,c as h}from"./chunk.HHVNQNCC.js";import{a as r,c as n}from"./chunk.TV2TMO2H.js";import{a as m}from"./chunk.B4KFHYLS.js";import{a as E}from"./chunk.NIRNX67K.js";import{c as T}from"./chunk.4WOVD75K.js";import{d as g}from"./chunk.ZBHHLRFH.js";import{a as w}from"./chunk.2RF4WD6T.js";import{a as _}from"./chunk.BWEPOOQP.js";import{a as b,b as s,d as c,f as C}from"./chunk.CEOMZJL3.js";import{a as d}from"./chunk.GP725TPQ.js";import{f as i}from"./chunk.IZ2HVRME.js";var t=class extends C{constructor(){super(...arguments);this.hasSlotController=new k(this,"footer");this.localize=new T(this);this.modal=new u(this);this.open=!1;this.label="";this.hideTitle=!1;this.noCloseButton=!1;this.noHeader=!1;this.size="medium"}connectedCallback(){super.connectedCallback(),this.handleDocumentKeyDown=this.handleDocumentKeyDown.bind(this),this.modal=new u(this)}firstUpdated(){this.dialog.hidden=!this.open,this.open&&(this.addOpenListeners(),this.modal.activate(),f(this))}disconnectedCallback(){super.disconnectedCallback(),this.modal.deactivate(),y(this)}requestClose(e){let a=this.emit("dsa-request-close",{cancelable:!0,detail:{source:e}});if(this.noCloseButton&&a.preventDefault(),a.defaultPrevented){let o=n(this,"dialog.denyClose",{dir:this.localize.dir()});l(this.panel,o.keyframes,o.options);return}this.hide()}addOpenListeners(){document.addEventListener("keydown",this.handleDocumentKeyDown)}removeOpenListeners(){document.removeEventListener("keydown",this.handleDocumentKeyDown)}handleDocumentKeyDown(e){if(this.open&&this.modal.isActive()&&e.key==="Escape"){let a=this.querySelectorAll("dsa-tooltip");Array.from(a).some(v=>v.open)||(e.stopPropagation(),this.requestClose("keyboard"))}}async handleOpenChange(){if(this.open){this.emit("dsa-show"),this.addOpenListeners(),this.originalTrigger=document.activeElement,this.modal.activate(),f(this);let e=this.querySelector("[autofocus]");e&&e.removeAttribute("autofocus"),await Promise.all([h(this.dialog),h(this.overlay)]),this.dialog.hidden=!1,requestAnimationFrame(()=>{this.emit("dsa-initial-focus",{cancelable:!0}).defaultPrevented||(e?e.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),e&&e.setAttribute("autofocus","")});let a=n(this,"dialog.show",{dir:this.localize.dir()}),o=n(this,"dialog.overlay.show",{dir:this.localize.dir()});await Promise.all([l(this.panel,a.keyframes,a.options),l(this.overlay,o.keyframes,o.options)]),this.emit("dsa-after-show")}else{this.emit("dsa-hide"),this.removeOpenListeners(),this.modal.deactivate(),await Promise.all([h(this.dialog),h(this.overlay)]);let e=n(this,"dialog.hide",{dir:this.localize.dir()}),a=n(this,"dialog.overlay.hide",{dir:this.localize.dir()});await Promise.all([l(this.overlay,a.keyframes,a.options).then(()=>{this.overlay.hidden=!0}),l(this.panel,e.keyframes,e.options).then(()=>{this.panel.hidden=!0})]),this.dialog.hidden=!0,this.overlay.hidden=!1,this.panel.hidden=!1,y(this);let o=this.originalTrigger;typeof(o==null?void 0:o.focus)=="function"&&setTimeout(()=>o.focus()),this.emit("dsa-after-hide")}}async show(){if(!this.open)return this.open=!0,await p(this,"dsa-after-show")}async hide(){if(this.open)return this.open=!1,await p(this,"dsa-after-hide")}render(){let e=!this.noHeader&&!this.hideTitle;return!this.label&&!this.hasSlotController.test("label")&&m("<dsa-dialog> require a label attribute or a label slot for accessibility"),!e&&!this.label&&m("<dsa-dialog> require a label attribute for accessibility when the header or the title are hidden"),d`
|
|
2
|
-
<div
|
|
3
|
-
part="base"
|
|
4
|
-
class=${g({dialog:!0,"dialog--open":this.open,"dialog--has-footer":this.hasSlotController.test("footer"),"dialog--small":this.size==="small","dialog--medium":this.size==="medium","dialog--large":this.size==="large"})}
|
|
5
|
-
>
|
|
6
|
-
<div
|
|
7
|
-
part="overlay"
|
|
8
|
-
class="dialog__overlay"
|
|
9
|
-
@click=${()=>this.requestClose("overlay")}
|
|
10
|
-
></div>
|
|
11
|
-
|
|
12
|
-
<div
|
|
13
|
-
part="panel"
|
|
14
|
-
class="dialog__panel"
|
|
15
|
-
role="dialog"
|
|
16
|
-
aria-modal="true"
|
|
17
|
-
aria-hidden=${this.open?"false":"true"}
|
|
18
|
-
aria-label=${E(e?void 0:this.label)}
|
|
19
|
-
aria-labelledby=${w(e?"title":void 0)}
|
|
20
|
-
tabindex="-1"
|
|
21
|
-
>
|
|
22
|
-
${this.noHeader?"":d`
|
|
23
|
-
<header part="header" class="dialog__header">
|
|
24
|
-
${this.hideTitle?"":d`
|
|
25
|
-
<h1 part="title" class="dialog__title" id="title">
|
|
26
|
-
<slot name="label">
|
|
27
|
-
${this.label.length>0?this.label:"\uFEFF"}
|
|
28
|
-
</slot>
|
|
29
|
-
</h1>
|
|
30
|
-
`}
|
|
31
|
-
<div part="header-actions" class="dialog__header-actions">
|
|
32
|
-
<slot name="header-actions"></slot>
|
|
33
|
-
${this.noCloseButton?"":d`
|
|
34
|
-
<dsa-icon-button
|
|
35
|
-
part="close-button"
|
|
36
|
-
exportparts="base:close-button__base"
|
|
37
|
-
class="dialog__close"
|
|
38
|
-
name="close"
|
|
39
|
-
label=${this.localize.term("close")}
|
|
40
|
-
@click="${()=>this.requestClose("close-button")}"
|
|
41
|
-
library="system"
|
|
42
|
-
size="xlarge"
|
|
43
|
-
></dsa-icon-button>
|
|
44
|
-
`}
|
|
45
|
-
</div>
|
|
46
|
-
</header>
|
|
47
|
-
`}
|
|
48
|
-
<div class="dialog__body-container">
|
|
49
|
-
<slot part="body" class="dialog__body"></slot>
|
|
50
|
-
</div>
|
|
51
|
-
<footer part="footer" class="dialog__footer">
|
|
52
|
-
<slot name="footer"></slot>
|
|
53
|
-
</footer>
|
|
54
|
-
</div>
|
|
55
|
-
</div>
|
|
56
|
-
`}};t.styles=L,i([c(".dialog")],t.prototype,"dialog",2),i([c(".dialog__panel")],t.prototype,"panel",2),i([c(".dialog__overlay")],t.prototype,"overlay",2),i([s({type:Boolean,reflect:!0})],t.prototype,"open",2),i([s({reflect:!0})],t.prototype,"label",2),i([s({attribute:"hide-title",type:Boolean,reflect:!0})],t.prototype,"hideTitle",2),i([s({attribute:"no-close-button",type:Boolean,reflect:!0})],t.prototype,"noCloseButton",2),i([s({attribute:"no-header",type:Boolean,reflect:!0})],t.prototype,"noHeader",2),i([s({reflect:!0})],t.prototype,"size",2),i([_("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),t=i([b("dsa-dialog")],t);r("dialog.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:250,easing:"ease"}});r("dialog.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:250,easing:"ease"}});r("dialog.denyClose",{keyframes:[{scale:1},{scale:1.02},{scale:1}],options:{duration:250}});r("dialog.overlay.show",{keyframes:[{opacity:0},{opacity:"var(--dsa-wc-dialog-overlay-opacity)"}],options:{duration:250}});r("dialog.overlay.hide",{keyframes:[{opacity:"var(--dsa-wc-dialog-overlay-opacity)"},{opacity:0}],options:{duration:250}});export{t as a};
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import{a as _}from"./chunk.GEV6DKVB.js";import{a as A}from"./chunk.6QPTXGCJ.js";import{c as p}from"./chunk.3RLUYXJN.js";import{a as T}from"./chunk.B4KFHYLS.js";import{a as S}from"./chunk.NIRNX67K.js";import{c as E}from"./chunk.4WOVD75K.js";import{d as g}from"./chunk.ZBHHLRFH.js";import{a as w}from"./chunk.BWEPOOQP.js";import{a as f,b,c as n,d as c,f as y}from"./chunk.CEOMZJL3.js";import{a as h}from"./chunk.GP725TPQ.js";import{a as v,f as r}from"./chunk.IZ2HVRME.js";var L=50,o=class extends y{constructor(){super(...arguments);this.localize=new E(this);this.tabs=[];this.panels=[];this.hasScrollControls=!1;this.isStartScrollButtonDisabled=!1;this.isEndScrollButtonDisabled=!1;this.placement="top";this.activation="auto";this.belowPageHeader=!1}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>{this.repositionIndicator(),this.updateScrollControls()}),this.mutationObserver=new MutationObserver(t=>{let s=t.filter(({target:e})=>{if(e===this)return!0;if(e.closest("dsa-tab-group")!==this)return!1;let i=e.tagName.toLowerCase();return i==="dsa-tab"||i==="dsa-tab-panel"});if(s.length!==0){if(s.some(e=>!["aria-labelledby","aria-controls"].includes(e.attributeName))&&setTimeout(()=>this.setAriaLabels()),s.some(e=>e.attributeName==="disabled"))this.syncTabsAndPanels();else if(s.some(e=>e.attributeName==="active")){let i=s.filter(a=>a.attributeName==="active"&&a.target.tagName.toLowerCase()==="dsa-tab").map(a=>a.target).find(a=>a.active);i&&this.setActiveTab(i)}}}),this.updateComplete.then(()=>{this.mutationObserver.observe(this,{attributes:!0,childList:!0,subtree:!0}),this.resizeObserver.observe(this.nav),this.awaitAllElementsDefined().then(()=>{this.syncTabsAndPanels(),new IntersectionObserver((s,e)=>{var i;s[0].intersectionRatio>0&&(this.setAriaLabels(),this.setActiveTab((i=this.getActiveTab())!=null?i:this.tabs[0],{emitEvents:!1}),e.unobserve(s[0].target))}).observe(this.tabGroup)})})}disconnectedCallback(){this.mutationObserver.disconnect(),this.resizeObserver.unobserve(this.nav)}awaitAllElementsDefined(){return Promise.all([customElements.whenDefined("dsa-tab"),customElements.whenDefined("dsa-tab-panel")])}getAllTabs(t={includeDisabled:!0}){return[...this.shadowRoot.querySelector('slot[name="nav"]').assignedElements()].filter(e=>t.includeDisabled?e.tagName.toLowerCase()==="dsa-tab":e.tagName.toLowerCase()==="dsa-tab"&&!e.disabled)}getAllPanels(){return[...this.body.assignedElements()].filter(t=>t.tagName.toLowerCase()==="dsa-tab-panel")}getActiveTab(){return this.tabs.find(t=>t.active)}handleClick(t){let e=t.target.closest("dsa-tab");(e==null?void 0:e.closest("dsa-tab-group"))===this&&e!==null&&this.setActiveTab(e,{scrollBehavior:"smooth"})}handleKeyDown(t){let e=t.target.closest("dsa-tab");if((e==null?void 0:e.closest("dsa-tab-group"))===this){if(t.key==="Escape"&&(e==null?void 0:e.closable)===!0&&(this.emit("dsa-close"),t.preventDefault()),["Enter"," "].includes(t.key)&&e!==null){if(e.closable){let a=e.shadowRoot.querySelector('[part~="close-button"]');(a==null?void 0:a.hasFocus)===!0&&this.emit("dsa-close")}this.setActiveTab(e,{scrollBehavior:"smooth"}),t.preventDefault()}if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End","Escape"].includes(t.key)){let a=this.tabs.find(l=>l.matches(":focus")),d=this.localize.dir()==="rtl";if((a==null?void 0:a.tagName.toLowerCase())==="dsa-tab"){let l=this.tabs.indexOf(a);t.key==="Home"?l=0:t.key==="End"?l=this.tabs.length-1:["top","bottom"].includes(this.placement)&&t.key===(d?"ArrowRight":"ArrowLeft")||["start","end"].includes(this.placement)&&t.key==="ArrowUp"?l--:(["top","bottom"].includes(this.placement)&&t.key===(d?"ArrowLeft":"ArrowRight")||["start","end"].includes(this.placement)&&t.key==="ArrowDown")&&l++,l<0&&(l=this.tabs.length-1),l>this.tabs.length-1&&(l=0),this.tabs[l].focus({preventScroll:!0}),this.activation==="auto"&&this.setActiveTab(this.tabs[l],{scrollBehavior:"smooth"}),["top","bottom"].includes(this.placement)&&p(this.tabs[l],this.nav,"horizontal"),t.preventDefault()}}}}handleScrollToStart(){this.nav.scroll({left:this.localize.dir()==="rtl"?this.nav.scrollLeft+this.nav.clientWidth:this.nav.scrollLeft-this.nav.clientWidth,behavior:"smooth"})}handleScrollToEnd(){this.nav.scroll({left:this.localize.dir()==="rtl"?this.nav.scrollLeft-this.nav.clientWidth:this.nav.scrollLeft+this.nav.clientWidth,behavior:"smooth"})}handleNavScroll(){this.updateScrollButtonsStates()}setActiveTab(t,s){if(s=v({emitEvents:!0,scrollBehavior:"auto"},s),t!==this.activeTab&&!t.disabled){let e=this.activeTab;this.activeTab=t,this.tabs.map(i=>{let a=i===this.activeTab;return i.active=a,i.tabIndex=a?0:-1,i}),this.panels.map(i=>{var a;return i.active=i.name===((a=this.activeTab)==null?void 0:a.panel)}),this.syncIndicator(),["top","bottom"].includes(this.placement)&&p(this.activeTab,this.nav,"horizontal",s.scrollBehavior),s.emitEvents&&(e&&this.emit("dsa-tab-hide",{detail:{name:e.panel}}),this.emit("dsa-tab-show",{detail:{name:this.activeTab.panel}}))}}setAriaLabels(){this.tabs.forEach(t=>{let s=this.panels.find(e=>e.name===t.panel);s&&(t.setAttribute("aria-controls",s.getAttribute("id")),s.setAttribute("aria-labelledby",t.getAttribute("id")))})}repositionIndicator(){let t=this.getActiveTab();if(!t)return;let s=t.clientWidth,e=t.clientHeight,i=this.localize.dir()==="rtl",a=this.getAllTabs(),l=a.slice(0,a.indexOf(t)).reduce((u,m)=>({left:u.left+m.clientWidth,top:u.top+m.clientHeight}),{left:0,top:0});switch(this.placement){case"top":case"bottom":this.indicator.style.width=`${s}px`,this.indicator.style.height="auto",this.indicator.style.translate=i?`${-1*l.left}px`:`${l.left}px`;break;case"start":case"end":this.indicator.style.width="auto",this.indicator.style.height=`${e}px`,this.indicator.style.translate=`0 ${l.top}px`;break}}syncTabsAndPanels(){this.tabs=this.getAllTabs({includeDisabled:!1}),this.panels=this.getAllPanels();let t=-1;this.tabs.forEach((s,e)=>{s.tabIndex=-1,s.active&&(s.tabIndex=0,t=e)}),t=t===-1?0:t,this.tabs[t]!==void 0&&(this.tabs[t].active=!0),this.panels[t]!==void 0&&(this.panels[t].active=!0),this.syncIndicator(),this.updateComplete.then(()=>this.updateScrollControls())}handleSlotChange(){this.awaitAllElementsDefined().then(()=>{this.syncTabsAndPanels()})}updateScrollControls(){this.hasScrollControls=["top","bottom"].includes(this.placement)&&this.nav.scrollWidth>this.nav.clientWidth,this.updateScrollButtonsStates()}updateScrollButtonsStates(){this.isStartScrollButtonDisabled=this.nav.scrollLeft===0,this.isEndScrollButtonDisabled=this.nav.scrollLeft+this.nav.clientWidth===this.nav.scrollWidth}syncIndicator(){this.getActiveTab()?(this.indicator.style.display="block",this.repositionIndicator()):this.indicator.style.display="none"}show(t){let s=this.tabs.find(e=>e.panel===t);s&&this.setActiveTab(s,{scrollBehavior:"smooth"})}render(){let t=this.localize.dir()==="rtl";return this.accessibleName||T("<dsa-tab-group> requires an accessible name for accessibility"),h`
|
|
2
|
-
<div
|
|
3
|
-
class=${g({"tab-group":!0,"tab-group--top":this.placement==="top","tab-group--bottom":this.placement==="bottom","tab-group--start":this.placement==="start","tab-group--end":this.placement==="end","tab-group--rtl":this.localize.dir()==="rtl","tab-group--has-scroll-controls":this.hasScrollControls,"tab-group--below-page-header":this.belowPageHeader})}
|
|
4
|
-
@click=${this.handleClick}
|
|
5
|
-
@keydown=${this.handleKeyDown}
|
|
6
|
-
>
|
|
7
|
-
<div class="tab-group__nav-section">
|
|
8
|
-
<div part="nav" class="tab-group__nav-container">
|
|
9
|
-
${this.hasScrollControls?h`
|
|
10
|
-
<dsa-icon-button
|
|
11
|
-
part="scroll-button scroll-button--start"
|
|
12
|
-
exportparts="base:scroll-button__base"
|
|
13
|
-
class="tab-group__scroll-button tab-group__scroll-button--start"
|
|
14
|
-
name=${t?"chevron_right":"chevron_left"}
|
|
15
|
-
label=${this.localize.term("scrollToStart")}
|
|
16
|
-
@click=${this.handleScrollToStart}
|
|
17
|
-
library="system"
|
|
18
|
-
size="xlarge"
|
|
19
|
-
tabindex="-1"
|
|
20
|
-
?disabled=${this.isStartScrollButtonDisabled}
|
|
21
|
-
></dsa-icon-button>
|
|
22
|
-
`:""}
|
|
23
|
-
|
|
24
|
-
<div
|
|
25
|
-
class="tab-group__nav"
|
|
26
|
-
tabindex="-1"
|
|
27
|
-
@scroll=${this.handleNavScroll}
|
|
28
|
-
>
|
|
29
|
-
<div
|
|
30
|
-
part="tabs"
|
|
31
|
-
class="tab-group__tabs"
|
|
32
|
-
role="tablist"
|
|
33
|
-
aria-label=${S(this.accessibleName)}
|
|
34
|
-
>
|
|
35
|
-
<div
|
|
36
|
-
part="active-tab-indicator"
|
|
37
|
-
class="tab-group__indicator"
|
|
38
|
-
></div>
|
|
39
|
-
<slot name="nav" @slotchange=${this.handleSlotChange}></slot>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
|
|
43
|
-
${this.hasScrollControls?h`
|
|
44
|
-
<dsa-icon-button
|
|
45
|
-
part="scroll-button scroll-button--end"
|
|
46
|
-
exportparts="base:scroll-button__base"
|
|
47
|
-
class="tab-group__scroll-button tab-group__scroll-button--end"
|
|
48
|
-
name=${t?"chevron_left":"chevron_right"}
|
|
49
|
-
label=${this.localize.term("scrollToEnd")}
|
|
50
|
-
@click=${this.handleScrollToEnd}
|
|
51
|
-
library="system"
|
|
52
|
-
size="xlarge"
|
|
53
|
-
tabindex="-1"
|
|
54
|
-
?disabled=${this.isEndScrollButtonDisabled}
|
|
55
|
-
></dsa-icon-button>
|
|
56
|
-
`:""}
|
|
57
|
-
</div>
|
|
58
|
-
</div>
|
|
59
|
-
|
|
60
|
-
<div class="tab-group__body-section">
|
|
61
|
-
<slot
|
|
62
|
-
part="body"
|
|
63
|
-
class="tab-group__body"
|
|
64
|
-
@slotchange=${this.handleSlotChange}
|
|
65
|
-
></slot>
|
|
66
|
-
</div>
|
|
67
|
-
</div>
|
|
68
|
-
`}};o.styles=_,r([c(".tab-group")],o.prototype,"tabGroup",2),r([c(".tab-group__body")],o.prototype,"body",2),r([c(".tab-group__nav")],o.prototype,"nav",2),r([c(".tab-group__indicator")],o.prototype,"indicator",2),r([n()],o.prototype,"hasScrollControls",2),r([n()],o.prototype,"isStartScrollButtonDisabled",2),r([n()],o.prototype,"isEndScrollButtonDisabled",2),r([n()],o.prototype,"placement",2),r([b()],o.prototype,"activation",2),r([b({type:Boolean,attribute:"below-page-header"})],o.prototype,"belowPageHeader",2),r([b({attribute:"accessible-name"})],o.prototype,"accessibleName",2),r([A(L)],o.prototype,"handleNavScroll",1),r([w("placement",{waitUntilFirstUpdate:!0})],o.prototype,"syncIndicator",1),o=r([f("dsa-tab-group")],o);export{o as a};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import{a as m}from"./chunk.WWTHUDXI.js";import{a as r,b as i,f as o}from"./chunk.CEOMZJL3.js";import{a as s}from"./chunk.GP725TPQ.js";import{f as e}from"./chunk.IZ2HVRME.js";var t=class extends o{constructor(){super(...arguments);this.href=""}handleFocus(){this.emit("dsa-focus")}handleBlur(){this.emit("dsa-blur")}render(){return s`
|
|
2
|
-
<a
|
|
3
|
-
part="link"
|
|
4
|
-
download=${this.filename}
|
|
5
|
-
href=${this.href}
|
|
6
|
-
@focus=${this.handleFocus}
|
|
7
|
-
@blur=${this.handleBlur}
|
|
8
|
-
>
|
|
9
|
-
<slot name="image" part="image"></slot>
|
|
10
|
-
<div part="content">
|
|
11
|
-
<slot></slot>
|
|
12
|
-
${this.description?s` <p part="description">${this.description}</p> `:""}
|
|
13
|
-
<p part="document-info">
|
|
14
|
-
${this.format}${this.format&&this.documentSize?" - ":""}${this.documentSize}
|
|
15
|
-
</p>
|
|
16
|
-
</div>
|
|
17
|
-
<dsa-icon part="icon" name="download" library="system"></dsa-icon>
|
|
18
|
-
</a>
|
|
19
|
-
`}};t.styles=m,e([i()],t.prototype,"href",2),e([i()],t.prototype,"description",2),e([i()],t.prototype,"format",2),e([i({attribute:"documentsize"})],t.prototype,"documentSize",2),e([i()],t.prototype,"filename",2),t=e([r("dsa-download-card")],t);export{t as a};
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import{a as g}from"./chunk.6D7W2ERA.js";import{a as u}from"./chunk.ELL45QD3.js";import{a as f}from"./chunk.B4KFHYLS.js";import{a as n,b as a}from"./chunk.FDMPUSVV.js";import{a as l}from"./chunk.NIRNX67K.js";import{d}from"./chunk.ZBHHLRFH.js";import{a as o}from"./chunk.2RF4WD6T.js";import{a as m}from"./chunk.BWEPOOQP.js";import{a as c,b as i,f as h}from"./chunk.CEOMZJL3.js";import{f as s}from"./chunk.IZ2HVRME.js";var t=class extends h{constructor(){super(...arguments);this.hasSlotController=new u(this,"media","tags","title-icon","title","subtitle","footer");this.href="";this.rel="noreferrer noopener";this.variant="outlined";this.layout="vertical";this.size="large";this.contrastedBorders=!1}isLink(){return!!this.href}updateTagsSizes(){this.querySelectorAll("dsa-tag").forEach(r=>r.setAttribute("size",this.size==="large"?"medium":"small"))}handleTagsSlotChange(){this.updateTagsSizes()}handleSizeChange(){this.updateTagsSizes()}render(){let e=this.isLink(),r=e?n`a`:n`div`,p=e&&!this.hasSlotController.test("footer")&&this.layout==="left-align",_=e&&!this.hasSlotController.test("footer")&&this.layout!=="left-align";return e&&!this.hasSlotController.test("title")&&f("<dsa-card-content> requires a title slot for accessibility when used as a link"),a`
|
|
2
|
-
<article
|
|
3
|
-
part="base"
|
|
4
|
-
class=${d({"card-content":!0,"card-content--link":e,"card-content--small":this.size==="small","card-content--medium":this.size==="medium","card-content--large":this.size==="large","card-content--left-align":this.layout==="left-align","card-content--right-align":this.layout==="right-align","card-content--filled":this.variant==="filled","card-content--contrasted-borders":this.contrastedBorders})}
|
|
5
|
-
>
|
|
6
|
-
<slot name="media" class=${l(this.hasSlotController.test("media")?"card-content__media":void 0)}></slot>
|
|
7
|
-
<div part="body" class="card-content__body">
|
|
8
|
-
<div class="card-content__header">
|
|
9
|
-
<div class="card-content__title_block">
|
|
10
|
-
<slot name="title-icon" class=${l(this.hasSlotController.test("title-icon")?"card-content__title-icon":void 0)}></slot>
|
|
11
|
-
<div class="card-content__title-block-text">
|
|
12
|
-
<${r}
|
|
13
|
-
href=${o(e?this.href:void 0)}
|
|
14
|
-
target=${o(e?this.target:void 0)}
|
|
15
|
-
download=${o(e?this.download:void 0)}
|
|
16
|
-
rel=${o(e?this.rel:void 0)}
|
|
17
|
-
>
|
|
18
|
-
<slot
|
|
19
|
-
name="title"
|
|
20
|
-
class=${l(this.hasSlotController.test("title")?"card-content__title":void 0)}
|
|
21
|
-
></slot>
|
|
22
|
-
</${r}>
|
|
23
|
-
<slot
|
|
24
|
-
name="subtitle"
|
|
25
|
-
class=${l(this.hasSlotController.test("subtitle")?"card-content__subtitle":void 0)}>
|
|
26
|
-
</slot>
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
|
-
<slot
|
|
30
|
-
name="tags"
|
|
31
|
-
@slotchange=${this.handleTagsSlotChange}
|
|
32
|
-
class=${l(this.hasSlotController.test("tags")?"card-content__tags":void 0)}
|
|
33
|
-
></slot>
|
|
34
|
-
</div>
|
|
35
|
-
|
|
36
|
-
${this.hasSlotController.test("[default]")?a` <slot class="card-content__content"></slot> `:""}
|
|
37
|
-
<slot
|
|
38
|
-
name="footer"
|
|
39
|
-
part="footer"
|
|
40
|
-
class=${l(this.hasSlotController.test("footer")?"card-content__footer":void 0)}
|
|
41
|
-
tabindex=${o(e?"-1":void 0)}
|
|
42
|
-
></slot>
|
|
43
|
-
${_?a`
|
|
44
|
-
<div class="card-content__link-bottom-icon-container">
|
|
45
|
-
<dsa-icon
|
|
46
|
-
class="card-content__link-icon"
|
|
47
|
-
name="chevron_right"
|
|
48
|
-
library="system"
|
|
49
|
-
aria-hidden="true"
|
|
50
|
-
></dsa-icon>
|
|
51
|
-
</div>
|
|
52
|
-
`:""}
|
|
53
|
-
</div>
|
|
54
|
-
${p?a`
|
|
55
|
-
<div class="card-content__link-icon-container">
|
|
56
|
-
<dsa-icon
|
|
57
|
-
class="card-content__link-icon"
|
|
58
|
-
name="chevron_right"
|
|
59
|
-
library="system"
|
|
60
|
-
aria-hidden="true"
|
|
61
|
-
></dsa-icon>
|
|
62
|
-
</div>
|
|
63
|
-
`:""}
|
|
64
|
-
</article>
|
|
65
|
-
`}};t.styles=g,s([i()],t.prototype,"href",2),s([i()],t.prototype,"target",2),s([i()],t.prototype,"rel",2),s([i()],t.prototype,"download",2),s([i({reflect:!0})],t.prototype,"variant",2),s([i({reflect:!0})],t.prototype,"layout",2),s([i({reflect:!0})],t.prototype,"size",2),s([i({type:Boolean,reflect:!0,attribute:"contrasted-borders"})],t.prototype,"contrastedBorders",2),s([m("size")],t.prototype,"handleSizeChange",1),t=s([c("dsa-card-content")],t);export{t as a};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import{b as u}from"./chunk.4RYFGQPL.js";import{a as d}from"./chunk.R32NZV24.js";import{c as p}from"./chunk.4WOVD75K.js";import{d as n}from"./chunk.ZBHHLRFH.js";import{a as c}from"./chunk.BWEPOOQP.js";import{a as r,b as a,d as l,f as m}from"./chunk.CEOMZJL3.js";import{a as s}from"./chunk.GP725TPQ.js";import{f as t}from"./chunk.IZ2HVRME.js";var e=class extends m{constructor(){super(...arguments);this.localize=new p(this);this.iconButtonSize="small";this.disableRemovableFocus=!1;this.variant="purple-100";this.size="medium";this.removable=!1;this.label="";this.accessibleName="";this.tooltip=!1}handleRemoveClick(){this.emit("dsa-remove")}updateIconButtonSize(){switch(this.size){case"small":this.iconButtonSize="xsmall";break;case"medium":this.iconButtonSize="small";break;case"large":this.iconButtonSize="medium";break}}render(){var o;u.includes(this.variant)&&console.warn(`The ${this.variant} variant of <dsa-tag> is deprecated, and will be removed in the next major release. Please consider using a variant from 100 to 500 instead.`);let i=this.accessibleName?s`
|
|
2
|
-
<span aria-hidden="true">${this.label}</span
|
|
3
|
-
><dsa-visually-hidden>${this.accessibleName}</dsa-visually-hidden>
|
|
4
|
-
`:this.label;return s`
|
|
5
|
-
<span
|
|
6
|
-
part="base"
|
|
7
|
-
class=${n({tag:!0,[`tag--${this.variant}`]:!0,"tag--small":this.size==="small","tag--medium":this.size==="medium","tag--large":this.size==="large","tag--removable":this.removable})}
|
|
8
|
-
>
|
|
9
|
-
<slot part="prefix" name="prefix" class="tag__prefix"></slot>
|
|
10
|
-
|
|
11
|
-
${this.tooltip?s`
|
|
12
|
-
<dsa-tooltip distance="16">
|
|
13
|
-
<span slot="content" aria-hidden="true">${i}</span>
|
|
14
|
-
<span class="tag__content tag__trigger" tabindex="0">
|
|
15
|
-
${i}
|
|
16
|
-
</span>
|
|
17
|
-
</dsa-tooltip>
|
|
18
|
-
`:s`<span class="tag__content">${i}</span>`}
|
|
19
|
-
|
|
20
|
-
<slot part="suffix" name="suffix" class="tag__suffix"></slot>
|
|
21
|
-
|
|
22
|
-
${this.removable?s`
|
|
23
|
-
<dsa-icon-button
|
|
24
|
-
part="remove-button"
|
|
25
|
-
exportparts="base:remove-button__base"
|
|
26
|
-
name="close"
|
|
27
|
-
label=${`${this.localize.term("remove")} ${(o=this.accessibleName)!=null?o:this.label}`}
|
|
28
|
-
class="tag__remove"
|
|
29
|
-
size=${this.iconButtonSize}
|
|
30
|
-
@click=${this.handleRemoveClick}
|
|
31
|
-
?disable-tab-index=${this.disableRemovableFocus}
|
|
32
|
-
library="system"
|
|
33
|
-
></dsa-icon-button>
|
|
34
|
-
`:""}
|
|
35
|
-
</span>
|
|
36
|
-
`}};e.styles=d,t([l(".tag__content")],e.prototype,"content",2),t([l("dsa-icon-button")],e.prototype,"removeButton",2),t([a({type:Boolean,attribute:"disable-removable-focus"})],e.prototype,"disableRemovableFocus",2),t([a({reflect:!0})],e.prototype,"variant",2),t([a({reflect:!0})],e.prototype,"size",2),t([a({type:Boolean})],e.prototype,"removable",2),t([a({reflect:!0})],e.prototype,"label",2),t([a({attribute:"accessible-name",reflect:!0})],e.prototype,"accessibleName",2),t([a({type:Boolean})],e.prototype,"tooltip",2),t([c("size")],e.prototype,"updateIconButtonSize",1),e=t([r("dsa-tag")],e);export{e as a};
|