@itcenteratunihelsinki/huds-lib 0.8.58 → 0.8.59
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.map +1 -1
- package/components/accordion-item.js.map +1 -1
- package/components/cta-button.js.map +1 -1
- package/components/cta-link.js.map +1 -1
- package/components/heading.js.map +1 -1
- package/components/hy-adjacent-image-text.js.map +1 -1
- package/components/hy-content-list-item2.js.map +1 -1
- package/components/hy-content-list.js.map +1 -1
- package/components/hy-footer-action.js +3 -3
- package/components/hy-footer-action.js.map +1 -1
- package/components/hy-hero-carousel.js +3 -0
- package/components/hy-hero-carousel.js.map +1 -1
- package/components/hy-hero.js +1 -1
- package/components/hy-ingress.js.map +1 -1
- package/components/hy-link-box-list.js +1 -1
- package/components/hy-link-box-list.js.map +1 -1
- package/components/hy-link.js +1 -1
- package/components/hy-link.js.map +1 -1
- package/components/hy-list-item.js +1 -1
- package/components/hy-menu-main-group2.js.map +1 -1
- package/components/hy-pager-item.js.map +1 -1
- package/components/hy-pager.js.map +1 -1
- package/components/hy-person-card.js +1 -1
- package/components/hy-person-profile.js.map +1 -1
- package/components/hy-process.js +1 -1
- package/components/hy-process.js.map +1 -1
- package/components/hy-row.js.map +1 -1
- package/components/hy-section-container.js.map +1 -1
- package/components/hy-site-header.js.map +1 -1
- package/components/hy-tiny-text.js.map +1 -1
- package/components/icon.js.map +1 -1
- package/components/image.js +13 -6
- package/components/image.js.map +1 -1
- package/components/link-box.js +1 -1
- package/components/link-box.js.map +1 -1
- package/components/menu-language-item.js.map +1 -1
- package/components/menu-language.js.map +1 -1
- package/components/paragraph-text.js.map +1 -1
- package/components/person-profile.listing.js.map +1 -1
- package/components/process-flow-box.js +1 -1
- package/components/process-flow-box.js.map +1 -1
- package/components/site-logo.js.map +1 -1
- package/components/site-search.js.map +1 -1
- package/components/utils.js +1 -55
- package/components/utils.js.map +1 -1
- package/dist/cjs/huds-lib.cjs.js +1 -1
- package/dist/cjs/hy-accordion-container_2.cjs.entry.js +1 -1
- package/dist/cjs/hy-accordion-container_2.cjs.entry.js.map +1 -1
- package/dist/cjs/hy-adjacent-image-text.cjs.entry.js.map +1 -1
- package/dist/cjs/hy-banner.cjs.entry.js +1 -1
- package/dist/cjs/{hy-breadcrumbs_16.cjs.entry.js → hy-breadcrumbs_15.cjs.entry.js} +5 -24
- package/dist/cjs/hy-breadcrumbs_15.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/hy-content-list_2.cjs.entry.js +1 -1
- package/dist/cjs/hy-content-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/hy-cta-button.cjs.entry.js +1 -1
- package/dist/cjs/hy-cta-button.cjs.entry.js.map +1 -1
- package/dist/cjs/hy-cta-link.cjs.entry.js +1 -1
- package/dist/cjs/hy-cta-link.cjs.entry.js.map +1 -1
- package/dist/cjs/hy-events.cjs.entry.js +1 -1
- package/dist/cjs/hy-filter-group_6.cjs.entry.js +1 -1
- package/dist/cjs/hy-general-list_2.cjs.entry.js +1 -1
- package/dist/cjs/hy-hero-carousel.cjs.entry.js +4 -1
- package/dist/cjs/hy-hero-carousel.cjs.entry.js.map +1 -1
- package/dist/cjs/hy-hero.cjs.entry.js +1 -1
- package/dist/cjs/hy-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/hy-image.cjs.entry.js +12 -6
- package/dist/cjs/hy-image.cjs.entry.js.map +1 -1
- package/dist/cjs/hy-introduction.cjs.entry.js +1 -1
- package/dist/cjs/hy-key-figure_2.cjs.entry.js +1 -1
- package/dist/cjs/hy-key-highlight_2.cjs.entry.js +1 -1
- package/dist/cjs/hy-large-process-flow_2.cjs.entry.js +1 -1
- package/dist/cjs/hy-link-box_2.cjs.entry.js +1 -1
- package/dist/cjs/hy-link-box_2.cjs.entry.js.map +1 -1
- package/dist/cjs/hy-link-list.cjs.entry.js +1 -1
- package/dist/cjs/hy-link.cjs.entry.js +1 -1
- package/dist/cjs/hy-link.cjs.entry.js.map +1 -1
- package/dist/cjs/hy-list-item.cjs.entry.js +1 -1
- package/dist/cjs/hy-main.cjs.entry.js +27 -0
- package/dist/cjs/hy-main.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-menu-main-group.cjs.entry.js +1 -1
- package/dist/cjs/hy-menu-main-group.cjs.entry.js.map +1 -1
- package/dist/cjs/hy-opening-hours_2.cjs.entry.js +1 -1
- package/dist/cjs/hy-pager_2.cjs.entry.js +1 -1
- package/dist/cjs/hy-pager_2.cjs.entry.js.map +1 -1
- package/dist/cjs/hy-paragraph-text.cjs.entry.js.map +1 -1
- package/dist/cjs/hy-person-card.cjs.entry.js +1 -1
- package/dist/cjs/hy-person-profile-listing.cjs.entry.js.map +1 -1
- package/dist/cjs/hy-person-profile.cjs.entry.js +1 -1
- package/dist/cjs/hy-person-profile.cjs.entry.js.map +1 -1
- package/dist/cjs/hy-process_2.cjs.entry.js +1 -1
- package/dist/cjs/hy-process_2.cjs.entry.js.map +1 -1
- package/dist/cjs/hy-row.cjs.entry.js.map +1 -1
- package/dist/cjs/hy-section-container.cjs.entry.js +21 -0
- package/dist/cjs/hy-section-container.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-shortcuts.cjs.entry.js +1 -1
- package/dist/cjs/hy-tiny-text.cjs.entry.js +22 -0
- package/dist/cjs/hy-tiny-text.cjs.entry.js.map +1 -0
- package/dist/cjs/hy-user-login-form.cjs.entry.js +1 -1
- package/dist/cjs/hy-video.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-14d5aa6f.js → utils-bfc1127a.js} +1 -55
- package/dist/cjs/utils-bfc1127a.js.map +1 -0
- package/dist/collection/collection-manifest.json +46 -58
- package/dist/collection/components/footer/hy-footer-action/hy-footer-action.css +4 -0
- package/dist/collection/components/footer/hy-footer-action/hy-footer-action.js +2 -2
- package/dist/collection/components/footer/hy-footer-action/hy-footer-action.js.map +1 -1
- package/dist/collection/components/hy-accordion-container/accordion-container.js.map +1 -0
- package/dist/collection/components/hy-accordion-container/accordion-container.spec.js.map +1 -0
- package/dist/collection/components/hy-accordion-item/accordion-item.js.map +1 -0
- package/dist/collection/components/hy-accordion-item/accordion-item.spec.js.map +1 -0
- package/dist/collection/components/{adjacent-image-text → hy-adjacent-image-text}/adjacent-image-text.js +1 -1
- package/dist/collection/components/hy-adjacent-image-text/adjacent-image-text.js.map +1 -0
- package/dist/collection/components/hy-adjacent-image-text/adjacent-image-text.spec.js.map +1 -0
- package/dist/collection/components/hy-content-lists/hy-content-list/hy-content-list.js.map +1 -0
- package/dist/collection/components/{courses → hy-content-lists}/hy-content-list-item/hy-content-list-item.js +1 -1
- package/dist/collection/components/hy-content-lists/hy-content-list-item/hy-content-list-item.js.map +1 -0
- package/dist/collection/components/hy-cta-button/cta-button.e2e.js.map +1 -0
- package/dist/collection/components/hy-cta-button/cta-button.js.map +1 -0
- package/dist/collection/components/hy-cta-button/cta-button.spec.js.map +1 -0
- package/dist/collection/components/hy-cta-link/cta-link.e2e.js.map +1 -0
- package/dist/collection/components/hy-cta-link/cta-link.js.map +1 -0
- package/dist/collection/components/hy-cta-link/cta-link.spec.js.map +1 -0
- package/dist/collection/components/hy-heading/heading.js.map +1 -0
- package/dist/collection/components/hy-heading/heading.spec.js.map +1 -0
- package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.js +3 -0
- package/dist/collection/components/hy-hero-carousel/hy-hero-carousel.js.map +1 -1
- package/dist/collection/components/hy-icon/AddToTodoList.js.map +1 -0
- package/dist/collection/components/hy-icon/Alert.js.map +1 -0
- package/dist/collection/components/hy-icon/Archive.js.map +1 -0
- package/dist/collection/components/hy-icon/Arrow.js.map +1 -0
- package/dist/collection/components/hy-icon/ArrowDown.js.map +1 -0
- package/dist/collection/components/hy-icon/ArrowRight.js.map +1 -0
- package/dist/collection/components/hy-icon/ArrowUp.js.map +1 -0
- package/dist/collection/components/hy-icon/Avatar.js.map +1 -0
- package/dist/collection/components/hy-icon/AvatarGroup.js.map +1 -0
- package/dist/collection/components/hy-icon/Bachelor.js.map +1 -0
- package/dist/collection/components/hy-icon/BulletList.js.map +1 -0
- package/dist/collection/components/hy-icon/Camera.js.map +1 -0
- package/dist/collection/components/hy-icon/CaretDown.js.map +1 -0
- package/dist/collection/components/hy-icon/CaretLeft.js.map +1 -0
- package/dist/collection/components/hy-icon/CaretRight.js.map +1 -0
- package/dist/collection/components/hy-icon/CaretUp.js.map +1 -0
- package/dist/collection/components/hy-icon/Chat.js.map +1 -0
- package/dist/collection/components/hy-icon/CodeFork.js.map +1 -0
- package/dist/collection/components/hy-icon/Cogs.js.map +1 -0
- package/dist/collection/components/hy-icon/Contentlink.js.map +1 -0
- package/dist/collection/components/hy-icon/Customlink.js.map +1 -0
- package/dist/collection/components/hy-icon/Date.js.map +1 -0
- package/dist/collection/components/hy-icon/Discover.js.map +1 -0
- package/dist/collection/components/hy-icon/Done.js.map +1 -0
- package/dist/collection/components/hy-icon/Dot.js.map +1 -0
- package/dist/collection/components/hy-icon/DotArrowRight.js.map +1 -0
- package/dist/collection/components/hy-icon/Download.js.map +1 -0
- package/dist/collection/components/hy-icon/Drag.js.map +1 -0
- package/dist/collection/components/hy-icon/Dragbutton.js.map +1 -0
- package/dist/collection/components/hy-icon/DropDown.js.map +1 -0
- package/dist/collection/components/hy-icon/Edit.js.map +1 -0
- package/dist/collection/components/hy-icon/EditEvent.js.map +1 -0
- package/dist/collection/components/hy-icon/Embed.js.map +1 -0
- package/dist/collection/components/hy-icon/Euro.js.map +1 -0
- package/dist/collection/components/hy-icon/Events.js.map +1 -0
- package/dist/collection/components/hy-icon/ExternalLink.js.map +1 -0
- package/dist/collection/components/hy-icon/EyeSlash.js.map +1 -0
- package/dist/collection/components/hy-icon/Facebook.js.map +1 -0
- package/dist/collection/components/hy-icon/Favorites.js.map +1 -0
- package/dist/collection/components/hy-icon/Feed.js.map +1 -0
- package/dist/collection/components/hy-icon/FileText.js.map +1 -0
- package/dist/collection/components/hy-icon/FullScreen.js.map +1 -0
- package/dist/collection/components/hy-icon/Globe.js.map +1 -0
- package/dist/collection/components/hy-icon/GooglePlus.js.map +1 -0
- package/dist/collection/components/hy-icon/Grid.js.map +1 -0
- package/dist/collection/components/hy-icon/Hamburger.js.map +1 -0
- package/dist/collection/components/hy-icon/Heart.js.map +1 -0
- package/dist/collection/components/hy-icon/HeartSupport.js.map +1 -0
- package/dist/collection/components/hy-icon/Helsinginyliopisto.js.map +1 -0
- package/dist/collection/components/hy-icon/Home.js.map +1 -0
- package/dist/collection/components/hy-icon/HorizontalResize.js.map +1 -0
- package/dist/collection/components/hy-icon/HyLogo.js.map +1 -0
- package/dist/collection/components/hy-icon/IdNumber.js.map +1 -0
- package/dist/collection/components/hy-icon/Image.js.map +1 -0
- package/dist/collection/components/hy-icon/ImageGallery.js.map +1 -0
- package/dist/collection/components/hy-icon/Images.js.map +1 -0
- package/dist/collection/components/hy-icon/Info.js.map +1 -0
- package/dist/collection/components/hy-icon/InfoStroke.js.map +1 -0
- package/dist/collection/components/hy-icon/Instagram.js.map +1 -0
- package/dist/collection/components/hy-icon/LeikiList.js.map +1 -0
- package/dist/collection/components/hy-icon/LinkArrow.js.map +1 -0
- package/dist/collection/components/hy-icon/LinkArrow1.js.map +1 -0
- package/dist/collection/components/hy-icon/LinkArrowDown.js.map +1 -0
- package/dist/collection/components/hy-icon/LinkArrowLeft.js.map +1 -0
- package/dist/collection/components/hy-icon/LinkArrowOffsite.js.map +1 -0
- package/dist/collection/components/hy-icon/LinkArrowUp.js.map +1 -0
- package/dist/collection/components/hy-icon/Linkedin.js.map +1 -0
- package/dist/collection/components/hy-icon/List.js.map +1 -0
- package/dist/collection/components/hy-icon/ListAsBlocks.js.map +1 -0
- package/dist/collection/components/hy-icon/ListStyleGrid.js.map +1 -0
- package/dist/collection/components/hy-icon/ListStyleList.js.map +1 -0
- package/dist/collection/components/hy-icon/Listoflinks.js.map +1 -0
- package/dist/collection/components/hy-icon/Location.js.map +1 -0
- package/dist/collection/components/hy-icon/Log.js.map +1 -0
- package/dist/collection/components/hy-icon/Login.js.map +1 -0
- package/dist/collection/components/hy-icon/Logout.js.map +1 -0
- package/dist/collection/components/hy-icon/MagnifyMinus.js.map +1 -0
- package/dist/collection/components/hy-icon/MagnifyPlus.js.map +1 -0
- package/dist/collection/components/hy-icon/Mail.js.map +1 -0
- package/dist/collection/components/hy-icon/Master.js.map +1 -0
- package/dist/collection/components/hy-icon/Minus.js.map +1 -0
- package/dist/collection/components/hy-icon/Mobile.js.map +1 -0
- package/dist/collection/components/hy-icon/Modify.js.map +1 -0
- package/dist/collection/components/hy-icon/NaviTriangle.js.map +1 -0
- package/dist/collection/components/hy-icon/NewGroup.js.map +1 -0
- package/dist/collection/components/hy-icon/NewPerson.js.map +1 -0
- package/dist/collection/components/hy-icon/Notification.js.map +1 -0
- package/dist/collection/components/hy-icon/OpinderLogo.js.map +1 -0
- package/dist/collection/components/hy-icon/OpinderLogoNew.js.map +1 -0
- package/dist/collection/components/hy-icon/Pdf.js.map +1 -0
- package/dist/collection/components/hy-icon/People.js.map +1 -0
- package/dist/collection/components/hy-icon/PermissionAll.js.map +1 -0
- package/dist/collection/components/hy-icon/PermissionGroup.js.map +1 -0
- package/dist/collection/components/hy-icon/PermissionPrivate.js.map +1 -0
- package/dist/collection/components/hy-icon/Person.js.map +1 -0
- package/dist/collection/components/hy-icon/PersonOutline.js.map +1 -0
- package/dist/collection/components/hy-icon/Phone.js.map +1 -0
- package/dist/collection/components/hy-icon/Play.js.map +1 -0
- package/dist/collection/components/hy-icon/Plus.js.map +1 -0
- package/dist/collection/components/hy-icon/Preview.js.map +1 -0
- package/dist/collection/components/hy-icon/Profile.js.map +1 -0
- package/dist/collection/components/hy-icon/Question.js.map +1 -0
- package/dist/collection/components/hy-icon/Remove.js.map +1 -0
- package/dist/collection/components/hy-icon/Retweet.js.map +1 -0
- package/dist/collection/components/hy-icon/RotateLeft.js.map +1 -0
- package/dist/collection/components/hy-icon/RotateRight.js.map +1 -0
- package/dist/collection/components/hy-icon/Search.js.map +1 -0
- package/dist/collection/components/hy-icon/Share.js.map +1 -0
- package/dist/collection/components/hy-icon/SlimHamburgerMenu.js.map +1 -0
- package/dist/collection/components/hy-icon/SocialMedia.js.map +1 -0
- package/dist/collection/components/hy-icon/SomeFacebook.js.map +1 -0
- package/dist/collection/components/hy-icon/SomeInstagram.js.map +1 -0
- package/dist/collection/components/hy-icon/SomeLinkedin.js.map +1 -0
- package/dist/collection/components/hy-icon/SomeTwitter.js.map +1 -0
- package/dist/collection/components/hy-icon/SomeYoutube.js.map +1 -0
- package/dist/collection/components/hy-icon/Spinner.js.map +1 -0
- package/dist/collection/components/hy-icon/Square.js.map +1 -0
- package/dist/collection/components/hy-icon/SquareChecked.js.map +1 -0
- package/dist/collection/components/hy-icon/Time.js.map +1 -0
- package/dist/collection/components/hy-icon/TodoList.js.map +1 -0
- package/dist/collection/components/hy-icon/Tour.js.map +1 -0
- package/dist/collection/components/hy-icon/Twitter.js.map +1 -0
- package/dist/collection/components/{icon/HeartSupport.js.map → hy-icon/TwitterLike.js.map} +1 -1
- package/dist/collection/components/hy-icon/UnitsAndFaculties.js.map +1 -0
- package/dist/collection/components/hy-icon/Url.js.map +1 -0
- package/dist/collection/components/hy-icon/Video.js.map +1 -0
- package/dist/collection/components/hy-icon/Warning.js.map +1 -0
- package/dist/collection/components/hy-icon/Wrench.js.map +1 -0
- package/dist/collection/components/hy-icon/Youtube.js.map +1 -0
- package/dist/collection/components/hy-icon/allIcons.js.map +1 -0
- package/dist/collection/components/hy-icon/icon.js.map +1 -0
- package/dist/collection/components/hy-icon/icon.spec.js.map +1 -0
- package/dist/collection/components/hy-icon/icons.js.map +1 -0
- package/dist/collection/components/{image → hy-image}/image.js +38 -9
- package/dist/collection/components/hy-image/image.js.map +1 -0
- package/dist/collection/components/{image → hy-image}/image.spec.js +1 -1
- package/dist/collection/components/hy-image/image.spec.js.map +1 -0
- package/dist/collection/components/hy-ingress/ingress.js.map +1 -0
- package/dist/collection/components/hy-ingress/ingress.spec.js.map +1 -0
- package/dist/collection/components/hy-link/link.e2e.js.map +1 -0
- package/dist/collection/components/hy-link/link.js.map +1 -0
- package/dist/collection/components/hy-link/link.spec.js.map +1 -0
- package/dist/collection/components/{link-box → hy-link-box}/link-box.js +1 -1
- package/dist/collection/components/hy-link-box/link-box.js.map +1 -0
- package/dist/collection/components/hy-link-box/link-box.spec.js.map +1 -0
- package/dist/collection/components/{link-box-list → hy-link-box-list}/link-box-list.js +1 -1
- package/dist/collection/components/hy-link-box-list/link-box-list.js.map +1 -0
- package/dist/collection/components/{navigation → hy-navigation}/hy-menu-main-group/hy-menu-main-group.js +2 -2
- package/dist/collection/components/hy-navigation/hy-menu-main-group/hy-menu-main-group.js.map +1 -0
- package/dist/collection/components/{navigation → hy-navigation}/menu-language/menu-language.js +2 -2
- package/dist/collection/components/hy-navigation/menu-language/menu-language.js.map +1 -0
- package/dist/collection/components/hy-navigation/menu-language-item/menu-language-item.js.map +1 -0
- package/dist/collection/components/hy-pagination/hy-pager/hy-pager.js.map +1 -0
- package/dist/collection/components/hy-pagination/hy-pager-item/hy-pager-item.js.map +1 -0
- package/dist/collection/components/hy-paragraph-text/paragraph-text.js.map +1 -0
- package/dist/collection/components/hy-paragraph-text/paragraph-text.spec.js.map +1 -0
- package/dist/collection/components/{person-profile → hy-person-profile}/person-profile-listing/person-profile.listing.js +1 -1
- package/dist/collection/components/hy-person-profile/person-profile-listing/person-profile.listing.js.map +1 -0
- package/dist/collection/components/hy-person-profile/person-profile.js.map +1 -0
- package/dist/collection/components/{process → hy-process}/process.js +1 -1
- package/dist/collection/components/hy-process/process.js.map +1 -0
- package/dist/collection/components/hy-process/process.spec.js.map +1 -0
- package/dist/collection/components/hy-process-flow-box/process-flow-box.js.map +1 -0
- package/dist/collection/components/hy-process-flow-box/process-flow-box.spec.js.map +1 -0
- package/dist/collection/components/hy-row/row.js.map +1 -0
- package/dist/collection/components/hy-row/row.spec.js.map +1 -0
- package/dist/collection/components/hy-section-container/section-container.e2e.js.map +1 -0
- package/dist/collection/components/hy-section-container/section-container.js.map +1 -0
- package/dist/collection/components/hy-section-container/section-container.spec.js.map +1 -0
- package/dist/collection/components/{site-header → hy-site-header}/site-header.js +2 -2
- package/dist/collection/components/hy-site-header/site-header.js.map +1 -0
- package/dist/collection/components/hy-site-header/site-logo/site-logo.js.map +1 -0
- package/dist/collection/components/hy-site-header/site-search/site-search.js.map +1 -0
- package/dist/collection/components/hy-tiny-text/tiny-text.js.map +1 -0
- package/dist/collection/components/hy-tiny-text/tiny-text.spec.js.map +1 -0
- package/dist/collection/utils/utils.js +0 -54
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/esm/huds-lib.js +1 -1
- package/dist/esm/hy-accordion-container_2.entry.js +1 -1
- package/dist/esm/hy-accordion-container_2.entry.js.map +1 -1
- package/dist/esm/hy-adjacent-image-text.entry.js.map +1 -1
- package/dist/esm/hy-banner.entry.js +1 -1
- package/dist/esm/{hy-breadcrumbs_16.entry.js → hy-breadcrumbs_15.entry.js} +6 -24
- package/dist/esm/hy-breadcrumbs_15.entry.js.map +1 -0
- package/dist/esm/hy-checkbox.entry.js +1 -1
- package/dist/esm/hy-content-list_2.entry.js +1 -1
- package/dist/esm/hy-content-list_2.entry.js.map +1 -1
- package/dist/esm/hy-cta-button.entry.js +1 -1
- package/dist/esm/hy-cta-button.entry.js.map +1 -1
- package/dist/esm/hy-cta-link.entry.js +1 -1
- package/dist/esm/hy-cta-link.entry.js.map +1 -1
- package/dist/esm/hy-events.entry.js +1 -1
- package/dist/esm/hy-filter-group_6.entry.js +1 -1
- package/dist/esm/hy-general-list_2.entry.js +1 -1
- package/dist/esm/hy-hero-carousel.entry.js +4 -1
- package/dist/esm/hy-hero-carousel.entry.js.map +1 -1
- package/dist/esm/hy-hero.entry.js +1 -1
- package/dist/esm/hy-icon.entry.js.map +1 -1
- package/dist/esm/hy-image.entry.js +12 -6
- package/dist/esm/hy-image.entry.js.map +1 -1
- package/dist/esm/hy-introduction.entry.js +1 -1
- package/dist/esm/hy-key-figure_2.entry.js +1 -1
- package/dist/esm/hy-key-highlight_2.entry.js +1 -1
- package/dist/esm/hy-large-process-flow_2.entry.js +1 -1
- package/dist/esm/hy-link-box_2.entry.js +1 -1
- package/dist/esm/hy-link-box_2.entry.js.map +1 -1
- package/dist/esm/hy-link-list.entry.js +1 -1
- package/dist/esm/hy-link.entry.js +1 -1
- package/dist/esm/hy-link.entry.js.map +1 -1
- package/dist/esm/hy-list-item.entry.js +1 -1
- package/dist/esm/hy-main.entry.js +23 -0
- package/dist/esm/hy-main.entry.js.map +1 -0
- package/dist/esm/hy-menu-main-group.entry.js +1 -1
- package/dist/esm/hy-menu-main-group.entry.js.map +1 -1
- package/dist/esm/hy-opening-hours_2.entry.js +1 -1
- package/dist/esm/hy-pager_2.entry.js +1 -1
- package/dist/esm/hy-pager_2.entry.js.map +1 -1
- package/dist/esm/hy-paragraph-text.entry.js.map +1 -1
- package/dist/esm/hy-person-card.entry.js +1 -1
- package/dist/esm/hy-person-profile-listing.entry.js.map +1 -1
- package/dist/esm/hy-person-profile.entry.js +1 -1
- package/dist/esm/hy-person-profile.entry.js.map +1 -1
- package/dist/esm/hy-process_2.entry.js +1 -1
- package/dist/esm/hy-process_2.entry.js.map +1 -1
- package/dist/esm/hy-row.entry.js.map +1 -1
- package/dist/esm/hy-section-container.entry.js +17 -0
- package/dist/esm/hy-section-container.entry.js.map +1 -0
- package/dist/esm/hy-shortcuts.entry.js +1 -1
- package/dist/esm/hy-tiny-text.entry.js +18 -0
- package/dist/esm/hy-tiny-text.entry.js.map +1 -0
- package/dist/esm/hy-user-login-form.entry.js +1 -1
- package/dist/esm/hy-video.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-a4ebfef1.js → utils-7438924c.js} +2 -56
- package/dist/esm/utils-7438924c.js.map +1 -0
- package/dist/huds-lib/huds-lib.esm.js +1 -1
- package/dist/huds-lib/huds-lib.esm.js.map +1 -1
- package/dist/huds-lib/hy-accordion-container_2.entry.js +1 -1
- package/dist/huds-lib/hy-accordion-container_2.entry.js.map +1 -1
- package/dist/huds-lib/hy-adjacent-image-text.entry.js.map +1 -1
- package/dist/huds-lib/hy-banner.entry.js +1 -1
- package/dist/huds-lib/hy-breadcrumbs_15.entry.js +2 -0
- package/dist/huds-lib/hy-breadcrumbs_15.entry.js.map +1 -0
- package/dist/huds-lib/hy-checkbox.entry.js +1 -1
- package/dist/huds-lib/hy-content-list_2.entry.js +1 -1
- package/dist/huds-lib/hy-content-list_2.entry.js.map +1 -1
- package/dist/huds-lib/hy-cta-button.entry.js +1 -1
- package/dist/huds-lib/hy-cta-button.entry.js.map +1 -1
- package/dist/huds-lib/hy-cta-link.entry.js +1 -1
- package/dist/huds-lib/hy-cta-link.entry.js.map +1 -1
- package/dist/huds-lib/hy-events.entry.js +1 -1
- package/dist/huds-lib/hy-filter-group_6.entry.js +1 -1
- package/dist/huds-lib/hy-general-list_2.entry.js +1 -1
- package/dist/huds-lib/hy-hero-carousel.entry.js +1 -1
- package/dist/huds-lib/hy-hero-carousel.entry.js.map +1 -1
- package/dist/huds-lib/hy-hero.entry.js +1 -1
- package/dist/huds-lib/hy-icon.entry.js.map +1 -1
- package/dist/huds-lib/hy-image.entry.js +1 -1
- package/dist/huds-lib/hy-image.entry.js.map +1 -1
- package/dist/huds-lib/hy-introduction.entry.js +1 -1
- package/dist/huds-lib/hy-key-figure_2.entry.js +1 -1
- package/dist/huds-lib/hy-key-highlight_2.entry.js +1 -1
- package/dist/huds-lib/hy-large-process-flow_2.entry.js +1 -1
- package/dist/huds-lib/hy-link-box_2.entry.js +1 -1
- package/dist/huds-lib/hy-link-box_2.entry.js.map +1 -1
- package/dist/huds-lib/hy-link-list.entry.js +1 -1
- package/dist/huds-lib/hy-link.entry.js +1 -1
- package/dist/huds-lib/hy-link.entry.js.map +1 -1
- package/dist/huds-lib/hy-list-item.entry.js +1 -1
- package/dist/huds-lib/hy-main.entry.js +2 -0
- package/dist/huds-lib/hy-main.entry.js.map +1 -0
- package/dist/huds-lib/hy-menu-main-group.entry.js +1 -1
- package/dist/huds-lib/hy-menu-main-group.entry.js.map +1 -1
- package/dist/huds-lib/hy-opening-hours_2.entry.js +1 -1
- package/dist/huds-lib/hy-pager_2.entry.js +1 -1
- package/dist/huds-lib/hy-pager_2.entry.js.map +1 -1
- package/dist/huds-lib/hy-paragraph-text.entry.js.map +1 -1
- package/dist/huds-lib/hy-person-card.entry.js +1 -1
- package/dist/huds-lib/hy-person-profile-listing.entry.js.map +1 -1
- package/dist/huds-lib/hy-person-profile.entry.js +1 -1
- package/dist/huds-lib/hy-person-profile.entry.js.map +1 -1
- package/dist/huds-lib/hy-process_2.entry.js +1 -1
- package/dist/huds-lib/hy-process_2.entry.js.map +1 -1
- package/dist/huds-lib/hy-row.entry.js.map +1 -1
- package/dist/huds-lib/hy-section-container.entry.js +2 -0
- package/dist/huds-lib/hy-section-container.entry.js.map +1 -0
- package/dist/huds-lib/hy-shortcuts.entry.js +1 -1
- package/dist/huds-lib/hy-tiny-text.entry.js +2 -0
- package/dist/huds-lib/hy-tiny-text.entry.js.map +1 -0
- package/dist/huds-lib/hy-user-login-form.entry.js +1 -1
- package/dist/huds-lib/hy-video.entry.js +1 -1
- package/dist/huds-lib/utils-7438924c.js +2 -0
- package/dist/huds-lib/utils-7438924c.js.map +1 -0
- package/dist/types/components/{image → hy-image}/image.d.ts +2 -0
- package/dist/types/components/{navigation → hy-navigation}/menu-language/menu-language.d.ts +1 -1
- package/dist/types/components.d.ts +26 -250
- package/dist/types/utils/utils.d.ts +1 -50
- package/package.json +2 -2
- package/readme.md +4 -57
- package/components/color-box.d.ts +0 -11
- package/components/color-box.js +0 -35
- package/components/color-box.js.map +0 -1
- package/components/hy-baseline.d.ts +0 -11
- package/components/hy-baseline.js +0 -46
- package/components/hy-baseline.js.map +0 -1
- package/components/hy-box-container.d.ts +0 -11
- package/components/hy-box-container.js +0 -45
- package/components/hy-box-container.js.map +0 -1
- package/components/hy-button.d.ts +0 -11
- package/components/hy-button.js +0 -113
- package/components/hy-button.js.map +0 -1
- package/components/hy-docs-container.d.ts +0 -11
- package/components/hy-docs-container.js +0 -34
- package/components/hy-docs-container.js.map +0 -1
- package/components/hy-grid-container.d.ts +0 -11
- package/components/hy-grid-container.js +0 -35
- package/components/hy-grid-container.js.map +0 -1
- package/components/hy-grid-item.d.ts +0 -11
- package/components/hy-grid-item.js +0 -51
- package/components/hy-grid-item.js.map +0 -1
- package/components/hy-grid-row.d.ts +0 -11
- package/components/hy-grid-row.js +0 -35
- package/components/hy-grid-row.js.map +0 -1
- package/dist/cjs/color-box_7.cjs.entry.js +0 -177
- package/dist/cjs/color-box_7.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-breadcrumbs_16.cjs.entry.js.map +0 -1
- package/dist/cjs/hy-grid-container_3.cjs.entry.js +0 -61
- package/dist/cjs/hy-grid-container_3.cjs.entry.js.map +0 -1
- package/dist/cjs/utils-14d5aa6f.js.map +0 -1
- package/dist/collection/components/accordion-container/accordion-container.js.map +0 -1
- package/dist/collection/components/accordion-container/accordion-container.spec.js.map +0 -1
- package/dist/collection/components/accordion-item/accordion-item.js.map +0 -1
- package/dist/collection/components/accordion-item/accordion-item.spec.js.map +0 -1
- package/dist/collection/components/adjacent-image-text/adjacent-image-text.js.map +0 -1
- package/dist/collection/components/adjacent-image-text/adjacent-image-text.spec.js.map +0 -1
- package/dist/collection/components/baseline/baseline.css +0 -3
- package/dist/collection/components/baseline/baseline.js +0 -52
- package/dist/collection/components/baseline/baseline.js.map +0 -1
- package/dist/collection/components/baseline/baseline.spec.js +0 -7
- package/dist/collection/components/baseline/baseline.spec.js.map +0 -1
- package/dist/collection/components/button/button.css +0 -217
- package/dist/collection/components/button/button.e2e.js +0 -16
- package/dist/collection/components/button/button.e2e.js.map +0 -1
- package/dist/collection/components/button/button.js +0 -280
- package/dist/collection/components/button/button.js.map +0 -1
- package/dist/collection/components/button/button.spec.js +0 -55
- package/dist/collection/components/button/button.spec.js.map +0 -1
- package/dist/collection/components/color-box/color-box.css +0 -3
- package/dist/collection/components/color-box/color-box.js +0 -19
- package/dist/collection/components/color-box/color-box.js.map +0 -1
- package/dist/collection/components/color-box/color-box.spec.js +0 -18
- package/dist/collection/components/color-box/color-box.spec.js.map +0 -1
- package/dist/collection/components/courses/hy-content-list/hy-content-list.js.map +0 -1
- package/dist/collection/components/courses/hy-content-list-item/hy-content-list-item.js.map +0 -1
- package/dist/collection/components/cta-button/cta-button.e2e.js.map +0 -1
- package/dist/collection/components/cta-button/cta-button.js.map +0 -1
- package/dist/collection/components/cta-button/cta-button.spec.js.map +0 -1
- package/dist/collection/components/cta-link/cta-link.e2e.js.map +0 -1
- package/dist/collection/components/cta-link/cta-link.js.map +0 -1
- package/dist/collection/components/cta-link/cta-link.spec.js.map +0 -1
- package/dist/collection/components/docs-container/docs-container.css +0 -4
- package/dist/collection/components/docs-container/docs-container.js +0 -18
- package/dist/collection/components/docs-container/docs-container.js.map +0 -1
- package/dist/collection/components/grid-container/grid-container.css +0 -96
- package/dist/collection/components/grid-container/grid-container.js +0 -19
- package/dist/collection/components/grid-container/grid-container.js.map +0 -1
- package/dist/collection/components/grid-container/grid-container.spec.js +0 -7
- package/dist/collection/components/grid-container/grid-container.spec.js.map +0 -1
- package/dist/collection/components/grid-item/grid-item.css +0 -228
- package/dist/collection/components/grid-item/grid-item.js +0 -128
- package/dist/collection/components/grid-item/grid-item.js.map +0 -1
- package/dist/collection/components/grid-item/grid-item.spec.js +0 -7
- package/dist/collection/components/grid-item/grid-item.spec.js.map +0 -1
- package/dist/collection/components/grid-row/grid-row.css +0 -96
- package/dist/collection/components/grid-row/grid-row.js +0 -19
- package/dist/collection/components/grid-row/grid-row.js.map +0 -1
- package/dist/collection/components/grid-row/grid-row.spec.js +0 -7
- package/dist/collection/components/grid-row/grid-row.spec.js.map +0 -1
- package/dist/collection/components/heading/heading.js.map +0 -1
- package/dist/collection/components/heading/heading.spec.js.map +0 -1
- package/dist/collection/components/hy-box-container/hy-box-container.css +0 -3
- package/dist/collection/components/hy-box-container/hy-box-container.js +0 -68
- package/dist/collection/components/hy-box-container/hy-box-container.js.map +0 -1
- package/dist/collection/components/hy-box-container/test/hy-box-container.e2e.js +0 -10
- package/dist/collection/components/hy-box-container/test/hy-box-container.e2e.js.map +0 -1
- package/dist/collection/components/hy-box-container/test/hy-box-container.spec.js +0 -16
- package/dist/collection/components/hy-box-container/test/hy-box-container.spec.js.map +0 -1
- package/dist/collection/components/icon/AddToTodoList.js.map +0 -1
- package/dist/collection/components/icon/Alert.js.map +0 -1
- package/dist/collection/components/icon/Archive.js.map +0 -1
- package/dist/collection/components/icon/Arrow.js.map +0 -1
- package/dist/collection/components/icon/ArrowDown.js.map +0 -1
- package/dist/collection/components/icon/ArrowRight.js.map +0 -1
- package/dist/collection/components/icon/ArrowUp.js.map +0 -1
- package/dist/collection/components/icon/Avatar.js.map +0 -1
- package/dist/collection/components/icon/AvatarGroup.js.map +0 -1
- package/dist/collection/components/icon/Bachelor.js.map +0 -1
- package/dist/collection/components/icon/BulletList.js.map +0 -1
- package/dist/collection/components/icon/Camera.js.map +0 -1
- package/dist/collection/components/icon/CaretDown.js.map +0 -1
- package/dist/collection/components/icon/CaretLeft.js.map +0 -1
- package/dist/collection/components/icon/CaretRight.js.map +0 -1
- package/dist/collection/components/icon/CaretUp.js.map +0 -1
- package/dist/collection/components/icon/Chat.js.map +0 -1
- package/dist/collection/components/icon/CodeFork.js.map +0 -1
- package/dist/collection/components/icon/Cogs.js.map +0 -1
- package/dist/collection/components/icon/Contentlink.js.map +0 -1
- package/dist/collection/components/icon/Customlink.js.map +0 -1
- package/dist/collection/components/icon/Date.js.map +0 -1
- package/dist/collection/components/icon/Discover.js.map +0 -1
- package/dist/collection/components/icon/Done.js.map +0 -1
- package/dist/collection/components/icon/Dot.js.map +0 -1
- package/dist/collection/components/icon/DotArrowRight.js.map +0 -1
- package/dist/collection/components/icon/Download.js.map +0 -1
- package/dist/collection/components/icon/Drag.js.map +0 -1
- package/dist/collection/components/icon/Dragbutton.js.map +0 -1
- package/dist/collection/components/icon/DropDown.js.map +0 -1
- package/dist/collection/components/icon/Edit.js.map +0 -1
- package/dist/collection/components/icon/EditEvent.js.map +0 -1
- package/dist/collection/components/icon/Embed.js.map +0 -1
- package/dist/collection/components/icon/Euro.js.map +0 -1
- package/dist/collection/components/icon/Events.js.map +0 -1
- package/dist/collection/components/icon/ExternalLink.js.map +0 -1
- package/dist/collection/components/icon/EyeSlash.js.map +0 -1
- package/dist/collection/components/icon/Facebook.js.map +0 -1
- package/dist/collection/components/icon/Favorites.js.map +0 -1
- package/dist/collection/components/icon/Feed.js.map +0 -1
- package/dist/collection/components/icon/FileText.js.map +0 -1
- package/dist/collection/components/icon/FullScreen.js.map +0 -1
- package/dist/collection/components/icon/Globe.js.map +0 -1
- package/dist/collection/components/icon/GooglePlus.js.map +0 -1
- package/dist/collection/components/icon/Grid.js.map +0 -1
- package/dist/collection/components/icon/Hamburger.js.map +0 -1
- package/dist/collection/components/icon/Heart.js.map +0 -1
- package/dist/collection/components/icon/Helsinginyliopisto.js.map +0 -1
- package/dist/collection/components/icon/Home.js.map +0 -1
- package/dist/collection/components/icon/HorizontalResize.js.map +0 -1
- package/dist/collection/components/icon/HyLogo.js.map +0 -1
- package/dist/collection/components/icon/IdNumber.js.map +0 -1
- package/dist/collection/components/icon/Image.js.map +0 -1
- package/dist/collection/components/icon/ImageGallery.js.map +0 -1
- package/dist/collection/components/icon/Images.js.map +0 -1
- package/dist/collection/components/icon/Info.js.map +0 -1
- package/dist/collection/components/icon/InfoStroke.js.map +0 -1
- package/dist/collection/components/icon/Instagram.js.map +0 -1
- package/dist/collection/components/icon/LeikiList.js.map +0 -1
- package/dist/collection/components/icon/LinkArrow.js.map +0 -1
- package/dist/collection/components/icon/LinkArrow1.js.map +0 -1
- package/dist/collection/components/icon/LinkArrowDown.js.map +0 -1
- package/dist/collection/components/icon/LinkArrowLeft.js.map +0 -1
- package/dist/collection/components/icon/LinkArrowOffsite.js.map +0 -1
- package/dist/collection/components/icon/LinkArrowUp.js.map +0 -1
- package/dist/collection/components/icon/Linkedin.js.map +0 -1
- package/dist/collection/components/icon/List.js.map +0 -1
- package/dist/collection/components/icon/ListAsBlocks.js.map +0 -1
- package/dist/collection/components/icon/ListStyleGrid.js.map +0 -1
- package/dist/collection/components/icon/ListStyleList.js.map +0 -1
- package/dist/collection/components/icon/Listoflinks.js.map +0 -1
- package/dist/collection/components/icon/Location.js.map +0 -1
- package/dist/collection/components/icon/Log.js.map +0 -1
- package/dist/collection/components/icon/Login.js.map +0 -1
- package/dist/collection/components/icon/Logout.js.map +0 -1
- package/dist/collection/components/icon/MagnifyMinus.js.map +0 -1
- package/dist/collection/components/icon/MagnifyPlus.js.map +0 -1
- package/dist/collection/components/icon/Mail.js.map +0 -1
- package/dist/collection/components/icon/Master.js.map +0 -1
- package/dist/collection/components/icon/Minus.js.map +0 -1
- package/dist/collection/components/icon/Mobile.js.map +0 -1
- package/dist/collection/components/icon/Modify.js.map +0 -1
- package/dist/collection/components/icon/NaviTriangle.js.map +0 -1
- package/dist/collection/components/icon/NewGroup.js.map +0 -1
- package/dist/collection/components/icon/NewPerson.js.map +0 -1
- package/dist/collection/components/icon/Notification.js.map +0 -1
- package/dist/collection/components/icon/OpinderLogo.js.map +0 -1
- package/dist/collection/components/icon/OpinderLogoNew.js.map +0 -1
- package/dist/collection/components/icon/Pdf.js.map +0 -1
- package/dist/collection/components/icon/People.js.map +0 -1
- package/dist/collection/components/icon/PermissionAll.js.map +0 -1
- package/dist/collection/components/icon/PermissionGroup.js.map +0 -1
- package/dist/collection/components/icon/PermissionPrivate.js.map +0 -1
- package/dist/collection/components/icon/Person.js.map +0 -1
- package/dist/collection/components/icon/PersonOutline.js.map +0 -1
- package/dist/collection/components/icon/Phone.js.map +0 -1
- package/dist/collection/components/icon/Play.js.map +0 -1
- package/dist/collection/components/icon/Plus.js.map +0 -1
- package/dist/collection/components/icon/Preview.js.map +0 -1
- package/dist/collection/components/icon/Profile.js.map +0 -1
- package/dist/collection/components/icon/Question.js.map +0 -1
- package/dist/collection/components/icon/Remove.js.map +0 -1
- package/dist/collection/components/icon/Retweet.js.map +0 -1
- package/dist/collection/components/icon/RotateLeft.js.map +0 -1
- package/dist/collection/components/icon/RotateRight.js.map +0 -1
- package/dist/collection/components/icon/Search.js.map +0 -1
- package/dist/collection/components/icon/Share.js.map +0 -1
- package/dist/collection/components/icon/SlimHamburgerMenu.js.map +0 -1
- package/dist/collection/components/icon/SocialMedia.js.map +0 -1
- package/dist/collection/components/icon/SomeFacebook.js.map +0 -1
- package/dist/collection/components/icon/SomeInstagram.js.map +0 -1
- package/dist/collection/components/icon/SomeLinkedin.js.map +0 -1
- package/dist/collection/components/icon/SomeTwitter.js.map +0 -1
- package/dist/collection/components/icon/SomeYoutube.js.map +0 -1
- package/dist/collection/components/icon/Spinner.js.map +0 -1
- package/dist/collection/components/icon/Square.js.map +0 -1
- package/dist/collection/components/icon/SquareChecked.js.map +0 -1
- package/dist/collection/components/icon/Time.js.map +0 -1
- package/dist/collection/components/icon/TodoList.js.map +0 -1
- package/dist/collection/components/icon/Tour.js.map +0 -1
- package/dist/collection/components/icon/Twitter.js.map +0 -1
- package/dist/collection/components/icon/TwitterLike.js.map +0 -1
- package/dist/collection/components/icon/UnitsAndFaculties.js.map +0 -1
- package/dist/collection/components/icon/Url.js.map +0 -1
- package/dist/collection/components/icon/Video.js.map +0 -1
- package/dist/collection/components/icon/Warning.js.map +0 -1
- package/dist/collection/components/icon/Wrench.js.map +0 -1
- package/dist/collection/components/icon/Youtube.js.map +0 -1
- package/dist/collection/components/icon/allIcons.js.map +0 -1
- package/dist/collection/components/icon/icon.js.map +0 -1
- package/dist/collection/components/icon/icon.spec.js.map +0 -1
- package/dist/collection/components/icon/icons.js.map +0 -1
- package/dist/collection/components/image/image.js.map +0 -1
- package/dist/collection/components/image/image.spec.js.map +0 -1
- package/dist/collection/components/ingress/ingress.js.map +0 -1
- package/dist/collection/components/ingress/ingress.spec.js.map +0 -1
- package/dist/collection/components/link/link.e2e.js.map +0 -1
- package/dist/collection/components/link/link.js.map +0 -1
- package/dist/collection/components/link/link.spec.js.map +0 -1
- package/dist/collection/components/link-box/link-box.js.map +0 -1
- package/dist/collection/components/link-box/link-box.spec.js.map +0 -1
- package/dist/collection/components/link-box-list/link-box-list.js.map +0 -1
- package/dist/collection/components/navigation/hy-menu-main-group/hy-menu-main-group.js.map +0 -1
- package/dist/collection/components/navigation/menu-language/menu-language.js.map +0 -1
- package/dist/collection/components/navigation/menu-language-item/menu-language-item.js.map +0 -1
- package/dist/collection/components/pagination/hy-pager/hy-pager.js.map +0 -1
- package/dist/collection/components/pagination/hy-pager-item/hy-pager-item.js.map +0 -1
- package/dist/collection/components/paragraph-text/paragraph-text.js.map +0 -1
- package/dist/collection/components/paragraph-text/paragraph-text.spec.js.map +0 -1
- package/dist/collection/components/person-profile/person-profile-listing/person-profile.listing.js.map +0 -1
- package/dist/collection/components/person-profile/person-profile.js.map +0 -1
- package/dist/collection/components/process/process.js.map +0 -1
- package/dist/collection/components/process/process.spec.js.map +0 -1
- package/dist/collection/components/process-flow-box/process-flow-box.js.map +0 -1
- package/dist/collection/components/process-flow-box/process-flow-box.spec.js.map +0 -1
- package/dist/collection/components/row/row.js.map +0 -1
- package/dist/collection/components/row/row.spec.js.map +0 -1
- package/dist/collection/components/section-container/section-container.e2e.js.map +0 -1
- package/dist/collection/components/section-container/section-container.js.map +0 -1
- package/dist/collection/components/section-container/section-container.spec.js.map +0 -1
- package/dist/collection/components/site-header/site-header.js.map +0 -1
- package/dist/collection/components/site-header/site-logo/site-logo.js.map +0 -1
- package/dist/collection/components/site-header/site-search/site-search.js.map +0 -1
- package/dist/collection/components/tiny-text/tiny-text.js.map +0 -1
- package/dist/collection/components/tiny-text/tiny-text.spec.js.map +0 -1
- package/dist/esm/color-box_7.entry.js +0 -167
- package/dist/esm/color-box_7.entry.js.map +0 -1
- package/dist/esm/hy-breadcrumbs_16.entry.js.map +0 -1
- package/dist/esm/hy-grid-container_3.entry.js +0 -55
- package/dist/esm/hy-grid-container_3.entry.js.map +0 -1
- package/dist/esm/utils-a4ebfef1.js.map +0 -1
- package/dist/huds-lib/color-box_7.entry.js +0 -12
- package/dist/huds-lib/color-box_7.entry.js.map +0 -1
- package/dist/huds-lib/hy-breadcrumbs_16.entry.js +0 -2
- package/dist/huds-lib/hy-breadcrumbs_16.entry.js.map +0 -1
- package/dist/huds-lib/hy-grid-container_3.entry.js +0 -2
- package/dist/huds-lib/hy-grid-container_3.entry.js.map +0 -1
- package/dist/huds-lib/utils-a4ebfef1.js +0 -2
- package/dist/huds-lib/utils-a4ebfef1.js.map +0 -1
- package/dist/types/components/baseline/baseline.d.ts +0 -7
- package/dist/types/components/button/button.d.ts +0 -49
- package/dist/types/components/color-box/color-box.d.ts +0 -4
- package/dist/types/components/docs-container/docs-container.d.ts +0 -3
- package/dist/types/components/grid-container/grid-container.d.ts +0 -3
- package/dist/types/components/grid-item/grid-item.d.ts +0 -8
- package/dist/types/components/grid-row/grid-row.d.ts +0 -3
- package/dist/types/components/hy-box-container/hy-box-container.d.ts +0 -11
- /package/dist/collection/components/{accordion-container → hy-accordion-container}/accordion-container.css +0 -0
- /package/dist/collection/components/{accordion-container → hy-accordion-container}/accordion-container.js +0 -0
- /package/dist/collection/components/{accordion-container → hy-accordion-container}/accordion-container.spec.js +0 -0
- /package/dist/collection/components/{accordion-item → hy-accordion-item}/accordion-item.css +0 -0
- /package/dist/collection/components/{accordion-item → hy-accordion-item}/accordion-item.js +0 -0
- /package/dist/collection/components/{accordion-item → hy-accordion-item}/accordion-item.spec.js +0 -0
- /package/dist/collection/components/{adjacent-image-text → hy-adjacent-image-text}/adjacent-image-text.css +0 -0
- /package/dist/collection/components/{adjacent-image-text → hy-adjacent-image-text}/adjacent-image-text.spec.js +0 -0
- /package/dist/collection/components/{courses → hy-content-lists}/hy-content-list/hy-content-list.css +0 -0
- /package/dist/collection/components/{courses → hy-content-lists}/hy-content-list/hy-content-list.js +0 -0
- /package/dist/collection/components/{courses → hy-content-lists}/hy-content-list-item/hy-content-list-item.css +0 -0
- /package/dist/collection/components/{cta-button → hy-cta-button}/cta-button.css +0 -0
- /package/dist/collection/components/{cta-button → hy-cta-button}/cta-button.e2e.js +0 -0
- /package/dist/collection/components/{cta-button → hy-cta-button}/cta-button.js +0 -0
- /package/dist/collection/components/{cta-button → hy-cta-button}/cta-button.spec.js +0 -0
- /package/dist/collection/components/{cta-link → hy-cta-link}/cta-link.css +0 -0
- /package/dist/collection/components/{cta-link → hy-cta-link}/cta-link.e2e.js +0 -0
- /package/dist/collection/components/{cta-link → hy-cta-link}/cta-link.js +0 -0
- /package/dist/collection/components/{cta-link → hy-cta-link}/cta-link.spec.js +0 -0
- /package/dist/collection/components/{heading → hy-heading}/heading-fw.css +0 -0
- /package/dist/collection/components/{heading → hy-heading}/heading.css +0 -0
- /package/dist/collection/components/{heading → hy-heading}/heading.js +0 -0
- /package/dist/collection/components/{heading → hy-heading}/heading.spec.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/AddToTodoList.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Alert.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Archive.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Arrow.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/ArrowDown.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/ArrowRight.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/ArrowUp.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Avatar.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/AvatarGroup.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Bachelor.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/BulletList.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Camera.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/CaretDown.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/CaretLeft.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/CaretRight.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/CaretUp.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Chat.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/CodeFork.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Cogs.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Contentlink.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Customlink.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Date.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Discover.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Done.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Dot.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/DotArrowRight.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Download.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Drag.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Dragbutton.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/DropDown.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Edit.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/EditEvent.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Embed.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Euro.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Events.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/ExternalLink.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/EyeSlash.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Facebook.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Favorites.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Feed.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/FileText.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/FullScreen.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Globe.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/GooglePlus.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Grid.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Hamburger.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Heart.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/HeartSupport.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Helsinginyliopisto.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Home.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/HorizontalResize.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/HyLogo.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/IdNumber.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Image.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/ImageGallery.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Images.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Info.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/InfoStroke.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Instagram.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/LeikiList.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/LinkArrow.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/LinkArrow1.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/LinkArrowDown.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/LinkArrowLeft.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/LinkArrowOffsite.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/LinkArrowUp.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Linkedin.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/List.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/ListAsBlocks.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/ListStyleGrid.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/ListStyleList.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Listoflinks.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Location.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Log.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Login.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Logout.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/MagnifyMinus.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/MagnifyPlus.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Mail.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Master.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Minus.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Mobile.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Modify.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/NaviTriangle.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/NewGroup.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/NewPerson.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Notification.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/OpinderLogo.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/OpinderLogoNew.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Pdf.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/People.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/PermissionAll.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/PermissionGroup.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/PermissionPrivate.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Person.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/PersonOutline.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Phone.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Play.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Plus.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Preview.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Profile.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Question.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Remove.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Retweet.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/RotateLeft.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/RotateRight.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Search.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Share.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/SlimHamburgerMenu.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/SocialMedia.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/SomeFacebook.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/SomeInstagram.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/SomeLinkedin.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/SomeTwitter.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/SomeYoutube.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Spinner.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Square.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/SquareChecked.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Time.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/TodoList.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Tour.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Twitter.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/TwitterLike.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/UnitsAndFaculties.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Url.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Video.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Warning.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Wrench.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/Youtube.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/allIcons.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/icon.css +0 -0
- /package/dist/collection/components/{icon → hy-icon}/icon.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/icon.spec.js +0 -0
- /package/dist/collection/components/{icon → hy-icon}/icons.js +0 -0
- /package/dist/collection/components/{image → hy-image}/image.css +0 -0
- /package/dist/collection/components/{ingress → hy-ingress}/ingress.css +0 -0
- /package/dist/collection/components/{ingress → hy-ingress}/ingress.js +0 -0
- /package/dist/collection/components/{ingress → hy-ingress}/ingress.spec.js +0 -0
- /package/dist/collection/components/{link → hy-link}/link.css +0 -0
- /package/dist/collection/components/{link → hy-link}/link.e2e.js +0 -0
- /package/dist/collection/components/{link → hy-link}/link.js +0 -0
- /package/dist/collection/components/{link → hy-link}/link.spec.js +0 -0
- /package/dist/collection/components/{link-box → hy-link-box}/link-box.css +0 -0
- /package/dist/collection/components/{link-box → hy-link-box}/link-box.spec.js +0 -0
- /package/dist/collection/components/{link-box-list → hy-link-box-list}/link-box-list.css +0 -0
- /package/dist/collection/components/{navigation → hy-navigation}/hy-menu-main-group/hy-menu-main-group.css +0 -0
- /package/dist/collection/components/{navigation → hy-navigation}/menu-language/menu-language.css +0 -0
- /package/dist/collection/components/{navigation → hy-navigation}/menu-language-item/menu-language-item.css +0 -0
- /package/dist/collection/components/{navigation → hy-navigation}/menu-language-item/menu-language-item.js +0 -0
- /package/dist/collection/components/{pagination → hy-pagination}/hy-pager/hy-pager.css +0 -0
- /package/dist/collection/components/{pagination → hy-pagination}/hy-pager/hy-pager.js +0 -0
- /package/dist/collection/components/{pagination → hy-pagination}/hy-pager-item/hy-pager-item.css +0 -0
- /package/dist/collection/components/{pagination → hy-pagination}/hy-pager-item/hy-pager-item.js +0 -0
- /package/dist/collection/components/{paragraph-text → hy-paragraph-text}/paragraph-text-content.css +0 -0
- /package/dist/collection/components/{paragraph-text → hy-paragraph-text}/paragraph-text-landing.css +0 -0
- /package/dist/collection/components/{paragraph-text → hy-paragraph-text}/paragraph-text.css +0 -0
- /package/dist/collection/components/{paragraph-text → hy-paragraph-text}/paragraph-text.js +0 -0
- /package/dist/collection/components/{paragraph-text → hy-paragraph-text}/paragraph-text.spec.js +0 -0
- /package/dist/collection/components/{person-profile → hy-person-profile}/person-profile-listing/person-profile-listing.css +0 -0
- /package/dist/collection/components/{person-profile → hy-person-profile}/person-profile.css +0 -0
- /package/dist/collection/components/{person-profile → hy-person-profile}/person-profile.js +0 -0
- /package/dist/collection/components/{process → hy-process}/process.css +0 -0
- /package/dist/collection/components/{process → hy-process}/process.spec.js +0 -0
- /package/dist/collection/components/{process-flow-box → hy-process-flow-box}/process-flow-box.css +0 -0
- /package/dist/collection/components/{process-flow-box → hy-process-flow-box}/process-flow-box.js +0 -0
- /package/dist/collection/components/{process-flow-box → hy-process-flow-box}/process-flow-box.spec.js +0 -0
- /package/dist/collection/components/{row → hy-row}/row.css +0 -0
- /package/dist/collection/components/{row → hy-row}/row.js +0 -0
- /package/dist/collection/components/{row → hy-row}/row.spec.js +0 -0
- /package/dist/collection/components/{section-container → hy-section-container}/section-container.css +0 -0
- /package/dist/collection/components/{section-container → hy-section-container}/section-container.e2e.js +0 -0
- /package/dist/collection/components/{section-container → hy-section-container}/section-container.js +0 -0
- /package/dist/collection/components/{section-container → hy-section-container}/section-container.spec.js +0 -0
- /package/dist/collection/components/{site-header → hy-site-header}/site-header.css +0 -0
- /package/dist/collection/components/{site-header → hy-site-header}/site-logo/site-logo.css +0 -0
- /package/dist/collection/components/{site-header → hy-site-header}/site-logo/site-logo.js +0 -0
- /package/dist/collection/components/{site-header → hy-site-header}/site-search/site-search.css +0 -0
- /package/dist/collection/components/{site-header → hy-site-header}/site-search/site-search.js +0 -0
- /package/dist/collection/components/{tiny-text → hy-tiny-text}/tiny-text.css +0 -0
- /package/dist/collection/components/{tiny-text → hy-tiny-text}/tiny-text.js +0 -0
- /package/dist/collection/components/{tiny-text → hy-tiny-text}/tiny-text.spec.js +0 -0
- /package/dist/types/components/{accordion-container → hy-accordion-container}/accordion-container.d.ts +0 -0
- /package/dist/types/components/{accordion-item → hy-accordion-item}/accordion-item.d.ts +0 -0
- /package/dist/types/components/{adjacent-image-text → hy-adjacent-image-text}/adjacent-image-text.d.ts +0 -0
- /package/dist/types/components/{courses → hy-content-lists}/hy-content-list/hy-content-list.d.ts +0 -0
- /package/dist/types/components/{courses → hy-content-lists}/hy-content-list-item/hy-content-list-item.d.ts +0 -0
- /package/dist/types/components/{cta-button → hy-cta-button}/cta-button.d.ts +0 -0
- /package/dist/types/components/{cta-link → hy-cta-link}/cta-link.d.ts +0 -0
- /package/dist/types/components/{heading → hy-heading}/heading.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/AddToTodoList.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Alert.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Archive.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Arrow.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/ArrowDown.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/ArrowRight.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/ArrowUp.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Avatar.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/AvatarGroup.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Bachelor.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/BulletList.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Camera.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/CaretDown.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/CaretLeft.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/CaretRight.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/CaretUp.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Chat.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/CodeFork.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Cogs.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Contentlink.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Customlink.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Date.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Discover.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Done.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Dot.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/DotArrowRight.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Download.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Drag.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Dragbutton.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/DropDown.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Edit.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/EditEvent.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Embed.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Euro.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Events.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/ExternalLink.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/EyeSlash.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Facebook.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Favorites.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Feed.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/FileText.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/FullScreen.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Globe.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/GooglePlus.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Grid.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Hamburger.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Heart.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/HeartSupport.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Helsinginyliopisto.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Home.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/HorizontalResize.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/HyLogo.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/IdNumber.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Image.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/ImageGallery.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Images.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Info.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/InfoStroke.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Instagram.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/LeikiList.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/LinkArrow.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/LinkArrow1.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/LinkArrowDown.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/LinkArrowLeft.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/LinkArrowOffsite.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/LinkArrowUp.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Linkedin.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/List.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/ListAsBlocks.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/ListStyleGrid.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/ListStyleList.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Listoflinks.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Location.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Log.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Login.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Logout.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/MagnifyMinus.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/MagnifyPlus.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Mail.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Master.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Minus.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Mobile.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Modify.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/NaviTriangle.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/NewGroup.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/NewPerson.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Notification.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/OpinderLogo.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/OpinderLogoNew.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Pdf.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/People.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/PermissionAll.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/PermissionGroup.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/PermissionPrivate.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Person.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/PersonOutline.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Phone.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Play.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Plus.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Preview.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Profile.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Question.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Remove.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Retweet.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/RotateLeft.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/RotateRight.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Search.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Share.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/SlimHamburgerMenu.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/SocialMedia.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/SomeFacebook.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/SomeInstagram.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/SomeLinkedin.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/SomeTwitter.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/SomeYoutube.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Spinner.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Square.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/SquareChecked.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Time.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/TodoList.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Tour.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Twitter.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/TwitterLike.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/UnitsAndFaculties.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Url.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Video.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Warning.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Wrench.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/Youtube.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/allIcons.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/icon.d.ts +0 -0
- /package/dist/types/components/{icon → hy-icon}/icons.d.ts +0 -0
- /package/dist/types/components/{ingress → hy-ingress}/ingress.d.ts +0 -0
- /package/dist/types/components/{link → hy-link}/link.d.ts +0 -0
- /package/dist/types/components/{link-box → hy-link-box}/link-box.d.ts +0 -0
- /package/dist/types/components/{link-box-list → hy-link-box-list}/link-box-list.d.ts +0 -0
- /package/dist/types/components/{navigation → hy-navigation}/hy-menu-main-group/hy-menu-main-group.d.ts +0 -0
- /package/dist/types/components/{navigation → hy-navigation}/menu-language-item/menu-language-item.d.ts +0 -0
- /package/dist/types/components/{pagination → hy-pagination}/hy-pager/hy-pager.d.ts +0 -0
- /package/dist/types/components/{pagination → hy-pagination}/hy-pager-item/hy-pager-item.d.ts +0 -0
- /package/dist/types/components/{paragraph-text → hy-paragraph-text}/paragraph-text.d.ts +0 -0
- /package/dist/types/components/{person-profile → hy-person-profile}/person-profile-listing/person-profile.listing.d.ts +0 -0
- /package/dist/types/components/{person-profile → hy-person-profile}/person-profile.d.ts +0 -0
- /package/dist/types/components/{process → hy-process}/process.d.ts +0 -0
- /package/dist/types/components/{process-flow-box → hy-process-flow-box}/process-flow-box.d.ts +0 -0
- /package/dist/types/components/{row → hy-row}/row.d.ts +0 -0
- /package/dist/types/components/{section-container → hy-section-container}/section-container.d.ts +0 -0
- /package/dist/types/components/{site-header → hy-site-header}/site-header.d.ts +0 -0
- /package/dist/types/components/{site-header → hy-site-header}/site-logo/site-logo.d.ts +0 -0
- /package/dist/types/components/{site-header → hy-site-header}/site-search/site-search.d.ts +0 -0
- /package/dist/types/components/{tiny-text → hy-tiny-text}/tiny-text.d.ts +0 -0
package/readme.md
CHANGED
|
@@ -4,62 +4,9 @@ HUDS is a library of reusable design tokens, components, patterns and templates
|
|
|
4
4
|
|
|
5
5
|
Note: This library is still under _heavy_ development and we are still researching for the best ways to go forward. Please do not consider it to be production ready. We welcome any feedback and ideas on improving both the library and how to document the components.
|
|
6
6
|
|
|
7
|
-
The library is published in
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
HUDS has changed to monorepo using Lerna. Instructions to are being updated.
|
|
12
|
-
|
|
13
|
-
To be added
|
|
14
|
-
|
|
15
|
-
## Stencil
|
|
16
|
-
|
|
17
|
-
1. Have discussions with designers, agree on basic functionality
|
|
18
|
-
2. run `yarn generate` to generate a blanc component and start developing
|
|
19
|
-
3. Review the design with designer and PO or a colleague
|
|
20
|
-
4. Check with basic accessibility tools (TBD which tools?!?)
|
|
21
|
-
5. Build the library with `yarn build`. This will generate a .md file with some technical documentation to the components folder. Add your own desicription and instructions. At least it should
|
|
22
|
-
1. Have a short introduction
|
|
23
|
-
2. List all states the component can be in.
|
|
24
|
-
3. List all variants the component can have
|
|
25
|
-
4. Include code examples
|
|
26
|
-
6. Write unit tests where it makes sense. We use jest and puppeteer.
|
|
27
|
-
7. Make a merge request and ask a colleague for a review
|
|
28
|
-
|
|
29
|
-
## Adding documentation to Vuepress
|
|
30
|
-
|
|
31
|
-
You should install the documentation project from https://version.helsinki.fi/julkiset-sivut/design-system.
|
|
32
|
-
|
|
33
|
-
To run it with your version of the design system, follow these steps:
|
|
34
|
-
|
|
35
|
-
1. Clone the repo and install dependencies with `yarn install`
|
|
36
|
-
2. By default the library uses the latest version from npm. To use newer library version, see linking instructions below
|
|
37
|
-
3. Add necessary .md files to VuePress /docs folder and update `.vuepress/config.js`
|
|
38
|
-
|
|
39
|
-
In case you want to develop and see the component inside documentation right away, you can adapt the following workflow:
|
|
40
|
-
|
|
41
|
-
Inside the library folder, make a dynamic link of the library:
|
|
42
|
-
|
|
43
|
-
`yarn link`
|
|
44
|
-
|
|
45
|
-
`yarn build.watch` (this builds the library on each save, so your changes will be reflected inside VuePress, thanks to the dynamic link)
|
|
46
|
-
|
|
47
|
-
Inside the Vuepress project
|
|
48
|
-
|
|
49
|
-
`yarn link <library project name>`
|
|
50
|
-
|
|
51
|
-
`yarn docs:dev`
|
|
52
|
-
|
|
53
|
-
Currently you need to manually sync .md files between the library and VuePress code bases. Best workflow could be to write documentation inside VuePress and then finally sync with matching file in library.
|
|
54
|
-
|
|
55
|
-
## Running with Docker (WIP)
|
|
56
|
-
|
|
57
|
-
If you don't want or cannot install node and other dependencies, you can run the development setup locally in a container like this:
|
|
58
|
-
|
|
59
|
-
`docker-compose up`
|
|
60
|
-
|
|
61
|
-
Image can be rebuilt with `docker-compose build` if needed for example after a node package was added.
|
|
62
|
-
|
|
63
|
-
## Making a release
|
|
7
|
+
The library is published in
|
|
8
|
+
- Core library [npm](https://www.npmjs.com/package/@itcenteratunihelsinki/huds-lib)
|
|
9
|
+
- React wrapper [npm](https://www.npmjs.com/package/@itcenteratunihelsinki/huds-lib-react)
|
|
64
10
|
|
|
11
|
+
And documentation is hosted at [https://static.helsinki.fi/ds/](https://static.helsinki.fi/ds/)
|
|
65
12
|
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
-
|
|
3
|
-
interface ColorBox extends Components.ColorBox, HTMLElement {}
|
|
4
|
-
export const ColorBox: {
|
|
5
|
-
prototype: ColorBox;
|
|
6
|
-
new (): ColorBox;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
package/components/color-box.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
|
|
3
|
-
const colorBoxCss = ":host{display:block}";
|
|
4
|
-
|
|
5
|
-
const ColorBox$1 = /*@__PURE__*/ proxyCustomElement(class ColorBox extends HTMLElement {
|
|
6
|
-
constructor() {
|
|
7
|
-
super();
|
|
8
|
-
this.__registerHost();
|
|
9
|
-
this.__attachShadow();
|
|
10
|
-
}
|
|
11
|
-
render() {
|
|
12
|
-
return (h(Host, null, h("slot", null)));
|
|
13
|
-
}
|
|
14
|
-
static get style() { return colorBoxCss; }
|
|
15
|
-
}, [1, "color-box"]);
|
|
16
|
-
function defineCustomElement$1() {
|
|
17
|
-
if (typeof customElements === "undefined") {
|
|
18
|
-
return;
|
|
19
|
-
}
|
|
20
|
-
const components = ["color-box"];
|
|
21
|
-
components.forEach(tagName => { switch (tagName) {
|
|
22
|
-
case "color-box":
|
|
23
|
-
if (!customElements.get(tagName)) {
|
|
24
|
-
customElements.define(tagName, ColorBox$1);
|
|
25
|
-
}
|
|
26
|
-
break;
|
|
27
|
-
} });
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
const ColorBox = ColorBox$1;
|
|
31
|
-
const defineCustomElement = defineCustomElement$1;
|
|
32
|
-
|
|
33
|
-
export { ColorBox, defineCustomElement };
|
|
34
|
-
|
|
35
|
-
//# sourceMappingURL=color-box.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"color-box.js","mappings":";;AAAA,MAAM,WAAW,GAAG,sBAAsB;;MCO7BA,UAAQ;;;;;;EACnB,MAAM;IACJ,QACE,EAAC,IAAI,QACH,eAAa,CACR,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;","names":["ColorBox"],"sources":["./src/components/color-box/color-box.css?tag=color-box&encapsulation=shadow","./src/components/color-box/color-box.tsx"],"sourcesContent":[":host {\n display: block;\n}\n","import {Component, ComponentInterface, Host, h} from \"@stencil/core\";\n\n@Component({\n tag: \"color-box\",\n styleUrl: \"color-box.css\",\n shadow: true,\n})\nexport class ColorBox implements ComponentInterface {\n render() {\n return (\n <Host>\n <slot></slot>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
-
|
|
3
|
-
interface HyBaseline extends Components.HyBaseline, HTMLElement {}
|
|
4
|
-
export const HyBaseline: {
|
|
5
|
-
prototype: HyBaseline;
|
|
6
|
-
new (): HyBaseline;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { c as css } from './emotion.esm.js';
|
|
3
|
-
|
|
4
|
-
const baselineCss = "div.hy-baseline{display:block}";
|
|
5
|
-
|
|
6
|
-
const createCss = (value) => {
|
|
7
|
-
return css `
|
|
8
|
-
> * + * {
|
|
9
|
-
margin-top: ${value}rem;
|
|
10
|
-
display: block;
|
|
11
|
-
}
|
|
12
|
-
`;
|
|
13
|
-
};
|
|
14
|
-
const Baseline = /*@__PURE__*/ proxyCustomElement(class Baseline extends HTMLElement {
|
|
15
|
-
constructor() {
|
|
16
|
-
super();
|
|
17
|
-
this.__registerHost();
|
|
18
|
-
this.margin = 1;
|
|
19
|
-
}
|
|
20
|
-
render() {
|
|
21
|
-
return (h("div", { class: createCss(this.margin) }, h("slot", null)));
|
|
22
|
-
}
|
|
23
|
-
static get style() { return baselineCss; }
|
|
24
|
-
}, [4, "hy-baseline", {
|
|
25
|
-
"margin": [2]
|
|
26
|
-
}]);
|
|
27
|
-
function defineCustomElement$1() {
|
|
28
|
-
if (typeof customElements === "undefined") {
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
const components = ["hy-baseline"];
|
|
32
|
-
components.forEach(tagName => { switch (tagName) {
|
|
33
|
-
case "hy-baseline":
|
|
34
|
-
if (!customElements.get(tagName)) {
|
|
35
|
-
customElements.define(tagName, Baseline);
|
|
36
|
-
}
|
|
37
|
-
break;
|
|
38
|
-
} });
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
const HyBaseline = Baseline;
|
|
42
|
-
const defineCustomElement = defineCustomElement$1;
|
|
43
|
-
|
|
44
|
-
export { HyBaseline, defineCustomElement };
|
|
45
|
-
|
|
46
|
-
//# sourceMappingURL=hy-baseline.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"hy-baseline.js","mappings":";;;AAAA,MAAM,WAAW,GAAG,gCAAgC;;ACGpD,MAAM,SAAS,GAAG,CAAC,KAAa;EAC9B,OAAO,GAAG,CAAA;;oBAEQ,KAAK;;;GAGtB,CAAC;AACJ,CAAC,CAAC;MAOW,QAAQ;;;;kBAIM,CAAC;;EAC1B,MAAM;IACJ,QACE,WAAK,KAAK,EAAE,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,IAChC,eAAa,CACT,EACN;GACH;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/baseline/baseline.css?tag=hy-baseline","./src/components/baseline/baseline.tsx"],"sourcesContent":["div.hy-baseline {\n display: block;\n}\n","import {Component, h, Prop} from \"@stencil/core\";\nimport {css} from \"emotion\";\n\nconst createCss = (value: number) => {\n return css`\n > * + * {\n margin-top: ${value}rem;\n display: block;\n }\n `;\n};\n\n@Component({\n tag: \"hy-baseline\",\n styleUrl: \"baseline.css\",\n shadow: false,\n})\nexport class Baseline {\n /**\n * Top margin to be added to all but first element. Amount of rem:s\n */\n @Prop() margin: number = 1;\n render() {\n return (\n <div class={createCss(this.margin)}>\n <slot></slot>\n </div>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
-
|
|
3
|
-
interface HyBoxContainer extends Components.HyBoxContainer, HTMLElement {}
|
|
4
|
-
export const HyBoxContainer: {
|
|
5
|
-
prototype: HyBoxContainer;
|
|
6
|
-
new (): HyBoxContainer;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { c as css } from './emotion.esm.js';
|
|
3
|
-
|
|
4
|
-
const hyBoxContainerCss = ":host{display:block}";
|
|
5
|
-
|
|
6
|
-
const HyBoxContainer$1 = /*@__PURE__*/ proxyCustomElement(class HyBoxContainer extends HTMLElement {
|
|
7
|
-
constructor() {
|
|
8
|
-
super();
|
|
9
|
-
this.__registerHost();
|
|
10
|
-
this.wrap = true;
|
|
11
|
-
this.maxWidth = true;
|
|
12
|
-
}
|
|
13
|
-
render() {
|
|
14
|
-
return (h(Host, { style: { width: "100%", display: "flex", flex: "1", justifyContent: "center" } }, h("div", { class: css `
|
|
15
|
-
display: flex;
|
|
16
|
-
width: 100%;
|
|
17
|
-
flex-wrap: ${this.wrap ? "wrap" : "no-wrap"};
|
|
18
|
-
max-width: ${this.maxWidth ? "90rem" : "100%"};
|
|
19
|
-
` }, h("slot", null))));
|
|
20
|
-
}
|
|
21
|
-
static get style() { return hyBoxContainerCss; }
|
|
22
|
-
}, [4, "hy-box-container", {
|
|
23
|
-
"wrap": [4],
|
|
24
|
-
"maxWidth": [4, "max-width"]
|
|
25
|
-
}]);
|
|
26
|
-
function defineCustomElement$1() {
|
|
27
|
-
if (typeof customElements === "undefined") {
|
|
28
|
-
return;
|
|
29
|
-
}
|
|
30
|
-
const components = ["hy-box-container"];
|
|
31
|
-
components.forEach(tagName => { switch (tagName) {
|
|
32
|
-
case "hy-box-container":
|
|
33
|
-
if (!customElements.get(tagName)) {
|
|
34
|
-
customElements.define(tagName, HyBoxContainer$1);
|
|
35
|
-
}
|
|
36
|
-
break;
|
|
37
|
-
} });
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
const HyBoxContainer = HyBoxContainer$1;
|
|
41
|
-
const defineCustomElement = defineCustomElement$1;
|
|
42
|
-
|
|
43
|
-
export { HyBoxContainer, defineCustomElement };
|
|
44
|
-
|
|
45
|
-
//# sourceMappingURL=hy-box-container.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"hy-box-container.js","mappings":";;;AAAA,MAAM,iBAAiB,GAAG,sBAAsB;;MCQnCA,gBAAc;;;;gBAID,IAAI;oBAIA,IAAI;;EAChC,MAAM;IACJ,QACE,EAAC,IAAI,IAAC,KAAK,EAAE,EAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,cAAc,EAAE,QAAQ,EAAC,IAChF,WACE,KAAK,EAAE,GAAG,CAAA;;;yBAGK,IAAI,CAAC,IAAI,GAAG,MAAM,GAAG,SAAS;yBAC9B,IAAI,CAAC,QAAQ,GAAG,OAAO,GAAG,MAAM;WAC9C,IAED,eAAa,CACT,CACD,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;","names":["HyBoxContainer"],"sources":["./src/components/hy-box-container/hy-box-container.css?tag=hy-box-container","./src/components/hy-box-container/hy-box-container.tsx"],"sourcesContent":[":host {\n display: block;\n}\n","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"],"version":3}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
-
|
|
3
|
-
interface HyButton extends Components.HyButton, HTMLElement {}
|
|
4
|
-
export const HyButton: {
|
|
5
|
-
prototype: HyButton;
|
|
6
|
-
new (): HyButton;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
package/components/hy-button.js
DELETED
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { d as defineCustomElement$2 } from './icon.js';
|
|
3
|
-
|
|
4
|
-
const colors = {
|
|
5
|
-
brandMain: "#0e688b",
|
|
6
|
-
brandMainLight: "#107eab",
|
|
7
|
-
brandMainActive: "#005379",
|
|
8
|
-
brandMainDark: "#003146",
|
|
9
|
-
brandMainNearlyBlack: "#000222",
|
|
10
|
-
grayscaleWhite: "#fff",
|
|
11
|
-
grayscaleLight: "#f8f8f8",
|
|
12
|
-
grayscaleMedium: "#d2d2d2",
|
|
13
|
-
grayscaleBackgroundBox: "#f5f5f5",
|
|
14
|
-
grayscaleBackgroundArrow: "#dfdfdf",
|
|
15
|
-
grayscaleMediumDark: "#979797",
|
|
16
|
-
grayscaleDark: "#555555",
|
|
17
|
-
grayscaleBlack: "#000000",
|
|
18
|
-
additionalRedLight: "#E5053A",
|
|
19
|
-
additionalRedDark: "#A31621",
|
|
20
|
-
additionalPurpleLight: "#420039",
|
|
21
|
-
additionalYellow: "#F9A21A",
|
|
22
|
-
additionalSkyblue: "#48C5F8",
|
|
23
|
-
additionalOrange: "#D14600",
|
|
24
|
-
additionalGreenLight: "#96BA3C",
|
|
25
|
-
additionalGreenDark: "#006400",
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
const buttonCss = "@charset \"UTF-8\";:root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block;-webkit-box-sizing:border-box;box-sizing:border-box}.hy-button__icon{-ms-flex-line-pack:center;align-content:center;display:-webkit-box;display:-ms-flexbox;display:flex}.hy-button{display:block;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--brand-main);color:var(--grayscale-white);font-family:var(--main-font-family);border:none;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:0.9375rem;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;line-height:0.9375rem;margin:0;padding:0;-webkit-transition-duration:0.1s;transition-duration:0.1s;-webkit-transition-property:all;transition-property:all;min-height:44px;position:relative;text-decoration:none}.hy-button.size-large{min-height:48px}.hy-button.primary{background-color:var(--brand-main);color:var(--grayscale-white)}.hy-button.primary .hy-button__icon{padding:8px 13px}.hy-button.primary svg{fill:var(--grayscale-white)}.hy-button.primary:hover{background-color:var(--brand-main-active)}.hy-button.primary:active{background-color:var(--brand-main-dark)}.hy-button.primary:disabled{background-color:var(--grayscale-medium);color:var(--grayscale-dark)}.hy-button.primary:disabled svg{fill:var(--grayscale-dark)}.hy-button.primary:focus{outline:solid 2px var(--additional-yellow);outline-offset:2px}.hy-button.secondary{background-color:transparent;border:solid 2px var(--brand-main);color:var(--brand-main)}.hy-button.secondary svg{fill:var(--brand-main)}.hy-button.secondary:hover{border:solid 2px var(--brand-main-active);color:var(--brand-main-active)}.hy-button.secondary:hover svg{fill:var(--brand-main-active)}.hy-button.secondary:active{border:solid 2px var(--brand-main-dark);color:var(--brand-main-dark)}.hy-button.secondary:active svg{fill:var(--brand-main-dark)}.hy-button.secondary:disabled{border:solid 2px var(--grayscale-medium-dark);color:var(--grayscale-medium-dark)}.hy-button.secondary:disabled svg{fill:var(--grayscale-medium-dark)}.hy-button::after{content:\"\";display:block;border-bottom:2px solid var(--additional-skyblue);position:absolute;bottom:-3.5px;left:3px;right:3px;z-index:0}.hy-button.primary::after{bottom:-2px}.hy-button:disabled{cursor:not-allowed}.hy-button:disabled::after{border-bottom:2px solid var(--grayscale-medium-dark);bottom:-3.5px}.hy-button:disabled.primary::after{bottom:-2px}.hy-button .hy-button__text{margin:12px 24px}.hy-button .hy-button__icon-right{padding-right:12px}hy-button[icon-right=hy-icon-arrow-right] .primary .hy-button__text{margin:12px 0 12px 16px;padding-right:16px}hy-button[icon-right=hy-icon-arrow-right] .primary:not(disabled) .hy-button__text{border-right:solid 1px var(--additional-skyblue)}hy-button[icon-right=hy-icon-arrow-right] .primary:disabled .hy-button__text{border-right:solid 1px var(--grayscale-dark)}hy-button[icon-right=hy-icon-arrow-right] .secondary .hy-button__text{margin:12px 16px}hy-button[icon-right=hy-icon-arrow-right] .secondary .hy-button__icon{padding-right:1rem;padding-left:0}hy-button[icon=hy-icon-arrow-left] .primary .hy-button__text{margin:12px 16px 12px 0;padding-left:16px}hy-button[icon=hy-icon-arrow-left] .primary:not(disabled) .hy-button__text{border-left:solid 1px var(--additional-skyblue)}hy-button[icon=hy-icon-arrow-left] .primary:disabled .hy-button__text{border-left:solid 1px var(--grayscale-dark)}hy-button[icon=hy-icon-arrow-left] .secondary .hy-button__text{margin:12px 16px}hy-button[icon=hy-icon-arrow-left] .secondary .hy-button__icon{padding-left:1rem;padding-right:0}";
|
|
29
|
-
|
|
30
|
-
const fillcolors = {
|
|
31
|
-
primary: colors.brandMain,
|
|
32
|
-
secondary: "white",
|
|
33
|
-
};
|
|
34
|
-
const Button = /*@__PURE__*/ proxyCustomElement(class Button extends HTMLElement {
|
|
35
|
-
constructor() {
|
|
36
|
-
super();
|
|
37
|
-
this.__registerHost();
|
|
38
|
-
this.buttonType = "submit";
|
|
39
|
-
this.buttonClasses = "";
|
|
40
|
-
this.variant = "primary";
|
|
41
|
-
this.state = "enabled";
|
|
42
|
-
this.size = "normal";
|
|
43
|
-
this.disabled = false;
|
|
44
|
-
this.url = "";
|
|
45
|
-
this.ariaLabel = "";
|
|
46
|
-
this.isExternal = false;
|
|
47
|
-
this.icon = undefined;
|
|
48
|
-
this.iconRight = undefined;
|
|
49
|
-
this.attrs = "";
|
|
50
|
-
}
|
|
51
|
-
render() {
|
|
52
|
-
const classAttributes = ["hy-button", this.variant, this.state, "size-" + this.size, this.buttonClasses];
|
|
53
|
-
const iconFillColor = fillcolors[this.variant];
|
|
54
|
-
const target = this.isExternal ? "_blank" : "_self";
|
|
55
|
-
let props = {};
|
|
56
|
-
if (this.attrs && this.attrs.length > 2) {
|
|
57
|
-
let attrString = JSON.parse(this.attrs);
|
|
58
|
-
let attrArray = attrString.split('" ');
|
|
59
|
-
attrArray.map((item) => {
|
|
60
|
-
let parts = item.split("=");
|
|
61
|
-
let key = parts[0];
|
|
62
|
-
let value = parts[1];
|
|
63
|
-
key = key.replaceAll('"', " ");
|
|
64
|
-
key = key.trim();
|
|
65
|
-
if (key !== "class") {
|
|
66
|
-
value = value.replaceAll('"', " ");
|
|
67
|
-
value = value.trim();
|
|
68
|
-
props[key] = value;
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
return this.url ? (h(Host, { "icon-right": "hy-icon-arrow-right", "aria-label": this.ariaLabel }, h("div", { style: { display: "flex" } }, h("a", { class: classAttributes.join(" "), href: this.url, target: target }, h("span", { class: "hy-button__text" }, h("slot", null)), h("span", { class: "hy-button__icon" }, h("hy-icon", { icon: "hy-icon-arrow-right", fill: iconFillColor, size: 13 })))))) : (h(Host, { "aria-label": this.ariaLabel }, h("button", Object.assign({ type: this.buttonType, class: classAttributes.join(" "), disabled: this.disabled }, props), !!this.icon && (h("span", { class: "hy-button__icon hy-button__icon--left" }, h("hy-icon", { icon: this.icon, fill: iconFillColor, size: 13 }))), h("span", { class: "hy-button__text" }, h("slot", null)), !!this.iconRight && (h("span", { class: "hy-button__icon hy-button__icon--right" }, h("hy-icon", { icon: this.iconRight, fill: iconFillColor, size: 13 }))))));
|
|
73
|
-
}
|
|
74
|
-
static get style() { return buttonCss; }
|
|
75
|
-
}, [4, "hy-button", {
|
|
76
|
-
"buttonType": [1, "button-type"],
|
|
77
|
-
"buttonClasses": [1, "button-classes"],
|
|
78
|
-
"variant": [1],
|
|
79
|
-
"state": [1],
|
|
80
|
-
"size": [1],
|
|
81
|
-
"disabled": [4],
|
|
82
|
-
"url": [1],
|
|
83
|
-
"ariaLabel": [1, "aria-label"],
|
|
84
|
-
"isExternal": [4, "is-external"],
|
|
85
|
-
"icon": [1],
|
|
86
|
-
"iconRight": [1, "icon-right"],
|
|
87
|
-
"attrs": [1]
|
|
88
|
-
}]);
|
|
89
|
-
function defineCustomElement$1() {
|
|
90
|
-
if (typeof customElements === "undefined") {
|
|
91
|
-
return;
|
|
92
|
-
}
|
|
93
|
-
const components = ["hy-button", "hy-icon"];
|
|
94
|
-
components.forEach(tagName => { switch (tagName) {
|
|
95
|
-
case "hy-button":
|
|
96
|
-
if (!customElements.get(tagName)) {
|
|
97
|
-
customElements.define(tagName, Button);
|
|
98
|
-
}
|
|
99
|
-
break;
|
|
100
|
-
case "hy-icon":
|
|
101
|
-
if (!customElements.get(tagName)) {
|
|
102
|
-
defineCustomElement$2();
|
|
103
|
-
}
|
|
104
|
-
break;
|
|
105
|
-
} });
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
const HyButton = Button;
|
|
109
|
-
const defineCustomElement = defineCustomElement$1;
|
|
110
|
-
|
|
111
|
-
export { HyButton, defineCustomElement };
|
|
112
|
-
|
|
113
|
-
//# sourceMappingURL=hy-button.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"hy-button.js","mappings":";;;AAAA,eAAe;EACb,SAAS,EAAE,SAAS;EACpB,cAAc,EAAE,SAAS;EACzB,eAAe,EAAE,SAAS;EAC1B,aAAa,EAAE,SAAS;EACxB,oBAAoB,EAAE,SAAS;EAC/B,cAAc,EAAE,MAAM;EACtB,cAAc,EAAE,SAAS;EACzB,eAAe,EAAE,SAAS;EAC1B,sBAAsB,EAAE,SAAS;EACjC,wBAAwB,EAAE,SAAS;EACnC,mBAAmB,EAAE,SAAS;EAC9B,aAAa,EAAE,SAAS;EACxB,cAAc,EAAE,SAAS;EACzB,kBAAkB,EAAE,SAAS;EAC7B,iBAAiB,EAAE,SAAS;EAC5B,qBAAqB,EAAE,SAAS;EAChC,gBAAgB,EAAE,SAAS;EAC3B,iBAAiB,EAAE,SAAS;EAC5B,gBAAgB,EAAE,SAAS;EAC3B,oBAAoB,EAAE,SAAS;EAC/B,mBAAmB,EAAE,SAAS;CAC/B;;ACtBD,MAAM,SAAS,GAAG,ypJAAypJ;;ACI3qJ,MAAM,UAAU,GAAG;EACjB,OAAO,EAAE,MAAM,CAAC,SAAS;EACzB,SAAS,EAAE,OAAO;CACnB,CAAC;MAOW,MAAM;;;;sBAIY,QAAQ;yBAKL,EAAE;mBAKA,SAAS;iBAIH,SAAS;gBAId,QAAQ;oBAIf,KAAK;eAIV,EAAE;qBAIG,EAAE;sBAIC,KAAK;;;iBAUZ,EAAE;;EAE1B,MAAM;IACJ,MAAM,eAAe,GAAG,CAAC,WAAW,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC;IACzG,MAAM,aAAa,GAAG,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC/C,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpD,IAAI,KAAK,GAAG,EAAE,CAAC;IAEf,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;MACvC,IAAI,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;MACxC,IAAI,SAAS,GAAG,UAAU,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;MACvC,SAAS,CAAC,GAAG,CAAC,CAAC,IAAI;QACjB,IAAI,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAC5B,IAAI,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;QACnB,IAAI,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;QACrB,GAAG,GAAG,GAAG,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;QAC/B,GAAG,GAAG,GAAG,CAAC,IAAI,EAAE,CAAC;QACjB,IAAI,GAAG,KAAK,OAAO,EAAE;UACnB,KAAK,GAAG,KAAK,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;UACnC,KAAK,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC;UACrB,KAAK,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SACpB;OACF,CAAC,CAAC;KACJ;IAED,OAAO,IAAI,CAAC,GAAG,IACb,EAAC,IAAI,kBAAY,qBAAqB,gBAAa,IAAI,CAAC,SAAS,IAC/D,WAAK,KAAK,EAAE,EAAC,OAAO,EAAE,MAAM,EAAC,IAC3B,SAAG,KAAK,EAAE,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,IACjE,YAAM,KAAK,EAAC,iBAAiB,IAC3B,eAAQ,CACH,EACP,YAAM,KAAK,EAAC,iBAAiB,IAC3B,eAAS,IAAI,EAAC,qBAAqB,EAAC,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,EAAE,GAAI,CAChE,CACL,CACA,CACD,KAEP,EAAC,IAAI,kBAAa,IAAI,CAAC,SAAS,IAC9B,4BAAQ,IAAI,EAAE,IAAI,CAAC,UAAU,EAAE,KAAK,EAAE,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAM,KAAK,GAChG,CAAC,CAAC,IAAI,CAAC,IAAI,KACV,YAAM,KAAK,EAAC,uCAAuC,IACjD,eAAS,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,EAAE,GAAI,CACtD,CACR,EACD,YAAM,KAAK,EAAC,iBAAiB,IAC3B,eAAQ,CACH,EACN,CAAC,CAAC,IAAI,CAAC,SAAS,KACf,YAAM,KAAK,EAAC,wCAAwC,IAClD,eAAS,IAAI,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,EAAE,GAAI,CAC3D,CACR,CACM,CACJ,CACR,CAAC;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/global/colors.ts","./src/components/button/button.scss?tag=hy-button","./src/components/button/button.tsx"],"sourcesContent":["export default {\n brandMain: \"#0e688b\",\n brandMainLight: \"#107eab\",\n brandMainActive: \"#005379\",\n brandMainDark: \"#003146\",\n brandMainNearlyBlack: \"#000222\",\n grayscaleWhite: \"#fff\",\n grayscaleLight: \"#f8f8f8\",\n grayscaleMedium: \"#d2d2d2\",\n grayscaleBackgroundBox: \"#f5f5f5\",\n grayscaleBackgroundArrow: \"#dfdfdf\",\n grayscaleMediumDark: \"#979797\",\n grayscaleDark: \"#555555\",\n grayscaleBlack: \"#000000\",\n additionalRedLight: \"#E5053A\",\n additionalRedDark: \"#A31621\",\n additionalPurpleLight: \"#420039\",\n additionalYellow: \"#F9A21A\",\n additionalSkyblue: \"#48C5F8\",\n additionalOrange: \"#D14600\",\n additionalGreenLight: \"#96BA3C\",\n additionalGreenDark: \"#006400\",\n};\n",":host {\n display: block;\n box-sizing: border-box;\n}\n\n.hy-button__icon {\n align-content: center;\n display: flex;\n}\n\n.hy-button {\n display: block;\n align-items: center;\n background-color: var(--brand-main);\n color: var(--grayscale-white);\n font-family: var(--main-font-family);\n border: none;\n cursor: pointer;\n display: flex;\n font-size: 0.9375rem;\n justify-content: center;\n line-height: 0.9375rem;\n margin: 0;\n padding: 0;\n transition-duration: 0.1s;\n transition-property: all;\n min-height: 44px;\n position: relative;\n\n text-decoration: none;\n\n &.size-large {\n min-height: 48px;\n }\n\n &.primary {\n background-color: var(--brand-main);\n color: var(--grayscale-white);\n .hy-button__icon {\n padding: 8px 13px;\n }\n svg {\n fill: var(--grayscale-white);\n }\n &:hover {\n background-color: var(--brand-main-active);\n }\n &:active {\n background-color: var(--brand-main-dark);\n }\n &:disabled {\n background-color: var(--grayscale-medium);\n color: var(--grayscale-dark);\n svg {\n fill: var(--grayscale-dark);\n }\n }\n &:focus {\n outline: solid 2px var(--additional-yellow);\n outline-offset: 2px;\n }\n }\n\n &.secondary {\n background-color: transparent;\n border: solid 2px var(--brand-main);\n color: var(--brand-main);\n\n svg {\n fill: var(--brand-main);\n }\n &:hover {\n border: solid 2px var(--brand-main-active);\n color: var(--brand-main-active);\n\n svg {\n fill: var(--brand-main-active);\n }\n }\n &:active {\n border: solid 2px var(--brand-main-dark);\n color: var(--brand-main-dark);\n\n svg {\n fill: var(--brand-main-dark);\n }\n }\n &:disabled {\n border: solid 2px var(--grayscale-medium-dark);\n color: var(--grayscale-medium-dark);\n\n svg {\n fill: var(--grayscale-medium-dark);\n }\n }\n }\n // decorative bottom border/shadow\n &::after {\n content: \"\";\n display: block;\n border-bottom: 2px solid var(--additional-skyblue);\n position: absolute;\n bottom: -3.5px;\n left: 3px;\n right: 3px;\n z-index: 0;\n }\n &.primary::after {\n bottom: -2px;\n }\n &:disabled {\n cursor: not-allowed;\n &::after {\n border-bottom: 2px solid var(--grayscale-medium-dark);\n bottom: -3.5px;\n }\n &.primary::after {\n bottom: -2px;\n }\n }\n //\n\n .hy-button__text {\n margin: 12px 24px;\n }\n .hy-button__icon-right {\n padding-right: 12px;\n }\n}\n\nhy-button[icon-right=\"hy-icon-arrow-right\"] {\n .primary {\n .hy-button__text {\n margin: 12px 0 12px 16px;\n padding-right: 16px;\n }\n }\n .primary:not(disabled) {\n .hy-button__text {\n border-right: solid 1px var(--additional-skyblue);\n }\n }\n .primary:disabled {\n .hy-button__text {\n border-right: solid 1px var(--grayscale-dark);\n }\n }\n .secondary {\n .hy-button__text {\n margin: 12px 16px;\n }\n .hy-button__icon {\n padding-right: 1rem;\n padding-left: 0;\n }\n }\n}\n\nhy-button[icon=\"hy-icon-arrow-left\"] {\n .primary {\n .hy-button__text {\n margin: 12px 16px 12px 0;\n padding-left: 16px;\n }\n }\n .primary:not(disabled) {\n .hy-button__text {\n border-left: solid 1px var(--additional-skyblue);\n }\n }\n .primary:disabled {\n .hy-button__text {\n border-left: solid 1px var(--grayscale-dark);\n }\n }\n .secondary {\n .hy-button__text {\n margin: 12px 16px;\n }\n .hy-button__icon {\n padding-left: 1rem;\n padding-right: 0;\n }\n }\n}\n","import {Component, h, Prop, Host} from \"@stencil/core\";\nimport {ButtonVariants} from \"../../utils/utils\";\nimport colors from \"../../global/colors\";\n\nconst fillcolors = {\n primary: colors.brandMain,\n secondary: \"white\",\n};\n\n@Component({\n tag: \"hy-button\",\n styleUrl: \"button.scss\",\n shadow: false,\n})\nexport class Button {\n /**\n * Button type. Defaults to submit.\n */\n @Prop() buttonType: string = \"submit\";\n\n /**\n * Custom classes added to button element.\n */\n @Prop() buttonClasses: string = \"\";\n\n /**\n * The element variant. Defaults to primary\n */\n @Prop() variant: ButtonVariants = \"primary\";\n /**\n * deprecated, use disabled boolean value\n * */\n @Prop() state: \"enabled\" | \"disabled\" = \"enabled\";\n /**\n * Size (height) of the button. Normal: 44px, large: 48px\n */\n @Prop() size: \"normal\" | \"large\" = \"normal\";\n /**\n * Use this to programmatically disable the button, matches the native button functionality\n */\n @Prop() disabled: boolean = false;\n /**\n * Set this on if an anchor tag is required instead of a button.\n */\n @Prop() url?: string = \"\";\n /**\n * Aria label for the element\n */\n @Prop() ariaLabel: string = \"\";\n /**\n * Use only with url property. Sets the\n */\n @Prop() isExternal?: boolean = false;\n /**\n * Icon to use on the left side\n */\n @Prop() icon?: string;\n /**\n * Icon to use on the right side\n */\n @Prop() iconRight?: string;\n\n @Prop() attrs: string = \"\";\n\n render() {\n const classAttributes = [\"hy-button\", this.variant, this.state, \"size-\" + this.size, this.buttonClasses];\n const iconFillColor = fillcolors[this.variant];\n const target = this.isExternal ? \"_blank\" : \"_self\";\n let props = {};\n\n if (this.attrs && this.attrs.length > 2) {\n let attrString = JSON.parse(this.attrs);\n let attrArray = attrString.split('\" ');\n attrArray.map((item) => {\n let parts = item.split(\"=\");\n let key = parts[0];\n let value = parts[1];\n key = key.replaceAll('\"', \" \");\n key = key.trim();\n if (key !== \"class\") {\n value = value.replaceAll('\"', \" \");\n value = value.trim();\n props[key] = value;\n }\n });\n }\n\n return this.url ? (\n <Host icon-right=\"hy-icon-arrow-right\" aria-label={this.ariaLabel}>\n <div style={{display: \"flex\"}}>\n <a class={classAttributes.join(\" \")} href={this.url} target={target}>\n <span class=\"hy-button__text\">\n <slot />\n </span>\n <span class=\"hy-button__icon\">\n <hy-icon icon=\"hy-icon-arrow-right\" fill={iconFillColor} size={13} />\n </span>\n </a>\n </div>\n </Host>\n ) : (\n <Host aria-label={this.ariaLabel}>\n <button type={this.buttonType} class={classAttributes.join(\" \")} disabled={this.disabled} {...props}>\n {!!this.icon && (\n <span class=\"hy-button__icon hy-button__icon--left\">\n <hy-icon icon={this.icon} fill={iconFillColor} size={13} />\n </span>\n )}\n <span class=\"hy-button__text\">\n <slot />\n </span>\n {!!this.iconRight && (\n <span class=\"hy-button__icon hy-button__icon--right\">\n <hy-icon icon={this.iconRight} fill={iconFillColor} size={13} />\n </span>\n )}\n </button>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
-
|
|
3
|
-
interface HyDocsContainer extends Components.HyDocsContainer, HTMLElement {}
|
|
4
|
-
export const HyDocsContainer: {
|
|
5
|
-
prototype: HyDocsContainer;
|
|
6
|
-
new (): HyDocsContainer;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
-
|
|
3
|
-
const docsContainerCss = "div.hy-docs-container{display:block;margin:2rem 0}";
|
|
4
|
-
|
|
5
|
-
const DocsContainer = /*@__PURE__*/ proxyCustomElement(class DocsContainer extends HTMLElement {
|
|
6
|
-
constructor() {
|
|
7
|
-
super();
|
|
8
|
-
this.__registerHost();
|
|
9
|
-
}
|
|
10
|
-
render() {
|
|
11
|
-
return (h("div", { class: "hy-docs-container" }, h("slot", null)));
|
|
12
|
-
}
|
|
13
|
-
static get style() { return docsContainerCss; }
|
|
14
|
-
}, [4, "hy-docs-container"]);
|
|
15
|
-
function defineCustomElement$1() {
|
|
16
|
-
if (typeof customElements === "undefined") {
|
|
17
|
-
return;
|
|
18
|
-
}
|
|
19
|
-
const components = ["hy-docs-container"];
|
|
20
|
-
components.forEach(tagName => { switch (tagName) {
|
|
21
|
-
case "hy-docs-container":
|
|
22
|
-
if (!customElements.get(tagName)) {
|
|
23
|
-
customElements.define(tagName, DocsContainer);
|
|
24
|
-
}
|
|
25
|
-
break;
|
|
26
|
-
} });
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
const HyDocsContainer = DocsContainer;
|
|
30
|
-
const defineCustomElement = defineCustomElement$1;
|
|
31
|
-
|
|
32
|
-
export { HyDocsContainer, defineCustomElement };
|
|
33
|
-
|
|
34
|
-
//# sourceMappingURL=hy-docs-container.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"hy-docs-container.js","mappings":";;AAAA,MAAM,gBAAgB,GAAG,oDAAoD;;MCOhE,aAAa;;;;;EACxB,MAAM;IACJ,QACE,WAAK,KAAK,EAAC,mBAAmB,IAC5B,eAAa,CACT,EACN;GACH;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/docs-container/docs-container.css?tag=hy-docs-container","./src/components/docs-container/docs-container.tsx"],"sourcesContent":["div.hy-docs-container {\n display: block;\n margin: 2rem 0;\n}\n","import {Component, h} from \"@stencil/core\";\n\n@Component({\n tag: \"hy-docs-container\",\n styleUrl: \"docs-container.css\",\n shadow: false,\n})\nexport class DocsContainer {\n render() {\n return (\n <div class=\"hy-docs-container\">\n <slot></slot>\n </div>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
-
|
|
3
|
-
interface HyGridContainer extends Components.HyGridContainer, HTMLElement {}
|
|
4
|
-
export const HyGridContainer: {
|
|
5
|
-
prototype: HyGridContainer;
|
|
6
|
-
new (): HyGridContainer;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
-
|
|
3
|
-
const gridContainerCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-grid--container{display:block;width:100%;margin-left:auto;margin-right:auto}@media only screen and (min-width: 30rem){.hy-grid--container{width:100%}}@media only screen and (min-width: 60rem){.hy-grid--container{width:100%;max-width:60rem}}@media only screen and (min-width: 75.0625rem){.hy-grid--container{width:100%;max-width:75rem}}@media only screen and (min-width: 1601px){.hy-grid--container{width:100%;max-width:90rem}}";
|
|
4
|
-
|
|
5
|
-
const GridContainer = /*@__PURE__*/ proxyCustomElement(class GridContainer extends HTMLElement {
|
|
6
|
-
constructor() {
|
|
7
|
-
super();
|
|
8
|
-
this.__registerHost();
|
|
9
|
-
}
|
|
10
|
-
render() {
|
|
11
|
-
const classAttributes = ["hy-grid--container"];
|
|
12
|
-
return (h("div", { class: classAttributes.join(" ") }, h("slot", null)));
|
|
13
|
-
}
|
|
14
|
-
static get style() { return gridContainerCss; }
|
|
15
|
-
}, [4, "hy-grid-container"]);
|
|
16
|
-
function defineCustomElement$1() {
|
|
17
|
-
if (typeof customElements === "undefined") {
|
|
18
|
-
return;
|
|
19
|
-
}
|
|
20
|
-
const components = ["hy-grid-container"];
|
|
21
|
-
components.forEach(tagName => { switch (tagName) {
|
|
22
|
-
case "hy-grid-container":
|
|
23
|
-
if (!customElements.get(tagName)) {
|
|
24
|
-
customElements.define(tagName, GridContainer);
|
|
25
|
-
}
|
|
26
|
-
break;
|
|
27
|
-
} });
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
const HyGridContainer = GridContainer;
|
|
31
|
-
const defineCustomElement = defineCustomElement$1;
|
|
32
|
-
|
|
33
|
-
export { HyGridContainer, defineCustomElement };
|
|
34
|
-
|
|
35
|
-
//# sourceMappingURL=hy-grid-container.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"hy-grid-container.js","mappings":";;AAAA,MAAM,gBAAgB,GAAG,mmDAAmmD;;MCO/mD,aAAa;;;;;EACxB,MAAM;IACJ,MAAM,eAAe,GAAG,CAAC,oBAAoB,CAAC,CAAC;IAE/C,QACE,WAAK,KAAK,EAAE,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC,IACnC,eAAQ,CACJ,EACN;GACH;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/grid-container/grid-container.scss?tag=hy-grid-container","./src/components/grid-container/grid-container.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n.hy-grid--container {\n display: block;\n width: 100%;\n margin-left: auto;\n margin-right: auto;\n\n @media only screen and (min-width: $narrow) {\n width: 100%;\n }\n\n @media only screen and (min-width: $wide) {\n width: 100%;\n max-width: 60rem;\n }\n\n @media only screen and (min-width: $extrawide) {\n width: 100%;\n max-width: 75rem;\n }\n\n @media only screen and (min-width: $xlarge) {\n width: 100%;\n max-width: 90rem;\n }\n}\n","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"],"version":3}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
-
|
|
3
|
-
interface HyGridItem extends Components.HyGridItem, HTMLElement {}
|
|
4
|
-
export const HyGridItem: {
|
|
5
|
-
prototype: HyGridItem;
|
|
6
|
-
new (): HyGridItem;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { i as GridColumns, j as GridColumnsSm, k as GridColumnsLg, l as GridAlignVariants } from './utils.js';
|
|
3
|
-
|
|
4
|
-
const gridItemCss = ":root{--brand-main:#0e688b;--brand-main-soft:#b1e7ff;--brand-main-bright:#48c5f8;--brand-main-light:#107eab;--brand-main-active:#005379;--brand-main-dark:#003146;--brand-main-nearly-black:#000222;--link-blue:#0479a4;--link-disabled:#767676;--grayscale-white:#fff;--grayscale-slightly-gray:#fefefe;--grayscale-light:#f8f8f8;--grayscale-medium:#d2d2d2;--grayscale-background-box:#f5f5f5;--grayscale-tabs-border:#e6e6e6;--grayscale-background-arrow:#dfdfdf;--grayscale-medium-dark:#979797;--grayscale-dark:#555555;--grayscale-dark-text:#222222;--grayscale-black:#000000;--additional-red-light:#e5053a;--additional-red-dark:#a31621;--additional-purple-light:#420039;--additional-yellow-light:#f9a21a;--additional-yellow:#c47f1b;--additional-skyblue:#48c5f8;--additional-orange:#d14600;--additional-green-light:#96ba3c;--additional-green-dark:#006400;--hover-gray:#eaeaea}*{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--gutter-mobile:16px;--gutter-narrow:24px;--gutter-medium:24px;--gutter-wide:24px;--gutter-extrawide:32px}:root{--breakpoint-extrawide:75.0625rem;--breakpoint-max-width:75.0625rem;--breakpoint-medium:48rem;--breakpoint-narrow:30rem;--breakpoint-wide:60rem}:host{display:block}.hy-grid-align__left{text-align:left}.hy-grid-align__right{text-align:right}.hy-grid-align__center{text-align:center;margin-left:auto;margin-right:auto}.hy-grid-justify{text-align:justify}.hy-grid-hidden-sm{display:none}.hy-grid__col-1,.hy-grid__col-2,.hy-grid__col-3,.hy-grid__col-4,.hy-grid__col-5,.hy-grid__col-6,.hy-grid__col-7,.hy-grid__col-8,.hy-grid__col-9,.hy-grid__col-10,.hy-grid__col-11,.hy-grid__col-12{width:98%}.hy-grid__col-1-sm{width:6.3333333333%}.hy-grid__col-2-sm{width:14.6666666667%}.hy-grid__col-3-sm{width:23%}.hy-grid__col-4-sm{width:31.3333333333%}.hy-grid__col-5-sm{width:39.6666666667%}.hy-grid__col-6-sm{width:48%}.hy-grid__col-7-sm{width:56.3333333333%}.hy-grid__col-8-sm{width:64.6666666667%}.hy-grid__col-9-sm{width:73%}.hy-grid__col-10-sm{width:81.3333333333%}.hy-grid__col-11-sm{width:89.6666666667%}.hy-grid__col-12-sm{width:98%}@media only screen and (min-width: 48em){.hy-grid__col-1{width:6.3333333333%}.hy-grid__col-2{width:14.6666666667%}.hy-grid__col-3{width:23%}.hy-grid__col-4{width:31.3333333333%}.hy-grid__col-5{width:39.6666666667%}.hy-grid__col-6{width:48%}.hy-grid__col-7{width:56.3333333333%}.hy-grid__col-8{width:64.6666666667%}.hy-grid__col-9{width:73%}.hy-grid__col-10{width:81.3333333333%}.hy-grid__col-11{width:89.6666666667%}.hy-grid__col-12{width:98%}.hidden-sm{display:block}}@media only screen and (min-width: 60em){.hy-grid__col-1-lg{width:6.3333333333%}.hy-grid__col-2-lg{width:14.6666666667%}.hy-grid__col-3-lg{width:23%}.hy-grid__col-4-lg{width:31.3333333333%}.hy-grid__col-5-lg{width:39.6666666667%}.hy-grid__col-6-lg{width:48%}.hy-grid__col-7-lg{width:56.3333333333%}.hy-grid__col-8-lg{width:64.6666666667%}.hy-grid__col-9-lg{width:73%}.hy-grid__col-10-lg{width:81.3333333333%}.hy-grid__col-11-lg{width:89.6666666667%}.hy-grid__col-12-lg{width:98%}}";
|
|
5
|
-
|
|
6
|
-
const GridItem = /*@__PURE__*/ proxyCustomElement(class GridItem extends HTMLElement {
|
|
7
|
-
constructor() {
|
|
8
|
-
super();
|
|
9
|
-
this.__registerHost();
|
|
10
|
-
this.columns = GridColumns.default;
|
|
11
|
-
this.columnssm = GridColumnsSm.default;
|
|
12
|
-
this.columnslg = GridColumnsLg.default;
|
|
13
|
-
this.contentalign = GridAlignVariants.default;
|
|
14
|
-
}
|
|
15
|
-
render() {
|
|
16
|
-
const classAttributes = [
|
|
17
|
-
"hy-grid-item",
|
|
18
|
-
`hy-grid__col-${this.columnssm}-sm`,
|
|
19
|
-
`hy-grid__col-${this.columns}`,
|
|
20
|
-
`hy-grid__col-${this.columnslg}-lg`,
|
|
21
|
-
`hy-grid-align__${this.contentalign}`,
|
|
22
|
-
];
|
|
23
|
-
return (h(Host, { class: classAttributes.join(" ") }, h("slot", null)));
|
|
24
|
-
}
|
|
25
|
-
static get style() { return gridItemCss; }
|
|
26
|
-
}, [4, "hy-grid-item", {
|
|
27
|
-
"columns": [1],
|
|
28
|
-
"columnssm": [1],
|
|
29
|
-
"columnslg": [1],
|
|
30
|
-
"contentalign": [1]
|
|
31
|
-
}]);
|
|
32
|
-
function defineCustomElement$1() {
|
|
33
|
-
if (typeof customElements === "undefined") {
|
|
34
|
-
return;
|
|
35
|
-
}
|
|
36
|
-
const components = ["hy-grid-item"];
|
|
37
|
-
components.forEach(tagName => { switch (tagName) {
|
|
38
|
-
case "hy-grid-item":
|
|
39
|
-
if (!customElements.get(tagName)) {
|
|
40
|
-
customElements.define(tagName, GridItem);
|
|
41
|
-
}
|
|
42
|
-
break;
|
|
43
|
-
} });
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
const HyGridItem = GridItem;
|
|
47
|
-
const defineCustomElement = defineCustomElement$1;
|
|
48
|
-
|
|
49
|
-
export { HyGridItem, defineCustomElement };
|
|
50
|
-
|
|
51
|
-
//# sourceMappingURL=hy-grid-item.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"hy-grid-item.js","mappings":";;;AAAA,MAAM,WAAW,GAAG,y8FAAy8F;;MCQh9F,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,QACE,EAAC,IAAI,IAAC,KAAK,EAAE,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC,IACpC,eAAQ,CACH,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/grid-item/grid-item.scss?tag=hy-grid-item","./src/components/grid-item/grid-item.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n.hy-grid-align__left {\n text-align: left;\n}\n\n.hy-grid-align__right {\n text-align: right;\n}\n\n.hy-grid-align__center {\n text-align: center;\n margin-left: auto;\n margin-right: auto;\n}\n\n.hy-grid-justify {\n text-align: justify;\n}\n\n.hy-grid-hidden-sm {\n display: none;\n}\n\n// grid\n$width: 98%;\n$gutter: 2%;\n\n@media only screen and (min-width: $xlarge) {\n $gutter: 3.5%;\n}\n\n$narrow: 30em; // 480px\n$medium: 48em; // 768px\n$wide: 60em; // 960px\n\n.hy-grid__col-1,\n.hy-grid__col-2,\n.hy-grid__col-3,\n.hy-grid__col-4,\n.hy-grid__col-5,\n.hy-grid__col-6,\n.hy-grid__col-7,\n.hy-grid__col-8,\n.hy-grid__col-9,\n.hy-grid__col-10,\n.hy-grid__col-11,\n.hy-grid__col-12 {\n width: $width;\n}\n\n.hy-grid__col-1-sm {\n width: calc($width / 12) - calc($gutter * 11 / 12);\n}\n.hy-grid__col-2-sm {\n width: calc($width / 6) - calc($gutter * 10 / 12);\n}\n.hy-grid__col-3-sm {\n width: calc($width / 4) - calc($gutter * 9 / 12);\n}\n.hy-grid__col-4-sm {\n width: calc($width / 3) - calc($gutter * 8 / 12);\n}\n.hy-grid__col-5-sm {\n width: calc($width / calc(12 / 5)) - calc($gutter * 7 / 12);\n}\n.hy-grid__col-6-sm {\n width: calc($width / 2) - calc($gutter * 6 / 12);\n}\n.hy-grid__col-7-sm {\n width: calc($width / calc(12 / 7)) - calc($gutter * 5 / 12);\n}\n.hy-grid__col-8-sm {\n width: calc($width / calc(12 / 8)) - calc($gutter * 4 / 12);\n}\n.hy-grid__col-9-sm {\n width: calc($width / calc(12 / 9)) - calc($gutter * 3 / 12);\n}\n.hy-grid__col-10-sm {\n width: calc($width / calc(12 / 10)) - calc($gutter * 2 / 12);\n}\n.hy-grid__col-11-sm {\n width: calc($width / calc(12 / 11)) - calc($gutter * 1 / 12);\n}\n.hy-grid__col-12-sm {\n width: $width;\n}\n\n@media only screen and (min-width: $medium) {\n .hy-grid__col-1 {\n width: calc($width / 12) - calc($gutter * 11 / 12);\n }\n .hy-grid__col-2 {\n width: calc($width / 6) - calc($gutter * 10 / 12);\n }\n .hy-grid__col-3 {\n width: calc($width / 4) - calc($gutter * 9 / 12);\n }\n .hy-grid__col-4 {\n width: calc($width / 3) - calc($gutter * 8 / 12);\n }\n .hy-grid__col-5 {\n width: calc($width / calc(12 / 5)) - calc($gutter * 7 / 12);\n }\n .hy-grid__col-6 {\n width: calc($width / 2) - calc($gutter * 6 / 12);\n }\n .hy-grid__col-7 {\n width: calc($width / calc(12 / 7)) - calc($gutter * 5 / 12);\n }\n .hy-grid__col-8 {\n width: calc($width / calc(12 / 8)) - calc($gutter * 4 / 12);\n }\n .hy-grid__col-9 {\n width: calc($width / calc(12 / 9)) - calc($gutter * 3 / 12);\n }\n .hy-grid__col-10 {\n width: calc($width / calc(12 / 10)) - calc($gutter * 2 / 12);\n }\n .hy-grid__col-11 {\n width: calc($width / calc(12 / 11)) - calc($gutter * 1 / 12);\n }\n .hy-grid__col-12 {\n width: $width;\n }\n\n .hidden-sm {\n display: block;\n }\n}\n\n@media only screen and (min-width: $wide) {\n .hy-grid__col-1-lg {\n width: calc($width / 12) - calc($gutter * 11 / 12);\n }\n .hy-grid__col-2-lg {\n width: calc($width / 6) - calc($gutter * 10 / 12);\n }\n .hy-grid__col-3-lg {\n width: calc($width / 4) - calc($gutter * 9 / 12);\n }\n .hy-grid__col-4-lg {\n width: calc($width / 3) - calc($gutter * 8 / 12);\n }\n .hy-grid__col-5-lg {\n width: calc($width / calc(12 / 5)) - calc($gutter * 7 / 12);\n }\n .hy-grid__col-6-lg {\n width: calc($width / 2) - calc($gutter * 6 / 12);\n }\n .hy-grid__col-7-lg {\n width: calc($width / calc(12 / 7)) - calc($gutter * 5 / 12);\n }\n .hy-grid__col-8-lg {\n width: calc($width / calc(12 / 8)) - calc($gutter * 4 / 12);\n }\n .hy-grid__col-9-lg {\n width: calc($width / calc(12 / 9)) - calc($gutter * 3 / 12);\n }\n .hy-grid__col-10-lg {\n width: calc($width / calc(12 / 10)) - calc($gutter * 2 / 12);\n }\n .hy-grid__col-11-lg {\n width: calc($width / calc(12 / 11)) - calc($gutter * 1 / 12);\n }\n .hy-grid__col-12-lg {\n width: $width;\n }\n}\n","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"],"version":3}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
-
|
|
3
|
-
interface HyGridRow extends Components.HyGridRow, HTMLElement {}
|
|
4
|
-
export const HyGridRow: {
|
|
5
|
-
prototype: HyGridRow;
|
|
6
|
-
new (): HyGridRow;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|