@itcenteratunihelsinki/huds-lib 0.8.40 → 0.8.42
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/dist/cjs/color-box_8.cjs.entry.js +13 -36
- package/dist/cjs/color-box_8.cjs.entry.js.map +1 -0
- package/dist/cjs/{globalScript-6b592153.js → globalScript-45ad6d41.js} +3 -1
- package/dist/cjs/globalScript-45ad6d41.js.map +1 -0
- package/dist/cjs/huds-lib.cjs.js +13 -4
- package/dist/cjs/huds-lib.cjs.js.map +1 -0
- package/dist/cjs/hy-accordion-container_83.cjs.entry.js +388 -192
- package/dist/cjs/hy-accordion-container_83.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-event-item.cjs.entry.js +7 -2
- package/dist/cjs/hy-event-item.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-events.cjs.entry.js +6 -2
- package/dist/cjs/hy-events.cjs.entry.js.map +1 -0
- package/dist/cjs/{index-dfc917d9.js → index-25bd964b.js} +692 -287
- package/dist/cjs/index-25bd964b.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +7 -4
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/utils-14d5aa6f.js +2 -0
- package/dist/cjs/utils-14d5aa6f.js.map +1 -0
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion-container/accordion-container.js +37 -30
- package/dist/collection/components/accordion-container/accordion-container.js.map +1 -0
- package/dist/collection/components/accordion-item/accordion-item.js +116 -114
- package/dist/collection/components/accordion-item/accordion-item.js.map +1 -0
- package/dist/collection/components/adjacent-image-text/adjacent-image-text.js +277 -275
- package/dist/collection/components/adjacent-image-text/adjacent-image-text.js.map +1 -0
- package/dist/collection/components/baseline/baseline.js +35 -32
- package/dist/collection/components/baseline/baseline.js.map +1 -0
- package/dist/collection/components/button/button.js +226 -257
- package/dist/collection/components/button/button.js.map +1 -0
- package/dist/collection/components/color-box/color-box.js +13 -9
- package/dist/collection/components/color-box/color-box.js.map +1 -0
- package/dist/collection/components/courses/hy-content-list/hy-content-list.js +174 -167
- package/dist/collection/components/courses/hy-content-list/hy-content-list.js.map +1 -0
- package/dist/collection/components/courses/hy-content-list-item/hy-content-list-item.css +2 -2
- package/dist/collection/components/courses/hy-content-list-item/hy-content-list-item.js +320 -312
- package/dist/collection/components/courses/hy-content-list-item/hy-content-list-item.js.map +1 -0
- package/dist/collection/components/cta-button/cta-button.js +141 -138
- package/dist/collection/components/cta-button/cta-button.js.map +1 -0
- package/dist/collection/components/cta-link/cta-link.js +107 -103
- package/dist/collection/components/cta-link/cta-link.js.map +1 -0
- package/dist/collection/components/docs-container/docs-container.js +13 -9
- package/dist/collection/components/docs-container/docs-container.js.map +1 -0
- package/dist/collection/components/footer/hy-footer/hy-footer.js +13 -9
- package/dist/collection/components/footer/hy-footer/hy-footer.js.map +1 -0
- package/dist/collection/components/footer/hy-footer-action/hy-footer-action.js +63 -55
- package/dist/collection/components/footer/hy-footer-action/hy-footer-action.js.map +1 -0
- package/dist/collection/components/footer/hy-footer-base/hy-footer-base.js +183 -187
- package/dist/collection/components/footer/hy-footer-base/hy-footer-base.js.map +1 -0
- package/dist/collection/components/footer/hy-footer-info/hy-footer-info.js +278 -270
- package/dist/collection/components/footer/hy-footer-info/hy-footer-info.js.map +1 -0
- package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.js +191 -190
- package/dist/collection/components/footer/hy-footer-link-item/hy-footer-link-item.js.map +1 -0
- package/dist/collection/components/global-workers/globals.worker.js +1 -0
- package/dist/collection/components/global-workers/globals.worker.js.map +1 -0
- package/dist/collection/components/grid-container/grid-container.js +13 -9
- package/dist/collection/components/grid-container/grid-container.js.map +1 -0
- package/dist/collection/components/grid-item/grid-item.css +0 -23
- package/dist/collection/components/grid-item/grid-item.js +102 -96
- package/dist/collection/components/grid-item/grid-item.js.map +1 -0
- package/dist/collection/components/grid-row/grid-row.js +13 -9
- package/dist/collection/components/grid-row/grid-row.js.map +1 -0
- package/dist/collection/components/heading/heading-fw.css +17 -17
- package/dist/collection/components/heading/heading.css +17 -17
- package/dist/collection/components/heading/heading.js +142 -146
- package/dist/collection/components/heading/heading.js.map +1 -0
- package/dist/collection/components/hy-anchor-link-list/hy-anchor-link-list.js +105 -99
- package/dist/collection/components/hy-anchor-link-list/hy-anchor-link-list.js.map +1 -0
- package/dist/collection/components/hy-badge/hy-badge.js +35 -30
- package/dist/collection/components/hy-badge/hy-badge.js.map +1 -0
- package/dist/collection/components/hy-banner/hy-banner.js +137 -135
- package/dist/collection/components/hy-banner/hy-banner.js.map +1 -0
- package/dist/collection/components/hy-box/hy-box.js +323 -318
- package/dist/collection/components/hy-box/hy-box.js.map +1 -0
- package/dist/collection/components/hy-box-container/hy-box-container.js +53 -54
- package/dist/collection/components/hy-box-container/hy-box-container.js.map +1 -0
- package/dist/collection/components/hy-breadcrumbs/hy-breadcrumbs.js +89 -82
- package/dist/collection/components/hy-breadcrumbs/hy-breadcrumbs.js.map +1 -0
- package/dist/collection/components/hy-checkbox/hy-checkbox.js +108 -114
- package/dist/collection/components/hy-checkbox/hy-checkbox.js.map +1 -0
- package/dist/collection/components/hy-collaboration/hy-collaboration.js +105 -99
- package/dist/collection/components/hy-collaboration/hy-collaboration.js.map +1 -0
- package/dist/collection/components/hy-crisis-banner/hy-crisis-banner.js +88 -85
- package/dist/collection/components/hy-crisis-banner/hy-crisis-banner.js.map +1 -0
- package/dist/collection/components/hy-dropdown/hy-dropdown.js +153 -147
- package/dist/collection/components/hy-dropdown/hy-dropdown.js.map +1 -0
- package/dist/collection/components/hy-dropdown/hy-dropdown.panel.item.js +76 -74
- package/dist/collection/components/hy-dropdown/hy-dropdown.panel.item.js.map +1 -0
- package/dist/collection/components/hy-dropdown/hy-dropdown.panel.js +27 -22
- package/dist/collection/components/hy-dropdown/hy-dropdown.panel.js.map +1 -0
- package/dist/collection/components/hy-event-item/hy-event-item.js +184 -192
- package/dist/collection/components/hy-event-item/hy-event-item.js.map +1 -0
- package/dist/collection/components/hy-events/hy-events.js +131 -127
- package/dist/collection/components/hy-events/hy-events.js.map +1 -0
- package/dist/collection/components/hy-filter-group/hy-filter-group.item.js +44 -41
- package/dist/collection/components/hy-filter-group/hy-filter-group.item.js.map +1 -0
- package/dist/collection/components/hy-filter-group/hy-filter-group.js +64 -54
- package/dist/collection/components/hy-filter-group/hy-filter-group.js.map +1 -0
- package/dist/collection/components/hy-filter-list-type/hy-filter-list-type.js +62 -56
- package/dist/collection/components/hy-filter-list-type/hy-filter-list-type.js.map +1 -0
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.js +38 -30
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.js.map +1 -0
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.js +3 -4
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.js.map +1 -0
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.toggle.js +3 -8
- package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.toggle.js.map +1 -0
- package/dist/collection/components/hy-general-list/hy-general-list.js +123 -113
- package/dist/collection/components/hy-general-list/hy-general-list.js.map +1 -0
- package/dist/collection/components/hy-general-list-item/hy-general-list-item.js +256 -258
- package/dist/collection/components/hy-general-list-item/hy-general-list-item.js.map +1 -0
- package/dist/collection/components/hy-hero/hy-hero.css +2 -2
- package/dist/collection/components/hy-hero/hy-hero.js +296 -308
- package/dist/collection/components/hy-hero/hy-hero.js.map +1 -0
- package/dist/collection/components/hy-introduction/hy-introduction.js +248 -250
- package/dist/collection/components/hy-introduction/hy-introduction.js.map +1 -0
- package/dist/collection/components/hy-key-figure/hy-key-figure.js +73 -66
- package/dist/collection/components/hy-key-figure/hy-key-figure.js.map +1 -0
- package/dist/collection/components/hy-key-figure-group/hy-key-figure-group.css +1 -1
- package/dist/collection/components/hy-key-figure-group/hy-key-figure-group.js +67 -65
- package/dist/collection/components/hy-key-figure-group/hy-key-figure-group.js.map +1 -0
- package/dist/collection/components/hy-key-highlight/hy-key-highlight.js +73 -67
- package/dist/collection/components/hy-key-highlight/hy-key-highlight.js.map +1 -0
- package/dist/collection/components/hy-key-highlight-group/hy-key-highlight-group.css +2 -2
- package/dist/collection/components/hy-key-highlight-group/hy-key-highlight-group.js +79 -71
- package/dist/collection/components/hy-key-highlight-group/hy-key-highlight-group.js.map +1 -0
- package/dist/collection/components/hy-large-process-flow/hy-large-process-flow.css +6 -6
- package/dist/collection/components/hy-large-process-flow/hy-large-process-flow.js +55 -46
- package/dist/collection/components/hy-large-process-flow/hy-large-process-flow.js.map +1 -0
- package/dist/collection/components/hy-large-process-flow-phase/hy-large-process-flow-phase.css +3 -3
- package/dist/collection/components/hy-large-process-flow-phase/hy-large-process-flow-phase.js +41 -37
- package/dist/collection/components/hy-large-process-flow-phase/hy-large-process-flow-phase.js.map +1 -0
- package/dist/collection/components/hy-link-list/hy-link-list.js +107 -100
- package/dist/collection/components/hy-link-list/hy-link-list.js.map +1 -0
- package/dist/collection/components/hy-list-item/hy-list-item.js +429 -451
- package/dist/collection/components/hy-list-item/hy-list-item.js.map +1 -0
- package/dist/collection/components/hy-logo-grid/hy-logo-grid.item.js +54 -47
- package/dist/collection/components/hy-logo-grid/hy-logo-grid.item.js.map +1 -0
- package/dist/collection/components/hy-logo-grid/hy-logo-grid.js +54 -46
- package/dist/collection/components/hy-logo-grid/hy-logo-grid.js.map +1 -0
- package/dist/collection/components/hy-main/hy-main.js +35 -29
- package/dist/collection/components/hy-main/hy-main.js.map +1 -0
- package/dist/collection/components/hy-main-content-wrapper/hy-main-content-wrapper.js +13 -10
- package/dist/collection/components/hy-main-content-wrapper/hy-main-content-wrapper.js.map +1 -0
- package/dist/collection/components/hy-opening-hours/hy-opening-hours.css +2 -2
- package/dist/collection/components/hy-opening-hours/hy-opening-hours.js +305 -308
- package/dist/collection/components/hy-opening-hours/hy-opening-hours.js.map +1 -0
- package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.css +2 -2
- package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.js +108 -107
- package/dist/collection/components/hy-opening-hours-content/hy-opening-hours-content.js.map +1 -0
- package/dist/collection/components/hy-person-card/hy-person-card.js +423 -438
- package/dist/collection/components/hy-person-card/hy-person-card.js.map +1 -0
- package/dist/collection/components/hy-prominent-image/hy-prominent-image.js +107 -100
- package/dist/collection/components/hy-prominent-image/hy-prominent-image.js.map +1 -0
- package/dist/collection/components/hy-quote/hy-quote.js +52 -51
- package/dist/collection/components/hy-quote/hy-quote.js.map +1 -0
- package/dist/collection/components/hy-search-field/hy-search-field.js +167 -167
- package/dist/collection/components/hy-search-field/hy-search-field.js.map +1 -0
- package/dist/collection/components/hy-shortcuts/hy-shortcuts.css +1 -1
- package/dist/collection/components/hy-shortcuts/hy-shortcuts.js +90 -87
- package/dist/collection/components/hy-shortcuts/hy-shortcuts.js.map +1 -0
- package/dist/collection/components/hy-table-container/hy-table-container.css +6 -6
- package/dist/collection/components/hy-table-container/hy-table-container.js +13 -10
- package/dist/collection/components/hy-table-container/hy-table-container.js.map +1 -0
- package/dist/collection/components/hy-tabs/hy-tabs.js +116 -111
- package/dist/collection/components/hy-tabs/hy-tabs.js.map +1 -0
- package/dist/collection/components/hy-tabs-item/hy-tabs-item.js +37 -28
- package/dist/collection/components/hy-tabs-item/hy-tabs-item.js.map +1 -0
- package/dist/collection/components/hy-tag/hy-tag.js +13 -11
- package/dist/collection/components/hy-tag/hy-tag.js.map +1 -0
- package/dist/collection/components/hy-twitter-feed/hy-twitter-feed.js +108 -128
- package/dist/collection/components/hy-twitter-feed/hy-twitter-feed.js.map +1 -0
- package/dist/collection/components/hy-two-columns/hy-two-columns.js +35 -33
- package/dist/collection/components/hy-two-columns/hy-two-columns.js.map +1 -0
- package/dist/collection/components/hy-user-login-form/hy-user-login-form.js +54 -46
- package/dist/collection/components/hy-user-login-form/hy-user-login-form.js.map +1 -0
- package/dist/collection/components/hy-video/hy-video.css +1 -1
- package/dist/collection/components/hy-video/hy-video.js +463 -500
- package/dist/collection/components/hy-video/hy-video.js.map +1 -0
- package/dist/collection/components/icon/AddToTodoList.js +2 -2
- package/dist/collection/components/icon/AddToTodoList.js.map +1 -0
- package/dist/collection/components/icon/Alert.js +2 -3
- package/dist/collection/components/icon/Alert.js.map +1 -0
- package/dist/collection/components/icon/Archive.js +2 -5
- package/dist/collection/components/icon/Archive.js.map +1 -0
- package/dist/collection/components/icon/Arrow.js +2 -2
- package/dist/collection/components/icon/Arrow.js.map +1 -0
- package/dist/collection/components/icon/ArrowDown.js +2 -2
- package/dist/collection/components/icon/ArrowDown.js.map +1 -0
- package/dist/collection/components/icon/ArrowRight.js +2 -7
- package/dist/collection/components/icon/ArrowRight.js.map +1 -0
- package/dist/collection/components/icon/ArrowUp.js +2 -2
- package/dist/collection/components/icon/ArrowUp.js.map +1 -0
- package/dist/collection/components/icon/Avatar.js +2 -2
- package/dist/collection/components/icon/Avatar.js.map +1 -0
- package/dist/collection/components/icon/AvatarGroup.js +2 -2
- package/dist/collection/components/icon/AvatarGroup.js.map +1 -0
- package/dist/collection/components/icon/Bachelor.js +2 -2
- package/dist/collection/components/icon/Bachelor.js.map +1 -0
- package/dist/collection/components/icon/BulletList.js +2 -2
- package/dist/collection/components/icon/BulletList.js.map +1 -0
- package/dist/collection/components/icon/Camera.js +2 -2
- package/dist/collection/components/icon/Camera.js.map +1 -0
- package/dist/collection/components/icon/CaretDown.js +2 -2
- package/dist/collection/components/icon/CaretDown.js.map +1 -0
- package/dist/collection/components/icon/CaretLeft.js +2 -2
- package/dist/collection/components/icon/CaretLeft.js.map +1 -0
- package/dist/collection/components/icon/CaretRight.js +2 -2
- package/dist/collection/components/icon/CaretRight.js.map +1 -0
- package/dist/collection/components/icon/CaretUp.js +2 -2
- package/dist/collection/components/icon/CaretUp.js.map +1 -0
- package/dist/collection/components/icon/Chat.js +2 -2
- package/dist/collection/components/icon/Chat.js.map +1 -0
- package/dist/collection/components/icon/CodeFork.js +2 -2
- package/dist/collection/components/icon/CodeFork.js.map +1 -0
- package/dist/collection/components/icon/Cogs.js +2 -2
- package/dist/collection/components/icon/Cogs.js.map +1 -0
- package/dist/collection/components/icon/Contentlink.js +2 -2
- package/dist/collection/components/icon/Contentlink.js.map +1 -0
- package/dist/collection/components/icon/Customlink.js +2 -2
- package/dist/collection/components/icon/Customlink.js.map +1 -0
- package/dist/collection/components/icon/Date.js +2 -2
- package/dist/collection/components/icon/Date.js.map +1 -0
- package/dist/collection/components/icon/Discover.js +2 -2
- package/dist/collection/components/icon/Discover.js.map +1 -0
- package/dist/collection/components/icon/Done.js +2 -2
- package/dist/collection/components/icon/Done.js.map +1 -0
- package/dist/collection/components/icon/Dot.js +2 -2
- package/dist/collection/components/icon/Dot.js.map +1 -0
- package/dist/collection/components/icon/DotArrowRight.js +2 -6
- package/dist/collection/components/icon/DotArrowRight.js.map +1 -0
- package/dist/collection/components/icon/Download.js +2 -2
- package/dist/collection/components/icon/Download.js.map +1 -0
- package/dist/collection/components/icon/Drag.js +2 -2
- package/dist/collection/components/icon/Drag.js.map +1 -0
- package/dist/collection/components/icon/Dragbutton.js +2 -2
- package/dist/collection/components/icon/Dragbutton.js.map +1 -0
- package/dist/collection/components/icon/DropDown.js +2 -2
- package/dist/collection/components/icon/DropDown.js.map +1 -0
- package/dist/collection/components/icon/Edit.js +2 -2
- package/dist/collection/components/icon/Edit.js.map +1 -0
- package/dist/collection/components/icon/EditEvent.js +2 -2
- package/dist/collection/components/icon/EditEvent.js.map +1 -0
- package/dist/collection/components/icon/Embed.js +2 -2
- package/dist/collection/components/icon/Embed.js.map +1 -0
- package/dist/collection/components/icon/Euro.js +2 -2
- package/dist/collection/components/icon/Euro.js.map +1 -0
- package/dist/collection/components/icon/Events.js +2 -2
- package/dist/collection/components/icon/Events.js.map +1 -0
- package/dist/collection/components/icon/ExternalLink.js +2 -2
- package/dist/collection/components/icon/ExternalLink.js.map +1 -0
- package/dist/collection/components/icon/EyeSlash.js +2 -2
- package/dist/collection/components/icon/EyeSlash.js.map +1 -0
- package/dist/collection/components/icon/Facebook.js +2 -2
- package/dist/collection/components/icon/Facebook.js.map +1 -0
- package/dist/collection/components/icon/Favorites.js +2 -2
- package/dist/collection/components/icon/Favorites.js.map +1 -0
- package/dist/collection/components/icon/Feed.js +2 -2
- package/dist/collection/components/icon/Feed.js.map +1 -0
- package/dist/collection/components/icon/FileText.js +2 -2
- package/dist/collection/components/icon/FileText.js.map +1 -0
- package/dist/collection/components/icon/FullScreen.js +2 -2
- package/dist/collection/components/icon/FullScreen.js.map +1 -0
- package/dist/collection/components/icon/Globe.js +2 -2
- package/dist/collection/components/icon/Globe.js.map +1 -0
- package/dist/collection/components/icon/GooglePlus.js +2 -2
- package/dist/collection/components/icon/GooglePlus.js.map +1 -0
- package/dist/collection/components/icon/Grid.js +2 -2
- package/dist/collection/components/icon/Grid.js.map +1 -0
- package/dist/collection/components/icon/Hamburger.js +2 -2
- package/dist/collection/components/icon/Hamburger.js.map +1 -0
- package/dist/collection/components/icon/Heart.js +2 -2
- package/dist/collection/components/icon/Heart.js.map +1 -0
- package/dist/collection/components/icon/HeartSupport.js +2 -2
- package/dist/collection/components/icon/HeartSupport.js.map +1 -0
- package/dist/collection/components/icon/Helsinginyliopisto.js +2 -2
- package/dist/collection/components/icon/Helsinginyliopisto.js.map +1 -0
- package/dist/collection/components/icon/Home.js +2 -2
- package/dist/collection/components/icon/Home.js.map +1 -0
- package/dist/collection/components/icon/HorizontalResize.js +2 -2
- package/dist/collection/components/icon/HorizontalResize.js.map +1 -0
- package/dist/collection/components/icon/HyLogo.js +2 -2
- package/dist/collection/components/icon/HyLogo.js.map +1 -0
- package/dist/collection/components/icon/IdNumber.js +2 -2
- package/dist/collection/components/icon/IdNumber.js.map +1 -0
- package/dist/collection/components/icon/Image.js +2 -2
- package/dist/collection/components/icon/Image.js.map +1 -0
- package/dist/collection/components/icon/ImageGallery.js +2 -2
- package/dist/collection/components/icon/ImageGallery.js.map +1 -0
- package/dist/collection/components/icon/Images.js +2 -2
- package/dist/collection/components/icon/Images.js.map +1 -0
- package/dist/collection/components/icon/Info.js +2 -2
- package/dist/collection/components/icon/Info.js.map +1 -0
- package/dist/collection/components/icon/InfoStroke.js +2 -2
- package/dist/collection/components/icon/InfoStroke.js.map +1 -0
- package/dist/collection/components/icon/Instagram.js +2 -2
- package/dist/collection/components/icon/Instagram.js.map +1 -0
- package/dist/collection/components/icon/LeikiList.js +2 -2
- package/dist/collection/components/icon/LeikiList.js.map +1 -0
- package/dist/collection/components/icon/LinkArrow.js +2 -2
- package/dist/collection/components/icon/LinkArrow.js.map +1 -0
- package/dist/collection/components/icon/LinkArrow1.js +2 -2
- package/dist/collection/components/icon/LinkArrow1.js.map +1 -0
- package/dist/collection/components/icon/LinkArrowDown.js +2 -2
- package/dist/collection/components/icon/LinkArrowDown.js.map +1 -0
- package/dist/collection/components/icon/LinkArrowLeft.js +2 -2
- package/dist/collection/components/icon/LinkArrowLeft.js.map +1 -0
- package/dist/collection/components/icon/LinkArrowOffsite.js +2 -2
- package/dist/collection/components/icon/LinkArrowOffsite.js.map +1 -0
- package/dist/collection/components/icon/LinkArrowUp.js +2 -2
- package/dist/collection/components/icon/LinkArrowUp.js.map +1 -0
- package/dist/collection/components/icon/Linkedin.js +2 -2
- package/dist/collection/components/icon/Linkedin.js.map +1 -0
- package/dist/collection/components/icon/List.js +2 -2
- package/dist/collection/components/icon/List.js.map +1 -0
- package/dist/collection/components/icon/ListAsBlocks.js +2 -2
- package/dist/collection/components/icon/ListAsBlocks.js.map +1 -0
- package/dist/collection/components/icon/ListStyleGrid.js +2 -10
- package/dist/collection/components/icon/ListStyleGrid.js.map +1 -0
- package/dist/collection/components/icon/ListStyleList.js +2 -5
- package/dist/collection/components/icon/ListStyleList.js.map +1 -0
- package/dist/collection/components/icon/Listoflinks.js +2 -2
- package/dist/collection/components/icon/Listoflinks.js.map +1 -0
- package/dist/collection/components/icon/Location.js +2 -2
- package/dist/collection/components/icon/Location.js.map +1 -0
- package/dist/collection/components/icon/Log.js +2 -2
- package/dist/collection/components/icon/Log.js.map +1 -0
- package/dist/collection/components/icon/Login.js +2 -2
- package/dist/collection/components/icon/Login.js.map +1 -0
- package/dist/collection/components/icon/Logout.js +2 -2
- package/dist/collection/components/icon/Logout.js.map +1 -0
- package/dist/collection/components/icon/MagnifyMinus.js +2 -2
- package/dist/collection/components/icon/MagnifyMinus.js.map +1 -0
- package/dist/collection/components/icon/MagnifyPlus.js +2 -2
- package/dist/collection/components/icon/MagnifyPlus.js.map +1 -0
- package/dist/collection/components/icon/Mail.js +2 -2
- package/dist/collection/components/icon/Mail.js.map +1 -0
- package/dist/collection/components/icon/Master.js +2 -2
- package/dist/collection/components/icon/Master.js.map +1 -0
- package/dist/collection/components/icon/Minus.js +2 -2
- package/dist/collection/components/icon/Minus.js.map +1 -0
- package/dist/collection/components/icon/Mobile.js +2 -2
- package/dist/collection/components/icon/Mobile.js.map +1 -0
- package/dist/collection/components/icon/Modify.js +2 -2
- package/dist/collection/components/icon/Modify.js.map +1 -0
- package/dist/collection/components/icon/NaviTriangle.js +2 -2
- package/dist/collection/components/icon/NaviTriangle.js.map +1 -0
- package/dist/collection/components/icon/NewGroup.js +2 -2
- package/dist/collection/components/icon/NewGroup.js.map +1 -0
- package/dist/collection/components/icon/NewPerson.js +2 -2
- package/dist/collection/components/icon/NewPerson.js.map +1 -0
- package/dist/collection/components/icon/Notification.js +2 -2
- package/dist/collection/components/icon/Notification.js.map +1 -0
- package/dist/collection/components/icon/OpinderLogo.js +2 -2
- package/dist/collection/components/icon/OpinderLogo.js.map +1 -0
- package/dist/collection/components/icon/OpinderLogoNew.js +2 -2
- package/dist/collection/components/icon/OpinderLogoNew.js.map +1 -0
- package/dist/collection/components/icon/Pdf.js +2 -2
- package/dist/collection/components/icon/Pdf.js.map +1 -0
- package/dist/collection/components/icon/People.js +2 -2
- package/dist/collection/components/icon/People.js.map +1 -0
- package/dist/collection/components/icon/PermissionAll.js +2 -2
- package/dist/collection/components/icon/PermissionAll.js.map +1 -0
- package/dist/collection/components/icon/PermissionGroup.js +2 -2
- package/dist/collection/components/icon/PermissionGroup.js.map +1 -0
- package/dist/collection/components/icon/PermissionPrivate.js +2 -2
- package/dist/collection/components/icon/PermissionPrivate.js.map +1 -0
- package/dist/collection/components/icon/Person.js +2 -2
- package/dist/collection/components/icon/Person.js.map +1 -0
- package/dist/collection/components/icon/PersonOutline.js +2 -2
- package/dist/collection/components/icon/PersonOutline.js.map +1 -0
- package/dist/collection/components/icon/Phone.js +2 -2
- package/dist/collection/components/icon/Phone.js.map +1 -0
- package/dist/collection/components/icon/Play.js +2 -2
- package/dist/collection/components/icon/Play.js.map +1 -0
- package/dist/collection/components/icon/Plus.js +2 -2
- package/dist/collection/components/icon/Plus.js.map +1 -0
- package/dist/collection/components/icon/Preview.js +2 -2
- package/dist/collection/components/icon/Preview.js.map +1 -0
- package/dist/collection/components/icon/Profile.js +2 -2
- package/dist/collection/components/icon/Profile.js.map +1 -0
- package/dist/collection/components/icon/Question.js +2 -2
- package/dist/collection/components/icon/Question.js.map +1 -0
- package/dist/collection/components/icon/Remove.js +2 -2
- package/dist/collection/components/icon/Remove.js.map +1 -0
- package/dist/collection/components/icon/Retweet.js +2 -2
- package/dist/collection/components/icon/Retweet.js.map +1 -0
- package/dist/collection/components/icon/RotateLeft.js +2 -2
- package/dist/collection/components/icon/RotateLeft.js.map +1 -0
- package/dist/collection/components/icon/RotateRight.js +2 -2
- package/dist/collection/components/icon/RotateRight.js.map +1 -0
- package/dist/collection/components/icon/Search.js +2 -2
- package/dist/collection/components/icon/Search.js.map +1 -0
- package/dist/collection/components/icon/Share.js +2 -2
- package/dist/collection/components/icon/Share.js.map +1 -0
- package/dist/collection/components/icon/SlimHamburgerMenu.js +2 -2
- package/dist/collection/components/icon/SlimHamburgerMenu.js.map +1 -0
- package/dist/collection/components/icon/SocialMedia.js +2 -2
- package/dist/collection/components/icon/SocialMedia.js.map +1 -0
- package/dist/collection/components/icon/SomeFacebook.js +2 -2
- package/dist/collection/components/icon/SomeFacebook.js.map +1 -0
- package/dist/collection/components/icon/SomeInstagram.js +2 -4
- package/dist/collection/components/icon/SomeInstagram.js.map +1 -0
- package/dist/collection/components/icon/SomeLinkedin.js +2 -2
- package/dist/collection/components/icon/SomeLinkedin.js.map +1 -0
- package/dist/collection/components/icon/SomeTwitter.js +2 -2
- package/dist/collection/components/icon/SomeTwitter.js.map +1 -0
- package/dist/collection/components/icon/SomeYoutube.js +2 -2
- package/dist/collection/components/icon/SomeYoutube.js.map +1 -0
- package/dist/collection/components/icon/Spinner.js +2 -2
- package/dist/collection/components/icon/Spinner.js.map +1 -0
- package/dist/collection/components/icon/Square.js +2 -2
- package/dist/collection/components/icon/Square.js.map +1 -0
- package/dist/collection/components/icon/SquareChecked.js +2 -2
- package/dist/collection/components/icon/SquareChecked.js.map +1 -0
- package/dist/collection/components/icon/Time.js +2 -2
- package/dist/collection/components/icon/Time.js.map +1 -0
- package/dist/collection/components/icon/TodoList.js +2 -2
- package/dist/collection/components/icon/TodoList.js.map +1 -0
- package/dist/collection/components/icon/Tour.js +2 -2
- package/dist/collection/components/icon/Tour.js.map +1 -0
- package/dist/collection/components/icon/Twitter.js +2 -2
- package/dist/collection/components/icon/Twitter.js.map +1 -0
- package/dist/collection/components/icon/TwitterLike.js +2 -2
- package/dist/collection/components/icon/TwitterLike.js.map +1 -0
- package/dist/collection/components/icon/UnitsAndFaculties.js +2 -2
- package/dist/collection/components/icon/UnitsAndFaculties.js.map +1 -0
- package/dist/collection/components/icon/Url.js +2 -2
- package/dist/collection/components/icon/Url.js.map +1 -0
- package/dist/collection/components/icon/Video.js +2 -2
- package/dist/collection/components/icon/Video.js.map +1 -0
- package/dist/collection/components/icon/Warning.js +2 -2
- package/dist/collection/components/icon/Warning.js.map +1 -0
- package/dist/collection/components/icon/Wrench.js +2 -2
- package/dist/collection/components/icon/Wrench.js.map +1 -0
- package/dist/collection/components/icon/Youtube.js +2 -2
- package/dist/collection/components/icon/Youtube.js.map +1 -0
- package/dist/collection/components/icon/allIcons.js +1 -0
- package/dist/collection/components/icon/allIcons.js.map +1 -0
- package/dist/collection/components/icon/icon.js +68 -60
- package/dist/collection/components/icon/icon.js.map +1 -0
- package/dist/collection/components/icon/icons.js +5 -8
- package/dist/collection/components/icon/icons.js.map +1 -0
- package/dist/collection/components/image/image.js +148 -141
- package/dist/collection/components/image/image.js.map +1 -0
- package/dist/collection/components/ingress/ingress.js +35 -30
- package/dist/collection/components/ingress/ingress.js.map +1 -0
- package/dist/collection/components/link/link.js +107 -99
- package/dist/collection/components/link/link.js.map +1 -0
- package/dist/collection/components/link-box/link-box.css +0 -1
- package/dist/collection/components/link-box/link-box.js +271 -272
- package/dist/collection/components/link-box/link-box.js.map +1 -0
- package/dist/collection/components/link-box-list/link-box-list.js +96 -89
- package/dist/collection/components/link-box-list/link-box-list.js.map +1 -0
- package/dist/collection/components/navigation/hy-menu-main-group/hy-menu-main-group.js +286 -290
- package/dist/collection/components/navigation/hy-menu-main-group/hy-menu-main-group.js.map +1 -0
- package/dist/collection/components/navigation/menu-language/menu-language.js +148 -138
- package/dist/collection/components/navigation/menu-language/menu-language.js.map +1 -0
- package/dist/collection/components/navigation/menu-language-item/menu-language-item.js +124 -114
- package/dist/collection/components/navigation/menu-language-item/menu-language-item.js.map +1 -0
- package/dist/collection/components/pagination/hy-pager/hy-pager.js +13 -9
- package/dist/collection/components/pagination/hy-pager/hy-pager.js.map +1 -0
- package/dist/collection/components/pagination/hy-pager-item/hy-pager-item.js +93 -95
- package/dist/collection/components/pagination/hy-pager-item/hy-pager-item.js.map +1 -0
- package/dist/collection/components/paragraph-text/paragraph-text-content.css +14 -14
- package/dist/collection/components/paragraph-text/paragraph-text-landing.css +8 -8
- package/dist/collection/components/paragraph-text/paragraph-text.css +22 -22
- package/dist/collection/components/paragraph-text/paragraph-text.js +73 -67
- package/dist/collection/components/paragraph-text/paragraph-text.js.map +1 -0
- package/dist/collection/components/person-profile/person-profile-listing/person-profile-listing.css +1 -1
- package/dist/collection/components/person-profile/person-profile-listing/person-profile.listing.js +128 -126
- package/dist/collection/components/person-profile/person-profile-listing/person-profile.listing.js.map +1 -0
- package/dist/collection/components/person-profile/person-profile.css +4 -4
- package/dist/collection/components/person-profile/person-profile.js +139 -182
- package/dist/collection/components/person-profile/person-profile.js.map +1 -0
- package/dist/collection/components/process/process.js +72 -62
- package/dist/collection/components/process/process.js.map +1 -0
- package/dist/collection/components/process-flow-box/process-flow-box.js +145 -148
- package/dist/collection/components/process-flow-box/process-flow-box.js.map +1 -0
- package/dist/collection/components/row/row.js +69 -72
- package/dist/collection/components/row/row.js.map +1 -0
- package/dist/collection/components/section-container/section-container.js +13 -9
- package/dist/collection/components/section-container/section-container.js.map +1 -0
- package/dist/collection/components/site-header/site-header.css +1 -1
- package/dist/collection/components/site-header/site-header.js +541 -560
- package/dist/collection/components/site-header/site-header.js.map +1 -0
- package/dist/collection/components/site-header/site-logo/site-logo.js +149 -148
- package/dist/collection/components/site-header/site-logo/site-logo.js.map +1 -0
- package/dist/collection/components/site-header/site-search/site-search.css +3 -3
- package/dist/collection/components/site-header/site-search/site-search.js +298 -312
- package/dist/collection/components/site-header/site-search/site-search.js.map +1 -0
- package/dist/collection/components/tiny-text/tiny-text.js +13 -9
- package/dist/collection/components/tiny-text/tiny-text.js.map +1 -0
- package/dist/collection/global/colors.js +1 -0
- package/dist/collection/global/colors.js.map +1 -0
- package/dist/collection/global/globalScript.js +1 -0
- package/dist/collection/global/globalScript.js.map +1 -0
- package/dist/collection/global/typography.js +1 -0
- package/dist/collection/global/typography.js.map +1 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/utils/utils.js +1 -0
- package/dist/collection/utils/utils.js.map +1 -0
- package/dist/esm/color-box_8.entry.js +14 -37
- package/dist/esm/color-box_8.entry.js.map +1 -0
- package/dist/esm/{globalScript-9d045b36.js → globalScript-4ad40215.js} +3 -1
- package/dist/esm/globalScript-4ad40215.js.map +1 -0
- package/dist/esm/huds-lib.js +10 -4
- package/dist/esm/huds-lib.js.map +1 -0
- package/dist/esm/hy-accordion-container_83.entry.js +389 -193
- package/dist/esm/hy-accordion-container_83.entry.js.map +1 -0
- package/dist/esm/hy-event-item.entry.js +7 -2
- package/dist/esm/hy-event-item.entry.js.map +1 -0
- package/dist/esm/hy-events.entry.js +7 -3
- package/dist/esm/hy-events.entry.js.map +1 -0
- package/dist/esm/{index-daaf0985.js → index-3a66d87e.js} +692 -288
- package/dist/esm/index-3a66d87e.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +7 -4
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{utils-7731bbdf.js → utils-43c56d92.js} +3 -1
- package/dist/esm/utils-43c56d92.js.map +1 -0
- package/dist/huds-lib/huds-lib.esm.js +2 -1
- package/dist/huds-lib/huds-lib.esm.js.map +1 -0
- package/dist/huds-lib/index.esm.js +2 -0
- package/dist/huds-lib/index.esm.js.map +1 -0
- package/dist/huds-lib/p-1aeae669.entry.js +2 -0
- package/dist/huds-lib/p-1aeae669.entry.js.map +1 -0
- package/dist/huds-lib/p-30e3190a.entry.js +88 -0
- package/dist/huds-lib/p-30e3190a.entry.js.map +1 -0
- package/dist/huds-lib/p-63584350.js +2 -0
- package/dist/huds-lib/p-63584350.js.map +1 -0
- package/dist/huds-lib/p-7b75f0ea.entry.js +2 -0
- package/dist/huds-lib/p-7b75f0ea.entry.js.map +1 -0
- package/dist/huds-lib/p-b02e49ad.js +2 -0
- package/dist/huds-lib/p-b02e49ad.js.map +1 -0
- package/dist/huds-lib/p-c8ed784d.entry.js +2 -0
- package/dist/huds-lib/p-c8ed784d.entry.js.map +1 -0
- package/dist/huds-lib/p-ff975a68.js +3 -0
- package/dist/huds-lib/p-ff975a68.js.map +1 -0
- package/dist/types/components/courses/hy-content-list-item/hy-content-list-item.d.ts +1 -1
- package/dist/types/components/person-profile/person-profile-listing/person-profile.listing.d.ts +1 -1
- package/dist/types/components.d.ts +68 -20
- package/dist/types/stencil-public-runtime.d.ts +92 -19
- package/dist/types/utils/utils.d.ts +4 -4
- package/loader/index.d.ts +11 -12
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -11
- package/loader/package.json +2 -1
- package/package.json +12 -11
- package/dist/huds-lib/p-04dcccdc.js +0 -1
- package/dist/huds-lib/p-0ea3ec9a.js +0 -1
- package/dist/huds-lib/p-2244fcda.entry.js +0 -1
- package/dist/huds-lib/p-aba9f82a.entry.js +0 -1
- package/dist/huds-lib/p-bf06c2eb.entry.js +0 -87
- package/dist/huds-lib/p-c68c36c3.entry.js +0 -1
- package/dist/huds-lib/p-f8697bf9.js +0 -1
|
@@ -2,17 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-25bd964b.js');
|
|
6
6
|
|
|
7
7
|
const hyEventItemCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}.hy-events__item{display:-webkit-box;display:-ms-flexbox;display:flex;border:1px solid #d8d8d8;padding:13px 16px;position:relative;text-decoration:none;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;white-space:initial;margin-bottom:1rem}@media (min-width: 48rem){.hy-events__item{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding:47px;margin-bottom:1.75rem}}@media (min-width: 48rem){.hy-events__item:not(.hy-events__item--grid) .hy-events__item--container{display:-webkit-box;display:-ms-flexbox;display:flex}}.hy-events__item:hover .hy-events__item__title{color:var(--brand-main);text-decoration:underline}.hy-events__item:hover .hy-events__item__date--short,.hy-events__item:hover .hy-events__item__url-icon{background-color:var(--brand-main-active)}.hy-events__item__title{font-size:1.125rem;line-height:24px;-webkit-box-orient:vertical;-webkit-line-clamp:6;color:var(--grayscale-black);display:-webkit-box;font-family:var(--main-font-family);font-weight:700;letter-spacing:-0.36px;line-clamp:6;margin-bottom:16px;overflow:hidden;text-overflow:ellipsis}@media (min-width: 48rem){.hy-events__item__title{font-size:1.375rem;line-height:28px;font-weight:700;font-size:22px;line-height:28px;letter-spacing:-0.44px;margin-bottom:14px}}.hy-events__item__details{font-family:var(--main-font-family);font-style:normal;font-weight:400;font-size:17px;line-height:26px;color:var(--grayscale-black)}.hy-events__item__meta{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}@media (min-width: 48rem){.hy-events__item__meta{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.hy-events__item__meta--item{font-size:0.9375rem;line-height:22px;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin-right:0px;margin-bottom:9px;font-family:var(--main-font-family);font-weight:400;word-break:break-word}@media (min-width: 48rem){.hy-events__item__meta--item{font-size:1.0625rem;line-height:26px;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;margin-right:35px;margin-bottom:0;font-weight:400}}.hy-events__item__meta--item svg{width:20px;height:20px;margin-right:9px;margin-top:2px}@media (min-width: 48rem){.hy-events__item__meta--item svg{margin-top:1px}}.hy-events__item__date--short{font-size:0.9375rem;line-height:18px;display:-webkit-box;display:-ms-flexbox;display:flex;color:var(--grayscale-white);background:var(--brand-main-light);font-family:var(--main-font-family);font-style:normal;font-weight:700;padding:6px 8px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;text-align:center;letter-spacing:-0.28125px;text-decoration:none;margin-bottom:20px;margin-right:0}@media (min-width: 48rem){.hy-events__item__date--short{font-size:1.0625rem;line-height:20px;letter-spacing:-0.31875px;padding:0;height:68px;width:68px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-right:47px;margin-bottom:0}}.hy-events__item__url-icon{display:none;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:absolute;background:var(--brand-main-light);color:var(--grayscale-white);width:32px;height:32px;bottom:16px;right:-9px;z-index:1}@media (min-width: 48rem){.hy-events__item__url-icon{display:-webkit-box;display:-ms-flexbox;display:flex}}.hy-events__item__url-icon svg{fill:currentColor}.hy-events__item__read-more{font-size:0.9375rem;line-height:18px;color:var(--brand-main-light);font-weight:700;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;letter-spacing:-0.28125px;margin-top:10px}@media (min-width: 48rem){.hy-events__item__read-more{display:none}}.hy-events__item--grid{padding:1rem;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-width:280px;max-width:100%;min-height:255px;position:relative;margin-bottom:0}@media (min-width: 48rem){.hy-events__item--grid{max-width:280px;padding:1rem 1rem 0 1rem}}.hy-events__item--grid.is-long{max-height:100%}@media (min-width: 48rem){.hy-events__item--grid.is-long{max-height:255px}}.hy-events__item--grid.is-long::after{display:none;content:\"\";background:-webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), to(#ffffff));background:linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);position:absolute;bottom:0;left:0;width:100%;height:36px}@media (min-width: 48rem){.hy-events__item--grid.is-long::after{display:block}}.hy-events__item--grid.is-long .hy-events__item--container{overflow:visible}@media (min-width: 48rem){.hy-events__item--grid.is-long .hy-events__item--container{overflow:hidden}}@media (min-width: 48rem){.hy-events__item--grid.is-long:hover,.hy-events__item--grid.is-long:focus{border:0}}.hy-events__item--grid.is-long:hover::after,.hy-events__item--grid.is-long:hover .hy-events__item--toggle,.hy-events__item--grid.is-long:focus::after,.hy-events__item--grid.is-long:focus .hy-events__item--toggle{display:none}@media (min-width: 48rem){.hy-events__item--grid.is-long:hover .hy-events__item--container,.hy-events__item--grid.is-long:focus .hy-events__item--container{background-color:white;border:1px solid #d8d8d8;padding:16px 16px;position:absolute;top:0;left:0;min-height:255px;overflow:visible}}.hy-events__item--grid .hy-events__item__title{font-size:1.125rem;line-height:24px;letter-spacing:-0.36px}.hy-events__item--grid .hy-events__item--toggle{display:none;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background:#d7d7d7;border-radius:50%;position:absolute;top:16px;right:16px;width:24px;height:24px}@media (min-width: 48rem){.hy-events__item--grid .hy-events__item--toggle{display:-webkit-box;display:-ms-flexbox;display:flex}}.hy-events__item--grid .hy-events__item__meta{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:9px}.hy-events__item--grid .hy-events__item__meta--item{font-size:0.9375rem;line-height:22px}.hy-events__item--grid .hy-events__item__date--short{padding:6px}@media (min-width: 48rem){.hy-events__item--grid .hy-events__item__date--short{font-size:0.9375rem;line-height:18px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;height:auto;font-weight:700;letter-spacing:-0.28125px;margin-bottom:18px}}";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
const HyEventItem = class {
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
|
+
this.eventTitle = undefined;
|
|
12
13
|
this.eventDescription = '';
|
|
13
14
|
this.dateShort = '';
|
|
14
15
|
this.dateLong = '';
|
|
15
16
|
this.location = '';
|
|
17
|
+
this.type = undefined;
|
|
18
|
+
this.url = undefined;
|
|
16
19
|
this.styleGrid = false;
|
|
17
20
|
this.readMoreLabel = 'Read more';
|
|
18
21
|
this.isLong = false;
|
|
@@ -38,3 +41,5 @@ let HyEventItem = class {
|
|
|
38
41
|
HyEventItem.style = hyEventItemCss;
|
|
39
42
|
|
|
40
43
|
exports.hy_event_item = HyEventItem;
|
|
44
|
+
|
|
45
|
+
//# sourceMappingURL=hy-event-item.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"hy-event-item.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,cAAc,GAAG,04PAA04P;;MCOp5P,WAAW;;;;4BAGa,EAAE;qBACT,EAAE;oBACH,EAAE;oBACF,EAAE;;;qBAGA,KAAK;yBACF,WAAW;kBAEhB,KAAK;;EAEhC,gBAAgB;IACd,MAAM,IAAI,GAAG,IAAI,CAAC,EAAE,CAAC;IACrB,IAAI,IAAI,CAAC,SAAS,EAAE;MAClB,IAAI,IAAI,CAAC,YAAY,GAAG,GAAG,EAAE;QAC3B,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;OACpB;KACF;GACF;EAED,MAAM;IACJ,MAAM,gBAAgB,GAAG;MACvB,iBAAiB;MACjB,IAAI,CAAC,SAAS,GAAG,uBAAuB,GAAG,uBAAuB;MAClE,IAAI,CAAC,MAAM,GAAG,SAAS,GAAG,EAAE;KAC7B,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAEZ,QACEA,eAAG,IAAI,EAAE,IAAI,CAAC,GAAG,EAAE,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAC,QAAQ,IACzDA,iBAAK,KAAK,EAAC,4BAA4B,IACrCA,iBAAK,KAAK,EAAC,gCAAgC,IACzCA,kBAAM,KAAK,EAAC,8BAA8B,IAAE,IAAI,CAAC,SAAS,CAAQ,EACjE,IAAI,CAAC,MAAM,KACVA,kBAAM,KAAK,EAAC,yBAAyB,IACnCA,qBAAS,IAAI,EAAC,oBAAoB,EAAC,IAAI,EAAE,EAAE,GAAY,CAClD,CACR,CACG,EACNA,iBAAK,KAAK,EAAC,0BAA0B,IACnCA,iBAAK,KAAK,EAAC,wBAAwB,IAAE,IAAI,CAAC,UAAU,CAAO,EAC3DA,iBAAK,KAAK,EAAC,uBAAuB,IAC/B,IAAI,CAAC,QAAQ,KACZA,iBAAK,KAAK,EAAC,yDAAyD,IAClEA,qBAAS,IAAI,EAAC,gBAAgB,EAAC,IAAI,EAAE,EAAE,GAAY,EAClD,IAAI,CAAC,QAAQ,CACV,CACP,EACA,IAAI,CAAC,QAAQ,KACZA,iBAAK,KAAK,EAAC,uDAAuD,IAChEA,qBAAS,IAAI,EAAC,kBAAkB,EAAC,IAAI,EAAE,EAAE,GAAY,EACpD,IAAI,CAAC,QAAQ,CACV,CACP,EACA,IAAI,CAAC,IAAI,KACRA,iBAAK,KAAK,EAAC,mDAAmD,IAC5DA,qBAAS,IAAI,EAAC,gBAAgB,EAAC,IAAI,EAAE,EAAE,GAAY,EAClD,IAAI,CAAC,IAAI,CACN,CACP,EACDA,kBAAM,KAAK,EAAC,4BAA4B,IAAE,IAAI,CAAC,aAAa,CAAQ,CAChE,CACF,EACNA,kBAAM,KAAK,EAAC,2BAA2B,iBAAa,MAAM,IACxDA,qBAAS,IAAI,EAAC,qBAAqB,EAAC,IAAI,EAAE,EAAE,GAAY,CACnD,CACH,CACJ,EACJ;GACH;;;;;;;","names":["h"],"sources":["./src/components/hy-event-item/hy-event-item.scss?tag=hy-event-item","./src/components/hy-event-item/hy-event-item.tsx"],"sourcesContent":[".hy-events__item {\n display: flex;\n border: 1px solid #d8d8d8;\n padding: 13px 16px;\n position: relative;\n text-decoration: none;\n flex-direction: column;\n white-space: initial;\n margin-bottom: 1rem;\n\n @include breakpoint($medium) {\n flex-direction: row;\n padding: 47px;\n margin-bottom: 1.75rem;\n }\n\n &:not(.hy-events__item--grid) .hy-events__item--container {\n @include breakpoint($medium) {\n display: flex;\n }\n }\n\n &:hover {\n .hy-events__item__title {\n color: var(--brand-main);\n text-decoration: underline;\n }\n\n .hy-events__item__date--short,\n .hy-events__item__url-icon {\n background-color: var(--brand-main-active);\n }\n }\n\n &__title {\n @include font-size(18px, 24px);\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 6;\n color: var(--grayscale-black);\n display: -webkit-box;\n font-family: var(--main-font-family);\n font-weight: 700;\n letter-spacing: -0.36px;\n line-clamp: 6;\n margin-bottom: 16px;\n overflow: hidden;\n text-overflow: ellipsis;\n\n @include breakpoint($medium) {\n @include font-size(22px, 28px);\n\n font-weight: 700;\n font-size: 22px;\n line-height: 28px;\n letter-spacing: -0.44px;\n margin-bottom: 14px;\n }\n }\n\n &__details {\n font-family: var(--main-font-family);\n font-style: normal;\n font-weight: 400;\n font-size: 17px;\n line-height: 26px;\n color: var(--grayscale-black);\n }\n\n &__meta {\n display: flex;\n flex-direction: column;\n\n @include breakpoint($medium) {\n flex-direction: row;\n }\n\n &--item {\n @include font-size(15px, 22px);\n align-items: flex-start;\n display: flex;\n flex-direction: row;\n margin-right: 0px;\n margin-bottom: 9px;\n font-family: var(--main-font-family);\n font-weight: 400;\n word-break: break-word;\n\n @include breakpoint($medium) {\n @include font-size(17px, 26px);\n align-items: flex-start;\n margin-right: 35px;\n margin-bottom: 0;\n font-weight: 400;\n }\n\n svg {\n width: 20px;\n height: 20px;\n margin-right: 9px;\n margin-top: 2px;\n\n @include breakpoint($medium) {\n margin-top: 1px;\n }\n }\n }\n }\n\n &__date--short {\n @include font-size(15px, 18px);\n display: flex;\n color: var(--grayscale-white);\n background: var(--brand-main-light);\n font-family: var(--main-font-family);\n font-style: normal;\n font-weight: 700;\n padding: 6px 8px;\n width: fit-content;\n text-align: center;\n letter-spacing: -0.28125px;\n text-decoration: none;\n margin-bottom: 20px;\n margin-right: 0;\n\n @include breakpoint($medium) {\n @include font-size(17px, 20px);\n letter-spacing: -0.31875px;\n padding: 0;\n height: 68px;\n width: 68px;\n justify-content: center;\n align-items: center;\n margin-right: 47px;\n margin-bottom: 0;\n }\n }\n\n &__url-icon {\n display: none;\n align-items: center;\n justify-content: center;\n position: absolute;\n background: var(--brand-main-light);\n color: var(--grayscale-white);\n width: 32px;\n height: 32px;\n bottom: 16px;\n right: -9px;\n z-index: 1;\n\n @include breakpoint($medium) {\n display: flex;\n }\n\n svg {\n fill: currentColor;\n }\n }\n\n &__read-more {\n @include font-size(15px, 18px);\n color: var(--brand-main-light);\n font-weight: 700;\n display: flex;\n align-items: center;\n letter-spacing: -0.28125px;\n margin-top: 10px;\n\n @include breakpoint($medium) {\n display: none;\n }\n }\n\n &--grid {\n padding: 1rem;\n flex-direction: column;\n min-width: 280px;\n max-width: 100%;\n min-height: 255px;\n position: relative;\n margin-bottom: 0;\n\n @include breakpoint($medium) {\n max-width: 280px;\n padding: 1rem 1rem 0 1rem;\n }\n\n &.is-long {\n max-height: 100%;\n\n @include breakpoint($medium) {\n max-height: 255px;\n }\n\n &::after {\n display: none;\n content: '';\n background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 36px;\n\n @include breakpoint($medium) {\n display: block;\n }\n }\n\n .hy-events__item--container {\n overflow: visible;\n\n @include breakpoint($medium) {\n overflow: hidden;\n }\n }\n\n &:hover,\n &:focus {\n @include breakpoint($medium) {\n border: 0;\n }\n\n &::after,\n .hy-events__item--toggle {\n display: none;\n }\n\n .hy-events__item--container {\n @include breakpoint($medium) {\n background-color: white;\n border: 1px solid #d8d8d8;\n padding: 16px 16px;\n position: absolute;\n top: 0;\n left: 0;\n min-height: 255px;\n overflow: visible;\n }\n }\n }\n }\n\n .hy-events__item__title {\n @include font-size(18px, 24px);\n letter-spacing: -0.36px;\n }\n\n .hy-events__item--toggle {\n display: none;\n align-items: center;\n justify-content: center;\n background: #d7d7d7;\n border-radius: 50%;\n position: absolute;\n top: 16px;\n right: 16px;\n width: 24px;\n height: 24px;\n\n @include breakpoint($medium) {\n display: flex;\n }\n }\n\n .hy-events__item__meta {\n flex-direction: column;\n gap: 9px;\n\n &--item {\n @include font-size(15px, 22px);\n }\n }\n\n .hy-events__item__date--short {\n padding: 6px;\n\n @include breakpoint($medium) {\n @include font-size(15px, 18px);\n width: fit-content;\n height: auto;\n font-weight: 700;\n letter-spacing: -0.28125px;\n margin-bottom: 18px;\n }\n }\n }\n}\n","import {Component, Element, h, Prop, State} from '@stencil/core';\n\n@Component({\n tag: 'hy-event-item',\n styleUrl: 'hy-event-item.scss',\n shadow: false,\n})\nexport class HyEventItem {\n @Element() el: HTMLElement;\n @Prop() eventTitle?: string;\n @Prop() eventDescription: string = '';\n @Prop() dateShort: string = '';\n @Prop() dateLong: string = '';\n @Prop() location: string = '';\n @Prop() type: string;\n @Prop() url: string;\n @Prop() styleGrid: boolean = false;\n @Prop() readMoreLabel: string = 'Read more';\n\n @State() isLong: boolean = false;\n\n componentDidLoad() {\n const link = this.el;\n if (this.styleGrid) {\n if (link.clientHeight > 255) {\n this.isLong = true;\n }\n }\n }\n\n render() {\n const containerClasses = [\n 'hy-events__item',\n this.styleGrid ? 'hy-events__item--grid' : 'hy-events__item--list',\n this.isLong ? 'is-long' : '',\n ].join(' ');\n\n return (\n <a href={this.url} class={containerClasses} target=\"_blank\">\n <div class=\"hy-events__item--container\">\n <div class=\"hy-events__item__top-container\">\n <span class=\"hy-events__item__date--short\">{this.dateShort}</span>\n {this.isLong && (\n <span class=\"hy-events__item--toggle\">\n <hy-icon icon=\"hy-icon-caret-down\" size={10}></hy-icon>\n </span>\n )}\n </div>\n <div class=\"hy-events__item__details\">\n <div class=\"hy-events__item__title\">{this.eventTitle}</div>\n <div class=\"hy-events__item__meta\">\n {this.dateLong && (\n <div class=\"hy-events__item__meta--item hy-events__item__date--long\">\n <hy-icon icon=\"hy-icon-events\" size={18}></hy-icon>\n {this.dateLong}\n </div>\n )}\n {this.location && (\n <div class=\"hy-events__item__meta--item hy-events__item__location\">\n <hy-icon icon=\"hy-icon-location\" size={18}></hy-icon>\n {this.location}\n </div>\n )}\n {this.type && (\n <div class=\"hy-events__item__meta--item hy-events__item__type\">\n <hy-icon icon=\"hy-icon-people\" size={18}></hy-icon>\n {this.type}\n </div>\n )}\n <span class=\"hy-events__item__read-more\">{this.readMoreLabel}</span>\n </div>\n </div>\n <span class=\"hy-events__item__url-icon\" aria-hidden=\"true\">\n <hy-icon icon=\"hy-icon-arrow-right\" size={18}></hy-icon>\n </span>\n </div>\n </a>\n );\n }\n}\n"],"version":3}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-25bd964b.js');
|
|
6
6
|
const utils = require('./utils-14d5aa6f.js');
|
|
7
7
|
|
|
8
8
|
const hyEventsCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}hy-events.no-events .hy-events__no-result-container{font-family:var(--main-font-family)}hy-events.no-events .hy-events--wrapper .hy-events--grid{padding-bottom:0}hy-events.no-events .hy-events__footer{display:none}.hy-events--wrapper .hy-events{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.hy-events--wrapper .hy-events--grid{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:1.5rem;overflow-x:hidden;white-space:nowrap;scrollbar-width:none}@media (min-width: 48rem){.hy-events--wrapper .hy-events--grid{padding-bottom:14rem}}.hy-events--wrapper .hy-events--grid .hy-events__content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:24px;-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}@media (min-width: 48rem){.hy-events--wrapper .hy-events--grid .hy-events__content{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.hy-events--wrapper .hy-events__footer{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:2rem}.hy-events--wrapper .hy-events__footer--grid{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin-top:1.5rem}@media (min-width: 48rem){.hy-events--wrapper .hy-events__footer--grid{margin-top:-9.5rem}}.hy-events--wrapper .hy-events__scroll-buttons{display:none;margin-top:2rem}@media (min-width: 48rem){.hy-events--wrapper .hy-events__scroll-buttons{display:-webkit-box;display:-ms-flexbox;display:flex}}.hy-events--wrapper .hy-events__scroll-buttons button{border:none;background:none;padding:0.5rem}.hy-events--wrapper .hy-events__scroll-buttons button:hover{cursor:pointer}.hy-events--wrapper .hy-events__scroll-buttons button:hover svg{scale:1.1}.hy-events--wrapper .hy-events__scroll-buttons button.is-hidden{display:none}.hy-events--wrapper .hy-events__scroll-buttons button.is-disabled{pointer-events:none}.hy-events--wrapper .hy-events__scroll-buttons button.is-disabled svg{fill:var(--link-disabled)}";
|
|
@@ -10,11 +10,13 @@ const hyEventsCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--bran
|
|
|
10
10
|
let scrollTimeout = null;
|
|
11
11
|
let checkTimeout = null;
|
|
12
12
|
let itemWidth = 280 + 24;
|
|
13
|
-
|
|
13
|
+
const HyEvents = class {
|
|
14
14
|
constructor(hostRef) {
|
|
15
15
|
index.registerInstance(this, hostRef);
|
|
16
16
|
this.styleGrid = false;
|
|
17
17
|
this.showMore = false;
|
|
18
|
+
this.viewAllUrl = undefined;
|
|
19
|
+
this.viewAllLabel = undefined;
|
|
18
20
|
this.scrollLeftLabel = 'Scroll list to left';
|
|
19
21
|
this.scrollRightLabel = 'Scroll list to right';
|
|
20
22
|
this.scrollable = true;
|
|
@@ -94,3 +96,5 @@ let HyEvents = class {
|
|
|
94
96
|
HyEvents.style = hyEventsCss;
|
|
95
97
|
|
|
96
98
|
exports.hy_events = HyEvents;
|
|
99
|
+
|
|
100
|
+
//# sourceMappingURL=hy-events.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"hy-events.entry.cjs.js","mappings":"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","names":["h","CtaLinkVariants"],"sources":["./src/components/hy-events/hy-events.scss?tag=hy-events","./src/components/hy-events/hy-events.tsx"],"sourcesContent":["hy-events {\n &.no-events {\n .hy-events__no-result-container {\n font-family: var(--main-font-family);\n }\n\n .hy-events--wrapper .hy-events--grid {\n padding-bottom: 0;\n }\n\n .hy-events__footer {\n display: none;\n }\n }\n}\n\n.hy-events--wrapper {\n .hy-events {\n display: flex;\n flex-direction: column;\n\n &--grid {\n flex-direction: column;\n gap: 1.5rem;\n overflow-x: hidden;\n white-space: nowrap;\n scrollbar-width: none;\n\n @include breakpoint($medium) {\n padding-bottom: 14rem;\n }\n\n .hy-events__content {\n display: flex;\n flex-direction: column;\n gap: 24px;\n order: -1;\n\n @include breakpoint($medium) {\n flex-direction: row;\n }\n }\n }\n }\n\n .hy-events__footer {\n align-items: flex-end;\n display: flex;\n flex-direction: row-reverse;\n justify-content: space-between;\n margin-bottom: 2rem;\n\n &--grid {\n flex-direction: row;\n margin-top: 1.5rem;\n\n @include breakpoint($medium) {\n margin-top: -9.5rem;\n }\n }\n }\n\n .hy-events__scroll-buttons {\n display: none;\n margin-top: 2rem;\n\n @include breakpoint($medium) {\n display: flex;\n }\n\n button {\n border: none;\n background: none;\n padding: 0.5rem;\n\n &:hover {\n cursor: pointer;\n\n svg {\n scale: 1.1;\n }\n }\n\n &.is-hidden {\n display: none;\n }\n\n &.is-disabled {\n pointer-events: none;\n\n svg {\n fill: var(--link-disabled);\n }\n }\n }\n }\n}\n","import {Component, Element, h, Prop, State, Watch} from '@stencil/core';\nimport {CtaLinkVariants} from '../../utils/utils';\n\nlet scrollTimeout = null;\nlet checkTimeout = null;\nlet itemWidth = 280 + 24;\n\n@Component({\n tag: 'hy-events',\n styleUrl: 'hy-events.scss',\n shadow: false,\n})\nexport class HyEvents {\n @Element() el: HTMLElement;\n\n @Prop() styleGrid: boolean = false;\n @Prop() showMore: boolean = false;\n @Prop() viewAllUrl: string;\n @Prop() viewAllLabel: string;\n @Prop() scrollLeftLabel: string = 'Scroll list to left';\n @Prop() scrollRightLabel: string = 'Scroll list to right';\n\n @State() scrollable: boolean = true;\n\n componentDidLoad() {\n const itemList = this.el;\n const content = document.querySelector('.hy-events');\n const scrollLeft = itemList.querySelector('.hy-events__scroll-left');\n const scrollRight = itemList.querySelector('.hy-events__scroll-right');\n\n //this.checkScrollHidden(content, scrollLeft, scrollRight);\n\n if (this.styleGrid) {\n content.addEventListener(\n 'scroll',\n () => {\n scrollTimeout = setTimeout(() => {\n window.clearTimeout(scrollTimeout);\n }, 250);\n },\n false\n );\n\n scrollLeft.addEventListener('click', (e) => {\n e.preventDefault();\n scrollLeft.classList.add('is-disabled');\n content.scrollBy({\n top: 0,\n left: -itemWidth,\n behavior: 'smooth',\n });\n checkTimeout = window.setTimeout(() => {\n window.clearTimeout(checkTimeout);\n //this.checkScrollHidden(content, scrollLeft, scrollRight);\n scrollLeft.classList.remove('is-disabled');\n }, 250);\n });\n\n scrollRight.addEventListener('click', (e) => {\n e.preventDefault();\n scrollRight.classList.add('is-disabled');\n content.scrollBy({\n top: 0,\n left: +itemWidth,\n behavior: 'smooth',\n });\n checkTimeout = window.setTimeout(() => {\n window.clearTimeout(checkTimeout);\n //this.checkScrollHidden(content, scrollLeft, scrollRight);\n scrollRight.classList.remove('is-disabled');\n }, 250);\n });\n }\n }\n\n @Watch('viewAllUrl')\n watchUrlHandler(newValue, oldValue) {\n if (oldValue !== newValue) {\n this.viewAllUrl = newValue;\n }\n }\n\n checkScrollHidden(list, leftButton, rightButton) {\n const itemList = list.querySelector('.hy-events__content');\n\n if (list.scrollLeft === 0) {\n leftButton.classList.add('is-hidden');\n } else {\n leftButton.classList.remove('is-hidden');\n }\n\n if (list.scrollLeft + list.clientWidth >= itemList.scrollWidth - 1) {\n rightButton.classList.add('is-hidden');\n } else {\n rightButton.classList.remove('is-hidden');\n }\n }\n\n render() {\n const classAttributes = ['hy-events', this.styleGrid ? 'hy-events--grid' : ''].join(' ');\n const footerClasses = ['hy-events__footer', this.styleGrid ? 'hy-events__footer--grid' : ''].join(' ');\n\n return (\n <div class=\"hy-events--wrapper\">\n <div class={classAttributes}>\n <slot></slot>\n </div>\n <div class={footerClasses}>\n {this.scrollable && this.styleGrid && (\n <div class=\"hy-events__scroll-buttons\">\n <button type=\"button\" class=\"hy-events__scroll-left\" aria-label={this.scrollLeftLabel}>\n <hy-icon icon=\"hy-icon-caret-left\" size={16}></hy-icon>\n </button>\n <button type=\"button\" class=\"hy-events__scroll-right\" aria-label={this.scrollRightLabel}>\n <hy-icon icon=\"hy-icon-caret-right\" size={16}></hy-icon>\n </button>\n </div>\n )}\n {this.showMore && this.viewAllLabel && this.viewAllUrl && (\n <hy-cta-link\n link-content={this.viewAllLabel}\n sc-label={this.viewAllLabel}\n url={this.viewAllUrl}\n variant={CtaLinkVariants.linkList}\n />\n )}\n </div>\n </div>\n );\n }\n}\n"],"version":3}
|