@universityofmaryland/web-components-library 1.16.4 → 1.17.0-beta.1
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/README.md +1 -1
- package/dist/_event-Duz7QGRD.js.map +1 -1
- package/dist/bundle.d.ts +4 -5
- package/dist/bundle.d.ts.map +1 -1
- package/dist/bundle.js +17486 -16232
- package/dist/bundle.js.map +1 -1
- package/dist/cdn.js +1409 -1433
- package/dist/cdn.js.map +1 -1
- package/dist/components/accordion.d.ts +1 -1
- package/dist/components/accordion.js +3 -2
- package/dist/components/actions.d.ts +1 -1
- package/dist/components/actions.js +2 -1
- package/dist/components/alert.d.ts +1 -1
- package/dist/components/alert.js +7 -4
- package/dist/components/brand.d.ts +1 -1
- package/dist/components/brand.js +5 -3
- package/dist/components/card.d.ts +1 -1
- package/dist/components/card.js +13 -7
- package/dist/components/carousel.d.ts +1 -1
- package/dist/components/carousel.js +13 -7
- package/dist/components/feed.d.ts +1 -1
- package/dist/components/feed.js +21 -7
- package/dist/components/footer.d.ts +1 -1
- package/dist/components/footer.js +3 -2
- package/dist/components/hero.d.ts +1 -1
- package/dist/components/hero.js +13 -7
- package/dist/components/layout.d.ts +1 -1
- package/dist/components/layout.js +15 -8
- package/dist/components/media.d.ts +1 -1
- package/dist/components/media.js +5 -3
- package/dist/components/navigation.d.ts +1 -1
- package/dist/components/navigation.js +13 -7
- package/dist/components/pathway.d.ts +1 -1
- package/dist/components/pathway.js +5 -3
- package/dist/components/person.d.ts +1 -1
- package/dist/components/person.js +6 -3
- package/dist/components/quote.d.ts +1 -1
- package/dist/components/quote.js +3 -2
- package/dist/components/slider.d.ts +1 -1
- package/dist/components/slider.js +5 -3
- package/dist/components/social.d.ts +1 -1
- package/dist/components/social.js +3 -2
- package/dist/components/stat.d.ts +1 -1
- package/dist/components/stat.js +3 -2
- package/dist/components/tab.d.ts +1 -1
- package/dist/components/tab.js +3 -2
- package/dist/components/text.d.ts +1 -1
- package/dist/components/text.js +2 -1
- package/dist/content.d.ts +0 -4
- package/dist/content.js +30 -14
- package/dist/content.js.map +1 -1
- package/dist/exports/bundle.d.ts +4 -5
- package/dist/exports/bundle.d.ts.map +1 -1
- package/dist/exports/cdn.d.ts +1 -1
- package/dist/exports/cdn.d.ts.map +1 -1
- package/dist/exports/content.d.ts +9 -1
- package/dist/exports/content.d.ts.map +1 -1
- package/dist/exports/feed.d.ts +4 -1
- package/dist/exports/feed.d.ts.map +1 -1
- package/dist/exports/interactive.d.ts +6 -1
- package/dist/exports/interactive.d.ts.map +1 -1
- package/dist/exports/loader.d.ts +1 -0
- package/dist/exports/loader.d.ts.map +1 -1
- package/dist/exports/structural.d.ts +5 -1
- package/dist/exports/structural.d.ts.map +1 -1
- package/dist/feed.d.ts +0 -4
- package/dist/feed.js +13 -9
- package/dist/feed.js.map +1 -1
- package/dist/{highlight-BAbE0FOj.js → index--j6GLFih.js} +35 -31
- package/dist/index--j6GLFih.js.map +1 -0
- package/dist/index-BIkAyrlD.js +224 -0
- package/dist/index-BIkAyrlD.js.map +1 -0
- package/dist/{video-C2XikZ0X.js → index-BPYb3H7i.js} +60 -56
- package/dist/index-BPYb3H7i.js.map +1 -0
- package/dist/index-BXNlNViX.js +45 -0
- package/dist/index-BXNlNViX.js.map +1 -0
- package/dist/{display-CLcyGpEO.js → index-BgXjsdgw.js} +20 -16
- package/dist/index-BgXjsdgw.js.map +1 -0
- package/dist/{chevron-scroll-sN9hWLoU.js → index-BqwGw7fw.js} +25 -21
- package/dist/index-BqwGw7fw.js.map +1 -0
- package/dist/index-BrpAs-2C.js +55 -0
- package/dist/index-BrpAs-2C.js.map +1 -0
- package/dist/{sticky-columns-CRvJYWgm.js → index-BuxmclJv.js} +76 -72
- package/dist/index-BuxmclJv.js.map +1 -0
- package/dist/{sticky-CU-Yvr4D.js → index-CGx0DywL.js} +356 -349
- package/dist/index-CGx0DywL.js.map +1 -0
- package/dist/{display-Dt1OomBK.js → index-CSEUxTcU.js} +17 -13
- package/dist/index-CSEUxTcU.js.map +1 -0
- package/dist/index-CoevyLaX.js +41 -0
- package/dist/index-CoevyLaX.js.map +1 -0
- package/dist/index-CwiTV8_N.js +63 -0
- package/dist/index-CwiTV8_N.js.map +1 -0
- package/dist/index-DOqPBmZz.js +53 -0
- package/dist/index-DOqPBmZz.js.map +1 -0
- package/dist/{hero-CJSHG7uN.js → index-Ddu-BAv9.js} +44 -41
- package/dist/index-Ddu-BAv9.js.map +1 -0
- package/dist/index-DvXDxhj1.js +39 -0
- package/dist/index-DvXDxhj1.js.map +1 -0
- package/dist/index-OptCax2o.js +66 -0
- package/dist/index-OptCax2o.js.map +1 -0
- package/dist/index-XkoJrs3Q.js +24 -0
- package/dist/index-XkoJrs3Q.js.map +1 -0
- package/dist/{minimal-lg-8HdqL.js → index-ZR5YJ3lO.js} +55 -51
- package/dist/index-ZR5YJ3lO.js.map +1 -0
- package/dist/index-iRIPq52d.js +245 -0
- package/dist/index-iRIPq52d.js.map +1 -0
- package/dist/index-kYufzuXV.js +65 -0
- package/dist/index-kYufzuXV.js.map +1 -0
- package/dist/index.d.ts +5 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +109 -10
- package/dist/index.js.map +1 -1
- package/dist/interactive.d.ts +0 -4
- package/dist/interactive.js +21 -13
- package/dist/interactive.js.map +1 -1
- package/dist/loader-BppZi79o.js +124 -0
- package/dist/loader-BppZi79o.js.map +1 -0
- package/dist/structural.d.ts +0 -4
- package/dist/structural.js +18 -12
- package/dist/structural.js.map +1 -1
- package/dist/web-components/_event.d.ts.map +1 -0
- package/dist/{api → web-components}/_types.d.ts.map +1 -1
- package/dist/web-components/accordion/index.d.ts +2 -0
- package/dist/web-components/accordion/index.d.ts.map +1 -0
- package/dist/web-components/accordion/item.d.ts +3 -0
- package/dist/web-components/accordion/item.d.ts.map +1 -0
- package/dist/web-components/actions/display.d.ts +4 -0
- package/dist/web-components/actions/display.d.ts.map +1 -0
- package/dist/web-components/actions/index.d.ts +2 -0
- package/dist/web-components/actions/index.d.ts.map +1 -0
- package/dist/web-components/alert/_model.d.ts.map +1 -0
- package/dist/web-components/alert/index.d.ts +4 -0
- package/dist/web-components/alert/index.d.ts.map +1 -0
- package/dist/web-components/alert/page.d.ts +4 -0
- package/dist/web-components/alert/page.d.ts.map +1 -0
- package/dist/web-components/alert/promo.d.ts +4 -0
- package/dist/web-components/alert/promo.d.ts.map +1 -0
- package/dist/web-components/alert/site.d.ts +4 -0
- package/dist/web-components/alert/site.d.ts.map +1 -0
- package/dist/web-components/brand/chevron-scroll.d.ts +4 -0
- package/dist/web-components/brand/chevron-scroll.d.ts.map +1 -0
- package/dist/web-components/brand/index.d.ts +3 -0
- package/dist/web-components/brand/index.d.ts.map +1 -0
- package/dist/web-components/brand/stack.d.ts +4 -0
- package/dist/web-components/brand/stack.d.ts.map +1 -0
- package/dist/{api → web-components}/card/_model.d.ts +1 -1
- package/dist/web-components/card/_model.d.ts.map +1 -0
- package/dist/web-components/card/article.d.ts +4 -0
- package/dist/web-components/card/article.d.ts.map +1 -0
- package/dist/web-components/card/event.d.ts +4 -0
- package/dist/web-components/card/event.d.ts.map +1 -0
- package/dist/web-components/card/icon.d.ts +4 -0
- package/dist/web-components/card/icon.d.ts.map +1 -0
- package/dist/web-components/card/index.d.ts +7 -0
- package/dist/web-components/card/index.d.ts.map +1 -0
- package/dist/web-components/card/overlay.d.ts +4 -0
- package/dist/web-components/card/overlay.d.ts.map +1 -0
- package/dist/web-components/card/standard.d.ts +3 -0
- package/dist/web-components/card/standard.d.ts.map +1 -0
- package/dist/web-components/card/video.d.ts +4 -0
- package/dist/web-components/card/video.d.ts.map +1 -0
- package/dist/web-components/carousel/base.d.ts +4 -0
- package/dist/web-components/carousel/base.d.ts.map +1 -0
- package/dist/web-components/carousel/cards.d.ts +4 -0
- package/dist/web-components/carousel/cards.d.ts.map +1 -0
- package/dist/web-components/carousel/image/multiple.d.ts +4 -0
- package/dist/web-components/carousel/image/multiple.d.ts.map +1 -0
- package/dist/web-components/carousel/image/single.d.ts +4 -0
- package/dist/web-components/carousel/image/single.d.ts.map +1 -0
- package/dist/web-components/carousel/index.d.ts +7 -0
- package/dist/web-components/carousel/index.d.ts.map +1 -0
- package/dist/web-components/carousel/thumbnail.d.ts +4 -0
- package/dist/web-components/carousel/thumbnail.d.ts.map +1 -0
- package/dist/web-components/carousel/wide.d.ts +4 -0
- package/dist/web-components/carousel/wide.d.ts.map +1 -0
- package/dist/web-components/feed/_types.d.ts.map +1 -0
- package/dist/web-components/feed/alert/index.d.ts +3 -0
- package/dist/web-components/feed/alert/index.d.ts.map +1 -0
- package/dist/web-components/feed/events/common.d.ts.map +1 -0
- package/dist/web-components/feed/events/grid.d.ts +4 -0
- package/dist/web-components/feed/events/grid.d.ts.map +1 -0
- package/dist/web-components/feed/events/grouped.d.ts +4 -0
- package/dist/web-components/feed/events/grouped.d.ts.map +1 -0
- package/dist/web-components/feed/events/list.d.ts +4 -0
- package/dist/web-components/feed/events/list.d.ts.map +1 -0
- package/dist/web-components/feed/experts/bio.d.ts +4 -0
- package/dist/web-components/feed/experts/bio.d.ts.map +1 -0
- package/dist/web-components/feed/experts/grid.d.ts +4 -0
- package/dist/web-components/feed/experts/grid.d.ts.map +1 -0
- package/dist/web-components/feed/experts/list.d.ts +4 -0
- package/dist/web-components/feed/experts/list.d.ts.map +1 -0
- package/dist/web-components/feed/index.d.ts +11 -0
- package/dist/web-components/feed/index.d.ts.map +1 -0
- package/dist/web-components/feed/news/common.d.ts.map +1 -0
- package/dist/web-components/feed/news/featured.d.ts +4 -0
- package/dist/web-components/feed/news/featured.d.ts.map +1 -0
- package/dist/web-components/feed/news/grid.d.ts +4 -0
- package/dist/web-components/feed/news/grid.d.ts.map +1 -0
- package/dist/web-components/feed/news/list.d.ts +4 -0
- package/dist/web-components/feed/news/list.d.ts.map +1 -0
- package/dist/web-components/footer/index.d.ts +2 -0
- package/dist/web-components/footer/index.d.ts.map +1 -0
- package/dist/{api → web-components}/footer/options.d.ts +2 -2
- package/dist/web-components/footer/options.d.ts.map +1 -0
- package/dist/web-components/hero/base.d.ts +4 -0
- package/dist/web-components/hero/base.d.ts.map +1 -0
- package/dist/web-components/hero/custom/expand.d.ts +4 -0
- package/dist/web-components/hero/custom/expand.d.ts.map +1 -0
- package/dist/web-components/hero/custom/grid.d.ts +4 -0
- package/dist/web-components/hero/custom/grid.d.ts.map +1 -0
- package/dist/web-components/hero/custom/video.d.ts +4 -0
- package/dist/web-components/hero/custom/video.d.ts.map +1 -0
- package/dist/web-components/hero/index.d.ts +7 -0
- package/dist/web-components/hero/index.d.ts.map +1 -0
- package/dist/web-components/hero/logo.d.ts +4 -0
- package/dist/web-components/hero/logo.d.ts.map +1 -0
- package/dist/web-components/hero/minimal.d.ts +4 -0
- package/dist/web-components/hero/minimal.d.ts.map +1 -0
- package/dist/web-components/index.d.ts +41 -0
- package/dist/web-components/index.d.ts.map +1 -0
- package/dist/web-components/layout/box-logo.d.ts +4 -0
- package/dist/web-components/layout/box-logo.d.ts.map +1 -0
- package/dist/web-components/layout/image-expand.d.ts +4 -0
- package/dist/web-components/layout/image-expand.d.ts.map +1 -0
- package/dist/web-components/layout/index.d.ts +8 -0
- package/dist/web-components/layout/index.d.ts.map +1 -0
- package/dist/web-components/layout/modal.d.ts +4 -0
- package/dist/web-components/layout/modal.d.ts.map +1 -0
- package/dist/web-components/layout/scroll-top.d.ts +4 -0
- package/dist/web-components/layout/scroll-top.d.ts.map +1 -0
- package/dist/web-components/layout/section-intro/common.d.ts.map +1 -0
- package/dist/web-components/layout/section-intro/small.d.ts +4 -0
- package/dist/web-components/layout/section-intro/small.d.ts.map +1 -0
- package/dist/web-components/layout/section-intro/wide.d.ts +4 -0
- package/dist/web-components/layout/section-intro/wide.d.ts.map +1 -0
- package/dist/web-components/layout/sticky-columns.d.ts +4 -0
- package/dist/web-components/layout/sticky-columns.d.ts.map +1 -0
- package/dist/web-components/media/gif.d.ts +4 -0
- package/dist/web-components/media/gif.d.ts.map +1 -0
- package/dist/web-components/media/index.d.ts +3 -0
- package/dist/web-components/media/index.d.ts.map +1 -0
- package/dist/web-components/media/inline/index.d.ts +3 -0
- package/dist/web-components/media/inline/index.d.ts.map +1 -0
- package/dist/web-components/navigation/breadcrumb.d.ts +3 -0
- package/dist/web-components/navigation/breadcrumb.d.ts.map +1 -0
- package/dist/web-components/navigation/common.d.ts.map +1 -0
- package/dist/{api → web-components}/navigation/drawer.d.ts +2 -2
- package/dist/web-components/navigation/drawer.d.ts.map +1 -0
- package/dist/{api → web-components}/navigation/header.d.ts +2 -2
- package/dist/web-components/navigation/header.d.ts.map +1 -0
- package/dist/web-components/navigation/index.d.ts +7 -0
- package/dist/web-components/navigation/index.d.ts.map +1 -0
- package/dist/{api → web-components}/navigation/item.d.ts +2 -2
- package/dist/web-components/navigation/item.d.ts.map +1 -0
- package/dist/{api → web-components}/navigation/slider.d.ts +2 -2
- package/dist/web-components/navigation/slider.d.ts.map +1 -0
- package/dist/web-components/navigation/sticky.d.ts +3 -0
- package/dist/web-components/navigation/sticky.d.ts.map +1 -0
- package/dist/web-components/pathway/highlight.d.ts +4 -0
- package/dist/web-components/pathway/highlight.d.ts.map +1 -0
- package/dist/web-components/pathway/image.d.ts +4 -0
- package/dist/web-components/pathway/image.d.ts.map +1 -0
- package/dist/web-components/pathway/index.d.ts +3 -0
- package/dist/web-components/pathway/index.d.ts.map +1 -0
- package/dist/web-components/person/bio.d.ts +4 -0
- package/dist/web-components/person/bio.d.ts.map +1 -0
- package/dist/{api → web-components}/person/common.d.ts +1 -1
- package/dist/web-components/person/common.d.ts.map +1 -0
- package/dist/web-components/person/display.d.ts +4 -0
- package/dist/web-components/person/display.d.ts.map +1 -0
- package/dist/web-components/person/hero.d.ts +4 -0
- package/dist/web-components/person/hero.d.ts.map +1 -0
- package/dist/web-components/person/index.d.ts +4 -0
- package/dist/web-components/person/index.d.ts.map +1 -0
- package/dist/web-components/quote/display.d.ts +4 -0
- package/dist/web-components/quote/display.d.ts.map +1 -0
- package/dist/web-components/quote/index.d.ts +2 -0
- package/dist/web-components/quote/index.d.ts.map +1 -0
- package/dist/web-components/slider/event/display.d.ts +4 -0
- package/dist/web-components/slider/event/display.d.ts.map +1 -0
- package/dist/web-components/slider/event/feed.d.ts +4 -0
- package/dist/web-components/slider/event/feed.d.ts.map +1 -0
- package/dist/web-components/slider/index.d.ts +3 -0
- package/dist/web-components/slider/index.d.ts.map +1 -0
- package/dist/web-components/social/index.d.ts +2 -0
- package/dist/web-components/social/index.d.ts.map +1 -0
- package/dist/web-components/social/sharing.d.ts +4 -0
- package/dist/web-components/social/sharing.d.ts.map +1 -0
- package/dist/web-components/stat/display.d.ts +4 -0
- package/dist/web-components/stat/display.d.ts.map +1 -0
- package/dist/web-components/stat/index.d.ts +2 -0
- package/dist/web-components/stat/index.d.ts.map +1 -0
- package/dist/web-components/tab/display.d.ts +4 -0
- package/dist/web-components/tab/display.d.ts.map +1 -0
- package/dist/web-components/tab/index.d.ts +2 -0
- package/dist/web-components/tab/index.d.ts.map +1 -0
- package/dist/web-components/text/event-lockup.d.ts +4 -0
- package/dist/web-components/text/event-lockup.d.ts.map +1 -0
- package/dist/web-components/text/index.d.ts +2 -0
- package/dist/web-components/text/index.d.ts.map +1 -0
- package/package.json +10 -17
- package/dist/api/_event.d.ts.map +0 -1
- package/dist/api/accordion/index.d.ts +0 -2
- package/dist/api/accordion/index.d.ts.map +0 -1
- package/dist/api/accordion/item.d.ts +0 -3
- package/dist/api/accordion/item.d.ts.map +0 -1
- package/dist/api/actions/display.d.ts +0 -4
- package/dist/api/actions/display.d.ts.map +0 -1
- package/dist/api/actions/index.d.ts +0 -2
- package/dist/api/actions/index.d.ts.map +0 -1
- package/dist/api/alert/_model.d.ts.map +0 -1
- package/dist/api/alert/index.d.ts +0 -4
- package/dist/api/alert/index.d.ts.map +0 -1
- package/dist/api/alert/page.d.ts +0 -4
- package/dist/api/alert/page.d.ts.map +0 -1
- package/dist/api/alert/promo.d.ts +0 -4
- package/dist/api/alert/promo.d.ts.map +0 -1
- package/dist/api/alert/site.d.ts +0 -4
- package/dist/api/alert/site.d.ts.map +0 -1
- package/dist/api/brand/chevron-scroll.d.ts +0 -4
- package/dist/api/brand/chevron-scroll.d.ts.map +0 -1
- package/dist/api/brand/index.d.ts +0 -3
- package/dist/api/brand/index.d.ts.map +0 -1
- package/dist/api/brand/stack.d.ts +0 -4
- package/dist/api/brand/stack.d.ts.map +0 -1
- package/dist/api/card/_model.d.ts.map +0 -1
- package/dist/api/card/article.d.ts +0 -4
- package/dist/api/card/article.d.ts.map +0 -1
- package/dist/api/card/event.d.ts +0 -4
- package/dist/api/card/event.d.ts.map +0 -1
- package/dist/api/card/icon.d.ts +0 -4
- package/dist/api/card/icon.d.ts.map +0 -1
- package/dist/api/card/index.d.ts +0 -7
- package/dist/api/card/index.d.ts.map +0 -1
- package/dist/api/card/overlay.d.ts +0 -4
- package/dist/api/card/overlay.d.ts.map +0 -1
- package/dist/api/card/standard.d.ts +0 -3
- package/dist/api/card/standard.d.ts.map +0 -1
- package/dist/api/card/video.d.ts +0 -4
- package/dist/api/card/video.d.ts.map +0 -1
- package/dist/api/carousel/base.d.ts +0 -4
- package/dist/api/carousel/base.d.ts.map +0 -1
- package/dist/api/carousel/cards.d.ts +0 -4
- package/dist/api/carousel/cards.d.ts.map +0 -1
- package/dist/api/carousel/image/multiple.d.ts +0 -4
- package/dist/api/carousel/image/multiple.d.ts.map +0 -1
- package/dist/api/carousel/image/single.d.ts +0 -4
- package/dist/api/carousel/image/single.d.ts.map +0 -1
- package/dist/api/carousel/index.d.ts +0 -7
- package/dist/api/carousel/index.d.ts.map +0 -1
- package/dist/api/carousel/thumbnail.d.ts +0 -4
- package/dist/api/carousel/thumbnail.d.ts.map +0 -1
- package/dist/api/carousel/wide.d.ts +0 -4
- package/dist/api/carousel/wide.d.ts.map +0 -1
- package/dist/api/feed/_types.d.ts.map +0 -1
- package/dist/api/feed/alert/index.d.ts +0 -3
- package/dist/api/feed/alert/index.d.ts.map +0 -1
- package/dist/api/feed/events/common.d.ts.map +0 -1
- package/dist/api/feed/events/grid.d.ts +0 -4
- package/dist/api/feed/events/grid.d.ts.map +0 -1
- package/dist/api/feed/events/grouped.d.ts +0 -4
- package/dist/api/feed/events/grouped.d.ts.map +0 -1
- package/dist/api/feed/events/list.d.ts +0 -4
- package/dist/api/feed/events/list.d.ts.map +0 -1
- package/dist/api/feed/index.d.ts +0 -7
- package/dist/api/feed/index.d.ts.map +0 -1
- package/dist/api/feed/news/common.d.ts.map +0 -1
- package/dist/api/feed/news/featured.d.ts +0 -4
- package/dist/api/feed/news/featured.d.ts.map +0 -1
- package/dist/api/feed/news/grid.d.ts +0 -4
- package/dist/api/feed/news/grid.d.ts.map +0 -1
- package/dist/api/feed/news/list.d.ts +0 -4
- package/dist/api/feed/news/list.d.ts.map +0 -1
- package/dist/api/footer/index.d.ts +0 -2
- package/dist/api/footer/index.d.ts.map +0 -1
- package/dist/api/footer/options.d.ts.map +0 -1
- package/dist/api/hero/base.d.ts +0 -4
- package/dist/api/hero/base.d.ts.map +0 -1
- package/dist/api/hero/custom/expand.d.ts +0 -4
- package/dist/api/hero/custom/expand.d.ts.map +0 -1
- package/dist/api/hero/custom/grid.d.ts +0 -4
- package/dist/api/hero/custom/grid.d.ts.map +0 -1
- package/dist/api/hero/custom/video.d.ts +0 -4
- package/dist/api/hero/custom/video.d.ts.map +0 -1
- package/dist/api/hero/index.d.ts +0 -7
- package/dist/api/hero/index.d.ts.map +0 -1
- package/dist/api/hero/logo.d.ts +0 -4
- package/dist/api/hero/logo.d.ts.map +0 -1
- package/dist/api/hero/minimal.d.ts +0 -4
- package/dist/api/hero/minimal.d.ts.map +0 -1
- package/dist/api/index.d.ts +0 -161
- package/dist/api/index.d.ts.map +0 -1
- package/dist/api/layout/box-logo.d.ts +0 -4
- package/dist/api/layout/box-logo.d.ts.map +0 -1
- package/dist/api/layout/image-expand.d.ts +0 -4
- package/dist/api/layout/image-expand.d.ts.map +0 -1
- package/dist/api/layout/index.d.ts +0 -8
- package/dist/api/layout/index.d.ts.map +0 -1
- package/dist/api/layout/modal.d.ts +0 -3
- package/dist/api/layout/modal.d.ts.map +0 -1
- package/dist/api/layout/scroll-top.d.ts +0 -3
- package/dist/api/layout/scroll-top.d.ts.map +0 -1
- package/dist/api/layout/section-intro/common.d.ts.map +0 -1
- package/dist/api/layout/section-intro/small.d.ts +0 -4
- package/dist/api/layout/section-intro/small.d.ts.map +0 -1
- package/dist/api/layout/section-intro/wide.d.ts +0 -4
- package/dist/api/layout/section-intro/wide.d.ts.map +0 -1
- package/dist/api/layout/sticky-columns.d.ts +0 -4
- package/dist/api/layout/sticky-columns.d.ts.map +0 -1
- package/dist/api/media/gif.d.ts +0 -3
- package/dist/api/media/gif.d.ts.map +0 -1
- package/dist/api/media/index.d.ts +0 -3
- package/dist/api/media/index.d.ts.map +0 -1
- package/dist/api/media/inline/index.d.ts +0 -3
- package/dist/api/media/inline/index.d.ts.map +0 -1
- package/dist/api/navigation/breadcrumb.d.ts +0 -3
- package/dist/api/navigation/breadcrumb.d.ts.map +0 -1
- package/dist/api/navigation/common.d.ts.map +0 -1
- package/dist/api/navigation/drawer.d.ts.map +0 -1
- package/dist/api/navigation/header.d.ts.map +0 -1
- package/dist/api/navigation/index.d.ts +0 -7
- package/dist/api/navigation/index.d.ts.map +0 -1
- package/dist/api/navigation/item.d.ts.map +0 -1
- package/dist/api/navigation/slider.d.ts.map +0 -1
- package/dist/api/navigation/sticky.d.ts +0 -3
- package/dist/api/navigation/sticky.d.ts.map +0 -1
- package/dist/api/pathway/highlight.d.ts +0 -3
- package/dist/api/pathway/highlight.d.ts.map +0 -1
- package/dist/api/pathway/image.d.ts +0 -3
- package/dist/api/pathway/image.d.ts.map +0 -1
- package/dist/api/pathway/index.d.ts +0 -3
- package/dist/api/pathway/index.d.ts.map +0 -1
- package/dist/api/person/bio.d.ts +0 -4
- package/dist/api/person/bio.d.ts.map +0 -1
- package/dist/api/person/common.d.ts.map +0 -1
- package/dist/api/person/display.d.ts +0 -4
- package/dist/api/person/display.d.ts.map +0 -1
- package/dist/api/person/hero.d.ts +0 -4
- package/dist/api/person/hero.d.ts.map +0 -1
- package/dist/api/person/index.d.ts +0 -4
- package/dist/api/person/index.d.ts.map +0 -1
- package/dist/api/quote/display.d.ts +0 -4
- package/dist/api/quote/display.d.ts.map +0 -1
- package/dist/api/quote/index.d.ts +0 -2
- package/dist/api/quote/index.d.ts.map +0 -1
- package/dist/api/slider/event/display.d.ts +0 -4
- package/dist/api/slider/event/display.d.ts.map +0 -1
- package/dist/api/slider/event/feed.d.ts +0 -4
- package/dist/api/slider/event/feed.d.ts.map +0 -1
- package/dist/api/slider/index.d.ts +0 -3
- package/dist/api/slider/index.d.ts.map +0 -1
- package/dist/api/social/index.d.ts +0 -2
- package/dist/api/social/index.d.ts.map +0 -1
- package/dist/api/social/sharing.d.ts +0 -4
- package/dist/api/social/sharing.d.ts.map +0 -1
- package/dist/api/stat/display.d.ts +0 -4
- package/dist/api/stat/display.d.ts.map +0 -1
- package/dist/api/stat/index.d.ts +0 -2
- package/dist/api/stat/index.d.ts.map +0 -1
- package/dist/api/tab/display.d.ts +0 -4
- package/dist/api/tab/display.d.ts.map +0 -1
- package/dist/api/tab/index.d.ts +0 -2
- package/dist/api/tab/index.d.ts.map +0 -1
- package/dist/api/text/event-lockup.d.ts +0 -4
- package/dist/api/text/event-lockup.d.ts.map +0 -1
- package/dist/api/text/index.d.ts +0 -2
- package/dist/api/text/index.d.ts.map +0 -1
- package/dist/chevron-scroll-sN9hWLoU.js.map +0 -1
- package/dist/display-BCuspULn.js +0 -37
- package/dist/display-BCuspULn.js.map +0 -1
- package/dist/display-BURSSsTh.js +0 -62
- package/dist/display-BURSSsTh.js.map +0 -1
- package/dist/display-CLcyGpEO.js.map +0 -1
- package/dist/display-Dt1OomBK.js.map +0 -1
- package/dist/event-lockup-DYOdwoC5.js +0 -41
- package/dist/event-lockup-DYOdwoC5.js.map +0 -1
- package/dist/feed-DbSsTiki.js +0 -51
- package/dist/feed-DbSsTiki.js.map +0 -1
- package/dist/gif-Bv0nF1ip.js +0 -49
- package/dist/gif-Bv0nF1ip.js.map +0 -1
- package/dist/hero-CJSHG7uN.js.map +0 -1
- package/dist/highlight-BAbE0FOj.js.map +0 -1
- package/dist/item-CmgWZBOy.js +0 -35
- package/dist/item-CmgWZBOy.js.map +0 -1
- package/dist/list--1BnmUBS.js +0 -153
- package/dist/list--1BnmUBS.js.map +0 -1
- package/dist/loader-DMOMf4KN.js +0 -235
- package/dist/loader-DMOMf4KN.js.map +0 -1
- package/dist/minimal-lg-8HdqL.js.map +0 -1
- package/dist/options-CK6woa0h.js +0 -61
- package/dist/options-CK6woa0h.js.map +0 -1
- package/dist/sharing-BdbhS9ui.js +0 -20
- package/dist/sharing-BdbhS9ui.js.map +0 -1
- package/dist/site-BhZ-sVOW.js +0 -59
- package/dist/site-BhZ-sVOW.js.map +0 -1
- package/dist/sticky-CU-Yvr4D.js.map +0 -1
- package/dist/sticky-columns-CRvJYWgm.js.map +0 -1
- package/dist/video-C2XikZ0X.js.map +0 -1
- package/dist/wide-B08z0PJj.js +0 -220
- package/dist/wide-B08z0PJj.js.map +0 -1
- /package/dist/{api → web-components}/_event.d.ts +0 -0
- /package/dist/{api → web-components}/_types.d.ts +0 -0
- /package/dist/{api → web-components}/alert/_model.d.ts +0 -0
- /package/dist/{api → web-components}/feed/_types.d.ts +0 -0
- /package/dist/{api → web-components}/feed/events/common.d.ts +0 -0
- /package/dist/{api → web-components}/feed/news/common.d.ts +0 -0
- /package/dist/{api → web-components}/layout/section-intro/common.d.ts +0 -0
- /package/dist/{api → web-components}/navigation/common.d.ts +0 -0
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { ComponentMap } from './loader';
|
|
2
|
+
import * as actions from '../web-components/actions';
|
|
3
|
+
import * as hero from '../web-components/hero';
|
|
4
|
+
import * as pathway from '../web-components/pathway';
|
|
5
|
+
import * as navigation from '../web-components/navigation';
|
|
2
6
|
export declare const structuralComponents: ComponentMap;
|
|
3
7
|
export declare const LoadStructuralComponents: () => void;
|
|
4
|
-
export
|
|
8
|
+
export { actions, hero, pathway, navigation };
|
|
5
9
|
//# sourceMappingURL=structural.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"structural.d.ts","sourceRoot":"","sources":["../../source/exports/structural.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"structural.d.ts","sourceRoot":"","sources":["../../source/exports/structural.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,OAAO,MAAM,2BAA2B,CAAC;AACrD,OAAO,KAAK,IAAI,MAAM,wBAAwB,CAAC;AAC/C,OAAO,KAAK,OAAO,MAAM,2BAA2B,CAAC;AACrD,OAAO,KAAK,UAAU,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAsB,YAAY,EAAE,MAAM,UAAU,CAAC;AAE5D,eAAO,MAAM,oBAAoB,EAAE,YAKlC,CAAC;AAEF,eAAO,MAAM,wBAAwB,YAEpC,CAAC;AAEF,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
package/dist/feed.d.ts
CHANGED
package/dist/feed.js
CHANGED
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { c as o } from "./index-CwiTV8_N.js";
|
|
2
|
+
import { j as e } from "./index-iRIPq52d.js";
|
|
3
|
+
import { s } from "./index-BrpAs-2C.js";
|
|
4
|
+
import { l as m } from "./loader-BppZi79o.js";
|
|
5
|
+
const r = {
|
|
6
|
+
alert: o,
|
|
7
|
+
feed: e,
|
|
8
|
+
slider: s
|
|
6
9
|
}, d = () => {
|
|
7
|
-
|
|
10
|
+
m(r);
|
|
8
11
|
};
|
|
9
|
-
var l = d;
|
|
10
12
|
export {
|
|
11
13
|
d as LoadFeedComponents,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
+
o as alert,
|
|
15
|
+
e as feed,
|
|
16
|
+
r as feedComponents,
|
|
17
|
+
s as slider
|
|
14
18
|
};
|
|
15
19
|
//# sourceMappingURL=feed.js.map
|
package/dist/feed.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feed.js","sources":["../source/exports/feed.ts"],"sourcesContent":["/**\n * Feed Components Bundle\n *\n * Components for displaying dynamic content feeds and data-driven displays.\n * These components typically load content from external sources or display collections.\n */\n\nimport
|
|
1
|
+
{"version":3,"file":"feed.js","sources":["../source/exports/feed.ts"],"sourcesContent":["/**\n * Feed Components Bundle\n *\n * Components for displaying dynamic content feeds and data-driven displays.\n * These components typically load content from external sources or display collections.\n */\n\nimport * as alert from '../web-components/alert';\nimport * as feed from '../web-components/feed';\nimport * as slider from '../web-components/slider';\nimport { loadComponentClass, ComponentMap } from './loader';\n\nexport const feedComponents: ComponentMap = {\n alert,\n feed,\n slider,\n};\n\nexport const LoadFeedComponents = () => {\n loadComponentClass(feedComponents);\n};\n\nexport { alert, feed, slider };\n"],"names":["feedComponents","alert","feed","slider","LoadFeedComponents","loadComponentClass"],"mappings":";;;;AAYO,MAAMA,IAA+B;AAAA,EAC1C,OAAAC;AAAA,EACA,MAAAC;AAAA,EACA,QAAAC;AACF,GAEaC,IAAqB,MAAM;AACtC,EAAAC,EAAmBL,CAAc;AACnC;"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { pathway as r } from "@universityofmaryland/web-elements-library/composite";
|
|
2
2
|
import { toElementVisual as e } from "@universityofmaryland/web-utilities-library/adapters";
|
|
3
|
-
import { Register as
|
|
4
|
-
import { e as
|
|
5
|
-
import { createStyledSlotOrClone as
|
|
6
|
-
const
|
|
7
|
-
const
|
|
3
|
+
import { Register as p, Lifecycle as D, Attributes as i, Slots as t } from "@universityofmaryland/web-model-library";
|
|
4
|
+
import { e as T } from "./_event-Duz7QGRD.js";
|
|
5
|
+
import { createStyledSlotOrClone as f } from "@universityofmaryland/web-utilities-library/elements";
|
|
6
|
+
const x = "umd-element-pathway", m = (a) => {
|
|
7
|
+
const n = a.getAttribute("image-scaled"), u = i.isLayout.imageScaled({ element: a });
|
|
8
8
|
let o = !0;
|
|
9
|
-
|
|
9
|
+
u !== null && (o = u), n && (o = n === "true");
|
|
10
10
|
const d = i.isLayout.imagePositionLeft({
|
|
11
11
|
element: a
|
|
12
|
-
}),
|
|
12
|
+
}), h = i.isTheme.dark({ element: a }), v = i.isTheme.light({ element: a }), g = i.isTheme.maryland({ element: a }), w = i.isDisplay.hero({ element: a }), b = i.isDisplay.overlay({ element: a }), S = i.isDisplay.sticky({ element: a }), c = i.includesFeature.animation({ element: a }), s = T(a, {
|
|
13
13
|
isLargeSize: !0,
|
|
14
14
|
isDateSignDark: !1
|
|
15
15
|
});
|
|
16
|
-
return
|
|
16
|
+
return w ? r.hero({
|
|
17
17
|
actions: t.actions.default({ element: a }),
|
|
18
18
|
eyebrow: t.eyebrow.default({ element: a }),
|
|
19
19
|
headline: t.headline.default({ element: a }),
|
|
@@ -22,7 +22,7 @@ const b = "umd-element-pathway", x = (a) => {
|
|
|
22
22
|
isImagePositionLeft: d,
|
|
23
23
|
text: t.text.default({ element: a }),
|
|
24
24
|
video: t.assets.video({ element: a })
|
|
25
|
-
}) :
|
|
25
|
+
}) : b ? r.overlay({
|
|
26
26
|
actions: t.actions.default({ element: a }),
|
|
27
27
|
dateSign: e(s?.dateSign),
|
|
28
28
|
eventDetails: e(s?.eventMeta),
|
|
@@ -32,13 +32,13 @@ const b = "umd-element-pathway", x = (a) => {
|
|
|
32
32
|
includesAnimation: c,
|
|
33
33
|
isImagePositionLeft: d,
|
|
34
34
|
isImageScaled: o,
|
|
35
|
-
isThemeDark:
|
|
36
|
-
isThemeLight:
|
|
37
|
-
isThemeMaryland:
|
|
35
|
+
isThemeDark: h,
|
|
36
|
+
isThemeLight: v,
|
|
37
|
+
isThemeMaryland: g,
|
|
38
38
|
stats: t.text.stats({ element: a }),
|
|
39
39
|
text: t.text.default({ element: a }),
|
|
40
40
|
video: t.assets.video({ element: a })
|
|
41
|
-
}) :
|
|
41
|
+
}) : S ? r.sticky({
|
|
42
42
|
actions: t.actions.default({ element: a }),
|
|
43
43
|
dateSign: e(s?.dateSign),
|
|
44
44
|
eventDetails: e(s?.eventMeta),
|
|
@@ -61,39 +61,43 @@ const b = "umd-element-pathway", x = (a) => {
|
|
|
61
61
|
includesAnimation: c,
|
|
62
62
|
isImagePositionLeft: d,
|
|
63
63
|
isImageScaled: o,
|
|
64
|
-
isThemeDark:
|
|
65
|
-
isThemeMaryland:
|
|
64
|
+
isThemeDark: h,
|
|
65
|
+
isThemeMaryland: g,
|
|
66
66
|
stats: t.text.stats({ element: a }),
|
|
67
67
|
text: t.text.default({ element: a }),
|
|
68
68
|
video: t.assets.video({ element: a })
|
|
69
69
|
});
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
createComponent: x,
|
|
70
|
+
}, y = p.webComponent({
|
|
71
|
+
tagName: x,
|
|
72
|
+
createComponent: m,
|
|
74
73
|
afterConnect: D.hooks.loadAnimation
|
|
75
|
-
})
|
|
76
|
-
const T = "umd-element-pathway-highlight", k = (a) => r.highlight({
|
|
74
|
+
}), k = "umd-element-pathway-highlight", I = (a) => r.highlight({
|
|
77
75
|
actions: t.actions.default({ element: a }),
|
|
78
76
|
eyebrow: t.eyebrow.default({ element: a }),
|
|
79
77
|
headline: t.headline.default({ element: a }),
|
|
80
78
|
text: t.text.default({ element: a }),
|
|
81
|
-
quote:
|
|
79
|
+
quote: f({
|
|
82
80
|
element: a,
|
|
83
81
|
slotRef: t.name.HIGHLIGHT
|
|
84
82
|
}),
|
|
85
|
-
attribution:
|
|
83
|
+
attribution: f({
|
|
86
84
|
element: a,
|
|
87
85
|
slotRef: t.name.HIGHLIGHT_ATTRIBUTION
|
|
88
86
|
}),
|
|
89
87
|
isThemeDark: i.isTheme.dark({ element: a })
|
|
90
|
-
})
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
88
|
+
}), l = p.webComponent({
|
|
89
|
+
tagName: k,
|
|
90
|
+
createComponent: I
|
|
91
|
+
}), M = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
92
|
+
__proto__: null,
|
|
93
|
+
PathwayHighlight: l,
|
|
94
|
+
PathwayImage: y,
|
|
95
|
+
highlight: l,
|
|
96
|
+
image: y
|
|
97
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
95
98
|
export {
|
|
96
|
-
|
|
97
|
-
|
|
99
|
+
l as P,
|
|
100
|
+
y as a,
|
|
101
|
+
M as p
|
|
98
102
|
};
|
|
99
|
-
//# sourceMappingURL=
|
|
103
|
+
//# sourceMappingURL=index--j6GLFih.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index--j6GLFih.js","sources":["../source/web-components/pathway/image.ts","../source/web-components/pathway/highlight.ts"],"sourcesContent":["import { pathway } from '@universityofmaryland/web-elements-library/composite';\nimport { toElementVisual } from '@universityofmaryland/web-utilities-library/adapters';\nimport { Attributes, Slots, Register, Lifecycle } from '@universityofmaryland/web-model-library';\nimport { extractEventData } from '../_event';\nimport type { CreateComponentFunction, ComponentRegistration } from '../../_types';\n\nconst tagName = 'umd-element-pathway';\n\nconst createComponent: CreateComponentFunction = (element) => {\n const isImageScaledDeprecated = element.getAttribute('image-scaled');\n const isImageScaledNew = Attributes.isLayout.imageScaled({ element });\n\n let isImageScaled = true;\n\n if (isImageScaledNew !== null) {\n isImageScaled = isImageScaledNew;\n }\n\n if (isImageScaledDeprecated) {\n isImageScaled = isImageScaledDeprecated === 'true' ? true : false;\n }\n\n const isImagePositionLeft = Attributes.isLayout.imagePositionLeft({\n element,\n });\n const isThemeDark = Attributes.isTheme.dark({ element });\n const isThemeLight = Attributes.isTheme.light({ element });\n const isThemeMaryland = Attributes.isTheme.maryland({ element });\n const isDisplayHero = Attributes.isDisplay.hero({ element });\n const isDisplayOverlay = Attributes.isDisplay.overlay({ element });\n const isDisplaySticky = Attributes.isDisplay.sticky({ element });\n const includesAnimation = Attributes.includesFeature.animation({ element });\n\n const featureEvents = extractEventData(element, {\n isLargeSize: true,\n isDateSignDark: false,\n });\n\n if (isDisplayHero) {\n return pathway.hero({\n actions: Slots.actions.default({ element }),\n eyebrow: Slots.eyebrow.default({ element }),\n headline: Slots.headline.default({ element }),\n image: Slots.assets.image({ element }) as HTMLImageElement,\n includesAnimation,\n isImagePositionLeft,\n text: Slots.text.default({ element }),\n video: Slots.assets.video({ element }) as HTMLVideoElement,\n });\n }\n\n if (isDisplayOverlay) {\n return pathway.overlay({\n actions: Slots.actions.default({ element }),\n dateSign: toElementVisual(featureEvents?.dateSign),\n eventDetails: toElementVisual(featureEvents?.eventMeta),\n eyebrow: Slots.eyebrow.default({ element }),\n headline: Slots.headline.default({ element }),\n image: Slots.assets.image({ element }) as HTMLImageElement,\n includesAnimation,\n isImagePositionLeft,\n isImageScaled,\n isThemeDark,\n isThemeLight,\n isThemeMaryland,\n stats: Slots.text.stats({ element }),\n text: Slots.text.default({ element }),\n video: Slots.assets.video({ element }) as HTMLVideoElement,\n });\n }\n\n if (isDisplaySticky) {\n return pathway.sticky({\n actions: Slots.actions.default({ element }),\n dateSign: toElementVisual(featureEvents?.dateSign),\n eventDetails: toElementVisual(featureEvents?.eventMeta),\n eyebrow: Slots.eyebrow.default({ element }),\n headline: Slots.headline.default({ element }),\n image: Slots.assets.image({ element }) as HTMLImageElement,\n isImagePositionLeft,\n isImageScaled,\n isThemeDark: Attributes.isTheme.dark({ element }),\n stats: Slots.text.stats({ element }),\n text: Slots.text.default({ element }),\n video: Slots.assets.video({ element }) as HTMLVideoElement,\n });\n }\n\n return pathway.standard({\n actions: Slots.actions.default({ element }),\n dateSign: toElementVisual(featureEvents?.dateSign),\n eventDetails: toElementVisual(featureEvents?.eventMeta),\n eyebrow: Slots.eyebrow.default({ element }),\n headline: Slots.headline.default({ element }),\n image: Slots.assets.image({ element }) as HTMLImageElement,\n includesAnimation,\n isImagePositionLeft,\n isImageScaled,\n isThemeDark,\n isThemeMaryland,\n stats: Slots.text.stats({ element }),\n text: Slots.text.default({ element }),\n video: Slots.assets.video({ element }) as HTMLVideoElement,\n });\n};\n\n/**\n * Pathway\n *\n * A versatile component for creating visual pathways that guide users to take action.\n * Supports multiple display types including standard, hero, overlay, and sticky layouts.\n * Can include images, videos, event information, statistics, and rich text content.\n *\n * ## Custom Element\n * `<umd-element-pathway>`\n *\n * ## Slots\n * - `eyebrow` - Small text above headline (optional, accepts: text elements)\n * - `headline` - Main heading (optional, accepts: heading elements)\n * - `text` - Descriptive body text (optional, accepts: text elements)\n * - `actions` - Call-to-action links or buttons (optional, accepts: a, button)\n * - `image` - Featured image (optional, accepts: img)\n * - `video` - Video content (optional, accepts: video, iframe)\n * - `stats` - Statistical information or metrics (optional, accepts: any elements)\n * - `date-start-iso` - Event start date in ISO format (optional, accepts: time)\n * - `date-end-iso` - Event end date in ISO format (optional, accepts: time)\n * - `location` - Event location information (optional, accepts: text elements)\n *\n * ## Attributes\n * - `data-display` - Display variant (deprecated, use specific pathway components):\n * - `hero` - Large hero display\n * - `overlay` - Text overlaid on image\n * - `sticky` - Sticky positioned elements\n * - Default - Standard layout\n * - `data-theme` - Color theme options:\n * - `dark` - Dark background with light text\n * - `light` - Light background with dark text\n * - `maryland` - University brand colors\n * - `data-animation` - Enable scroll-triggered animations:\n * - `true` - Enables entrance animations\n * - `data-layout-image-position` - Image placement:\n * - `left` - Image on the left side\n * - Default - Image on the right side\n * - `data-layout-image-scaled` - Image scaling behavior:\n * - `false` - Disable image scaling\n * - Default - Enable responsive scaling\n * - `data-visual-time` - Show time in event details:\n * - `false` - Hide time display\n * - Default - Show time if available\n *\n * @example\n * ```html\n * <!-- Basic pathway -->\n * <umd-element-pathway>\n * <span slot=\"eyebrow\">Discover</span>\n * <h2 slot=\"headline\">Your Path to Success</h2>\n * <p slot=\"text\">Explore programs designed to help you achieve your goals.</p>\n * <img slot=\"image\" src=\"pathway.jpg\" alt=\"Student success\" />\n * <a slot=\"actions\" href=\"/programs\">Explore Programs</a>\n * </umd-element-pathway>\n * ```\n *\n * @example\n * ```html\n * <!-- Event pathway with details -->\n * <umd-element-pathway data-theme=\"maryland\" data-visual-time=\"true\">\n * <h2 slot=\"headline\">Open House</h2>\n * <p slot=\"text\">Visit campus and discover what makes UMD special.</p>\n * <time slot=\"date-start-iso\" datetime=\"2024-04-15T10:00:00\">April 15, 2024 10:00 AM</time>\n * <time slot=\"date-end-iso\" datetime=\"2024-04-15T16:00:00\">April 15, 2024 4:00 PM</time>\n * <span slot=\"location\">McKeldin Mall</span>\n * <img slot=\"image\" src=\"open-house.jpg\" alt=\"Campus open house\" />\n * <a slot=\"actions\" href=\"/register\">Register Now</a>\n * </umd-element-pathway>\n * ```\n *\n * @example\n * ```html\n * <!-- Hero pathway with video and stats -->\n * <umd-element-pathway data-display=\"hero\" data-theme=\"dark\" data-animation=\"true\">\n * <span slot=\"eyebrow\">Research Excellence</span>\n * <h1 slot=\"headline\">Pushing Boundaries</h1>\n * <p slot=\"text\">Our researchers are tackling the world's biggest challenges.</p>\n * <iframe slot=\"video\" src=\"https://youtube.com/embed/...\" title=\"Research video\"></iframe>\n * <div slot=\"stats\">\n * <div class=\"stat\">\n * <span class=\"number\">$500M</span>\n * <span class=\"label\">Research Funding</span>\n * </div>\n * <div class=\"stat\">\n * <span class=\"number\">2,000+</span>\n * <span class=\"label\">Active Projects</span>\n * </div>\n * </div>\n * <div slot=\"actions\">\n * <a href=\"/research\">Explore Research</a>\n * <a href=\"/partnerships\">Partner With Us</a>\n * </div>\n * </umd-element-pathway>\n * ```\n *\n * @category Components\n * @since 1.0.0\n */\nexport const PathwayImage: ComponentRegistration = Register.webComponent({\n tagName,\n createComponent,\n afterConnect: Lifecycle.hooks.loadAnimation,\n});\n\n/** Backwards compatibility alias for grouped exports */\nexport { PathwayImage as image };\n","import { pathway } from '@universityofmaryland/web-elements-library/composite';\nimport { createStyledSlotOrClone } from '@universityofmaryland/web-utilities-library/elements';\nimport { Attributes, Slots, Register } from '@universityofmaryland/web-model-library';\nimport type { CreateComponentFunction, ComponentRegistration } from '../../_types';\n\nconst tagName = 'umd-element-pathway-highlight';\n\nconst createComponent: CreateComponentFunction = (element) =>\n pathway.highlight({\n actions: Slots.actions.default({ element }),\n eyebrow: Slots.eyebrow.default({ element }),\n headline: Slots.headline.default({ element }),\n text: Slots.text.default({ element }),\n quote: createStyledSlotOrClone({\n element,\n slotRef: Slots.name.HIGHLIGHT,\n }),\n attribution: createStyledSlotOrClone({\n element,\n slotRef: Slots.name.HIGHLIGHT_ATTRIBUTION,\n }),\n isThemeDark: Attributes.isTheme.dark({ element }),\n });\n\n/**\n * Pathway Highlight\n *\n * A pathway component that emphasizes a featured quote or testimonial alongside\n * standard pathway content. Combines narrative elements with highlighted user voices\n * to create compelling calls-to-action.\n *\n * ## Custom Element\n * `<umd-element-pathway-highlight>`\n *\n * ## Slots\n * - `eyebrow` - Small text above headline (optional, accepts: text elements)\n * - `headline` - Main heading (optional, accepts: heading elements)\n * - `text` - Descriptive body text (optional, accepts: text elements)\n * - `actions` - Call-to-action links or buttons (optional, accepts: a, button)\n * - `highlight` - Featured quote or testimonial text (optional, accepts: text elements)\n * - `highlight-attribution` - Attribution for the quote (optional, accepts: text elements)\n *\n * ## Attributes\n * - `data-theme` - Color theme of the component:\n * - `dark` - Dark background with light text\n *\n * @example\n * ```html\n * <!-- Basic pathway with highlight -->\n * <umd-element-pathway-highlight>\n * <span slot=\"eyebrow\">Student Success</span>\n * <h2 slot=\"headline\">Transform Your Future</h2>\n * <p slot=\"text\">Join thousands of students who have found their path at UMD.</p>\n * <blockquote slot=\"highlight\">\n * \"The opportunities here changed my life. I found mentors, research\n * experiences, and a community that supported my dreams.\"\n * </blockquote>\n * <cite slot=\"highlight-attribution\">Sarah Chen, Class of 2023</cite>\n * <a slot=\"actions\" href=\"/apply\">Start Your Journey</a>\n * </umd-element-pathway-highlight>\n * ```\n *\n * @example\n * ```html\n * <!-- Dark theme with multiple actions -->\n * <umd-element-pathway-highlight data-theme=\"dark\">\n * <h2 slot=\"headline\">Alumni Impact</h2>\n * <p slot=\"text\">Our graduates go on to lead in every field imaginable.</p>\n * <p slot=\"highlight\">\n * \"My UMD education gave me the foundation to launch a company that's\n * now helping millions of people worldwide.\"\n * </p>\n * <span slot=\"highlight-attribution\">Dr. James Wilson, '08, CEO of TechCorp</span>\n * <div slot=\"actions\">\n * <a href=\"/alumni-stories\">Read More Stories</a>\n * <a href=\"/give\">Support Students</a>\n * </div>\n * </umd-element-pathway-highlight>\n * ```\n *\n * @category Components\n * @since 1.0.0\n */\nexport const PathwayHighlight: ComponentRegistration = Register.webComponent({\n tagName,\n createComponent,\n});\n\n/** Backwards compatibility alias for grouped exports */\nexport { PathwayHighlight as highlight };\n"],"names":["tagName","createComponent","element","isImageScaledDeprecated","isImageScaledNew","Attributes","isImageScaled","isImagePositionLeft","isThemeDark","isThemeLight","isThemeMaryland","isDisplayHero","isDisplayOverlay","isDisplaySticky","includesAnimation","featureEvents","extractEventData","pathway","Slots","toElementVisual","PathwayImage","Register","Lifecycle","createStyledSlotOrClone","PathwayHighlight"],"mappings":";;;;;AAMA,MAAMA,IAAU,uBAEVC,IAA2C,CAACC,MAAY;AAC5D,QAAMC,IAA0BD,EAAQ,aAAa,cAAc,GAC7DE,IAAmBC,EAAW,SAAS,YAAY,EAAE,SAAAH,GAAS;AAEpE,MAAII,IAAgB;AAEpB,EAAIF,MAAqB,SACvBE,IAAgBF,IAGdD,MACFG,IAAgBH,MAA4B;AAG9C,QAAMI,IAAsBF,EAAW,SAAS,kBAAkB;AAAA,IAChE,SAAAH;AAAA,EAAA,CACD,GACKM,IAAcH,EAAW,QAAQ,KAAK,EAAE,SAAAH,GAAS,GACjDO,IAAeJ,EAAW,QAAQ,MAAM,EAAE,SAAAH,GAAS,GACnDQ,IAAkBL,EAAW,QAAQ,SA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AAA,IACA,eAAAD;AAAA,IACA,aAAAE;AAAA,IACA,iBAAAE;AAAA,IACA,OAAOQ,EAAM,KAAK,MAAM,EAAE,SAAAhB,GAAS;AAAA,IACnC,MAAMgB,EAAM,KAAK,QAAQ,EAAE,SAAAhB,GAAS;AAAA,IACpC,OAAOgB,EAAM,OAAO,MAAM,EAAE,SAAAhB,GAAS;AAAA,EAAA,CACtC;AACH,GAoGakB,IAAsCC,EAAS,aAAa;AAAA,EAAA,SACvErB;AAAAA,EAAA,iBACAC;AAAAA,EACA,cAAcqB,EAAU,MAAM;AAChC,CAAC,GC3MKtB,IAAU,iCAEVC,IAA2C,CAACC,MAChDe,EAAQ,UAAU;AAAA,EAChB,SAASC,EAAM,QAAQ,QAAQ,EAAE,SAAAhB,GAAS;AAAA,EAC1C,SAASgB,EAAM,QAAQ,QAAQ,EAAE,SAAAhB,GAAS;AAAA,EAC1C,UAAUgB,EAAM,SAAS,QAAQ,EAAE,SAAAhB,GAAS;AAAA,EAC5C,MAAMgB,EAAM,KAAK,QAAQ,EAAE,SAAAhB,GAAS;AAAA,EACpC,OAAOqB,EAAwB;AAAA,IAC7B,SAAArB;AAAA,IACA,SAASgB,EAAM,KAAK;AAAA,EAAA,CACrB;AAAA,EACD,aAAaK,EAAwB;AAAA,IACnC,SAAArB;AAAA,IACA,SAASgB,EAAM,KAAK;AAAA,EAAA,CACrB;AAAA,EACD,aAAab,EAAW,QAAQ,KAAK,EAAE,SAAAH,GAAS;AAClD,CAAC,GA6DUsB,IAA0CH,EAAS,aAAa;AAAA,EAC3E,SAAArB;AAAA,EACA,iBAAAC;AACF,CAAC;;;;;;;"}
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import { carousel as c } from "@universityofmaryland/web-elements-library/composite";
|
|
2
|
+
import { createSlot as I } from "@universityofmaryland/web-utilities-library/elements";
|
|
3
|
+
import { Attributes as r, Register as u, Lifecycle as p, Slots as o } from "@universityofmaryland/web-model-library";
|
|
4
|
+
import { imageHasAlt as g } from "@universityofmaryland/web-utilities-library/accessibility";
|
|
5
|
+
const B = "umd-element-carousel", E = {
|
|
6
|
+
blocks: {
|
|
7
|
+
required: !0
|
|
8
|
+
}
|
|
9
|
+
}, D = r.handler.common.resize(
|
|
10
|
+
(e) => e.events?.resize()
|
|
11
|
+
), L = (e) => {
|
|
12
|
+
const l = e.shadowRoot, a = r.isTheme.dark({
|
|
13
|
+
element: e
|
|
14
|
+
}), s = e.getAttribute("left-button"), d = e.getAttribute("right-button"), i = e.getAttribute("mobile-hint"), n = e.getAttribute("hint"), t = e.getAttribute("tablet-size"), m = e.getAttribute("desktop-size"), b = e.getAttribute("tablet-count"), f = e.getAttribute("desktop-count"), h = e.getAttribute("max-count"), T = e.getAttribute("grid-gap-pixels"), C = e.querySelector(
|
|
15
|
+
`[slot="${o.name.BLOCKS}"]`
|
|
16
|
+
), x = Array.from(
|
|
17
|
+
C.querySelectorAll(":scope > *")
|
|
18
|
+
);
|
|
19
|
+
let S = !0, A = !0, $ = !0, k = !0;
|
|
20
|
+
s === "false" && (S = !1), d === "false" && (A = !1), i === "false" && ($ = !1), n === "false" && (k = !1), (() => {
|
|
21
|
+
const O = I(o.name.BLOCKS);
|
|
22
|
+
l.appendChild(O);
|
|
23
|
+
})();
|
|
24
|
+
const R = l.querySelector(
|
|
25
|
+
`[name="${o.name.BLOCKS}"]`
|
|
26
|
+
);
|
|
27
|
+
return c.macro({
|
|
28
|
+
slide: C,
|
|
29
|
+
shadowRef: R,
|
|
30
|
+
blocks: x,
|
|
31
|
+
isThemeDark: a,
|
|
32
|
+
hasLeftButton: S,
|
|
33
|
+
hasRightButton: A,
|
|
34
|
+
mobileHint: $,
|
|
35
|
+
hint: k,
|
|
36
|
+
tabletSize: t ? parseInt(t) : void 0,
|
|
37
|
+
desktopSize: m ? parseInt(m) : void 0,
|
|
38
|
+
tabletCount: b ? parseInt(b) : void 0,
|
|
39
|
+
desktopCount: f ? parseInt(f) : void 0,
|
|
40
|
+
maxCount: h ? parseInt(h) : void 0,
|
|
41
|
+
gridGap: T
|
|
42
|
+
});
|
|
43
|
+
}, w = u.webComponent({
|
|
44
|
+
tagName: B,
|
|
45
|
+
slots: E,
|
|
46
|
+
createComponent: L,
|
|
47
|
+
attributes: [D],
|
|
48
|
+
afterConnect: p.hooks.loadOnConnect
|
|
49
|
+
}), M = "umd-element-carousel-cards", H = {
|
|
50
|
+
cards: {
|
|
51
|
+
required: !0
|
|
52
|
+
},
|
|
53
|
+
headline: o.element.allowed.headline,
|
|
54
|
+
text: o.element.allowed.text,
|
|
55
|
+
actions: o.element.allowed.actions
|
|
56
|
+
}, G = r.handler.common.resize(
|
|
57
|
+
(e) => e.events?.resize()
|
|
58
|
+
), F = (e) => {
|
|
59
|
+
const l = e.shadowRoot, a = e.querySelector(
|
|
60
|
+
`[slot="${o.name.CARDS}"]`
|
|
61
|
+
), s = Array.from(
|
|
62
|
+
a.querySelectorAll(":scope > *")
|
|
63
|
+
);
|
|
64
|
+
(() => {
|
|
65
|
+
const n = I(o.name.CARDS);
|
|
66
|
+
l.appendChild(n);
|
|
67
|
+
})();
|
|
68
|
+
const i = l.querySelector(
|
|
69
|
+
`[name="${o.name.CARDS}"]`
|
|
70
|
+
);
|
|
71
|
+
return c.cards({
|
|
72
|
+
slide: a,
|
|
73
|
+
shadowRef: i,
|
|
74
|
+
cards: s,
|
|
75
|
+
headline: o.headline.default({ element: e }),
|
|
76
|
+
text: o.text.default({ element: e }),
|
|
77
|
+
actions: o.actions.default({ element: e })
|
|
78
|
+
});
|
|
79
|
+
}, y = u.webComponent({
|
|
80
|
+
tagName: M,
|
|
81
|
+
slots: H,
|
|
82
|
+
createComponent: F,
|
|
83
|
+
attributes: [G],
|
|
84
|
+
afterConnect: p.hooks.loadOnConnect
|
|
85
|
+
}), K = "umd-element-carousel-image", _ = {
|
|
86
|
+
images: {
|
|
87
|
+
required: !0,
|
|
88
|
+
allowedElements: ["img", "div"]
|
|
89
|
+
},
|
|
90
|
+
headlines: {
|
|
91
|
+
allowedElements: ["div"]
|
|
92
|
+
},
|
|
93
|
+
texts: {
|
|
94
|
+
allowedElements: ["div"]
|
|
95
|
+
}
|
|
96
|
+
}, j = r.handler.common.resize(
|
|
97
|
+
(e) => e.events?.SetEventReize()
|
|
98
|
+
), P = (e) => {
|
|
99
|
+
const l = Array.from(
|
|
100
|
+
e.querySelectorAll(`[slot="${o.name.IMAGES}"] > *`)
|
|
101
|
+
), a = Array.from(
|
|
102
|
+
e.querySelectorAll(`[slot="${o.name.HEADLINES}"] > *`)
|
|
103
|
+
), s = Array.from(
|
|
104
|
+
e.querySelectorAll(`[slot="${o.name.TEXTS}"] > *`)
|
|
105
|
+
), d = a.map(
|
|
106
|
+
(t) => t.cloneNode(!0)
|
|
107
|
+
), i = s.map(
|
|
108
|
+
(t) => t.cloneNode(!0)
|
|
109
|
+
), n = l.map((t) => t.nodeName === "IMG" && g(t) ? t.cloneNode(!0) : null).filter((t) => t !== null);
|
|
110
|
+
return c.image({
|
|
111
|
+
images: n,
|
|
112
|
+
headlines: d,
|
|
113
|
+
texts: i,
|
|
114
|
+
isThemeDark: r.isTheme.dark({ element: e }),
|
|
115
|
+
isFullScreenOption: r.includesFeature.fullScreenOption({
|
|
116
|
+
element: e
|
|
117
|
+
})
|
|
118
|
+
});
|
|
119
|
+
}, v = u.webComponent({
|
|
120
|
+
tagName: K,
|
|
121
|
+
slots: _,
|
|
122
|
+
createComponent: P,
|
|
123
|
+
attributes: [j]
|
|
124
|
+
}), W = "umd-element-carousel-multiple-image", X = {
|
|
125
|
+
images: {
|
|
126
|
+
required: !0,
|
|
127
|
+
allowedElements: ["div", "img"]
|
|
128
|
+
}
|
|
129
|
+
}, J = r.handler.common.resize(
|
|
130
|
+
(e) => e.events?.SetEventReize()
|
|
131
|
+
), Q = (e) => {
|
|
132
|
+
const a = Array.from(
|
|
133
|
+
e.querySelectorAll(`[slot="${o.name.IMAGES}"] > *`)
|
|
134
|
+
).map((s) => s.nodeName === "IMG" && g(s) ? s.cloneNode(!0) : null).filter((s) => s !== null);
|
|
135
|
+
return c.images({
|
|
136
|
+
images: a,
|
|
137
|
+
isThemeDark: r.isTheme.dark({ element: e }),
|
|
138
|
+
isFullScreenOption: r.includesFeature.fullScreenOption({
|
|
139
|
+
element: e
|
|
140
|
+
})
|
|
141
|
+
});
|
|
142
|
+
}, N = u.webComponent({
|
|
143
|
+
tagName: W,
|
|
144
|
+
slots: X,
|
|
145
|
+
createComponent: Q,
|
|
146
|
+
attributes: [J]
|
|
147
|
+
}), U = "umd-element-carousel-thumbnail", V = {
|
|
148
|
+
blocks: {
|
|
149
|
+
required: !0
|
|
150
|
+
}
|
|
151
|
+
}, Y = r.handler.common.resize(
|
|
152
|
+
(e) => e.events?.resize()
|
|
153
|
+
), Z = (e) => {
|
|
154
|
+
const a = Array.from(
|
|
155
|
+
e.querySelectorAll(`[slot="${o.name.BLOCKS}"] > *`)
|
|
156
|
+
).map(
|
|
157
|
+
(s) => s.cloneNode(!0)
|
|
158
|
+
);
|
|
159
|
+
return c.thumbnail({
|
|
160
|
+
blocks: a,
|
|
161
|
+
isThemeDark: r.isTheme.dark({ element: e })
|
|
162
|
+
});
|
|
163
|
+
}, q = u.webComponent({
|
|
164
|
+
tagName: U,
|
|
165
|
+
slots: V,
|
|
166
|
+
createComponent: Z,
|
|
167
|
+
attributes: [Y],
|
|
168
|
+
afterConnect: p.hooks.loadOnConnect
|
|
169
|
+
}), ee = "umd-element-carousel-image-wide", te = {
|
|
170
|
+
slides: {
|
|
171
|
+
required: !0,
|
|
172
|
+
allowedElements: ["figure", "div"]
|
|
173
|
+
}
|
|
174
|
+
}, oe = r.handler.common.resize(
|
|
175
|
+
(e) => e.events?.resize()
|
|
176
|
+
), se = (e) => {
|
|
177
|
+
const l = e.getAttribute("title"), a = e.getAttribute("animation-time"), s = e.getAttribute("mobile-breakpoint"), i = Array.from(
|
|
178
|
+
e.querySelectorAll('[slot="slides"] > *')
|
|
179
|
+
).map((n) => {
|
|
180
|
+
const t = n.querySelector("img"), m = n.querySelector("[data-headline]"), b = n.querySelector("[data-text]");
|
|
181
|
+
return t && !g(t) ? (console.warn("Carousel slide image missing alt text:", t), null) : {
|
|
182
|
+
image: t ? t.cloneNode(!0) : null,
|
|
183
|
+
headline: m ? m.cloneNode(!0) : void 0,
|
|
184
|
+
text: b ? b.cloneNode(!0) : void 0
|
|
185
|
+
};
|
|
186
|
+
}).filter((n) => n && n.image);
|
|
187
|
+
return c.wide({
|
|
188
|
+
slides: i,
|
|
189
|
+
title: l || void 0,
|
|
190
|
+
isThemeDark: r.isTheme.dark({ element: e }),
|
|
191
|
+
animationTime: a ? parseInt(a) : void 0,
|
|
192
|
+
mobileBreakpoint: s ? parseInt(s) : void 0
|
|
193
|
+
});
|
|
194
|
+
}, z = u.webComponent({
|
|
195
|
+
tagName: ee,
|
|
196
|
+
slots: te,
|
|
197
|
+
createComponent: se,
|
|
198
|
+
attributes: [oe],
|
|
199
|
+
afterConnect: p.hooks.loadOnConnect
|
|
200
|
+
}), ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
201
|
+
__proto__: null,
|
|
202
|
+
CarouselBase: w,
|
|
203
|
+
CarouselCards: y,
|
|
204
|
+
CarouselImageMultiple: N,
|
|
205
|
+
CarouselImageSingle: v,
|
|
206
|
+
CarouselThumbnail: q,
|
|
207
|
+
CarouselWide: z,
|
|
208
|
+
base: w,
|
|
209
|
+
cards: y,
|
|
210
|
+
imageMultiple: N,
|
|
211
|
+
imageSingle: v,
|
|
212
|
+
thumbnail: q,
|
|
213
|
+
wide: z
|
|
214
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
215
|
+
export {
|
|
216
|
+
w as C,
|
|
217
|
+
y as a,
|
|
218
|
+
N as b,
|
|
219
|
+
v as c,
|
|
220
|
+
q as d,
|
|
221
|
+
z as e,
|
|
222
|
+
ce as f
|
|
223
|
+
};
|
|
224
|
+
//# sourceMappingURL=index-BIkAyrlD.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-BIkAyrlD.js","sources":["../source/web-components/carousel/base.ts","../source/web-components/carousel/cards.ts","../source/web-components/carousel/image/single.ts","../source/web-components/carousel/image/multiple.ts","../source/web-components/carousel/thumbnail.ts","../source/web-components/carousel/wide.ts"],"sourcesContent":["import { carousel } from '@universityofmaryland/web-elements-library/composite';\nimport { createSlot } from '@universityofmaryland/web-utilities-library/elements';\nimport { Attributes, Slots, Register, Lifecycle } from '@universityofmaryland/web-model-library';\nimport type {\n CreateComponentFunction,\n ComponentRegistration,\n SlotConfiguration,\n} from '../../_types';\n\n// Tag name for the base carousel component\nconst tagName = 'umd-element-carousel';\n\n// Slot configuration for the base carousel component\nconst slots: SlotConfiguration = {\n blocks: {\n required: true,\n },\n};\n\n// Attribute handlers for the base carousel component\nconst attributes = Attributes.handler.common.resize((element) =>\n element.events?.resize(),\n);\n\n/**\n * Creates a base carousel component\n * @param element - The host HTML element\n * @returns Configured carousel component\n * @internal\n */\nconst createComponent: CreateComponentFunction = (element) => {\n const shadow = element.shadowRoot as ShadowRoot;\n const isThemeDark = Attributes.isTheme.dark({\n element,\n });\n const attributeLeftButton = element.getAttribute('left-button');\n const attributeRightButton = element.getAttribute('right-button');\n const attributeMobileHint = element.getAttribute('mobile-hint');\n const attributeHint = element.getAttribute('hint');\n const tabletSize = element.getAttribute('tablet-size');\n const desktopSize = element.getAttribute('desktop-size');\n const tabletCount = element.getAttribute('tablet-count');\n const desktopCount = element.getAttribute('desktop-count');\n const maxCount = element.getAttribute('max-count');\n const gridGap = element.getAttribute('grid-gap-pixels');\n const slide = element.querySelector(\n `[slot=\"${Slots.name.BLOCKS}\"]`,\n ) as HTMLElement;\n const blocks = Array.from(\n slide.querySelectorAll(':scope > *'),\n ) as HTMLElement[];\n let hasLeftButton = true;\n let hasRightButton = true;\n let mobileHint = true;\n let hint = true;\n\n if (attributeLeftButton === 'false') hasLeftButton = false;\n if (attributeRightButton === 'false') hasRightButton = false;\n if (attributeMobileHint === 'false') mobileHint = false;\n if (attributeHint === 'false') hint = false;\n\n const createCardShadowRef = () => {\n const slot = createSlot(Slots.name.BLOCKS);\n shadow.appendChild(slot);\n };\n\n createCardShadowRef();\n\n const shadowRef = shadow.querySelector(\n `[name=\"${Slots.name.BLOCKS}\"]`,\n ) as HTMLElement;\n\n return carousel.macro({\n slide,\n shadowRef,\n blocks,\n isThemeDark,\n hasLeftButton,\n hasRightButton,\n mobileHint,\n hint,\n tabletSize: tabletSize ? parseInt(tabletSize) : undefined,\n desktopSize: desktopSize ? parseInt(desktopSize) : undefined,\n tabletCount: tabletCount ? parseInt(tabletCount) : undefined,\n desktopCount: desktopCount ? parseInt(desktopCount) : undefined,\n maxCount: maxCount ? parseInt(maxCount) : undefined,\n gridGap,\n });\n};\n\n/**\n * Base Carousel\n *\n * A versatile carousel component for displaying scrollable content blocks with navigation controls.\n *\n * ## Custom Element\n * `<umd-element-carousel>`\n *\n * ## Slots\n * - `blocks` - Container for carousel items (required, accepts: any element)\n *\n * ## Attributes\n * - `left-button` - Left navigation button visibility:\n * - `true` - Show left navigation button (default)\n * - `false` - Hide left navigation button\n * - `right-button` - Right navigation button visibility:\n * - `true` - Show right navigation button (default)\n * - `false` - Hide right navigation button\n * - `mobile-hint` - Mobile swipe hint visibility:\n * - `true` - Show mobile swipe hint (default)\n * - `false` - Hide mobile swipe hint\n * - `hint` - Navigation hint visibility:\n * - `true` - Show navigation hint (default)\n * - `false` - Hide navigation hint\n * - `data-theme` - Visual theme:\n * - `light` - Light theme (default)\n * - `dark` - Dark theme\n * - `tablet-size` - Number of visible items on tablet\n * - `desktop-size` - Number of visible items on desktop\n * - `tablet-count` - Total item count for tablet view\n * - `desktop-count` - Total item count for desktop view\n * - `max-count` - Maximum number of items to display\n * - `grid-gap-pixels` - Gap between items in pixels\n *\n * ## Observed Attributes\n * - `resize` - Triggers carousel size recalculation\n *\n * @example\n * ```html\n * <umd-element-carousel>\n * <div slot=\"blocks\">\n * <div>Item 1</div>\n * <div>Item 2</div>\n * <div>Item 3</div>\n * </div>\n * </umd-element-carousel>\n * ```\n *\n * @category Components\n * @since 1.0.0\n */\nexport const CarouselBase: ComponentRegistration = Register.webComponent({\n tagName,\n slots,\n createComponent,\n attributes: [attributes],\n afterConnect: Lifecycle.hooks.loadOnConnect,\n});\n\n/** Backwards compatibility alias for grouped exports */\nexport { CarouselBase as base };\n","import { carousel } from '@universityofmaryland/web-elements-library/composite';\nimport { createSlot } from '@universityofmaryland/web-utilities-library/elements';\nimport { Attributes, Slots, Register, Lifecycle } from '@universityofmaryland/web-model-library';\nimport type {\n CreateComponentFunction,\n ComponentRegistration,\n SlotConfiguration,\n} from '../../_types';\n\nconst tagName = 'umd-element-carousel-cards';\n\nconst slots: SlotConfiguration = {\n cards: {\n required: true,\n },\n headline: Slots.element.allowed.headline,\n text: Slots.element.allowed.text,\n actions: Slots.element.allowed.actions,\n};\n\nconst attributes = Attributes.handler.common.resize((element) =>\n element.events?.resize(),\n);\n\n/**\n * Creates a cards carousel component\n * @param element - The host HTML element\n * @returns Configured cards carousel component\n * @internal\n */\nconst createComponent: CreateComponentFunction = (element) => {\n const shadow = element.shadowRoot as ShadowRoot;\n const slide = element.querySelector(\n `[slot=\"${Slots.name.CARDS}\"]`,\n ) as HTMLElement;\n const cards = Array.from(\n slide.querySelectorAll(':scope > *'),\n ) as HTMLElement[];\n\n const createCardShadowRef = () => {\n const slot = createSlot(Slots.name.CARDS);\n shadow.appendChild(slot);\n };\n\n createCardShadowRef();\n\n const shadowRef = shadow.querySelector(\n `[name=\"${Slots.name.CARDS}\"]`,\n ) as HTMLElement;\n\n return carousel.cards({\n slide,\n shadowRef,\n cards,\n headline: Slots.headline.default({ element }),\n text: Slots.text.default({ element }),\n actions: Slots.actions.default({ element }),\n });\n};\n\n/**\n * Cards Carousel\n *\n * A carousel component specifically designed for displaying card components.\n *\n * ## Custom Element\n * `<umd-element-carousel-cards>`\n *\n * ## Slots\n * - `cards` - Container for card components (required, accepts: card elements)\n * - `headline` - Carousel headline (optional, accepts: heading elements)\n * - `text` - Carousel description (optional, accepts: text elements)\n * - `actions` - Carousel action buttons/links (optional, accepts: links or buttons)\n *\n * ## Observed Attributes\n * - `resize` - Triggers carousel size recalculation\n *\n * @example\n * ```html\n * <umd-element-carousel-cards>\n * <div slot=\"cards\">\n * <umd-element-card>\n * <h3 slot=\"headline\">Card 1</h3>\n * <p slot=\"text\">Card content</p>\n * </umd-element-card>\n * <umd-element-card>\n * <h3 slot=\"headline\">Card 2</h3>\n * <p slot=\"text\">Card content</p>\n * </umd-element-card>\n * </div>\n * </umd-element-carousel-cards>\n * ```\n *\n * @category Components\n * @since 1.0.0\n */\nexport const CarouselCards: ComponentRegistration = Register.webComponent({\n tagName,\n slots,\n createComponent,\n attributes: [attributes],\n afterConnect: Lifecycle.hooks.loadOnConnect,\n});\n\n/** Backwards compatibility alias for grouped exports */\nexport { CarouselCards as cards };\n","import { carousel } from '@universityofmaryland/web-elements-library/composite';\nimport { imageHasAlt } from '@universityofmaryland/web-utilities-library/accessibility';\nimport { Attributes, Slots, Register } from '@universityofmaryland/web-model-library';\nimport type {\n CreateComponentFunction,\n ComponentRegistration,\n SlotConfiguration,\n} from '../../../_types';\n\nconst tagName = 'umd-element-carousel-image';\n\nconst slots: SlotConfiguration = {\n images: {\n required: true,\n allowedElements: ['img', 'div'],\n },\n headlines: {\n allowedElements: ['div'],\n },\n texts: {\n allowedElements: ['div'],\n },\n};\n\nconst attributes = Attributes.handler.common.resize((element) =>\n element.events?.SetEventReize(),\n);\n\n/**\n * Creates a single image carousel component\n * @param element - The host HTML element\n * @returns Configured single image carousel component\n * @internal\n */\nconst createComponent: CreateComponentFunction = (element) => {\n const slottedImages = Array.from(\n element.querySelectorAll(`[slot=\"${Slots.name.IMAGES}\"] > *`),\n ) as HTMLImageElement[];\n const slottedHeadlines = Array.from(\n element.querySelectorAll(`[slot=\"${Slots.name.HEADLINES}\"] > *`),\n );\n const slottedTexts = Array.from(\n element.querySelectorAll(`[slot=\"${Slots.name.TEXTS}\"] > *`),\n );\n\n const headlines = slottedHeadlines.map((headline) =>\n headline.cloneNode(true),\n ) as HTMLElement[];\n\n const texts = slottedTexts.map((text) =>\n text.cloneNode(true),\n ) as HTMLElement[];\n\n const images = slottedImages\n .map((image) => {\n if (image.nodeName === 'IMG') {\n if (imageHasAlt(image)) return image.cloneNode(true);\n }\n return null;\n })\n .filter((image) => image !== null) as HTMLImageElement[];\n\n return carousel.image({\n images,\n headlines,\n texts,\n isThemeDark: Attributes.isTheme.dark({ element }),\n isFullScreenOption: Attributes.includesFeature.fullScreenOption({\n element,\n }),\n });\n};\n\n/**\n * Single Image Carousel\n *\n * A carousel component for displaying images with optional captions and headlines.\n *\n * ## Custom Element\n * `<umd-element-carousel-image>`\n *\n * ## Slots\n * - `images` - Container for images (required, accepts: img elements with alt text)\n * - `headlines` - Container for image headlines (optional, accepts: heading elements)\n * - `texts` - Container for image descriptions (optional, accepts: text elements)\n *\n * ## Attributes\n * - `data-theme` - Visual theme:\n * - `light` - Light theme (default)\n * - `dark` - Dark theme\n * - `data-feature` - Additional features:\n * - `fullscreen` - Enable fullscreen viewing option\n *\n * ## Observed Attributes\n * - `resize` - Triggers carousel size recalculation\n *\n * @example\n * ```html\n * <umd-element-carousel-image>\n * <div slot=\"images\">\n * <img src=\"photo1.jpg\" alt=\"Campus view\">\n * <img src=\"photo2.jpg\" alt=\"Student center\">\n * <img src=\"photo3.jpg\" alt=\"Library entrance\">\n * </div>\n * </umd-element-carousel-image>\n * ```\n *\n * @category Components\n * @since 1.0.0\n */\nexport const CarouselImageSingle: ComponentRegistration = Register.webComponent({\n tagName,\n slots,\n createComponent,\n attributes: [attributes],\n});\n\n/** Backwards compatibility alias for grouped exports */\nexport { CarouselImageSingle as imageSingle };\n","import { carousel } from '@universityofmaryland/web-elements-library/composite';\nimport { imageHasAlt } from '@universityofmaryland/web-utilities-library/accessibility';\nimport { Attributes, Slots, Register } from '@universityofmaryland/web-model-library';\nimport type {\n CreateComponentFunction,\n ComponentRegistration,\n SlotConfiguration,\n} from '../../../_types';\n\nconst tagName = 'umd-element-carousel-multiple-image';\n\nconst slots: SlotConfiguration = {\n images: {\n required: true,\n allowedElements: ['div', 'img'],\n },\n};\n\nconst attributes = Attributes.handler.common.resize((element) =>\n element.events?.SetEventReize(),\n);\n\n/**\n * Creates a multiple image carousel component\n * @param element - The host HTML element\n * @returns Configured multiple image carousel component\n * @internal\n */\nconst createComponent: CreateComponentFunction = (element) => {\n const slottedImages = Array.from(\n element.querySelectorAll(`[slot=\"${Slots.name.IMAGES}\"] > *`),\n ) as HTMLImageElement[];\n\n const images = slottedImages\n .map((image) => {\n if (image.nodeName === 'IMG') {\n if (imageHasAlt(image)) return image.cloneNode(true);\n }\n return null;\n })\n .filter((image) => image !== null) as HTMLImageElement[];\n\n return carousel.images({\n images,\n isThemeDark: Attributes.isTheme.dark({ element }),\n isFullScreenOption: Attributes.includesFeature.fullScreenOption({\n element,\n }),\n });\n};\n\n/**\n * Multiple Image Carousel\n *\n * A carousel component for displaying multiple images in a gallery format.\n *\n * ## Custom Element\n * `<umd-element-carousel-multiple-image>`\n *\n * ## Slots\n * - `images` - Container for images (required, accepts: img elements with alt text)\n *\n * ## Attributes\n * - `data-theme` - Visual theme:\n * - `light` - Light theme (default)\n * - `dark` - Dark theme\n * - `data-feature` - Additional features:\n * - `fullscreen` - Enable fullscreen viewing option\n *\n * ## Observed Attributes\n * - `resize` - Triggers carousel size recalculation\n *\n * @example\n * ```html\n * <umd-element-carousel-multiple-image>\n * <div slot=\"images\">\n * <img src=\"gallery1.jpg\" alt=\"Gallery image 1\">\n * <img src=\"gallery2.jpg\" alt=\"Gallery image 2\">\n * <img src=\"gallery3.jpg\" alt=\"Gallery image 3\">\n * <img src=\"gallery4.jpg\" alt=\"Gallery image 4\">\n * </div>\n * </umd-element-carousel-multiple-image>\n * ```\n *\n * @category Components\n * @since 1.0.0\n */\nexport const CarouselImageMultiple: ComponentRegistration = Register.webComponent({\n tagName,\n slots,\n createComponent,\n attributes: [attributes],\n});\n\n/** Backwards compatibility alias for grouped exports */\nexport { CarouselImageMultiple as imageMultiple };\n","import { carousel } from '@universityofmaryland/web-elements-library/composite';\nimport { Attributes, Slots, Register, Lifecycle } from '@universityofmaryland/web-model-library';\nimport type {\n CreateComponentFunction,\n ComponentRegistration,\n SlotConfiguration,\n} from '../../_types';\n\nconst tagName = 'umd-element-carousel-thumbnail';\n\nconst slots: SlotConfiguration = {\n blocks: {\n required: true,\n },\n};\n\nconst attributes = Attributes.handler.common.resize((element) =>\n element.events?.resize(),\n);\n\n/**\n * Creates a thumbnail carousel component\n * @param element - The host HTML element\n * @returns Configured thumbnail carousel component\n * @internal\n */\nconst createComponent: CreateComponentFunction = (element) => {\n const slottedBlocks = Array.from(\n element.querySelectorAll(`[slot=\"${Slots.name.BLOCKS}\"] > *`),\n ) as HTMLElement[];\n\n const blocks = slottedBlocks.map((block) =>\n block.cloneNode(true),\n ) as HTMLElement[];\n\n return carousel.thumbnail({\n blocks,\n isThemeDark: Attributes.isTheme.dark({ element }),\n });\n};\n\n/**\n * Thumbnail Carousel\n *\n * A carousel component with thumbnail navigation for browsing through content.\n *\n * ## Custom Element\n * `<umd-element-carousel-thumbnail>`\n *\n * ## Slots\n * - `blocks` - Container for carousel items with thumbnails (required, accepts: elements with data-thumbnail attribute)\n *\n * ## Attributes\n * - `data-theme` - Visual theme:\n * - `light` - Light theme (default)\n * - `dark` - Dark theme\n *\n * ## Observed Attributes\n * - `resize` - Triggers carousel size recalculation\n *\n * @example\n * ```html\n * <umd-element-carousel-thumbnail>\n * <div slot=\"blocks\">\n * <div data-thumbnail=\"thumb1.jpg\">\n * <img src=\"image1.jpg\" alt=\"Image 1\">\n * <p>Caption for image 1</p>\n * </div>\n * <div data-thumbnail=\"thumb2.jpg\">\n * <img src=\"image2.jpg\" alt=\"Image 2\">\n * <p>Caption for image 2</p>\n * </div>\n * </div>\n * </umd-element-carousel-thumbnail>\n * ```\n *\n * @category Components\n * @since 1.0.0\n */\nexport const CarouselThumbnail: ComponentRegistration = Register.webComponent({\n tagName,\n slots,\n createComponent,\n attributes: [attributes],\n afterConnect: Lifecycle.hooks.loadOnConnect,\n});\n\n/** Backwards compatibility alias for grouped exports */\nexport { CarouselThumbnail as thumbnail };\n","import { carousel } from '@universityofmaryland/web-elements-library/composite';\nimport { imageHasAlt } from '@universityofmaryland/web-utilities-library/accessibility';\nimport { Attributes, Register, Lifecycle } from '@universityofmaryland/web-model-library';\nimport type {\n CreateComponentFunction,\n ComponentRegistration,\n SlotConfiguration,\n} from '../../_types';\n\nconst tagName = 'umd-element-carousel-image-wide';\n\nconst slots: SlotConfiguration = {\n slides: {\n required: true,\n allowedElements: ['figure', 'div'],\n },\n};\n\nconst attributes = Attributes.handler.common.resize((element) =>\n element.events?.resize(),\n);\n\n/**\n * Creates a wide carousel component\n * @param element - The host HTML element\n * @returns Configured wide carousel component\n * @internal\n */\nconst createComponent: CreateComponentFunction = (element) => {\n const title = element.getAttribute('title');\n const animationTime = element.getAttribute('animation-time');\n const mobileBreakpoint = element.getAttribute('mobile-breakpoint');\n\n const slottedSlides = Array.from(\n element.querySelectorAll(`[slot=\"slides\"] > *`),\n ) as HTMLElement[];\n\n const slides = slottedSlides\n .map((slide) => {\n const image = slide.querySelector('img');\n const headline = slide.querySelector('[data-headline]');\n const text = slide.querySelector('[data-text]');\n\n if (image && !imageHasAlt(image)) {\n console.warn('Carousel slide image missing alt text:', image);\n return null;\n }\n\n return {\n image: image ? (image.cloneNode(true) as HTMLImageElement) : null,\n headline: headline\n ? (headline.cloneNode(true) as HTMLElement)\n : undefined,\n text: text ? (text.cloneNode(true) as HTMLElement) : undefined,\n };\n })\n .filter((slide) => slide && slide.image) as Array<{\n image: HTMLImageElement;\n headline?: HTMLElement;\n text?: HTMLElement;\n }>;\n\n return carousel.wide({\n slides,\n title: title || undefined,\n isThemeDark: Attributes.isTheme.dark({ element }),\n animationTime: animationTime ? parseInt(animationTime) : undefined,\n mobileBreakpoint: mobileBreakpoint ? parseInt(mobileBreakpoint) : undefined,\n });\n};\n\n/**\n * Wide Carousel\n *\n * A full-width carousel component with slide previews, optimized for showcasing\n * featured content with optional text overlays.\n *\n * ## Custom Element\n * `<umd-element-carousel-wide>`\n *\n * ## Slots\n * - `slides` - Container for carousel slides (required, accepts: figure or div elements)\n * - Each slide should contain:\n * - An `img` element with alt text (required)\n * - An element with `data-headline` attribute for headlines (optional)\n * - An element with `data-text` attribute for descriptions (optional)\n *\n * ## Attributes\n * - `title` - Accessible title for the carousel (default: \"Animated Image Carousel\")\n * - `data-theme` - Visual theme:\n * - `light` - Light theme (default)\n * - `dark` - Dark theme\n * - `animation-time` - Animation duration in milliseconds (default: 500)\n * - `mobile-breakpoint` - Breakpoint for mobile behavior in pixels (default: 650)\n *\n * ## Observed Attributes\n * - `resize` - Triggers carousel size recalculation\n *\n * @example\n * ```html\n * <umd-element-carousel-wide title=\"Featured Stories\">\n * <div slot=\"slides\">\n * <figure>\n * <img src=\"hero1.jpg\" alt=\"Research breakthrough\">\n * <div data-headline>\n * <h2>Major Research Discovery</h2>\n * </div>\n * <div data-text>\n * <p>Scientists make groundbreaking discovery in quantum computing.</p>\n * </div>\n * </figure>\n * <figure>\n * <img src=\"hero2.jpg\" alt=\"Campus expansion\">\n * <div data-headline>\n * <h2>New Science Center Opens</h2>\n * </div>\n * <div data-text>\n * <p>State-of-the-art facility enhances research capabilities.</p>\n * </div>\n * </figure>\n * </div>\n * </umd-element-carousel-wide>\n * ```\n *\n * @category Components\n * @since 1.13.0\n */\nexport const CarouselWide: ComponentRegistration = Register.webComponent({\n tagName,\n slots,\n createComponent,\n attributes: [attributes],\n afterConnect: Lifecycle.hooks.loadOnConnect,\n});\n\n/** Backwards compatibility alias for grouped exports */\nexport { CarouselWide as wide };\n"],"names":["tagName","slots","attributes","Attributes","element","createComponent","shadow","isThemeDark","attributeLeftButton","attributeRightButton","attributeMobileHint","attributeHint","tabletSize","desktopSize","tabletCount","desktopCount","maxCount","gridGap","slide","Slots","blocks","hasLeftButton","hasRightButton","mobileHint","hint","slot","createSlot","shadowRef","carousel","CarouselBase","Register","Lifecycle","cards","CarouselCards","slottedImages","slottedHeadlines","slottedTexts","headlines","headline","texts","text","images","image","imageHasAlt","CarouselImageSingle","CarouselImageMultiple","block","CarouselThumbnail","title","animationTime","mobileBreakpoint","slides","CarouselWide"],"mappings":";;;;AAUA,MAAMA,IAAU,wBAGVC,IAA2B;AAAA,EAC/B,QAAQ;AAAA,IACN,UAAU;AAAA,EAAA;AAEd,GAGMC,IAAaC,EAAW,QAAQ,OAAO;AAAA,EAAO,CAACC,MACnDA,EAAQ,QAAQ,OAAA;AAClB,GAQMC,IAA2C,CAACD,MAAY;AAC5D,QAAME,IAASF,EAAQ,YACjBG,IAAcJ,EAAW,QAAQ,KAAK;AAAA,IAC1C,SAAAC;AAAA,EAAA,CACD,GACKI,IAAsBJ,EAAQ,aAAa,aAAa,GACxDK,IAAuBL,EAAQ,aAAa,cAAc,GAC1DM,IAAsBN,EAAQ,aAAa,aAAa,GACxDO,IAAgBP,EAAQ,aAAa,MAAM,GAC3CQ,IAAaR,EAAQ,aAAa,aAAa,GAC/CS,IAAcT,EAAQ,aAAa,cAAc,GACjDU,IAAcV,EAAQ,aAAa,cAAc,GACjDW,IAAeX,EAAQ,aAAa,eAAe,GACnDY,IAAWZ,EAAQ,aAAa,WAAW,GAC3Ca,IAAUb,EAAQ,aAAa,iBAAiB,GAChDc,IAAQd,EAAQ;AAAA,IACpB,UAAUe,EAAM,KAAK,MAAM;AAAA,EAAA,GAEvBC,IAAS,MAAM;AAAA,IACnBF,EAAM,iBAAiB,YAAY;AAAA,EAAA;AAErC,MAAIG,IAAgB,IAChBC,IAAiB,IACjBC,IAAa,IACbC,IAAO;AAEX,EAAIhB,MAAwB,YAASa,IAAgB,KACjDZ,MAAyB,YAASa,IAAiB,KACnDZ,MAAwB,YAASa,IAAa,KAC9CZ,MAAkB,YAASa,IAAO,MA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