@itcenteratunihelsinki/huds-lib 0.8.45 → 0.8.50
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/components/accordion-container.js +2 -0
- package/components/accordion-container.js.map +1 -0
- package/components/accordion-item.js +2 -0
- package/components/accordion-item.js.map +1 -0
- package/components/color-box.js +2 -0
- package/components/color-box.js.map +1 -0
- package/components/cta-button.js +2 -0
- package/components/cta-button.js.map +1 -0
- package/components/cta-link.js +2 -0
- package/components/cta-link.js.map +1 -0
- package/components/emotion.esm.js +2 -0
- package/components/emotion.esm.js.map +1 -0
- package/components/globalScript.js +2 -0
- package/components/globalScript.js.map +1 -0
- package/components/heading.js +2 -0
- package/components/heading.js.map +1 -0
- package/components/hy-accordion-container.js +2 -0
- package/components/hy-accordion-container.js.map +1 -0
- package/components/hy-accordion-item.js +2 -0
- package/components/hy-accordion-item.js.map +1 -0
- package/components/hy-adjacent-image-text.js +2 -0
- package/components/hy-adjacent-image-text.js.map +1 -0
- package/components/hy-anchor-link-list.js +2 -0
- package/components/hy-anchor-link-list.js.map +1 -0
- package/components/hy-badge.js +2 -0
- package/components/hy-badge.js.map +1 -0
- package/components/hy-banner.js +2 -0
- package/components/hy-banner.js.map +1 -0
- package/components/hy-baseline.js +2 -0
- package/components/hy-baseline.js.map +1 -0
- package/components/hy-box-container.js +2 -0
- package/components/hy-box-container.js.map +1 -0
- package/components/hy-box.js +2 -0
- package/components/hy-box.js.map +1 -0
- package/components/hy-box2.js +2 -0
- package/components/hy-box2.js.map +1 -0
- package/components/hy-breadcrumbs.js +2 -0
- package/components/hy-breadcrumbs.js.map +1 -0
- package/components/hy-button.js +2 -0
- package/components/hy-button.js.map +1 -0
- package/components/hy-checkbox.js +2 -0
- package/components/hy-checkbox.js.map +1 -0
- package/components/hy-collaboration.js +2 -0
- package/components/hy-collaboration.js.map +1 -0
- package/components/hy-content-list-item.js +2 -0
- package/components/hy-content-list-item.js.map +1 -0
- package/components/hy-content-list-item2.js +2 -0
- package/components/hy-content-list-item2.js.map +1 -0
- package/components/hy-content-list.js +2 -0
- package/components/hy-content-list.js.map +1 -0
- package/components/hy-crisis-banner.js +2 -0
- package/components/hy-crisis-banner.js.map +1 -0
- package/components/hy-cta-button.js +2 -0
- package/components/hy-cta-button.js.map +1 -0
- package/components/hy-cta-link.js +2 -0
- package/components/hy-cta-link.js.map +1 -0
- package/components/hy-docs-container.js +2 -0
- package/components/hy-docs-container.js.map +1 -0
- package/components/hy-dropdown-panel-item.js +2 -0
- package/components/hy-dropdown-panel-item.js.map +1 -0
- package/components/hy-dropdown-panel.js +2 -0
- package/components/hy-dropdown-panel.js.map +1 -0
- package/components/hy-dropdown.js +2 -0
- package/components/hy-dropdown.js.map +1 -0
- package/components/hy-dropdown.panel.item.js +2 -0
- package/components/hy-dropdown.panel.item.js.map +1 -0
- package/components/hy-dropdown.panel.js +2 -0
- package/components/hy-dropdown.panel.js.map +1 -0
- package/components/hy-event-item.js +2 -0
- package/components/hy-event-item.js.map +1 -0
- package/components/hy-events.js +2 -0
- package/components/hy-events.js.map +1 -0
- package/components/hy-filter-group-item.js +2 -0
- package/components/hy-filter-group-item.js.map +1 -0
- package/components/hy-filter-group.item.js +2 -0
- package/components/hy-filter-group.item.js.map +1 -0
- package/components/hy-filter-group.js +2 -0
- package/components/hy-filter-group.js.map +1 -0
- package/components/hy-filter-list-type.js +2 -0
- package/components/hy-filter-list-type.js.map +1 -0
- package/components/hy-filter-visibility-tool-reset.js +2 -0
- package/components/hy-filter-visibility-tool-reset.js.map +1 -0
- package/components/hy-filter-visibility-tool-toggle.js +2 -0
- package/components/hy-filter-visibility-tool-toggle.js.map +1 -0
- package/components/hy-filter-visibility-tool.js +2 -0
- package/components/hy-filter-visibility-tool.js.map +1 -0
- package/components/hy-filter-visibility-tool.reset.js +2 -0
- package/components/hy-filter-visibility-tool.reset.js.map +1 -0
- package/components/hy-filter-visibility-tool.reset.toggle.js +2 -0
- package/components/hy-filter-visibility-tool.reset.toggle.js.map +1 -0
- package/components/hy-footer-action.js +2 -0
- package/components/hy-footer-action.js.map +1 -0
- package/components/hy-footer-base.js +2 -0
- package/components/hy-footer-base.js.map +1 -0
- package/components/hy-footer-info.js +2 -0
- package/components/hy-footer-info.js.map +1 -0
- package/components/hy-footer-link-item.js +2 -0
- package/components/hy-footer-link-item.js.map +1 -0
- package/components/hy-footer-link-item2.js +2 -0
- package/components/hy-footer-link-item2.js.map +1 -0
- package/components/hy-footer.js +2 -0
- package/components/hy-footer.js.map +1 -0
- package/components/hy-general-list-item.js +2 -0
- package/components/hy-general-list-item.js.map +1 -0
- package/components/hy-general-list-item2.js +2 -0
- package/components/hy-general-list-item2.js.map +1 -0
- package/components/hy-general-list.js +2 -0
- package/components/hy-general-list.js.map +1 -0
- package/components/hy-grid-container.js +2 -0
- package/components/hy-grid-container.js.map +1 -0
- package/components/hy-grid-item.js +2 -0
- package/components/hy-grid-item.js.map +1 -0
- package/components/hy-grid-row.js +2 -0
- package/components/hy-grid-row.js.map +1 -0
- package/components/hy-heading.js +2 -0
- package/components/hy-heading.js.map +1 -0
- package/components/hy-hero-carousel.js +197 -7
- package/components/hy-hero-carousel.js.map +1 -0
- package/components/hy-hero.js +2 -0
- package/components/hy-hero.js.map +1 -0
- package/components/hy-icon.js +2 -0
- package/components/hy-icon.js.map +1 -0
- package/components/hy-image.js +2 -0
- package/components/hy-image.js.map +1 -0
- package/components/hy-ingress.js +2 -0
- package/components/hy-ingress.js.map +1 -0
- package/components/hy-introduction.js +2 -0
- package/components/hy-introduction.js.map +1 -0
- package/components/hy-key-figure-group.js +2 -0
- package/components/hy-key-figure-group.js.map +1 -0
- package/components/hy-key-figure.js +2 -0
- package/components/hy-key-figure.js.map +1 -0
- package/components/hy-key-figure2.js +2 -0
- package/components/hy-key-figure2.js.map +1 -0
- package/components/hy-key-highlight-group.js +2 -0
- package/components/hy-key-highlight-group.js.map +1 -0
- package/components/hy-key-highlight.js +2 -0
- package/components/hy-key-highlight.js.map +1 -0
- package/components/hy-key-highlight2.js +2 -0
- package/components/hy-key-highlight2.js.map +1 -0
- package/components/hy-large-process-flow-phase.js +2 -0
- package/components/hy-large-process-flow-phase.js.map +1 -0
- package/components/hy-large-process-flow-phase2.js +2 -0
- package/components/hy-large-process-flow-phase2.js.map +1 -0
- package/components/hy-large-process-flow.js +2 -0
- package/components/hy-large-process-flow.js.map +1 -0
- package/components/hy-link-box-list.js +2 -0
- package/components/hy-link-box-list.js.map +1 -0
- package/components/hy-link-box.js +2 -0
- package/components/hy-link-box.js.map +1 -0
- package/components/hy-link-list.js +2 -0
- package/components/hy-link-list.js.map +1 -0
- package/components/hy-link.js +2 -0
- package/components/hy-link.js.map +1 -0
- package/components/hy-list-item.js +2 -0
- package/components/hy-list-item.js.map +1 -0
- package/components/hy-logo-grid-item.js +2 -0
- package/components/hy-logo-grid-item.js.map +1 -0
- package/components/hy-logo-grid.js +2 -0
- package/components/hy-logo-grid.js.map +1 -0
- package/components/hy-main-content-wrapper.js +2 -0
- package/components/hy-main-content-wrapper.js.map +1 -0
- package/components/hy-main-content-wrapper2.js +2 -0
- package/components/hy-main-content-wrapper2.js.map +1 -0
- package/components/hy-main.js +2 -0
- package/components/hy-main.js.map +1 -0
- package/components/hy-menu-language-item.js +2 -0
- package/components/hy-menu-language-item.js.map +1 -0
- package/components/hy-menu-language.js +2 -0
- package/components/hy-menu-language.js.map +1 -0
- package/components/hy-menu-main-group.js +2 -0
- package/components/hy-menu-main-group.js.map +1 -0
- package/components/hy-menu-main-group2.js +2 -0
- package/components/hy-menu-main-group2.js.map +1 -0
- package/components/hy-opening-hours-content.js +2 -0
- package/components/hy-opening-hours-content.js.map +1 -0
- package/components/hy-opening-hours.js +2 -0
- package/components/hy-opening-hours.js.map +1 -0
- package/components/hy-pager-item.js +2 -0
- package/components/hy-pager-item.js.map +1 -0
- package/components/hy-pager.js +2 -0
- package/components/hy-pager.js.map +1 -0
- package/components/hy-paragraph-text.js +2 -0
- package/components/hy-paragraph-text.js.map +1 -0
- package/components/hy-person-card.js +2 -0
- package/components/hy-person-card.js.map +1 -0
- package/components/hy-person-profile-listing.js +2 -0
- package/components/hy-person-profile-listing.js.map +1 -0
- package/components/hy-person-profile.js +2 -0
- package/components/hy-person-profile.js.map +1 -0
- package/components/hy-process-flow-box.js +2 -0
- package/components/hy-process-flow-box.js.map +1 -0
- package/components/hy-process.js +2 -0
- package/components/hy-process.js.map +1 -0
- package/components/hy-prominent-image.js +2 -0
- package/components/hy-prominent-image.js.map +1 -0
- package/components/hy-quote.js +2 -0
- package/components/hy-quote.js.map +1 -0
- package/components/hy-row.js +2 -0
- package/components/hy-row.js.map +1 -0
- package/components/hy-search-field.js +2 -0
- package/components/hy-search-field.js.map +1 -0
- package/components/hy-search-field2.js +2 -0
- package/components/hy-search-field2.js.map +1 -0
- package/components/hy-section-container.js +2 -0
- package/components/hy-section-container.js.map +1 -0
- package/components/hy-shortcuts.js +2 -0
- package/components/hy-shortcuts.js.map +1 -0
- package/components/hy-site-header.js +2 -0
- package/components/hy-site-header.js.map +1 -0
- package/components/hy-site-logo.js +2 -0
- package/components/hy-site-logo.js.map +1 -0
- package/components/hy-site-search.js +2 -0
- package/components/hy-site-search.js.map +1 -0
- package/components/hy-table-container.js +2 -0
- package/components/hy-table-container.js.map +1 -0
- package/components/hy-tabs-item.js +2 -0
- package/components/hy-tabs-item.js.map +1 -0
- package/components/hy-tabs-item2.js +2 -0
- package/components/hy-tabs-item2.js.map +1 -0
- package/components/hy-tabs.js +2 -0
- package/components/hy-tabs.js.map +1 -0
- package/components/hy-tabs2.js +2 -0
- package/components/hy-tabs2.js.map +1 -0
- package/components/hy-tag.js +2 -0
- package/components/hy-tag.js.map +1 -0
- package/components/hy-tag2.js +2 -0
- package/components/hy-tag2.js.map +1 -0
- package/components/hy-tiny-text.js +2 -0
- package/components/hy-tiny-text.js.map +1 -0
- package/components/hy-twitter-feed.js +2 -0
- package/components/hy-twitter-feed.js.map +1 -0
- package/components/hy-two-columns.js +2 -0
- package/components/hy-two-columns.js.map +1 -0
- package/components/hy-user-login-form.js +2 -0
- package/components/hy-user-login-form.js.map +1 -0
- package/components/hy-video.js +2 -0
- package/components/hy-video.js.map +1 -0
- package/components/icon.js +2 -0
- package/components/icon.js.map +1 -0
- package/components/image.js +2 -0
- package/components/image.js.map +1 -0
- package/components/index.js +2 -0
- package/components/index.js.map +1 -0
- package/components/index2.js +2 -0
- package/components/index2.js.map +1 -0
- package/components/link-box.js +3 -2
- package/components/link-box.js.map +1 -0
- package/components/menu-language-item.js +2 -0
- package/components/menu-language-item.js.map +1 -0
- package/components/menu-language.js +2 -0
- package/components/menu-language.js.map +1 -0
- package/components/paragraph-text.js +2 -0
- package/components/paragraph-text.js.map +1 -0
- package/components/person-profile.listing.js +2 -0
- package/components/person-profile.listing.js.map +1 -0
- package/components/process-flow-box.js +2 -0
- package/components/process-flow-box.js.map +1 -0
- package/components/site-logo.js +2 -0
- package/components/site-logo.js.map +1 -0
- package/components/site-search.js +2 -0
- package/components/site-search.js.map +1 -0
- package/components/utils.js +2 -0
- package/components/utils.js.map +1 -0
- package/dist/cjs/color-box_91.cjs.entry.js +2 -0
- package/dist/cjs/color-box_91.cjs.entry.js.map +1 -0
- package/dist/cjs/globalScript-d341436f.js +2 -0
- package/dist/cjs/globalScript-d341436f.js.map +1 -0
- package/dist/cjs/huds-lib.cjs.js +3 -1
- package/dist/cjs/huds-lib.cjs.js.map +1 -0
- package/dist/cjs/hy-event-item.cjs.entry.js +2 -0
- package/dist/cjs/hy-event-item.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-events.cjs.entry.js +2 -0
- package/dist/cjs/hy-events.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-hero-carousel.cjs.entry.js +197 -7
- package/dist/cjs/hy-hero-carousel.cjs.entry.js.map +1 -0
- package/dist/cjs/index-ca4e37f2.js +2 -0
- package/dist/cjs/index-ca4e37f2.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 +3 -1
- 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/components/accordion-container/accordion-container.js +1 -0
- package/dist/collection/components/accordion-container/accordion-container.js.map +1 -0
- package/dist/collection/components/accordion-item/accordion-item.js +1 -0
- package/dist/collection/components/accordion-item/accordion-item.js.map +1 -0
- package/dist/collection/components/adjacent-image-text/adjacent-image-text.js +1 -0
- package/dist/collection/components/adjacent-image-text/adjacent-image-text.js.map +1 -0
- package/dist/collection/components/baseline/baseline.js +1 -0
- package/dist/collection/components/baseline/baseline.js.map +1 -0
- package/dist/collection/components/button/button.js +1 -0
- package/dist/collection/components/button/button.js.map +1 -0
- package/dist/collection/components/color-box/color-box.js +1 -0
- package/dist/collection/components/color-box/color-box.js.map +1 -0
- package/dist/collection/components/courses/hy-content-list/hy-content-list.js +1 -0
- 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.js +1 -0
- 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 +1 -0
- package/dist/collection/components/cta-button/cta-button.js.map +1 -0
- package/dist/collection/components/cta-link/cta-link.js +1 -0
- package/dist/collection/components/cta-link/cta-link.js.map +1 -0
- package/dist/collection/components/docs-container/docs-container.js +1 -0
- package/dist/collection/components/docs-container/docs-container.js.map +1 -0
- package/dist/collection/components/footer/hy-footer/hy-footer.js +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/collection/components/grid-container/grid-container.js.map +1 -0
- package/dist/collection/components/grid-item/grid-item.js +1 -0
- package/dist/collection/components/grid-item/grid-item.js.map +1 -0
- package/dist/collection/components/grid-row/grid-row.js +1 -0
- package/dist/collection/components/grid-row/grid-row.js.map +1 -0
- package/dist/collection/components/heading/heading.js +1 -0
- package/dist/collection/components/heading/heading.js.map +1 -0
- package/dist/collection/components/hy-anchor-link-list/hy-anchor-link-list.js +1 -0
- 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 +1 -0
- package/dist/collection/components/hy-badge/hy-badge.js.map +1 -0
- package/dist/collection/components/hy-banner/hy-banner.js +1 -0
- package/dist/collection/components/hy-banner/hy-banner.js.map +1 -0
- package/dist/collection/components/hy-box/hy-box.js +1 -0
- package/dist/collection/components/hy-box/hy-box.js.map +1 -0
- package/dist/collection/components/hy-box-container/hy-box-container.js +1 -0
- package/dist/collection/components/hy-box-container/hy-box-container.js.map +1 -0
- package/dist/collection/components/hy-breadcrumbs/hy-breadcrumbs.js +1 -0
- package/dist/collection/components/hy-breadcrumbs/hy-breadcrumbs.js.map +1 -0
- package/dist/collection/components/hy-checkbox/hy-checkbox.js +1 -0
- package/dist/collection/components/hy-checkbox/hy-checkbox.js.map +1 -0
- package/dist/collection/components/hy-collaboration/hy-collaboration.js +1 -0
- package/dist/collection/components/hy-collaboration/hy-collaboration.js.map +1 -0
- package/dist/collection/components/hy-crisis-banner/hy-crisis-banner.js +1 -0
- package/dist/collection/components/hy-crisis-banner/hy-crisis-banner.js.map +1 -0
- package/dist/collection/components/hy-dropdown/hy-dropdown.js +1 -0
- package/dist/collection/components/hy-dropdown/hy-dropdown.js.map +1 -0
- package/dist/collection/components/hy-dropdown/hy-dropdown.panel.item.js +1 -0
- package/dist/collection/components/hy-dropdown/hy-dropdown.panel.item.js.map +1 -0
- package/dist/collection/components/hy-dropdown/hy-dropdown.panel.js +1 -0
- package/dist/collection/components/hy-dropdown/hy-dropdown.panel.js.map +1 -0
- package/dist/collection/components/hy-event-item/hy-event-item.js +1 -0
- package/dist/collection/components/hy-event-item/hy-event-item.js.map +1 -0
- package/dist/collection/components/hy-events/hy-events.js +1 -0
- package/dist/collection/components/hy-events/hy-events.js.map +1 -0
- package/dist/collection/components/hy-filter-group/hy-filter-group.item.js +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/collection/components/hy-general-list-item/hy-general-list-item.js.map +1 -0
- package/dist/collection/components/hy-hero/hy-hero.js +1 -0
- package/dist/collection/components/hy-hero/hy-hero.js.map +1 -0
- package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.css +43 -15
- package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.js +14 -7
- package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.js.map +1 -0
- package/dist/collection/components/hy-introduction/hy-introduction.js +1 -0
- package/dist/collection/components/hy-introduction/hy-introduction.js.map +1 -0
- package/dist/collection/components/hy-key-figure/hy-key-figure.js +1 -0
- 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.js +1 -0
- 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 +1 -0
- 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.js +1 -0
- 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.js +1 -0
- 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.js +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/collection/components/hy-logo-grid/hy-logo-grid.js.map +1 -0
- package/dist/collection/components/hy-main/hy-main.js +1 -0
- 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 +1 -0
- 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.js +1 -0
- 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.js +1 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/collection/components/hy-prominent-image/hy-prominent-image.js.map +1 -0
- package/dist/collection/components/hy-quote/hy-quote.js +1 -0
- package/dist/collection/components/hy-quote/hy-quote.js.map +1 -0
- package/dist/collection/components/hy-search-field/hy-search-field.js +1 -0
- package/dist/collection/components/hy-search-field/hy-search-field.js.map +1 -0
- package/dist/collection/components/hy-shortcuts/hy-shortcuts.js +1 -0
- package/dist/collection/components/hy-shortcuts/hy-shortcuts.js.map +1 -0
- package/dist/collection/components/hy-table-container/hy-table-container.js +1 -0
- package/dist/collection/components/hy-table-container/hy-table-container.js.map +1 -0
- package/dist/collection/components/hy-tabs/hy-tabs.js +1 -0
- package/dist/collection/components/hy-tabs/hy-tabs.js.map +1 -0
- package/dist/collection/components/hy-tabs-item/hy-tabs-item.js +1 -0
- package/dist/collection/components/hy-tabs-item/hy-tabs-item.js.map +1 -0
- package/dist/collection/components/hy-tag/hy-tag.js +1 -0
- package/dist/collection/components/hy-tag/hy-tag.js.map +1 -0
- package/dist/collection/components/hy-twitter-feed/hy-twitter-feed.js +1 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/collection/components/hy-user-login-form/hy-user-login-form.js.map +1 -0
- package/dist/collection/components/hy-video/hy-video.js +1 -0
- package/dist/collection/components/hy-video/hy-video.js.map +1 -0
- package/dist/collection/components/icon/AddToTodoList.js +1 -0
- package/dist/collection/components/icon/AddToTodoList.js.map +1 -0
- package/dist/collection/components/icon/Alert.js +1 -0
- package/dist/collection/components/icon/Alert.js.map +1 -0
- package/dist/collection/components/icon/Archive.js +1 -0
- package/dist/collection/components/icon/Archive.js.map +1 -0
- package/dist/collection/components/icon/Arrow.js +1 -0
- package/dist/collection/components/icon/Arrow.js.map +1 -0
- package/dist/collection/components/icon/ArrowDown.js +1 -0
- package/dist/collection/components/icon/ArrowDown.js.map +1 -0
- package/dist/collection/components/icon/ArrowRight.js +1 -0
- package/dist/collection/components/icon/ArrowRight.js.map +1 -0
- package/dist/collection/components/icon/ArrowUp.js +1 -0
- package/dist/collection/components/icon/ArrowUp.js.map +1 -0
- package/dist/collection/components/icon/Avatar.js +1 -0
- package/dist/collection/components/icon/Avatar.js.map +1 -0
- package/dist/collection/components/icon/AvatarGroup.js +1 -0
- package/dist/collection/components/icon/AvatarGroup.js.map +1 -0
- package/dist/collection/components/icon/Bachelor.js +1 -0
- package/dist/collection/components/icon/Bachelor.js.map +1 -0
- package/dist/collection/components/icon/BulletList.js +1 -0
- package/dist/collection/components/icon/BulletList.js.map +1 -0
- package/dist/collection/components/icon/Camera.js +1 -0
- package/dist/collection/components/icon/Camera.js.map +1 -0
- package/dist/collection/components/icon/CaretDown.js +1 -0
- package/dist/collection/components/icon/CaretDown.js.map +1 -0
- package/dist/collection/components/icon/CaretLeft.js +1 -0
- package/dist/collection/components/icon/CaretLeft.js.map +1 -0
- package/dist/collection/components/icon/CaretRight.js +1 -0
- package/dist/collection/components/icon/CaretRight.js.map +1 -0
- package/dist/collection/components/icon/CaretUp.js +1 -0
- package/dist/collection/components/icon/CaretUp.js.map +1 -0
- package/dist/collection/components/icon/Chat.js +1 -0
- package/dist/collection/components/icon/Chat.js.map +1 -0
- package/dist/collection/components/icon/CodeFork.js +1 -0
- package/dist/collection/components/icon/CodeFork.js.map +1 -0
- package/dist/collection/components/icon/Cogs.js +1 -0
- package/dist/collection/components/icon/Cogs.js.map +1 -0
- package/dist/collection/components/icon/Contentlink.js +1 -0
- package/dist/collection/components/icon/Contentlink.js.map +1 -0
- package/dist/collection/components/icon/Customlink.js +1 -0
- package/dist/collection/components/icon/Customlink.js.map +1 -0
- package/dist/collection/components/icon/Date.js +1 -0
- package/dist/collection/components/icon/Date.js.map +1 -0
- package/dist/collection/components/icon/Discover.js +1 -0
- package/dist/collection/components/icon/Discover.js.map +1 -0
- package/dist/collection/components/icon/Done.js +1 -0
- package/dist/collection/components/icon/Done.js.map +1 -0
- package/dist/collection/components/icon/Dot.js +1 -0
- package/dist/collection/components/icon/Dot.js.map +1 -0
- package/dist/collection/components/icon/DotArrowRight.js +1 -0
- package/dist/collection/components/icon/DotArrowRight.js.map +1 -0
- package/dist/collection/components/icon/Download.js +1 -0
- package/dist/collection/components/icon/Download.js.map +1 -0
- package/dist/collection/components/icon/Drag.js +1 -0
- package/dist/collection/components/icon/Drag.js.map +1 -0
- package/dist/collection/components/icon/Dragbutton.js +1 -0
- package/dist/collection/components/icon/Dragbutton.js.map +1 -0
- package/dist/collection/components/icon/DropDown.js +1 -0
- package/dist/collection/components/icon/DropDown.js.map +1 -0
- package/dist/collection/components/icon/Edit.js +1 -0
- package/dist/collection/components/icon/Edit.js.map +1 -0
- package/dist/collection/components/icon/EditEvent.js +1 -0
- package/dist/collection/components/icon/EditEvent.js.map +1 -0
- package/dist/collection/components/icon/Embed.js +1 -0
- package/dist/collection/components/icon/Embed.js.map +1 -0
- package/dist/collection/components/icon/Euro.js +1 -0
- package/dist/collection/components/icon/Euro.js.map +1 -0
- package/dist/collection/components/icon/Events.js +1 -0
- package/dist/collection/components/icon/Events.js.map +1 -0
- package/dist/collection/components/icon/ExternalLink.js +1 -0
- package/dist/collection/components/icon/ExternalLink.js.map +1 -0
- package/dist/collection/components/icon/EyeSlash.js +1 -0
- package/dist/collection/components/icon/EyeSlash.js.map +1 -0
- package/dist/collection/components/icon/Facebook.js +1 -0
- package/dist/collection/components/icon/Facebook.js.map +1 -0
- package/dist/collection/components/icon/Favorites.js +1 -0
- package/dist/collection/components/icon/Favorites.js.map +1 -0
- package/dist/collection/components/icon/Feed.js +1 -0
- package/dist/collection/components/icon/Feed.js.map +1 -0
- package/dist/collection/components/icon/FileText.js +1 -0
- package/dist/collection/components/icon/FileText.js.map +1 -0
- package/dist/collection/components/icon/FullScreen.js +1 -0
- package/dist/collection/components/icon/FullScreen.js.map +1 -0
- package/dist/collection/components/icon/Globe.js +1 -0
- package/dist/collection/components/icon/Globe.js.map +1 -0
- package/dist/collection/components/icon/GooglePlus.js +1 -0
- package/dist/collection/components/icon/GooglePlus.js.map +1 -0
- package/dist/collection/components/icon/Grid.js +1 -0
- package/dist/collection/components/icon/Grid.js.map +1 -0
- package/dist/collection/components/icon/Hamburger.js +1 -0
- package/dist/collection/components/icon/Hamburger.js.map +1 -0
- package/dist/collection/components/icon/Heart.js +1 -0
- package/dist/collection/components/icon/Heart.js.map +1 -0
- package/dist/collection/components/icon/HeartSupport.js +1 -0
- package/dist/collection/components/icon/HeartSupport.js.map +1 -0
- package/dist/collection/components/icon/Helsinginyliopisto.js +1 -0
- package/dist/collection/components/icon/Helsinginyliopisto.js.map +1 -0
- package/dist/collection/components/icon/Home.js +1 -0
- package/dist/collection/components/icon/Home.js.map +1 -0
- package/dist/collection/components/icon/HorizontalResize.js +1 -0
- package/dist/collection/components/icon/HorizontalResize.js.map +1 -0
- package/dist/collection/components/icon/HyLogo.js +1 -0
- package/dist/collection/components/icon/HyLogo.js.map +1 -0
- package/dist/collection/components/icon/IdNumber.js +1 -0
- package/dist/collection/components/icon/IdNumber.js.map +1 -0
- package/dist/collection/components/icon/Image.js +1 -0
- package/dist/collection/components/icon/Image.js.map +1 -0
- package/dist/collection/components/icon/ImageGallery.js +1 -0
- package/dist/collection/components/icon/ImageGallery.js.map +1 -0
- package/dist/collection/components/icon/Images.js +1 -0
- package/dist/collection/components/icon/Images.js.map +1 -0
- package/dist/collection/components/icon/Info.js +1 -0
- package/dist/collection/components/icon/Info.js.map +1 -0
- package/dist/collection/components/icon/InfoStroke.js +1 -0
- package/dist/collection/components/icon/InfoStroke.js.map +1 -0
- package/dist/collection/components/icon/Instagram.js +1 -0
- package/dist/collection/components/icon/Instagram.js.map +1 -0
- package/dist/collection/components/icon/LeikiList.js +1 -0
- package/dist/collection/components/icon/LeikiList.js.map +1 -0
- package/dist/collection/components/icon/LinkArrow.js +1 -0
- package/dist/collection/components/icon/LinkArrow.js.map +1 -0
- package/dist/collection/components/icon/LinkArrow1.js +1 -0
- package/dist/collection/components/icon/LinkArrow1.js.map +1 -0
- package/dist/collection/components/icon/LinkArrowDown.js +1 -0
- package/dist/collection/components/icon/LinkArrowDown.js.map +1 -0
- package/dist/collection/components/icon/LinkArrowLeft.js +1 -0
- package/dist/collection/components/icon/LinkArrowLeft.js.map +1 -0
- package/dist/collection/components/icon/LinkArrowOffsite.js +1 -0
- package/dist/collection/components/icon/LinkArrowOffsite.js.map +1 -0
- package/dist/collection/components/icon/LinkArrowUp.js +1 -0
- package/dist/collection/components/icon/LinkArrowUp.js.map +1 -0
- package/dist/collection/components/icon/Linkedin.js +1 -0
- package/dist/collection/components/icon/Linkedin.js.map +1 -0
- package/dist/collection/components/icon/List.js +1 -0
- package/dist/collection/components/icon/List.js.map +1 -0
- package/dist/collection/components/icon/ListAsBlocks.js +1 -0
- package/dist/collection/components/icon/ListAsBlocks.js.map +1 -0
- package/dist/collection/components/icon/ListStyleGrid.js +1 -0
- package/dist/collection/components/icon/ListStyleGrid.js.map +1 -0
- package/dist/collection/components/icon/ListStyleList.js +1 -0
- package/dist/collection/components/icon/ListStyleList.js.map +1 -0
- package/dist/collection/components/icon/Listoflinks.js +1 -0
- package/dist/collection/components/icon/Listoflinks.js.map +1 -0
- package/dist/collection/components/icon/Location.js +1 -0
- package/dist/collection/components/icon/Location.js.map +1 -0
- package/dist/collection/components/icon/Log.js +1 -0
- package/dist/collection/components/icon/Log.js.map +1 -0
- package/dist/collection/components/icon/Login.js +1 -0
- package/dist/collection/components/icon/Login.js.map +1 -0
- package/dist/collection/components/icon/Logout.js +1 -0
- package/dist/collection/components/icon/Logout.js.map +1 -0
- package/dist/collection/components/icon/MagnifyMinus.js +1 -0
- package/dist/collection/components/icon/MagnifyMinus.js.map +1 -0
- package/dist/collection/components/icon/MagnifyPlus.js +1 -0
- package/dist/collection/components/icon/MagnifyPlus.js.map +1 -0
- package/dist/collection/components/icon/Mail.js +1 -0
- package/dist/collection/components/icon/Mail.js.map +1 -0
- package/dist/collection/components/icon/Master.js +1 -0
- package/dist/collection/components/icon/Master.js.map +1 -0
- package/dist/collection/components/icon/Minus.js +1 -0
- package/dist/collection/components/icon/Minus.js.map +1 -0
- package/dist/collection/components/icon/Mobile.js +1 -0
- package/dist/collection/components/icon/Mobile.js.map +1 -0
- package/dist/collection/components/icon/Modify.js +1 -0
- package/dist/collection/components/icon/Modify.js.map +1 -0
- package/dist/collection/components/icon/NaviTriangle.js +1 -0
- package/dist/collection/components/icon/NaviTriangle.js.map +1 -0
- package/dist/collection/components/icon/NewGroup.js +1 -0
- package/dist/collection/components/icon/NewGroup.js.map +1 -0
- package/dist/collection/components/icon/NewPerson.js +1 -0
- package/dist/collection/components/icon/NewPerson.js.map +1 -0
- package/dist/collection/components/icon/Notification.js +1 -0
- package/dist/collection/components/icon/Notification.js.map +1 -0
- package/dist/collection/components/icon/OpinderLogo.js +1 -0
- package/dist/collection/components/icon/OpinderLogo.js.map +1 -0
- package/dist/collection/components/icon/OpinderLogoNew.js +1 -0
- package/dist/collection/components/icon/OpinderLogoNew.js.map +1 -0
- package/dist/collection/components/icon/Pdf.js +1 -0
- package/dist/collection/components/icon/Pdf.js.map +1 -0
- package/dist/collection/components/icon/People.js +1 -0
- package/dist/collection/components/icon/People.js.map +1 -0
- package/dist/collection/components/icon/PermissionAll.js +1 -0
- package/dist/collection/components/icon/PermissionAll.js.map +1 -0
- package/dist/collection/components/icon/PermissionGroup.js +1 -0
- package/dist/collection/components/icon/PermissionGroup.js.map +1 -0
- package/dist/collection/components/icon/PermissionPrivate.js +1 -0
- package/dist/collection/components/icon/PermissionPrivate.js.map +1 -0
- package/dist/collection/components/icon/Person.js +1 -0
- package/dist/collection/components/icon/Person.js.map +1 -0
- package/dist/collection/components/icon/PersonOutline.js +1 -0
- package/dist/collection/components/icon/PersonOutline.js.map +1 -0
- package/dist/collection/components/icon/Phone.js +1 -0
- package/dist/collection/components/icon/Phone.js.map +1 -0
- package/dist/collection/components/icon/Play.js +1 -0
- package/dist/collection/components/icon/Play.js.map +1 -0
- package/dist/collection/components/icon/Plus.js +1 -0
- package/dist/collection/components/icon/Plus.js.map +1 -0
- package/dist/collection/components/icon/Preview.js +1 -0
- package/dist/collection/components/icon/Preview.js.map +1 -0
- package/dist/collection/components/icon/Profile.js +1 -0
- package/dist/collection/components/icon/Profile.js.map +1 -0
- package/dist/collection/components/icon/Question.js +1 -0
- package/dist/collection/components/icon/Question.js.map +1 -0
- package/dist/collection/components/icon/Remove.js +1 -0
- package/dist/collection/components/icon/Remove.js.map +1 -0
- package/dist/collection/components/icon/Retweet.js +1 -0
- package/dist/collection/components/icon/Retweet.js.map +1 -0
- package/dist/collection/components/icon/RotateLeft.js +1 -0
- package/dist/collection/components/icon/RotateLeft.js.map +1 -0
- package/dist/collection/components/icon/RotateRight.js +1 -0
- package/dist/collection/components/icon/RotateRight.js.map +1 -0
- package/dist/collection/components/icon/Search.js +1 -0
- package/dist/collection/components/icon/Search.js.map +1 -0
- package/dist/collection/components/icon/Share.js +1 -0
- package/dist/collection/components/icon/Share.js.map +1 -0
- package/dist/collection/components/icon/SlimHamburgerMenu.js +1 -0
- package/dist/collection/components/icon/SlimHamburgerMenu.js.map +1 -0
- package/dist/collection/components/icon/SocialMedia.js +1 -0
- package/dist/collection/components/icon/SocialMedia.js.map +1 -0
- package/dist/collection/components/icon/SomeFacebook.js +1 -0
- package/dist/collection/components/icon/SomeFacebook.js.map +1 -0
- package/dist/collection/components/icon/SomeInstagram.js +1 -0
- package/dist/collection/components/icon/SomeInstagram.js.map +1 -0
- package/dist/collection/components/icon/SomeLinkedin.js +1 -0
- package/dist/collection/components/icon/SomeLinkedin.js.map +1 -0
- package/dist/collection/components/icon/SomeTwitter.js +1 -0
- package/dist/collection/components/icon/SomeTwitter.js.map +1 -0
- package/dist/collection/components/icon/SomeYoutube.js +1 -0
- package/dist/collection/components/icon/SomeYoutube.js.map +1 -0
- package/dist/collection/components/icon/Spinner.js +1 -0
- package/dist/collection/components/icon/Spinner.js.map +1 -0
- package/dist/collection/components/icon/Square.js +1 -0
- package/dist/collection/components/icon/Square.js.map +1 -0
- package/dist/collection/components/icon/SquareChecked.js +1 -0
- package/dist/collection/components/icon/SquareChecked.js.map +1 -0
- package/dist/collection/components/icon/Time.js +1 -0
- package/dist/collection/components/icon/Time.js.map +1 -0
- package/dist/collection/components/icon/TodoList.js +1 -0
- package/dist/collection/components/icon/TodoList.js.map +1 -0
- package/dist/collection/components/icon/Tour.js +1 -0
- package/dist/collection/components/icon/Tour.js.map +1 -0
- package/dist/collection/components/icon/Twitter.js +1 -0
- package/dist/collection/components/icon/Twitter.js.map +1 -0
- package/dist/collection/components/icon/TwitterLike.js +1 -0
- package/dist/collection/components/icon/TwitterLike.js.map +1 -0
- package/dist/collection/components/icon/UnitsAndFaculties.js +1 -0
- package/dist/collection/components/icon/UnitsAndFaculties.js.map +1 -0
- package/dist/collection/components/icon/Url.js +1 -0
- package/dist/collection/components/icon/Url.js.map +1 -0
- package/dist/collection/components/icon/Video.js +1 -0
- package/dist/collection/components/icon/Video.js.map +1 -0
- package/dist/collection/components/icon/Warning.js +1 -0
- package/dist/collection/components/icon/Warning.js.map +1 -0
- package/dist/collection/components/icon/Wrench.js +1 -0
- package/dist/collection/components/icon/Wrench.js.map +1 -0
- package/dist/collection/components/icon/Youtube.js +1 -0
- 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 +1 -0
- package/dist/collection/components/icon/icon.js.map +1 -0
- package/dist/collection/components/icon/icons.js +1 -0
- package/dist/collection/components/icon/icons.js.map +1 -0
- package/dist/collection/components/image/image.js +1 -0
- package/dist/collection/components/image/image.js.map +1 -0
- package/dist/collection/components/ingress/ingress.js +1 -0
- package/dist/collection/components/ingress/ingress.js.map +1 -0
- package/dist/collection/components/link/link.js +1 -0
- package/dist/collection/components/link/link.js.map +1 -0
- package/dist/collection/components/link-box/link-box.js +1 -1
- package/dist/collection/components/link-box/link-box.js.map +1 -0
- package/dist/collection/components/link-box-list/link-box-list.js +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- 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 +1 -0
- package/dist/collection/components/pagination/hy-pager-item/hy-pager-item.js.map +1 -0
- package/dist/collection/components/paragraph-text/paragraph-text.js +1 -0
- package/dist/collection/components/paragraph-text/paragraph-text.js.map +1 -0
- package/dist/collection/components/person-profile/person-profile-listing/person-profile.listing.js +1 -0
- package/dist/collection/components/person-profile/person-profile-listing/person-profile.listing.js.map +1 -0
- package/dist/collection/components/person-profile/person-profile.js +1 -0
- package/dist/collection/components/person-profile/person-profile.js.map +1 -0
- package/dist/collection/components/process/process.js +1 -0
- package/dist/collection/components/process/process.js.map +1 -0
- package/dist/collection/components/process-flow-box/process-flow-box.js +1 -0
- package/dist/collection/components/process-flow-box/process-flow-box.js.map +1 -0
- package/dist/collection/components/row/row.js +1 -0
- package/dist/collection/components/row/row.js.map +1 -0
- package/dist/collection/components/section-container/section-container.js +1 -0
- package/dist/collection/components/section-container/section-container.js.map +1 -0
- package/dist/collection/components/site-header/site-header.js +1 -0
- package/dist/collection/components/site-header/site-header.js.map +1 -0
- package/dist/collection/components/site-header/site-logo/site-logo.js +1 -0
- package/dist/collection/components/site-header/site-logo/site-logo.js.map +1 -0
- package/dist/collection/components/site-header/site-search/site-search.js +1 -0
- package/dist/collection/components/site-header/site-search/site-search.js.map +1 -0
- package/dist/collection/components/tiny-text/tiny-text.js +1 -0
- 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_91.entry.js +2 -0
- package/dist/esm/color-box_91.entry.js.map +1 -0
- package/dist/esm/globalScript-3c6fab71.js +2 -0
- package/dist/esm/globalScript-3c6fab71.js.map +1 -0
- package/dist/esm/huds-lib.js +3 -1
- package/dist/esm/huds-lib.js.map +1 -0
- package/dist/esm/hy-event-item.entry.js +2 -0
- package/dist/esm/hy-event-item.entry.js.map +1 -0
- package/dist/esm/hy-events.entry.js +2 -0
- package/dist/esm/hy-events.entry.js.map +1 -0
- package/dist/esm/hy-hero-carousel.entry.js +197 -7
- package/dist/esm/hy-hero-carousel.entry.js.map +1 -0
- package/dist/esm/index-9920074a.js +2 -0
- package/dist/esm/index-9920074a.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +3 -1
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/utils-a4d55421.js +2 -0
- package/dist/esm/utils-a4d55421.js.map +1 -0
- package/dist/huds-lib/color-box_91.entry.js +54 -53
- package/dist/huds-lib/color-box_91.entry.js.map +1 -0
- package/dist/huds-lib/globalScript-3c6fab71.js +2 -1
- package/dist/huds-lib/globalScript-3c6fab71.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/hy-event-item.entry.js +2 -1
- package/dist/huds-lib/hy-event-item.entry.js.map +1 -0
- package/dist/huds-lib/hy-events.entry.js +2 -1
- package/dist/huds-lib/hy-events.entry.js.map +1 -0
- package/dist/huds-lib/hy-hero-carousel.entry.js +2 -1
- package/dist/huds-lib/hy-hero-carousel.entry.js.map +1 -0
- package/dist/huds-lib/index-9920074a.js +3 -2
- package/dist/huds-lib/index-9920074a.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/utils-a4d55421.js +2 -1
- package/dist/huds-lib/utils-a4d55421.js.map +1 -0
- package/package.json +2 -2
- package/readme.md +3 -10
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid-container.js","sourceRoot":"","sources":["../../../src/components/grid-container/grid-container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAO3C,MAAM,OAAO,aAAa;EACxB,MAAM;IACJ,MAAM,eAAe,GAAG,CAAC,oBAAoB,CAAC,CAAC;IAE/C,OAAO,CACL,WAAK,KAAK,EAAE,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC;MACnC,eAAQ,CACJ,CACP,CAAC;EACJ,CAAC;;;;;;;;CACF","sourcesContent":["import {Component, h} from \"@stencil/core\";\n\n@Component({\n tag: \"hy-grid-container\",\n styleUrl: \"grid-container.scss\",\n shadow: false,\n})\nexport class GridContainer {\n render() {\n const classAttributes = [\"hy-grid--container\"];\n\n return (\n <div class={classAttributes.join(\" \")}>\n <slot />\n </div>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid-item.js","sourceRoot":"","sources":["../../../src/components/grid-item/grid-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AACvD,OAAO,EAAC,WAAW,EAAE,aAAa,EAAE,aAAa,EAAE,iBAAiB,EAAC,MAAM,mBAAmB,CAAC;AAO/F,MAAM,OAAO,QAAQ;;mBACY,WAAW,CAAC,OAAO;qBACf,aAAa,CAAC,OAAO;qBACrB,aAAa,CAAC,OAAO;wBACd,iBAAiB,CAAC,OAAO;;EAEnE,MAAM;IACJ,MAAM,eAAe,GAAG;MACtB,cAAc;MACd,gBAAgB,IAAI,CAAC,SAAS,KAAK;MACnC,gBAAgB,IAAI,CAAC,OAAO,EAAE;MAC9B,gBAAgB,IAAI,CAAC,SAAS,KAAK;MACnC,kBAAkB,IAAI,CAAC,YAAY,EAAE;KACtC,CAAC;IAEF,OAAO,CACL,EAAC,IAAI,IAAC,KAAK,EAAE,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC;MACpC,eAAQ,CACH,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Host, Prop, h} from \"@stencil/core\";\nimport {GridColumns, GridColumnsSm, GridColumnsLg, GridAlignVariants} from \"../../utils/utils\";\n\n@Component({\n tag: \"hy-grid-item\",\n styleUrl: \"grid-item.scss\",\n shadow: false,\n})\nexport class GridItem {\n @Prop() columns: GridColumns = GridColumns.default;\n @Prop() columnssm: GridColumnsSm = GridColumnsSm.default;\n @Prop() columnslg: GridColumnsLg = GridColumnsLg.default;\n @Prop() contentalign: GridAlignVariants = GridAlignVariants.default;\n\n render() {\n const classAttributes = [\n \"hy-grid-item\",\n `hy-grid__col-${this.columnssm}-sm`,\n `hy-grid__col-${this.columns}`,\n `hy-grid__col-${this.columnslg}-lg`,\n `hy-grid-align__${this.contentalign}`,\n ];\n\n return (\n <Host class={classAttributes.join(\" \")}>\n <slot />\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid-row.js","sourceRoot":"","sources":["../../../src/components/grid-row/grid-row.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,IAAI,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAOjD,MAAM,OAAO,OAAO;EAClB,MAAM;IACJ,MAAM,eAAe,GAAG,CAAC,cAAc,CAAC,CAAC;IACzC,OAAO,CACL,EAAC,IAAI,IAAC,KAAK,EAAE,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC;MACpC,eAAQ,CACH,CACR,CAAC;EACJ,CAAC;;;;;;;;CACF","sourcesContent":["import {Component, Host, h} from \"@stencil/core\";\n\n@Component({\n tag: \"hy-grid-row\",\n styleUrl: \"grid-row.scss\",\n shadow: false,\n})\nexport class GridRow {\n render() {\n const classAttributes = [\"hy-grid__row\"];\n return (\n <Host class={classAttributes.join(\" \")}>\n <slot />\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"heading.js","sourceRoot":"","sources":["../../../src/components/heading/heading.tsx"],"names":[],"mappings":"AAAA,O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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Element, h, Host, Prop, State} from \"@stencil/core\";\nimport {HeadingSectionVariants, HeadingVarians} from \"../../utils/utils\";\n\n@Component({\n tag: \"hy-heading\",\n styleUrls: {default: \"heading.scss\", wide: \"heading-fw.scss\"},\n scoped: false,\n shadow: false,\n})\nexport class Heading {\n /**\n * @type {*}\n */\n @Prop() heading: HeadingVarians = HeadingVarians.default as any;\n @Prop() isSearch: boolean = false;\n /**\n * @type {*}\n */\n @Prop() section: HeadingSectionVariants = HeadingSectionVariants.default as any;\n @Prop() negative: boolean = false;\n @Prop() headerstyle: string = \"common\";\n @Prop({reflect: true}) hyphenatedText?: string;\n @Element() el: HTMLElement;\n @State() hasChildren: boolean = true;\n\n componentDidLoad() {\n let hyMainDiv = this.el.closest(\".hy-main\");\n if (hyMainDiv) {\n if (!hyMainDiv.classList.contains(\"with-sidebar\")) {\n this.headerstyle = \"large\";\n }\n }\n if (this.el.parentElement.classList.contains(\"hy-hero__title-container\")) {\n this.hasChildren = false;\n }\n }\n\n render() {\n const headingInVariants = this.heading in HeadingVarians;\n const classAttributes = [\n \"hy-heading\",\n this.negative ? \"negative\" : \"\",\n this.isSearch ? \"hy-heading__search\" : \"\",\n this.isSearch ? `hy-heading__search__${this.headerstyle}` : \"\",\n `hy-heading__${this.section}`,\n `hy-heading__${this.headerstyle}`,\n `hy-heading__${this.section}__${this.headerstyle}`,\n ];\n\n const sectionClassAttributes = [`hy-heading__${this.section}--divider`].join(\" \");\n\n const containerSectionClass = [\n \"hy-heading__container\",\n `hy-heading__container__${this.section}`,\n `hy-heading__container__${this.headerstyle}`,\n ].join(\" \");\n\n return (\n <Host>\n {headingInVariants ? (\n [\n <div class={containerSectionClass}>\n {this.hyphenatedText && !this.hasChildren ? (\n <this.heading class={classAttributes.join(\" \")} innerHTML={this.hyphenatedText}></this.heading>\n ) : (\n <this.heading class={classAttributes.join(\" \")}>\n <slot />\n </this.heading>\n )}\n\n <span class={sectionClassAttributes}></span>\n </div>,\n ]\n ) : (\n <div class={containerSectionClass}>\n {this.hyphenatedText && !this.hasChildren ? (\n <HeadingVarians.default class={classAttributes.join(\" \")}>\n <span innerHTML={this.hyphenatedText}></span>\n </HeadingVarians.default>\n ) : (\n <HeadingVarians.default class={classAttributes.join(\" \")}>\n <span>\n <slot />\n </span>\n </HeadingVarians.default>\n )}\n\n <span class={sectionClassAttributes}></span>\n </div>\n )}\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hy-anchor-link-list.js","sourceRoot":"","sources":["../../../src/components/hy-anchor-link-list/hy-anchor-link-list.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAC,MAAM,eAAe,CAAC;AACtE,OAAO,EAAC,gBAAgB,EAAC,MAAM,2BAA2B,CAAC;AAY3D,MAAM,OAAO,gBAAgB;;;;;;kBAoBA,KAAK;;EAEhC,KAAK,CAAC,iBAAiB;IACrB,IAAI,CAAC,YAAY,GAAG,MAAM,gBAAgB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;EAC/D,CAAC;EAGD,eAAe,CAAC,CAAC;IACf,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;IAC/C,IAAI,QAAQ,EAAE;MACZ,MAAM,aAAa,GAAG,QAAQ,CAAC,cAAc,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC;MACrE,MAAM,UAAU,GAAG,aAAa,CAAC,qBAAqB,EAAE,CAAC;MACzD,MAAM,CAAC,QAAQ,CAAC,EAAC,GAAG,EAAE,MAAM,CAAC,OA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EAAE,mBAAmB,GAAI,CAChG,CACA;MACT,0BAAkB,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,gBAAgB,IACtE,KAAK;QACJ,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAClB,SAAG,KAAK,EAAC,2BAA2B,EAAC,IAAI,EAAE,IAAI,CAAC,GAAG,EAAE,OAAO,EAAE,IAAI,CAAC,eAAe;UAChF,eAAS,IAAI,EAAE,oBAAoB,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,mBAAmB,GAAI;UAC3E,IAAI,CAAC,KAAK,CACT,CACL,CAAC,CACA,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Host, h, Prop, State, Listen} from \"@stencil/core\";\nimport {jsonParserWorker} from \"../../global/globalScript\";\n\nexport interface AnchorItem {\n title: string;\n url: string;\n}\n\n@Component({\n tag: \"hy-anchor-link-list\",\n styleUrl: \"hy-anchor-link-list.scss\",\n shadow: false,\n})\nexport class HyAnchorLinkList {\n private _anchorItems: AnchorItem[];\n\n /**\n * Title for content list button\n */\n @Prop() listTitle?: string;\n /**\n * Open state label\n */\n @Prop() openLabel?: string;\n /**\n * Close state label\n */\n @Prop() closeLabel?: string;\n /**\n * Array of anchor items\n */\n @Prop() anchorItems: AnchorItem[] | string;\n\n @State() isOpen: boolean = false;\n\n async componentWillLoad() {\n this._anchorItems = await jsonParserWorker(this.anchorItems);\n }\n\n @Listen(\"handleLinkClick\")\n handleLinkClick(e) {\n const targetId = e.target.getAttribute(\"href\");\n if (targetId) {\n const targetElement = document.getElementById(targetId.substring(1));\n const targetRect = targetElement.getBoundingClientRect();\n window.scrollTo({top: window.scrollY + targetRect.top - 100, behavior: \"smooth\"});\n targetElement.setAttribute(\"tabIndex\", \"-1\");\n targetElement.focus({preventScroll: true});\n }\n e.preventDefault();\n e.stopPropagation();\n }\n\n render() {\n const classAttributes = [\"hy-anchor-link-list\"].join(\" \");\n const buttonClasses = {\n \"hy-anchor-link-list__button\": true,\n \"is-open\": this.isOpen,\n };\n const containerClasses = {\n \"hy-anchor-link-list__container\": true,\n \"is-open\": this.isOpen,\n };\n const items = this._anchorItems as Array<AnchorItem>;\n\n return (\n <Host class={classAttributes}>\n <button aria-label={this.listTitle} onClick={() => (this.isOpen = !this.isOpen)} class={buttonClasses}>\n <span class=\"hy-anchor-link-list__button--title\">\n <hy-icon icon={\"hy-icon-bullet-list\"} size={18} fill={\"var(--brand-main)\"} />\n {this.listTitle}\n </span>\n <span class=\"hy-anchor-link-list__button--label\">\n {this.isOpen ? this.closeLabel : this.openLabel}\n <hy-icon class=\"label-close-icon\" icon={\"hy-icon-caret-down\"} size={16} fill={\"var(--brand-main)\"} />\n </span>\n </button>\n <div aria-hidden={this.isOpen ? \"false\" : \"true\"} class={containerClasses}>\n {items &&\n items.map((item) => (\n <a class=\"hy-anchor-link-list__item\" href={item.url} onClick={this.handleLinkClick}>\n <hy-icon icon={\"hy-icon-arrow-down\"} size={12} fill={\"var(--brand-main)\"} />\n {item.title}\n </a>\n ))}\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hy-badge.js","sourceRoot":"","sources":["../../../src/components/hy-badge/hy-badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,IAAI,EAAE,CAAC,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AAO3E,MAAM,OAAO,OAAO;;mBAC6C,SAAS;;EAExE,MAAM;IACJ,MAAM,eAAe,GAAG,CAAC,UAAU,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IACnD,OAAO,CACL,EAAC,IAAI;MACH,YAAM,KAAK,EAAE,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC;QACpC,eAAa,CACR,CACF,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, ComponentInterface, Host, h, Prop} from \"@stencil/core\";\n\n@Component({\n tag: \"hy-badge\",\n styleUrl: \"hy-badge.scss\",\n shadow: true,\n})\nexport class HyBadge implements ComponentInterface {\n @Prop() variant: \"primary\" | \"warn\" | \"success\" | \"disabled\" = \"primary\";\n\n render() {\n const classAttributes = [\"hy-badge\", this.variant];\n return (\n <Host>\n <span class={classAttributes.join(\" \")}>\n <slot></slot>\n </span>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hy-banner.js","sourceRoot":"","sources":["../../../src/components/hy-banner/hy-banner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AAChE,OAAO,EAAC,qBAAqB,EAAC,MAAM,mBAAmB,CAAC;AAOxD,MAAM,OAAO,QAAQ;;;2BAEe,IAAI;;;;uBAIR,QAAQ;sBACR,KAAK;;EAGnC,gBAAgB;IACd,IAAI,SAAS,GAAG,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IAC5C,IAAI,SAAS,EAAE;MACb,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE;QACjD,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC;OAC5B;KACF;EACH,CAAC;EAED,MAAM;IACJ,MAAM,aAAa,GAAG,CAAC,WAAW,EAAE,cAAc,IAAI,CAAC,WAAW,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAElG,MAAM,oBAAoB,GAAG,CAAC,2BAA2B,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACrE,MAAM,aAAa,GAAG;MACpB,kCAAkC;MAClC,qCAAqC,IAAI,CAAC,WAAW,EAAE;MACvD,IAAI,CAAC,WAAW;KACjB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACZ,MAAM,mBAAmB,GAAG;MAC1B,wCAAwC;MACxC,2CAA2C,IAAI,CAAC,WAAW,EAAE;MAC7D,IAAI,CAAC,WAAW;KACjB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAEZ,MAAM,OAAO,GAAG,qBAAqB,CAAC,UAAU,CAAC;IAEjD,OAAO,CACL,EAAC,IAAI;MACH,cAAQ,EAAE,EAAC,sBAAsB,GAAG;MACpC,WAAK,KAAK,EAAE,aAAa;QACvB;UACE,WAAK,KAAK,EAAE,oBAAoB;YAC9B,WAAK,KAAK,EAAE,aAAa,IAAG,IAAI,CAAC,SAAS,CAAO;YACjD,WAAK,KAAK,EAAE,mBAAmB,IAAG,IAAI,CAAC,eAAe,CAAO;YAC5D,IAAI,CAAC,GAAG,IAAI,CACX,WAAK,KAAK,EAAC,iCAAiC;cAC1C,qCACgB,IAAI,CAAC,QAAQ,cACjB,IAAI,CAAC,OAAO,EACtB,GAAG,EAAE,IAAI,CAAC,GAAG,iBACA,IAAI,CAAC,UAAU,EAC5B,OAAO,EAAE,OAAO,GAChB,CACE,CACP,CACG,CACkB,CACtB;MACN,cAAQ,EAAE,EAAC,oBAAoB,GAAG,CAC7B,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Element, Prop, h, Host} from \"@stencil/core\";\nimport {CtaLinkButtonVariants} from \"../../utils/utils\";\n\n@Component({\n tag: \"hy-banner\",\n styleUrl: \"hy-banner.scss\",\n shadow: false,\n})\nexport class HyBanner {\n @Prop() textTitle?: string;\n @Prop() textDescription: string = null;\n @Prop() url?: string;\n @Prop() scLabel?: string;\n @Prop() urlTitle?: string;\n @Prop() headerstyle: string = \"common\";\n @Prop() isExternal: boolean = false;\n @Element() el: HTMLElement;\n\n componentDidLoad() {\n let hyMainDiv = this.el.closest(\".hy-main\");\n if (hyMainDiv) {\n if (!hyMainDiv.classList.contains(\"with-sidebar\")) {\n this.headerstyle = \"large\";\n }\n }\n }\n\n render() {\n const hyBannerClass = [\"hy-banner\", `hy-banner__${this.headerstyle}`, this.headerstyle].join(\" \");\n\n const hyBannerWrapperClass = [\"hy-banner__info-container\"].join(\" \");\n const hyBannerTitle = [\n \"hy-banner__info-container__title\",\n `hy-banner__info-container__title__${this.headerstyle}`,\n this.headerstyle,\n ].join(\" \");\n const hyBannerDescription = [\n \"hy-banner__info-container__description\",\n `hy-banner__info-container__description__${this.headerstyle}`,\n this.headerstyle,\n ].join(\" \");\n\n const variant = CtaLinkButtonVariants.onBlueBkgd;\n\n return (\n <Host>\n <hy-box pt=\"1.25, 1.25, 1.5, 2.5\" />\n <div class={hyBannerClass}>\n <hy-main-content-wrapper>\n <div class={hyBannerWrapperClass}>\n <div class={hyBannerTitle}>{this.textTitle}</div>\n <div class={hyBannerDescription}>{this.textDescription}</div>\n {this.url && (\n <div class=\"hy-banner__info-container__link\">\n <hy-cta-button\n link-content={this.urlTitle}\n sc-label={this.scLabel}\n url={this.url}\n is-external={this.isExternal}\n variant={variant}\n />\n </div>\n )}\n </div>\n </hy-main-content-wrapper>\n </div>\n <hy-box mb=\"1.75, 1.75, 2, 2.5\" />\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hy-box.js","sourceRoot":"","sources":["../../../src/components/hy-box/hy-box.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAC,MAAM,eA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U;QACV,EAAE;QACF,EAAE;QACF,EAAE;QACF,EAAE;QACF,EAAE;QACF,EAAE;QACF,EAAE;QACF,EAAE;QACF,CAAC,EAAE,IAAI,CAAC,CAAC;QACT,EAAE,EAAE,IAAI,CAAC,EAAE;QACX,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,GAAG,CAAC;QACvD,OAAO,EAAE,IAAI,CAAC,OAAO;QACrB,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,SAAS,EAAE,IAAI,CAAC,SAAS;OAC1B,CAAC;MAEF,eAAa,CACR,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, h, Prop, Host, Element} from \"@stencil/core\";\nimport {css} from \"emotion\";\n\n/*\nExample of using hy-box:\n<hy-box mb=\"1.75, 1.75, 2, 2.5\" />\nWhere mb = margin-bottom,\nmobile up to 30rem: 1.75rem (mb[0])\ntablet, 30rem - 60rem: 1.75rem (mb[1])\nwide, 60rem to 75rem or 60rem to 100.0625rem (depending on hasSidebar) (mb[2])\nxlarge, > 100.0625: 2.5rem (mb[3])\n* */\nconst toRemValue = (val?: number) => {\n return typeof val === \"number\" ? `${val}rem` : undefined;\n};\n\ninterface P {\n hasSidebar?: boolean;\n p?: number[];\n pt?: number[];\n pl?: number[];\n pb?: number[];\n pr?: number[];\n m?: number[];\n mt?: number[];\n ml?: number[];\n mb?: number[];\n mr?: number[];\n h?: number;\n bg?: string;\n width: string[];\n justify: string;\n align: string;\n direction: string;\n}\n\nconst breakpoints = [\"30rem\", \"60rem\", \"75.0625rem\", \"100.0625rem\"];\n\n/*\nDefault - mobile\nmq[0] - tablet\nmq[1] - wide, >960px\nmq[2] - extrawide, > 1200px\nmq[3] - xlarge, >1600px\n* */\nconst mq = breakpoints.map((b) => `@media (min-width: ${b})`);\nconst createCssClass = ({hasSidebar, pt, pb, pl, pr, mt, mb, ml, mr, h, bg, width, justify, align, direction}: P) => {\n const last = width[width.length - 1];\n\n return css`\n padding-top: ${toRemValue(pt[0])};\n padding-right: ${toRemValue(pr[0])};\n padding-bottom: ${toRemValue(pb[0])};\n padding-left: ${toRemValue(pl[0])};\n margin-top: ${toRemValue(mt[0])};\n margin-right: ${toRemValue(mr[0])};\n margin-bottom: ${toRemValue(mb[0])};\n margin-left: ${toRemValue(ml[0])};\n height: ${toRemValue(h)};\n background-color: ${!!bg ? `var(--${bg})` : \"transparent\"};\n width: ${width[0]};\n display: flex;\n flex-flow: ${direction || \"row\"};\n justify-content: ${justify || \"flex-start\"};\n align-items: ${align || \"flex-start\"};\n\n ${mq[0]} {\n width: ${width[1]};\n\n padding-top: ${toRemValue(pt[1])};\n padding-right: ${toRemValue(pr[1])};\n padding-bottom: ${toRemValue(pb[1])};\n padding-left: ${toRemValue(pl[1])};\n\n margin-top: ${toRemValue(mt[1])};\n margin-right: ${toRemValue(mr[1])};\n margin-bottom: ${toRemValue(mb[1])};\n margin-left: ${toRemValue(ml[1])};\n }\n ${mq[1]} {\n width: ${width[2] || last};\n\n padding-top: ${toRemValue(pt[2])};\n padding-right: ${toRemValue(pr[2])};\n padding-bottom: ${toRemValue(pb[2])};\n padding-left: ${toRemValue(pl[2])};\n\n margin-top: ${toRemValue(mt[2])};\n margin-right: ${toRemValue(mr[2])};\n margin-bottom: ${toRemValue(mb[2])};\n margin-left: ${toRemValue(ml[2])};\n }\n ${mq[2]} {\n width: ${width[3] || last};\n\n padding-top: ${hasSidebar ? `${toRemValue(pt[2])}` : `${toRemValue(pt[3])}`};\n padding-right: ${hasSidebar ? `${toRemValue(pr[2])}` : `${toRemValue(pr[3])}`};\n padding-bottom: ${hasSidebar ? `${toRemValue(pb[2])}` : `${toRemValue(pb[3])}`};\n padding-left: ${hasSidebar ? `${toRemValue(pl[2])}` : `${toRemValue(pl[3])}`};\n\n margin-top: ${hasSidebar ? `${toRemValue(mt[2])}` : `${toRemValue(mt[3])}`};\n margin-right: ${hasSidebar ? `${toRemValue(mr[2])}` : `${toRemValue(mr[3])}`};\n margin-bottom: ${hasSidebar ? `${toRemValue(mb[2])}` : `${toRemValue(mb[3])}`};\n margin-left: ${hasSidebar ? `${toRemValue(ml[2])}` : `${toRemValue(ml[3])}`};\n }\n ${mq[3]} {\n width: ${width[4] || last};\n\n padding-top: ${toRemValue(pt[3])};\n padding-right: ${toRemValue(pr[3])};\n padding-bottom: ${toRemValue(pb[3])};\n padding-left: ${toRemValue(pl[3])};\n\n margin-top: ${toRemValue(mt[3])};\n margin-right: ${toRemValue(mr[3])};\n margin-bottom: ${toRemValue(mb[3])};\n margin-left: ${toRemValue(ml[3])};\n }\n `;\n};\n\nconst toNumArray = (value?: string) =>\n value\n ?.split(\",\")\n .map((v) => `${v.trim()}`)\n .map((v) => parseFloat(v));\n\n@Component({\n tag: \"hy-box\",\n styleUrl: \"hy-box.scss\",\n shadow: false,\n})\nexport class HyBox {\n @Element() el: HTMLElement;\n @Prop() headerstyle: string = \"common\";\n /**\n * All sides padding value in rems. Responsive when given Comma separated values.\n */\n @Prop() p?: string;\n\n /**\n * Left padding in rems. Responsive when given Comma separated values.\n */\n @Prop() pl?: string;\n /**\n * Right padding in rems. Responsive when given Comma separated values.\n */\n @Prop() pr?: string;\n /**\n * Bottom padding in rems. Responsive when given Comma separated values.\n */\n @Prop() pb?: string;\n /**\n * Top padding in rems. Responsive when given Comma separated values.\n */\n @Prop() pt?: string;\n /**\n * All sides margin value in rems. Responsive when given Comma separated values.\n */\n @Prop() m?: string;\n\n /**\n * Left margin in rems. Responsive when given Comma separated values.\n */\n @Prop() ml?: string;\n /**\n * Right margin in rems. Responsive when given Comma separated values.\n */\n @Prop() mr?: string;\n /**\n * Bottom margin in rems. Responsive when given Comma separated values.\n */\n @Prop() mb?: string;\n /**\n * Top margin in rems. Responsive when given Comma separated values.\n */\n @Prop() mt?: string;\n /**\n * Value for horisontal alignment (justify-content)\n */\n @Prop() justify: string = \"flex-start\";\n /**\n * value for vertical alignment (align-items)\n */\n @Prop() align: string = \"baseline\";\n\n /**\n * fixed height for the container, useful for extra spacing containers\n */\n @Prop() h?: number;\n /**\n * background color. Must use one of css variable names from color tokens\n */\n @Prop() bg: string = \"transparent\";\n /**\n * Responsive width. Must be a comma separated string of percentage values for breakpoints. First item is the default value.\n */\n @Prop() width: string = \"100\";\n @Prop() direction: string = \"row\";\n\n componentWillLoad() {\n let hyMainDiv = this.el.closest(\".hy-main\");\n if (hyMainDiv) {\n if (!hyMainDiv.classList.contains(\"with-sidebar\")) {\n this.headerstyle = \"large\";\n }\n }\n }\n\n render() {\n const pt = toNumArray(this.pt) ?? toNumArray(this.p) ?? [0];\n const pb = toNumArray(this.pb) ?? toNumArray(this.p) ?? [0];\n const pr = toNumArray(this.pr) ?? toNumArray(this.p) ?? [0];\n const pl = toNumArray(this.pl) ?? toNumArray(this.p) ?? [0];\n const mt = toNumArray(this.mt) ?? toNumArray(this.m) ?? [0];\n const mb = toNumArray(this.mb) ?? toNumArray(this.m) ?? [0];\n const mr = toNumArray(this.mr) ?? toNumArray(this.m) ?? [0];\n const ml = toNumArray(this.ml) ?? toNumArray(this.m) ?? [0];\n const hasSidebar = this.headerstyle == \"common\";\n\n return (\n <Host\n class={createCssClass({\n hasSidebar,\n pt,\n pl,\n pr,\n pb,\n mt,\n ml,\n mr,\n mb,\n h: this.h,\n bg: this.bg,\n width: this.width.split(\",\").map((v) => `${v.trim()}%`),\n justify: this.justify,\n align: this.align,\n direction: this.direction,\n })}\n >\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hy-box-container.js","sourceRoot":"","sources":["../../../src/components/hy-box-container/hy-box-container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AACvD,OAAO,EAAC,GAAG,EAAC,MAAM,SAAS,CAAC;AAO5B,MAAM,OAAO,cAAc;;gBAID,IAAI;oBAIA,IAAI;;EAChC,MAAM;IACJ,OAAO,CACL,EAAC,IAAI,IAAC,KAAK,EAAE,EAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,cAAc,EAAE,QAAQ,EAAC;MAChF,WACE,KAAK,EAAE,GAAG,CAAA;;;yBAGK,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS;yBAC9B,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM;WAC9C;QAED,eAAa,CACT,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Host, h, Prop} from \"@stencil/core\";\nimport {css} from \"emotion\";\n\n@Component({\n tag: \"hy-box-container\",\n styleUrl: \"hy-box-container.css\",\n shadow: false,\n})\nexport class HyBoxContainer {\n /**\n * Should the items wrap to new rows.\n */\n @Prop() wrap: boolean = true;\n /**\n * Should the container have a max width of 90rems\n */\n @Prop() maxWidth: boolean = true;\n render() {\n return (\n <Host style={{width: \"100%\", display: \"flex\", flex: \"1\", justifyContent: \"center\"}}>\n <div\n class={css`\n display: flex;\n width: 100%;\n flex-wrap: ${this.wrap ? \"wrap\" : \"no-wrap\"};\n max-width: ${this.maxWidth ? \"90rem\" : \"100%\"};\n `}\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hy-breadcrumbs.js","sourceRoot":"","sources":["../../../src/components/hy-breadcrumbs/hy-breadcrumbs.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM,eAAe,CAAC;AACjE,OAAO,EAAC,kBAAkB,EAAC,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAC,gBAAgB,EAAC,MAAM,2BAA2B,CAAC;AAO3D,MAAM,OAAO,aAAa;;;mBAGc,kBAAkB,CAAC,OAAc;uBACzC,cAAc;oBAEf,KAAK;;EAGlC,KAAK,CAAC,iBAAiB;IACrB,IAAI,CAAC,UAAU,GAAG,MAAM,gBAAgB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;EAC3D,CAAC;EAED,gBAAgB;IACd,IAAI,SAAS,GAAG,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IAC5C,IAAI,SAAS,EAAE;MACb,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE;QACjD,IAAI,CAAC,WAAW,GAAG,iBAAiB,CAAC;OACtC;KACF;EACH,CAAC;EAED,MAAM;IACJ,MAAM,gBAAgB,GAAG,CAAC,gBAAgB,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACtF,OAAO,CACL,yBAAgB,YAAY,EAAC,IAAI,EAAC,YAAY,qBAAiB,mBAAmB,EAAC,KAAK,EAAE,gBAAgB;MACxG,UAAI,KAAK,EAAC,sBAAsB,IAC7B,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QAC5B,IAAI,IAAI,CAAC,GAAG,CAAC,MAAM,GAAG,CAAC,EAAE;UACvB,OAAO,CACL,UAAI,KAAK,EAAC,iBAAiB;YACzB,SAAG,KAAK,EAAC,uBAAuB,EAAC,IAAI,EAAE,IAAI,CAAC,GAAG,IAC5C,IAAI,CAAC,IAAI,CACR;YACJ,eAAS,KAAK,EAAC,uBAAuB,EAAC,IAAI,EAAC,qBAAqB,EAAC,IAAI,EAAE,EAAE,GAAY,CACnF,CACN,CAAC;SACH;aAAM;UACL,OAAO,CACL,UAAI,KAAK,EAAC,0CAA0C;YAClD,SAAG,IAAI,EAAE,IAAI,CAAC,GAAG,kBAAe,MAAM,IACnC,IAAI,CAAC,IAAI,CACR,CACD,CACN,CAAC;SACH;MACH,CAAC,CAAC,CACC,CACD,CACP,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["export interface Breadcrumb {\n url: string;\n text: string;\n}\n\nimport {Component, Element, h, Prop, State} from \"@stencil/core\";\nimport {BreadcrumbVariants} from \"../../utils/utils\";\nimport {jsonParserWorker} from \"../../global/globalScript\";\n\n@Component({\n tag: \"hy-breadcrumbs\",\n styleUrl: \"hy-breadcrumbs.scss\",\n shadow: false,\n})\nexport class HyBreadcrumbs {\n private _dataItems: Breadcrumb[];\n @Prop() dataItems: Breadcrumb[] | string;\n @Prop() variant: BreadcrumbVariants = BreadcrumbVariants.default as any;\n @Prop() headerstyle: string = \"with-sidebar\";\n\n @State() menuOpen: boolean = false;\n @Element() el: HTMLElement;\n\n async componentWillLoad() {\n this._dataItems = await jsonParserWorker(this.dataItems);\n }\n\n componentDidLoad() {\n let hyMainDiv = this.el.closest(\".hy-main\");\n if (hyMainDiv) {\n if (!hyMainDiv.classList.contains(\"with-sidebar\")) {\n this.headerstyle = \"without-sidebar\";\n }\n }\n }\n\n render() {\n const breadcrumbsClass = [\"hy-breadcrumbs\", this.variant, this.headerstyle].join(\" \");\n return (\n <nav aria-label=\"Breadcrumb\" role=\"navigation\" aria-labelledby=\"system-breadcrumb\" class={breadcrumbsClass}>\n <ol class=\"breadcrumb-container\">\n {this._dataItems.map((item) => {\n if (item.url.length > 0) {\n return (\n <li class=\"breadcrumb-item\">\n <a class=\"breadcrumb-item__link\" href={item.url}>\n {item.text}\n </a>\n <hy-icon class=\"breadcrumb-item__icon\" icon=\"hy-icon-caret-right\" size={12}></hy-icon>\n </li>\n );\n } else {\n return (\n <li class=\"breadcrumb-item breadcrumb-item--current\">\n <a href={item.url} aria-current=\"page\">\n {item.text}\n </a>\n </li>\n );\n }\n })}\n </ol>\n </nav>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hy-checkbox.js","sourceRoot":"","sources":["../../../src/components/hy-checkbox/hy-checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AACvD,OAAO,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AAOnD,MAAM,OAAO,UAAU;;;;;2BAgBc,KAAK;mBAIJ,gBAAgB,CAAC,OAAO;;EAE5D,MAAM;IACJ,QAAQ,IAAI,CAAC,OAAO,EAAE;MACpB,KAAK,QAAQ;QACX,OAAO,CACL,EAAC,IAAI,IAAC,KAAK,EAAC,qBAAqB;UAC/B,aACE,IAAI,EAAC,UAAU,EACf,KAAK,EAAC,+BAA+B,EACrC,OAAO,EAAE,IAAI,CAAC,eAAe,EAC7B,EAAE,EAAE,GAAG,IAAI,CAAC,UAAU,EAAE,EACxB,KAAK,EAAE,GAAG,IAAI,CAAC,aAAa,EAAE,GAC9B;UACF,aAAO,KAAK,EAAC,4BAA4B,EAAC,OAAO,EAAE,GAAG,IAAI,CAAC,UAAU,EAAE;YACpE,IAAI,CAAC,aAAa;YACnB,YAAM,KAAK,EAAC,gCAAgC;cAC1C,eAAS,KAAK,EAAC,iCAAiC,EAAC,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,EAAE,iBAAc,MAAM,GAAG,CACjG,CACD,CACH,CACR,CAAC;MAEJ;QACE,OAAO,CACL,EAAC,IAAI,IAAC,KAAK,EAAC,aAAa;UACvB,aACE,IAAI,EAAC,UAAU,EACf,KAAK,EAAC,uBAAuB,EAC7B,OAAO,EAAE,IAAI,CAAC,eAAe,EAC7B,EAAE,EAAE,GAAG,IAAI,CAAC,UAAU,EAAE,EACxB,KAAK,EAAE,GAAG,IAAI,CAAC,aAAa,EAAE,GAC9B;UACF,aAAO,KAAK,EAAC,oBAAoB,EAAC,OAAO,EAAE,GAAG,IAAI,CAAC,UAAU,EAAE;YAC7D,YAAM,KAAK,EAAC,wBAAwB;cAClC,eAAS,KAAK,EAAC,yBAAyB,EAAC,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,EAAE,iBAAc,MAAM,GAAG,CACzF;YACN,IAAI,CAAC,aAAa,CACb,CACH,CACR,CAAC;KACL;EACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Host, h, Prop} from \"@stencil/core\";\nimport {CheckboxVariants} from \"../../utils/utils\";\n\n@Component({\n tag: \"hy-checkbox\",\n styleUrl: \"hy-checkbox.scss\",\n shadow: false,\n})\nexport class HyCheckbox {\n /**\n * Unique id for checkbox element\n */\n @Prop() checkboxId: string | number;\n /**\n * Value for input element\n */\n @Prop() checkboxValue: string | number;\n /**\n * Label for input to describe\n */\n @Prop() checkboxLabel: string;\n /**\n * Checked attribute\n */\n @Prop() checkboxChecked: boolean = false;\n /**\n * Variant to deifne what style of checkbox to use\n */\n @Prop() variant: CheckboxVariants = CheckboxVariants.default;\n\n render() {\n switch (this.variant) {\n case \"button\":\n return (\n <Host class=\"hy-checkbox--button\">\n <input\n type=\"checkbox\"\n class=\"hy-checkbox--button__checkbox\"\n checked={this.checkboxChecked}\n id={`${this.checkboxId}`}\n value={`${this.checkboxValue}`}\n />\n <label class=\"hy-checkbox--button__label\" htmlFor={`${this.checkboxId}`}>\n {this.checkboxLabel}\n <span class=\"hy-checkbox--button__checkmark\">\n <hy-icon class=\"hy-checkbox--button__label-icon\" icon={\"hy-icon-done\"} size={14} aria-hidden=\"true\" />\n </span>\n </label>\n </Host>\n );\n\n default:\n return (\n <Host class=\"hy-checkbox\">\n <input\n type=\"checkbox\"\n class=\"hy-checkbox__checkbox\"\n checked={this.checkboxChecked}\n id={`${this.checkboxId}`}\n value={`${this.checkboxValue}`}\n />\n <label class=\"hy-checkbox__label\" htmlFor={`${this.checkboxId}`}>\n <span class=\"hy-checkbox__checkmark\">\n <hy-icon class=\"hy-checkbox__label-icon\" icon={\"hy-icon-done\"} size={23} aria-hidden=\"true\" />\n </span>\n {this.checkboxLabel}\n </label>\n </Host>\n );\n }\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hy-collaboration.js","sourceRoot":"","sources":["../../../src/components/hy-collaboration/hy-collaboration.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,CAAC,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AAOjD,MAAM,OAAO,eAAe;;;;;;;;EAO1B,MAAM;IACJ,OAAO,CACL,WAAK,KAAK,EAAC,kBAAkB;MAC3B,cAAQ,KAAK,EAAC,wBAAwB,EAAC,IAAI,EAAC,eAAe;QACzD,WAAK,GAAG,EAAE,IAAI,CAAC,QAAQ,EAAE,GAAG,EAAE,IAAI,CAAC,YAAY,GAAI,CAC5C;MACT,WAAK,KAAK,EAAC,2BAA2B;QACpC,SAAG,KAAK,EAAC,+BAA+B,IAAE,IAAI,CAAC,eAAe,CAAK;QAClE,IAAI,CAAC,OAAO,IAAI,CACf,SAAG,IAAI,EAAE,IAAI,CAAC,OAAO,EAAE,KAAK,EAAC,wBAAwB;UAClD,IAAI,CAAC,SAAS;UACf,2BAAkB,MAAM;YACtB,eAAS,IAAI,EAAE,qBAAqB,EAAE,IAAI,EAAE,EAAE,GAAI,CAC7C,CACL,CACL,CACG,CACF,CACP,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, h, Prop} from \"@stencil/core\";\n\n@Component({\n tag: \"hy-collaboration\",\n styleUrl: \"hy-collaboration.scss\",\n shadow: false,\n})\nexport class HyCollaboration {\n @Prop() textDescription: string;\n @Prop() linkUrl?: string;\n @Prop() linkTitle?: string;\n @Prop() imageUrl: string;\n @Prop() imageAltText: string;\n\n render() {\n return (\n <div class=\"hy-collaboration\">\n <figure class=\"hy-collaboration__logo\" role=\"complementary\">\n <img src={this.imageUrl} alt={this.imageAltText} />\n </figure>\n <div class=\"hy-collaboration__content\">\n <p class=\"hy-collaboration__description\">{this.textDescription}</p>\n {this.linkUrl && (\n <a href={this.linkUrl} class=\"hy-collaboration__link\">\n {this.linkTitle}\n <span aria-hidden=\"true\">\n <hy-icon icon={\"hy-icon-arrow-right\"} size={10} />\n </span>\n </a>\n )}\n </div>\n </div>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hy-crisis-banner.js","sourceRoot":"","sources":["../../../src/components/hy-crisis-banner/hy-crisis-banner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AAOvD,MAAM,OAAO,cAAc;;;;;;;EAMzB,MAAM;IACJ,OAAO,CACL,EAAC,IAAI,IAAC,KAAK,EAAC,kBAAkB,EAAC,IAAI,EAAC,OAAO;MACzC,WAAK,KAAK,EAAC,6BAA6B;QACtC,WAAK,KAAK,EAAC,6BAA6B;UACtC,eAAS,KAAK,EAAE,kCAAkC,EAAE,IAAI,EAAE,eAAe,GAAI,CACzE;QACN,WAAK,KAAK,EAAC,mCAAmC;UAC5C,WAAK,KAAK,EAAC,2BAA2B;YACpC,UAAI,KAAK,EAAC,yBAAyB,IAAE,IAAI,CAAC,WAAW,CAAM;YAC1D,IAAI,CAAC,iBAAiB,IAAI,CACzB,WAAK,KAAK,EAAC,+BAA+B,EAAC,SAAS,EAAE,IAAI,CAAC,iBAAiB,GAAQ,CACrF,CACG;UACL,IAAI,CAAC,OAAO,IAAI,CACf,SAAG,KAAK,EAAC,wBAAwB,EAAC,IAAI,EAAE,IAAI,CAAC,OAAO;YACjD,IAAI,CAAC,SAAS;YACf,eAAS,KAAK,EAAE,6BAA6B,EAAE,IAAI,EAAE,wBAAwB,GAAI,CAC/E,CACL,CACG,CACF,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Host, h, Prop} from \"@stencil/core\";\n\n@Component({\n tag: \"hy-crisis-banner\",\n styleUrl: \"hy-crisis-banner.scss\",\n shadow: false,\n})\nexport class HyCrisisBanner {\n @Prop() bannerTitle: string;\n @Prop() bannerDescription?: string;\n @Prop() linkTitle?: string;\n @Prop() linkUrl?: string;\n\n render() {\n return (\n <Host class=\"hy-crisis-banner\" role=\"alert\">\n <div class=\"hy-crisis-banner__container\">\n <div class=\"hy-crisis-banner__indicator\">\n <hy-icon class={\"hy-crisis-banner__indicator-icon\"} icon={\"hy-icon-alert\"} />\n </div>\n <div class=\"hy-crisis-banner__content-wrapper\">\n <div class=\"hy-crisis-banner__content\">\n <h3 class=\"hy-crisis-banner__title\">{this.bannerTitle}</h3>\n {this.bannerDescription && (\n <div class=\"hy-crisis-banner__description\" innerHTML={this.bannerDescription}></div>\n )}\n </div>\n {this.linkUrl && (\n <a class=\"hy-crisis-banner__link\" href={this.linkUrl}>\n {this.linkTitle}\n <hy-icon class={\"hy-crisis-banner__link-icon\"} icon={\"hy-icon-arrow-to-right\"} />\n </a>\n )}\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hy-dropdown.js","sourceRoot":"","sources":["../../../src/components/hy-dropdown/hy-dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM,eAAe,CAAC;AACtF,OAAO,EAAC,gBAAgB,EAAC,MAAM,2BAA2B,CAAC;AAmB3D,MAAM,OAAO,UAAU;;kBAGK,KAAK;yBACC,IAAI;sBACP,gBAAgB;;wBAEd,KAAK;yBACoB,IAAI;uBAC5B,KAAK;qBACP,KAAK;yBACM,CAAC,EAAC,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,YAAY,EAAE,KAAK,EAAE,CAAC,EAAC,CAAC;;EAEtF,KAAK,CAAC,iBAAiB;IACrB,IAAI,CAAC,gBAAgB,GAAG,MAAM,gBAAgB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;EACvE,CAAC;EAED,mBAAmB;IACjB,MAAM,KAAK,GAAG,IAAI,CAAC,EAAE,CAAC,gBAAgB,CAAC,wBAAwB,CAAQ,CAAC;IACxE,IAAI,KAAK,EAAE;MACT,IAAI,CAAC,GAAG,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,EAAE;QACnD,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;OACvB;WAAM;QACL,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;OACxB;KACF;EACH,C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AI,CAAC,gBAAgB,CAAC,MAAM,GAAG,CAAC,KAAK,KAAK,GACnD,CACH,CAAC,CACgB,CACf,CACR,CAAC;KACH;EACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Element, Host, h, State, Listen, Prop, Watch} from \"@stencil/core\";\nimport {jsonParserWorker} from \"../../global/globalScript\";\n\nexport interface IDropdownItem {\n id: string | number;\n label: string;\n value: string | number;\n}\n\nexport interface DefaultValue {\n id: string | number;\n label: string;\n value: string | number;\n}\n\n@Component({\n tag: \"hy-dropdown\",\n styleUrl: \"hy-dropdown.scss\",\n shadow: false,\n})\nexport class HyDropdown {\n private _dropdownOptions: IDropdownItem[];\n @Element() el: HTMLElement;\n @Prop() single: boolean = false;\n @Prop() dropdownLabel: string = null;\n @Prop() dropdownId: string = \"dropdownToggle\";\n @Prop() dropdownOptions: IDropdownItem[] | string;\n @Prop() defaultLabel: string = \"All\";\n @Prop({mutable: true}) defaultOption: string | number = null;\n @State() isPanelOpen: boolean = false;\n @State() isChecked: boolean = false;\n @State() currentSingle: DefaultValue[] = [{id: 0, label: this.defaultLabel, value: 0}];\n\n async componentWillLoad() {\n this._dropdownOptions = await jsonParserWorker(this.dropdownOptions);\n }\n\n componentWillUpdate() {\n const items = this.el.querySelectorAll(\".hy-dropdown__checkbox\") as any;\n if (items) {\n if ([...items].some((item) => item.checked == true)) {\n this.isChecked = true;\n } else {\n this.isChecked = false;\n }\n }\n }\n\n @Watch(\"defaultOption\")\n watchPropHandler(newValue: string | number, oldValue: string | number) {\n if (!this.single) return;\n\n if (newValue !== oldValue) {\n const dropdownPanelCheckboxElements = this.el.getElementsByClassName(\"hy-dropdown__checkbox\") as HTMLCollectionOf<\n HTMLInputElement\n >;\n\n Array.from(dropdownPanelCheckboxElements).filter((item) => {\n if (item.id == newValue) {\n item.checked = true;\n this.currentSingle = this._dropdownOptions.filter((option) => option.id == newValue) as any;\n return;\n }\n return null;\n });\n }\n }\n\n handlePanelToggle() {\n this.isPanelOpen = !this.isPanelOpen;\n }\n\n @Listen(\"click\", {target: \"window\"})\n handleClick(event) {\n const dropdownToggleButtonElement = this.el.querySelector(`#${this.dropdownId}`) as HTMLButtonElement;\n const dropdownPanelElement = this.el.querySelector(\".hy-dropdown__panel\") as HTMLElement;\n const dropdownPanelCheckboxElements = this.el.querySelectorAll(\".hy-dropdown__checkbox\");\n const dropdownToggleButtonIconElement = this.el.querySelector(\".hy-dropdown__icon\") as HTMLElement;\n\n const {target} = event;\n\n const allowedElements = [\n dropdownToggleButtonElement,\n dropdownPanelElement,\n dropdownToggleButtonIconElement,\n ...dropdownPanelCheckboxElements, // Spread (\"copy\") items to allowedElement array.\n ];\n\n if (this.isPanelOpen && !allowedElements.includes(target)) {\n this.isPanelOpen = false;\n }\n event.stopPropagation();\n }\n\n @Listen(\"click\", {capture: true})\n handleSingleClick(event) {\n if (!this.single || !this.isPanelOpen) return;\n const dropdownPanelCheckboxElements = this.el.getElementsByClassName(\"hy-dropdown__checkbox\") as HTMLCollectionOf<\n HTMLInputElement\n >;\n const allowedElements = [...dropdownPanelCheckboxElements];\n const {target} = event;\n if (!allowedElements.includes(target)) return;\n Array.from(dropdownPanelCheckboxElements).filter((item) => {\n if (item.id == target.id) {\n if (!item.checked) {\n this.currentSingle = [{id: null, label: this.defaultLabel, value: null}];\n return;\n }\n this.currentSingle = this._dropdownOptions.filter((option) => option.id == target.id) as any;\n return;\n }\n if (item.id !== target.id && item.checked) {\n item.checked = false;\n return;\n }\n return null;\n });\n\n event.stopPropagation();\n }\n\n render() {\n const {label: currentLabel, id: currentId, value: currentValue} = this.currentSingle[0];\n const classAttributes = [\"hy-dropdown\", this.single ? \"hy-dropdown--single\" : \"\"].join(\" \");\n\n if (this.single) {\n return (\n <Host class={classAttributes}>\n {this.dropdownLabel && (\n <label class=\"hy-dropdown__button-label\" htmlFor={this.dropdownId}>\n {this.dropdownLabel}\n </label>\n )}\n <button\n id={this.dropdownId}\n class={`hy-dropdown__toggle ${this.isPanelOpen ? \"is-open\" : \"\"}`}\n aria-expanded={`${this.isPanelOpen || false}`}\n aria-haspopup=\"true\"\n aria-controls=\"dropdownPanel\"\n onClick={() => this.handlePanelToggle()}\n aria-label={`${!this.isPanelOpen ? \"Open\" : \"Close\"} dropdown`}\n data-current-id={currentId}\n data-current-value={currentValue}\n value={currentId}\n type=\"button\"\n >\n {currentLabel}\n <hy-icon class=\"hy-dropdown__icon\" icon={\"hy-icon-caret-down\"} size={14} aria-hidden=\"true\" />\n </button>\n <hy-dropdown-panel checkbox-checked={this.isChecked ? \"true\" : \"false\"} is-hidden={!this.isPanelOpen}>\n {this._dropdownOptions.map(({id, label, value}, index) => (\n <hy-dropdown-panel-item\n dropdown-item-id={id}\n dropdown-item-label={label}\n dropdown-item-value={value}\n is-last={this._dropdownOptions.length - 1 === index}\n />\n ))}\n </hy-dropdown-panel>\n </Host>\n );\n } else {\n return (\n <Host class={classAttributes}>\n <button\n id={this.dropdownId}\n class={`hy-dropdown__toggle ${this.isPanelOpen ? \"is-open\" : \"\"}`}\n aria-expanded={`${this.isPanelOpen || false}`}\n aria-haspopup=\"true\"\n aria-controls=\"dropdownPanel\"\n onClick={() => this.handlePanelToggle()}\n aria-label={`${!this.isPanelOpen ? \"Open\" : \"Close\"} dropdown`}\n type=\"button\"\n >\n {this.dropdownLabel && this.dropdownLabel}\n <hy-icon class=\"hy-dropdown__icon\" icon={\"hy-icon-caret-down\"} size={14} aria-hidden=\"true\" />\n </button>\n <hy-dropdown-panel checkbox-checked={this.isChecked ? \"true\" : \"false\"} is-hidden={!this.isPanelOpen}>\n {this._dropdownOptions.map(({id, label, value}, index) => (\n <hy-dropdown-panel-item\n dropdown-item-id={id}\n dropdown-item-label={label}\n dropdown-item-value={value}\n is-last={this._dropdownOptions.length - 1 === index}\n />\n ))}\n </hy-dropdown-panel>\n </Host>\n );\n }\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hy-dropdown.panel.item.js","sourceRoot":"","sources":["../../../src/components/hy-dropdown/hy-dropdown.panel.item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,CAAC,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AAMjD,MAAM,OAAO,mBAAmB;;kBACH,KAAK;;;;;EAKhC,MAAM;IACJ,OAAO,CACL,UAAI,KAAK,EAAE,2BAA2B,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;MAClE,aACE,IAAI,EAAC,UAAU,EACf,KAAK,EAAC,uBAAuB,EAC7B,EAAE,EAAE,GAAG,IAAI,CAAC,cAAc,EAAE,EAC5B,KAAK,EAAE,GAAG,IAAI,CAAC,iBAAiB,EAAE,GAClC;MACF,aAAO,KAAK,EAAC,oBAAoB,EAAC,OAAO,EAAE,GAAG,IAAI,CAAC,cAAc,EAAE;QAChE,IAAI,CAAC,iBAAiB;QACvB,eAAS,KAAK,EAAC,yBAAyB,EAAC,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,EAAE,iBAAc,MAAM,GAAG,CACxF,CACL,CACN,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, h, Prop} from \"@stencil/core\";\n\n@Component({\n tag: \"hy-dropdown-panel-item\",\n shadow: false,\n})\nexport class HyDropdownPanelItem {\n @Prop() isLast?: boolean = false;\n @Prop() dropdownItemId: string | number;\n @Prop() dropdownItemValue: string | number;\n @Prop() dropdownItemLabel: string;\n\n render() {\n return (\n <li class={`hy-dropdown__panel-item ${this.isLast ? \"is-last\" : \"\"}`}>\n <input\n type=\"checkbox\"\n class=\"hy-dropdown__checkbox\"\n id={`${this.dropdownItemId}`}\n value={`${this.dropdownItemValue}`}\n />\n <label class=\"hy-dropdown__label\" htmlFor={`${this.dropdownItemId}`}>\n {this.dropdownItemLabel}\n <hy-icon class=\"hy-dropdown__label-icon\" icon={\"hy-icon-done\"} size={14} aria-hidden=\"true\" />\n </label>\n </li>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hy-dropdown.panel.js","sourceRoot":"","sources":["../../../src/components/hy-dropdown/hy-dropdown.panel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,CAAC,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AAMjD,MAAM,OAAO,eAAe;;;;EAG1B,MAAM;IACJ,OAAO,CACL,UACE,EAAE,EAAC,eAAe,EAClB,KAAK,EAAE,sBAAsB,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,EAAE,iBAClD,GAAG,IAAI,CAAC,QAAQ,IAAI,KAAK,EAAE,EACxC,IAAI,EAAC,QAAQ,qBACG,gBAAgB;MAEhC,eAAQ,CACL,CACN,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, h, Prop} from \"@stencil/core\";\n\n@Component({\n tag: \"hy-dropdown-panel\",\n shadow: false,\n})\nexport class HyDropdownPanel {\n @Prop() isHidden: boolean;\n\n render() {\n return (\n <ul\n id=\"dropdownPanel\"\n class={`hy-dropdown__panel ${this.isHidden ? \"is-hidden\" : \"\"}`}\n aria-hidden={`${this.isHidden || false}`}\n role=\"region\"\n aria-labelledby=\"dropdownToggle\"\n >\n <slot />\n </ul>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hy-event-item.js","sourceRoot":"","sources":["../../../src/components/hy-event-item/hy-event-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,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,IAAI,EAAC,gBAAgB,EAAC,IAAI,EAAE,EAAE,GAAY;cAClD,IAAI,CAAC,QAAQ,CACV,CACP;YACA,IAAI,CAAC,QAAQ,IAAI,CAChB,WAAK,KAAK,EAAC,uDAAuD;cAChE,eAAS,IAAI,EAAC,kBAAkB,EAAC,IAAI,EAAE,EAAE,GAAY;cACpD,IAAI,CAAC,QAAQ,CACV,CACP;YACA,IAAI,CAAC,IAAI,IAAI,CACZ,WAAK,KAAK,EAAC,mDAAmD;cAC5D,eAAS,IAAI,EAAC,gBAAgB,EAAC,IAAI,EAAE,EAAE,GAAY;cAClD,IAAI,CAAC,IAAI,CACN,CACP;YACD,YAAM,KAAK,EAAC,4BAA4B,IAAE,IAAI,CAAC,aAAa,CAAQ,CAChE,CACF;QACN,YAAM,KAAK,EAAC,2BAA2B,iBAAa,MAAM;UACxD,eAAS,IAAI,EAAC,qBAAqB,EAAC,IAAI,EAAE,EAAE,GAAY,CACnD,CACH,CACJ,CACL,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["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"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hy-events.js","sourceRoot":"","sources":["../../../src/components/hy-events/hy-events.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAC,MAAM,eAAe,CAAC;AACxE,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAElD,IAAI,aAAa,G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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["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"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hy-filter-group.item.js","sourceRoot":"","sources":["../../../src/components/hy-filter-group/hy-filter-group.item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,CAAC,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AACjD,OAAO,EAAC,YAAY,EAAC,MAAM,mBAAmB,CAAC;AAM/C,MAAM,OAAO,iBAAiB;;;;;EAI5B,MAAM;IACJ,OAAO,CACL,UAAI,KAAK,EAAC,yBAAyB;MACjC,cAAQ,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,yBAAyB,gBAAa,YAAY,IAAI,CAAC,oBAAoB,EAAE;QACtG,IAAI,CAAC,oBAAoB;QAC1B,eACE,KAAK,EAAC,8BAA8B,EACpC,IAAI,EAAE,gBAAgB,EACtB,IAAI,EAAE,EAAE,iBACI,MAAM,EAClB,IAAI,EAAE,YAAY,CAAC,SAAS,GAC5B,CACK;MACT,eAAQ,CACL,CACN,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, h, Prop} from \"@stencil/core\";\nimport {ColorVariant} from \"../../utils/utils\";\n\n@Component({\n tag: \"hy-filter-group-item\",\n shadow: false,\n})\nexport class HyFilterGroupItem {\n @Prop() filterGroupItemId: string | number;\n @Prop() filterGroupItemLabel: string;\n\n render() {\n return (\n <li class=\"hy-filter-group__filter\">\n <button type=\"button\" class=\"hy-filter-group__button\" aria-label={`Deselect ${this.filterGroupItemLabel}`}>\n {this.filterGroupItemLabel}\n <hy-icon\n class=\"hy-filter-group__button-icon\"\n icon={\"hy-icon-remove\"}\n size={10}\n aria-hidden=\"true\"\n fill={ColorVariant.grey_dark}\n />\n </button>\n <slot />\n </li>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hy-filter-group.js","sourceRoot":"","sources":["../../../src/components/hy-filter-group/hy-filter-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM,eAAe,CAAC;AAY9D,MAAM,OAAO,aAAa;;;;;EAMxB,gBAAgB,CAAC,QAAuC;IACtD,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;MAChC,IAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;KACjD;SAAM;MACL,IAAI,CAAC,mBAAmB,GAAG,QAAQ,CAAC;KACrC;EACH,CAAC;EAED,iBAAiB;IACf,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;EACjD,CAAC;EAED,kEAAkE;EAClE,oBAAoB,CAAC,EAAE;IACrB,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;EAClB,CAAC;EAED,MAAM;IACJ,OAAO,CACL,EAAC,IAAI,IAAC,KAAK,EAAC,iBAAiB;MAC3B,UAAI,KAAK,EAAC,0BAA0B;QAClC;UACE,UAAI,KAAK,EAAC,wBAAwB,IAAE,IAAI,CAAC,gBAAgB,CAAM,CAC5D;QACJ,IAAI,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC,EAAC,EAAE,EAAE,KAAK,EAAC,EAAE,EAAE,CAAC,CAC7C,oDACwB,EAAE,6BACC,KAAK,EAC9B,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,oBAAoB,CAAC,EAAE,CAAC,GACtB,CACzB,CAAC,CACC,CACA,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Host, h, Prop, Watch} from \"@stencil/core\";\n\nexport interface IFilterGroupFilter {\n id: string | number;\n label: string;\n}\n\n@Component({\n tag: \"hy-filter-group\",\n styleUrl: \"hy-filter-group.scss\",\n shadow: false,\n})\nexport class HyFilterGroup {\n private _filterGroupFilters: IFilterGroupFilter[];\n @Prop() filterGroupLabel: string;\n @Prop() filterGroupFilters: IFilterGroupFilter[] | string;\n\n @Watch(\"filterGroupFilters\")\n arrayDataWatcher(newValue: IFilterGroupFilter[] | string) {\n if (typeof newValue === \"string\") {\n this._filterGroupFilters = JSON.parse(newValue);\n } else {\n this._filterGroupFilters = newValue;\n }\n }\n\n componentWillLoad() {\n this.arrayDataWatcher(this.filterGroupFilters);\n }\n\n // TODO: Finish handleFilterDeselect functionality with real data.\n handleFilterDeselect(id) {\n console.log(id);\n }\n\n render() {\n return (\n <Host class=\"hy-filter-group\">\n <ul class=\"hy-filter-group__listing\">\n <li>\n <h3 class=\"hy-filter-group__label\">{this.filterGroupLabel}</h3>\n </li>\n {this._filterGroupFilters.map(({id, label}) => (\n <hy-filter-group-item\n filter-group-item-id={id}\n filter-group-item-label={label}\n onClick={() => this.handleFilterDeselect(id)}\n ></hy-filter-group-item>\n ))}\n </ul>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hy-filter-list-type.js","sourceRoot":"","sources":["../../../src/components/hy-filter-list-type/hy-filter-list-type.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,CAAC,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AACjD,OAAO,EAAC,iBAAiB,EAAC,MAAM,mBAAmB,CAAC;AAOpD,MAAM,OAAO,gBAAgB;;;;;EAI3B,MAAM;IACJ,OAAO,CACL,WAAK,KAAK,EAAC,sBAAsB;MAC/B,gBAAO,IAAI,CAAC,WAAW,CAAQ;MAC/B,cACE,IAAI,EAAC,QAAQ,EACb,KAAK,EAAE;UACL,gBAAgB,EAAE,IAAI;UACtB,4BAA4B,EAAE,IAAI;UAClC,WAAW,EAAE,IAAI,CAAC,WAAW,IAAI,iBAAiB,CAAC,IAAI;SACxD,gBACW,GAAG,IAAI,CAAC,WAAW,QAAQ;QAEvC,eAAS,KAAK,EAAC,8BAA8B,EAAC,IAAI,EAAE,yBAAyB,EAAE,IAAI,EAAE,EAAE,iBAAc,MAAM,GAAG,CACvG;MACT,cACE,IAAI,EAAC,QAAQ,EACb,KAAK,EAAE;UACL,gBAAgB,EAAE,IAAI;UACtB,4BAA4B,EAAE,IAAI;UAClC,WAAW,EAAE,IAAI,CAAC,WAAW,IAAI,iBAAiB,CAAC,IAAI;SACxD,gBACW,GAAG,IAAI,CAAC,WAAW,QAAQ;QAEvC,eAAS,KAAK,EAAC,8BAA8B,EAAC,IAAI,EAAE,yBAAyB,EAAE,IAAI,EAAE,EAAE,iBAAc,MAAM,GAAG,CACvG,CACL,CACP,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, h, Prop} from \"@stencil/core\";\nimport {ListStyleVariants} from \"../../utils/utils\";\n\n@Component({\n tag: \"hy-filter-list-type\",\n styleUrl: \"hy-filter-list-type.scss\",\n shadow: false,\n})\nexport class HyFilterListType {\n @Prop() filterLabel?: string;\n @Prop() filterValue?: string;\n\n render() {\n return (\n <div class=\"hy-filter__list-type\">\n <span>{this.filterLabel}</span>\n <button\n type=\"button\"\n class={{\n \"hy-filter-item\": true,\n \"hy-filter__list-type__list\": true,\n \"is-active\": this.filterValue == ListStyleVariants.list,\n }}\n aria-label={`${this.filterLabel}--list`}\n >\n <hy-icon class=\"hy-filter-group__button-icon\" icon={\"hy-icon-list-style-list\"} size={16} aria-hidden=\"true\" />\n </button>\n <button\n type=\"button\"\n class={{\n \"hy-filter-item\": true,\n \"hy-filter__list-type__grid\": true,\n \"is-active\": this.filterValue == ListStyleVariants.grid,\n }}\n aria-label={`${this.filterLabel}--grid`}\n >\n <hy-icon class=\"hy-filter-group__button-icon\" icon={\"hy-icon-list-style-grid\"} size={16} aria-hidden=\"true\" />\n </button>\n </div>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hy-filter-visibility-tool.js","sourceRoot":"","sources":["../../../src/components/hy-filter-visibility-tool/hy-filter-visibility-tool.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AAOvD,MAAM,OAAO,sBAAsB;;;;EAGjC,MAAM;IACJ,QAAQ,IAAI,CAAC,wBAAwB,EAAE;MACrC,KAAK,QAAQ;QACX,OAAO,CACL,EAAC,IAAI;UACH,2CAAoC,CAC/B,CACR,CAAC;MAEJ,KAAK,OAAO;QACV,OAAO,CACL,EAAC,IAAI;UACH,0CAAmC,CAC9B,CACR,CAAC;KACL;EACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Host, h, Prop} from \"@stencil/core\";\n\n@Component({\n tag: \"hy-filter-visibility-tool\",\n styleUrl: \"hy-filter-visibility-tool.scss\",\n shadow: false,\n})\nexport class HyFilterVisibilityTool {\n @Prop() filterVisibilityToolType: \"toggle\" | \"reset\";\n\n render() {\n switch (this.filterVisibilityToolType) {\n case \"toggle\":\n return (\n <Host>\n <hy-filter-visibility-tool-toggle />\n </Host>\n );\n\n case \"reset\":\n return (\n <Host>\n <hy-filter-visibility-tool-reset />\n </Host>\n );\n }\n }\n}\n"]}
|
package/dist/collection/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hy-filter-visibility-tool.reset.js","sourceRoot":"","sources":["../../../src/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,CAAC,EAAC,MAAM,eAAe,CAAC;AAM3C,MAAM,OAAO,2BAA2B;EACtC,MAAM;IACJ,OAAO,CACL,cAAQ,KAAK,EAAC,4DAA4D,EAAC,IAAI,EAAC,QAAQ;MACtF,eAAS,KAAK,EAAC,iCAAiC,EAAC,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,EAAE,iBAAc,MAAM,GAAG;sBAEjG,CACV,CAAC;EACJ,CAAC;;CACF","sourcesContent":["import {Component, h} from \"@stencil/core\";\n\n@Component({\n tag: \"hy-filter-visibility-tool-reset\",\n shadow: false,\n})\nexport class HyFilterVisibilityToolReset {\n render() {\n return (\n <button class=\"hy-filter-visibility-tool hy-filter-visibility-tool--reset\" type=\"button\">\n <hy-icon class=\"hy-filter-visibility-tool__icon\" icon={\"hy-icon-remove\"} size={14} aria-hidden=\"true\" />\n Reset filters\n </button>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hy-filter-visibility-tool.reset.toggle.js","sourceRoot":"","sources":["../../../src/components/hy-filter-visibility-tool/hy-filter-visibility-tool.reset.toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,CAAC,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AAMjD,MAAM,OAAO,4BAA4B;EACvC,MAAM;IACJ,OAAO,CACL,EAAC,IAAI;MACH,cAAQ,KAAK,EAAC,gEAAgE,EAAC,IAAI,EAAC,QAAQ;QAC1F,eAAS,KAAK,EAAC,iCAAiC,EAAC,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,EAAE,iBAAc,MAAM,GAAG;4BAE/F;MACT,cAAQ,KAAK,EAAC,gEAAgE,EAAC,IAAI,EAAC,QAAQ;QAC1F,eAAS,KAAK,EAAC,iCAAiC,EAAC,IAAI,EAAE,eAAe,EAAE,IAAI,EAAE,EAAE,iBAAc,MAAM,GAAG;4BAEhG,CACJ,CACR,CAAC;EACJ,CAAC;;CACF","sourcesContent":["import {Component, h, Host} from \"@stencil/core\";\n\n@Component({\n tag: \"hy-filter-visibility-tool-toggle\",\n shadow: false,\n})\nexport class HyFilterVisibilityToolToggle {\n render() {\n return (\n <Host>\n <button class=\"hy-filter-visibility-tool hy-filter-visibility-tool--show-more\" type=\"button\">\n <hy-icon class=\"hy-filter-visibility-tool__icon\" icon={\"hy-icon-plus\"} size={12} aria-hidden=\"true\" />\n Show more filters\n </button>\n <button class=\"hy-filter-visibility-tool hy-filter-visibility-tool--show-less\" type=\"button\">\n <hy-icon class=\"hy-filter-visibility-tool__icon\" icon={\"hy-icon-minus\"} size={12} aria-hidden=\"true\" />\n Show less filters\n </button>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hy-general-list.js","sourceRoot":"","sources":["../../../src/components/hy-general-list/hy-general-list.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAC,MAAM,eAAe,CAAC;AAC9E,OAAO,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAC,gBAAgB,EAAC,MAAM,2BAA2B,CAAC;AAO3D,MAAM,OAAO,aAAa;;gBACS,gBAAgB,CAAC,IAAI;iBAC7B,IAAI;;+BAEU,IAAI;yBACX,GAAG;sBAGJ,KAAK;;EAEpC,KAAK,CAAC,iBAAiB;IACrB,IAAI,CAAC,UAAU,GAAG,MAAM,gBAAgB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAEzD,MAAM,SAAS,GAAG,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IAC9C,IAAI,SAAS,EAAE;MACb,IAAI,SAAS,CAAC,SAAS,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE;QAChD,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;OACxB;KACF;EACH,CAAC;EAGD,KAAK,CAAC,gBAAgB,CAAC,QAAyB,EAAE,QAAyB;IACzE,IAAI,QAAQ,KAAK,QAAQ,EAAE;MACzB,IAAI,CAAC,UAAU,GAAG,MAAM,gBAAgB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;KAC1D;EACH,CAAC;EAED,MAAM;IACJ,MAAM,eAAe,GAAG;MACtB,iBAAiB;MACjB,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,+BAA+B,CAAC,CAAC,CAAC,EAAE;MACtD,0BAA0B,IAAI,CAAC,IAAI,EAAE;KACtC,CAAC,IAAI,CAAC,GAAG,CAAC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AAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["export interface ListItemValue {\n description: string;\n id: string;\n imageAlt: string;\n imageUrl: string;\n label: string;\n subLabel: string;\n date: string;\n tag: string;\n title: string;\n type: string;\n url: string;\n target: boolean;\n}\n\nimport {Component, Element, h, Prop, State, Host, Watch} from \"@stencil/core\";\nimport {GeneralListTypes} from \"../../utils/utils\";\nimport {jsonParserWorker} from \"../../global/globalScript\";\n\n@Component({\n tag: \"hy-general-list\",\n styleUrl: \"hy-general-list.scss\",\n shadow: false,\n})\nexport class HyGeneralList {\n @Prop() type: GeneralListTypes = GeneralListTypes.list;\n @Prop() blank: boolean = true;\n @Prop() dataItems: ListItemValue[] | string;\n @Prop() truncateDescription: boolean = true;\n @Prop() truncateLimit: number = 140;\n private _dataItems: ListItemValue[];\n @Element() el: HTMLElement;\n @State() hasSidebar: boolean = false;\n\n async componentWillLoad() {\n this._dataItems = await jsonParserWorker(this.dataItems);\n\n const hyMainDiv = this.el.closest(\".hy-main\");\n if (hyMainDiv) {\n if (hyMainDiv.classList.contains(\"with-sidebar\")) {\n this.hasSidebar = true;\n }\n }\n }\n\n @Watch(\"dataItems\")\n async watchPropHandler(newValue: string | number, oldValue: string | number) {\n if (newValue !== oldValue) {\n this._dataItems = await jsonParserWorker(this.dataItems);\n }\n }\n\n render() {\n const classAttributes = [\n \"hy-general-list\",\n this.hasSidebar ? \"hy-general-list--with-sidebar\" : \"\",\n `hy-general-list--style-${this.type}`,\n ].join(\" \");\n\n let listData = this._dataItems;\n if (typeof this._dataItems === \"object\") {\n listData = Object.values(this._dataItems);\n }\n\n function truncate(str, n) {\n return str.length > n ? str.substr(0, n - 1) + \"...\" : str;\n }\n\n return (\n <Host>\n <ul class={classAttributes}>\n {listData &&\n listData.map((item) => (\n <li>\n <hy-general-list-item\n has-sidebar={this.hasSidebar}\n target={this.blank}\n data-location={item.url}\n description={\n this.truncateDescription ? truncate(item.description, this.truncateLimit) : item.description\n }\n id={item.id}\n imageAlt={item.imageAlt}\n imageUrl={item.imageUrl}\n item-title={item.title}\n label={item.label}\n sub-label={item.subLabel}\n tag={item.tag}\n date={item.date}\n type={item.type}\n url={item.url}\n list-style={this.type}\n ></hy-general-list-item>\n </li>\n ))}\n </ul>\n <hy-box mb=\"1.75, 1.75, 2, 2.5\" />\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hy-general-list-item.js","sourceRoot":"","sources":["../../../src/components/hy-general-list-item/hy-general-list-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AAO1D,MAAM,OAAO,iBAAiB;;sBACE,IAAI;;oBAEP,EAAE;oBACF,IAAI;uBACA,KAAK;;;oBAGT,EAAE;gBACN,EAAE;eACH,EAAE;;;;kBAIE,IAAI;;EAI9B,MAAM;IACJ,MAAM,eAAe,GAAG,CAAC,sBAAsB,EAAE,+BAA+B,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAC5G,MAAM,sBAAsB,GAAG,CAAC,sCAAsC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAClF,MAAM,oBAAoB,GAAG,CAAC,uCAAuC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAEjF,MAAM,YAAY,GAAG,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC;IAC1D,MAAM,oBAAoB,GAAG,CAAC,6BAA6B,EAAE,gCAAgC,YAAY,EAAE,CAAC,CAAC,IAAI,CAC/G,GAAG,CACJ,CAAC;IACF,MAAM,0BAA0B,GAAG;MAC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;;cAAG,IAAI,CAAC,IAAI,CACvB,CACF,CACR;UACD,UAAI,KAAK,EAAE,oBAAoB,IAAG,IAAI,CAAC,SAAS,CAAM;UACtD,SAAG,KAAK,EAAE,0BAA0B,IAAG,IAAI,CAAC,WAAW,CAAK,CACxD,CACJ,CACI,CACX,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {Component, Element, h, Prop} from \"@stencil/core\";\n\n@Component({\n tag: \"hy-general-list-item\",\n styleUrl: \"hy-general-list-item.scss\",\n shadow: false,\n})\nexport class HyGeneralListItem {\n @Prop() hasSidebar: boolean = true;\n @Prop() description?: string;\n @Prop() imageAlt: string = \"\";\n @Prop() imageUrl: string = null;\n @Prop() disableLazy: boolean = false;\n @Prop() itemTitle?: string;\n @Prop() label?: string;\n @Prop() subLabel: string = \"\";\n @Prop() date: string = \"\";\n @Prop() tag: string = \"\";\n @Prop() type?: string;\n @Prop() url?: string;\n @Prop() listStyle?: string;\n @Prop() target: boolean = true;\n\n @Element() el: HTMLElement;\n\n render() {\n const classAttributes = [\"hy-general-list-item\", `hy-general-list-item--style-${this.listStyle}`].join(\" \");\n const contentClassAttributes = [\"hy-general-list-item__text-container\"].join(\" \");\n const imageClassAttributes = [\"hy-general-list-item__image-container\"].join(\" \");\n\n const sidebarClass = this.hasSidebar ? \"common\" : \"large\";\n const titleClassAttributes = [\"hy-general-list-item__title\", `hy-general-list-item__title__${sidebarClass}`].join(\n \" \"\n );\n const descriptionClassAttributes = [\n \"hy-general-list-item__description\",\n `hy-general-list-item__description__${sidebarClass}`,\n ].join(\" \");\n\n const aspectRatioWidth = 16;\n const aspectRatioHeight = 10;\n const aspect = (aspectRatioHeight / aspectRatioWidth) * 100;\n const aspectRatio = {\n \"--aspectRatio\": `${aspect}%` as \"aspectRatio\",\n };\n\n return (\n <article class={classAttributes}>\n <a class=\"hy-general-list-item__link\" href={this.url} target={this.target ? \"_blank\" : \"_self\"}>\n {this.type && (\n <div class=\"hy-general-list-item__type\">\n <span class=\"hy-general-list-item__type__major\">{this.label}</span>\n <span class=\"hy-general-list-item__type__sub\">{this.subLabel}</span>\n </div>\n )}\n {this.imageUrl && (\n <figure class={imageClassAttributes} style={aspectRatio}>\n <img\n loading={this.disableLazy ? \"eager\" : \"lazy\"}\n alt={this.imageAlt}\n class=\"hy-general-list-item__image\"\n src={this.imageUrl}\n />\n </figure>\n )}\n <div class={contentClassAttributes}>\n {(this.tag || this.date) && (\n <span class=\"hy-genenral-list-item__meta\">\n {this.tag}\n <span class=\"hy-genenral-list-item__meta__date\">\n {this.tag && \"|\"} {this.date}\n </span>\n </span>\n )}\n <h3 class={titleClassAttributes}>{this.itemTitle}</h3>\n <p class={descriptionClassAttributes}>{this.description}</p>\n </div>\n </a>\n </article>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hy-hero.js","sourceRoot":"","sources":["../../../src/components/hy-hero/hy-hero.tsx"],"names":[],"mappings":"AAMA,IAAI,OAAO,GAAG,IAAI,CAAC;AACnB,IAAI,KAAK,GAAG,GAAG,CAAC;AAEhB,OAAO,EAAC,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAC,MAAM,eAAe,CAAC;AAChE,OAAO,EAAC,gBAAgB,EAAC,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,eAAe,EACf,oBAAoB,EACpB,eAAe,GAChB,MAAM,mBAAmB,CAAC;AAO3B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;;;CACF","sourcesContent":["export interface ImageSrcSet {\n src: any;\n media: string;\n type: string;\n sizes: string | null;\n}\nlet timeout = null;\nlet delay = 250;\n\nimport {Component, Element, h, Host, Prop} from \"@stencil/core\";\nimport {jsonParserWorker} from \"../../global/globalScript\";\nimport {\n CtaLinkButtonVariants,\n HeroColorVariant,\n HeroSizeVariant,\n HeroGroupTypeVariant,\n HeroTypeVariant,\n} from \"../../utils/utils\";\n\n@Component({\n tag: \"hy-hero\",\n styleUrl: \"hy-hero.scss\",\n shadow: false,\n})\nexport class HyHero {\n @Element() el: HTMLElement;\n @Prop() heroType: HeroTypeVariant = HeroTypeVariant.landing;\n @Prop() heroGroupType: HeroGroupTypeVariant = HeroGroupTypeVariant.default;\n @Prop() colorVariant: HeroColorVariant = HeroColorVariant.blue;\n @Prop() sizeVariant: HeroSizeVariant = HeroSizeVariant.large;\n @Prop() image: string;\n @Prop() imageAltText: string = \"\";\n @Prop() disableLazy: boolean = false;\n @Prop() hasShortcuts: boolean = false;\n @Prop() heading: string;\n @Prop() description: string;\n @Prop() url: string;\n @Prop() urlTitle: string;\n @Prop() scLabel?: string;\n @Prop() isExternal: boolean = false;\n private _sourceSet: ImageSrcSet[];\n @Prop() sourceSet: ImageSrcSet[] | string;\n\n async componentWillLoad() {\n this._sourceSet = await jsonParserWorker(this.sourceSet);\n }\n\n handleHeroImageObjectFitValue(heroSizeVariant, heroElement) {\n const heroContentContainerElement = heroElement.getElementsByClassName(\n \"hy-hero__content-container\"\n )[0] as HTMLElement;\n\n if (heroSizeVariant === \"small\") {\n if (heroContentContainerElement.offsetHeight >= 300) {\n heroElement.classList.add(\"has-cover\");\n } else {\n heroElement.classList.remove(\"has-cover\");\n }\n }\n\n if (heroSizeVariant === \"large\") {\n if (heroContentContainerElement.offsetHeight >= 344) {\n heroElement.classList.add(\"has-cover\");\n } else {\n heroElement.classList.remove(\"has-cover\");\n }\n }\n }\n\n render() {\n let variant = CtaLinkButtonVariants.heroWhite;\n let colorVariantValue = this.colorVariant;\n let heroTypeValue = this.heroType;\n\n if (this.heroType === \"minor_landing\") {\n colorVariantValue = HeroColorVariant.white;\n heroTypeValue = HeroTypeVariant.landing;\n }\n\n if (colorVariantValue === HeroColorVariant.blue) {\n variant = CtaLinkButtonVariants.heroBlue;\n }\n\n if (colorVariantValue === HeroColorVariant.black) {\n variant = CtaLinkButtonVariants.heroBlack;\n }\n\n if (!colorVariantValue || colorVariantValue === \"fp_white\") {\n colorVariantValue = HeroColorVariant.white;\n }\n\n const hyHeroClasses = [\n \"hy-hero\",\n `hy-hero--${heroTypeValue}`,\n `hy-hero--${this.heroGroupType}`,\n `hy-hero--${colorVariantValue}`,\n `hy-hero--${this.sizeVariant}`,\n ];\n\n const heroTitleClasses = [\"hy-hero__title\", \"hy-heading__hero\"].join(\" \");\n\n // If there is a Shortcuts block after hero, add the class 'shortcuts' to remove underline.\n if (this.hasShortcuts) {\n hyHeroClasses.push(\"has-shortcuts\");\n }\n\n const aspectRatioWidth = 16;\n const aspectRatioHeight = 10;\n const aspect = (aspectRatioHeight / aspectRatioWidth) * 100;\n const aspectRatio = {\n \"--aspectRatio\": `${aspect}%` as \"aspectRatio\",\n };\n\n window.onload = () => {\n const heroElement = document.getElementsByClassName(\"hy-hero\")[0] as HTMLElement;\n this.handleHeroImageObjectFitValue(this.sizeVariant, heroElement);\n window.addEventListener(\"resize\", () => {\n clearTimeout(timeout);\n timeout = setTimeout(() => this.handleHeroImageObjectFitValue(this.sizeVariant, heroElement), delay);\n });\n };\n\n if (heroTypeValue === \"front_page\") {\n return (\n <Host>\n <div class={hyHeroClasses.join(\" \")}>\n <div class={`hy-hero__container`}>\n <div class={`hy-hero__image-container`} style={aspectRatio}>\n {this.image &&\n (this._sourceSet ? (\n <picture>\n {this._sourceSet.map((item) => (\n <source\n srcSet={item.src}\n media={item.media}\n type={item.type}\n sizes={item.sizes ? item.sizes : \"\"}\n />\n ))}\n <img\n loading={this.disableLazy ? \"eager\" : \"lazy\"}\n alt={this.imageAltText}\n class={`hy-image__image`}\n src={this.image}\n />\n </picture>\n ) : (\n <img\n loading={this.disableLazy ? \"eager\" : \"lazy\"}\n alt={this.imageAltText}\n class={`hy-image__image`}\n src={this.image}\n />\n ))}\n </div>\n <div class={`hy-hero__spacer-box`}></div>\n <div class={`hy-hero__content-container`}>\n <div class={`hy-hero__content`}>\n <div class={`hy-hero__title-container`}>\n <h2 innerHTML={this.heading} class={heroTitleClasses}></h2>\n </div>\n {this.description && <p class={`hy-hero__description`}>{this.description}</p>}\n {this.url && (\n <div class={`hy-hero__actions`}>\n <hy-cta-button\n link-content={this.urlTitle}\n sc-label={this.scLabel}\n url={this.url}\n is-external={this.isExternal}\n variant={variant}\n />\n </div>\n )}\n </div>\n </div>\n </div>\n </div>\n <hy-box mb=\"2, 2, 1, 1\" />\n </Host>\n );\n }\n\n return (\n <Host>\n <div class={hyHeroClasses.join(\" \")}>\n <div class={`hy-hero__container`}>\n <div class={`hy-hero__image-container`} style={aspectRatio}>\n {this.image &&\n (this._sourceSet ? (\n <picture>\n {this._sourceSet.map((item) => (\n <source\n srcSet={item.src}\n media={item.media}\n type={item.type}\n sizes={item.sizes ? item.sizes : \"\"}\n />\n ))}\n <img\n loading={this.disableLazy ? \"eager\" : \"lazy\"}\n alt={this.imageAltText}\n class={`hy-image__image`}\n src={this.image}\n />\n </picture>\n ) : (\n <img\n loading={this.disableLazy ? \"eager\" : \"lazy\"}\n alt={this.imageAltText}\n class={`hy-image__image`}\n src={this.image}\n />\n ))}\n </div>\n <div class={`hy-hero__content-container`}>\n <div class={`hy-hero__content`}>\n <div class={`hy-hero__title-container`}>\n <h2 innerHTML={this.heading} class={heroTitleClasses}></h2>\n </div>\n {this.description && <p class={`hy-hero__description`}>{this.description}</p>}\n {this.url && (\n <div class={`hy-hero__actions`}>\n <hy-cta-button\n link-content={this.urlTitle}\n sc-label={this.scLabel}\n url={this.url}\n is-external={this.isExternal}\n variant={variant}\n />\n </div>\n )}\n </div>\n </div>\n </div>\n </div>\n <hy-box mb=\"2, 2, 1, 1\" />\n </Host>\n );\n }\n}\n"]}
|