@ukic/canary-web-components 2.0.0-canary.0
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +21 -0
- package/README.md +162 -0
- package/dist/cjs/OpenInNew-f9958725.js +7 -0
- package/dist/cjs/OpenInNew-f9958725.js.map +1 -0
- package/dist/cjs/check-icon-b2f60716.js +10 -0
- package/dist/cjs/check-icon-b2f60716.js.map +1 -0
- package/dist/cjs/chevron-icon-2bb3a907.js +10 -0
- package/dist/cjs/chevron-icon-2bb3a907.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 +28 -0
- package/dist/cjs/core.cjs.js.map +1 -0
- package/dist/cjs/helpers-3811d14b.js +599 -0
- package/dist/cjs/helpers-3811d14b.js.map +1 -0
- package/dist/cjs/ic-alert.cjs.entry.js +73 -0
- package/dist/cjs/ic-alert.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-back-to-top.cjs.entry.js +145 -0
- package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +188 -0
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +74 -0
- package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-button_3.cjs.entry.js +560 -0
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-card.cjs.entry.js +126 -0
- package/dist/cjs/ic-card.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +69 -0
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-checkbox.cjs.entry.js +114 -0
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-chip.cjs.entry.js +80 -0
- package/dist/cjs/ic-chip.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 +91 -0
- package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-dialog.cjs.entry.js +295 -0
- package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-divider.cjs.entry.js +30 -0
- package/dist/cjs/ic-divider.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +71 -0
- package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-footer-link.cjs.entry.js +67 -0
- package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-footer.cjs.entry.js +90 -0
- package/dist/cjs/ic-footer.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-hero.cjs.entry.js +75 -0
- package/dist/cjs/ic-hero.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +177 -0
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +699 -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 +85 -0
- package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-link.cjs.entry.js +76 -0
- package/dist/cjs/ic-link.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-menu-group.cjs.entry.js +24 -0
- package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-menu-item.cjs.entry.js +122 -0
- package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-navigation-button.cjs.entry.js +88 -0
- package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-navigation-group.cjs.entry.js +289 -0
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-navigation-item.cjs.entry.js +154 -0
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +124 -0
- package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-page-header.cjs.entry.js +105 -0
- package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-pagination-bar.cjs.entry.js +270 -0
- package/dist/cjs/ic-pagination-bar.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-pagination_4.cjs.entry.js +1115 -0
- package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-popover-menu.cjs.entry.js +237 -0
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-radio-group.cjs.entry.js +130 -0
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-radio-option.cjs.entry.js +141 -0
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-search-bar.cjs.entry.js +493 -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-side-navigation.cjs.entry.js +435 -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 +36 -0
- package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-step.cjs.entry.js +140 -0
- package/dist/cjs/ic-step.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-stepper.cjs.entry.js +221 -0
- package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-switch.cjs.entry.js +86 -0
- package/dist/cjs/ic-switch.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-tab-context.cjs.entry.js +269 -0
- package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-tab-group.cjs.entry.js +38 -0
- package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-tab-panel.cjs.entry.js +44 -0
- package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-tab.cjs.entry.js +103 -0
- package/dist/cjs/ic-tab.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-theme.cjs.entry.js +62 -0
- package/dist/cjs/ic-theme.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-toast-region.cjs.entry.js +48 -0
- package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-toast.cjs.entry.js +169 -0
- package/dist/cjs/ic-toast.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-top-navigation.cjs.entry.js +217 -0
- package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-typography.cjs.entry.js +128 -0
- package/dist/cjs/ic-typography.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-unstable-data-table.cjs.entry.js +271 -0
- package/dist/cjs/ic-unstable-data-table.cjs.entry.js.map +1 -0
- package/dist/cjs/index-4f4d2b43.js +2689 -0
- package/dist/cjs/index-4f4d2b43.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 +24 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/popper-d7adcfc6.js +1796 -0
- package/dist/cjs/popper-d7adcfc6.js.map +1 -0
- package/dist/cjs/types-3eb02246.js +16 -0
- package/dist/cjs/types-3eb02246.js.map +1 -0
- package/dist/collection/assets/OpenInNew.svg +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/dismiss-icon.svg +3 -0
- package/dist/collection/assets/error-icon.svg +6 -0
- package/dist/collection/assets/hamburger-menu-icon.svg +5 -0
- package/dist/collection/assets/info-icon.svg +6 -0
- package/dist/collection/assets/neutral-icon.svg +6 -0
- package/dist/collection/assets/pagination-first-last.svg +3 -0
- package/dist/collection/assets/pagination-next-previous.svg +3 -0
- package/dist/collection/assets/search-icon.svg +3 -0
- package/dist/collection/assets/success-icon.svg +6 -0
- package/dist/collection/assets/warning-icon-outline.svg +3 -0
- package/dist/collection/assets/warning-icon.svg +6 -0
- package/dist/collection/collection-manifest.json +71 -0
- package/dist/collection/components/ic-alert/ic-alert.css +616 -0
- package/dist/collection/components/ic-alert/ic-alert.js +243 -0
- package/dist/collection/components/ic-alert/ic-alert.js.map +1 -0
- package/dist/collection/components/ic-alert/test/a11y/ic-alert.test.a11y.js +11 -0
- package/dist/collection/components/ic-alert/test/a11y/ic-alert.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js +16 -0
- package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js.map +1 -0
- package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js +182 -0
- package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.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 +542 -0
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +171 -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/test/a11y/ic-back-to-top.test.a11y.js +28 -0
- package/dist/collection/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js +68 -0
- package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js.map +1 -0
- package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js +123 -0
- package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js.map +1 -0
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.css +100 -0
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +166 -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-breadcrumb/test/basic/ic-breadcrumb.spec.js +118 -0
- package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js.map +1 -0
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.css +36 -0
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +234 -0
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -0
- package/dist/collection/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.js +21 -0
- package/dist/collection/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.js +35 -0
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.js.map +1 -0
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js +41 -0
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js.map +1 -0
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js +181 -0
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js.map +1 -0
- package/dist/collection/components/ic-button/ic-button.css +871 -0
- package/dist/collection/components/ic-button/ic-button.js +727 -0
- package/dist/collection/components/ic-button/ic-button.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-button/test/a11y/ic-button.test.a11y.js +11 -0
- package/dist/collection/components/ic-button/test/a11y/ic-button.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js +198 -0
- package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js.map +1 -0
- package/dist/collection/components/ic-button/test/basic/ic-button.spec.js +256 -0
- package/dist/collection/components/ic-button/test/basic/ic-button.spec.js.map +1 -0
- package/dist/collection/components/ic-card/ic-card.css +620 -0
- package/dist/collection/components/ic-card/ic-card.js +400 -0
- package/dist/collection/components/ic-card/ic-card.js.map +1 -0
- package/dist/collection/components/ic-card/test/a11y/ic-card.test.a11y.js +21 -0
- package/dist/collection/components/ic-card/test/a11y/ic-card.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js +23 -0
- package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js.map +1 -0
- package/dist/collection/components/ic-card/test/basic/ic-card.spec.js +152 -0
- package/dist/collection/components/ic-card/test/basic/ic-card.spec.js.map +1 -0
- package/dist/collection/components/ic-checkbox/ic-checkbox.css +675 -0
- package/dist/collection/components/ic-checkbox/ic-checkbox.js +386 -0
- package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -0
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +482 -0
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +295 -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.types.js +2 -0
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.types.js.map +1 -0
- package/dist/collection/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.js +16 -0
- package/dist/collection/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js +201 -0
- package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js.map +1 -0
- package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js +203 -0
- package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +1 -0
- package/dist/collection/components/ic-chip/ic-chip.css +597 -0
- package/dist/collection/components/ic-chip/ic-chip.js +250 -0
- package/dist/collection/components/ic-chip/ic-chip.js.map +1 -0
- package/dist/collection/components/ic-chip/ic-chip.types.js +2 -0
- package/dist/collection/components/ic-chip/ic-chip.types.js.map +1 -0
- package/dist/collection/components/ic-chip/test/a11y/ic-chip.test.a11y.js +11 -0
- package/dist/collection/components/ic-chip/test/a11y/ic-chip.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js +110 -0
- package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +1 -0
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.css +504 -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.types.js +2 -0
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.types.js.map +1 -0
- package/dist/collection/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.js +11 -0
- package/dist/collection/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js +140 -0
- package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js.map +1 -0
- package/dist/collection/components/ic-data-entity/ic-data-entity.css +474 -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/test/a11y/ic-data-entity.test.a11y.js +11 -0
- package/dist/collection/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js +161 -0
- package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js.map +1 -0
- package/dist/collection/components/ic-data-row/ic-data-row.css +525 -0
- package/dist/collection/components/ic-data-row/ic-data-row.js +157 -0
- package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -0
- package/dist/collection/components/ic-data-row/test/a11y/ic-data-row.test.a11y.js +18 -0
- package/dist/collection/components/ic-data-row/test/a11y/ic-data-row.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js +74 -0
- package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js.map +1 -0
- package/dist/collection/components/ic-data-table/assets/ascending-icon.svg +3 -0
- package/dist/collection/components/ic-data-table/assets/descending-icon.svg +3 -0
- package/dist/collection/components/ic-data-table/assets/unsorted-icon.svg +3 -0
- package/dist/collection/components/ic-data-table/ic-data-table.css +214 -0
- package/dist/collection/components/ic-data-table/ic-data-table.js +533 -0
- package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -0
- package/dist/collection/components/ic-data-table/ic-data-table.types.js +2 -0
- package/dist/collection/components/ic-data-table/ic-data-table.types.js.map +1 -0
- package/dist/collection/components/ic-data-table/test/a11y/ic-data-table.test.a11y.js +28 -0
- package/dist/collection/components/ic-data-table/test/a11y/ic-data-table.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js +466 -0
- package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js.map +1 -0
- package/dist/collection/components/ic-dialog/ic-dialog.css +592 -0
- package/dist/collection/components/ic-dialog/ic-dialog.js +640 -0
- package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -0
- package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js +28 -0
- package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js +207 -0
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js.map +1 -0
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js +520 -0
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.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-divider/test/basic/ic-divider.spec.js +24 -0
- package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js.map +1 -0
- package/dist/collection/components/ic-footer/ic-footer.css +543 -0
- package/dist/collection/components/ic-footer/ic-footer.js +252 -0
- package/dist/collection/components/ic-footer/ic-footer.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/test/a11y/ic-footer.test.a11y.js +21 -0
- package/dist/collection/components/ic-footer/test/a11y/ic-footer.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js +50 -0
- package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js.map +1 -0
- package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js +140 -0
- package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js.map +1 -0
- package/dist/collection/components/ic-footer-link/ic-footer-link.css +612 -0
- package/dist/collection/components/ic-footer-link/ic-footer-link.js +200 -0
- package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -0
- package/dist/collection/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.js +21 -0
- package/dist/collection/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js +62 -0
- package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.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 +114 -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/test/a11y/ic-footer-link-group.test.a11y.js +21 -0
- package/dist/collection/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js +98 -0
- package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js.map +1 -0
- package/dist/collection/components/ic-hero/ic-hero.css +726 -0
- package/dist/collection/components/ic-hero/ic-hero.js +275 -0
- package/dist/collection/components/ic-hero/ic-hero.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-hero/test/a11y/ic-hero.test.a11y.js +11 -0
- package/dist/collection/components/ic-hero/test/a11y/ic-hero.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js +76 -0
- package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +1 -0
- package/dist/collection/components/ic-horizontal-scroll/assets/left-arrow.svg +3 -0
- package/dist/collection/components/ic-horizontal-scroll/assets/right-arrow.svg +3 -0
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.css +535 -0
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +232 -0
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -0
- package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js +34 -0
- package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js +180 -0
- package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js.map +1 -0
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +166 -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-component-container/test/basic/ic-input-component-container.spec.js +117 -0
- package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +1 -0
- package/dist/collection/components/ic-input-container/ic-input-container.css +4 -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-container/test/basic/ic-input-container.spec.js +38 -0
- package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js.map +1 -0
- package/dist/collection/components/ic-input-label/ic-input-label.css +35 -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-label/test/basic/ic-input-label.spec.js +98 -0
- package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js.map +1 -0
- package/dist/collection/components/ic-input-validation/ic-input-validation.css +34 -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-input-validation/test/basic/ic-input-validation.spec.js +89 -0
- package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js.map +1 -0
- package/dist/collection/components/ic-link/ic-link.css +558 -0
- package/dist/collection/components/ic-link/ic-link.js +264 -0
- package/dist/collection/components/ic-link/ic-link.js.map +1 -0
- package/dist/collection/components/ic-link/test/a11y/ic-link.test.a11y.js +11 -0
- package/dist/collection/components/ic-link/test/a11y/ic-link.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-link/test/basic/ic-link.spec.js +203 -0
- package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +1 -0
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +663 -0
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +423 -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.types.js +2 -0
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.types.js.map +1 -0
- package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js +11 -0
- package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js +34 -0
- package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js.map +1 -0
- package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js +141 -0
- package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js.map +1 -0
- package/dist/collection/components/ic-menu/ic-menu.css +629 -0
- package/dist/collection/components/ic-menu/ic-menu.js +1150 -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-menu/test/basic/ic-menu.spec.js +657 -0
- package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +1 -0
- package/dist/collection/components/ic-menu-group/ic-menu-group.css +465 -0
- package/dist/collection/components/ic-menu-group/ic-menu-group.js +45 -0
- package/dist/collection/components/ic-menu-group/ic-menu-group.js.map +1 -0
- package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js +94 -0
- package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js.map +1 -0
- package/dist/collection/components/ic-menu-item/ic-menu-item.css +628 -0
- package/dist/collection/components/ic-menu-item/ic-menu-item.js +394 -0
- package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -0
- package/dist/collection/components/ic-menu-item/ic-menu-item.types.js +2 -0
- package/dist/collection/components/ic-menu-item/ic-menu-item.types.js.map +1 -0
- package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js +108 -0
- package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js.map +1 -0
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.css +456 -0
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +267 -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-button/test/basic/ic-navigation-button.spec.js +84 -0
- package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +1 -0
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +646 -0
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +379 -0
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -0
- package/dist/collection/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.js +18 -0
- package/dist/collection/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js +309 -0
- package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js.map +1 -0
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +1028 -0
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +444 -0
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -0
- package/dist/collection/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.js +18 -0
- package/dist/collection/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js +118 -0
- package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js.map +1 -0
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +92 -0
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +202 -0
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -0
- package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js +29 -0
- package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js.map +1 -0
- package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js +176 -0
- package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js.map +1 -0
- package/dist/collection/components/ic-page-header/ic-page-header.css +582 -0
- package/dist/collection/components/ic-page-header/ic-page-header.js +272 -0
- package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -0
- package/dist/collection/components/ic-page-header/test/a11y/ic-page-header.test.a11y.js +13 -0
- package/dist/collection/components/ic-page-header/test/a11y/ic-page-header.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js +177 -0
- package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js.map +1 -0
- package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js +284 -0
- package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js.map +1 -0
- package/dist/collection/components/ic-pagination/ic-pagination.css +486 -0
- package/dist/collection/components/ic-pagination/ic-pagination.js +498 -0
- package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -0
- package/dist/collection/components/ic-pagination/ic-pagination.types.js +2 -0
- package/dist/collection/components/ic-pagination/ic-pagination.types.js.map +1 -0
- package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js +11 -0
- package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js +128 -0
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js.map +1 -0
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js +335 -0
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js.map +1 -0
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.css +107 -0
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +539 -0
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -0
- package/dist/collection/components/ic-pagination-bar/test/a11y/ic-pagination-bar.test.a11y.js +11 -0
- package/dist/collection/components/ic-pagination-bar/test/a11y/ic-pagination-bar.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-pagination-bar/test/basic/ic-pagination-bar.spec.js +415 -0
- package/dist/collection/components/ic-pagination-bar/test/basic/ic-pagination-bar.spec.js.map +1 -0
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.css +581 -0
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +229 -0
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +1 -0
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.types.js +2 -0
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.types.js.map +1 -0
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +536 -0
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +433 -0
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -0
- package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js +13 -0
- package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js +30 -0
- package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js.map +1 -0
- package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js +381 -0
- package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js.map +1 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.css +486 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +363 -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.types.js +2 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.types.js.map +1 -0
- package/dist/collection/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.js +16 -0
- package/dist/collection/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js +343 -0
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js.map +1 -0
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js +303 -0
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +1 -0
- package/dist/collection/components/ic-radio-option/ic-radio-option.css +654 -0
- package/dist/collection/components/ic-radio-option/ic-radio-option.js +384 -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 +560 -0
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +1318 -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.types.js +2 -0
- package/dist/collection/components/ic-search-bar/ic-search-bar.types.js.map +1 -0
- package/dist/collection/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.js +11 -0
- package/dist/collection/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js +1118 -0
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js.map +1 -0
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js +584 -0
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js.map +1 -0
- package/dist/collection/components/ic-section-container/ic-section-container.css +514 -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-section-container/test/basic/ic-section-container.spec.js +69 -0
- package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.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 +670 -0
- package/dist/collection/components/ic-select/ic-select.js +1285 -0
- package/dist/collection/components/ic-select/ic-select.js.map +1 -0
- package/dist/collection/components/ic-select/test/a11y/ic-select.test.a11y.js +28 -0
- package/dist/collection/components/ic-select/test/a11y/ic-select.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js +1768 -0
- package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js.map +1 -0
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +1296 -0
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -0
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +635 -0
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +638 -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.types.js +2 -0
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.types.js.map +1 -0
- package/dist/collection/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.js +14 -0
- package/dist/collection/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.js +411 -0
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.js.map +1 -0
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js +432 -0
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js.map +1 -0
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js +470 -0
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js.map +1 -0
- package/dist/collection/components/ic-skeleton/ic-skeleton.css +503 -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.types.js +2 -0
- package/dist/collection/components/ic-skeleton/ic-skeleton.types.js.map +1 -0
- package/dist/collection/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.js +11 -0
- package/dist/collection/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js +89 -0
- package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js.map +1 -0
- package/dist/collection/components/ic-status-tag/ic-status-tag.css +504 -0
- package/dist/collection/components/ic-status-tag/ic-status-tag.js +138 -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.types.js +2 -0
- package/dist/collection/components/ic-status-tag/ic-status-tag.types.js.map +1 -0
- package/dist/collection/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.js +11 -0
- package/dist/collection/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js +43 -0
- package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js.map +1 -0
- package/dist/collection/components/ic-step/ic-step.css +278 -0
- package/dist/collection/components/ic-step/ic-step.js +394 -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-step/test/basic/ic-step.spec.js +176 -0
- package/dist/collection/components/ic-step/test/basic/ic-step.spec.js.map +1 -0
- package/dist/collection/components/ic-stepper/ic-stepper.css +28 -0
- package/dist/collection/components/ic-stepper/ic-stepper.js +317 -0
- package/dist/collection/components/ic-stepper/ic-stepper.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-stepper/test/a11y/ic-stepper.test.a11y.js +36 -0
- package/dist/collection/components/ic-stepper/test/a11y/ic-stepper.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js +74 -0
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js.map +1 -0
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js +49 -0
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js.map +1 -0
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js +706 -0
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +1 -0
- package/dist/collection/components/ic-switch/ic-switch.css +656 -0
- package/dist/collection/components/ic-switch/ic-switch.js +329 -0
- package/dist/collection/components/ic-switch/ic-switch.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-switch/test/a11y/ic-switch.test.a11y.js +11 -0
- package/dist/collection/components/ic-switch/test/a11y/ic-switch.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js +104 -0
- package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js.map +1 -0
- package/dist/collection/components/ic-tab/ic-tab.css +521 -0
- package/dist/collection/components/ic-tab/ic-tab.js +361 -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/test/basic/ic-tab.e2e.js +32 -0
- package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js.map +1 -0
- package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js +159 -0
- package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js.map +1 -0
- package/dist/collection/components/ic-tab-context/ic-tab-context.js +451 -0
- package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -0
- package/dist/collection/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.js +19 -0
- package/dist/collection/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js +317 -0
- package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js.map +1 -0
- package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js +390 -0
- package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js.map +1 -0
- package/dist/collection/components/ic-tab-group/ic-tab-group.css +25 -0
- package/dist/collection/components/ic-tab-group/ic-tab-group.js +124 -0
- package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -0
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.css +7 -0
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +196 -0
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -0
- package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js +65 -0
- package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js.map +1 -0
- package/dist/collection/components/ic-text-field/ic-text-field.css +558 -0
- package/dist/collection/components/ic-text-field/ic-text-field.js +1107 -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.types.js +2 -0
- package/dist/collection/components/ic-text-field/ic-text-field.types.js.map +1 -0
- package/dist/collection/components/ic-text-field/test/a11y/ic-text-field.test.a11y.js +33 -0
- package/dist/collection/components/ic-text-field/test/a11y/ic-text-field.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js +98 -0
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js.map +1 -0
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js +236 -0
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +1 -0
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js +310 -0
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js.map +1 -0
- package/dist/collection/components/ic-theme/ic-theme.js +106 -0
- package/dist/collection/components/ic-theme/ic-theme.js.map +1 -0
- package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js +72 -0
- package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js.map +1 -0
- package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js +77 -0
- package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js.map +1 -0
- package/dist/collection/components/ic-toast/ic-toast.css +602 -0
- package/dist/collection/components/ic-toast/ic-toast.js +386 -0
- package/dist/collection/components/ic-toast/ic-toast.js.map +1 -0
- package/dist/collection/components/ic-toast/ic-toast.types.js +2 -0
- package/dist/collection/components/ic-toast/ic-toast.types.js.map +1 -0
- package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js +16 -0
- package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js +82 -0
- package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js.map +1 -0
- package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js +278 -0
- package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js.map +1 -0
- package/dist/collection/components/ic-toast-region/ic-toast-region.js +81 -0
- package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -0
- package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js +62 -0
- package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js.map +1 -0
- package/dist/collection/components/ic-tooltip/ic-tooltip.css +563 -0
- package/dist/collection/components/ic-tooltip/ic-tooltip.js +294 -0
- package/dist/collection/components/ic-tooltip/ic-tooltip.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-tooltip/test/a11y/ic-tooltip.test.a11y.js +15 -0
- package/dist/collection/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js +115 -0
- package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js.map +1 -0
- package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js +128 -0
- package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js.map +1 -0
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +737 -0
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +439 -0
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -0
- package/dist/collection/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.js +30 -0
- package/dist/collection/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js +61 -0
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js.map +1 -0
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js +242 -0
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js.map +1 -0
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js +299 -0
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js.map +1 -0
- package/dist/collection/components/ic-typography/ic-typography.css +627 -0
- package/dist/collection/components/ic-typography/ic-typography.js +271 -0
- package/dist/collection/components/ic-typography/ic-typography.js.map +1 -0
- package/dist/collection/components/ic-typography/test/a11y/ic-typography.test.a11y.js +11 -0
- package/dist/collection/components/ic-typography/test/a11y/ic-typography.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js +39 -0
- package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js.map +1 -0
- package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js +324 -0
- package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +1 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/normalize.css +440 -0
- package/dist/collection/testspec.setup.js +63 -0
- package/dist/collection/testspec.setup.js.map +1 -0
- package/dist/collection/utils/constants.js +81 -0
- package/dist/collection/utils/constants.js.map +1 -0
- package/dist/collection/utils/helpers.js +433 -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/OpenInNew.js +5 -0
- package/dist/components/OpenInNew.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/helpers.js +552 -0
- package/dist/components/helpers.js.map +1 -0
- package/dist/components/ic-alert.d.ts +11 -0
- package/dist/components/ic-alert.js +8 -0
- package/dist/components/ic-alert.js.map +1 -0
- package/dist/components/ic-alert2.js +117 -0
- package/dist/components/ic-alert2.js.map +1 -0
- package/dist/components/ic-back-to-top.d.ts +11 -0
- package/dist/components/ic-back-to-top.js +169 -0
- package/dist/components/ic-back-to-top.js.map +1 -0
- package/dist/components/ic-breadcrumb-group.d.ts +11 -0
- package/dist/components/ic-breadcrumb-group.js +218 -0
- package/dist/components/ic-breadcrumb-group.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 +96 -0
- package/dist/components/ic-breadcrumb2.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 +284 -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 +183 -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 +111 -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 +147 -0
- package/dist/components/ic-checkbox.js.map +1 -0
- package/dist/components/ic-chip.d.ts +11 -0
- package/dist/components/ic-chip.js +114 -0
- package/dist/components/ic-chip.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 +116 -0
- package/dist/components/ic-data-row.js.map +1 -0
- package/dist/components/ic-dialog.d.ts +11 -0
- package/dist/components/ic-dialog.js +356 -0
- package/dist/components/ic-dialog.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 +42 -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 +102 -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 +90 -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 +125 -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 +115 -0
- package/dist/components/ic-hero.js.map +1 -0
- package/dist/components/ic-horizontal-scroll.d.ts +11 -0
- package/dist/components/ic-horizontal-scroll.js +8 -0
- package/dist/components/ic-horizontal-scroll.js.map +1 -0
- package/dist/components/ic-horizontal-scroll2.js +218 -0
- package/dist/components/ic-horizontal-scroll2.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 +67 -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 +97 -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 +226 -0
- package/dist/components/ic-loading-indicator2.js.map +1 -0
- package/dist/components/ic-menu-group.d.ts +11 -0
- package/dist/components/ic-menu-group.js +46 -0
- package/dist/components/ic-menu-group.js.map +1 -0
- package/dist/components/ic-menu-item.d.ts +11 -0
- package/dist/components/ic-menu-item.js +8 -0
- package/dist/components/ic-menu-item.js.map +1 -0
- package/dist/components/ic-menu-item2.js +169 -0
- package/dist/components/ic-menu-item2.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 +692 -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 +137 -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 +319 -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 +200 -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 +161 -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 +166 -0
- package/dist/components/ic-page-header.js.map +1 -0
- package/dist/components/ic-pagination-bar.d.ts +11 -0
- package/dist/components/ic-pagination-bar.js +8 -0
- package/dist/components/ic-pagination-bar.js.map +1 -0
- package/dist/components/ic-pagination-bar2.js +378 -0
- package/dist/components/ic-pagination-bar2.js.map +1 -0
- package/dist/components/ic-pagination-item.d.ts +11 -0
- package/dist/components/ic-pagination-item.js +8 -0
- package/dist/components/ic-pagination-item.js.map +1 -0
- package/dist/components/ic-pagination-item2.js +81 -0
- package/dist/components/ic-pagination-item2.js.map +1 -0
- package/dist/components/ic-pagination.d.ts +11 -0
- package/dist/components/ic-pagination.js +8 -0
- package/dist/components/ic-pagination.js.map +1 -0
- package/dist/components/ic-pagination2.js +285 -0
- package/dist/components/ic-pagination2.js.map +1 -0
- package/dist/components/ic-popover-menu.d.ts +11 -0
- package/dist/components/ic-popover-menu.js +290 -0
- package/dist/components/ic-popover-menu.js.map +1 -0
- package/dist/components/ic-radio-group.d.ts +11 -0
- package/dist/components/ic-radio-group.js +174 -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 +171 -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 +604 -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 +8 -0
- package/dist/components/ic-select.js.map +1 -0
- package/dist/components/ic-select2.js +728 -0
- package/dist/components/ic-select2.js.map +1 -0
- package/dist/components/ic-side-navigation.d.ts +11 -0
- package/dist/components/ic-side-navigation.js +496 -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 +61 -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 +179 -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 +246 -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 +124 -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 +289 -0
- package/dist/components/ic-tab-context.js.map +1 -0
- package/dist/components/ic-tab-group.d.ts +11 -0
- package/dist/components/ic-tab-group.js +87 -0
- package/dist/components/ic-tab-group.js.map +1 -0
- package/dist/components/ic-tab-panel.d.ts +11 -0
- package/dist/components/ic-tab-panel.js +64 -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 +131 -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 +325 -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 +77 -0
- package/dist/components/ic-theme.js.map +1 -0
- package/dist/components/ic-toast-region.d.ts +11 -0
- package/dist/components/ic-toast-region.js +63 -0
- package/dist/components/ic-toast-region.js.map +1 -0
- package/dist/components/ic-toast.d.ts +11 -0
- package/dist/components/ic-toast.js +218 -0
- package/dist/components/ic-toast.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 +1970 -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 +290 -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 +149 -0
- package/dist/components/ic-typography2.js.map +1 -0
- package/dist/components/ic-unstable-data-table.d.ts +11 -0
- package/dist/components/ic-unstable-data-table.js +397 -0
- package/dist/components/ic-unstable-data-table.js.map +1 -0
- package/dist/components/index.d.ts +27 -0
- package/dist/components/index.js +3 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/types.js +16 -0
- package/dist/components/types.js.map +1 -0
- package/dist/core/core.css +101 -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/normalize.css +440 -0
- package/dist/core/p-019688bf.entry.js +2 -0
- package/dist/core/p-019688bf.entry.js.map +1 -0
- package/dist/core/p-0584ebc5.entry.js +2 -0
- package/dist/core/p-0584ebc5.entry.js.map +1 -0
- package/dist/core/p-06321d19.js +2 -0
- package/dist/core/p-06321d19.js.map +1 -0
- package/dist/core/p-095d3352.entry.js +2 -0
- package/dist/core/p-095d3352.entry.js.map +1 -0
- package/dist/core/p-10fd8931.entry.js +2 -0
- package/dist/core/p-10fd8931.entry.js.map +1 -0
- package/dist/core/p-11833706.entry.js +2 -0
- package/dist/core/p-11833706.entry.js.map +1 -0
- package/dist/core/p-1af8f256.js +3 -0
- package/dist/core/p-1af8f256.js.map +1 -0
- package/dist/core/p-1b5f5bf2.entry.js +2 -0
- package/dist/core/p-1b5f5bf2.entry.js.map +1 -0
- package/dist/core/p-1e0eb83a.entry.js +2 -0
- package/dist/core/p-1e0eb83a.entry.js.map +1 -0
- package/dist/core/p-2138a75e.entry.js +2 -0
- package/dist/core/p-2138a75e.entry.js.map +1 -0
- package/dist/core/p-29d35210.entry.js +2 -0
- package/dist/core/p-29d35210.entry.js.map +1 -0
- package/dist/core/p-2c6f2aad.entry.js +2 -0
- package/dist/core/p-2c6f2aad.entry.js.map +1 -0
- package/dist/core/p-35b9f898.entry.js +2 -0
- package/dist/core/p-35b9f898.entry.js.map +1 -0
- package/dist/core/p-3b686a68.entry.js +2 -0
- package/dist/core/p-3b686a68.entry.js.map +1 -0
- package/dist/core/p-4208e336.entry.js +2 -0
- package/dist/core/p-4208e336.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-4ddbc685.entry.js +2 -0
- package/dist/core/p-4ddbc685.entry.js.map +1 -0
- package/dist/core/p-4efac9a5.entry.js +2 -0
- package/dist/core/p-4efac9a5.entry.js.map +1 -0
- package/dist/core/p-5278461f.entry.js +2 -0
- package/dist/core/p-5278461f.entry.js.map +1 -0
- package/dist/core/p-55278403.entry.js +2 -0
- package/dist/core/p-55278403.entry.js.map +1 -0
- package/dist/core/p-57839a76.entry.js +2 -0
- package/dist/core/p-57839a76.entry.js.map +1 -0
- package/dist/core/p-5914df44.entry.js +2 -0
- package/dist/core/p-5914df44.entry.js.map +1 -0
- package/dist/core/p-5d89cfab.entry.js +2 -0
- package/dist/core/p-5d89cfab.entry.js.map +1 -0
- package/dist/core/p-5f6b0c72.entry.js +2 -0
- package/dist/core/p-5f6b0c72.entry.js.map +1 -0
- package/dist/core/p-633cb50b.entry.js +2 -0
- package/dist/core/p-633cb50b.entry.js.map +1 -0
- package/dist/core/p-6f57b13c.js +2 -0
- package/dist/core/p-6f57b13c.js.map +1 -0
- package/dist/core/p-7232b2f0.entry.js +2 -0
- package/dist/core/p-7232b2f0.entry.js.map +1 -0
- package/dist/core/p-7adfd23a.entry.js +2 -0
- package/dist/core/p-7adfd23a.entry.js.map +1 -0
- package/dist/core/p-7b1dea48.entry.js +2 -0
- package/dist/core/p-7b1dea48.entry.js.map +1 -0
- package/dist/core/p-7b475a6c.entry.js +2 -0
- package/dist/core/p-7b475a6c.entry.js.map +1 -0
- package/dist/core/p-7c0dcd00.js +2 -0
- package/dist/core/p-7c0dcd00.js.map +1 -0
- package/dist/core/p-7dda131b.entry.js +2 -0
- package/dist/core/p-7dda131b.entry.js.map +1 -0
- package/dist/core/p-80c4fdfb.entry.js +2 -0
- package/dist/core/p-80c4fdfb.entry.js.map +1 -0
- package/dist/core/p-83adbb69.entry.js +2 -0
- package/dist/core/p-83adbb69.entry.js.map +1 -0
- package/dist/core/p-8ae9fdd1.entry.js +2 -0
- package/dist/core/p-8ae9fdd1.entry.js.map +1 -0
- package/dist/core/p-8c7f4343.js +2 -0
- package/dist/core/p-8c7f4343.js.map +1 -0
- package/dist/core/p-8d4f7027.js +2 -0
- package/dist/core/p-8d4f7027.js.map +1 -0
- package/dist/core/p-92a9c0f7.entry.js +2 -0
- package/dist/core/p-92a9c0f7.entry.js.map +1 -0
- package/dist/core/p-a3b86ed0.entry.js +2 -0
- package/dist/core/p-a3b86ed0.entry.js.map +1 -0
- package/dist/core/p-a9e4e5f8.entry.js +2 -0
- package/dist/core/p-a9e4e5f8.entry.js.map +1 -0
- package/dist/core/p-ad3102a5.entry.js +2 -0
- package/dist/core/p-ad3102a5.entry.js.map +1 -0
- package/dist/core/p-b36723c5.entry.js +2 -0
- package/dist/core/p-b36723c5.entry.js.map +1 -0
- package/dist/core/p-b5c0b75c.js +2 -0
- package/dist/core/p-b5c0b75c.js.map +1 -0
- package/dist/core/p-b6e9eab9.entry.js +2 -0
- package/dist/core/p-b6e9eab9.entry.js.map +1 -0
- package/dist/core/p-b7d521e9.entry.js +2 -0
- package/dist/core/p-b7d521e9.entry.js.map +1 -0
- package/dist/core/p-b9c3598b.entry.js +2 -0
- package/dist/core/p-b9c3598b.entry.js.map +1 -0
- package/dist/core/p-bdb10987.entry.js +2 -0
- package/dist/core/p-bdb10987.entry.js.map +1 -0
- package/dist/core/p-c571e57c.entry.js +2 -0
- package/dist/core/p-c571e57c.entry.js.map +1 -0
- package/dist/core/p-cc15dfdc.entry.js +2 -0
- package/dist/core/p-cc15dfdc.entry.js.map +1 -0
- package/dist/core/p-cc2b961d.entry.js +2 -0
- package/dist/core/p-cc2b961d.entry.js.map +1 -0
- package/dist/core/p-d0fccb05.entry.js +2 -0
- package/dist/core/p-d0fccb05.entry.js.map +1 -0
- package/dist/core/p-d19b9d1b.entry.js +2 -0
- package/dist/core/p-d19b9d1b.entry.js.map +1 -0
- package/dist/core/p-d77c0936.entry.js +2 -0
- package/dist/core/p-d77c0936.entry.js.map +1 -0
- package/dist/core/p-df0b02b4.entry.js +2 -0
- package/dist/core/p-df0b02b4.entry.js.map +1 -0
- package/dist/core/p-e948ffe5.entry.js +2 -0
- package/dist/core/p-e948ffe5.entry.js.map +1 -0
- package/dist/core/p-ed9bc07a.entry.js +2 -0
- package/dist/core/p-ed9bc07a.entry.js.map +1 -0
- package/dist/core/p-f0fd1444.entry.js +2 -0
- package/dist/core/p-f0fd1444.entry.js.map +1 -0
- package/dist/core/p-f91432bf.entry.js +2 -0
- package/dist/core/p-f91432bf.entry.js.map +1 -0
- package/dist/core/p-fdcf4f5d.entry.js +2 -0
- package/dist/core/p-fdcf4f5d.entry.js.map +1 -0
- package/dist/core/p-fef750a3.entry.js +2 -0
- package/dist/core/p-fef750a3.entry.js.map +1 -0
- package/dist/esm/OpenInNew-67a881e0.js +5 -0
- package/dist/esm/OpenInNew-67a881e0.js.map +1 -0
- package/dist/esm/check-icon-abb210ec.js +8 -0
- package/dist/esm/check-icon-abb210ec.js.map +1 -0
- package/dist/esm/chevron-icon-7927f709.js +8 -0
- package/dist/esm/chevron-icon-7927f709.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 +23 -0
- package/dist/esm/core.js.map +1 -0
- package/dist/esm/helpers-8617aaa0.js +552 -0
- package/dist/esm/helpers-8617aaa0.js.map +1 -0
- package/dist/esm/ic-alert.entry.js +69 -0
- package/dist/esm/ic-alert.entry.js.map +1 -0
- package/dist/esm/ic-back-to-top.entry.js +141 -0
- package/dist/esm/ic-back-to-top.entry.js.map +1 -0
- package/dist/esm/ic-breadcrumb-group.entry.js +184 -0
- package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -0
- package/dist/esm/ic-breadcrumb.entry.js +70 -0
- package/dist/esm/ic-breadcrumb.entry.js.map +1 -0
- package/dist/esm/ic-button_3.entry.js +554 -0
- package/dist/esm/ic-button_3.entry.js.map +1 -0
- package/dist/esm/ic-card.entry.js +122 -0
- package/dist/esm/ic-card.entry.js.map +1 -0
- package/dist/esm/ic-checkbox-group.entry.js +65 -0
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -0
- package/dist/esm/ic-checkbox.entry.js +110 -0
- package/dist/esm/ic-checkbox.entry.js.map +1 -0
- package/dist/esm/ic-chip.entry.js +76 -0
- package/dist/esm/ic-chip.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 +87 -0
- package/dist/esm/ic-data-row.entry.js.map +1 -0
- package/dist/esm/ic-dialog.entry.js +291 -0
- package/dist/esm/ic-dialog.entry.js.map +1 -0
- package/dist/esm/ic-divider.entry.js +26 -0
- package/dist/esm/ic-divider.entry.js.map +1 -0
- package/dist/esm/ic-footer-link-group.entry.js +67 -0
- package/dist/esm/ic-footer-link-group.entry.js.map +1 -0
- package/dist/esm/ic-footer-link.entry.js +63 -0
- package/dist/esm/ic-footer-link.entry.js.map +1 -0
- package/dist/esm/ic-footer.entry.js +86 -0
- package/dist/esm/ic-footer.entry.js.map +1 -0
- package/dist/esm/ic-hero.entry.js +71 -0
- package/dist/esm/ic-hero.entry.js.map +1 -0
- package/dist/esm/ic-horizontal-scroll.entry.js +173 -0
- package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -0
- package/dist/esm/ic-input-component-container_3.entry.js +693 -0
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -0
- package/dist/esm/ic-input-label_2.entry.js +80 -0
- package/dist/esm/ic-input-label_2.entry.js.map +1 -0
- package/dist/esm/ic-link.entry.js +72 -0
- package/dist/esm/ic-link.entry.js.map +1 -0
- package/dist/esm/ic-menu-group.entry.js +20 -0
- package/dist/esm/ic-menu-group.entry.js.map +1 -0
- package/dist/esm/ic-menu-item.entry.js +118 -0
- package/dist/esm/ic-menu-item.entry.js.map +1 -0
- package/dist/esm/ic-navigation-button.entry.js +84 -0
- package/dist/esm/ic-navigation-button.entry.js.map +1 -0
- package/dist/esm/ic-navigation-group.entry.js +285 -0
- package/dist/esm/ic-navigation-group.entry.js.map +1 -0
- package/dist/esm/ic-navigation-item.entry.js +150 -0
- package/dist/esm/ic-navigation-item.entry.js.map +1 -0
- package/dist/esm/ic-navigation-menu.entry.js +120 -0
- package/dist/esm/ic-navigation-menu.entry.js.map +1 -0
- package/dist/esm/ic-page-header.entry.js +101 -0
- package/dist/esm/ic-page-header.entry.js.map +1 -0
- package/dist/esm/ic-pagination-bar.entry.js +266 -0
- package/dist/esm/ic-pagination-bar.entry.js.map +1 -0
- package/dist/esm/ic-pagination_4.entry.js +1108 -0
- package/dist/esm/ic-pagination_4.entry.js.map +1 -0
- package/dist/esm/ic-popover-menu.entry.js +233 -0
- package/dist/esm/ic-popover-menu.entry.js.map +1 -0
- package/dist/esm/ic-radio-group.entry.js +126 -0
- package/dist/esm/ic-radio-group.entry.js.map +1 -0
- package/dist/esm/ic-radio-option.entry.js +137 -0
- package/dist/esm/ic-radio-option.entry.js.map +1 -0
- package/dist/esm/ic-search-bar.entry.js +489 -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-side-navigation.entry.js +431 -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 +32 -0
- package/dist/esm/ic-status-tag.entry.js.map +1 -0
- package/dist/esm/ic-step.entry.js +136 -0
- package/dist/esm/ic-step.entry.js.map +1 -0
- package/dist/esm/ic-stepper.entry.js +217 -0
- package/dist/esm/ic-stepper.entry.js.map +1 -0
- package/dist/esm/ic-switch.entry.js +82 -0
- package/dist/esm/ic-switch.entry.js.map +1 -0
- package/dist/esm/ic-tab-context.entry.js +265 -0
- package/dist/esm/ic-tab-context.entry.js.map +1 -0
- package/dist/esm/ic-tab-group.entry.js +34 -0
- package/dist/esm/ic-tab-group.entry.js.map +1 -0
- package/dist/esm/ic-tab-panel.entry.js +40 -0
- package/dist/esm/ic-tab-panel.entry.js.map +1 -0
- package/dist/esm/ic-tab.entry.js +99 -0
- package/dist/esm/ic-tab.entry.js.map +1 -0
- package/dist/esm/ic-theme.entry.js +58 -0
- package/dist/esm/ic-theme.entry.js.map +1 -0
- package/dist/esm/ic-toast-region.entry.js +44 -0
- package/dist/esm/ic-toast-region.entry.js.map +1 -0
- package/dist/esm/ic-toast.entry.js +165 -0
- package/dist/esm/ic-toast.entry.js.map +1 -0
- package/dist/esm/ic-top-navigation.entry.js +213 -0
- package/dist/esm/ic-top-navigation.entry.js.map +1 -0
- package/dist/esm/ic-typography.entry.js +124 -0
- package/dist/esm/ic-typography.entry.js.map +1 -0
- package/dist/esm/ic-unstable-data-table.entry.js +267 -0
- package/dist/esm/ic-unstable-data-table.entry.js.map +1 -0
- package/dist/esm/index-36ab8165.js +2659 -0
- package/dist/esm/index-36ab8165.js.map +1 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +20 -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-15e448b4.js +1794 -0
- package/dist/esm/popper-15e448b4.js.map +1 -0
- package/dist/esm/types-dd515332.js +16 -0
- package/dist/esm/types-dd515332.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 +48 -0
- package/dist/types/components/ic-alert/test/a11y/ic-alert.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +25 -0
- package/dist/types/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +30 -0
- package/dist/types/components/ic-breadcrumb/ic-breadcrumb.types.d.ts +1 -0
- package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +40 -0
- package/dist/types/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.d.ts +2 -0
- package/dist/types/components/ic-button/ic-button.d.ts +132 -0
- package/dist/types/components/ic-button/ic-button.types.d.ts +3 -0
- package/dist/types/components/ic-button/test/a11y/ic-button.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-card/ic-card.d.ts +83 -0
- package/dist/types/components/ic-card/test/a11y/ic-card.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +72 -0
- package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +54 -0
- package/dist/types/components/ic-checkbox-group/ic-checkbox-group.types.d.ts +8 -0
- package/dist/types/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-chip/ic-chip.d.ts +50 -0
- package/dist/types/components/ic-chip/ic-chip.types.d.ts +1 -0
- package/dist/types/components/ic-chip/test/a11y/ic-chip.test.a11y.d.ts +1 -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.types.d.ts +1 -0
- package/dist/types/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.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/test/a11y/ic-data-entity.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-data-row/ic-data-row.d.ts +37 -0
- package/dist/types/components/ic-data-row/test/a11y/ic-data-row.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-data-table/ic-data-table.d.ts +97 -0
- package/dist/types/components/ic-data-table/ic-data-table.types.d.ts +15 -0
- package/dist/types/components/ic-data-table/test/a11y/ic-data-table.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-dialog/ic-dialog.d.ts +123 -0
- package/dist/types/components/ic-dialog/test/a11y/ic-dialog.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.types.d.ts +1 -0
- package/dist/types/components/ic-footer/test/a11y/ic-footer.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +41 -0
- package/dist/types/components/ic-footer-link/test/a11y/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/test/a11y/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.types.d.ts +1 -0
- package/dist/types/components/ic-hero/test/a11y/ic-hero.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.d.ts +40 -0
- package/dist/types/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.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 +50 -0
- package/dist/types/components/ic-link/test/a11y/ic-link.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +80 -0
- package/dist/types/components/ic-loading-indicator/ic-loading-indicator.types.d.ts +7 -0
- package/dist/types/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-menu/ic-menu.d.ts +167 -0
- package/dist/types/components/ic-menu/ic-menu.types.d.ts +12 -0
- package/dist/types/components/ic-menu-group/ic-menu-group.d.ts +8 -0
- package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +74 -0
- package/dist/types/components/ic-menu-item/ic-menu-item.types.d.ts +1 -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 +63 -0
- package/dist/types/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +85 -0
- package/dist/types/components/ic-navigation-item/test/a11y/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 +57 -0
- package/dist/types/components/ic-page-header/test/a11y/ic-page-header.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-pagination/ic-pagination.d.ts +82 -0
- package/dist/types/components/ic-pagination/ic-pagination.types.d.ts +6 -0
- package/dist/types/components/ic-pagination/test/a11y/ic-pagination.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-pagination-bar/ic-pagination-bar.d.ts +103 -0
- package/dist/types/components/ic-pagination-bar/test/a11y/ic-pagination-bar.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-pagination-item/ic-pagination-item.d.ts +47 -0
- package/dist/types/components/ic-pagination-item/ic-pagination-item.types.d.ts +1 -0
- package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +59 -0
- package/dist/types/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +60 -0
- package/dist/types/components/ic-radio-group/ic-radio-group.types.d.ts +7 -0
- package/dist/types/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +70 -0
- package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +243 -0
- package/dist/types/components/ic-search-bar/ic-search-bar.types.d.ts +5 -0
- package/dist/types/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.d.ts +1 -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 +226 -0
- package/dist/types/components/ic-select/test/a11y/ic-select.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +101 -0
- package/dist/types/components/ic-side-navigation/ic-side-navigation.types.d.ts +9 -0
- package/dist/types/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.d.ts +6 -0
- package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +18 -0
- package/dist/types/components/ic-skeleton/ic-skeleton.types.d.ts +1 -0
- package/dist/types/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +25 -0
- package/dist/types/components/ic-status-tag/ic-status-tag.types.d.ts +2 -0
- package/dist/types/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-step/ic-step.d.ts +54 -0
- package/dist/types/components/ic-step/ic-step.types.d.ts +3 -0
- package/dist/types/components/ic-stepper/ic-stepper.d.ts +43 -0
- package/dist/types/components/ic-stepper/ic-stepper.types.d.ts +1 -0
- package/dist/types/components/ic-stepper/test/a11y/ic-stepper.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-stepper/test/basic/ic-stepper-test-examples.d.ts +4 -0
- package/dist/types/components/ic-switch/ic-switch.d.ts +75 -0
- package/dist/types/components/ic-switch/ic-switch.types.d.ts +4 -0
- package/dist/types/components/ic-switch/test/a11y/ic-switch.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-tab/ic-tab.d.ts +59 -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 +64 -0
- package/dist/types/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +23 -0
- package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +37 -0
- package/dist/types/components/ic-text-field/ic-text-field.d.ts +217 -0
- package/dist/types/components/ic-text-field/ic-text-field.types.d.ts +3 -0
- package/dist/types/components/ic-text-field/test/a11y/ic-text-field.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-theme/ic-theme.d.ts +18 -0
- package/dist/types/components/ic-toast/ic-toast.d.ts +66 -0
- package/dist/types/components/ic-toast/ic-toast.types.d.ts +1 -0
- package/dist/types/components/ic-toast/test/a11y/ic-toast.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +12 -0
- package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +50 -0
- package/dist/types/components/ic-tooltip/ic-tooltip.types.d.ts +1 -0
- package/dist/types/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +84 -0
- package/dist/types/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-typography/ic-typography.d.ts +56 -0
- package/dist/types/components/ic-typography/test/a11y/ic-typography.test.a11y.d.ts +1 -0
- package/dist/types/components.d.ts +4709 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/interface.d.ts +14 -0
- package/dist/types/stencil-public-runtime.d.ts +1640 -0
- package/dist/types/testspec.setup.d.ts +15 -0
- package/dist/types/utils/constants.d.ts +38 -0
- package/dist/types/utils/helpers.d.ts +123 -0
- package/dist/types/utils/testa11y.helpers.d.ts +2 -0
- package/dist/types/utils/types.d.ts +65 -0
- package/hydrate/index.d.ts +218 -0
- package/hydrate/index.js +18605 -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 +21 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +11 -0
- package/package.json +81 -0
@@ -0,0 +1,599 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
const types = require('./types-3eb02246.js');
|
4
|
+
|
5
|
+
const errorIcon = `<svg aria-labelledby="error-title" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#000000">
|
6
|
+
<title id="error-title">Error</title>
|
7
|
+
<g id="close-octagon">
|
8
|
+
<path id="Vector" d="M8.77 3L3.5 8.27V15.73L8.77 21H16.23L21.5 15.73V8.27L16.23 3M8.91 7L12.5 10.59L16.09 7L17.5 8.41L13.91 12L17.5 15.59L16.09 17L12.5 13.41L8.91 17L7.5 15.59L11.09 12L7.5 8.41" />
|
9
|
+
</g>
|
10
|
+
</svg>
|
11
|
+
`;
|
12
|
+
|
13
|
+
const infoIcon = `<svg aria-labelledby="info-title" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#000000">
|
14
|
+
<title id="info-title">For your information</title>
|
15
|
+
<g id="info">
|
16
|
+
<path id="Vector" d="M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 17C11.45 17 11 16.55 11 16V12C11 11.45 11.45 11 12 11C12.55 11 13 11.45 13 12V16C13 16.55 12.55 17 12 17ZM13 9H11V7H13V9Z" />
|
17
|
+
</g>
|
18
|
+
</svg>
|
19
|
+
`;
|
20
|
+
|
21
|
+
const neutralIcon = `<svg aria-labelledby="neutral-title" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#000000">
|
22
|
+
<title id="neutral-title">Neutral</title>
|
23
|
+
<g id="Icon">
|
24
|
+
<path id="Vector" d="M19.5 3H5.5C4.4 3 3.5 3.9 3.5 5V19C3.5 20.1 4.4 21 5.5 21H19.5C20.6 21 21.5 20.1 21.5 19V5C21.5 3.9 20.6 3 19.5 3ZM12.51 18C11.81 18 11.25 17.44 11.25 16.74C11.25 16.03 11.81 15.49 12.51 15.49C13.22 15.49 13.76 16.03 13.76 16.74C13.75 17.43 13.22 18 12.51 18ZM15.52 10.6C14.76 11.71 14.04 12.06 13.65 12.77C13.55 12.95 13.49 13.09 13.46 13.4C13.41 13.85 13.01 14.18 12.56 14.18H12.5C11.98 14.18 11.57 13.74 11.62 13.22C11.65 12.88 11.73 12.53 11.92 12.19C12.41 11.32 13.34 10.8 13.88 10.03C14.45 9.22 14.13 7.7 12.51 7.7C11.8 7.7 11.33 8.06 11.04 8.49C10.79 8.85 10.35 9.02 9.94 8.85C9.41 8.64 9.22 8 9.54 7.54C10.15 6.65 11.17 6 12.49 6C13.97 6 14.98 6.67 15.5 7.52C15.94 8.24 16.2 9.59 15.52 10.6Z" />
|
25
|
+
</g>
|
26
|
+
</svg>
|
27
|
+
`;
|
28
|
+
|
29
|
+
const successIcon = `<svg aria-labelledby="success-title" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#000000">
|
30
|
+
<title id="success-title">Success</title>
|
31
|
+
<g id="check_circle">
|
32
|
+
<path id="Vector" d="M12.5 2C6.98 2 2.5 6.48 2.5 12C2.5 17.52 6.98 22 12.5 22C18.02 22 22.5 17.52 22.5 12C22.5 6.48 18.02 2 12.5 2ZM9.79 16.29L6.2 12.7C5.81 12.31 5.81 11.68 6.2 11.29C6.59 10.9 7.22 10.9 7.61 11.29L10.5 14.17L17.38 7.29C17.77 6.9 18.4 6.9 18.79 7.29C19.18 7.68 19.18 8.31 18.79 8.7L11.2 16.29C10.82 16.68 10.18 16.68 9.79 16.29Z" />
|
33
|
+
</g>
|
34
|
+
</svg>
|
35
|
+
`;
|
36
|
+
|
37
|
+
const warningIcon = `<svg aria-labelledby="warning-title" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#000000">
|
38
|
+
<title id="warning-title">Warning</title>
|
39
|
+
<g id="warning">
|
40
|
+
<path id="Vector" d="M4.47 20.5037H19.53C21.07 20.5037 22.03 18.8337 21.26 17.5037L13.73 4.49375C12.96 3.16375 11.04 3.16375 10.27 4.49375L2.74 17.5037C1.97 18.8337 2.93 20.5037 4.47 20.5037ZM12 13.5037C11.45 13.5037 11 13.0537 11 12.5037V10.5037C11 9.95375 11.45 9.50375 12 9.50375C12.55 9.50375 13 9.95375 13 10.5037V12.5037C13 13.0537 12.55 13.5037 12 13.5037ZM13 17.5037H11V15.5037H13V17.5037Z" />
|
41
|
+
</g>
|
42
|
+
</svg>
|
43
|
+
`;
|
44
|
+
|
45
|
+
// Global status icons
|
46
|
+
const VARIANT_ICONS = {
|
47
|
+
neutral: {
|
48
|
+
icon: neutralIcon,
|
49
|
+
ariaLabel: "Neutral",
|
50
|
+
},
|
51
|
+
info: {
|
52
|
+
icon: infoIcon,
|
53
|
+
ariaLabel: "For your information",
|
54
|
+
},
|
55
|
+
warning: {
|
56
|
+
icon: warningIcon,
|
57
|
+
ariaLabel: "Warning",
|
58
|
+
},
|
59
|
+
error: {
|
60
|
+
icon: errorIcon,
|
61
|
+
ariaLabel: "Error",
|
62
|
+
},
|
63
|
+
success: {
|
64
|
+
icon: successIcon,
|
65
|
+
ariaLabel: "Success",
|
66
|
+
},
|
67
|
+
};
|
68
|
+
// Global ARIA attributes
|
69
|
+
const IC_INHERITED_ARIA = [
|
70
|
+
"aria-atomic",
|
71
|
+
"aria-busy",
|
72
|
+
"aria-controls",
|
73
|
+
"aria-current",
|
74
|
+
"aria-describedby",
|
75
|
+
"aria-description",
|
76
|
+
"aria-details",
|
77
|
+
"aria-disabled",
|
78
|
+
"aria-dropeffect",
|
79
|
+
"aria-errormessage",
|
80
|
+
"aria-flowto",
|
81
|
+
"aria-grabbed",
|
82
|
+
"aria-haspopup",
|
83
|
+
"aria-hidden",
|
84
|
+
"aria-invalid",
|
85
|
+
"aria-keyshortcuts",
|
86
|
+
"aria-label",
|
87
|
+
"aria-labelledby",
|
88
|
+
"aria-live",
|
89
|
+
"aria-owns",
|
90
|
+
"aria-relevant",
|
91
|
+
"aria-roledescription",
|
92
|
+
];
|
93
|
+
const IC_DEVICE_SIZES = {
|
94
|
+
XS: 576,
|
95
|
+
S: 768,
|
96
|
+
M: 992,
|
97
|
+
L: 1200,
|
98
|
+
XL: 99999,
|
99
|
+
};
|
100
|
+
const IC_BLOCK_COLOR_COMPONENTS = [
|
101
|
+
"ic-hero",
|
102
|
+
"ic-top-navigation",
|
103
|
+
"ic-footer",
|
104
|
+
"ic-side-navigation",
|
105
|
+
"ic-alert",
|
106
|
+
];
|
107
|
+
const IC_FIXED_COLOR_COMPONENTS = ["ic-alert"];
|
108
|
+
const IC_BLOCK_COLOR_EXCEPTIONS = {
|
109
|
+
"ic-alert": ["ic-link"],
|
110
|
+
};
|
111
|
+
/* Range within which the chosen theme colour would not have a sufficient brightness difference with either of the black or white foreground colours
|
112
|
+
* The brightness difference must be greater than 125 to provide good colour visibility
|
113
|
+
* Calculated by:
|
114
|
+
* - Using the brightness formula for both colours: https://www.w3.org/TR/AERT/#color-contrast
|
115
|
+
* - Adding 125 to the brightness of the black foreground colour - RGB(11, 12, 12)
|
116
|
+
* - Subtracting 125 from the brightness of the white foreground colour - RGB(255, 255, 255)
|
117
|
+
*/
|
118
|
+
const BLACK_MIN_COLOR_BRIGHTNESS = 136.701;
|
119
|
+
const WHITE_MAX_COLOR_BRIGHTNESS = 130;
|
120
|
+
|
121
|
+
const DARK_MODE_THRESHOLD = 133.3505;
|
122
|
+
/**
|
123
|
+
* Used to inherit global attributes set on the host. Called in componentWillLoad and assigned
|
124
|
+
* to a variable that is later used in the render function.
|
125
|
+
*
|
126
|
+
* This does not need to be reactive as changing attributes on the host element
|
127
|
+
* does not trigger a re-render.
|
128
|
+
*/
|
129
|
+
const inheritAttributes = (element, attributes = []) => {
|
130
|
+
const attributeObject = {};
|
131
|
+
attributes.forEach((attr) => {
|
132
|
+
if (element.hasAttribute(attr)) {
|
133
|
+
const value = element.getAttribute(attr);
|
134
|
+
if (value !== null) {
|
135
|
+
attributeObject[attr] = element.getAttribute(attr);
|
136
|
+
}
|
137
|
+
element.removeAttribute(attr);
|
138
|
+
}
|
139
|
+
});
|
140
|
+
return attributeObject;
|
141
|
+
};
|
142
|
+
const debounceEvent = (event, wait) => {
|
143
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
144
|
+
const original = event._original || event;
|
145
|
+
return {
|
146
|
+
_original: event,
|
147
|
+
emit: debounce(original.emit.bind(original), wait),
|
148
|
+
};
|
149
|
+
};
|
150
|
+
const debounce = (func, wait = 0) => {
|
151
|
+
let timer;
|
152
|
+
return (...args) => {
|
153
|
+
clearTimeout(timer);
|
154
|
+
timer = setTimeout(func, wait, ...args);
|
155
|
+
};
|
156
|
+
};
|
157
|
+
/**
|
158
|
+
* This method is used to add a hidden input to a host element that contains
|
159
|
+
* a Shadow DOM. It does not add the input inside of the Shadow root which
|
160
|
+
* allows it to be picked up inside of forms. It should contain the same
|
161
|
+
* values as the host element.
|
162
|
+
*
|
163
|
+
* @param always Add a hidden input even if the container does not use Shadow
|
164
|
+
* @param container The element where the input will be added
|
165
|
+
* @param name The name of the input
|
166
|
+
* @param value The value of the input
|
167
|
+
* @param disabled If true, the input is disabled
|
168
|
+
*/
|
169
|
+
const renderHiddenInput = (always, container, name, value, disabled) => {
|
170
|
+
if (name !== undefined && (always || hasShadowDom(container))) {
|
171
|
+
const inputs = container.querySelectorAll("input.ic-input");
|
172
|
+
const inputEls = Array.from(inputs);
|
173
|
+
const filtered = inputEls.filter((el) => container === el.parentElement);
|
174
|
+
let input = filtered[0];
|
175
|
+
if (input === null || input === undefined) {
|
176
|
+
input = container.ownerDocument.createElement("input");
|
177
|
+
input.type = "hidden";
|
178
|
+
input.classList.add("ic-input");
|
179
|
+
container.appendChild(input);
|
180
|
+
}
|
181
|
+
input.disabled = disabled;
|
182
|
+
input.name = name;
|
183
|
+
input.value = value || "";
|
184
|
+
}
|
185
|
+
};
|
186
|
+
const removeHiddenInput = (container) => {
|
187
|
+
const inputs = container.querySelectorAll("input.ic-input");
|
188
|
+
const inputEls = Array.from(inputs);
|
189
|
+
const filtered = inputEls.filter((el) => container === el.parentElement);
|
190
|
+
const input = filtered[0];
|
191
|
+
input === null || input === void 0 ? void 0 : input.remove();
|
192
|
+
};
|
193
|
+
const hasShadowDom = (el) => {
|
194
|
+
return !!el.shadowRoot && !!el.attachShadow;
|
195
|
+
};
|
196
|
+
const getInputHelperTextID = (id) => {
|
197
|
+
return id + "-helper-text";
|
198
|
+
};
|
199
|
+
const getInputValidationTextID = (id) => {
|
200
|
+
return id + "-validation-text";
|
201
|
+
};
|
202
|
+
const getInputDescribedByText = (inputId, helperText, validationText) => {
|
203
|
+
return `${helperText ? getInputHelperTextID(inputId) : ""} ${validationText ? getInputValidationTextID(inputId) : ""}`.trim();
|
204
|
+
};
|
205
|
+
/**
|
206
|
+
* This method helps to understand the context in which a component exists,
|
207
|
+
* to assist with choosing appropriate foreground colours to use. For example,
|
208
|
+
* this method will help you use the 'white' version of a button if it's within
|
209
|
+
* a block colour element using white foreground text.
|
210
|
+
*
|
211
|
+
* This only works for components/elements passed via <slot> and not if they
|
212
|
+
* are part of an IC component.
|
213
|
+
*
|
214
|
+
* ""
|
215
|
+
* @returns IcThemeForeground depending on the context
|
216
|
+
*/
|
217
|
+
const getThemeFromContext = (el, themeFromEvent = null) => {
|
218
|
+
var _a;
|
219
|
+
const parentElement = el.parentElement || el.getRootNode().host.parentElement;
|
220
|
+
const blockColorParent = parentElement.closest(IC_BLOCK_COLOR_COMPONENTS.join(","));
|
221
|
+
// If within a block color component
|
222
|
+
if (blockColorParent !== null) {
|
223
|
+
const parentTag = blockColorParent.tagName.toLowerCase();
|
224
|
+
const currentTag = el.tagName.toLowerCase();
|
225
|
+
if ((_a = IC_BLOCK_COLOR_EXCEPTIONS[parentTag]) === null || _a === void 0 ? void 0 : _a.includes(currentTag)) {
|
226
|
+
return types.IcThemeForegroundEnum.Default;
|
227
|
+
}
|
228
|
+
else if (themeFromEvent !== null &&
|
229
|
+
!IC_FIXED_COLOR_COMPONENTS.includes(parentTag)) {
|
230
|
+
return themeFromEvent;
|
231
|
+
}
|
232
|
+
else if (blockColorParent.classList.contains(types.IcThemeForegroundEnum.Dark)) {
|
233
|
+
return types.IcThemeForegroundEnum.Dark;
|
234
|
+
}
|
235
|
+
return types.IcThemeForegroundEnum.Light;
|
236
|
+
}
|
237
|
+
return types.IcThemeForegroundEnum.Default;
|
238
|
+
};
|
239
|
+
const isMobileOrTablet = () => {
|
240
|
+
let isMobileOrTablet = false;
|
241
|
+
if ("maxTouchPoints" in navigator) {
|
242
|
+
isMobileOrTablet = navigator.maxTouchPoints > 0;
|
243
|
+
}
|
244
|
+
return isMobileOrTablet;
|
245
|
+
};
|
246
|
+
/**
|
247
|
+
* Will create a button within the lightDOM which interacts with the parent form.
|
248
|
+
* This is required as buttons within the shadowDOM will not invoke a submit or reset
|
249
|
+
*
|
250
|
+
* @param form - parent form element which contains shadowDom button
|
251
|
+
* @param button - shadowDOM button
|
252
|
+
*/
|
253
|
+
const handleHiddenFormButtonClick = (form, button) => {
|
254
|
+
const hiddenFormButton = document.createElement("button");
|
255
|
+
hiddenFormButton.setAttribute("type", button.type);
|
256
|
+
hiddenFormButton.style.display = "none";
|
257
|
+
form.appendChild(hiddenFormButton);
|
258
|
+
hiddenFormButton.click();
|
259
|
+
hiddenFormButton.remove();
|
260
|
+
};
|
261
|
+
const isEmptyString = (value) => {
|
262
|
+
if (!value) {
|
263
|
+
return true;
|
264
|
+
}
|
265
|
+
return value.trim().length === 0;
|
266
|
+
};
|
267
|
+
/**
|
268
|
+
* Extracts the label using the value from an object. Requires the object to have a label and value property.
|
269
|
+
* @param value - value from object
|
270
|
+
* @param options - list of menu items
|
271
|
+
* @returns - label corresponding to value
|
272
|
+
*/
|
273
|
+
const getLabelFromValue = (value, options) => {
|
274
|
+
var _a;
|
275
|
+
const ungroupedOptions = [];
|
276
|
+
if (options.length > 0 && options.map) {
|
277
|
+
options.map((option) => {
|
278
|
+
if (option.children) {
|
279
|
+
option.children.map((option) => ungroupedOptions.push(option));
|
280
|
+
}
|
281
|
+
else {
|
282
|
+
ungroupedOptions.push(option);
|
283
|
+
}
|
284
|
+
});
|
285
|
+
return (_a = ungroupedOptions.find((option) => option.value === value)) === null || _a === void 0 ? void 0 : _a.label;
|
286
|
+
}
|
287
|
+
return undefined;
|
288
|
+
};
|
289
|
+
/**
|
290
|
+
* Filters the options based on the search string.
|
291
|
+
* @param options - array of options
|
292
|
+
* @param includeDescriptions - determines whether option descriptions are included when filtering options
|
293
|
+
* @param searchString - string used to filter the options
|
294
|
+
* @param position - whether the search string matches the start of or anywhere in the options
|
295
|
+
* @returns filtered array of options
|
296
|
+
*/
|
297
|
+
const getFilteredMenuOptions = (options, includeDescriptions, searchString, position) => {
|
298
|
+
let rawFilteredOptions;
|
299
|
+
if (position === "anywhere") {
|
300
|
+
rawFilteredOptions = options.filter((option) => {
|
301
|
+
var _a;
|
302
|
+
if (includeDescriptions) {
|
303
|
+
return (option.label.toLowerCase().includes(searchString.toLowerCase()) ||
|
304
|
+
((_a = option.description) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes(searchString.toLowerCase())));
|
305
|
+
}
|
306
|
+
else {
|
307
|
+
return option.label.toLowerCase().includes(searchString.toLowerCase());
|
308
|
+
}
|
309
|
+
});
|
310
|
+
}
|
311
|
+
else {
|
312
|
+
rawFilteredOptions = options.filter((option) => {
|
313
|
+
var _a;
|
314
|
+
if (includeDescriptions) {
|
315
|
+
return (option.label.toLowerCase().startsWith(searchString.toLowerCase()) ||
|
316
|
+
((_a = option.description) === null || _a === void 0 ? void 0 : _a.toLowerCase().startsWith(searchString.toLowerCase())));
|
317
|
+
}
|
318
|
+
else {
|
319
|
+
return option.label
|
320
|
+
.toLowerCase()
|
321
|
+
.startsWith(searchString.toLowerCase());
|
322
|
+
}
|
323
|
+
});
|
324
|
+
}
|
325
|
+
return rawFilteredOptions;
|
326
|
+
};
|
327
|
+
const deviceSizeMatches = (size) => window.matchMedia(`(max-width: ${size}px)`).matches;
|
328
|
+
const getCurrentDeviceSize = () => {
|
329
|
+
if (deviceSizeMatches(DEVICE_SIZES.S)) {
|
330
|
+
return DEVICE_SIZES.S;
|
331
|
+
}
|
332
|
+
if (deviceSizeMatches(DEVICE_SIZES.M)) {
|
333
|
+
return DEVICE_SIZES.M;
|
334
|
+
}
|
335
|
+
if (deviceSizeMatches(DEVICE_SIZES.L)) {
|
336
|
+
return DEVICE_SIZES.L;
|
337
|
+
}
|
338
|
+
if (deviceSizeMatches(DEVICE_SIZES.XL)) {
|
339
|
+
return DEVICE_SIZES.XL;
|
340
|
+
}
|
341
|
+
//fallback needed as all of above get initialised to 0 in jest tests
|
342
|
+
return DEVICE_SIZES.UNDEFINED;
|
343
|
+
};
|
344
|
+
const getCssProperty = (cssVar) => {
|
345
|
+
return getComputedStyle(document.documentElement).getPropertyValue(cssVar);
|
346
|
+
};
|
347
|
+
/**
|
348
|
+
* Returns the brightness of the theme colour, calculated by using the theme RGB CSS values by:
|
349
|
+
* - Multiplying each RGB value by a set number: https://www.w3.org/TR/AERT/#color-contrast
|
350
|
+
* - Adding them together and dividing by 1000
|
351
|
+
* This is a similar calculation to its CSS counterpart: "--ic-theme-text"
|
352
|
+
* @returns number representing the brightness of the theme colour
|
353
|
+
*/
|
354
|
+
const getThemeColorBrightness = () => {
|
355
|
+
const themeRed = getCssProperty("--ic-theme-primary-r");
|
356
|
+
const themeGreen = getCssProperty("--ic-theme-primary-g");
|
357
|
+
const themeBlue = getCssProperty("--ic-theme-primary-b");
|
358
|
+
return ((parseInt(themeRed) * 299 +
|
359
|
+
parseInt(themeGreen) * 587 +
|
360
|
+
parseInt(themeBlue) * 114) /
|
361
|
+
1000);
|
362
|
+
};
|
363
|
+
/**
|
364
|
+
* Returns if dark or light foreground colors should be used for color contrast reasons
|
365
|
+
* @returns "dark" or "light"
|
366
|
+
*/
|
367
|
+
const getThemeForegroundColor = () => {
|
368
|
+
return getThemeColorBrightness() > DARK_MODE_THRESHOLD
|
369
|
+
? types.IcThemeForegroundEnum.Dark
|
370
|
+
: types.IcThemeForegroundEnum.Light;
|
371
|
+
};
|
372
|
+
const getSlot = (element, name) => {
|
373
|
+
if (element && element.querySelector) {
|
374
|
+
return element.querySelector(`[slot="${name}"]`);
|
375
|
+
}
|
376
|
+
return null;
|
377
|
+
};
|
378
|
+
const slotHasContent = (element, name) => getSlot(element, name) !== null;
|
379
|
+
const getSlotContent = (element, name) => {
|
380
|
+
const slot = getSlot(element, name);
|
381
|
+
if (slot) {
|
382
|
+
return getSlotElements(slot);
|
383
|
+
}
|
384
|
+
return null;
|
385
|
+
};
|
386
|
+
const getSlotElements = (slot) => {
|
387
|
+
const slotContent = slot.firstElementChild;
|
388
|
+
if (slotContent !== null) {
|
389
|
+
const elements = slotContent.assignedElements
|
390
|
+
? slotContent.assignedElements()
|
391
|
+
: slotContent.childNodes;
|
392
|
+
return elements.length ? elements : null;
|
393
|
+
}
|
394
|
+
else {
|
395
|
+
//check for single element
|
396
|
+
return slot === null ? null : [slot];
|
397
|
+
}
|
398
|
+
};
|
399
|
+
const getNavItemParentDetails = (el) => {
|
400
|
+
let navType = { navType: "", parent: null };
|
401
|
+
switch (getParentElementType(el)) {
|
402
|
+
case "IC-NAVIGATION-GROUP":
|
403
|
+
navType = getNavItemParentDetails(el.parentElement);
|
404
|
+
break;
|
405
|
+
case "IC-TOP-NAVIGATION":
|
406
|
+
navType = { navType: "top", parent: getParentElement(el) };
|
407
|
+
break;
|
408
|
+
case "IC-SIDE-NAVIGATION":
|
409
|
+
navType = { navType: "side", parent: getParentElement(el) };
|
410
|
+
break;
|
411
|
+
case "IC-PAGE-HEADER":
|
412
|
+
navType = { navType: "page-header", parent: null };
|
413
|
+
break;
|
414
|
+
}
|
415
|
+
return navType;
|
416
|
+
};
|
417
|
+
const DEVICE_SIZES = {
|
418
|
+
XS: Number(getCssProperty("--ic-breakpoint-xs").replace("px", "")),
|
419
|
+
S: Number(getCssProperty("--ic-breakpoint-sm").replace("px", "")),
|
420
|
+
M: Number(getCssProperty("--ic-breakpoint-md").replace("px", "")),
|
421
|
+
L: Number(getCssProperty("--ic-breakpoint-lg").replace("px", "")),
|
422
|
+
XL: Number(getCssProperty("--ic-breakpoint-xl").replace("px", "")),
|
423
|
+
UNDEFINED: 1200,
|
424
|
+
};
|
425
|
+
const hasValidationStatus = (status, disabled) => {
|
426
|
+
return status !== "" && !disabled;
|
427
|
+
};
|
428
|
+
const isSlotUsed = (element, slotName) => {
|
429
|
+
return Array.from(element.children).some((child) => child.getAttribute("slot") === slotName);
|
430
|
+
};
|
431
|
+
// added as a common method to allow detection of gatsby hydration issue, where (camelCase) props are initially undefined & then update
|
432
|
+
// with a value. Allows a callback function to be executed when this is the case
|
433
|
+
const onComponentPropUndefinedChange = (oldValue, newValue, callback) => {
|
434
|
+
if (oldValue === undefined && newValue !== oldValue) {
|
435
|
+
callback();
|
436
|
+
}
|
437
|
+
};
|
438
|
+
const onComponentRequiredPropUndefined = (props, component) => {
|
439
|
+
for (let i = 0; i < props.length; i++) {
|
440
|
+
const { prop, propName } = props[i];
|
441
|
+
if (prop === null || prop === undefined) {
|
442
|
+
console.error(`No ${propName} specified for ${component} component - prop '${propName}' (web components) / '${kebabToCamelCase(propName)}' (react) required`);
|
443
|
+
}
|
444
|
+
}
|
445
|
+
};
|
446
|
+
const kebabToCamelCase = (kebabCase) => {
|
447
|
+
kebabCase = kebabCase.toLowerCase();
|
448
|
+
const individualWords = kebabCase.split("-");
|
449
|
+
let camelCase = individualWords[0];
|
450
|
+
for (let i = 1; i < individualWords.length; i++) {
|
451
|
+
camelCase +=
|
452
|
+
individualWords[i].substring(0, 1).toUpperCase() +
|
453
|
+
individualWords[i].substring(1);
|
454
|
+
}
|
455
|
+
return camelCase;
|
456
|
+
};
|
457
|
+
const checkResizeObserver = (callbackFn) => {
|
458
|
+
if (typeof window !== "undefined" &&
|
459
|
+
typeof window.ResizeObserver !== "undefined") {
|
460
|
+
callbackFn();
|
461
|
+
}
|
462
|
+
};
|
463
|
+
const hex2dec = function (v) {
|
464
|
+
return parseInt(v, 16);
|
465
|
+
};
|
466
|
+
const hexToRgba = (hex) => {
|
467
|
+
let c;
|
468
|
+
if (hex.length === 4) {
|
469
|
+
c = hex.replace("#", "").split("");
|
470
|
+
return {
|
471
|
+
r: hex2dec(c[0] + c[0]),
|
472
|
+
g: hex2dec(c[1] + c[1]),
|
473
|
+
b: hex2dec(c[2] + c[2]),
|
474
|
+
a: 1,
|
475
|
+
};
|
476
|
+
}
|
477
|
+
else {
|
478
|
+
return {
|
479
|
+
r: hex2dec(hex.slice(1, 3)),
|
480
|
+
g: hex2dec(hex.slice(3, 5)),
|
481
|
+
b: hex2dec(hex.slice(5)),
|
482
|
+
a: 1,
|
483
|
+
};
|
484
|
+
}
|
485
|
+
};
|
486
|
+
const rgbaStrToObj = (rgbaStr) => {
|
487
|
+
const fourthChar = rgbaStr.slice(3, 4);
|
488
|
+
let colorRGBA;
|
489
|
+
if (fourthChar.toLowerCase() === "a") {
|
490
|
+
colorRGBA = { r: null, g: null, b: null, a: null };
|
491
|
+
const rgba = rgbaStr
|
492
|
+
.substring(5, rgbaStr.length - 1)
|
493
|
+
.replace(/ /g, "")
|
494
|
+
.split(",");
|
495
|
+
colorRGBA.r = Number(rgba[0]);
|
496
|
+
colorRGBA.g = Number(rgba[1]);
|
497
|
+
colorRGBA.b = Number(rgba[2]);
|
498
|
+
colorRGBA.a = Number(rgba[3]);
|
499
|
+
}
|
500
|
+
else {
|
501
|
+
colorRGBA = { r: null, g: null, b: null, a: 1 };
|
502
|
+
const rgb = rgbaStr
|
503
|
+
.substring(4, rgbaStr.length - 1)
|
504
|
+
.replace(/ /g, "")
|
505
|
+
.split(",");
|
506
|
+
colorRGBA.r = Number(rgb[0]);
|
507
|
+
colorRGBA.g = Number(rgb[1]);
|
508
|
+
colorRGBA.b = Number(rgb[2]);
|
509
|
+
}
|
510
|
+
return colorRGBA;
|
511
|
+
};
|
512
|
+
const elementOverflowsX = (element) => {
|
513
|
+
return element.scrollWidth > element.clientWidth;
|
514
|
+
};
|
515
|
+
/**
|
516
|
+
*
|
517
|
+
* @param child - The child element
|
518
|
+
* @returns string
|
519
|
+
*/
|
520
|
+
const getParentElementType = (child) => child.parentElement.tagName;
|
521
|
+
const getParentElement = (child) => child.parentElement;
|
522
|
+
const hasClassificationBanner = () => {
|
523
|
+
return document.querySelector("ic-classification-banner:not([inline='true'])")
|
524
|
+
? true
|
525
|
+
: false;
|
526
|
+
};
|
527
|
+
const getForm = (el) => {
|
528
|
+
return el.closest("FORM");
|
529
|
+
};
|
530
|
+
const addFormResetListener = (el, callbackFn) => {
|
531
|
+
const form = getForm(el);
|
532
|
+
if (form !== null) {
|
533
|
+
form.addEventListener("reset", callbackFn);
|
534
|
+
}
|
535
|
+
};
|
536
|
+
const removeFormResetListener = (el, callbackFn) => {
|
537
|
+
const form = getForm(el);
|
538
|
+
if (form !== null) {
|
539
|
+
form.removeEventListener("reset", callbackFn);
|
540
|
+
}
|
541
|
+
};
|
542
|
+
const pxToRem = (px, base = 16) => {
|
543
|
+
const tempPx = parseInt(px);
|
544
|
+
return `${(1 / base) * tempPx}rem`;
|
545
|
+
};
|
546
|
+
const removeDisabledFalse = (disabled, element) => {
|
547
|
+
if (!disabled) {
|
548
|
+
element.removeAttribute("disabled");
|
549
|
+
}
|
550
|
+
};
|
551
|
+
|
552
|
+
exports.BLACK_MIN_COLOR_BRIGHTNESS = BLACK_MIN_COLOR_BRIGHTNESS;
|
553
|
+
exports.DEVICE_SIZES = DEVICE_SIZES;
|
554
|
+
exports.IC_DEVICE_SIZES = IC_DEVICE_SIZES;
|
555
|
+
exports.IC_INHERITED_ARIA = IC_INHERITED_ARIA;
|
556
|
+
exports.VARIANT_ICONS = VARIANT_ICONS;
|
557
|
+
exports.WHITE_MAX_COLOR_BRIGHTNESS = WHITE_MAX_COLOR_BRIGHTNESS;
|
558
|
+
exports.addFormResetListener = addFormResetListener;
|
559
|
+
exports.checkResizeObserver = checkResizeObserver;
|
560
|
+
exports.debounceEvent = debounceEvent;
|
561
|
+
exports.elementOverflowsX = elementOverflowsX;
|
562
|
+
exports.errorIcon = errorIcon;
|
563
|
+
exports.getCssProperty = getCssProperty;
|
564
|
+
exports.getCurrentDeviceSize = getCurrentDeviceSize;
|
565
|
+
exports.getFilteredMenuOptions = getFilteredMenuOptions;
|
566
|
+
exports.getInputDescribedByText = getInputDescribedByText;
|
567
|
+
exports.getInputHelperTextID = getInputHelperTextID;
|
568
|
+
exports.getInputValidationTextID = getInputValidationTextID;
|
569
|
+
exports.getLabelFromValue = getLabelFromValue;
|
570
|
+
exports.getNavItemParentDetails = getNavItemParentDetails;
|
571
|
+
exports.getParentElement = getParentElement;
|
572
|
+
exports.getParentElementType = getParentElementType;
|
573
|
+
exports.getSlot = getSlot;
|
574
|
+
exports.getSlotContent = getSlotContent;
|
575
|
+
exports.getSlotElements = getSlotElements;
|
576
|
+
exports.getThemeColorBrightness = getThemeColorBrightness;
|
577
|
+
exports.getThemeForegroundColor = getThemeForegroundColor;
|
578
|
+
exports.getThemeFromContext = getThemeFromContext;
|
579
|
+
exports.handleHiddenFormButtonClick = handleHiddenFormButtonClick;
|
580
|
+
exports.hasClassificationBanner = hasClassificationBanner;
|
581
|
+
exports.hasValidationStatus = hasValidationStatus;
|
582
|
+
exports.hexToRgba = hexToRgba;
|
583
|
+
exports.inheritAttributes = inheritAttributes;
|
584
|
+
exports.isEmptyString = isEmptyString;
|
585
|
+
exports.isMobileOrTablet = isMobileOrTablet;
|
586
|
+
exports.isSlotUsed = isSlotUsed;
|
587
|
+
exports.onComponentPropUndefinedChange = onComponentPropUndefinedChange;
|
588
|
+
exports.onComponentRequiredPropUndefined = onComponentRequiredPropUndefined;
|
589
|
+
exports.pxToRem = pxToRem;
|
590
|
+
exports.removeDisabledFalse = removeDisabledFalse;
|
591
|
+
exports.removeFormResetListener = removeFormResetListener;
|
592
|
+
exports.removeHiddenInput = removeHiddenInput;
|
593
|
+
exports.renderHiddenInput = renderHiddenInput;
|
594
|
+
exports.rgbaStrToObj = rgbaStrToObj;
|
595
|
+
exports.slotHasContent = slotHasContent;
|
596
|
+
exports.successIcon = successIcon;
|
597
|
+
exports.warningIcon = warningIcon;
|
598
|
+
|
599
|
+
//# sourceMappingURL=helpers-3811d14b.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"helpers-3811d14b.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA;MACa,aAAa,GAAG;EAC3B,OAAO,EAAE;IACP,IAAI,EAAE,WAAW;IACjB,SAAS,EAAE,SAAS;GACrB;EACD,IAAI,EAAE;IACJ,IAAI,EAAE,QAAQ;IACd,SAAS,EAAE,sBAAsB;GAClC;EACD,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QAAQ;MAEjB,gBAAgB,GAAG,CAAC,KAAkB,KACjD,KAAK,CAAC,cAAc;MAET,uBAAuB,GAAG;EACrC,OAAO,QAAQ,CAAC,aAAa,CAAC,+CAA+C,CAAC;MAC1E,IAAI;MACJ,KAAK,CAAC;AACZ,EAAE;AAEK,MAAM,OAAO,GAAG,CAAC,EAAe;EACrC,OAAO,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;AAC5B,CAAC,CAAC;MAEW,oBAAoB,GAAG,CAClC,EAAe,EACf,UAAsC;EAEtC,MAAM,IAAI,GAAG,OAAO,CAAC,EAAE,CAAC,CAAC;EACzB,IAAI,IAAI,KAAK,IAAI,EAAE;IACjB,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;GAC5C;AACH,EAAE;MAEW,uBAAuB,GAAG,CACrC,EAAe,EACf,UAAsC;EAEtC,MAAM,IAAI,GAAG,OAAO,CAAC,EAAE,CAAC,CAAC;EACzB,IAAI,IAAI,KAAK,IAAI,EAAE;IACjB,IAAI,CAAC,mBAAmB,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;GAC/C;AACH,EAAE;MAEW,OAAO,GAAG,CAAC,EAAU,EAAE,IAAI,GAAG,EAAE;EAC3C,MAAM,MAAM,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;EAC5B,OAAO,GAAG,CAAC,CAAC,GAAG,IAAI,IAAI,MAAM,KAAK,CAAC;AACrC,EAAE;MAEW,mBAAmB,GAAG,CACjC,QAAiB,EACjB,OAAoB;EAEpB,IAAI,CAAC,QAAQ,EAAE;IACb,OAAO,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;GACrC;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["IcThemeForegroundEnum"],"sources":["./src/utils/constants.ts","./src/utils/helpers.ts"],"sourcesContent":["import errorIcon from \"../assets/error-icon.svg\";\nimport infoIcon from \"../assets/info-icon.svg\";\nimport neutralIcon from \"../assets/neutral-icon.svg\";\nimport successIcon from \"../assets/success-icon.svg\";\nimport warningIcon from \"../assets/warning-icon.svg\";\n\n// Global status icons\nexport const VARIANT_ICONS = {\n neutral: {\n icon: neutralIcon,\n ariaLabel: \"Neutral\",\n },\n info: {\n icon: infoIcon,\n ariaLabel: \"For your information\",\n },\n warning: {\n icon: warningIcon,\n ariaLabel: \"Warning\",\n },\n error: {\n icon: errorIcon,\n ariaLabel: \"Error\",\n },\n success: {\n icon: successIcon,\n ariaLabel: \"Success\",\n },\n};\n\n// Global ARIA attributes\nexport const IC_INHERITED_ARIA = [\n \"aria-atomic\",\n \"aria-busy\",\n \"aria-controls\",\n \"aria-current\",\n \"aria-describedby\",\n \"aria-description\",\n \"aria-details\",\n \"aria-disabled\",\n \"aria-dropeffect\",\n \"aria-errormessage\",\n \"aria-flowto\",\n \"aria-grabbed\",\n \"aria-haspopup\",\n \"aria-hidden\",\n \"aria-invalid\",\n \"aria-keyshortcuts\",\n \"aria-label\",\n \"aria-labelledby\",\n \"aria-live\",\n \"aria-owns\",\n \"aria-relevant\",\n \"aria-roledescription\",\n];\n\nexport const IC_DEVICE_SIZES = {\n XS: 576,\n S: 768,\n M: 992,\n L: 1200,\n XL: 99999,\n};\n\nexport const IC_BLOCK_COLOR_COMPONENTS = [\n \"ic-hero\",\n \"ic-top-navigation\",\n \"ic-footer\",\n \"ic-side-navigation\",\n \"ic-alert\",\n];\n\nexport const IC_FIXED_COLOR_COMPONENTS = [\"ic-alert\"];\n\nexport interface IcColorExceptions {\n [details: string]: string[];\n}\n\nexport const IC_BLOCK_COLOR_EXCEPTIONS: IcColorExceptions = {\n \"ic-alert\": [\"ic-link\"],\n};\n\n/* Range within which the chosen theme colour would not have a sufficient brightness difference with either of the black or white foreground colours\n * The brightness difference must be greater than 125 to provide good colour visibility\n * Calculated by:\n * - Using the brightness formula for both colours: https://www.w3.org/TR/AERT/#color-contrast\n * - Adding 125 to the brightness of the black foreground colour - RGB(11, 12, 12)\n * - Subtracting 125 from the brightness of the white foreground colour - RGB(255, 255, 255)\n */\nexport const BLACK_MIN_COLOR_BRIGHTNESS = 136.701;\nexport const WHITE_MAX_COLOR_BRIGHTNESS = 130;\n","import { EventEmitter } from \"@stencil/core\";\nimport {\n IcCallbackFunctionNoReturn,\n IcInformationStatusOrEmpty,\n IcNavParentDetails,\n IcPropObject,\n IcSearchMatchPositions,\n IcColorRGBA,\n} from \"./types\";\n\nimport {\n IcMenuOption,\n IcThemeForeground,\n IcThemeForegroundEnum,\n} from \"../utils/types\";\nimport {\n IC_BLOCK_COLOR_COMPONENTS,\n IC_BLOCK_COLOR_EXCEPTIONS,\n IC_FIXED_COLOR_COMPONENTS,\n} from \"./constants\";\n\nconst DARK_MODE_THRESHOLD = 133.3505;\n\n/**\n * Used to inherit global attributes set on the host. Called in componentWillLoad and assigned\n * to a variable that is later used in the render function.\n *\n * This does not need to be reactive as changing attributes on the host element\n * does not trigger a re-render.\n */\nexport const inheritAttributes = (\n element: HTMLElement,\n attributes: string[] = []\n): { [key: string]: unknown } => {\n const attributeObject: { [key: string]: unknown } = {};\n\n attributes.forEach((attr) => {\n if (element.hasAttribute(attr)) {\n const value = element.getAttribute(attr);\n if (value !== null) {\n attributeObject[attr] = element.getAttribute(attr);\n }\n element.removeAttribute(attr);\n }\n });\n\n return attributeObject;\n};\n\nexport const debounceEvent = (\n event: EventEmitter,\n wait: number\n): EventEmitter => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const original = (event as any)._original || event;\n return {\n _original: event,\n emit: debounce(original.emit.bind(original), wait),\n } as EventEmitter;\n};\n\nexport const debounce = (\n func: (...args: unknown[]) => void,\n wait = 0\n): unknown => {\n let timer: ReturnType<typeof setTimeout>;\n return (...args: unknown[]) => {\n clearTimeout(timer);\n timer = setTimeout(func, wait, ...args);\n };\n};\n\n/**\n * This method is used to add a hidden input to a host element that contains\n * a Shadow DOM. It does not add the input inside of the Shadow root which\n * allows it to be picked up inside of forms. It should contain the same\n * values as the host element.\n *\n * @param always Add a hidden input even if the container does not use Shadow\n * @param container The element where the input will be added\n * @param name The name of the input\n * @param value The value of the input\n * @param disabled If true, the input is disabled\n */\nexport const renderHiddenInput = (\n always: boolean,\n container: HTMLElement,\n name: string,\n value: string | undefined | null,\n disabled: boolean\n): void => {\n if (name !== undefined && (always || hasShadowDom(container))) {\n const inputs = container.querySelectorAll(\"input.ic-input\");\n const inputEls = Array.from(inputs);\n const filtered = inputEls.filter((el) => container === el.parentElement);\n\n let input = filtered[0] as HTMLInputElement;\n if (input === null || input === undefined) {\n input = container.ownerDocument.createElement(\"input\");\n input.type = \"hidden\";\n input.classList.add(\"ic-input\");\n container.appendChild(input);\n }\n input.disabled = disabled;\n input.name = name;\n input.value = value || \"\";\n }\n};\n\nexport const removeHiddenInput = (container: HTMLElement): void => {\n const inputs = container.querySelectorAll(\"input.ic-input\");\n const inputEls = Array.from(inputs);\n const filtered = inputEls.filter((el) => container === el.parentElement);\n const input = filtered[0] as HTMLInputElement;\n input?.remove();\n};\n\nexport const hasShadowDom = (el: HTMLElement): boolean => {\n return !!el.shadowRoot && !!el.attachShadow;\n};\n\nexport const getInputHelperTextID = (id: string): string => {\n return id + \"-helper-text\";\n};\n\nexport const getInputValidationTextID = (id: string): string => {\n return id + \"-validation-text\";\n};\n\nexport const getInputDescribedByText = (\n inputId: string,\n helperText: boolean,\n validationText: boolean\n): string => {\n return `${helperText ? getInputHelperTextID(inputId) : \"\"} ${\n validationText ? getInputValidationTextID(inputId) : \"\"\n }`.trim();\n};\n\n/**\n * This method helps to understand the context in which a component exists,\n * to assist with choosing appropriate foreground colours to use. For example,\n * this method will help you use the 'white' version of a button if it's within\n * a block colour element using white foreground text.\n *\n * This only works for components/elements passed via <slot> and not if they\n * are part of an IC component.\n *\n * \"\"\n * @returns IcThemeForeground depending on the context\n */\nexport const getThemeFromContext = (\n el: Element,\n themeFromEvent: IcThemeForeground = null\n): IcThemeForeground => {\n const parentElement =\n el.parentElement || (<ShadowRoot>el.getRootNode()).host.parentElement;\n const blockColorParent = parentElement.closest(\n IC_BLOCK_COLOR_COMPONENTS.join(\",\")\n );\n\n // If within a block color component\n if (blockColorParent !== null) {\n const parentTag = blockColorParent.tagName.toLowerCase();\n const currentTag = el.tagName.toLowerCase();\n\n if (IC_BLOCK_COLOR_EXCEPTIONS[parentTag]?.includes(currentTag)) {\n return IcThemeForegroundEnum.Default;\n } else if (\n themeFromEvent !== null &&\n !IC_FIXED_COLOR_COMPONENTS.includes(parentTag)\n ) {\n return themeFromEvent;\n } else if (\n blockColorParent.classList.contains(IcThemeForegroundEnum.Dark)\n ) {\n return IcThemeForegroundEnum.Dark;\n }\n\n return IcThemeForegroundEnum.Light;\n }\n\n return IcThemeForegroundEnum.Default;\n};\n\nexport const isMobileOrTablet = (): boolean => {\n let isMobileOrTablet = false;\n if (\"maxTouchPoints\" in navigator) {\n isMobileOrTablet = navigator.maxTouchPoints > 0;\n }\n return isMobileOrTablet;\n};\n\n/**\n * Will create a button within the lightDOM which interacts with the parent form.\n * This is required as buttons within the shadowDOM will not invoke a submit or reset\n *\n * @param form - parent form element which contains shadowDom button\n * @param button - shadowDOM button\n */\nexport const handleHiddenFormButtonClick = (\n form: HTMLFormElement,\n button: HTMLIcButtonElement | HTMLButtonElement\n): void => {\n const hiddenFormButton = document.createElement(\"button\");\n\n hiddenFormButton.setAttribute(\"type\", button.type);\n hiddenFormButton.style.display = \"none\";\n\n form.appendChild(hiddenFormButton);\n\n hiddenFormButton.click();\n hiddenFormButton.remove();\n};\n\nexport const isEmptyString = (value: string): boolean => {\n if (!value) {\n return true;\n }\n\n return value.trim().length === 0;\n};\n\n/**\n * Extracts the label using the value from an object. Requires the object to have a label and value property.\n * @param value - value from object\n * @param options - list of menu items\n * @returns - label corresponding to value\n */\nexport const getLabelFromValue = (\n value: string,\n options: IcMenuOption[]\n): string | undefined => {\n const ungroupedOptions: IcMenuOption[] = [];\n if (options.length > 0 && options.map) {\n options.map((option) => {\n if (option.children) {\n option.children.map((option: IcMenuOption) =>\n ungroupedOptions.push(option)\n );\n } else {\n ungroupedOptions.push(option);\n }\n });\n return ungroupedOptions.find((option) => option.value === value)?.label;\n }\n\n return undefined;\n};\n\n/**\n * Filters the options based on the search string.\n * @param options - array of options\n * @param includeDescriptions - determines whether option descriptions are included when filtering options\n * @param searchString - string used to filter the options\n * @param position - whether the search string matches the start of or anywhere in the options\n * @returns filtered array of options\n */\nexport const getFilteredMenuOptions = (\n options: IcMenuOption[],\n includeDescriptions: boolean,\n searchString: string,\n position: IcSearchMatchPositions\n): IcMenuOption[] => {\n let rawFilteredOptions;\n\n if (position === \"anywhere\") {\n rawFilteredOptions = options.filter((option) => {\n if (includeDescriptions) {\n return (\n option.label.toLowerCase().includes(searchString.toLowerCase()) ||\n option.description?.toLowerCase().includes(searchString.toLowerCase())\n );\n } else {\n return option.label.toLowerCase().includes(searchString.toLowerCase());\n }\n });\n } else {\n rawFilteredOptions = options.filter((option) => {\n if (includeDescriptions) {\n return (\n option.label.toLowerCase().startsWith(searchString.toLowerCase()) ||\n option.description\n ?.toLowerCase()\n .startsWith(searchString.toLowerCase())\n );\n } else {\n return option.label\n .toLowerCase()\n .startsWith(searchString.toLowerCase());\n }\n });\n }\n\n return rawFilteredOptions;\n};\n\nexport const deviceSizeMatches = (size: number): boolean =>\n window.matchMedia(`(max-width: ${size}px)`).matches;\n\nexport const getCurrentDeviceSize = (): number => {\n if (deviceSizeMatches(DEVICE_SIZES.S)) {\n return DEVICE_SIZES.S;\n }\n if (deviceSizeMatches(DEVICE_SIZES.M)) {\n return DEVICE_SIZES.M;\n }\n if (deviceSizeMatches(DEVICE_SIZES.L)) {\n return DEVICE_SIZES.L;\n }\n if (deviceSizeMatches(DEVICE_SIZES.XL)) {\n return DEVICE_SIZES.XL;\n }\n //fallback needed as all of above get initialised to 0 in jest tests\n return DEVICE_SIZES.UNDEFINED;\n};\n\nexport const getCssProperty = (cssVar: string): string => {\n return getComputedStyle(document.documentElement).getPropertyValue(cssVar);\n};\n\n/**\n * Returns the brightness of the theme colour, calculated by using the theme RGB CSS values by:\n * - Multiplying each RGB value by a set number: https://www.w3.org/TR/AERT/#color-contrast\n * - Adding them together and dividing by 1000\n * This is a similar calculation to its CSS counterpart: \"--ic-theme-text\"\n * @returns number representing the brightness of the theme colour\n */\nexport const getThemeColorBrightness = (): number => {\n const themeRed = getCssProperty(\"--ic-theme-primary-r\");\n const themeGreen = getCssProperty(\"--ic-theme-primary-g\");\n const themeBlue = getCssProperty(\"--ic-theme-primary-b\");\n return (\n (parseInt(themeRed) * 299 +\n parseInt(themeGreen) * 587 +\n parseInt(themeBlue) * 114) /\n 1000\n );\n};\n\n/**\n * Returns if dark or light foreground colors should be used for color contrast reasons\n * @returns \"dark\" or \"light\"\n */\nexport const getThemeForegroundColor = (): IcThemeForeground => {\n return getThemeColorBrightness() > DARK_MODE_THRESHOLD\n ? IcThemeForegroundEnum.Dark\n : IcThemeForegroundEnum.Light;\n};\n\nexport const getSlot = (element: HTMLElement, name: string): Element | null => {\n if (element && element.querySelector) {\n return element.querySelector(`[slot=\"${name}\"]`);\n }\n return null;\n};\n\nexport const slotHasContent = (element: HTMLElement, name: string): boolean =>\n getSlot(element, name) !== null;\n\nexport const getSlotContent = (\n element: HTMLElement,\n name: string\n): Element[] | NodeListOf<ChildNode> | null => {\n const slot = getSlot(element, name);\n if (slot) {\n return getSlotElements(slot);\n }\n\n return null;\n};\n\nexport const getSlotElements = (\n slot: Element\n): NodeListOf<ChildNode> | Element[] => {\n const slotContent = slot.firstElementChild as HTMLSlotElement;\n\n if (slotContent !== null) {\n const elements = slotContent.assignedElements\n ? slotContent.assignedElements()\n : slotContent.childNodes;\n return elements.length ? elements : null;\n } else {\n //check for single element\n return slot === null ? null : [slot];\n }\n};\n\nexport const getNavItemParentDetails = (\n el: HTMLElement\n): IcNavParentDetails => {\n let navType: IcNavParentDetails = { navType: \"\", parent: null };\n switch (getParentElementType(el)) {\n case \"IC-NAVIGATION-GROUP\":\n navType = getNavItemParentDetails(el.parentElement);\n break;\n case \"IC-TOP-NAVIGATION\":\n navType = { navType: \"top\", parent: getParentElement(el) };\n break;\n case \"IC-SIDE-NAVIGATION\":\n navType = { navType: \"side\", parent: getParentElement(el) };\n break;\n case \"IC-PAGE-HEADER\":\n navType = { navType: \"page-header\", parent: null };\n break;\n }\n return navType;\n};\n\nexport const DEVICE_SIZES = {\n XS: Number(getCssProperty(\"--ic-breakpoint-xs\").replace(\"px\", \"\")), // 0\n S: Number(getCssProperty(\"--ic-breakpoint-sm\").replace(\"px\", \"\")), // 576\n M: Number(getCssProperty(\"--ic-breakpoint-md\").replace(\"px\", \"\")), // 768\n L: Number(getCssProperty(\"--ic-breakpoint-lg\").replace(\"px\", \"\")), // 992\n XL: Number(getCssProperty(\"--ic-breakpoint-xl\").replace(\"px\", \"\")), // 1200\n UNDEFINED: 1200,\n};\n\nexport const hasValidationStatus = (\n status: IcInformationStatusOrEmpty,\n disabled: boolean\n): boolean => {\n return status !== \"\" && !disabled;\n};\n\nexport const isSlotUsed = (element: HTMLElement, slotName: string): boolean => {\n return Array.from(element.children).some(\n (child) => child.getAttribute(\"slot\") === slotName\n );\n};\n\n// added as a common method to allow detection of gatsby hydration issue, where (camelCase) props are initially undefined & then update\n// with a value. Allows a callback function to be executed when this is the case\nexport const onComponentPropUndefinedChange = (\n oldValue: string | undefined,\n newValue: string | undefined,\n callback: IcCallbackFunctionNoReturn\n): void => {\n if (oldValue === undefined && newValue !== oldValue) {\n callback();\n }\n};\n\nexport const onComponentRequiredPropUndefined = (\n props: IcPropObject[],\n component: string\n): void => {\n for (let i = 0; i < props.length; i++) {\n const { prop, propName } = props[i];\n if (prop === null || prop === undefined) {\n console.error(\n `No ${propName} specified for ${component} component - prop '${propName}' (web components) / '${kebabToCamelCase(\n propName\n )}' (react) required`\n );\n }\n }\n};\n\nexport const kebabToCamelCase = (kebabCase: string): string => {\n kebabCase = kebabCase.toLowerCase();\n const individualWords: string[] = kebabCase.split(\"-\");\n let camelCase = individualWords[0];\n for (let i = 1; i < individualWords.length; i++) {\n camelCase +=\n individualWords[i].substring(0, 1).toUpperCase() +\n individualWords[i].substring(1);\n }\n return camelCase;\n};\n\nexport const checkResizeObserver = (\n callbackFn: IcCallbackFunctionNoReturn\n): void => {\n if (\n typeof window !== \"undefined\" &&\n typeof window.ResizeObserver !== \"undefined\"\n ) {\n callbackFn();\n }\n};\n\nconst hex2dec = function (v: string) {\n return parseInt(v, 16);\n};\n\nexport const hexToRgba = (hex: string): IcColorRGBA => {\n let c;\n if (hex.length === 4) {\n c = hex.replace(\"#\", \"\").split(\"\");\n return {\n r: hex2dec(c[0] + c[0]),\n g: hex2dec(c[1] + c[1]),\n b: hex2dec(c[2] + c[2]),\n a: 1,\n };\n } else {\n return {\n r: hex2dec(hex.slice(1, 3)),\n g: hex2dec(hex.slice(3, 5)),\n b: hex2dec(hex.slice(5)),\n a: 1,\n };\n }\n};\n\nexport const rgbaStrToObj = (rgbaStr: string): IcColorRGBA => {\n const fourthChar = rgbaStr.slice(3, 4);\n let colorRGBA: IcColorRGBA;\n if (fourthChar.toLowerCase() === \"a\") {\n colorRGBA = { r: null, g: null, b: null, a: null };\n const rgba = rgbaStr\n .substring(5, rgbaStr.length - 1)\n .replace(/ /g, \"\")\n .split(\",\");\n colorRGBA.r = Number(rgba[0]);\n colorRGBA.g = Number(rgba[1]);\n colorRGBA.b = Number(rgba[2]);\n colorRGBA.a = Number(rgba[3]);\n } else {\n colorRGBA = { r: null, g: null, b: null, a: 1 };\n const rgb = rgbaStr\n .substring(4, rgbaStr.length - 1)\n .replace(/ /g, \"\")\n .split(\",\");\n colorRGBA.r = Number(rgb[0]);\n colorRGBA.g = Number(rgb[1]);\n colorRGBA.b = Number(rgb[2]);\n }\n\n return colorRGBA;\n};\n\nexport const elementOverflowsX = (element: HTMLElement): boolean => {\n return element.scrollWidth > element.clientWidth;\n};\n/**\n *\n * @param child - The child element\n * @returns string\n */\nexport const getParentElementType = (child: HTMLElement): string =>\n child.parentElement.tagName;\n\nexport const getParentElement = (child: HTMLElement): HTMLElement =>\n child.parentElement;\n\nexport const hasClassificationBanner = (): boolean => {\n return document.querySelector(\"ic-classification-banner:not([inline='true'])\")\n ? true\n : false;\n};\n\nexport const getForm = (el: HTMLElement): HTMLFormElement | null => {\n return el.closest(\"FORM\");\n};\n\nexport const addFormResetListener = (\n el: HTMLElement,\n callbackFn: IcCallbackFunctionNoReturn\n): void => {\n const form = getForm(el);\n if (form !== null) {\n form.addEventListener(\"reset\", callbackFn);\n }\n};\n\nexport const removeFormResetListener = (\n el: HTMLElement,\n callbackFn: IcCallbackFunctionNoReturn\n): void => {\n const form = getForm(el);\n if (form !== null) {\n form.removeEventListener(\"reset\", callbackFn);\n }\n};\n\nexport const pxToRem = (px: string, base = 16): string => {\n const tempPx = parseInt(px);\n return `${(1 / base) * tempPx}rem`;\n};\n\nexport const removeDisabledFalse = (\n disabled: boolean,\n element: HTMLElement\n): void => {\n if (!disabled) {\n element.removeAttribute(\"disabled\");\n }\n};\n"],"version":3}
|