@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,466 @@
|
|
1
|
+
import { newSpecPage } from "@stencil/core/testing";
|
2
|
+
import { Button } from "../../../ic-button/ic-button";
|
3
|
+
import { DataTable } from "../../ic-data-table";
|
4
|
+
import { Pagination } from "../../../ic-pagination/ic-pagination";
|
5
|
+
import { PaginationBar } from "../../../ic-pagination-bar/ic-pagination-bar";
|
6
|
+
import { PaginationItem } from "../../../ic-pagination-item/ic-pagination-item";
|
7
|
+
import { h } from "@stencil/core";
|
8
|
+
beforeAll(() => {
|
9
|
+
jest.spyOn(console, "warn").mockImplementation(jest.fn());
|
10
|
+
});
|
11
|
+
const icDataTable = "ic-unstable-data-table";
|
12
|
+
const employeeNumber = "Employee number";
|
13
|
+
const name1 = "John Smith";
|
14
|
+
const name2 = "Sally Jones";
|
15
|
+
const name3 = "Luke Fisher";
|
16
|
+
const name4 = "Jane Lock";
|
17
|
+
const name5 = "Margaret Hale";
|
18
|
+
const highlightedRowClass = "table-row-selected";
|
19
|
+
const columns = [
|
20
|
+
{ key: "name", title: "Name", dataType: "string" },
|
21
|
+
{ key: "age", title: "Age", dataType: "number" },
|
22
|
+
{ key: "department", title: "Department", dataType: "string" },
|
23
|
+
{ key: "employeeNumber", title: employeeNumber, dataType: "number" },
|
24
|
+
];
|
25
|
+
const columnsWithRowHeader = [
|
26
|
+
{ key: "header", title: employeeNumber, dataType: "number" },
|
27
|
+
{ key: "name", title: "Name", dataType: "string" },
|
28
|
+
{ key: "age", title: "Age", dataType: "number" },
|
29
|
+
{ key: "department", title: "Department", dataType: "string" },
|
30
|
+
];
|
31
|
+
const columnsWithOverrides = [
|
32
|
+
{ key: "name", title: "Name", dataType: "string", cellAlignment: "middle" },
|
33
|
+
{
|
34
|
+
key: "age",
|
35
|
+
title: "Age",
|
36
|
+
dataType: "number",
|
37
|
+
columnAlignment: { horizontal: "middle", vertical: "center" },
|
38
|
+
},
|
39
|
+
{
|
40
|
+
key: "department",
|
41
|
+
title: "Department",
|
42
|
+
dataType: "string",
|
43
|
+
emphasis: "high",
|
44
|
+
},
|
45
|
+
{
|
46
|
+
key: "employeeNumber",
|
47
|
+
title: employeeNumber,
|
48
|
+
dataType: "number",
|
49
|
+
emphasis: "low",
|
50
|
+
},
|
51
|
+
];
|
52
|
+
const data = [
|
53
|
+
{ name: name1, age: 36, department: "Accounts", employeeNumber: 1 },
|
54
|
+
{
|
55
|
+
name: name2,
|
56
|
+
age: 32,
|
57
|
+
department: "Engineering",
|
58
|
+
employeeNumber: 2,
|
59
|
+
},
|
60
|
+
{ name: "Tim Rayes", age: 41, department: "Sales", employeeNumber: 3 },
|
61
|
+
{
|
62
|
+
name: name3,
|
63
|
+
age: "23",
|
64
|
+
department: "Engineering",
|
65
|
+
employeeNumber: 4,
|
66
|
+
},
|
67
|
+
{ name: name4, age: 34, department: "Engineering", employeeNumber: 5 },
|
68
|
+
{ name: name5, age: 45, department: "HR", employeeNumber: 6 },
|
69
|
+
];
|
70
|
+
const dataWithRowHeaders = [
|
71
|
+
{ header: { title: 1 }, name: name1, age: 36, department: "Accounts" },
|
72
|
+
{
|
73
|
+
header: { title: 2 },
|
74
|
+
name: name2,
|
75
|
+
age: 32,
|
76
|
+
department: "Engineering",
|
77
|
+
},
|
78
|
+
{ header: { title: 3 }, name: "Tim Rayes", age: 41, department: "Sales" },
|
79
|
+
{
|
80
|
+
header: { title: 4 },
|
81
|
+
name: name3,
|
82
|
+
age: "23",
|
83
|
+
department: "Engineering",
|
84
|
+
},
|
85
|
+
{
|
86
|
+
header: { title: 5 },
|
87
|
+
name: name4,
|
88
|
+
age: 34,
|
89
|
+
department: "Engineering",
|
90
|
+
},
|
91
|
+
{ header: { title: 6 }, name: name5, age: 45, department: "HR" },
|
92
|
+
];
|
93
|
+
const dataWithRowOverrides = [
|
94
|
+
{
|
95
|
+
header: { title: 1, rowAlignment: "middle", emphasis: "high" },
|
96
|
+
name: name1,
|
97
|
+
age: 36,
|
98
|
+
department: "Accounts",
|
99
|
+
},
|
100
|
+
{
|
101
|
+
header: { title: 2, rowAlignment: "top", emphasis: "low" },
|
102
|
+
name: name2,
|
103
|
+
age: 32,
|
104
|
+
department: "Engineering",
|
105
|
+
},
|
106
|
+
{
|
107
|
+
header: { title: 3, rowAlignment: "bottom", emphasis: "high" },
|
108
|
+
name: "Tim Rayes",
|
109
|
+
age: 41,
|
110
|
+
department: "Sales",
|
111
|
+
},
|
112
|
+
{
|
113
|
+
header: { title: 4, rowAlignment: "middle", emphasis: "low" },
|
114
|
+
name: name3,
|
115
|
+
age: "23",
|
116
|
+
department: "Engineering",
|
117
|
+
},
|
118
|
+
{
|
119
|
+
header: { title: 5, rowAlignment: "top", emphasis: "high" },
|
120
|
+
name: name4,
|
121
|
+
age: 34,
|
122
|
+
department: "Engineering",
|
123
|
+
},
|
124
|
+
{
|
125
|
+
header: { title: 6, rowAlignment: "bottom", emphasis: "low" },
|
126
|
+
name: name5,
|
127
|
+
age: 45,
|
128
|
+
department: "HR",
|
129
|
+
},
|
130
|
+
];
|
131
|
+
const dataWithObjects = [
|
132
|
+
{ name: name1, age: 36, department: "Accounts", employeeNumber: 1 },
|
133
|
+
{
|
134
|
+
name: name2,
|
135
|
+
age: 32,
|
136
|
+
department: "Engineering",
|
137
|
+
employeeNumber: 2,
|
138
|
+
},
|
139
|
+
{
|
140
|
+
name: { data: "Tim Rayes" },
|
141
|
+
age: 41,
|
142
|
+
department: "Sales",
|
143
|
+
employeeNumber: 3,
|
144
|
+
},
|
145
|
+
{
|
146
|
+
name: { data: name3 },
|
147
|
+
age: "23",
|
148
|
+
department: "Engineering",
|
149
|
+
employeeNumber: 4,
|
150
|
+
},
|
151
|
+
{ name: name4, age: 34, department: "Engineering", employeeNumber: 5 },
|
152
|
+
{ name: name5, age: 45, department: "HR", employeeNumber: 6 },
|
153
|
+
];
|
154
|
+
const dataWithCellOverrides = [
|
155
|
+
{
|
156
|
+
name: {
|
157
|
+
data: name1,
|
158
|
+
columnAlignment: { horizontal: "middle", vertical: "center" },
|
159
|
+
emphasis: "high",
|
160
|
+
},
|
161
|
+
age: 36,
|
162
|
+
department: "Accounts",
|
163
|
+
employeeNumber: 1,
|
164
|
+
},
|
165
|
+
{
|
166
|
+
name: {
|
167
|
+
data: name2,
|
168
|
+
columnAlignment: { horizontal: "top", vertical: "right" },
|
169
|
+
emphasis: "low",
|
170
|
+
},
|
171
|
+
age: 32,
|
172
|
+
department: "Engineering",
|
173
|
+
employeeNumber: 2,
|
174
|
+
},
|
175
|
+
{
|
176
|
+
name: {
|
177
|
+
data: "Tim Rayes",
|
178
|
+
columnAlignment: { horizontal: "bottom", vertical: "left" },
|
179
|
+
emphasis: "high",
|
180
|
+
},
|
181
|
+
age: 41,
|
182
|
+
department: "Sales",
|
183
|
+
employeeNumber: 3,
|
184
|
+
},
|
185
|
+
{
|
186
|
+
name: {
|
187
|
+
data: name3,
|
188
|
+
columnAlignment: { horizontal: "middle", vertical: "center" },
|
189
|
+
emphasis: "low",
|
190
|
+
},
|
191
|
+
age: "23",
|
192
|
+
department: "Engineering",
|
193
|
+
employeeNumber: 4,
|
194
|
+
},
|
195
|
+
{
|
196
|
+
name: {
|
197
|
+
data: name4,
|
198
|
+
columnAlignment: { horizontal: "top", vertical: "right" },
|
199
|
+
emphasis: "high",
|
200
|
+
},
|
201
|
+
age: 34,
|
202
|
+
department: "Engineering",
|
203
|
+
employeeNumber: 5,
|
204
|
+
},
|
205
|
+
{
|
206
|
+
name: {
|
207
|
+
data: name5,
|
208
|
+
columnAlignment: { horizontal: "bottom", vertical: "left" },
|
209
|
+
emphasis: "high",
|
210
|
+
},
|
211
|
+
age: 45,
|
212
|
+
department: "HR",
|
213
|
+
employeeNumber: 6,
|
214
|
+
},
|
215
|
+
];
|
216
|
+
const longData = [
|
217
|
+
{ name: name1, age: 36, department: "Accounts", employeeNumber: 1 },
|
218
|
+
{
|
219
|
+
name: name2,
|
220
|
+
age: 32,
|
221
|
+
department: "Engineering",
|
222
|
+
employeeNumber: 2,
|
223
|
+
},
|
224
|
+
{ name: "Tim Rayes", age: 41, department: "Sales", employeeNumber: 3 },
|
225
|
+
{
|
226
|
+
name: name3,
|
227
|
+
age: "23",
|
228
|
+
department: "Engineering",
|
229
|
+
employeeNumber: 4,
|
230
|
+
},
|
231
|
+
{ name: name4, age: 34, department: "Engineering", employeeNumber: 5 },
|
232
|
+
{ name: name5, age: 45, department: "HR", employeeNumber: 6 },
|
233
|
+
{ name: name1, age: 36, department: "Accounts", employeeNumber: 7 },
|
234
|
+
{
|
235
|
+
name: name2,
|
236
|
+
age: 32,
|
237
|
+
department: "Engineering",
|
238
|
+
employeeNumber: 8,
|
239
|
+
},
|
240
|
+
{ name: "Tim Rayes", age: 41, department: "Sales", employeeNumber: 9 },
|
241
|
+
{
|
242
|
+
name: name3,
|
243
|
+
age: "23",
|
244
|
+
department: "Engineering",
|
245
|
+
employeeNumber: 10,
|
246
|
+
},
|
247
|
+
{ name: name4, age: 34, department: "Engineering", employeeNumber: 11 },
|
248
|
+
{ name: name5, age: 45, department: "HR", employeeNumber: 12 },
|
249
|
+
{ name: name1, age: 36, department: "Accounts", employeeNumber: 13 },
|
250
|
+
{
|
251
|
+
name: name2,
|
252
|
+
age: 32,
|
253
|
+
department: "Engineering",
|
254
|
+
employeeNumber: 14,
|
255
|
+
},
|
256
|
+
{ name: "Tim Rayes", age: 41, department: "Sales", employeeNumber: 15 },
|
257
|
+
{
|
258
|
+
name: name3,
|
259
|
+
age: "23",
|
260
|
+
department: "Engineering",
|
261
|
+
employeeNumber: 16,
|
262
|
+
},
|
263
|
+
{ name: name4, age: 34, department: "Engineering", employeeNumber: 17 },
|
264
|
+
{ name: name5, age: 45, department: "HR", employeeNumber: 18 },
|
265
|
+
{ name: name1, age: 36, department: "Accounts", employeeNumber: 19 },
|
266
|
+
{
|
267
|
+
name: name2,
|
268
|
+
age: 32,
|
269
|
+
department: "Engineering",
|
270
|
+
employeeNumber: 20,
|
271
|
+
},
|
272
|
+
];
|
273
|
+
describe(icDataTable, () => {
|
274
|
+
it("should render", async () => {
|
275
|
+
const page = await newSpecPage({
|
276
|
+
components: [DataTable],
|
277
|
+
template: () => (h("ic-unstable-data-table", { caption: "test table", columns: columns, data: data })),
|
278
|
+
});
|
279
|
+
expect(page.root).toMatchSnapshot();
|
280
|
+
});
|
281
|
+
it("should render with row headers", async () => {
|
282
|
+
const page = await newSpecPage({
|
283
|
+
components: [DataTable],
|
284
|
+
template: () => (h("ic-unstable-data-table", { caption: "test table", columns: columnsWithRowHeader, data: dataWithRowHeaders })),
|
285
|
+
});
|
286
|
+
expect(page.root).toMatchSnapshot();
|
287
|
+
});
|
288
|
+
it("should render embedded", async () => {
|
289
|
+
const page = await newSpecPage({
|
290
|
+
components: [DataTable],
|
291
|
+
template: () => (h("ic-unstable-data-table", { caption: "test table", columns: columns, data: data, embedded: true })),
|
292
|
+
});
|
293
|
+
expect(page.root).toMatchSnapshot();
|
294
|
+
});
|
295
|
+
it("should render sortable", async () => {
|
296
|
+
const page = await newSpecPage({
|
297
|
+
components: [DataTable],
|
298
|
+
template: () => (h("ic-unstable-data-table", { caption: "test table", columns: columns, data: data, sortable: true })),
|
299
|
+
});
|
300
|
+
expect(page.root).toMatchSnapshot();
|
301
|
+
});
|
302
|
+
it("should render with pagination", async () => {
|
303
|
+
const page = await newSpecPage({
|
304
|
+
components: [DataTable],
|
305
|
+
template: () => (h("ic-unstable-data-table", { caption: "test table", columns: columns, data: longData, "show-pagination": true })),
|
306
|
+
});
|
307
|
+
expect(page.root).toMatchSnapshot();
|
308
|
+
});
|
309
|
+
it("should render with column overrides", async () => {
|
310
|
+
const page = await newSpecPage({
|
311
|
+
components: [DataTable],
|
312
|
+
template: () => (h("ic-unstable-data-table", { caption: "test table", columns: columnsWithOverrides, data: data, "show-pagination": true })),
|
313
|
+
});
|
314
|
+
expect(page.root).toMatchSnapshot();
|
315
|
+
});
|
316
|
+
it("should render with row overrides", async () => {
|
317
|
+
const page = await newSpecPage({
|
318
|
+
components: [DataTable],
|
319
|
+
template: () => (h("ic-unstable-data-table", { caption: "test table", columns: columnsWithRowHeader, data: dataWithRowOverrides, "show-pagination": true })),
|
320
|
+
});
|
321
|
+
expect(page.root).toMatchSnapshot();
|
322
|
+
});
|
323
|
+
it("should render with cell overrides", async () => {
|
324
|
+
const page = await newSpecPage({
|
325
|
+
components: [DataTable],
|
326
|
+
template: () => (h("ic-unstable-data-table", { caption: "test table", columns: columns, data: dataWithCellOverrides, "show-pagination": true })),
|
327
|
+
});
|
328
|
+
expect(page.root).toMatchSnapshot();
|
329
|
+
});
|
330
|
+
it("should return correct alignment from getCellAlignment", async () => {
|
331
|
+
const page = await newSpecPage({
|
332
|
+
components: [DataTable],
|
333
|
+
template: () => (h("ic-unstable-data-table", { caption: "test table", columns: columns, data: dataWithCellOverrides, "show-pagination": true })),
|
334
|
+
});
|
335
|
+
let cellAlignment = await page.rootInstance.getCellAlignment({
|
336
|
+
data: name1,
|
337
|
+
cellAlignment: { horizontal: "middle", vertical: "center" },
|
338
|
+
emphasis: "high",
|
339
|
+
}, "vertical");
|
340
|
+
expect(cellAlignment).toBe("center");
|
341
|
+
cellAlignment = await page.rootInstance.getCellAlignment({
|
342
|
+
data: name1,
|
343
|
+
cellAlignment: { horizontal: "middle", vertical: "center" },
|
344
|
+
emphasis: "high",
|
345
|
+
}, "horizontal");
|
346
|
+
expect(cellAlignment).toBe("middle");
|
347
|
+
cellAlignment = await page.rootInstance.getCellAlignment({
|
348
|
+
data: name1,
|
349
|
+
columnAlignment: { horizontal: "middle", vertical: "center" },
|
350
|
+
emphasis: "high",
|
351
|
+
}, "horizontal");
|
352
|
+
expect(cellAlignment).toBeUndefined;
|
353
|
+
cellAlignment = await page.rootInstance.getCellAlignment(name1, "horizontal");
|
354
|
+
expect(cellAlignment).toBeUndefined;
|
355
|
+
cellAlignment = await page.rootInstance.getCellAlignment(undefined, "horizontal");
|
356
|
+
expect(cellAlignment).toBeUndefined;
|
357
|
+
});
|
358
|
+
it("should change page when the pagination items are clicked", async () => {
|
359
|
+
const page = await newSpecPage({
|
360
|
+
components: [
|
361
|
+
Button,
|
362
|
+
DataTable,
|
363
|
+
Pagination,
|
364
|
+
PaginationBar,
|
365
|
+
PaginationItem,
|
366
|
+
],
|
367
|
+
template: () => (h("ic-unstable-data-table", { caption: "test table", columns: columns, data: longData, "show-pagination": true })),
|
368
|
+
});
|
369
|
+
await page.waitForChanges();
|
370
|
+
const dataTable = document.querySelector(icDataTable);
|
371
|
+
const paginationBar = dataTable.shadowRoot.querySelector("ic-pagination-bar");
|
372
|
+
const pagination = paginationBar.shadowRoot.querySelector("ic-pagination");
|
373
|
+
const paginationItem = pagination.shadowRoot.querySelector("ic-pagination-item");
|
374
|
+
let currentPage = paginationItem.shadowRoot.querySelector("ic-typography").textContent;
|
375
|
+
const nextPageButton = pagination.shadowRoot.querySelector("#next-page-button");
|
376
|
+
expect(currentPage).toEqual("Page 1");
|
377
|
+
nextPageButton.focus();
|
378
|
+
nextPageButton.click();
|
379
|
+
const icPageChangeEvent = new CustomEvent("icPageChange", {
|
380
|
+
detail: { value: "2" },
|
381
|
+
});
|
382
|
+
dataTable.dispatchEvent(icPageChangeEvent);
|
383
|
+
currentPage = "Page 2";
|
384
|
+
page.rootInstance.updateScrollOffset();
|
385
|
+
await page.waitForChanges();
|
386
|
+
expect(currentPage).toEqual("Page 2");
|
387
|
+
});
|
388
|
+
it("should change number of items per page when select dropdown is changed", async () => {
|
389
|
+
const page = await newSpecPage({
|
390
|
+
components: [DataTable, PaginationBar],
|
391
|
+
template: () => (h("ic-unstable-data-table", { caption: "test table", columns: columns, data: longData, "show-pagination": true, paginationOptions: {
|
392
|
+
itemsPerPage: [
|
393
|
+
{ label: "10", value: "10" },
|
394
|
+
{ label: "25", value: "25" },
|
395
|
+
{ label: "50", value: "50" },
|
396
|
+
],
|
397
|
+
type: "data",
|
398
|
+
} })),
|
399
|
+
});
|
400
|
+
await page.waitForChanges();
|
401
|
+
const dataTable = document.querySelector(icDataTable);
|
402
|
+
const paginationBar = dataTable.shadowRoot.querySelector("ic-pagination-bar");
|
403
|
+
const itemsPerPageLabel = paginationBar.shadowRoot.querySelector(".item-pagination-label");
|
404
|
+
page.rootInstance.rowsPerPage = 10;
|
405
|
+
expect(itemsPerPageLabel.textContent).toEqual("1 - 10 of 20 items");
|
406
|
+
const icPageChangeEvent = new CustomEvent("icPageChange", {
|
407
|
+
detail: { value: "1" },
|
408
|
+
});
|
409
|
+
const icItemsPerPageChangeEventUp = new CustomEvent("icItemsPerPageChange", {
|
410
|
+
detail: { value: "20" },
|
411
|
+
});
|
412
|
+
const icItemsPerPageChangeEventDown = new CustomEvent("icItemsPerPageChange", { detail: { value: "10" } });
|
413
|
+
dataTable.dispatchEvent(icItemsPerPageChangeEventUp);
|
414
|
+
page.rootInstance.rowsPerPage = 20;
|
415
|
+
dataTable.dispatchEvent(icPageChangeEvent);
|
416
|
+
page.rootInstance.toRow = 20;
|
417
|
+
await page.waitForChanges();
|
418
|
+
dataTable.dispatchEvent(icItemsPerPageChangeEventDown);
|
419
|
+
page.rootInstance.previousRowsPerPage = 20;
|
420
|
+
page.rootInstance.rowsPerPage = 10;
|
421
|
+
dataTable.dispatchEvent(icPageChangeEvent);
|
422
|
+
await page.waitForChanges();
|
423
|
+
expect(itemsPerPageLabel.textContent).toEqual("1 - 10 of 20 items");
|
424
|
+
});
|
425
|
+
it("should sort data when the sort button is clicked", async () => {
|
426
|
+
const page = await newSpecPage({
|
427
|
+
components: [Button, DataTable],
|
428
|
+
template: () => (h("ic-unstable-data-table", { caption: "test table", columns: columns, data: dataWithObjects, sortable: true })),
|
429
|
+
});
|
430
|
+
const dataTable = document.querySelector(icDataTable);
|
431
|
+
const sortButton = Array.from(dataTable.shadowRoot.querySelectorAll(".sort-button"));
|
432
|
+
expect(page.root).toMatchSnapshot();
|
433
|
+
sortButton[0].click();
|
434
|
+
await page.waitForChanges();
|
435
|
+
expect(page.root).toMatchSnapshot();
|
436
|
+
sortButton[0].click();
|
437
|
+
await page.waitForChanges();
|
438
|
+
expect(page.root).toMatchSnapshot();
|
439
|
+
sortButton[1].click();
|
440
|
+
await page.waitForChanges();
|
441
|
+
expect(page.root).toMatchSnapshot();
|
442
|
+
});
|
443
|
+
it("should highlight the correct row when clicked", async () => {
|
444
|
+
const page = await newSpecPage({
|
445
|
+
components: [Button, DataTable],
|
446
|
+
template: () => (h("ic-unstable-data-table", { caption: "test table", columns: columns, data: data })),
|
447
|
+
});
|
448
|
+
const dataTable = document.querySelector(icDataTable);
|
449
|
+
const rows = dataTable.shadowRoot.querySelectorAll("tr");
|
450
|
+
rows[1].click();
|
451
|
+
await page.waitForChanges();
|
452
|
+
expect(rows[1]).toHaveClass(highlightedRowClass);
|
453
|
+
rows[2].click();
|
454
|
+
await page.waitForChanges();
|
455
|
+
expect(rows[1]).not.toHaveClass(highlightedRowClass);
|
456
|
+
expect(rows[2]).toHaveClass(highlightedRowClass);
|
457
|
+
page.win.dispatchEvent(new MouseEvent("click", {
|
458
|
+
bubbles: true,
|
459
|
+
cancelable: true,
|
460
|
+
}));
|
461
|
+
await page.waitForChanges();
|
462
|
+
expect(rows[1]).not.toHaveClass(highlightedRowClass);
|
463
|
+
expect(rows[2]).not.toHaveClass(highlightedRowClass);
|
464
|
+
});
|
465
|
+
});
|
466
|
+
//# sourceMappingURL=ic-data-table.spec.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ic-data-table.spec.js","sourceRoot":"","sources":["../../../../../src/components/ic-data-table/test/basic/ic-data-table.spec.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAChF,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAGlC,SAAS,CAAC,GAAG,EAAE;EACb,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC;AAC5D,CAAC,CAAC,CAAC;AAEH,MAAM,WAAW,GAAG,wBAAwB,CAAC;AAC7C,MAAM,cAAc,GAAG,iBAAiB,CAAC;AACzC,MAAM,KAAK,GAAG,YAAY,CAAC;AAC3B,MAAM,KAAK,GAAG,aAAa,CAAC;AAC5B,MAAM,KAAK,GAAG,aAAa,CAAC;AAC5B,MA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AC,CAAC,CAAC","sourcesContent":["import { newSpecPage } from \"@stencil/core/testing\";\nimport { Button } from \"../../../ic-button/ic-button\";\nimport { DataTable } from \"../../ic-data-table\";\nimport { Pagination } from \"../../../ic-pagination/ic-pagination\";\nimport { PaginationBar } from \"../../../ic-pagination-bar/ic-pagination-bar\";\nimport { PaginationItem } from \"../../../ic-pagination-item/ic-pagination-item\";\nimport { h } from \"@stencil/core\";\nimport { IcDataTableColumnObject } from \"../../ic-data-table.types\";\n\nbeforeAll(() => {\n jest.spyOn(console, \"warn\").mockImplementation(jest.fn());\n});\n\nconst icDataTable = \"ic-unstable-data-table\";\nconst employeeNumber = \"Employee number\";\nconst name1 = \"John Smith\";\nconst name2 = \"Sally Jones\";\nconst name3 = \"Luke Fisher\";\nconst name4 = \"Jane Lock\";\nconst name5 = \"Margaret Hale\";\nconst highlightedRowClass = \"table-row-selected\";\n\nconst columns: IcDataTableColumnObject[] = [\n { key: \"name\", title: \"Name\", dataType: \"string\" },\n { key: \"age\", title: \"Age\", dataType: \"number\" },\n { key: \"department\", title: \"Department\", dataType: \"string\" },\n { key: \"employeeNumber\", title: employeeNumber, dataType: \"number\" },\n];\n\nconst columnsWithRowHeader: IcDataTableColumnObject[] = [\n { key: \"header\", title: employeeNumber, dataType: \"number\" },\n { key: \"name\", title: \"Name\", dataType: \"string\" },\n { key: \"age\", title: \"Age\", dataType: \"number\" },\n { key: \"department\", title: \"Department\", dataType: \"string\" },\n];\n\nconst columnsWithOverrides: IcDataTableColumnObject[] = [\n { key: \"name\", title: \"Name\", dataType: \"string\", cellAlignment: \"middle\" },\n {\n key: \"age\",\n title: \"Age\",\n dataType: \"number\",\n columnAlignment: { horizontal: \"middle\", vertical: \"center\" },\n },\n {\n key: \"department\",\n title: \"Department\",\n dataType: \"string\",\n emphasis: \"high\",\n },\n {\n key: \"employeeNumber\",\n title: employeeNumber,\n dataType: \"number\",\n emphasis: \"low\",\n },\n];\n\nconst data = [\n { name: name1, age: 36, department: \"Accounts\", employeeNumber: 1 },\n {\n name: name2,\n age: 32,\n department: \"Engineering\",\n employeeNumber: 2,\n },\n { name: \"Tim Rayes\", age: 41, department: \"Sales\", employeeNumber: 3 },\n {\n name: name3,\n age: \"23\",\n department: \"Engineering\",\n employeeNumber: 4,\n },\n { name: name4, age: 34, department: \"Engineering\", employeeNumber: 5 },\n { name: name5, age: 45, department: \"HR\", employeeNumber: 6 },\n];\n\nconst dataWithRowHeaders = [\n { header: { title: 1 }, name: name1, age: 36, department: \"Accounts\" },\n {\n header: { title: 2 },\n name: name2,\n age: 32,\n department: \"Engineering\",\n },\n { header: { title: 3 }, name: \"Tim Rayes\", age: 41, department: \"Sales\" },\n {\n header: { title: 4 },\n name: name3,\n age: \"23\",\n department: \"Engineering\",\n },\n {\n header: { title: 5 },\n name: name4,\n age: 34,\n department: \"Engineering\",\n },\n { header: { title: 6 }, name: name5, age: 45, department: \"HR\" },\n];\n\nconst dataWithRowOverrides = [\n {\n header: { title: 1, rowAlignment: \"middle\", emphasis: \"high\" },\n name: name1,\n age: 36,\n department: \"Accounts\",\n },\n {\n header: { title: 2, rowAlignment: \"top\", emphasis: \"low\" },\n name: name2,\n age: 32,\n department: \"Engineering\",\n },\n {\n header: { title: 3, rowAlignment: \"bottom\", emphasis: \"high\" },\n name: \"Tim Rayes\",\n age: 41,\n department: \"Sales\",\n },\n {\n header: { title: 4, rowAlignment: \"middle\", emphasis: \"low\" },\n name: name3,\n age: \"23\",\n department: \"Engineering\",\n },\n {\n header: { title: 5, rowAlignment: \"top\", emphasis: \"high\" },\n name: name4,\n age: 34,\n department: \"Engineering\",\n },\n {\n header: { title: 6, rowAlignment: \"bottom\", emphasis: \"low\" },\n name: name5,\n age: 45,\n department: \"HR\",\n },\n];\n\nconst dataWithObjects = [\n { name: name1, age: 36, department: \"Accounts\", employeeNumber: 1 },\n {\n name: name2,\n age: 32,\n department: \"Engineering\",\n employeeNumber: 2,\n },\n {\n name: { data: \"Tim Rayes\" },\n age: 41,\n department: \"Sales\",\n employeeNumber: 3,\n },\n {\n name: { data: name3 },\n age: \"23\",\n department: \"Engineering\",\n employeeNumber: 4,\n },\n { name: name4, age: 34, department: \"Engineering\", employeeNumber: 5 },\n { name: name5, age: 45, department: \"HR\", employeeNumber: 6 },\n];\n\nconst dataWithCellOverrides = [\n {\n name: {\n data: name1,\n columnAlignment: { horizontal: \"middle\", vertical: \"center\" },\n emphasis: \"high\",\n },\n age: 36,\n department: \"Accounts\",\n employeeNumber: 1,\n },\n {\n name: {\n data: name2,\n columnAlignment: { horizontal: \"top\", vertical: \"right\" },\n emphasis: \"low\",\n },\n age: 32,\n department: \"Engineering\",\n employeeNumber: 2,\n },\n {\n name: {\n data: \"Tim Rayes\",\n columnAlignment: { horizontal: \"bottom\", vertical: \"left\" },\n emphasis: \"high\",\n },\n age: 41,\n department: \"Sales\",\n employeeNumber: 3,\n },\n {\n name: {\n data: name3,\n columnAlignment: { horizontal: \"middle\", vertical: \"center\" },\n emphasis: \"low\",\n },\n age: \"23\",\n department: \"Engineering\",\n employeeNumber: 4,\n },\n {\n name: {\n data: name4,\n columnAlignment: { horizontal: \"top\", vertical: \"right\" },\n emphasis: \"high\",\n },\n age: 34,\n department: \"Engineering\",\n employeeNumber: 5,\n },\n {\n name: {\n data: name5,\n columnAlignment: { horizontal: \"bottom\", vertical: \"left\" },\n emphasis: \"high\",\n },\n age: 45,\n department: \"HR\",\n employeeNumber: 6,\n },\n];\n\nconst longData = [\n { name: name1, age: 36, department: \"Accounts\", employeeNumber: 1 },\n {\n name: name2,\n age: 32,\n department: \"Engineering\",\n employeeNumber: 2,\n },\n { name: \"Tim Rayes\", age: 41, department: \"Sales\", employeeNumber: 3 },\n {\n name: name3,\n age: \"23\",\n department: \"Engineering\",\n employeeNumber: 4,\n },\n { name: name4, age: 34, department: \"Engineering\", employeeNumber: 5 },\n { name: name5, age: 45, department: \"HR\", employeeNumber: 6 },\n { name: name1, age: 36, department: \"Accounts\", employeeNumber: 7 },\n {\n name: name2,\n age: 32,\n department: \"Engineering\",\n employeeNumber: 8,\n },\n { name: \"Tim Rayes\", age: 41, department: \"Sales\", employeeNumber: 9 },\n {\n name: name3,\n age: \"23\",\n department: \"Engineering\",\n employeeNumber: 10,\n },\n { name: name4, age: 34, department: \"Engineering\", employeeNumber: 11 },\n { name: name5, age: 45, department: \"HR\", employeeNumber: 12 },\n { name: name1, age: 36, department: \"Accounts\", employeeNumber: 13 },\n {\n name: name2,\n age: 32,\n department: \"Engineering\",\n employeeNumber: 14,\n },\n { name: \"Tim Rayes\", age: 41, department: \"Sales\", employeeNumber: 15 },\n {\n name: name3,\n age: \"23\",\n department: \"Engineering\",\n employeeNumber: 16,\n },\n { name: name4, age: 34, department: \"Engineering\", employeeNumber: 17 },\n { name: name5, age: 45, department: \"HR\", employeeNumber: 18 },\n { name: name1, age: 36, department: \"Accounts\", employeeNumber: 19 },\n {\n name: name2,\n age: 32,\n department: \"Engineering\",\n employeeNumber: 20,\n },\n];\n\ndescribe(icDataTable, () => {\n it(\"should render\", async () => {\n const page = await newSpecPage({\n components: [DataTable],\n template: () => (\n <ic-unstable-data-table\n caption=\"test table\"\n columns={columns}\n data={data}\n ></ic-unstable-data-table>\n ),\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render with row headers\", async () => {\n const page = await newSpecPage({\n components: [DataTable],\n template: () => (\n <ic-unstable-data-table\n caption=\"test table\"\n columns={columnsWithRowHeader}\n data={dataWithRowHeaders}\n ></ic-unstable-data-table>\n ),\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render embedded\", async () => {\n const page = await newSpecPage({\n components: [DataTable],\n template: () => (\n <ic-unstable-data-table\n caption=\"test table\"\n columns={columns}\n data={data}\n embedded\n ></ic-unstable-data-table>\n ),\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render sortable\", async () => {\n const page = await newSpecPage({\n components: [DataTable],\n template: () => (\n <ic-unstable-data-table\n caption=\"test table\"\n columns={columns}\n data={data}\n sortable\n ></ic-unstable-data-table>\n ),\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render with pagination\", async () => {\n const page = await newSpecPage({\n components: [DataTable],\n template: () => (\n <ic-unstable-data-table\n caption=\"test table\"\n columns={columns}\n data={longData}\n show-pagination\n ></ic-unstable-data-table>\n ),\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render with column overrides\", async () => {\n const page = await newSpecPage({\n components: [DataTable],\n template: () => (\n <ic-unstable-data-table\n caption=\"test table\"\n columns={columnsWithOverrides}\n data={data}\n show-pagination\n ></ic-unstable-data-table>\n ),\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render with row overrides\", async () => {\n const page = await newSpecPage({\n components: [DataTable],\n template: () => (\n <ic-unstable-data-table\n caption=\"test table\"\n columns={columnsWithRowHeader}\n data={dataWithRowOverrides}\n show-pagination\n ></ic-unstable-data-table>\n ),\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render with cell overrides\", async () => {\n const page = await newSpecPage({\n components: [DataTable],\n template: () => (\n <ic-unstable-data-table\n caption=\"test table\"\n columns={columns}\n data={dataWithCellOverrides}\n show-pagination\n ></ic-unstable-data-table>\n ),\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should return correct alignment from getCellAlignment\", async () => {\n const page = await newSpecPage({\n components: [DataTable],\n template: () => (\n <ic-unstable-data-table\n caption=\"test table\"\n columns={columns}\n data={dataWithCellOverrides}\n show-pagination\n ></ic-unstable-data-table>\n ),\n });\n\n let cellAlignment = await page.rootInstance.getCellAlignment(\n {\n data: name1,\n cellAlignment: { horizontal: \"middle\", vertical: \"center\" },\n emphasis: \"high\",\n },\n \"vertical\"\n );\n expect(cellAlignment).toBe(\"center\");\n\n cellAlignment = await page.rootInstance.getCellAlignment(\n {\n data: name1,\n cellAlignment: { horizontal: \"middle\", vertical: \"center\" },\n emphasis: \"high\",\n },\n \"horizontal\"\n );\n expect(cellAlignment).toBe(\"middle\");\n\n cellAlignment = await page.rootInstance.getCellAlignment(\n {\n data: name1,\n columnAlignment: { horizontal: \"middle\", vertical: \"center\" },\n emphasis: \"high\",\n },\n \"horizontal\"\n );\n expect(cellAlignment).toBeUndefined;\n\n cellAlignment = await page.rootInstance.getCellAlignment(\n name1,\n \"horizontal\"\n );\n expect(cellAlignment).toBeUndefined;\n\n cellAlignment = await page.rootInstance.getCellAlignment(\n undefined,\n \"horizontal\"\n );\n expect(cellAlignment).toBeUndefined;\n });\n\n it(\"should change page when the pagination items are clicked\", async () => {\n const page = await newSpecPage({\n components: [\n Button,\n DataTable,\n Pagination,\n PaginationBar,\n PaginationItem,\n ],\n template: () => (\n <ic-unstable-data-table\n caption=\"test table\"\n columns={columns}\n data={longData}\n show-pagination\n ></ic-unstable-data-table>\n ),\n });\n\n await page.waitForChanges();\n\n const dataTable = document.querySelector(icDataTable);\n\n const paginationBar =\n dataTable.shadowRoot.querySelector(\"ic-pagination-bar\");\n\n const pagination = paginationBar.shadowRoot.querySelector(\"ic-pagination\");\n\n const paginationItem =\n pagination.shadowRoot.querySelector(\"ic-pagination-item\");\n\n let currentPage =\n paginationItem.shadowRoot.querySelector(\"ic-typography\").textContent;\n\n const nextPageButton = pagination.shadowRoot.querySelector(\n \"#next-page-button\"\n ) as HTMLButtonElement;\n\n expect(currentPage).toEqual(\"Page 1\");\n\n nextPageButton.focus();\n\n nextPageButton.click();\n\n const icPageChangeEvent = new CustomEvent(\"icPageChange\", {\n detail: { value: \"2\" },\n });\n\n dataTable.dispatchEvent(icPageChangeEvent);\n\n currentPage = \"Page 2\";\n\n page.rootInstance.updateScrollOffset();\n\n await page.waitForChanges();\n\n expect(currentPage).toEqual(\"Page 2\");\n });\n\n it(\"should change number of items per page when select dropdown is changed\", async () => {\n const page = await newSpecPage({\n components: [DataTable, PaginationBar],\n template: () => (\n <ic-unstable-data-table\n caption=\"test table\"\n columns={columns}\n data={longData}\n show-pagination\n paginationOptions={{\n itemsPerPage: [\n { label: \"10\", value: \"10\" },\n { label: \"25\", value: \"25\" },\n { label: \"50\", value: \"50\" },\n ],\n type: \"data\",\n }}\n ></ic-unstable-data-table>\n ),\n });\n\n await page.waitForChanges();\n\n const dataTable = document.querySelector(icDataTable);\n\n const paginationBar =\n dataTable.shadowRoot.querySelector(\"ic-pagination-bar\");\n\n const itemsPerPageLabel = paginationBar.shadowRoot.querySelector(\n \".item-pagination-label\"\n );\n\n page.rootInstance.rowsPerPage = 10;\n\n expect(itemsPerPageLabel.textContent).toEqual(\"1 - 10 of 20 items\");\n\n const icPageChangeEvent = new CustomEvent(\"icPageChange\", {\n detail: { value: \"1\" },\n });\n\n const icItemsPerPageChangeEventUp = new CustomEvent(\n \"icItemsPerPageChange\",\n {\n detail: { value: \"20\" },\n }\n );\n\n const icItemsPerPageChangeEventDown = new CustomEvent(\n \"icItemsPerPageChange\",\n { detail: { value: \"10\" } }\n );\n\n dataTable.dispatchEvent(icItemsPerPageChangeEventUp);\n\n page.rootInstance.rowsPerPage = 20;\n\n dataTable.dispatchEvent(icPageChangeEvent);\n\n page.rootInstance.toRow = 20;\n\n await page.waitForChanges();\n\n dataTable.dispatchEvent(icItemsPerPageChangeEventDown);\n\n page.rootInstance.previousRowsPerPage = 20;\n\n page.rootInstance.rowsPerPage = 10;\n\n dataTable.dispatchEvent(icPageChangeEvent);\n\n await page.waitForChanges();\n\n expect(itemsPerPageLabel.textContent).toEqual(\"1 - 10 of 20 items\");\n });\n\n it(\"should sort data when the sort button is clicked\", async () => {\n const page = await newSpecPage({\n components: [Button, DataTable],\n template: () => (\n <ic-unstable-data-table\n caption=\"test table\"\n columns={columns}\n data={dataWithObjects}\n sortable\n ></ic-unstable-data-table>\n ),\n });\n\n const dataTable = document.querySelector(icDataTable);\n\n const sortButton = Array.from(\n dataTable.shadowRoot.querySelectorAll(\".sort-button\")\n ) as HTMLIcButtonElement[];\n\n expect(page.root).toMatchSnapshot();\n\n sortButton[0].click();\n\n await page.waitForChanges();\n\n expect(page.root).toMatchSnapshot();\n\n sortButton[0].click();\n\n await page.waitForChanges();\n\n expect(page.root).toMatchSnapshot();\n\n sortButton[1].click();\n\n await page.waitForChanges();\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should highlight the correct row when clicked\", async () => {\n const page = await newSpecPage({\n components: [Button, DataTable],\n template: () => (\n <ic-unstable-data-table\n caption=\"test table\"\n columns={columns}\n data={data}\n ></ic-unstable-data-table>\n ),\n });\n\n const dataTable = document.querySelector(icDataTable);\n\n const rows = dataTable.shadowRoot.querySelectorAll(\"tr\");\n\n rows[1].click();\n\n await page.waitForChanges();\n\n expect(rows[1]).toHaveClass(highlightedRowClass);\n\n rows[2].click();\n\n await page.waitForChanges();\n\n expect(rows[1]).not.toHaveClass(highlightedRowClass);\n expect(rows[2]).toHaveClass(highlightedRowClass);\n\n page.win.dispatchEvent(\n new MouseEvent(\"click\", {\n bubbles: true,\n cancelable: true,\n })\n );\n\n await page.waitForChanges();\n\n expect(rows[1]).not.toHaveClass(highlightedRowClass);\n expect(rows[2]).not.toHaveClass(highlightedRowClass);\n });\n});\n"]}
|