@ukic/web-components 2.0.0-alpha.121
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +21 -0
- package/dist/cjs/check-icon-999d9877.js +10 -0
- package/dist/cjs/check-icon-999d9877.js.map +1 -0
- package/dist/cjs/chevron-icon-d175fe66.js +10 -0
- package/dist/cjs/chevron-icon-d175fe66.js.map +1 -0
- package/dist/cjs/close-icon-8ccb0163.js +12 -0
- package/dist/cjs/close-icon-8ccb0163.js.map +1 -0
- package/dist/cjs/core.cjs.js +21 -0
- package/dist/cjs/core.cjs.js.map +1 -0
- package/dist/cjs/error-icon-99504103.js +18 -0
- package/dist/cjs/error-icon-99504103.js.map +1 -0
- package/dist/cjs/helpers-9d4961dc.js +430 -0
- package/dist/cjs/helpers-9d4961dc.js.map +1 -0
- package/dist/cjs/ic-alert.cjs.entry.js +91 -0
- package/dist/cjs/ic-alert.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-back-to-top.cjs.entry.js +132 -0
- package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +63 -0
- package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-breadcrumbs.cjs.entry.js +181 -0
- package/dist/cjs/ic-breadcrumbs.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-button_3.cjs.entry.js +432 -0
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-card.cjs.entry.js +87 -0
- package/dist/cjs/ic-card.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +66 -0
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-checkbox.cjs.entry.js +72 -0
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-classification-banner.cjs.entry.js +42 -0
- package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-data-entity.cjs.entry.js +31 -0
- package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-data-row.cjs.entry.js +74 -0
- package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-divider.cjs.entry.js +29 -0
- package/dist/cjs/ic-divider.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +69 -0
- package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-footer-link.cjs.entry.js +59 -0
- package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-footer.cjs.entry.js +87 -0
- package/dist/cjs/ic-footer.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-hero.cjs.entry.js +72 -0
- package/dist/cjs/ic-hero.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +485 -0
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-input-label_2.cjs.entry.js +86 -0
- package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-link.cjs.entry.js +69 -0
- package/dist/cjs/ic-link.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-navigation-button.cjs.entry.js +86 -0
- package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-navigation-group.cjs.entry.js +240 -0
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-navigation-item.cjs.entry.js +146 -0
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +129 -0
- package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-page-header.cjs.entry.js +107 -0
- package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-radio-group.cjs.entry.js +103 -0
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-radio-option.cjs.entry.js +108 -0
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-search-bar.cjs.entry.js +393 -0
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-section-container.cjs.entry.js +29 -0
- package/dist/cjs/ic-section-container.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-select.cjs.entry.js +166 -0
- package/dist/cjs/ic-select.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-side-navigation.cjs.entry.js +384 -0
- package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-skeleton.cjs.entry.js +59 -0
- package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-status-tag.cjs.entry.js +34 -0
- package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-step.cjs.entry.js +59 -0
- package/dist/cjs/ic-step.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-stepper.cjs.entry.js +96 -0
- package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-switch.cjs.entry.js +65 -0
- package/dist/cjs/ic-switch.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-tab-context.cjs.entry.js +226 -0
- package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-tab-list.cjs.entry.js +145 -0
- package/dist/cjs/ic-tab-list.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-tab-panel.cjs.entry.js +33 -0
- package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-tab.cjs.entry.js +73 -0
- package/dist/cjs/ic-tab.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-text-field.cjs.entry.js +203 -0
- package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-theme.cjs.entry.js +53 -0
- package/dist/cjs/ic-theme.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-top-navigation.cjs.entry.js +207 -0
- package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-typography.cjs.entry.js +28 -0
- package/dist/cjs/ic-typography.cjs.entry.js.map +1 -0
- package/dist/cjs/index-3ef30d9d.js +2459 -0
- package/dist/cjs/index-3ef30d9d.js.map +1 -0
- package/dist/cjs/index.cjs.js +4 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +23 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/popper-11d5f714.js +1803 -0
- package/dist/cjs/popper-11d5f714.js.map +1 -0
- package/dist/cjs/success-icon-887b2097.js +11 -0
- package/dist/cjs/success-icon-887b2097.js.map +1 -0
- package/dist/collection/assets/back-icon.svg +3 -0
- package/dist/collection/assets/check-icon.svg +3 -0
- package/dist/collection/assets/chevron-icon.svg +3 -0
- package/dist/collection/assets/clear-icon.svg +3 -0
- package/dist/collection/assets/close-icon.svg +5 -0
- package/dist/collection/assets/error-icon.svg +5 -0
- package/dist/collection/assets/hamburger-menu-icon.svg +5 -0
- package/dist/collection/assets/info-icon.svg +5 -0
- package/dist/collection/assets/neutral-icon.svg +5 -0
- package/dist/collection/assets/search-icon.svg +3 -0
- package/dist/collection/assets/success-icon.svg +5 -0
- package/dist/collection/assets/warning-icon.svg +5 -0
- package/dist/collection/collection-manifest.json +59 -0
- package/dist/collection/components/ic-alert/ic-alert.css +615 -0
- package/dist/collection/components/ic-alert/ic-alert.js +235 -0
- package/dist/collection/components/ic-alert/ic-alert.js.map +1 -0
- package/dist/collection/components/ic-alert/ic-alert.test.a11y.js +11 -0
- package/dist/collection/components/ic-alert/ic-alert.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-alert/ic-alert.types.js +2 -0
- package/dist/collection/components/ic-alert/ic-alert.types.js.map +1 -0
- package/dist/collection/components/ic-back-to-top/assets/ArrowUpward.svg +3 -0
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.css +526 -0
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +160 -0
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +1 -0
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.test.a11y.js +28 -0
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.css +80 -0
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +136 -0
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -0
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.types.js +2 -0
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.types.js.map +1 -0
- package/dist/collection/components/ic-breadcrumbs/ic-breadcrumbs-test-examples.js +35 -0
- package/dist/collection/components/ic-breadcrumbs/ic-breadcrumbs-test-examples.js.map +1 -0
- package/dist/collection/components/ic-breadcrumbs/ic-breadcrumbs.css +35 -0
- package/dist/collection/components/ic-breadcrumbs/ic-breadcrumbs.js +228 -0
- package/dist/collection/components/ic-breadcrumbs/ic-breadcrumbs.js.map +1 -0
- package/dist/collection/components/ic-breadcrumbs/ic-breadcrumbs.test.a11y.js +21 -0
- package/dist/collection/components/ic-breadcrumbs/ic-breadcrumbs.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-button/ic-button.css +840 -0
- package/dist/collection/components/ic-button/ic-button.js +613 -0
- package/dist/collection/components/ic-button/ic-button.js.map +1 -0
- package/dist/collection/components/ic-button/ic-button.test.a11y.js +11 -0
- package/dist/collection/components/ic-button/ic-button.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-button/ic-button.types.js +2 -0
- package/dist/collection/components/ic-button/ic-button.types.js.map +1 -0
- package/dist/collection/components/ic-card/ic-card.css +546 -0
- package/dist/collection/components/ic-card/ic-card.js +291 -0
- package/dist/collection/components/ic-card/ic-card.js.map +1 -0
- package/dist/collection/components/ic-card/ic-card.test.a11y.js +21 -0
- package/dist/collection/components/ic-card/ic-card.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-checkbox/ic-checkbox.css +597 -0
- package/dist/collection/components/ic-checkbox/ic-checkbox.js +256 -0
- package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -0
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +466 -0
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +271 -0
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -0
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.test.a11y.js +16 -0
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.types.js +2 -0
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.types.js.map +1 -0
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.css +494 -0
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +141 -0
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +1 -0
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.test.a11y.js +11 -0
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.types.js +2 -0
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.types.js.map +1 -0
- package/dist/collection/components/ic-data-entity/ic-data-entity.css +468 -0
- package/dist/collection/components/ic-data-entity/ic-data-entity.js +70 -0
- package/dist/collection/components/ic-data-entity/ic-data-entity.js.map +1 -0
- package/dist/collection/components/ic-data-entity/ic-data-entity.test.a11y.js +11 -0
- package/dist/collection/components/ic-data-entity/ic-data-entity.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-data-row/ic-data-row.css +499 -0
- package/dist/collection/components/ic-data-row/ic-data-row.js +141 -0
- package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -0
- package/dist/collection/components/ic-data-row/ic-data-row.test.a11y.js +18 -0
- package/dist/collection/components/ic-data-row/ic-data-row.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-divider/ic-divider.css +11 -0
- package/dist/collection/components/ic-divider/ic-divider.js +44 -0
- package/dist/collection/components/ic-divider/ic-divider.js.map +1 -0
- package/dist/collection/components/ic-footer/ic-footer.css +537 -0
- package/dist/collection/components/ic-footer/ic-footer.js +247 -0
- package/dist/collection/components/ic-footer/ic-footer.js.map +1 -0
- package/dist/collection/components/ic-footer/ic-footer.test.a11y.js +21 -0
- package/dist/collection/components/ic-footer/ic-footer.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-footer/ic-footer.types.js +2 -0
- package/dist/collection/components/ic-footer/ic-footer.types.js.map +1 -0
- package/dist/collection/components/ic-footer-link/ic-footer-link.css +558 -0
- package/dist/collection/components/ic-footer-link/ic-footer-link.js +103 -0
- package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -0
- package/dist/collection/components/ic-footer-link/ic-footer-link.test.a11y.js +21 -0
- package/dist/collection/components/ic-footer-link/ic-footer-link.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.css +522 -0
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +113 -0
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -0
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.test.a11y.js +21 -0
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-hero/ic-hero.css +703 -0
- package/dist/collection/components/ic-hero/ic-hero.js +273 -0
- package/dist/collection/components/ic-hero/ic-hero.js.map +1 -0
- package/dist/collection/components/ic-hero/ic-hero.test.a11y.js +11 -0
- package/dist/collection/components/ic-hero/ic-hero.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-hero/ic-hero.types.js +2 -0
- package/dist/collection/components/ic-hero/ic-hero.types.js.map +1 -0
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +118 -0
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +208 -0
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -0
- package/dist/collection/components/ic-input-container/ic-input-container.css +5 -0
- package/dist/collection/components/ic-input-container/ic-input-container.js +66 -0
- package/dist/collection/components/ic-input-container/ic-input-container.js.map +1 -0
- package/dist/collection/components/ic-input-label/ic-input-label.css +39 -0
- package/dist/collection/components/ic-input-label/ic-input-label.js +194 -0
- package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -0
- package/dist/collection/components/ic-input-validation/ic-input-validation.css +43 -0
- package/dist/collection/components/ic-input-validation/ic-input-validation.js +152 -0
- package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -0
- package/dist/collection/components/ic-input-validation/ic-input-validation.types.js +2 -0
- package/dist/collection/components/ic-input-validation/ic-input-validation.types.js.map +1 -0
- package/dist/collection/components/ic-link/assets/OpenInNew.svg +1 -0
- package/dist/collection/components/ic-link/ic-link.css +545 -0
- package/dist/collection/components/ic-link/ic-link.js +231 -0
- package/dist/collection/components/ic-link/ic-link.js.map +1 -0
- package/dist/collection/components/ic-link/ic-link.test.a11y.js +11 -0
- package/dist/collection/components/ic-link/ic-link.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +672 -0
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +334 -0
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -0
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.test.a11y.js +11 -0
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.types.js +2 -0
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.types.js.map +1 -0
- package/dist/collection/components/ic-menu/ic-menu.css +579 -0
- package/dist/collection/components/ic-menu/ic-menu.js +806 -0
- package/dist/collection/components/ic-menu/ic-menu.js.map +1 -0
- package/dist/collection/components/ic-menu/ic-menu.types.js +2 -0
- package/dist/collection/components/ic-menu/ic-menu.types.js.map +1 -0
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.css +452 -0
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +266 -0
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -0
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.types.js +2 -0
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.types.js.map +1 -0
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +639 -0
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +331 -0
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -0
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.test.a11y.js +18 -0
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +967 -0
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +347 -0
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -0
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.test.a11y.js +18 -0
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +87 -0
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +208 -0
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -0
- package/dist/collection/components/ic-page-header/ic-page-header.css +561 -0
- package/dist/collection/components/ic-page-header/ic-page-header.js +275 -0
- package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -0
- package/dist/collection/components/ic-page-header/ic-page-header.test.a11y.js +13 -0
- package/dist/collection/components/ic-page-header/ic-page-header.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.css +454 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +308 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.test.a11y.js +16 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-radio-option/ic-radio-option.css +639 -0
- package/dist/collection/components/ic-radio-option/ic-radio-option.js +305 -0
- package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -0
- package/dist/collection/components/ic-search-bar/ic-search-bar.css +552 -0
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +1127 -0
- package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -0
- package/dist/collection/components/ic-search-bar/ic-search-bar.test.a11y.js +11 -0
- package/dist/collection/components/ic-search-bar/ic-search-bar.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-search-bar/ic-search-bar.types.js +2 -0
- package/dist/collection/components/ic-search-bar/ic-search-bar.types.js.map +1 -0
- package/dist/collection/components/ic-section-container/ic-section-container.css +513 -0
- package/dist/collection/components/ic-section-container/ic-section-container.js +74 -0
- package/dist/collection/components/ic-section-container/ic-section-container.js.map +1 -0
- package/dist/collection/components/ic-select/assets/Check.svg +3 -0
- package/dist/collection/components/ic-select/assets/Clear.svg +3 -0
- package/dist/collection/components/ic-select/assets/Expand.svg +3 -0
- package/dist/collection/components/ic-select/ic-select.css +592 -0
- package/dist/collection/components/ic-select/ic-select.js +516 -0
- package/dist/collection/components/ic-select/ic-select.js.map +1 -0
- package/dist/collection/components/ic-select/ic-select.test.a11y.js +28 -0
- package/dist/collection/components/ic-select/ic-select.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-side-navigation/ic-side-navigation-test-examples.js +321 -0
- package/dist/collection/components/ic-side-navigation/ic-side-navigation-test-examples.js.map +1 -0
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +607 -0
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +566 -0
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -0
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.test.a11y.js +14 -0
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.types.js +2 -0
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.types.js.map +1 -0
- package/dist/collection/components/ic-skeleton/ic-skeleton.css +495 -0
- package/dist/collection/components/ic-skeleton/ic-skeleton.js +112 -0
- package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -0
- package/dist/collection/components/ic-skeleton/ic-skeleton.test.a11y.js +11 -0
- package/dist/collection/components/ic-skeleton/ic-skeleton.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-skeleton/ic-skeleton.types.js +2 -0
- package/dist/collection/components/ic-skeleton/ic-skeleton.types.js.map +1 -0
- package/dist/collection/components/ic-status-tag/ic-status-tag.css +499 -0
- package/dist/collection/components/ic-status-tag/ic-status-tag.js +119 -0
- package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -0
- package/dist/collection/components/ic-status-tag/ic-status-tag.test.a11y.js +11 -0
- package/dist/collection/components/ic-status-tag/ic-status-tag.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-status-tag/ic-status-tag.types.js +2 -0
- package/dist/collection/components/ic-status-tag/ic-status-tag.types.js.map +1 -0
- package/dist/collection/components/ic-step/ic-step.css +146 -0
- package/dist/collection/components/ic-step/ic-step.js +160 -0
- package/dist/collection/components/ic-step/ic-step.js.map +1 -0
- package/dist/collection/components/ic-step/ic-step.types.js +2 -0
- package/dist/collection/components/ic-step/ic-step.types.js.map +1 -0
- package/dist/collection/components/ic-stepper/ic-stepper.css +14 -0
- package/dist/collection/components/ic-stepper/ic-stepper.js +147 -0
- package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -0
- package/dist/collection/components/ic-stepper/ic-stepper.test.a11y.js +24 -0
- package/dist/collection/components/ic-stepper/ic-stepper.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-stepper/ic-stepper.types.js +2 -0
- package/dist/collection/components/ic-stepper/ic-stepper.types.js.map +1 -0
- package/dist/collection/components/ic-switch/ic-switch.css +626 -0
- package/dist/collection/components/ic-switch/ic-switch.js +288 -0
- package/dist/collection/components/ic-switch/ic-switch.js.map +1 -0
- package/dist/collection/components/ic-switch/ic-switch.test.a11y.js +11 -0
- package/dist/collection/components/ic-switch/ic-switch.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-switch/ic-switch.types.js +2 -0
- package/dist/collection/components/ic-switch/ic-switch.types.js.map +1 -0
- package/dist/collection/components/ic-tab/ic-tab.css +511 -0
- package/dist/collection/components/ic-tab/ic-tab.js +245 -0
- package/dist/collection/components/ic-tab/ic-tab.js.map +1 -0
- package/dist/collection/components/ic-tab/ic-tab.types.js +2 -0
- package/dist/collection/components/ic-tab/ic-tab.types.js.map +1 -0
- package/dist/collection/components/ic-tab-context/ic-tab-context.js +337 -0
- package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -0
- package/dist/collection/components/ic-tab-context/ic-tab-context.test.a11y.js +19 -0
- package/dist/collection/components/ic-tab-context/ic-tab-context.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-tab-list/assets/left-arrow.svg +3 -0
- package/dist/collection/components/ic-tab-list/assets/right-arrow.svg +3 -0
- package/dist/collection/components/ic-tab-list/ic-tab-list.css +139 -0
- package/dist/collection/components/ic-tab-list/ic-tab-list.js +258 -0
- package/dist/collection/components/ic-tab-list/ic-tab-list.js.map +1 -0
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.css +3 -0
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +115 -0
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -0
- package/dist/collection/components/ic-text-field/ic-text-field.css +556 -0
- package/dist/collection/components/ic-text-field/ic-text-field.js +1006 -0
- package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -0
- package/dist/collection/components/ic-text-field/ic-text-field.test.a11y.js +33 -0
- package/dist/collection/components/ic-text-field/ic-text-field.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-text-field/ic-text-field.types.js +2 -0
- package/dist/collection/components/ic-text-field/ic-text-field.types.js.map +1 -0
- package/dist/collection/components/ic-theme/ic-theme.js +93 -0
- package/dist/collection/components/ic-theme/ic-theme.js.map +1 -0
- package/dist/collection/components/ic-tooltip/ic-tooltip.css +538 -0
- package/dist/collection/components/ic-tooltip/ic-tooltip.js +192 -0
- package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -0
- package/dist/collection/components/ic-tooltip/ic-tooltip.test.a11y.js +15 -0
- package/dist/collection/components/ic-tooltip/ic-tooltip.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-tooltip/ic-tooltip.types.js +2 -0
- package/dist/collection/components/ic-tooltip/ic-tooltip.types.js.map +1 -0
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +736 -0
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +411 -0
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -0
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.test.a11y.js +23 -0
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-typography/ic-typography.css +543 -0
- package/dist/collection/components/ic-typography/ic-typography.js +73 -0
- package/dist/collection/components/ic-typography/ic-typography.js.map +1 -0
- package/dist/collection/components/ic-typography/ic-typography.test.a11y.js +11 -0
- package/dist/collection/components/ic-typography/ic-typography.test.a11y.js.map +1 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/testspec.setup.js +32 -0
- package/dist/collection/testspec.setup.js.map +1 -0
- package/dist/collection/utils/constants.js +44 -0
- package/dist/collection/utils/constants.js.map +1 -0
- package/dist/collection/utils/helpers.js +339 -0
- package/dist/collection/utils/helpers.js.map +1 -0
- package/dist/collection/utils/testa11y.helpers.js +8 -0
- package/dist/collection/utils/testa11y.helpers.js.map +1 -0
- package/dist/collection/utils/types.js +13 -0
- package/dist/collection/utils/types.js.map +1 -0
- package/dist/components/check-icon.js +8 -0
- package/dist/components/check-icon.js.map +1 -0
- package/dist/components/chevron-icon.js +8 -0
- package/dist/components/chevron-icon.js.map +1 -0
- package/dist/components/close-icon.js +10 -0
- package/dist/components/close-icon.js.map +1 -0
- package/dist/components/error-icon.js +15 -0
- package/dist/components/error-icon.js.map +1 -0
- package/dist/components/helpers.js +397 -0
- package/dist/components/helpers.js.map +1 -0
- package/dist/components/ic-alert.d.ts +11 -0
- package/dist/components/ic-alert.js +138 -0
- package/dist/components/ic-alert.js.map +1 -0
- package/dist/components/ic-back-to-top.d.ts +11 -0
- package/dist/components/ic-back-to-top.js +157 -0
- package/dist/components/ic-back-to-top.js.map +1 -0
- package/dist/components/ic-breadcrumb.d.ts +11 -0
- package/dist/components/ic-breadcrumb.js +8 -0
- package/dist/components/ic-breadcrumb.js.map +1 -0
- package/dist/components/ic-breadcrumb2.js +85 -0
- package/dist/components/ic-breadcrumb2.js.map +1 -0
- package/dist/components/ic-breadcrumbs.d.ts +11 -0
- package/dist/components/ic-breadcrumbs.js +212 -0
- package/dist/components/ic-breadcrumbs.js.map +1 -0
- package/dist/components/ic-button.d.ts +11 -0
- package/dist/components/ic-button.js +8 -0
- package/dist/components/ic-button.js.map +1 -0
- package/dist/components/ic-button2.js +243 -0
- package/dist/components/ic-button2.js.map +1 -0
- package/dist/components/ic-card.d.ts +11 -0
- package/dist/components/ic-card.js +121 -0
- package/dist/components/ic-card.js.map +1 -0
- package/dist/components/ic-checkbox-group.d.ts +11 -0
- package/dist/components/ic-checkbox-group.js +109 -0
- package/dist/components/ic-checkbox-group.js.map +1 -0
- package/dist/components/ic-checkbox.d.ts +11 -0
- package/dist/components/ic-checkbox.js +102 -0
- package/dist/components/ic-checkbox.js.map +1 -0
- package/dist/components/ic-classification-banner.d.ts +11 -0
- package/dist/components/ic-classification-banner.js +68 -0
- package/dist/components/ic-classification-banner.js.map +1 -0
- package/dist/components/ic-data-entity.d.ts +11 -0
- package/dist/components/ic-data-entity.js +54 -0
- package/dist/components/ic-data-entity.js.map +1 -0
- package/dist/components/ic-data-row.d.ts +11 -0
- package/dist/components/ic-data-row.js +100 -0
- package/dist/components/ic-data-row.js.map +1 -0
- package/dist/components/ic-divider.d.ts +11 -0
- package/dist/components/ic-divider.js +8 -0
- package/dist/components/ic-divider.js.map +1 -0
- package/dist/components/ic-divider2.js +41 -0
- package/dist/components/ic-divider2.js.map +1 -0
- package/dist/components/ic-footer-link-group.d.ts +11 -0
- package/dist/components/ic-footer-link-group.js +101 -0
- package/dist/components/ic-footer-link-group.js.map +1 -0
- package/dist/components/ic-footer-link.d.ts +11 -0
- package/dist/components/ic-footer-link.js +78 -0
- package/dist/components/ic-footer-link.js.map +1 -0
- package/dist/components/ic-footer.d.ts +11 -0
- package/dist/components/ic-footer.js +122 -0
- package/dist/components/ic-footer.js.map +1 -0
- package/dist/components/ic-hero.d.ts +11 -0
- package/dist/components/ic-hero.js +112 -0
- package/dist/components/ic-hero.js.map +1 -0
- package/dist/components/ic-input-component-container.d.ts +11 -0
- package/dist/components/ic-input-component-container.js +8 -0
- package/dist/components/ic-input-component-container.js.map +1 -0
- package/dist/components/ic-input-component-container2.js +71 -0
- package/dist/components/ic-input-component-container2.js.map +1 -0
- package/dist/components/ic-input-container.d.ts +11 -0
- package/dist/components/ic-input-container.js +8 -0
- package/dist/components/ic-input-container.js.map +1 -0
- package/dist/components/ic-input-container2.js +40 -0
- package/dist/components/ic-input-container2.js.map +1 -0
- package/dist/components/ic-input-label.d.ts +11 -0
- package/dist/components/ic-input-label.js +8 -0
- package/dist/components/ic-input-label.js.map +1 -0
- package/dist/components/ic-input-label2.js +74 -0
- package/dist/components/ic-input-label2.js.map +1 -0
- package/dist/components/ic-input-validation.d.ts +11 -0
- package/dist/components/ic-input-validation.js +8 -0
- package/dist/components/ic-input-validation.js.map +1 -0
- package/dist/components/ic-input-validation2.js +68 -0
- package/dist/components/ic-input-validation2.js.map +1 -0
- package/dist/components/ic-link.d.ts +11 -0
- package/dist/components/ic-link.js +8 -0
- package/dist/components/ic-link.js.map +1 -0
- package/dist/components/ic-link2.js +89 -0
- package/dist/components/ic-link2.js.map +1 -0
- package/dist/components/ic-loading-indicator.d.ts +11 -0
- package/dist/components/ic-loading-indicator.js +8 -0
- package/dist/components/ic-loading-indicator.js.map +1 -0
- package/dist/components/ic-loading-indicator2.js +158 -0
- package/dist/components/ic-loading-indicator2.js.map +1 -0
- package/dist/components/ic-menu.d.ts +11 -0
- package/dist/components/ic-menu.js +8 -0
- package/dist/components/ic-menu.js.map +1 -0
- package/dist/components/ic-menu2.js +461 -0
- package/dist/components/ic-menu2.js.map +1 -0
- package/dist/components/ic-navigation-button.d.ts +11 -0
- package/dist/components/ic-navigation-button.js +135 -0
- package/dist/components/ic-navigation-button.js.map +1 -0
- package/dist/components/ic-navigation-group.d.ts +11 -0
- package/dist/components/ic-navigation-group.js +271 -0
- package/dist/components/ic-navigation-group.js.map +1 -0
- package/dist/components/ic-navigation-item.d.ts +11 -0
- package/dist/components/ic-navigation-item.js +188 -0
- package/dist/components/ic-navigation-item.js.map +1 -0
- package/dist/components/ic-navigation-menu.d.ts +11 -0
- package/dist/components/ic-navigation-menu.js +8 -0
- package/dist/components/ic-navigation-menu.js.map +1 -0
- package/dist/components/ic-navigation-menu2.js +167 -0
- package/dist/components/ic-navigation-menu2.js.map +1 -0
- package/dist/components/ic-page-header.d.ts +11 -0
- package/dist/components/ic-page-header.js +145 -0
- package/dist/components/ic-page-header.js.map +1 -0
- package/dist/components/ic-radio-group.d.ts +11 -0
- package/dist/components/ic-radio-group.js +147 -0
- package/dist/components/ic-radio-group.js.map +1 -0
- package/dist/components/ic-radio-option.d.ts +11 -0
- package/dist/components/ic-radio-option.js +137 -0
- package/dist/components/ic-radio-option.js.map +1 -0
- package/dist/components/ic-search-bar.d.ts +11 -0
- package/dist/components/ic-search-bar.js +500 -0
- package/dist/components/ic-search-bar.js.map +1 -0
- package/dist/components/ic-section-container.d.ts +11 -0
- package/dist/components/ic-section-container.js +8 -0
- package/dist/components/ic-section-container.js.map +1 -0
- package/dist/components/ic-section-container2.js +43 -0
- package/dist/components/ic-section-container2.js.map +1 -0
- package/dist/components/ic-select.d.ts +11 -0
- package/dist/components/ic-select.js +253 -0
- package/dist/components/ic-select.js.map +1 -0
- package/dist/components/ic-side-navigation.d.ts +11 -0
- package/dist/components/ic-side-navigation.js +444 -0
- package/dist/components/ic-side-navigation.js.map +1 -0
- package/dist/components/ic-skeleton.d.ts +11 -0
- package/dist/components/ic-skeleton.js +80 -0
- package/dist/components/ic-skeleton.js.map +1 -0
- package/dist/components/ic-status-tag.d.ts +11 -0
- package/dist/components/ic-status-tag.js +59 -0
- package/dist/components/ic-status-tag.js.map +1 -0
- package/dist/components/ic-step.d.ts +11 -0
- package/dist/components/ic-step.js +85 -0
- package/dist/components/ic-step.js.map +1 -0
- package/dist/components/ic-stepper.d.ts +11 -0
- package/dist/components/ic-stepper.js +115 -0
- package/dist/components/ic-stepper.js.map +1 -0
- package/dist/components/ic-switch.d.ts +11 -0
- package/dist/components/ic-switch.js +102 -0
- package/dist/components/ic-switch.js.map +1 -0
- package/dist/components/ic-tab-context.d.ts +11 -0
- package/dist/components/ic-tab-context.js +245 -0
- package/dist/components/ic-tab-context.js.map +1 -0
- package/dist/components/ic-tab-list.d.ts +11 -0
- package/dist/components/ic-tab-list.js +180 -0
- package/dist/components/ic-tab-list.js.map +1 -0
- package/dist/components/ic-tab-panel.d.ts +11 -0
- package/dist/components/ic-tab-panel.js +52 -0
- package/dist/components/ic-tab-panel.js.map +1 -0
- package/dist/components/ic-tab.d.ts +11 -0
- package/dist/components/ic-tab.js +100 -0
- package/dist/components/ic-tab.js.map +1 -0
- package/dist/components/ic-text-field.d.ts +11 -0
- package/dist/components/ic-text-field.js +8 -0
- package/dist/components/ic-text-field.js.map +1 -0
- package/dist/components/ic-text-field2.js +282 -0
- package/dist/components/ic-text-field2.js.map +1 -0
- package/dist/components/ic-theme.d.ts +11 -0
- package/dist/components/ic-theme.js +69 -0
- package/dist/components/ic-theme.js.map +1 -0
- package/dist/components/ic-tooltip.d.ts +11 -0
- package/dist/components/ic-tooltip.js +8 -0
- package/dist/components/ic-tooltip.js.map +1 -0
- package/dist/components/ic-tooltip2.js +149 -0
- package/dist/components/ic-tooltip2.js.map +1 -0
- package/dist/components/ic-top-navigation.d.ts +11 -0
- package/dist/components/ic-top-navigation.js +273 -0
- package/dist/components/ic-top-navigation.js.map +1 -0
- package/dist/components/ic-typography.d.ts +11 -0
- package/dist/components/ic-typography.js +8 -0
- package/dist/components/ic-typography.js.map +1 -0
- package/dist/components/ic-typography2.js +42 -0
- package/dist/components/ic-typography2.js.map +1 -0
- package/dist/components/index.d.ts +69 -0
- package/dist/components/index.js +51 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/popper.js +1801 -0
- package/dist/components/popper.js.map +1 -0
- package/dist/components/success-icon.js +9 -0
- package/dist/components/success-icon.js.map +1 -0
- package/dist/core/core.css +57 -0
- package/dist/core/core.esm.js +2 -0
- package/dist/core/core.esm.js.map +1 -0
- package/dist/core/index.esm.js +2 -0
- package/dist/core/index.esm.js.map +1 -0
- package/dist/core/p-012dc33c.entry.js +2 -0
- package/dist/core/p-012dc33c.entry.js.map +1 -0
- package/dist/core/p-0d4ac3c9.entry.js +2 -0
- package/dist/core/p-0d4ac3c9.entry.js.map +1 -0
- package/dist/core/p-0ebbf9e7.entry.js +2 -0
- package/dist/core/p-0ebbf9e7.entry.js.map +1 -0
- package/dist/core/p-13854b65.entry.js +2 -0
- package/dist/core/p-13854b65.entry.js.map +1 -0
- package/dist/core/p-17420c90.entry.js +2 -0
- package/dist/core/p-17420c90.entry.js.map +1 -0
- package/dist/core/p-1e7b4310.js +2 -0
- package/dist/core/p-1e7b4310.js.map +1 -0
- package/dist/core/p-263018da.entry.js +2 -0
- package/dist/core/p-263018da.entry.js.map +1 -0
- package/dist/core/p-28ef3fe0.entry.js +2 -0
- package/dist/core/p-28ef3fe0.entry.js.map +1 -0
- package/dist/core/p-3b9d4007.entry.js +2 -0
- package/dist/core/p-3b9d4007.entry.js.map +1 -0
- package/dist/core/p-43e646c6.entry.js +2 -0
- package/dist/core/p-43e646c6.entry.js.map +1 -0
- package/dist/core/p-44355e34.entry.js +2 -0
- package/dist/core/p-44355e34.entry.js.map +1 -0
- package/dist/core/p-44512ebe.js +2 -0
- package/dist/core/p-44512ebe.js.map +1 -0
- package/dist/core/p-44af91df.entry.js +2 -0
- package/dist/core/p-44af91df.entry.js.map +1 -0
- package/dist/core/p-4b1b46f5.entry.js +2 -0
- package/dist/core/p-4b1b46f5.entry.js.map +1 -0
- package/dist/core/p-4b692529.entry.js +2 -0
- package/dist/core/p-4b692529.entry.js.map +1 -0
- package/dist/core/p-4cf60a22.entry.js +2 -0
- package/dist/core/p-4cf60a22.entry.js.map +1 -0
- package/dist/core/p-4fba6cae.entry.js +2 -0
- package/dist/core/p-4fba6cae.entry.js.map +1 -0
- package/dist/core/p-5316e421.entry.js +2 -0
- package/dist/core/p-5316e421.entry.js.map +1 -0
- package/dist/core/p-5d3dd182.entry.js +2 -0
- package/dist/core/p-5d3dd182.entry.js.map +1 -0
- package/dist/core/p-5e0b88fa.entry.js +2 -0
- package/dist/core/p-5e0b88fa.entry.js.map +1 -0
- package/dist/core/p-6be5e06b.entry.js +2 -0
- package/dist/core/p-6be5e06b.entry.js.map +1 -0
- package/dist/core/p-7152788d.entry.js +2 -0
- package/dist/core/p-7152788d.entry.js.map +1 -0
- package/dist/core/p-79905074.entry.js +2 -0
- package/dist/core/p-79905074.entry.js.map +1 -0
- package/dist/core/p-7ed79493.entry.js +2 -0
- package/dist/core/p-7ed79493.entry.js.map +1 -0
- package/dist/core/p-7f6ba60a.entry.js +2 -0
- package/dist/core/p-7f6ba60a.entry.js.map +1 -0
- package/dist/core/p-836c93b1.entry.js +2 -0
- package/dist/core/p-836c93b1.entry.js.map +1 -0
- package/dist/core/p-85436343.entry.js +2 -0
- package/dist/core/p-85436343.entry.js.map +1 -0
- package/dist/core/p-85dc9100.entry.js +2 -0
- package/dist/core/p-85dc9100.entry.js.map +1 -0
- package/dist/core/p-8a677ff1.entry.js +2 -0
- package/dist/core/p-8a677ff1.entry.js.map +1 -0
- package/dist/core/p-8af2a343.entry.js +2 -0
- package/dist/core/p-8af2a343.entry.js.map +1 -0
- package/dist/core/p-a3df537f.entry.js +2 -0
- package/dist/core/p-a3df537f.entry.js.map +1 -0
- package/dist/core/p-a968ff18.entry.js +2 -0
- package/dist/core/p-a968ff18.entry.js.map +1 -0
- package/dist/core/p-ae6aa67f.js +2 -0
- package/dist/core/p-ae6aa67f.js.map +1 -0
- package/dist/core/p-b1d83eb6.entry.js +2 -0
- package/dist/core/p-b1d83eb6.entry.js.map +1 -0
- package/dist/core/p-b858dc5a.entry.js +2 -0
- package/dist/core/p-b858dc5a.entry.js.map +1 -0
- package/dist/core/p-b9253509.entry.js +2 -0
- package/dist/core/p-b9253509.entry.js.map +1 -0
- package/dist/core/p-bbe0b521.entry.js +2 -0
- package/dist/core/p-bbe0b521.entry.js.map +1 -0
- package/dist/core/p-bdd2f166.entry.js +2 -0
- package/dist/core/p-bdd2f166.entry.js.map +1 -0
- package/dist/core/p-bddb885a.entry.js +2 -0
- package/dist/core/p-bddb885a.entry.js.map +1 -0
- package/dist/core/p-bf5717ca.js +2 -0
- package/dist/core/p-bf5717ca.js.map +1 -0
- package/dist/core/p-c09e9589.entry.js +2 -0
- package/dist/core/p-c09e9589.entry.js.map +1 -0
- package/dist/core/p-d10ce0a7.entry.js +2 -0
- package/dist/core/p-d10ce0a7.entry.js.map +1 -0
- package/dist/core/p-d198ae1f.entry.js +2 -0
- package/dist/core/p-d198ae1f.entry.js.map +1 -0
- package/dist/core/p-dc79694a.entry.js +2 -0
- package/dist/core/p-dc79694a.entry.js.map +1 -0
- package/dist/core/p-e28af65b.js +2 -0
- package/dist/core/p-e28af65b.js.map +1 -0
- package/dist/core/p-e5a09372.js +2 -0
- package/dist/core/p-e5a09372.js.map +1 -0
- package/dist/core/p-ec26fc38.js +2 -0
- package/dist/core/p-ec26fc38.js.map +1 -0
- package/dist/core/p-ed1d8712.entry.js +2 -0
- package/dist/core/p-ed1d8712.entry.js.map +1 -0
- package/dist/core/p-f7828fde.entry.js +2 -0
- package/dist/core/p-f7828fde.entry.js.map +1 -0
- package/dist/core/p-f9370be6.js +3 -0
- package/dist/core/p-f9370be6.js.map +1 -0
- package/dist/core/p-fba2f052.entry.js +2 -0
- package/dist/core/p-fba2f052.entry.js.map +1 -0
- package/dist/esm/check-icon-53f1d9e5.js +8 -0
- package/dist/esm/check-icon-53f1d9e5.js.map +1 -0
- package/dist/esm/chevron-icon-5b38c60a.js +8 -0
- package/dist/esm/chevron-icon-5b38c60a.js.map +1 -0
- package/dist/esm/close-icon-2f02b42a.js +10 -0
- package/dist/esm/close-icon-2f02b42a.js.map +1 -0
- package/dist/esm/core.js +19 -0
- package/dist/esm/core.js.map +1 -0
- package/dist/esm/error-icon-6046a380.js +15 -0
- package/dist/esm/error-icon-6046a380.js.map +1 -0
- package/dist/esm/helpers-db00eae1.js +397 -0
- package/dist/esm/helpers-db00eae1.js.map +1 -0
- package/dist/esm/ic-alert.entry.js +87 -0
- package/dist/esm/ic-alert.entry.js.map +1 -0
- package/dist/esm/ic-back-to-top.entry.js +128 -0
- package/dist/esm/ic-back-to-top.entry.js.map +1 -0
- package/dist/esm/ic-breadcrumb.entry.js +59 -0
- package/dist/esm/ic-breadcrumb.entry.js.map +1 -0
- package/dist/esm/ic-breadcrumbs.entry.js +177 -0
- package/dist/esm/ic-breadcrumbs.entry.js.map +1 -0
- package/dist/esm/ic-button_3.entry.js +426 -0
- package/dist/esm/ic-button_3.entry.js.map +1 -0
- package/dist/esm/ic-card.entry.js +83 -0
- package/dist/esm/ic-card.entry.js.map +1 -0
- package/dist/esm/ic-checkbox-group.entry.js +62 -0
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -0
- package/dist/esm/ic-checkbox.entry.js +68 -0
- package/dist/esm/ic-checkbox.entry.js.map +1 -0
- package/dist/esm/ic-classification-banner.entry.js +38 -0
- package/dist/esm/ic-classification-banner.entry.js.map +1 -0
- package/dist/esm/ic-data-entity.entry.js +27 -0
- package/dist/esm/ic-data-entity.entry.js.map +1 -0
- package/dist/esm/ic-data-row.entry.js +70 -0
- package/dist/esm/ic-data-row.entry.js.map +1 -0
- package/dist/esm/ic-divider.entry.js +25 -0
- package/dist/esm/ic-divider.entry.js.map +1 -0
- package/dist/esm/ic-footer-link-group.entry.js +65 -0
- package/dist/esm/ic-footer-link-group.entry.js.map +1 -0
- package/dist/esm/ic-footer-link.entry.js +55 -0
- package/dist/esm/ic-footer-link.entry.js.map +1 -0
- package/dist/esm/ic-footer.entry.js +83 -0
- package/dist/esm/ic-footer.entry.js.map +1 -0
- package/dist/esm/ic-hero.entry.js +68 -0
- package/dist/esm/ic-hero.entry.js.map +1 -0
- package/dist/esm/ic-input-component-container_3.entry.js +479 -0
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -0
- package/dist/esm/ic-input-label_2.entry.js +81 -0
- package/dist/esm/ic-input-label_2.entry.js.map +1 -0
- package/dist/esm/ic-link.entry.js +65 -0
- package/dist/esm/ic-link.entry.js.map +1 -0
- package/dist/esm/ic-navigation-button.entry.js +82 -0
- package/dist/esm/ic-navigation-button.entry.js.map +1 -0
- package/dist/esm/ic-navigation-group.entry.js +236 -0
- package/dist/esm/ic-navigation-group.entry.js.map +1 -0
- package/dist/esm/ic-navigation-item.entry.js +142 -0
- package/dist/esm/ic-navigation-item.entry.js.map +1 -0
- package/dist/esm/ic-navigation-menu.entry.js +125 -0
- package/dist/esm/ic-navigation-menu.entry.js.map +1 -0
- package/dist/esm/ic-page-header.entry.js +103 -0
- package/dist/esm/ic-page-header.entry.js.map +1 -0
- package/dist/esm/ic-radio-group.entry.js +99 -0
- package/dist/esm/ic-radio-group.entry.js.map +1 -0
- package/dist/esm/ic-radio-option.entry.js +104 -0
- package/dist/esm/ic-radio-option.entry.js.map +1 -0
- package/dist/esm/ic-search-bar.entry.js +389 -0
- package/dist/esm/ic-search-bar.entry.js.map +1 -0
- package/dist/esm/ic-section-container.entry.js +25 -0
- package/dist/esm/ic-section-container.entry.js.map +1 -0
- package/dist/esm/ic-select.entry.js +162 -0
- package/dist/esm/ic-select.entry.js.map +1 -0
- package/dist/esm/ic-side-navigation.entry.js +380 -0
- package/dist/esm/ic-side-navigation.entry.js.map +1 -0
- package/dist/esm/ic-skeleton.entry.js +55 -0
- package/dist/esm/ic-skeleton.entry.js.map +1 -0
- package/dist/esm/ic-status-tag.entry.js +30 -0
- package/dist/esm/ic-status-tag.entry.js.map +1 -0
- package/dist/esm/ic-step.entry.js +55 -0
- package/dist/esm/ic-step.entry.js.map +1 -0
- package/dist/esm/ic-stepper.entry.js +92 -0
- package/dist/esm/ic-stepper.entry.js.map +1 -0
- package/dist/esm/ic-switch.entry.js +61 -0
- package/dist/esm/ic-switch.entry.js.map +1 -0
- package/dist/esm/ic-tab-context.entry.js +222 -0
- package/dist/esm/ic-tab-context.entry.js.map +1 -0
- package/dist/esm/ic-tab-list.entry.js +141 -0
- package/dist/esm/ic-tab-list.entry.js.map +1 -0
- package/dist/esm/ic-tab-panel.entry.js +29 -0
- package/dist/esm/ic-tab-panel.entry.js.map +1 -0
- package/dist/esm/ic-tab.entry.js +69 -0
- package/dist/esm/ic-tab.entry.js.map +1 -0
- package/dist/esm/ic-text-field.entry.js +199 -0
- package/dist/esm/ic-text-field.entry.js.map +1 -0
- package/dist/esm/ic-theme.entry.js +49 -0
- package/dist/esm/ic-theme.entry.js.map +1 -0
- package/dist/esm/ic-top-navigation.entry.js +203 -0
- package/dist/esm/ic-top-navigation.entry.js.map +1 -0
- package/dist/esm/ic-typography.entry.js +24 -0
- package/dist/esm/ic-typography.entry.js.map +1 -0
- package/dist/esm/index-1500de1f.js +2431 -0
- package/dist/esm/index-1500de1f.js.map +1 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +19 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/popper-f860750c.js +1801 -0
- package/dist/esm/popper-f860750c.js.map +1 -0
- package/dist/esm/success-icon-2f71b115.js +9 -0
- package/dist/esm/success-icon-2f71b115.js.map +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/ic-alert/ic-alert.d.ts +44 -0
- package/dist/types/components/ic-alert/ic-alert.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-alert/ic-alert.types.d.ts +1 -0
- package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +24 -0
- package/dist/types/components/ic-back-to-top/ic-back-to-top.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +26 -0
- package/dist/types/components/ic-breadcrumb/ic-breadcrumb.types.d.ts +1 -0
- package/dist/types/components/ic-breadcrumbs/ic-breadcrumbs-test-examples.d.ts +2 -0
- package/dist/types/components/ic-breadcrumbs/ic-breadcrumbs.d.ts +33 -0
- package/dist/types/components/ic-breadcrumbs/ic-breadcrumbs.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-button/ic-button.d.ts +111 -0
- package/dist/types/components/ic-button/ic-button.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-button/ic-button.types.d.ts +5 -0
- package/dist/types/components/ic-card/ic-card.d.ts +58 -0
- package/dist/types/components/ic-card/ic-card.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +50 -0
- package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +51 -0
- package/dist/types/components/ic-checkbox-group/ic-checkbox-group.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-checkbox-group/ic-checkbox-group.types.d.ts +3 -0
- package/dist/types/components/ic-classification-banner/ic-classification-banner.d.ts +24 -0
- package/dist/types/components/ic-classification-banner/ic-classification-banner.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-classification-banner/ic-classification-banner.types.d.ts +1 -0
- package/dist/types/components/ic-data-entity/ic-data-entity.d.ts +12 -0
- package/dist/types/components/ic-data-entity/ic-data-entity.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-data-row/ic-data-row.d.ts +31 -0
- package/dist/types/components/ic-data-row/ic-data-row.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-divider/ic-divider.d.ts +6 -0
- package/dist/types/components/ic-footer/ic-footer.d.ts +52 -0
- package/dist/types/components/ic-footer/ic-footer.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-footer/ic-footer.types.d.ts +1 -0
- package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +21 -0
- package/dist/types/components/ic-footer-link/ic-footer-link.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +19 -0
- package/dist/types/components/ic-footer-link-group/ic-footer-link-group.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-hero/ic-hero.d.ts +57 -0
- package/dist/types/components/ic-hero/ic-hero.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-hero/ic-hero.types.d.ts +1 -0
- package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +40 -0
- package/dist/types/components/ic-input-container/ic-input-container.d.ts +11 -0
- package/dist/types/components/ic-input-label/ic-input-label.d.ts +36 -0
- package/dist/types/components/ic-input-validation/ic-input-validation.d.ts +30 -0
- package/dist/types/components/ic-input-validation/ic-input-validation.types.d.ts +1 -0
- package/dist/types/components/ic-link/ic-link.d.ts +44 -0
- package/dist/types/components/ic-link/ic-link.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +66 -0
- package/dist/types/components/ic-loading-indicator/ic-loading-indicator.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-loading-indicator/ic-loading-indicator.types.d.ts +3 -0
- package/dist/types/components/ic-menu/ic-menu.d.ts +116 -0
- package/dist/types/components/ic-menu/ic-menu.types.d.ts +11 -0
- package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +53 -0
- package/dist/types/components/ic-navigation-button/ic-navigation-button.types.d.ts +1 -0
- package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +56 -0
- package/dist/types/components/ic-navigation-group/ic-navigation-group.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +65 -0
- package/dist/types/components/ic-navigation-item/ic-navigation-item.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +36 -0
- package/dist/types/components/ic-page-header/ic-page-header.d.ts +55 -0
- package/dist/types/components/ic-page-header/ic-page-header.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +57 -0
- package/dist/types/components/ic-radio-group/ic-radio-group.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +57 -0
- package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +211 -0
- package/dist/types/components/ic-search-bar/ic-search-bar.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-search-bar/ic-search-bar.types.d.ts +4 -0
- package/dist/types/components/ic-section-container/ic-section-container.d.ts +12 -0
- package/dist/types/components/ic-select/ic-select.d.ts +108 -0
- package/dist/types/components/ic-select/ic-select.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-side-navigation/ic-side-navigation-test-examples.d.ts +5 -0
- package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +89 -0
- package/dist/types/components/ic-side-navigation/ic-side-navigation.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-side-navigation/ic-side-navigation.types.d.ts +9 -0
- package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +18 -0
- package/dist/types/components/ic-skeleton/ic-skeleton.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-skeleton/ic-skeleton.types.d.ts +1 -0
- package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +21 -0
- package/dist/types/components/ic-status-tag/ic-status-tag.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-status-tag/ic-status-tag.types.d.ts +2 -0
- package/dist/types/components/ic-step/ic-step.d.ts +26 -0
- package/dist/types/components/ic-step/ic-step.types.d.ts +1 -0
- package/dist/types/components/ic-stepper/ic-stepper.d.ts +26 -0
- package/dist/types/components/ic-stepper/ic-stepper.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-stepper/ic-stepper.types.d.ts +1 -0
- package/dist/types/components/ic-switch/ic-switch.d.ts +67 -0
- package/dist/types/components/ic-switch/ic-switch.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-switch/ic-switch.types.d.ts +4 -0
- package/dist/types/components/ic-tab/ic-tab.d.ts +38 -0
- package/dist/types/components/ic-tab/ic-tab.types.d.ts +8 -0
- package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +51 -0
- package/dist/types/components/ic-tab-context/ic-tab-context.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-tab-list/ic-tab-list.d.ts +49 -0
- package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +15 -0
- package/dist/types/components/ic-text-field/ic-text-field.d.ts +199 -0
- package/dist/types/components/ic-text-field/ic-text-field.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-text-field/ic-text-field.types.d.ts +3 -0
- package/dist/types/components/ic-theme/ic-theme.d.ts +17 -0
- package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +35 -0
- package/dist/types/components/ic-tooltip/ic-tooltip.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-tooltip/ic-tooltip.types.d.ts +1 -0
- package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +79 -0
- package/dist/types/components/ic-top-navigation/ic-top-navigation.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-typography/ic-typography.d.ts +13 -0
- package/dist/types/components/ic-typography/ic-typography.test.a11y.d.ts +1 -0
- package/dist/types/components.d.ts +3276 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/interface.d.ts +15 -0
- package/dist/types/stencil-public-runtime.d.ts +1581 -0
- package/dist/types/testspec.setup.d.ts +3 -0
- package/dist/types/utils/constants.d.ts +14 -0
- package/dist/types/utils/helpers.d.ts +95 -0
- package/dist/types/utils/testa11y.helpers.d.ts +2 -0
- package/dist/types/utils/types.d.ts +53 -0
- package/hydrate/index.d.ts +217 -0
- package/hydrate/index.js +14702 -0
- package/hydrate/package.json +6 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +12 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +11 -0
- package/package.json +74 -0
@@ -0,0 +1,273 @@
|
|
1
|
+
import { Host, h, } from "@stencil/core";
|
2
|
+
import { IcThemeForegroundEnum, } from "../../utils/types";
|
3
|
+
import { slotHasContent, getThemeForegroundColor, onComponentRequiredPropUndefined, } from "../../utils/helpers";
|
4
|
+
/**
|
5
|
+
* @slot heading - Content will be rendered in the title area, in place of the heading.
|
6
|
+
* @slot subheading - Content will be rendered in the title area, in place of the subheading.
|
7
|
+
* @slot interaction - Content will be rendered in the interaction area, adjacent to the title area.
|
8
|
+
* @slot right-content - Content will be rendered in the right content area.
|
9
|
+
*/
|
10
|
+
export class Hero {
|
11
|
+
constructor() {
|
12
|
+
this.heading = undefined;
|
13
|
+
this.subheading = undefined;
|
14
|
+
this.secondaryHeading = undefined;
|
15
|
+
this.secondarySubheading = undefined;
|
16
|
+
this.backgroundImage = undefined;
|
17
|
+
this.disableBackgroundParallax = false;
|
18
|
+
this.aligned = "left";
|
19
|
+
this.contentAligned = "left";
|
20
|
+
this.dense = false;
|
21
|
+
this.rightContent = false;
|
22
|
+
this.scrollFactor = "right -100px";
|
23
|
+
this.leftContentFullWidth = !this.rightContent && this.secondaryHeading === undefined;
|
24
|
+
this.foregroundColor = getThemeForegroundColor();
|
25
|
+
}
|
26
|
+
themeChangeHandler(ev) {
|
27
|
+
const theme = ev.detail;
|
28
|
+
this.foregroundColor = theme.mode;
|
29
|
+
}
|
30
|
+
doScroll() {
|
31
|
+
if (this.disableBackgroundParallax) {
|
32
|
+
return;
|
33
|
+
}
|
34
|
+
const scrolltotop = document.scrollingElement.scrollTop;
|
35
|
+
const factor = 0.4;
|
36
|
+
const y = -100 + scrolltotop * factor;
|
37
|
+
this.scrollFactor = "right " + y + "px";
|
38
|
+
}
|
39
|
+
componentWillLoad() {
|
40
|
+
this.rightContent = slotHasContent(this.el, "right-content");
|
41
|
+
}
|
42
|
+
componentDidLoad() {
|
43
|
+
onComponentRequiredPropUndefined([{ prop: this.heading, propName: "heading" }], "Hero");
|
44
|
+
}
|
45
|
+
componentWillRender() {
|
46
|
+
this.rightContent = slotHasContent(this.el, "right-content");
|
47
|
+
}
|
48
|
+
render() {
|
49
|
+
const { aligned, dense, heading, subheading, secondaryHeading, secondarySubheading, foregroundColor, backgroundImage, scrollFactor, } = this;
|
50
|
+
let style = {};
|
51
|
+
if (backgroundImage !== undefined) {
|
52
|
+
style = {
|
53
|
+
"background-image": "url(" + backgroundImage + ")",
|
54
|
+
"background-position": scrollFactor,
|
55
|
+
};
|
56
|
+
}
|
57
|
+
return (h(Host, { class: {
|
58
|
+
[IcThemeForegroundEnum.Dark]: foregroundColor === IcThemeForegroundEnum.Dark,
|
59
|
+
["has-background-image"]: backgroundImage !== undefined,
|
60
|
+
}, style: style }, h("ic-section-container", { aligned: aligned, fullHeight: true, class: "section-container" }, h("div", { class: {
|
61
|
+
["left-container"]: true,
|
62
|
+
["left-container-full-width"]: this.leftContentFullWidth,
|
63
|
+
} }, h("div", { class: "heading" }, h("slot", { name: "heading" }, h("ic-typography", { variant: dense ? "h2" : "h1" }, heading))), h("div", { class: "subheading" }, h("slot", { name: "subheading" }, h("ic-typography", { variant: "subtitle-small" }, subheading))), h("div", { class: "interaction-container" }, h("slot", { name: "interaction" }))), (secondaryHeading !== undefined || this.rightContent) && (h("div", { class: "right-container" }, h("slot", { name: "right-content" }, secondaryHeading && (h("div", { class: "secondary-container" }, h("div", { class: "secondary-heading" }, h("ic-typography", { variant: "h4" }, secondaryHeading)), h("div", { class: "secondary-subheading" }, h("ic-typography", { variant: "subtitle-small" }, secondarySubheading))))))))));
|
64
|
+
}
|
65
|
+
static get is() { return "ic-hero"; }
|
66
|
+
static get encapsulation() { return "shadow"; }
|
67
|
+
static get originalStyleUrls() {
|
68
|
+
return {
|
69
|
+
"$": ["ic-hero.css"]
|
70
|
+
};
|
71
|
+
}
|
72
|
+
static get styleUrls() {
|
73
|
+
return {
|
74
|
+
"$": ["ic-hero.css"]
|
75
|
+
};
|
76
|
+
}
|
77
|
+
static get properties() {
|
78
|
+
return {
|
79
|
+
"heading": {
|
80
|
+
"type": "string",
|
81
|
+
"mutable": false,
|
82
|
+
"complexType": {
|
83
|
+
"original": "string",
|
84
|
+
"resolved": "string",
|
85
|
+
"references": {}
|
86
|
+
},
|
87
|
+
"required": true,
|
88
|
+
"optional": false,
|
89
|
+
"docs": {
|
90
|
+
"tags": [],
|
91
|
+
"text": "The heading of the hero"
|
92
|
+
},
|
93
|
+
"attribute": "heading",
|
94
|
+
"reflect": false
|
95
|
+
},
|
96
|
+
"subheading": {
|
97
|
+
"type": "string",
|
98
|
+
"mutable": false,
|
99
|
+
"complexType": {
|
100
|
+
"original": "string",
|
101
|
+
"resolved": "string",
|
102
|
+
"references": {}
|
103
|
+
},
|
104
|
+
"required": false,
|
105
|
+
"optional": true,
|
106
|
+
"docs": {
|
107
|
+
"tags": [],
|
108
|
+
"text": "Description for the hero"
|
109
|
+
},
|
110
|
+
"attribute": "subheading",
|
111
|
+
"reflect": false
|
112
|
+
},
|
113
|
+
"secondaryHeading": {
|
114
|
+
"type": "string",
|
115
|
+
"mutable": false,
|
116
|
+
"complexType": {
|
117
|
+
"original": "string",
|
118
|
+
"resolved": "string",
|
119
|
+
"references": {}
|
120
|
+
},
|
121
|
+
"required": false,
|
122
|
+
"optional": true,
|
123
|
+
"docs": {
|
124
|
+
"tags": [],
|
125
|
+
"text": "Optional secondary heading, replaced by slotted right content"
|
126
|
+
},
|
127
|
+
"attribute": "secondary-heading",
|
128
|
+
"reflect": false
|
129
|
+
},
|
130
|
+
"secondarySubheading": {
|
131
|
+
"type": "string",
|
132
|
+
"mutable": false,
|
133
|
+
"complexType": {
|
134
|
+
"original": "string",
|
135
|
+
"resolved": "string",
|
136
|
+
"references": {}
|
137
|
+
},
|
138
|
+
"required": false,
|
139
|
+
"optional": true,
|
140
|
+
"docs": {
|
141
|
+
"tags": [],
|
142
|
+
"text": "Optional secondary subheading, replaced by slotted right content"
|
143
|
+
},
|
144
|
+
"attribute": "secondary-subheading",
|
145
|
+
"reflect": false
|
146
|
+
},
|
147
|
+
"backgroundImage": {
|
148
|
+
"type": "string",
|
149
|
+
"mutable": false,
|
150
|
+
"complexType": {
|
151
|
+
"original": "string",
|
152
|
+
"resolved": "string",
|
153
|
+
"references": {}
|
154
|
+
},
|
155
|
+
"required": false,
|
156
|
+
"optional": true,
|
157
|
+
"docs": {
|
158
|
+
"tags": [],
|
159
|
+
"text": "Optional background image"
|
160
|
+
},
|
161
|
+
"attribute": "background-image",
|
162
|
+
"reflect": false
|
163
|
+
},
|
164
|
+
"disableBackgroundParallax": {
|
165
|
+
"type": "boolean",
|
166
|
+
"mutable": false,
|
167
|
+
"complexType": {
|
168
|
+
"original": "boolean",
|
169
|
+
"resolved": "boolean",
|
170
|
+
"references": {}
|
171
|
+
},
|
172
|
+
"required": false,
|
173
|
+
"optional": true,
|
174
|
+
"docs": {
|
175
|
+
"tags": [],
|
176
|
+
"text": "Whether the background image (if set) scrolls using a parallax effect."
|
177
|
+
},
|
178
|
+
"attribute": "disable-background-parallax",
|
179
|
+
"reflect": false,
|
180
|
+
"defaultValue": "false"
|
181
|
+
},
|
182
|
+
"aligned": {
|
183
|
+
"type": "string",
|
184
|
+
"mutable": false,
|
185
|
+
"complexType": {
|
186
|
+
"original": "IcAlignment",
|
187
|
+
"resolved": "\"center\" | \"full-width\" | \"left\"",
|
188
|
+
"references": {
|
189
|
+
"IcAlignment": {
|
190
|
+
"location": "import",
|
191
|
+
"path": "../../utils/types"
|
192
|
+
}
|
193
|
+
}
|
194
|
+
},
|
195
|
+
"required": false,
|
196
|
+
"optional": false,
|
197
|
+
"docs": {
|
198
|
+
"tags": [],
|
199
|
+
"text": "The alignment of the hero content"
|
200
|
+
},
|
201
|
+
"attribute": "aligned",
|
202
|
+
"reflect": false,
|
203
|
+
"defaultValue": "\"left\""
|
204
|
+
},
|
205
|
+
"contentAligned": {
|
206
|
+
"type": "string",
|
207
|
+
"mutable": false,
|
208
|
+
"complexType": {
|
209
|
+
"original": "IcHeroContentAlignments",
|
210
|
+
"resolved": "\"center\" | \"left\"",
|
211
|
+
"references": {
|
212
|
+
"IcHeroContentAlignments": {
|
213
|
+
"location": "import",
|
214
|
+
"path": "./ic-hero.types"
|
215
|
+
}
|
216
|
+
}
|
217
|
+
},
|
218
|
+
"required": false,
|
219
|
+
"optional": false,
|
220
|
+
"docs": {
|
221
|
+
"tags": [],
|
222
|
+
"text": "The alignment of the hero content"
|
223
|
+
},
|
224
|
+
"attribute": "content-aligned",
|
225
|
+
"reflect": false,
|
226
|
+
"defaultValue": "\"left\""
|
227
|
+
},
|
228
|
+
"dense": {
|
229
|
+
"type": "boolean",
|
230
|
+
"mutable": false,
|
231
|
+
"complexType": {
|
232
|
+
"original": "boolean",
|
233
|
+
"resolved": "boolean",
|
234
|
+
"references": {}
|
235
|
+
},
|
236
|
+
"required": false,
|
237
|
+
"optional": false,
|
238
|
+
"docs": {
|
239
|
+
"tags": [],
|
240
|
+
"text": "Alter styling for use with dense content/pages"
|
241
|
+
},
|
242
|
+
"attribute": "dense",
|
243
|
+
"reflect": false,
|
244
|
+
"defaultValue": "false"
|
245
|
+
}
|
246
|
+
};
|
247
|
+
}
|
248
|
+
static get states() {
|
249
|
+
return {
|
250
|
+
"rightContent": {},
|
251
|
+
"scrollFactor": {},
|
252
|
+
"leftContentFullWidth": {},
|
253
|
+
"foregroundColor": {}
|
254
|
+
};
|
255
|
+
}
|
256
|
+
static get elementRef() { return "el"; }
|
257
|
+
static get listeners() {
|
258
|
+
return [{
|
259
|
+
"name": "icThemeChange",
|
260
|
+
"method": "themeChangeHandler",
|
261
|
+
"target": "document",
|
262
|
+
"capture": false,
|
263
|
+
"passive": false
|
264
|
+
}, {
|
265
|
+
"name": "scroll",
|
266
|
+
"method": "doScroll",
|
267
|
+
"target": "document",
|
268
|
+
"capture": false,
|
269
|
+
"passive": true
|
270
|
+
}];
|
271
|
+
}
|
272
|
+
}
|
273
|
+
//# sourceMappingURL=ic-hero.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ic-hero.js","sourceRoot":"","sources":["../../../src/components/ic-hero/ic-hero.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,CAAC,EACD,KAAK,EACL,MAAM,GACP,MAAM,eAAe,CAAC;AACvB,OAAO,EAIL,qBAAqB,GACtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,cAAc,EACd,uBAAuB,EACvB,gCAAgC,GACjC,MAAM,qBAAqB,CAAC;AAG7B;;;;;GAKG;AAOH,MAAM,OAAO,IAAI;;;;;;;qCA+B+B,KAAK;mBAKpB,MAAM;0BAKa,MAAM;iBAK/B,KAAK;wBAEG,KAAK;wBAEN,cAAc;gCAG5C,CAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,gBAAgB,KAAK,SAAS;2BAEb,uBAAuB,EAAE;;EAGvE,kBAAkB,CAAC,EAAe;IAChC,MAAM,KAAK,GAAY,EAAE,CAAC,MAAM,CAAC;IACjC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC,IAAI,CAAC;EACpC,CAAC;EAGD,QAAQ;IACN,IAAI,IAAI,CAAC,yBAAyB,EAAE;MAClC,OAAO;KACR;IAED,MAAM,WAAW,GAAG,QAAQ,CAAC,gBAAgB,CAAC,SAAS,CAAC;IACxD,MAAM,MAAM,GAAG,GAAG,CAAC;IACnB,MAAM,CAAC,GAAG,CAAC,GAAG,GAAG,WAAW,GAAG,MAAM,CAAC;IACtC,IAAI,CAAC,YAAY,GAAG,QAAQ,GAAG,CAAC,GAAG,IAAI,CAAC;EAC1C,CAAC;EAED,iBAAiB;IACf,IAAI,CAAC,YAAY,GAAG,cAAc,CAAC,IAAI,CAAC,EAAE,EAAE,eAAe,CAAC,CAAC;EAC/D,CAAC;EAED,gBAAgB;IACd,gCAAgC,CAC9B,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAC7C,MAAM,CACP,CAAC;EACJ,CAAC;EAED,mBAAmB;IACjB,IAAI,CAAC,YAAY,GAAG,cAAc,CAAC,IAAI,CAAC,EAAE,EAAE,eAAe,CAAC,CAAC;EAC/D,CAAC;EAED,MAAM;IACJ,MAAM,EACJ,OAAO,EACP,KAAK,EACL,OAAO,EACP,UAAU,EACV,gBAAgB,EAChB,mBAAmB,EACnB,eAAe,EACf,eAAe,EACf,YAAY,GACb,GAAG,IAAI,CAAC;IAET,IAAI,KAAK,GAAG,EAAE,CAAC;IAEf,IAAI,eAAe,KAAK,SAAS,EAAE;MACjC,KAAK,GAAG;QACN,kBAAkB,EAAE,MAAM,GAAG,eAAe,GAAG,GAAG;QAClD,qBAAqB,EAAE,YAAY;OACpC,CAAC;KACH;IAED,OAAO,CACL,EAAC,IAAI,IACH,KAAK,EAAE;QACL,CAAC,qBAAqB,CAAC,IAAI,CAAC,EAC1B,eAAe,KAAK,qBAAqB,CAAC,IAAI;QAChD,CAAC,sBAAsB,CAAC,EAAE,eAAe,KAAK,SAAS;OACxD,EACD,KAAK,EAAE,KAAK;MAEZ,4BACE,OAAO,EAAE,OAAO,EAChB,UAAU,QACV,KAAK,EAAC,mBAAmB;QAEzB,WACE,KAAK,EAAE;YACL,CAAC,gBAAgB,CAAC,EAAE,IAAI;YACxB,CAAC,2BAA2B,CAAC,EAAE,IAAI,CAAC,oBAAoB;WACzD;UAED,WAAK,KAAK,EAAC,SAAS;YAClB,YAAM,IAAI,EAAC,SAAS;cAClB,qBAAe,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,IACxC,OAAO,CACM,CACX,CACH;UACN,WAAK,KAAK,EAAC,YAAY;YACrB,YAAM,IAAI,EAAC,YAAY;cACrB,qBAAe,OAAO,EAAC,gBAAgB,IACpC,UAAU,CACG,CACX,CACH;UACN,WAAK,KAAK,EAAC,uBAAuB;YAChC,YAAM,IAAI,EAAC,aAAa,GAAQ,CAC5B,CACF;QACL,CAAC,gBAAgB,KAAK,SAAS,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,CACxD,WAAK,KAAK,EAAC,iBAAiB;UAC1B,YAAM,IAAI,EAAC,eAAe,IACvB,gBAAgB,IAAI,CACnB,WAAK,KAAK,EAAC,qBAAqB;YAC9B,WAAK,KAAK,EAAC,mBAAmB;cAC5B,qBAAe,OAAO,EAAC,IAAI,IACxB,gBAAgB,CACH,CACZ;YACN,WAAK,KAAK,EAAC,sBAAsB;cAC/B,qBAAe,OAAO,EAAC,gBAAgB,IACpC,mBAAmB,CACN,CACZ,CACF,CACP,CACI,CACH,CACP,CACoB,CAClB,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Element,\n Host,\n Prop,\n h,\n State,\n Listen,\n} from \"@stencil/core\";\nimport {\n IcAlignment,\n IcTheme,\n IcThemeForeground,\n IcThemeForegroundEnum,\n} from \"../../utils/types\";\nimport {\n slotHasContent,\n getThemeForegroundColor,\n onComponentRequiredPropUndefined,\n} from \"../../utils/helpers\";\nimport { IcHeroContentAlignments } from \"./ic-hero.types\";\n\n/**\n * @slot heading - Content will be rendered in the title area, in place of the heading.\n * @slot subheading - Content will be rendered in the title area, in place of the subheading.\n * @slot interaction - Content will be rendered in the interaction area, adjacent to the title area.\n * @slot right-content - Content will be rendered in the right content area.\n */\n\n@Component({\n tag: \"ic-hero\",\n styleUrl: \"ic-hero.css\",\n shadow: true,\n})\nexport class Hero {\n @Element() el: HTMLIcHeroElement;\n\n /**\n * The heading of the hero\n */\n @Prop() heading!: string;\n\n /**\n * Description for the hero\n */\n @Prop() subheading?: string;\n\n /**\n * Optional secondary heading, replaced by slotted right content\n */\n @Prop() secondaryHeading?: string;\n\n /**\n * Optional secondary subheading, replaced by slotted right content\n */\n @Prop() secondarySubheading?: string;\n\n /**\n * Optional background image\n */\n @Prop() backgroundImage?: string;\n\n /**\n * Whether the background image (if set) scrolls using a parallax effect.\n */\n @Prop() disableBackgroundParallax?: boolean = false;\n\n /**\n * The alignment of the hero content\n */\n @Prop() aligned: IcAlignment = \"left\";\n\n /**\n * The alignment of the hero content\n */\n @Prop() contentAligned: IcHeroContentAlignments = \"left\";\n\n /**\n * Alter styling for use with dense content/pages\n */\n @Prop() dense: boolean = false;\n\n @State() rightContent: boolean = false;\n\n @State() scrollFactor: string = \"right -100px\";\n\n @State() leftContentFullWidth: boolean =\n !this.rightContent && this.secondaryHeading === undefined;\n\n @State() foregroundColor: IcThemeForeground = getThemeForegroundColor();\n\n @Listen(\"icThemeChange\", { target: \"document\" })\n themeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.foregroundColor = theme.mode;\n }\n\n @Listen(\"scroll\", { target: \"document\" })\n doScroll(): void {\n if (this.disableBackgroundParallax) {\n return;\n }\n\n const scrolltotop = document.scrollingElement.scrollTop;\n const factor = 0.4;\n const y = -100 + scrolltotop * factor;\n this.scrollFactor = \"right \" + y + \"px\";\n }\n\n componentWillLoad(): void {\n this.rightContent = slotHasContent(this.el, \"right-content\");\n }\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [{ prop: this.heading, propName: \"heading\" }],\n \"Hero\"\n );\n }\n\n componentWillRender(): void {\n this.rightContent = slotHasContent(this.el, \"right-content\");\n }\n\n render() {\n const {\n aligned,\n dense,\n heading,\n subheading,\n secondaryHeading,\n secondarySubheading,\n foregroundColor,\n backgroundImage,\n scrollFactor,\n } = this;\n\n let style = {};\n\n if (backgroundImage !== undefined) {\n style = {\n \"background-image\": \"url(\" + backgroundImage + \")\",\n \"background-position\": scrollFactor,\n };\n }\n\n return (\n <Host\n class={{\n [IcThemeForegroundEnum.Dark]:\n foregroundColor === IcThemeForegroundEnum.Dark,\n [\"has-background-image\"]: backgroundImage !== undefined,\n }}\n style={style}\n >\n <ic-section-container\n aligned={aligned}\n fullHeight\n class=\"section-container\"\n >\n <div\n class={{\n [\"left-container\"]: true,\n [\"left-container-full-width\"]: this.leftContentFullWidth,\n }}\n >\n <div class=\"heading\">\n <slot name=\"heading\">\n <ic-typography variant={dense ? \"h2\" : \"h1\"}>\n {heading}\n </ic-typography>\n </slot>\n </div>\n <div class=\"subheading\">\n <slot name=\"subheading\">\n <ic-typography variant=\"subtitle-small\">\n {subheading}\n </ic-typography>\n </slot>\n </div>\n <div class=\"interaction-container\">\n <slot name=\"interaction\"></slot>\n </div>\n </div>\n {(secondaryHeading !== undefined || this.rightContent) && (\n <div class=\"right-container\">\n <slot name=\"right-content\">\n {secondaryHeading && (\n <div class=\"secondary-container\">\n <div class=\"secondary-heading\">\n <ic-typography variant=\"h4\">\n {secondaryHeading}\n </ic-typography>\n </div>\n <div class=\"secondary-subheading\">\n <ic-typography variant=\"subtitle-small\">\n {secondarySubheading}\n </ic-typography>\n </div>\n </div>\n )}\n </slot>\n </div>\n )}\n </ic-section-container>\n </Host>\n );\n }\n}\n"]}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { fixture } from "@open-wc/testing-helpers";
|
2
|
+
import { axe } from "jest-axe";
|
3
|
+
import { checkShadowElementRendersCorrectly } from "../../utils/testa11y.helpers";
|
4
|
+
describe("ic-hero", () => {
|
5
|
+
it("passes accessibility", async () => {
|
6
|
+
const el = await fixture(`<ic-hero heading="Test" subheading="Test"></ic-hero>`);
|
7
|
+
checkShadowElementRendersCorrectly(el);
|
8
|
+
expect(await axe(el)).toHaveNoViolations();
|
9
|
+
});
|
10
|
+
});
|
11
|
+
//# sourceMappingURL=ic-hero.test.a11y.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ic-hero.test.a11y.js","sourceRoot":"","sources":["../../../src/components/ic-hero/ic-hero.test.a11y.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,kCAAkC,EAAE,MAAM,8BAA8B,CAAC;AAElF,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;EACvB,EAAE,CAAC,sBAAsB,EAAE,KAAK,IAAI,EAAE;IACpC,MAAM,EAAE,GAAG,MAAM,OAAO,CACtB,sDAAsD,CACvD,CAAC;IACF,kCAAkC,CAAC,EAAE,CAAC,CAAC;IACvC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,kBAAkB,EAAE,CAAC;EAC7C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { fixture } from \"@open-wc/testing-helpers\";\nimport { axe } from \"jest-axe\";\nimport { checkShadowElementRendersCorrectly } from \"../../utils/testa11y.helpers\";\n\ndescribe(\"ic-hero\", () => {\n it(\"passes accessibility\", async () => {\n const el = await fixture(\n `<ic-hero heading=\"Test\" subheading=\"Test\"></ic-hero>`\n );\n checkShadowElementRendersCorrectly(el);\n expect(await axe(el)).toHaveNoViolations();\n });\n});\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ic-hero.types.js","sourceRoot":"","sources":["../../../src/components/ic-hero/ic-hero.types.tsx"],"names":[],"mappings":"","sourcesContent":["export type IcHeroContentAlignments = \"left\" | \"center\";\n"]}
|
package/dist/collection/components/ic-input-component-container/ic-input-component-container.css
ADDED
@@ -0,0 +1,118 @@
|
|
1
|
+
ic-input-component-container {
|
2
|
+
/**
|
3
|
+
* @prop --border-color: Border colour of the input component container
|
4
|
+
*/
|
5
|
+
|
6
|
+
display: flex;
|
7
|
+
border: 1px solid var(--border-color, var(--ic-architectural-400));
|
8
|
+
border-radius: var(--ic-border-radius);
|
9
|
+
transition: var(--ic-easing-transition-slow);
|
10
|
+
height: 40px;
|
11
|
+
width: var(--input-width, 320px);
|
12
|
+
padding: 1px;
|
13
|
+
background-color: var(--ic-architectural-white);
|
14
|
+
box-sizing: border-box;
|
15
|
+
position: relative;
|
16
|
+
fill: var(--ic-architectural-400);
|
17
|
+
}
|
18
|
+
|
19
|
+
ic-input-component-container.fullwidth {
|
20
|
+
width: 100%;
|
21
|
+
}
|
22
|
+
|
23
|
+
ic-input-component-container.disabled,
|
24
|
+
ic-input-component-container.disabled:hover {
|
25
|
+
border: 1px dashed var(--ic-architectural-200);
|
26
|
+
}
|
27
|
+
|
28
|
+
ic-input-component-container.readonly,
|
29
|
+
ic-input-component-container.readonly:hover {
|
30
|
+
border: none;
|
31
|
+
padding: 0;
|
32
|
+
}
|
33
|
+
|
34
|
+
ic-input-component-container.error {
|
35
|
+
border: var(--ic-space-xxxs) solid var(--ic-status-error);
|
36
|
+
padding: 0;
|
37
|
+
}
|
38
|
+
|
39
|
+
ic-input-component-container.warning {
|
40
|
+
border: var(--ic-space-xxxs) solid var(--ic-status-warning-mid);
|
41
|
+
padding: 0;
|
42
|
+
}
|
43
|
+
|
44
|
+
ic-input-component-container.success {
|
45
|
+
border: var(--ic-space-xxxs) solid var(--ic-status-success);
|
46
|
+
padding: 0;
|
47
|
+
}
|
48
|
+
|
49
|
+
ic-input-component-container.dense {
|
50
|
+
height: var(--ic-space-xl);
|
51
|
+
}
|
52
|
+
|
53
|
+
ic-input-component-container.multiline {
|
54
|
+
height: auto;
|
55
|
+
}
|
56
|
+
|
57
|
+
ic-input-component-container .icon-container {
|
58
|
+
margin-top: var(--ic-space-xxs);
|
59
|
+
margin-left: 7px;
|
60
|
+
display: flex;
|
61
|
+
align-items: center;
|
62
|
+
}
|
63
|
+
|
64
|
+
ic-input-component-container.multiline .icon-container,
|
65
|
+
ic-input-component-container.multiline.dense .icon-container {
|
66
|
+
margin-top: 6px;
|
67
|
+
display: block;
|
68
|
+
}
|
69
|
+
|
70
|
+
ic-input-component-container.readonly .icon-container {
|
71
|
+
margin-left: -5px;
|
72
|
+
}
|
73
|
+
|
74
|
+
ic-input-component-container.disabled ::-moz-placeholder {
|
75
|
+
display: none;
|
76
|
+
}
|
77
|
+
|
78
|
+
ic-input-component-container.disabled ::placeholder {
|
79
|
+
display: none;
|
80
|
+
}
|
81
|
+
|
82
|
+
ic-input-component-container .inline-success {
|
83
|
+
margin: var(--ic-space-xs) 6px;
|
84
|
+
display: flex;
|
85
|
+
align-items: center;
|
86
|
+
}
|
87
|
+
|
88
|
+
ic-input-component-container.dark:hover {
|
89
|
+
--border-color: var(--ic-architectural-400);
|
90
|
+
}
|
91
|
+
|
92
|
+
ic-input-component-container .inline-success > svg {
|
93
|
+
fill: var(--ic-status-success);
|
94
|
+
}
|
95
|
+
|
96
|
+
ic-input-component-container:hover {
|
97
|
+
border-color: var(--ic-action-dark-hover);
|
98
|
+
color: var(--ic-action-dark-hover);
|
99
|
+
|
100
|
+
--expand-icon-hover: var(--ic-action-dark-hover);
|
101
|
+
}
|
102
|
+
|
103
|
+
.focus-indicator {
|
104
|
+
display: flex;
|
105
|
+
width: 100%;
|
106
|
+
margin: -3px;
|
107
|
+
padding: 3px;
|
108
|
+
border-radius: var(--ic-border-radius);
|
109
|
+
transition: var(--ic-easing-transition-fast);
|
110
|
+
}
|
111
|
+
|
112
|
+
.focus-indicator:focus-within {
|
113
|
+
box-shadow: var(--ic-border-focus);
|
114
|
+
}
|
115
|
+
|
116
|
+
.focus-indicator.dark:focus-within {
|
117
|
+
box-shadow: var(--ic-border-focus);
|
118
|
+
}
|
package/dist/collection/components/ic-input-component-container/ic-input-component-container.js
ADDED
@@ -0,0 +1,208 @@
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
2
|
+
import { IcInformationStatus, } from "../../utils/types";
|
3
|
+
import successIcon from "../../assets/success-icon.svg";
|
4
|
+
import { isSlotUsed } from "../../utils/helpers";
|
5
|
+
/**
|
6
|
+
* @slot left-icon - Content will be placed to the left of the input.
|
7
|
+
*/
|
8
|
+
export class InputComponentContainer {
|
9
|
+
constructor() {
|
10
|
+
this.disabled = false;
|
11
|
+
this.readonly = false;
|
12
|
+
this.validationStatus = "";
|
13
|
+
this.dense = false;
|
14
|
+
this.multiLine = false;
|
15
|
+
this.validationInline = false;
|
16
|
+
this.dark = false;
|
17
|
+
this.fullWidth = false;
|
18
|
+
}
|
19
|
+
render() {
|
20
|
+
const { dense, validationStatus, disabled, readonly, multiLine, fullWidth, dark, validationInline, } = this;
|
21
|
+
const hasValidationStatus = this.validationStatus !== "" && !this.disabled && !this.readonly
|
22
|
+
? true
|
23
|
+
: false;
|
24
|
+
return (h(Host, { class: {
|
25
|
+
["dense"]: dense,
|
26
|
+
[validationStatus]: hasValidationStatus,
|
27
|
+
["disabled"]: disabled,
|
28
|
+
["readonly"]: readonly,
|
29
|
+
["multiline"]: multiLine,
|
30
|
+
["fullwidth"]: fullWidth,
|
31
|
+
["dark"]: dark,
|
32
|
+
} }, h("div", { class: {
|
33
|
+
"focus-indicator": true,
|
34
|
+
dark: dark,
|
35
|
+
} }, isSlotUsed(this.host, "left-icon") && (h("div", { class: {
|
36
|
+
["icon-container"]: true,
|
37
|
+
} }, h("slot", { name: "left-icon" }))), h("slot", null), validationInline &&
|
38
|
+
validationStatus === IcInformationStatus.Success && (h("span", { class: {
|
39
|
+
["inline-success"]: true,
|
40
|
+
}, innerHTML: successIcon })))));
|
41
|
+
}
|
42
|
+
static get is() { return "ic-input-component-container"; }
|
43
|
+
static get originalStyleUrls() {
|
44
|
+
return {
|
45
|
+
"$": ["ic-input-component-container.css"]
|
46
|
+
};
|
47
|
+
}
|
48
|
+
static get styleUrls() {
|
49
|
+
return {
|
50
|
+
"$": ["ic-input-component-container.css"]
|
51
|
+
};
|
52
|
+
}
|
53
|
+
static get properties() {
|
54
|
+
return {
|
55
|
+
"disabled": {
|
56
|
+
"type": "boolean",
|
57
|
+
"mutable": false,
|
58
|
+
"complexType": {
|
59
|
+
"original": "boolean",
|
60
|
+
"resolved": "boolean",
|
61
|
+
"references": {}
|
62
|
+
},
|
63
|
+
"required": false,
|
64
|
+
"optional": false,
|
65
|
+
"docs": {
|
66
|
+
"tags": [],
|
67
|
+
"text": "disabled"
|
68
|
+
},
|
69
|
+
"attribute": "disabled",
|
70
|
+
"reflect": false,
|
71
|
+
"defaultValue": "false"
|
72
|
+
},
|
73
|
+
"readonly": {
|
74
|
+
"type": "boolean",
|
75
|
+
"mutable": false,
|
76
|
+
"complexType": {
|
77
|
+
"original": "boolean",
|
78
|
+
"resolved": "boolean",
|
79
|
+
"references": {}
|
80
|
+
},
|
81
|
+
"required": false,
|
82
|
+
"optional": false,
|
83
|
+
"docs": {
|
84
|
+
"tags": [],
|
85
|
+
"text": "readonly"
|
86
|
+
},
|
87
|
+
"attribute": "readonly",
|
88
|
+
"reflect": false,
|
89
|
+
"defaultValue": "false"
|
90
|
+
},
|
91
|
+
"validationStatus": {
|
92
|
+
"type": "string",
|
93
|
+
"mutable": false,
|
94
|
+
"complexType": {
|
95
|
+
"original": "IcInformationStatusOrEmpty",
|
96
|
+
"resolved": "\"\" | \"error\" | \"success\" | \"warning\"",
|
97
|
+
"references": {
|
98
|
+
"IcInformationStatusOrEmpty": {
|
99
|
+
"location": "import",
|
100
|
+
"path": "../../utils/types"
|
101
|
+
}
|
102
|
+
}
|
103
|
+
},
|
104
|
+
"required": false,
|
105
|
+
"optional": false,
|
106
|
+
"docs": {
|
107
|
+
"tags": [],
|
108
|
+
"text": "validationStatus"
|
109
|
+
},
|
110
|
+
"attribute": "validation-status",
|
111
|
+
"reflect": false,
|
112
|
+
"defaultValue": "\"\""
|
113
|
+
},
|
114
|
+
"dense": {
|
115
|
+
"type": "boolean",
|
116
|
+
"mutable": false,
|
117
|
+
"complexType": {
|
118
|
+
"original": "boolean",
|
119
|
+
"resolved": "boolean",
|
120
|
+
"references": {}
|
121
|
+
},
|
122
|
+
"required": false,
|
123
|
+
"optional": false,
|
124
|
+
"docs": {
|
125
|
+
"tags": [],
|
126
|
+
"text": "dense"
|
127
|
+
},
|
128
|
+
"attribute": "dense",
|
129
|
+
"reflect": false,
|
130
|
+
"defaultValue": "false"
|
131
|
+
},
|
132
|
+
"multiLine": {
|
133
|
+
"type": "boolean",
|
134
|
+
"mutable": false,
|
135
|
+
"complexType": {
|
136
|
+
"original": "boolean",
|
137
|
+
"resolved": "boolean",
|
138
|
+
"references": {}
|
139
|
+
},
|
140
|
+
"required": false,
|
141
|
+
"optional": false,
|
142
|
+
"docs": {
|
143
|
+
"tags": [],
|
144
|
+
"text": "multiLine"
|
145
|
+
},
|
146
|
+
"attribute": "multi-line",
|
147
|
+
"reflect": false,
|
148
|
+
"defaultValue": "false"
|
149
|
+
},
|
150
|
+
"validationInline": {
|
151
|
+
"type": "boolean",
|
152
|
+
"mutable": false,
|
153
|
+
"complexType": {
|
154
|
+
"original": "boolean",
|
155
|
+
"resolved": "boolean",
|
156
|
+
"references": {}
|
157
|
+
},
|
158
|
+
"required": false,
|
159
|
+
"optional": false,
|
160
|
+
"docs": {
|
161
|
+
"tags": [],
|
162
|
+
"text": "validationInline"
|
163
|
+
},
|
164
|
+
"attribute": "validation-inline",
|
165
|
+
"reflect": false,
|
166
|
+
"defaultValue": "false"
|
167
|
+
},
|
168
|
+
"dark": {
|
169
|
+
"type": "boolean",
|
170
|
+
"mutable": false,
|
171
|
+
"complexType": {
|
172
|
+
"original": "boolean",
|
173
|
+
"resolved": "boolean",
|
174
|
+
"references": {}
|
175
|
+
},
|
176
|
+
"required": false,
|
177
|
+
"optional": true,
|
178
|
+
"docs": {
|
179
|
+
"tags": [],
|
180
|
+
"text": "Determines whether the dark variant of the input-component-container focus indicator should be displayed."
|
181
|
+
},
|
182
|
+
"attribute": "dark",
|
183
|
+
"reflect": false,
|
184
|
+
"defaultValue": "false"
|
185
|
+
},
|
186
|
+
"fullWidth": {
|
187
|
+
"type": "boolean",
|
188
|
+
"mutable": false,
|
189
|
+
"complexType": {
|
190
|
+
"original": "boolean",
|
191
|
+
"resolved": "boolean",
|
192
|
+
"references": {}
|
193
|
+
},
|
194
|
+
"required": false,
|
195
|
+
"optional": false,
|
196
|
+
"docs": {
|
197
|
+
"tags": [],
|
198
|
+
"text": "If true then fill width of container"
|
199
|
+
},
|
200
|
+
"attribute": "full-width",
|
201
|
+
"reflect": false,
|
202
|
+
"defaultValue": "false"
|
203
|
+
}
|
204
|
+
};
|
205
|
+
}
|
206
|
+
static get elementRef() { return "host"; }
|
207
|
+
}
|
208
|
+
//# sourceMappingURL=ic-input-component-container.js.map
|
package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ic-input-component-container.js","sourceRoot":"","sources":["../../../src/components/ic-input-component-container/ic-input-component-container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAElE,OAAO,EACL,mBAAmB,GAEpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,WAAW,MAAM,+BAA+B,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD;;GAEG;AAKH,MAAM,OAAO,uBAAuB;;oBAIN,KAAK;oBAIL,KAAK;4BAIsB,EAAE;iBAIhC,KAAK;qBAID,KAAK;4BAIE,KAAK;gBAKhB,KAAK;qBAKD,KAAK;;EAIlC,MAAM;IACJ,MAAM,EACJ,KAAK,EACL,gBAAgB,EAChB,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,SAAS,EACT,IAAI,EACJ,gBAAgB,GACjB,GAAG,IAAI,CAAC;IACT,MAAM,mBAAmB,GACvB,IAAI,CAAC,gBAAgB,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,QAAQ;MAC9D,CAAC,CAAC,IAAI;MACN,CAAC,CAAC,KAAK,CAAC;IACZ,OAAO,CACL,EAAC,IAAI,IACH,KAAK,EAAE;QACL,CAAC,OAAO,CAAC,EAAE,KAAK;QAChB,CAAC,gBAAgB,CAAC,EAAE,mBAAmB;QACvC,CAAC,UAAU,CAAC,EAAE,QAAQ;QACtB,CAAC,UAAU,CAAC,EAAE,QAAQ;QACtB,CAAC,WAAW,CAAC,EAAE,SAAS;QACxB,CAAC,WAAW,CAAC,EAAE,SAAS;QACxB,CAAC,MAAM,CAAC,EAAE,IAAI;OACf;MAED,WACE,KAAK,EAAE;UACL,iBAAiB,EAAE,IAAI;UACvB,IAAI,EAAE,IAAI;SACX;QAEA,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,IAAI,CACrC,WACE,KAAK,EAAE;YACL,CAAC,gBAAgB,CAAC,EAAE,IAAI;WACzB;UAED,YAAM,IAAI,EAAC,WAAW,GAAG,CACrB,CACP;QACD,eAAa;QAEZ,gBAAgB;UACf,gBAAgB,KAAK,mBAAmB,CAAC,OAAO,IAAI,CAClD,YACE,KAAK,EAAE;YACL,CAAC,gBAAgB,CAAC,EAAE,IAAI;WACzB,EACD,SAAS,EAAE,WAAW,GACtB,CACH,CACC,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Host, Prop, h } from \"@stencil/core\";\n\nimport {\n IcInformationStatus,\n IcInformationStatusOrEmpty,\n} from \"../../utils/types\";\nimport successIcon from \"../../assets/success-icon.svg\";\nimport { isSlotUsed } from \"../../utils/helpers\";\n\n/**\n * @slot left-icon - Content will be placed to the left of the input.\n */\n@Component({\n tag: \"ic-input-component-container\",\n styleUrl: \"ic-input-component-container.css\",\n})\nexport class InputComponentContainer {\n /**\n * disabled\n */\n @Prop() disabled: boolean = false;\n /**\n * readonly\n */\n @Prop() readonly: boolean = false;\n /**\n * validationStatus\n */\n @Prop() validationStatus: IcInformationStatusOrEmpty = \"\";\n /**\n * dense\n */\n @Prop() dense: boolean = false;\n /**\n * multiLine\n */\n @Prop() multiLine: boolean = false;\n /**\n * validationInline\n */\n @Prop() validationInline: boolean = false;\n\n /**\n * Determines whether the dark variant of the input-component-container focus indicator should be displayed.\n */\n @Prop() dark?: boolean = false;\n\n /**\n * If true then fill width of container\n */\n @Prop() fullWidth: boolean = false;\n\n @Element() host: HTMLIcInputComponentContainerElement;\n\n render() {\n const {\n dense,\n validationStatus,\n disabled,\n readonly,\n multiLine,\n fullWidth,\n dark,\n validationInline,\n } = this;\n const hasValidationStatus =\n this.validationStatus !== \"\" && !this.disabled && !this.readonly\n ? true\n : false;\n return (\n <Host\n class={{\n [\"dense\"]: dense,\n [validationStatus]: hasValidationStatus,\n [\"disabled\"]: disabled,\n [\"readonly\"]: readonly,\n [\"multiline\"]: multiLine,\n [\"fullwidth\"]: fullWidth,\n [\"dark\"]: dark,\n }}\n >\n <div\n class={{\n \"focus-indicator\": true,\n dark: dark,\n }}\n >\n {isSlotUsed(this.host, \"left-icon\") && (\n <div\n class={{\n [\"icon-container\"]: true,\n }}\n >\n <slot name=\"left-icon\" />\n </div>\n )}\n <slot></slot>\n\n {validationInline &&\n validationStatus === IcInformationStatus.Success && (\n <span\n class={{\n [\"inline-success\"]: true,\n }}\n innerHTML={successIcon}\n />\n )}\n </div>\n </Host>\n );\n }\n}\n"]}
|