@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
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import{a as u}from"./chunk.27RSAF7P.js";import{a as f,b as y}from"./chunk.3RLUYXJN.js";import{a as z}from"./chunk.ZJVQ3VQM.js";import{a as k}from"./chunk.ELL45QD3.js";import{a as L}from"./chunk.63UE4VAO.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.6JIYQYLW.js";import{a as w}from"./chunk.2RF4WD6T.js";import{d as g}from"./chunk.ZBHHLRFH.js";import{a as _}from"./chunk.BWEPOOQP.js";import{a as b,b as s,d as c,f as C}from"./chunk.KBZ32KWP.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=z,t.dependencies={"dsa-icon-button":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 +1 @@
|
|
|
1
|
-
import{c as r}from"./chunk.
|
|
1
|
+
import{c as r}from"./chunk.6JIYQYLW.js";import{a as e,b as n,f as m}from"./chunk.KBZ32KWP.js";import{f as t}from"./chunk.IZ2HVRME.js";var i=class extends m{constructor(){super(...arguments);this.localize=new r(this);this.value=0;this.type="decimal";this.noGrouping=!1;this.currency="USD";this.currencyDisplay="symbol"}render(){return isNaN(this.value)?"":this.localize.number(this.value,{style:this.type,currency:this.currency,currencyDisplay:this.currencyDisplay,useGrouping:!this.noGrouping,minimumIntegerDigits:this.minimumIntegerDigits,minimumFractionDigits:this.minimumFractionDigits,maximumFractionDigits:this.maximumFractionDigits,minimumSignificantDigits:this.minimumSignificantDigits,maximumSignificantDigits:this.maximumSignificantDigits})}};t([n({type:Number})],i.prototype,"value",2),t([n()],i.prototype,"type",2),t([n({attribute:"no-grouping",type:Boolean})],i.prototype,"noGrouping",2),t([n()],i.prototype,"currency",2),t([n({attribute:"currency-display"})],i.prototype,"currencyDisplay",2),t([n({attribute:"minimum-integer-digits",type:Number})],i.prototype,"minimumIntegerDigits",2),t([n({attribute:"minimum-fraction-digits",type:Number})],i.prototype,"minimumFractionDigits",2),t([n({attribute:"maximum-fraction-digits",type:Number})],i.prototype,"maximumFractionDigits",2),t([n({attribute:"minimum-significant-digits",type:Number})],i.prototype,"minimumSignificantDigits",2),t([n({attribute:"maximum-significant-digits",type:Number})],i.prototype,"maximumSignificantDigits",2),i=t([e("dsa-format-number")],i);export{i as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as p,c as m}from"./chunk.W2H63I6U.js";import{a as g}from"./chunk.5OHTEVHW.js";import{a as d}from"./chunk.ELL45QD3.js";import{c}from"./chunk.
|
|
1
|
+
import{a as p,c as m}from"./chunk.W2H63I6U.js";import{a as g}from"./chunk.5OHTEVHW.js";import{a as d}from"./chunk.ELL45QD3.js";import{c}from"./chunk.6JIYQYLW.js";import{d as r}from"./chunk.ZBHHLRFH.js";import{a as o}from"./chunk.BWEPOOQP.js";import{a as i,b as s,d as n,f as h}from"./chunk.KBZ32KWP.js";import{a as l}from"./chunk.GP725TPQ.js";import{f as t}from"./chunk.IZ2HVRME.js";var e=class extends h{constructor(){super(...arguments);this.hasSlotController=new d(this,"external-links","second-logo","site-name","baseline","search");this.localize=new c(this);this.firstLogo="public";this.logoHref="/";this.logoSize="default";this.searchExpanded=!1;this.mobile=!1}connectedCallback(){super.connectedCallback(),this.handleSearchExpandEvent=this.handleSearchExpandEvent.bind(this),this.handleSearchCollapseEvent=this.handleSearchCollapseEvent.bind(this),this.addEventListener("dsa-expand",this.handleSearchExpandEvent),this.addEventListener("dsa-collapse",this.handleSearchCollapseEvent)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("dsa-expand",this.handleSearchExpandEvent),this.removeEventListener("dsa-collapse",this.handleSearchCollapseEvent)}handleSearchExpandEvent(){this.searchExpanded=!0}handleSearchCollapseEvent(){this.searchExpanded=!1}getFirtLogo(){return this.firstLogo==="pro"?m(this.localize.term("spaGoToHomepage")):p(this.localize.term("cnsaGoToHomepage"))}handleSearchExpanded(){if(this.hasSlotController.test("search")){let a=this.querySelector("dsa-header-search");if(!a)return;this.searchExpanded?a.setAttribute("expanded","true"):a.removeAttribute("expanded")}}handleMobile(){if(this.hasSlotController.test("search")){let a=this.querySelector("dsa-header-search");if(!a)return;this.mobile?a.setAttribute("mobile","true"):a.removeAttribute("mobile")}}render(){let a=this.hasSlotController.test("second-logo")||this.hasSlotController.test("site-name");return l`
|
|
2
2
|
<header
|
|
3
3
|
part="base"
|
|
4
4
|
role="banner"
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import{a as u}from"./chunk.FX5UP23Z.js";import{a as E}from"./chunk.HS7JWPZY.js";import{a as M}from"./chunk.U4TME7DS.js";import{a as V}from"./chunk.PIG773U2.js";import{a as F}from"./chunk.NJBAMERR.js";import{a as C}from"./chunk.SWEIVB73.js";import{a as B}from"./chunk.2PKKSM74.js";import{b as k}from"./chunk.FWTZS7LK.js";import{a as $}from"./chunk.ELL45QD3.js";import{a as h}from"./chunk.B4KFHYLS.js";import{a as c}from"./chunk.NIRNX67K.js";import{a as s}from"./chunk.2RF4WD6T.js";import{d}from"./chunk.ZBHHLRFH.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.KBZ32KWP.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 k(this,{value:t=>t.checked?t.value||"on":void 0,defaultValue:t=>t.defaultChecked,setValue:(t,a)=>t.checked=a});this.hasSlotController=new $(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 E&&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,z=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&&!z&&this.errorMessage?C(this.errorMessage):""}
|
|
50
|
+
</div>
|
|
51
|
+
`}};e.styles=B,e.dependencies={"dsa-error-text":F,"dsa-visually-hidden":V},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([M("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};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import{a as E}from"./chunk.UNNWNSLV.js";import{a as $}from"./chunk.CUYQOZPJ.js";import{a as P}from"./chunk.SWEIVB73.js";import{a as f}from"./chunk.KLRPP4NQ.js";import{a,c,d as u}from"./chunk.HHVNQNCC.js";import{a as h,c as l}from"./chunk.TV2TMO2H.js";import{a as b}from"./chunk.B4KFHYLS.js";import{c as v}from"./chunk.6JIYQYLW.js";import{a as p}from"./chunk.BWEPOOQP.js";import{b as s,c as w,d,f as D}from"./chunk.KBZ32KWP.js";import{a as n}from"./chunk.GP725TPQ.js";import{f as i}from"./chunk.IZ2HVRME.js";var t=class extends D{constructor(){super(...arguments);this.localize=new v(this);this.errorMessages=[];this.value="";this.label="";this.open=!1;this.hoist=!1;this.disabled=!1;this.readonly=!1;this.drawer=!1;this.placement="bottom-start"}connectedCallback(){super.connectedCallback(),this.handleDocumentFocusIn=this.handleDocumentFocusIn.bind(this),this.handleDocumentMouseDown=this.handleDocumentMouseDown.bind(this)}firstUpdated(){this.drawer&&(this.filterPanel.hidden=!this.open,this.filterPanel.style.height=this.open?"auto":"0")}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}handleFocus(){this.emit("dsa-focus")}handleBlur(){this.emit("dsa-blur")}handleDocumentFocusIn(e){let o=e.composedPath();this&&!this.drawer&&!o.includes(this)&&(this.hide(),this.filterTrigger.focus({preventScroll:!0}))}handleKeyDown(e){e.key!=="Escape"&&e.stopPropagation(),!this.drawer&&this.open&&e.key==="Escape"&&(e.stopPropagation(),e.preventDefault(),this.hide(),this.filterTrigger.focus({preventScroll:!0})),!this.drawer&&this.open&&e.key==="Tab"&&setTimeout(()=>{var g,y;let r=(this==null?void 0:this.getRootNode())instanceof ShadowRoot?(y=(g=document.activeElement)==null?void 0:g.shadowRoot)==null?void 0:y.activeElement:document.activeElement;(!this||(r==null?void 0:r.closest(this.tagName.toLowerCase()))!==this)&&this.hide()});let m=e.composedPath().some(r=>r===this.filterTrigger);if(m&&(e.key==="Enter"||e.key===" ")){if(e.preventDefault(),!this.open){this.show();return}m&&this.hide()}}handleDocumentMouseDown(e){let o=e.composedPath();this&&!this.drawer&&!o.includes(this)&&this.hide()}handleFilterTriggerMouseDown(e){e.preventDefault(),this.filterTrigger.focus({preventScroll:!0}),this.open=!this.open}handleDisabledChange(){(this.disabled||this.readonly)&&(this.open=!1,this.handleOpenChange())}async handleOpenChange(){if(this.open){if(this.emit("dsa-show"),this.addOpenListeners(),await c(this),this.drawer){let{keyframes:e,options:o}=l(this,"accordion.show",{dir:this.localize.dir()});this.filterPanel.hidden=!1,await a(this.filterPanel,u(e,this.filterPanel.scrollHeight),o),this.filterPanel.style.height="auto"}else{let{keyframes:e,options:o}=l(this,"filter.show",{dir:this.localize.dir()});this.popup.active=!0,await a(this.popup.popup,e,o)}this.emit("dsa-after-show")}else{if(this.emit("dsa-hide"),this.removeOpenListeners(),await c(this),this.drawer){let{keyframes:e,options:o}=l(this,"accordion.hide",{dir:this.localize.dir()});await a(this.filterPanel,u(e,this.filterPanel.scrollHeight),o),this.filterPanel.hidden=!0,this.filterPanel.style.height="auto"}else{let{keyframes:e,options:o}=l(this,"filter.hide",{dir:this.localize.dir()});await a(this.popup.popup,e,o),this.popup.active=!1}this.emit("dsa-after-hide")}}async show(){if(!(this.disabled||this.readonly)){if(this.open){this.open=!1;return}return this.open=!0,await f(this,"dsa-after-show")}}async hide(){if(!this.open){this.open=!1;return}return this.open=!1,await f(this,"dsa-after-hide")}focus(e){this.filterTrigger.focus(e)}blur(){this.filterTrigger.blur()}renderPanelContent(){return n``}renderTrigger(){return this.label||b("Filters require a label attribute for accessibility"),n` <dsa-filter-button
|
|
2
|
+
slot="anchor"
|
|
3
|
+
class="filter__trigger"
|
|
4
|
+
label=${this.label}
|
|
5
|
+
selected-option=${this.value}
|
|
6
|
+
selection-count=${this.value!==""?1:0}
|
|
7
|
+
aria-expanded=${this.open?"true":"false"}
|
|
8
|
+
aria-controls="filter__panel"
|
|
9
|
+
?disabled=${this.disabled}
|
|
10
|
+
?readonly=${this.readonly}
|
|
11
|
+
?drawer=${this.drawer}
|
|
12
|
+
@focus=${this.handleFocus}
|
|
13
|
+
@blur=${this.handleBlur}
|
|
14
|
+
@mousedown=${this.handleFilterTriggerMouseDown}
|
|
15
|
+
></dsa-filter-button>`}render(){return this.drawer?n`
|
|
16
|
+
<div class="filter--drawer" @keydown=${this.handleKeyDown}>
|
|
17
|
+
${this.renderTrigger()}
|
|
18
|
+
<div id="filter__panel" class="filter__panel">
|
|
19
|
+
${this.renderPanelContent()}
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
`:n`
|
|
23
|
+
<dsa-popup
|
|
24
|
+
class="filter"
|
|
25
|
+
part="popup"
|
|
26
|
+
placement=${this.placement}
|
|
27
|
+
strategy=${this.hoist?"fixed":"absolute"}
|
|
28
|
+
distance="4"
|
|
29
|
+
flip
|
|
30
|
+
shift
|
|
31
|
+
auto-size="vertical"
|
|
32
|
+
auto-size-padding="10"
|
|
33
|
+
@keydown=${this.handleKeyDown}
|
|
34
|
+
>
|
|
35
|
+
${this.renderTrigger()}
|
|
36
|
+
<div id="filter__panel" class="filter__panel">
|
|
37
|
+
${this.renderPanelContent()}
|
|
38
|
+
</div>
|
|
39
|
+
</dsa-popup>
|
|
40
|
+
${this.errorMessages.length>0?P(this.errorMessages):""}
|
|
41
|
+
`}};t.dependencies={"dsa-popup":$,"dsa-filter-button":E},i([d(".filter")],t.prototype,"popup",2),i([d(".filter__trigger")],t.prototype,"filterTrigger",2),i([d(".filter__panel")],t.prototype,"filterPanel",2),i([w()],t.prototype,"errorMessages",2),i([s({reflect:!0})],t.prototype,"value",2),i([s()],t.prototype,"label",2),i([s({type:Boolean,reflect:!0})],t.prototype,"open",2),i([s({type:Boolean})],t.prototype,"hoist",2),i([s({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([s({type:Boolean,reflect:!0})],t.prototype,"readonly",2),i([s({type:Boolean,reflect:!0})],t.prototype,"drawer",2),i([s()],t.prototype,"placement",2),i([p(["disabled","readonly"],{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),i([p("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1);h("filter.show",{keyframes:[{opacity:0,scale:.9},{opacity:1,scale:1}],options:{duration:100,easing:"ease"}});h("filter.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.9}],options:{duration:100,easing:"ease"}});h("accordion.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:250,easing:"linear"}});h("accordion.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:250,easing:"linear"}});export{t as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a}from"./chunk.YT2Q5BU6.js";import{a as o,d as r,f as s}from"./chunk.
|
|
1
|
+
import{a}from"./chunk.YT2Q5BU6.js";import{a as o,d as r,f as s}from"./chunk.KBZ32KWP.js";import{a as l}from"./chunk.GP725TPQ.js";import{f as t}from"./chunk.IZ2HVRME.js";var e=class extends s{render(){return l`
|
|
2
2
|
<div part="base" class="avatar-group" role="group">
|
|
3
3
|
<slot></slot>
|
|
4
4
|
</div>
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import{a as M}from"./chunk.RCGUDUP2.js";import{a as H}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 q}from"./chunk.63UE4VAO.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.6JIYQYLW.js";import{a as C}from"./chunk.2RF4WD6T.js";import{d as k}from"./chunk.ZBHHLRFH.js";import{a as y}from"./chunk.BWEPOOQP.js";import{a as g,b as s,d as c,f as _}from"./chunk.KBZ32KWP.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 H(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 o=l(this,"drawer.denyClose",{dir:this.localize.dir()});n(this.panel,o.keyframes,o.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 r=this.querySelectorAll("dsa-tooltip");Array.from(r).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 r=l(this,`drawer.show${v(this.placement)}`,{dir:this.localize.dir()}),o=l(this,"drawer.overlay.show",{dir:this.localize.dir()});await Promise.all([n(this.panel,r.keyframes,r.options),n(this.overlay,o.keyframes,o.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()}),r=l(this,"drawer.overlay.hide",{dir:this.localize.dir()});await Promise.all([n(this.overlay,r.keyframes,r.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 o=this.originalTrigger;typeof(o==null?void 0:o.focus)=="function"&&setTimeout(()=>o.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=M,e.dependencies={"dsa-icon-button":q},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};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import{a as c,b as C,c as d,d as r,e as m}from"./chunk.WFR7MSMI.js";import{a as h}from"./chunk.ZCITPD2M.js";import{a as k}from"./chunk.3SJY545H.js";import{a as w}from"./chunk.FX5UP23Z.js";import{a as N}from"./chunk.63UE4VAO.js";import{a as o}from"./chunk.NIRNX67K.js";import{c as S}from"./chunk.6JIYQYLW.js";import{a as s}from"./chunk.2RF4WD6T.js";import{d as g}from"./chunk.ZBHHLRFH.js";import{a as $,d as x}from"./chunk.KBZ32KWP.js";import{a as l}from"./chunk.GP725TPQ.js";import{a as b,b as v,f as p}from"./chunk.IZ2HVRME.js";var n=class extends h{constructor(){super(...arguments);this.localize=new S(this)}get valueAsNumber(){return parseFloat(this.value.replace(",","."))}set valueAsNumber(t){super.valueAsNumber=t}handleChange(){if(this.input.value===""||this.input.value==="-"){this.input.value="";return}let t=d(this.input.value),e=parseFloat(`${this.min}`),i=parseFloat(`${this.max}`);this.input.value=r(m(t,this.getSafeStep())),!isNaN(e)&&t<e&&(this.input.value=r(this.min)),!isNaN(i)&&t>i&&(this.input.value=r(this.max)),this.value=this.input.value.replace(",","."),this.emit("dsa-change")}handleInput(){this.value=this.input.value.replace(",","."),this.formControlController.updateValidity(),this.emit("dsa-input")}handleKeyDown(t){if(t.key==="Dead"&&(this.input.blur(),setTimeout(()=>this.input.focus())),C(t)||t.key==="-"&&this.input.selectionStart!==null&&this.input.selectionStart>0||t.key===","&&this.input.value.includes(",")){t.preventDefault();return}if(t.key==="ArrowDown"&&this.stepDown(),t.key==="ArrowUp"&&this.stepUp(),t.key==="ArrowDown"||t.key==="ArrowUp"){let e=new Event("input",{bubbles:!0}),i=new Event("change",{bubbles:!0});this.input.dispatchEvent(e),this.input.dispatchEvent(i)}super.handleKeyDown(t)}getSafeStep(){if(this.step==="any")return this.step;let t=parseFloat(`${this.step}`);return isNaN(t)||t===0?1:t}adjustAmountValue(t){let e=this.getSafeStep(),i=new c(e==="any"?1:e),a=new c(d(this.input.value)),u=t==="up"?a.plus(i).toNumber():a.minus(i).toNumber();this.input.value=r(u),this.value=this.input.value.replace(",",".")}stepUp(){this.adjustAmountValue("up")}stepDown(){this.adjustAmountValue("down")}checkValidity(){return this.input.checkValidity()&&this.checkAmountValidity()}reportValidity(){return this.input.reportValidity()&&this.checkAmountValidity()}checkAmountValidity(){if(this.value==="")return!0;let t=parseFloat(this.value),e=parseFloat(`${this.min}`),i=parseFloat(`${this.max}`),a=this.getSafeStep();return!isNaN(t)&&(isNaN(e)||t>=e)&&(isNaN(i)||t<=i)&&(a==="any"||m(t,a)===t)}renderInput(){var f,y;let t=this.hasSlotController.test("label"),e=this.hasSlotController.test("prefix"),i=this.hasSlotController.test("suffix"),a=this.label?!0:!!t,u=this.clearable&&!this.disabled&&!this.readonly&&(typeof this.value=="number"||this.value.length>0);return l`
|
|
2
|
+
<div
|
|
3
|
+
part="base"
|
|
4
|
+
class=${g({input:!0,"input--small":this.size==="small","input--medium":this.size==="medium","input--large":this.size==="large","input--error":this.error,"input--success":this.success&&!this.error,"input--on-layer":this.variant==="layer","input--on-base":this.variant==="base","input--disabled":this.disabled,"input--readonly":this.readonly,"input--focused":this.hasFocus,"input--empty":!this.value,"form-control--has-prefix-icon":e})}
|
|
5
|
+
>
|
|
6
|
+
<slot
|
|
7
|
+
name="prefix"
|
|
8
|
+
part="prefix"
|
|
9
|
+
id="input__prefix"
|
|
10
|
+
class="input__prefix"
|
|
11
|
+
></slot>
|
|
12
|
+
|
|
13
|
+
<input
|
|
14
|
+
part="input"
|
|
15
|
+
id="input"
|
|
16
|
+
class="input__control"
|
|
17
|
+
type=${"text"}
|
|
18
|
+
title=${o(a?void 0:(f=this.accessibleName)!=null?f:this.title)}
|
|
19
|
+
name=${o(this.name)}
|
|
20
|
+
?disabled=${this.disabled}
|
|
21
|
+
?readonly=${this.readonly}
|
|
22
|
+
?required=${this.required}
|
|
23
|
+
placeholder=${s(this.placeholder)}
|
|
24
|
+
minlength=${s(this.minlength)}
|
|
25
|
+
maxlength=${s(this.maxlength)}
|
|
26
|
+
min=${s(this.min)}
|
|
27
|
+
max=${s(this.max)}
|
|
28
|
+
step=${s(this.step)}
|
|
29
|
+
.value=${w(r(this.value))}
|
|
30
|
+
autocomplete=${s(this.autocomplete)}
|
|
31
|
+
?autofocus=${this.autofocus}
|
|
32
|
+
pattern=${s(this.pattern)}
|
|
33
|
+
enterkeyhint=${s(this.enterkeyhint)}
|
|
34
|
+
inputmode="decimal"
|
|
35
|
+
aria-label=${o(a?void 0:(y=this.accessibleName)!=null?y:this.title)}
|
|
36
|
+
aria-describedby=${this.getDescriptionIds()}
|
|
37
|
+
aria-invalid=${s(this.error?"true":void 0)}
|
|
38
|
+
@change=${this.handleChange}
|
|
39
|
+
@input=${this.handleInput}
|
|
40
|
+
@invalid=${this.handleInvalid}
|
|
41
|
+
@keydown=${this.handleKeyDown}
|
|
42
|
+
@focus=${this.handleFocus}
|
|
43
|
+
@blur=${this.handleBlur}
|
|
44
|
+
/>
|
|
45
|
+
|
|
46
|
+
${i?l`<slot
|
|
47
|
+
name="suffix"
|
|
48
|
+
id="input__suffix"
|
|
49
|
+
class="input__suffix"
|
|
50
|
+
></slot>`:""}
|
|
51
|
+
${u?l`
|
|
52
|
+
<dsa-icon-button
|
|
53
|
+
part="clear-button"
|
|
54
|
+
class="input__action-button"
|
|
55
|
+
name="clear"
|
|
56
|
+
label=${this.localize.term("clearEntry")}
|
|
57
|
+
@click=${this.handleClearClick}
|
|
58
|
+
library="system"
|
|
59
|
+
></dsa-icon-button>
|
|
60
|
+
`:""}
|
|
61
|
+
</div>
|
|
62
|
+
`}};n.styles=k,n.dependencies=v(b({},h.dependencies),{"dsa-icon-button":N}),p([x("input")],n.prototype,"input",2),n=p([$("dsa-input-amount")],n);export{n as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as h}from"./chunk.JFKYL74D.js";import{a as r}from"./chunk.BWEPOOQP.js";import{a as l,b as a,f as d}from"./chunk.
|
|
1
|
+
import{a as h}from"./chunk.JFKYL74D.js";import{a as r}from"./chunk.BWEPOOQP.js";import{a as l,b as a,f as d}from"./chunk.KBZ32KWP.js";import{a as s}from"./chunk.GP725TPQ.js";import{f as e}from"./chunk.IZ2HVRME.js";var t=class extends d{constructor(){super(...arguments);this.attrOldValue=!1;this.charData=!1;this.charDataOldValue=!1;this.childList=!1;this.disabled=!1}connectedCallback(){super.connectedCallback(),this.handleMutation=this.handleMutation.bind(this),this.mutationObserver=new MutationObserver(this.handleMutation),this.disabled||this.startObserver()}disconnectedCallback(){this.stopObserver()}handleMutation(i){this.emit("dsa-mutation",{detail:{mutationList:i}})}startObserver(){let i=typeof this.attr=="string"&&this.attr.length>0,o=i&&this.attr!=="*"?this.attr.split(" "):void 0;try{this.mutationObserver.observe(this,{subtree:!0,childList:this.childList,attributes:i,attributeFilter:o,attributeOldValue:this.attrOldValue,characterData:this.charData,characterDataOldValue:this.charDataOldValue})}catch(u){}}stopObserver(){this.mutationObserver.disconnect()}handleDisabledChange(){this.disabled?this.stopObserver():this.startObserver()}handleChange(){this.stopObserver(),this.startObserver()}render(){return s` <slot></slot> `}};t.styles=h,e([a({reflect:!0})],t.prototype,"attr",2),e([a({attribute:"attr-old-value",type:Boolean,reflect:!0})],t.prototype,"attrOldValue",2),e([a({attribute:"char-data",type:Boolean,reflect:!0})],t.prototype,"charData",2),e([a({attribute:"char-data-old-value",type:Boolean,reflect:!0})],t.prototype,"charDataOldValue",2),e([a({attribute:"child-list",type:Boolean,reflect:!0})],t.prototype,"childList",2),e([a({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([r("disabled")],t.prototype,"handleDisabledChange",1),e([r("attr",{waitUntilFirstUpdate:!0}),r("attrOldValue",{waitUntilFirstUpdate:!0}),r("charData",{waitUntilFirstUpdate:!0}),r("charDataOldValue",{waitUntilFirstUpdate:!0}),r("childList",{waitUntilFirstUpdate:!0})],t.prototype,"handleChange",1),t=e([l("dsa-mutation-observer")],t);export{t as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as l}from"./chunk.DPMHT2KP.js";import{a as o,f as m}from"./chunk.
|
|
1
|
+
import{a as l}from"./chunk.DPMHT2KP.js";import{a as o,f as m}from"./chunk.KBZ32KWP.js";import{a as r}from"./chunk.GP725TPQ.js";import{f as e}from"./chunk.IZ2HVRME.js";var t=class extends m{render(){return r` <slot></slot> `}};t.styles=l,t=e([o("dsa-visually-hidden")],t);export{t as a};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as C}from"./chunk.3FHGJRJ3.js";import{a as T}from"./chunk.FECWEUQM.js";import{a as g}from"./chunk.PIG773U2.js";import{a as y}from"./chunk.ELL45QD3.js";import{a as $}from"./chunk.B4KFHYLS.js";import{a as o,b as l}from"./chunk.FDMPUSVV.js";import{c as k}from"./chunk.6JIYQYLW.js";import{c as v}from"./chunk.KD3BHBHK.js";import{a as i}from"./chunk.2RF4WD6T.js";import{d as r}from"./chunk.ZBHHLRFH.js";import{a as m,b as s,d as f,f as b}from"./chunk.KBZ32KWP.js";import{f as e}from"./chunk.IZ2HVRME.js";var t=class extends b{constructor(){super(...arguments);this.hasSlotController=new y(this,"title","content");this.localize=new k(this);this.status="default";this.stepTitle="";this.content="";this.vertical=!1;this.clickable=!1;this.href="";this.rel="noreferrer noopener"}click(){this.button.click()}focus(c){this.button.focus(c)}blur(){this.button.blur()}connectedCallback(){this.setAttribute("role","listitem"),super.connectedCallback()}getTag(){return this.clickable?this.href?o`a`:o`button`:o`div`}getStepLabel(){switch(this.status){case"complete":return this.localize.term("stepCompleted");case"in-progress":return this.localize.term("stepInProgress");case"active":return this.localize.term("stepActive");case"error":return this.localize.term("stepError");case"default":default:return}}render(){let c=this.hasSlotController.test("title"),z=this.hasSlotController.test("content"),d=this.stepTitle?!0:!!c,L=this.content?!0:!!z,p=!this.clickable,x=this.status!=="in-progress"&&this.status!=="active"?T(this.status):void 0,a=this.getStepLabel(),n=this.clickable&&this.href,h=this.clickable&&!this.href,u=this.getTag();return this.clickable&&!d&&$("<dsa-step> requires a `step-title` attribute or an element in its `title` slot for accessibility when clickable, "),l`
|
|
2
2
|
<div
|
|
3
3
|
part="step"
|
|
4
|
-
class=${r({"step-container":!0,"step-container--clickable":!
|
|
4
|
+
class=${r({"step-container":!0,"step-container--clickable":!p,"step-container--has-title":d,"step-container--has-content":L,"step-container__horizontal":!this.vertical,"step-container__vertical":this.vertical})}
|
|
5
5
|
>
|
|
6
6
|
<div
|
|
7
7
|
class=${r({step:!0,"step--default":this.status==="default","step--complete":this.status==="complete","step--in-progress":this.status==="in-progress"||this.status==="active","step--error":this.status==="error"})}
|
|
@@ -13,7 +13,7 @@ import{a as k}from"./chunk.3FHGJRJ3.js";import{a as g}from"./chunk.FECWEUQM.js";
|
|
|
13
13
|
${this.status==="complete"||this.status==="error"?l`
|
|
14
14
|
<dsa-icon
|
|
15
15
|
class="step-icon"
|
|
16
|
-
name="${i(
|
|
16
|
+
name="${i(x)}"
|
|
17
17
|
label=${i(a)}
|
|
18
18
|
library="system"
|
|
19
19
|
>
|
|
@@ -42,8 +42,8 @@ import{a as k}from"./chunk.3FHGJRJ3.js";import{a as g}from"./chunk.FECWEUQM.js";
|
|
|
42
42
|
|
|
43
43
|
<div class="step-title-container">
|
|
44
44
|
<${u}
|
|
45
|
-
class=${r({"step-clickable":!
|
|
46
|
-
type=${i(
|
|
45
|
+
class=${r({"step-clickable":!p,"step-link":n,"step-button":h})}
|
|
46
|
+
type=${i(h?"button":void 0)}
|
|
47
47
|
href=${i(n?this.href:void 0)}
|
|
48
48
|
target=${i(n?this.target:void 0)}
|
|
49
49
|
rel=${i(n?this.rel:void 0)}
|
|
@@ -68,4 +68,4 @@ import{a as k}from"./chunk.3FHGJRJ3.js";import{a as g}from"./chunk.FECWEUQM.js";
|
|
|
68
68
|
<slot name="content" class="step-content">${this.content}</slot>
|
|
69
69
|
</div>
|
|
70
70
|
</div>
|
|
71
|
-
`}};t.styles=
|
|
71
|
+
`}};t.styles=C,t.dependencies={"dsa-icon":v,"dsa-visually-hidden":g},e([f(".button")],t.prototype,"button",2),e([s()],t.prototype,"status",2),e([s({attribute:"step-title"})],t.prototype,"stepTitle",2),e([s()],t.prototype,"content",2),e([s()],t.prototype,"index",2),e([s({type:Boolean})],t.prototype,"vertical",2),e([s({type:Boolean})],t.prototype,"clickable",2),e([s()],t.prototype,"href",2),e([s()],t.prototype,"target",2),e([s()],t.prototype,"rel",2),t=e([m("dsa-step")],t);export{t as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"./chunk.
|
|
1
|
+
import{a as o}from"./chunk.Y2FECEGA.js";import{a}from"./chunk.HS7JWPZY.js";import{a as i}from"./chunk.BWEPOOQP.js";import{a as r}from"./chunk.KBZ32KWP.js";import{f as e}from"./chunk.IZ2HVRME.js";var t=class extends o{constructor(){super(...arguments);this.type="checkbox"}connectedCallback(){super.connectedCallback();let s=this.parentElement;!this.hasAttribute("role")&&s instanceof a&&this.setAttribute("role","listitem")}handleClick(){this.readonly||this.disabled||this.parentDisabled||this.parentReadonly||(this.checked=!this.checked)}handleErrorChange(){this.error?this.button.setAttribute("aria-invalid","true"):this.button.removeAttribute("aria-invalid")}};e([i("error",{waitUntilFirstUpdate:!0})],t.prototype,"handleErrorChange",1),t=e([r("dsa-checkbox-button")],t);export{t as a};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{a as m}from"./chunk.O5EYVQYT.js";import{a as
|
|
1
|
+
import{a as m}from"./chunk.O5EYVQYT.js";import{a as f}from"./chunk.ELL45QD3.js";import{c as p}from"./chunk.6JIYQYLW.js";import{c as n}from"./chunk.KD3BHBHK.js";import{a as i}from"./chunk.2RF4WD6T.js";import{d as l}from"./chunk.ZBHHLRFH.js";import{a,b as s,f as o}from"./chunk.KBZ32KWP.js";import{a as r}from"./chunk.GP725TPQ.js";import{f as e}from"./chunk.IZ2HVRME.js";var t=class extends o{constructor(){super(...arguments);this.localize=new p(this);this.hasSlotController=new f(this,"prefix","suffix");this.rel="noreferrer noopener"}connectedCallback(){super.connectedCallback(),this.hasAttribute("role")||this.setAttribute("role","listitem")}render(){let c=!!this.href;return r`
|
|
2
2
|
<div
|
|
3
3
|
part="base"
|
|
4
|
-
class=${
|
|
4
|
+
class=${l({"breadcrumb-item":!0,"breadcrumb-item--has-prefix":this.hasSlotController.test("prefix"),"breadcrumb-item--has-suffix":this.hasSlotController.test("suffix")})}
|
|
5
5
|
>
|
|
6
6
|
<slot
|
|
7
7
|
name="prefix"
|
|
@@ -9,13 +9,13 @@ import{a as m}from"./chunk.O5EYVQYT.js";import{a as n}from"./chunk.ELL45QD3.js";
|
|
|
9
9
|
class="breadcrumb-item__prefix"
|
|
10
10
|
></slot>
|
|
11
11
|
|
|
12
|
-
${
|
|
12
|
+
${c?r`
|
|
13
13
|
<a
|
|
14
14
|
part="label"
|
|
15
15
|
class="breadcrumb-item__label"
|
|
16
16
|
href="${this.href}"
|
|
17
|
-
target="${
|
|
18
|
-
rel=${
|
|
17
|
+
target="${i(this.target?this.target:void 0)}"
|
|
18
|
+
rel=${i(this.target?this.rel:void 0)}
|
|
19
19
|
>
|
|
20
20
|
<slot></slot>
|
|
21
21
|
</a>
|
|
@@ -43,4 +43,4 @@ import{a as m}from"./chunk.O5EYVQYT.js";import{a as n}from"./chunk.ELL45QD3.js";
|
|
|
43
43
|
library="system"
|
|
44
44
|
></dsa-icon>
|
|
45
45
|
</div>
|
|
46
|
-
`}};t.styles=m,e([
|
|
46
|
+
`}};t.styles=m,t.dependencies={"dsa-icon":n},e([s()],t.prototype,"href",2),e([s()],t.prototype,"target",2),e([s()],t.prototype,"rel",2),t=e([a("dsa-breadcrumb-item")],t);export{t as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as n}from"./chunk.
|
|
1
|
+
import{c as n}from"./chunk.6JIYQYLW.js";import{a as l,b as i,f as r}from"./chunk.KBZ32KWP.js";import{f as t}from"./chunk.IZ2HVRME.js";var e=class extends r{constructor(){super(...arguments);this.localize=new n(this);this.value=0;this.unit="byte";this.display="short"}render(){if(isNaN(this.value))return"";let s=["","kilo","mega","giga","tera"],h=["","kilo","mega","giga","tera","peta"],a=this.unit==="bit"?s:h,o=Math.max(0,Math.min(Math.floor(Math.log10(this.value)/3),a.length-1)),u=a[o]+this.unit,p=parseFloat((this.value/Math.pow(1e3,o)).toPrecision(3));return this.localize.number(p,{style:"unit",unit:u,unitDisplay:this.display})}};t([i({type:Number})],e.prototype,"value",2),t([i()],e.prototype,"unit",2),t([i()],e.prototype,"display",2),e=t([l("dsa-format-bytes")],e);export{e as a};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import{a as p}from"./chunk.2S76L6WY.js";import{a as m}from"./chunk.PIG773U2.js";import{c as u}from"./chunk.6JIYQYLW.js";import{c as d}from"./chunk.KD3BHBHK.js";import{d as c}from"./chunk.ZBHHLRFH.js";import{a as i}from"./chunk.BWEPOOQP.js";import{a as o,b as a,c as r,d as n,f as h}from"./chunk.KBZ32KWP.js";import{a as s}from"./chunk.GP725TPQ.js";import{f as t}from"./chunk.IZ2HVRME.js";var e=class extends h{constructor(){super(...arguments);this.localize=new u(this);this.current=!1;this.selected=!1;this.hasHover=!1;this.value="";this.disabled=!1;this.size="medium";this.error=!1;this.role="option";this.multiple=!1}connectedCallback(){super.connectedCallback(),this.role==="option"?this.setAttribute("aria-selected","false"):(this.setAttribute("aria-checked","false"),this.removeAttribute("aria-selected"))}handleDefaultSlotChange(){let l=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=l;return}l!==this.cachedTextLabel&&(this.cachedTextLabel=l,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleMouseEnter(){this.hasHover=!0}handleMouseLeave(){this.hasHover=!1}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleSelectedChange(){this.setAttribute(this.role==="option"?"aria-selected":"aria-checked",this.selected?"true":"false")}handleErrorChange(){this.setAttribute("aria-invalid",this.error?"true":"false")}handleValueChange(){typeof this.value!="string"&&(this.value=String(this.value)),this.value.includes(" ")&&(console.error("Option values cannot include a space. All spaces have been replaced with underscores.",this),this.value=this.value.replace(/ /g,"_"))}getTextLabel(){var l;return((l=this.textContent)!=null?l:"").trim()}render(){return s`
|
|
2
|
+
<div
|
|
3
|
+
part="base"
|
|
4
|
+
class=${c({option:!0,"option--small":this.size==="small","option--medium":this.size==="medium","option--large":this.size==="large","option--current":this.current,"option--disabled":this.disabled,"option--selected":this.selected,"option--hover":this.hasHover,"option--error":this.error,"option--multiple":this.multiple})}
|
|
5
|
+
@mouseenter=${this.handleMouseEnter}
|
|
6
|
+
@mouseleave=${this.handleMouseLeave}
|
|
7
|
+
>
|
|
8
|
+
${this.multiple?s`
|
|
9
|
+
<span class="checkbox__control">
|
|
10
|
+
${this.selected?s`
|
|
11
|
+
<dsa-icon
|
|
12
|
+
name="done"
|
|
13
|
+
class="checkbox__checked-icon"
|
|
14
|
+
library="system"
|
|
15
|
+
></dsa-icon>
|
|
16
|
+
`:""}
|
|
17
|
+
</span>
|
|
18
|
+
`:s`
|
|
19
|
+
<dsa-icon
|
|
20
|
+
part="checked-icon"
|
|
21
|
+
class="option__check"
|
|
22
|
+
name="check"
|
|
23
|
+
aria-hidden="true"
|
|
24
|
+
library="system"
|
|
25
|
+
></dsa-icon>
|
|
26
|
+
`}
|
|
27
|
+
${this.error?s`<dsa-icon
|
|
28
|
+
class="option__error-icon"
|
|
29
|
+
name="error"
|
|
30
|
+
library="system"
|
|
31
|
+
></dsa-icon>`:""}
|
|
32
|
+
<slot part="prefix" name="prefix" class="option__prefix"></slot>
|
|
33
|
+
<slot
|
|
34
|
+
part="label"
|
|
35
|
+
class="option__label"
|
|
36
|
+
@slotchange=${this.handleDefaultSlotChange}
|
|
37
|
+
></slot>
|
|
38
|
+
${this.amount?s`
|
|
39
|
+
<dsa-visually-hidden>:</dsa-visually-hidden>
|
|
40
|
+
<span class="option__amount">${this.amount}</span>
|
|
41
|
+
`:""}
|
|
42
|
+
<slot part="suffix" name="suffix" class="option__suffix"></slot>
|
|
43
|
+
</div>
|
|
44
|
+
`}};e.styles=p,e.dependencies={"dsa-icon":d,"dsa-visually-hidden":m},t([n(".option__label")],e.prototype,"defaultSlot",2),t([r()],e.prototype,"current",2),t([r()],e.prototype,"selected",2),t([r()],e.prototype,"hasHover",2),t([a({reflect:!0})],e.prototype,"value",2),t([a({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([a()],e.prototype,"size",2),t([a({type:Boolean})],e.prototype,"error",2),t([a()],e.prototype,"amount",2),t([a({reflect:!0})],e.prototype,"role",2),t([a({type:Boolean})],e.prototype,"multiple",2),t([i("disabled")],e.prototype,"handleDisabledChange",1),t([i("selected")],e.prototype,"handleSelectedChange",1),t([i("error")],e.prototype,"handleErrorChange",1),t([i("value")],e.prototype,"handleValueChange",1),e=t([o("dsa-option")],e);export{e as a};
|