@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,397 @@
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
2
|
+
import { d as defineCustomElement$g } from './ic-button2.js';
|
3
|
+
import { d as defineCustomElement$f } from './ic-input-component-container2.js';
|
4
|
+
import { d as defineCustomElement$e } from './ic-input-container2.js';
|
5
|
+
import { d as defineCustomElement$d } from './ic-input-label2.js';
|
6
|
+
import { d as defineCustomElement$c } from './ic-input-validation2.js';
|
7
|
+
import { d as defineCustomElement$b } from './ic-link2.js';
|
8
|
+
import { d as defineCustomElement$a } from './ic-loading-indicator2.js';
|
9
|
+
import { d as defineCustomElement$9 } from './ic-menu2.js';
|
10
|
+
import { d as defineCustomElement$8 } from './ic-pagination2.js';
|
11
|
+
import { d as defineCustomElement$7 } from './ic-pagination-bar2.js';
|
12
|
+
import { d as defineCustomElement$6 } from './ic-pagination-item2.js';
|
13
|
+
import { d as defineCustomElement$5 } from './ic-select2.js';
|
14
|
+
import { d as defineCustomElement$4 } from './ic-text-field2.js';
|
15
|
+
import { d as defineCustomElement$3 } from './ic-tooltip2.js';
|
16
|
+
import { d as defineCustomElement$2 } from './ic-typography2.js';
|
17
|
+
|
18
|
+
const unsortedIcon = `<svg focusable="false" aria-hidden="true" viewBox="0 0 24 24">
|
19
|
+
<path d="M9 3 5 6.99h3V14h2V6.99h3L9 3zm7 14.01V10h-2v7.01h-3L15 21l4-3.99h-3z"></path>
|
20
|
+
</svg>`;
|
21
|
+
|
22
|
+
const ascendingIcon = `<svg focusable="false" aria-hidden="true" viewBox="0 0 24 24" style="transform: rotate(-90deg);">
|
23
|
+
<path d="M16.01 11H4v2h12.01v3L20 12l-3.99-4z"></path>
|
24
|
+
</svg>`;
|
25
|
+
|
26
|
+
const descendingIcon = `<svg focusable="false" aria-hidden="true" viewBox="0 0 24 24" style="transform: rotate(90deg)">
|
27
|
+
<path d="M16.01 11H4v2h12.01v3L20 12l-3.99-4z"></path>
|
28
|
+
</svg>`;
|
29
|
+
|
30
|
+
const icDataTableCss = ":host{position:relative;display:block;height:100%;max-height:100%}.table-container{position:relative;height:calc(100% - var(--ic-space-xxxs))}.table-row-container{position:relative;height:100%;overflow:auto;transition:var(--ic-easing-transition-fast);overflow-anchor:none}:host([show-pagination=\"true\"]) .table-row-container{height:calc(100% - 3.5625rem)}table{table-layout:fixed;border-spacing:0;width:100%}.table-row-container:focus{outline:none;box-shadow:var(--ic-border-focus);border-radius:var(--ic-border-radius);transition:var(--ic-easing-transition-fast);z-index:1}:host([embedded=\"true\"]) .table-container{border:var(--ic-border-light)}.column-header-sticky{position:sticky;top:0;z-index:1}.column-header-overlay{position:sticky;top:0;z-index:1;box-shadow:0 0.375rem var(--ic-space-xs) calc(var(--ic-space-xxs * -1))\n rgb(0 0 0 / 20%)}.row-header-sticky{position:sticky;left:0}.column-header,.table-row{box-sizing:border-box}.table-row-selected{background-color:var(--ic-table-row-selected) !important}.sort-button{margin-left:auto}.sort-button:hover{background-color:var(--ic-action-dark-bg-hover)}.sort-button:active{background-color:var(--ic-action-dark-bg-active)}.sort-button svg{color:var(--ic-architectural-black)}.sort-button-unsorted svg{color:var(--ic-color-tertiary-text)}.table-density-dense{padding:var(--ic-space-xxs) var(--ic-space-xs) !important}.text-dense{font-size:var(--ic-font-size-label)}.table-density-spacious{padding:0.625rem var(--ic-space-xs) !important}.text-spacious{font-size:1.125rem}.column-header-text{font-weight:var(--ic-font-weight-bold)}.column-header,.row-header{text-align:left;padding:var(--ic-space-xs);background-color:var(--ic-architectural-40);border-right:var(--ic-border-light);border-bottom:var(--ic-border-light)}.column-header:last-child{border-right:none}.scrollable .column-header:last-child{border-right:var(--ic-border-light) !important}:host([embedded=\"true\"]) tr:last-child .table-cell,:host([embedded=\"true\"]) tr:last-child .row-header{border-bottom:none}.column-header-alignment-left,.row-header-alignment-left,.cell-alignment-left{text-align:left !important}.column-header-alignment-right,.row-header-alignment-right,.cell-alignment-right{text-align:right !important}.column-header-alignment-center,.row-header-alignment-center,.cell-alignment-center{text-align:center !important}.table-row:nth-child(even){background-color:var(--ic-architectural-20)}.table-cell{padding:var(--ic-space-xs);border-bottom:solid var(--ic-architectural-100) var(--ic-space-1px)}.data-type-string{text-align:left;vertical-align:top}.data-type-number,.data-type-date{text-align:right;vertical-align:top}.cell-alignment-top{vertical-align:top}.cell-alignment-middle{vertical-align:middle}.cell-alignment-bottom{vertical-align:bottom}.cell-emphasis-low{color:var(--ic-color-secondary-text)}.cell-emphasis-high{font-weight:var(--ic-font-weight-bold)}.pagination-container{background-color:var(--ic-architectural-40);border-top:var(--ic-border-light)}.screen-reader-sort-text,.table-caption{position:absolute;left:-100rem}.table-cell,.column-header,.row-header{word-wrap:break-word;white-space:pre-wrap}@media screen and (min-width: 576px){.column-header-inner-container{display:flex;align-items:center}}";
|
31
|
+
|
32
|
+
const DataTable = /*@__PURE__*/ proxyCustomElement(class DataTable extends HTMLElement {
|
33
|
+
constructor() {
|
34
|
+
super();
|
35
|
+
this.__registerHost();
|
36
|
+
this.__attachShadow();
|
37
|
+
this.SORT_ICONS = {
|
38
|
+
unsorted: unsortedIcon,
|
39
|
+
ascending: ascendingIcon,
|
40
|
+
descending: descendingIcon,
|
41
|
+
};
|
42
|
+
this.isObject = (value) => typeof value === "object";
|
43
|
+
this.notDefaultDensity = () => this.density !== "default";
|
44
|
+
this.getCellContent = (cell, dataType) => {
|
45
|
+
switch (dataType) {
|
46
|
+
case "element":
|
47
|
+
return undefined;
|
48
|
+
case "date":
|
49
|
+
return (cell instanceof Date ? cell : new Date(cell)).toLocaleDateString();
|
50
|
+
default:
|
51
|
+
return cell;
|
52
|
+
}
|
53
|
+
};
|
54
|
+
this.getCellAlignment = (cell, alignment) => {
|
55
|
+
if (this.isObject(cell) && Object.keys(cell).includes("cellAlignment")) {
|
56
|
+
return this.getObjectValue(this.getObjectValue(cell, "cellAlignment"), alignment);
|
57
|
+
}
|
58
|
+
};
|
59
|
+
this.createCells = (row) => {
|
60
|
+
const rowValues = Object.values(row);
|
61
|
+
const rowKeys = Object.keys(row);
|
62
|
+
let rowAlignment;
|
63
|
+
let rowEmphasis;
|
64
|
+
const headerIndex = rowKeys.indexOf("header");
|
65
|
+
if (headerIndex > -1) {
|
66
|
+
rowAlignment = this.getObjectValue(rowValues[headerIndex], "rowAlignment");
|
67
|
+
rowEmphasis = this.getObjectValue(rowValues[headerIndex], "emphasis");
|
68
|
+
}
|
69
|
+
return rowValues.map((cell, index) => {
|
70
|
+
const { columnAlignment, dataType, emphasis } = this.columns[index];
|
71
|
+
const cellValue = (key) => this.getObjectValue(cell, key);
|
72
|
+
return rowKeys[index] === "header" ? (h("th", { scope: "row", colSpan: cellValue("colspan"), class: {
|
73
|
+
["row-header"]: true,
|
74
|
+
[`row-header-alignment-${cellValue("cellAlignment")}`]: !!cellValue("cellAlignment"),
|
75
|
+
["row-header-sticky"]: this.stickyRowHeaders,
|
76
|
+
} }, cellValue("title"))) : (h("td", { innerHTML: dataType === "element" ? cell : null, class: {
|
77
|
+
["table-cell"]: true,
|
78
|
+
[`table-density-${this.density}`]: this.notDefaultDensity(),
|
79
|
+
[`data-type-${dataType}`]: true,
|
80
|
+
[`cell-alignment-${(columnAlignment === null || columnAlignment === void 0 ? void 0 : columnAlignment.horizontal) ||
|
81
|
+
this.getCellAlignment(cell, "horizontal")}`]: !!(columnAlignment === null || columnAlignment === void 0 ? void 0 : columnAlignment.horizontal) ||
|
82
|
+
!!this.getCellAlignment(cell, "horizontal"),
|
83
|
+
[`cell-alignment-${(columnAlignment === null || columnAlignment === void 0 ? void 0 : columnAlignment.vertical) ||
|
84
|
+
rowAlignment ||
|
85
|
+
this.getCellAlignment(cell, "vertical")}`]: !!(columnAlignment === null || columnAlignment === void 0 ? void 0 : columnAlignment.vertical) ||
|
86
|
+
!!rowAlignment ||
|
87
|
+
!!this.getCellAlignment(cell, "vertical"),
|
88
|
+
} }, h("ic-typography", { variant: "body", class: {
|
89
|
+
[`cell-emphasis-${(this.isObject(cell) && cellValue("emphasis")) ||
|
90
|
+
emphasis ||
|
91
|
+
rowEmphasis}`]: (this.isObject(cell) && !!cellValue("emphasis")) ||
|
92
|
+
!!emphasis ||
|
93
|
+
!!rowEmphasis,
|
94
|
+
[`text-${this.density}`]: this.notDefaultDensity(),
|
95
|
+
} }, this.isObject(cell) && dataType !== "date" ? (Object.keys(cell).includes("href") ? (h("ic-link", { href: cellValue("href") }, cellValue("data"))) : (cellValue("data"))) : (this.getCellContent(cell, dataType)))));
|
96
|
+
});
|
97
|
+
};
|
98
|
+
this.createColumnHeaders = () => {
|
99
|
+
return this.columns.map(({ cellAlignment, colspan, key, title }) => (h("th", { scope: "col", class: {
|
100
|
+
["column-header"]: true,
|
101
|
+
[`column-header-alignment-${cellAlignment}`]: !!cellAlignment,
|
102
|
+
[`table-density-${this.density}`]: this.notDefaultDensity(),
|
103
|
+
}, colSpan: colspan }, this.sortable ? (h("div", { class: "column-header-inner-container" }, h("ic-typography", { variant: "body", class: {
|
104
|
+
["column-header-text"]: true,
|
105
|
+
[`text-${this.density}`]: this.notDefaultDensity(),
|
106
|
+
} }, title), h("ic-button", { variant: "icon", id: `sort-button-${key}`, "aria-label": this.getSortButtonLabel(key),
|
107
|
+
// eslint-disable-next-line react/jsx-no-bind
|
108
|
+
onClick: () => this.sortRows(key), innerHTML: this.SORT_ICONS[this.sortedColumn === key
|
109
|
+
? this.sortedColumnOrder
|
110
|
+
: "unsorted"], class: {
|
111
|
+
["sort-button"]: true,
|
112
|
+
["sort-button-unsorted"]: this.sortedColumn !== key ||
|
113
|
+
this.sortedColumnOrder === "unsorted",
|
114
|
+
} }))) : (h("ic-typography", { variant: "body", class: {
|
115
|
+
["column-header-text"]: true,
|
116
|
+
[`text-${this.density}`]: this.notDefaultDensity(),
|
117
|
+
} }, title)))));
|
118
|
+
};
|
119
|
+
this.createRows = () => {
|
120
|
+
const data = this.showPagination
|
121
|
+
? this.data.slice(this.fromRow, this.toRow)
|
122
|
+
: this.data.slice();
|
123
|
+
return data
|
124
|
+
.sort(!this.sortable ? undefined : this.getSortFunction())
|
125
|
+
.map((row) => (h("tr", { onClick: () => (this.selectedRow = this.selectedRow !== row && row), class: {
|
126
|
+
["table-row"]: true,
|
127
|
+
["table-row-selected"]: this.selectedRow === row,
|
128
|
+
} }, this.createCells(row))));
|
129
|
+
};
|
130
|
+
this.getObjectValue = (cell, key) => {
|
131
|
+
return Object.values(cell)[Object.keys(cell).indexOf(key)];
|
132
|
+
};
|
133
|
+
this.getSortButtonLabel = (key) => {
|
134
|
+
let label = "";
|
135
|
+
const getNextSortOption = (option) => {
|
136
|
+
const sortOrders = this.sortOptions.sortOrders;
|
137
|
+
return sortOrders[(sortOrders.indexOf(option) + 1) % sortOrders.length];
|
138
|
+
};
|
139
|
+
if (this.sortedColumn === key) {
|
140
|
+
const sortOption = getNextSortOption(this.sortedColumnOrder);
|
141
|
+
label = sortOption !== "unsorted" ? `Sort ${sortOption}` : "Remove sort";
|
142
|
+
}
|
143
|
+
else {
|
144
|
+
label = `Sort ${getNextSortOption("unsorted")}`;
|
145
|
+
}
|
146
|
+
return label;
|
147
|
+
};
|
148
|
+
this.getComparison = (targetRow, comparisonRow) => {
|
149
|
+
const targetRowValue = targetRow[this.sortedColumn];
|
150
|
+
const comparisonRowValue = comparisonRow[this.sortedColumn];
|
151
|
+
return this.columns.find((col) => col.key === this.sortedColumn)
|
152
|
+
.dataType === "date"
|
153
|
+
? new Date(targetRowValue).valueOf() -
|
154
|
+
new Date(comparisonRowValue).valueOf()
|
155
|
+
: String(this.isObject(targetRowValue)
|
156
|
+
? Object.values(targetRowValue)[0]
|
157
|
+
: targetRowValue).localeCompare(String(this.isObject(comparisonRowValue)
|
158
|
+
? Object.values(comparisonRowValue)[0]
|
159
|
+
: comparisonRowValue), undefined, { numeric: true, sensitivity: "base" });
|
160
|
+
};
|
161
|
+
this.getSortFunction = () => {
|
162
|
+
switch (this.sortedColumnOrder) {
|
163
|
+
case "ascending":
|
164
|
+
return (a, b) => this.getComparison(a, b);
|
165
|
+
case "descending":
|
166
|
+
return (a, b) => this.getComparison(b, a);
|
167
|
+
default:
|
168
|
+
return undefined;
|
169
|
+
}
|
170
|
+
};
|
171
|
+
this.sortRows = (column) => {
|
172
|
+
const sortButton = this.el.shadowRoot.querySelector(`#sort-button-${column}`);
|
173
|
+
const sortOrders = this.sortOptions.sortOrders;
|
174
|
+
if (column !== this.sortedColumn) {
|
175
|
+
if (this.sortedColumn) {
|
176
|
+
const previousSortedButton = this.el.shadowRoot.querySelector(`#sort-button-${this.sortedColumn}`);
|
177
|
+
previousSortedButton.updateAriaLabel(this.getSortButtonLabel(column)); // Passing through unsorted column returns correct label for newly unsorted column
|
178
|
+
}
|
179
|
+
this.sortedColumn = column;
|
180
|
+
this.sortedColumnOrder = "unsorted";
|
181
|
+
}
|
182
|
+
let nextSortOrderIndex = sortOrders.indexOf(this.sortedColumnOrder) + 1;
|
183
|
+
if (nextSortOrderIndex > sortOrders.length - 1) {
|
184
|
+
nextSortOrderIndex = 0;
|
185
|
+
}
|
186
|
+
this.sortedColumnOrder = sortOrders[nextSortOrderIndex];
|
187
|
+
sortButton.updateAriaLabel(this.getSortButtonLabel(column));
|
188
|
+
};
|
189
|
+
this.updateScrollOffset = () => {
|
190
|
+
this.scrollOffset = this.el.shadowRoot.querySelector(".table-row-container").scrollTop;
|
191
|
+
};
|
192
|
+
this.fromRow = 0;
|
193
|
+
this.previousRowsPerPage = undefined;
|
194
|
+
this.rowsPerPage = undefined;
|
195
|
+
this.scrollable = false;
|
196
|
+
this.scrollOffset = 0;
|
197
|
+
this.selectedRow = undefined;
|
198
|
+
this.sortedColumn = undefined;
|
199
|
+
this.sortedColumnOrder = undefined;
|
200
|
+
this.toRow = undefined;
|
201
|
+
this.caption = undefined;
|
202
|
+
this.columns = undefined;
|
203
|
+
this.data = undefined;
|
204
|
+
this.density = "default";
|
205
|
+
this.embedded = false;
|
206
|
+
this.hideColumnHeaders = false;
|
207
|
+
this.paginationOptions = {
|
208
|
+
itemsPerPage: [
|
209
|
+
{ label: "10", value: "10" },
|
210
|
+
{ label: "25", value: "25" },
|
211
|
+
{ label: "50", value: "50" },
|
212
|
+
],
|
213
|
+
type: "page",
|
214
|
+
control: "simple",
|
215
|
+
itemsPerPageControl: true,
|
216
|
+
goToPageControl: true,
|
217
|
+
alignment: "right",
|
218
|
+
};
|
219
|
+
this.showPagination = false;
|
220
|
+
this.sortable = false;
|
221
|
+
this.sortOptions = {
|
222
|
+
sortOrders: ["unsorted", "ascending", "descending"],
|
223
|
+
defaultColumn: "",
|
224
|
+
};
|
225
|
+
this.stickyColumnHeaders = false;
|
226
|
+
this.stickyRowHeaders = false;
|
227
|
+
}
|
228
|
+
componentWillLoad() {
|
229
|
+
this.rowsPerPage = Number(this.paginationOptions.itemsPerPage[0].value);
|
230
|
+
this.previousRowsPerPage = this.rowsPerPage;
|
231
|
+
this.toRow = this.rowsPerPage;
|
232
|
+
this.sortedColumn = this.sortOptions.defaultColumn;
|
233
|
+
this.sortedColumnOrder = this.sortOptions.sortOrders[0];
|
234
|
+
}
|
235
|
+
componentDidLoad() {
|
236
|
+
const tableElement = this.el.shadowRoot.querySelector("table");
|
237
|
+
const tableContainer = this.el.shadowRoot.querySelector(".table-container");
|
238
|
+
if ((tableElement === null || tableElement === void 0 ? void 0 : tableElement.clientHeight) > (tableContainer === null || tableContainer === void 0 ? void 0 : tableContainer.clientHeight) ||
|
239
|
+
(tableElement === null || tableElement === void 0 ? void 0 : tableElement.clientWidth) > (tableContainer === null || tableContainer === void 0 ? void 0 : tableContainer.clientWidth)) {
|
240
|
+
this.scrollable = true;
|
241
|
+
}
|
242
|
+
}
|
243
|
+
handleItemsPerPageChange(ev) {
|
244
|
+
this.previousRowsPerPage = this.rowsPerPage;
|
245
|
+
this.rowsPerPage = ev.detail.value;
|
246
|
+
}
|
247
|
+
handlePageChange(ev) {
|
248
|
+
this.fromRow = (ev.detail.value - 1) * this.rowsPerPage;
|
249
|
+
this.toRow = this.fromRow + this.rowsPerPage;
|
250
|
+
const tableRowsContainer = this.el.shadowRoot.querySelector(".table-row-container");
|
251
|
+
if (this.previousRowsPerPage === this.rowsPerPage) {
|
252
|
+
tableRowsContainer.scrollTop = 0;
|
253
|
+
}
|
254
|
+
else if (this.previousRowsPerPage < this.rowsPerPage) {
|
255
|
+
tableRowsContainer.scrollTop = this.scrollOffset;
|
256
|
+
this.previousRowsPerPage = this.rowsPerPage;
|
257
|
+
}
|
258
|
+
else {
|
259
|
+
this.previousRowsPerPage = this.rowsPerPage;
|
260
|
+
}
|
261
|
+
}
|
262
|
+
clickListener(ev) {
|
263
|
+
if (ev.target !== this.el)
|
264
|
+
this.selectedRow = undefined;
|
265
|
+
}
|
266
|
+
render() {
|
267
|
+
const { caption, createColumnHeaders, createRows, data, hideColumnHeaders, paginationOptions, scrollable, scrollOffset, showPagination, sortable, sortedColumnOrder, sortedColumn, stickyColumnHeaders, updateScrollOffset, } = this;
|
268
|
+
return (h("div", { class: "table-container" }, h("div", { class: {
|
269
|
+
["table-row-container"]: true,
|
270
|
+
scrollable,
|
271
|
+
}, tabIndex: scrollable ? 0 : null, onScroll: updateScrollOffset }, h("table", null, h("caption", { class: "table-caption" }, caption), !hideColumnHeaders && (h("thead", { class: {
|
272
|
+
["column-header-sticky"]: stickyColumnHeaders,
|
273
|
+
["column-header-overlay"]: stickyColumnHeaders && scrollOffset !== 0,
|
274
|
+
} }, h("tr", null, createColumnHeaders()))), (data === null || data === void 0 ? void 0 : data.length) > 0 && h("tbody", null, createRows()))), showPagination && (h("div", { class: "pagination-container" }, h("ic-pagination-bar", { totalItems: data.length, paginationType: paginationOptions.type, paginationControl: paginationOptions.control, showItemsPerPageControl: paginationOptions.itemsPerPageControl, showGoToPageControl: paginationOptions.goToPageControl, itemsPerPageOptions: paginationOptions.itemsPerPage, alignment: paginationOptions.alignment }))), sortable && (h("div", { class: "screen-reader-sort-text", "aria-live": "polite" }, sortedColumnOrder !== "unsorted" && sortedColumn
|
275
|
+
? `${sortedColumn} sorted ${sortedColumnOrder}`
|
276
|
+
: "table unsorted"))));
|
277
|
+
}
|
278
|
+
get el() { return this; }
|
279
|
+
static get style() { return icDataTableCss; }
|
280
|
+
}, [1, "ic-unstable-data-table", {
|
281
|
+
"caption": [1],
|
282
|
+
"columns": [16],
|
283
|
+
"data": [16],
|
284
|
+
"density": [1],
|
285
|
+
"embedded": [4],
|
286
|
+
"hideColumnHeaders": [4, "hide-column-headers"],
|
287
|
+
"paginationOptions": [16],
|
288
|
+
"showPagination": [4, "show-pagination"],
|
289
|
+
"sortable": [4],
|
290
|
+
"sortOptions": [16],
|
291
|
+
"stickyColumnHeaders": [4, "sticky-column-headers"],
|
292
|
+
"stickyRowHeaders": [4, "sticky-row-headers"],
|
293
|
+
"fromRow": [32],
|
294
|
+
"previousRowsPerPage": [32],
|
295
|
+
"rowsPerPage": [32],
|
296
|
+
"scrollable": [32],
|
297
|
+
"scrollOffset": [32],
|
298
|
+
"selectedRow": [32],
|
299
|
+
"sortedColumn": [32],
|
300
|
+
"sortedColumnOrder": [32],
|
301
|
+
"toRow": [32]
|
302
|
+
}, [[0, "icItemsPerPageChange", "handleItemsPerPageChange"], [0, "icPageChange", "handlePageChange"], [8, "click", "clickListener"]]]);
|
303
|
+
function defineCustomElement$1() {
|
304
|
+
if (typeof customElements === "undefined") {
|
305
|
+
return;
|
306
|
+
}
|
307
|
+
const components = ["ic-unstable-data-table", "ic-button", "ic-input-component-container", "ic-input-container", "ic-input-label", "ic-input-validation", "ic-link", "ic-loading-indicator", "ic-menu", "ic-pagination", "ic-pagination-bar", "ic-pagination-item", "ic-select", "ic-text-field", "ic-tooltip", "ic-typography"];
|
308
|
+
components.forEach(tagName => { switch (tagName) {
|
309
|
+
case "ic-unstable-data-table":
|
310
|
+
if (!customElements.get(tagName)) {
|
311
|
+
customElements.define(tagName, DataTable);
|
312
|
+
}
|
313
|
+
break;
|
314
|
+
case "ic-button":
|
315
|
+
if (!customElements.get(tagName)) {
|
316
|
+
defineCustomElement$g();
|
317
|
+
}
|
318
|
+
break;
|
319
|
+
case "ic-input-component-container":
|
320
|
+
if (!customElements.get(tagName)) {
|
321
|
+
defineCustomElement$f();
|
322
|
+
}
|
323
|
+
break;
|
324
|
+
case "ic-input-container":
|
325
|
+
if (!customElements.get(tagName)) {
|
326
|
+
defineCustomElement$e();
|
327
|
+
}
|
328
|
+
break;
|
329
|
+
case "ic-input-label":
|
330
|
+
if (!customElements.get(tagName)) {
|
331
|
+
defineCustomElement$d();
|
332
|
+
}
|
333
|
+
break;
|
334
|
+
case "ic-input-validation":
|
335
|
+
if (!customElements.get(tagName)) {
|
336
|
+
defineCustomElement$c();
|
337
|
+
}
|
338
|
+
break;
|
339
|
+
case "ic-link":
|
340
|
+
if (!customElements.get(tagName)) {
|
341
|
+
defineCustomElement$b();
|
342
|
+
}
|
343
|
+
break;
|
344
|
+
case "ic-loading-indicator":
|
345
|
+
if (!customElements.get(tagName)) {
|
346
|
+
defineCustomElement$a();
|
347
|
+
}
|
348
|
+
break;
|
349
|
+
case "ic-menu":
|
350
|
+
if (!customElements.get(tagName)) {
|
351
|
+
defineCustomElement$9();
|
352
|
+
}
|
353
|
+
break;
|
354
|
+
case "ic-pagination":
|
355
|
+
if (!customElements.get(tagName)) {
|
356
|
+
defineCustomElement$8();
|
357
|
+
}
|
358
|
+
break;
|
359
|
+
case "ic-pagination-bar":
|
360
|
+
if (!customElements.get(tagName)) {
|
361
|
+
defineCustomElement$7();
|
362
|
+
}
|
363
|
+
break;
|
364
|
+
case "ic-pagination-item":
|
365
|
+
if (!customElements.get(tagName)) {
|
366
|
+
defineCustomElement$6();
|
367
|
+
}
|
368
|
+
break;
|
369
|
+
case "ic-select":
|
370
|
+
if (!customElements.get(tagName)) {
|
371
|
+
defineCustomElement$5();
|
372
|
+
}
|
373
|
+
break;
|
374
|
+
case "ic-text-field":
|
375
|
+
if (!customElements.get(tagName)) {
|
376
|
+
defineCustomElement$4();
|
377
|
+
}
|
378
|
+
break;
|
379
|
+
case "ic-tooltip":
|
380
|
+
if (!customElements.get(tagName)) {
|
381
|
+
defineCustomElement$3();
|
382
|
+
}
|
383
|
+
break;
|
384
|
+
case "ic-typography":
|
385
|
+
if (!customElements.get(tagName)) {
|
386
|
+
defineCustomElement$2();
|
387
|
+
}
|
388
|
+
break;
|
389
|
+
} });
|
390
|
+
}
|
391
|
+
|
392
|
+
const IcUnstableDataTable = DataTable;
|
393
|
+
const defineCustomElement = defineCustomElement$1;
|
394
|
+
|
395
|
+
export { IcUnstableDataTable, defineCustomElement };
|
396
|
+
|
397
|
+
//# sourceMappingURL=ic-unstable-data-table.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"ic-unstable-data-table.js","mappings":";;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/ic-data-table/ic-data-table.css?tag=ic-unstable-data-table&encapsulation=shadow","./src/components/ic-data-table/ic-data-table.tsx"],"sourcesContent":[":host {\n position: relative;\n display: block;\n height: 100%;\n max-height: 100%;\n}\n\n.table-container {\n position: relative;\n height: calc(100% - var(--ic-space-xxxs));\n}\n\n.table-row-container {\n position: relative;\n height: 100%;\n overflow: auto;\n transition: var(--ic-easing-transition-fast);\n overflow-anchor: none;\n}\n\n:host([show-pagination=\"true\"]) .table-row-container {\n height: calc(100% - 3.5625rem);\n}\n\ntable {\n table-layout: fixed;\n border-spacing: 0;\n width: 100%;\n}\n\n.table-row-container:focus {\n outline: none;\n box-shadow: var(--ic-border-focus);\n border-radius: var(--ic-border-radius);\n transition: var(--ic-easing-transition-fast);\n z-index: 1;\n}\n\n:host([embedded=\"true\"]) .table-container {\n border: var(--ic-border-light);\n}\n\n.column-header-sticky {\n position: sticky;\n top: 0;\n z-index: 1;\n}\n\n.column-header-overlay {\n position: sticky;\n top: 0;\n z-index: 1;\n box-shadow: 0 0.375rem var(--ic-space-xs) calc(var(--ic-space-xxs * -1))\n rgb(0 0 0 / 20%);\n}\n\n.row-header-sticky {\n position: sticky;\n left: 0;\n}\n\n.column-header,\n.table-row {\n box-sizing: border-box;\n}\n\n.table-row-selected {\n background-color: var(--ic-table-row-selected) !important;\n}\n\n.sort-button {\n margin-left: auto;\n}\n\n.sort-button:hover {\n background-color: var(--ic-action-dark-bg-hover);\n}\n\n.sort-button:active {\n background-color: var(--ic-action-dark-bg-active);\n}\n\n.sort-button svg {\n color: var(--ic-architectural-black);\n}\n\n.sort-button-unsorted svg {\n color: var(--ic-color-tertiary-text);\n}\n\n.table-density-dense {\n padding: var(--ic-space-xxs) var(--ic-space-xs) !important;\n}\n\n.text-dense {\n font-size: var(--ic-font-size-label);\n}\n\n.table-density-spacious {\n padding: 0.625rem var(--ic-space-xs) !important;\n}\n\n.text-spacious {\n font-size: 1.125rem;\n}\n\n.column-header-text {\n font-weight: var(--ic-font-weight-bold);\n}\n\n.column-header,\n.row-header {\n text-align: left;\n padding: var(--ic-space-xs);\n background-color: var(--ic-architectural-40);\n border-right: var(--ic-border-light);\n border-bottom: var(--ic-border-light);\n}\n\n.column-header:last-child {\n border-right: none;\n}\n\n.scrollable .column-header:last-child {\n border-right: var(--ic-border-light) !important;\n}\n\n:host([embedded=\"true\"]) tr:last-child .table-cell,\n:host([embedded=\"true\"]) tr:last-child .row-header {\n border-bottom: none;\n}\n\n.column-header-alignment-left,\n.row-header-alignment-left,\n.cell-alignment-left {\n text-align: left !important;\n}\n\n.column-header-alignment-right,\n.row-header-alignment-right,\n.cell-alignment-right {\n text-align: right !important;\n}\n\n.column-header-alignment-center,\n.row-header-alignment-center,\n.cell-alignment-center {\n text-align: center !important;\n}\n\n.table-row:nth-child(even) {\n background-color: var(--ic-architectural-20);\n}\n\n.table-cell {\n padding: var(--ic-space-xs);\n border-bottom: solid var(--ic-architectural-100) var(--ic-space-1px);\n}\n\n.data-type-string {\n text-align: left;\n vertical-align: top;\n}\n\n.data-type-number,\n.data-type-date {\n text-align: right;\n vertical-align: top;\n}\n\n.cell-alignment-top {\n vertical-align: top;\n}\n\n.cell-alignment-middle {\n vertical-align: middle;\n}\n\n.cell-alignment-bottom {\n vertical-align: bottom;\n}\n\n.cell-emphasis-low {\n color: var(--ic-color-secondary-text);\n}\n\n.cell-emphasis-high {\n font-weight: var(--ic-font-weight-bold);\n}\n\n.pagination-container {\n background-color: var(--ic-architectural-40);\n border-top: var(--ic-border-light);\n}\n\n.screen-reader-sort-text,\n.table-caption {\n position: absolute;\n left: -100rem;\n}\n\n.table-cell,\n.column-header,\n.row-header {\n word-wrap: break-word;\n white-space: pre-wrap;\n}\n\n@media screen and (min-width: 576px) {\n .column-header-inner-container {\n display: flex;\n align-items: center;\n }\n}\n","import { Component, Element, h, Prop, State, Listen } from \"@stencil/core\";\nimport unsortedIcon from \"./assets/unsorted-icon.svg\";\nimport ascendingIcon from \"./assets/ascending-icon.svg\";\nimport descendingIcon from \"./assets/descending-icon.svg\";\nimport {\n IcDataTableColumnDataTypes,\n IcDataTableColumnObject,\n IcDataTableDensityOptions,\n IcDataTableSortOrderOptions,\n} from \"./ic-data-table.types\";\nimport {\n IcPaginationAlignmentOptions,\n IcPaginationControlTypes,\n IcPaginationTypes,\n} from \"../ic-pagination/ic-pagination.types\";\n\n@Component({\n tag: \"ic-unstable-data-table\",\n styleUrl: \"ic-data-table.css\",\n shadow: true,\n})\nexport class DataTable {\n private SORT_ICONS = {\n unsorted: unsortedIcon,\n ascending: ascendingIcon,\n descending: descendingIcon,\n };\n\n @Element() el: HTMLIcUnstableDataTableElement;\n\n @State() fromRow: number = 0;\n\n @State() previousRowsPerPage: number;\n\n @State() rowsPerPage: number;\n\n @State() scrollable: boolean = false;\n\n @State() scrollOffset: number = 0;\n\n @State() selectedRow: object;\n\n @State() sortedColumn: string;\n\n @State() sortedColumnOrder: IcDataTableSortOrderOptions;\n\n @State() toRow: number;\n\n /**\n * The title for the table only visible to screen readers.\n */\n @Prop() caption!: string;\n\n /**\n * The column headers for the table.\n */\n @Prop() columns!: IcDataTableColumnObject[];\n\n /**\n * The row content for the table.\n */\n @Prop() data: { [key: string]: any }[];\n\n /**\n * Set the density of the table including font and padding.\n */\n @Prop() density?: IcDataTableDensityOptions = \"default\";\n\n /**\n * Applies a border to the table container.\n */\n @Prop() embedded?: boolean = false;\n\n /**\n * If `true`, column headers will not be visible.\n */\n @Prop() hideColumnHeaders?: boolean = false;\n\n /**\n * Sets the props for the pagination bar.\n */\n @Prop() paginationOptions?: {\n itemsPerPage?: { label: string; value: string }[];\n type?: IcPaginationTypes;\n control?: IcPaginationControlTypes;\n itemsPerPageControl?: boolean;\n goToPageControl?: boolean;\n alignment?: IcPaginationAlignmentOptions;\n } = {\n itemsPerPage: [\n { label: \"10\", value: \"10\" },\n { label: \"25\", value: \"25\" },\n { label: \"50\", value: \"50\" },\n ],\n type: \"page\",\n control: \"simple\",\n itemsPerPageControl: true,\n goToPageControl: true,\n alignment: \"right\",\n };\n\n /**\n * If `true`, adds a pagination bar to the bottom of the table.\n */\n @Prop() showPagination?: boolean = false;\n\n /**\n * If `true`, allows table columns to be sorted using applied sort buttons.\n */\n @Prop() sortable?: boolean = false;\n\n /**\n * Sets the order columns will be sorted in and allows for 'default' sorts to be added.\n */\n @Prop() sortOptions?: {\n sortOrders: IcDataTableSortOrderOptions[];\n defaultColumn?: string;\n } = {\n sortOrders: [\"unsorted\", \"ascending\", \"descending\"],\n defaultColumn: \"\",\n };\n\n /**\n * If `true`, column headers will remain at the top of the table when scrolling vertically.\n */\n @Prop() stickyColumnHeaders?: boolean = false;\n\n /**\n * If `true`, row headers will remain to the left when scrolling horizontally.\n */\n @Prop() stickyRowHeaders?: boolean = false;\n\n componentWillLoad(): void {\n this.rowsPerPage = Number(this.paginationOptions.itemsPerPage[0].value);\n this.previousRowsPerPage = this.rowsPerPage;\n this.toRow = this.rowsPerPage;\n this.sortedColumn = this.sortOptions.defaultColumn;\n this.sortedColumnOrder = this.sortOptions.sortOrders[0];\n }\n\n componentDidLoad(): void {\n const tableElement = this.el.shadowRoot.querySelector(\"table\");\n const tableContainer = this.el.shadowRoot.querySelector(\".table-container\");\n if (\n tableElement?.clientHeight > tableContainer?.clientHeight ||\n tableElement?.clientWidth > tableContainer?.clientWidth\n ) {\n this.scrollable = true;\n }\n }\n\n @Listen(\"icItemsPerPageChange\")\n handleItemsPerPageChange(ev: CustomEvent): void {\n this.previousRowsPerPage = this.rowsPerPage;\n this.rowsPerPage = ev.detail.value;\n }\n\n @Listen(\"icPageChange\")\n handlePageChange(ev: CustomEvent): void {\n this.fromRow = (ev.detail.value - 1) * this.rowsPerPage;\n this.toRow = this.fromRow + this.rowsPerPage;\n const tableRowsContainer = this.el.shadowRoot.querySelector(\n \".table-row-container\"\n );\n if (this.previousRowsPerPage === this.rowsPerPage) {\n tableRowsContainer.scrollTop = 0;\n } else if (this.previousRowsPerPage < this.rowsPerPage) {\n tableRowsContainer.scrollTop = this.scrollOffset;\n this.previousRowsPerPage = this.rowsPerPage;\n } else {\n this.previousRowsPerPage = this.rowsPerPage;\n }\n }\n\n @Listen(\"click\", { target: \"window\" })\n clickListener(ev: MouseEvent): void {\n if (ev.target !== this.el) this.selectedRow = undefined;\n }\n\n private isObject = (value: any) => typeof value === \"object\";\n\n private notDefaultDensity = () => this.density !== \"default\";\n\n private getCellContent = (\n cell: any,\n dataType: IcDataTableColumnDataTypes\n ): any => {\n switch (dataType) {\n case \"element\":\n return undefined;\n case \"date\":\n return (\n cell instanceof Date ? cell : new Date(cell)\n ).toLocaleDateString();\n default:\n return cell;\n }\n };\n\n private getCellAlignment = (\n cell: any,\n alignment: \"horizontal\" | \"vertical\"\n ) => {\n if (this.isObject(cell) && Object.keys(cell).includes(\"cellAlignment\")) {\n return this.getObjectValue(\n this.getObjectValue(cell, \"cellAlignment\"),\n alignment\n );\n }\n };\n\n private createCells = (row: object) => {\n const rowValues = Object.values(row);\n const rowKeys = Object.keys(row);\n let rowAlignment: string;\n let rowEmphasis: string;\n const headerIndex = rowKeys.indexOf(\"header\");\n if (headerIndex > -1) {\n rowAlignment = this.getObjectValue(\n rowValues[headerIndex],\n \"rowAlignment\"\n );\n rowEmphasis = this.getObjectValue(rowValues[headerIndex], \"emphasis\");\n }\n return rowValues.map((cell, index) => {\n const { columnAlignment, dataType, emphasis } = this.columns[index];\n const cellValue = (key: string) => this.getObjectValue(cell, key);\n\n return rowKeys[index] === \"header\" ? (\n <th\n scope=\"row\"\n colSpan={cellValue(\"colspan\")}\n class={{\n [\"row-header\"]: true,\n [`row-header-alignment-${cellValue(\"cellAlignment\")}`]:\n !!cellValue(\"cellAlignment\"),\n [\"row-header-sticky\"]: this.stickyRowHeaders,\n }}\n >\n {cellValue(\"title\")}\n </th>\n ) : (\n <td\n innerHTML={dataType === \"element\" ? (cell as string) : null}\n class={{\n [\"table-cell\"]: true,\n [`table-density-${this.density}`]: this.notDefaultDensity(),\n [`data-type-${dataType}`]: true,\n [`cell-alignment-${\n columnAlignment?.horizontal ||\n this.getCellAlignment(cell, \"horizontal\")\n }`]:\n !!columnAlignment?.horizontal ||\n !!this.getCellAlignment(cell, \"horizontal\"),\n [`cell-alignment-${\n columnAlignment?.vertical ||\n rowAlignment ||\n this.getCellAlignment(cell, \"vertical\")\n }`]:\n !!columnAlignment?.vertical ||\n !!rowAlignment ||\n !!this.getCellAlignment(cell, \"vertical\"),\n }}\n >\n <ic-typography\n variant=\"body\"\n class={{\n [`cell-emphasis-${\n (this.isObject(cell) && cellValue(\"emphasis\")) ||\n emphasis ||\n rowEmphasis\n }`]:\n (this.isObject(cell) && !!cellValue(\"emphasis\")) ||\n !!emphasis ||\n !!rowEmphasis,\n [`text-${this.density}`]: this.notDefaultDensity(),\n }}\n >\n {this.isObject(cell) && dataType !== \"date\" ? (\n Object.keys(cell).includes(\"href\") ? (\n <ic-link href={cellValue(\"href\")}>{cellValue(\"data\")}</ic-link>\n ) : (\n cellValue(\"data\")\n )\n ) : (\n this.getCellContent(cell, dataType)\n )}\n </ic-typography>\n </td>\n );\n });\n };\n\n private createColumnHeaders = () => {\n return this.columns.map(({ cellAlignment, colspan, key, title }) => (\n <th\n scope=\"col\"\n class={{\n [\"column-header\"]: true,\n [`column-header-alignment-${cellAlignment}`]: !!cellAlignment,\n [`table-density-${this.density}`]: this.notDefaultDensity(),\n }}\n colSpan={colspan}\n >\n {this.sortable ? (\n <div class=\"column-header-inner-container\">\n <ic-typography\n variant=\"body\"\n class={{\n [\"column-header-text\"]: true,\n [`text-${this.density}`]: this.notDefaultDensity(),\n }}\n >\n {title}\n </ic-typography>\n <ic-button\n variant=\"icon\"\n id={`sort-button-${key}`}\n aria-label={this.getSortButtonLabel(key)}\n // eslint-disable-next-line react/jsx-no-bind\n onClick={() => this.sortRows(key)}\n innerHTML={\n this.SORT_ICONS[\n this.sortedColumn === key\n ? this.sortedColumnOrder\n : \"unsorted\"\n ]\n }\n class={{\n [\"sort-button\"]: true,\n [\"sort-button-unsorted\"]:\n this.sortedColumn !== key ||\n this.sortedColumnOrder === \"unsorted\",\n }}\n ></ic-button>\n </div>\n ) : (\n <ic-typography\n variant=\"body\"\n class={{\n [\"column-header-text\"]: true,\n [`text-${this.density}`]: this.notDefaultDensity(),\n }}\n >\n {title}\n </ic-typography>\n )}\n </th>\n ));\n };\n\n private createRows = () => {\n const data = this.showPagination\n ? this.data.slice(this.fromRow, this.toRow)\n : this.data.slice();\n return data\n .sort(!this.sortable ? undefined : this.getSortFunction())\n .map((row) => (\n <tr\n onClick={() => (this.selectedRow = this.selectedRow !== row && row)}\n class={{\n [\"table-row\"]: true,\n [\"table-row-selected\"]: this.selectedRow === row,\n }}\n >\n {this.createCells(row)}\n </tr>\n ));\n };\n\n private getObjectValue = (cell: object, key: string) => {\n return Object.values(cell)[Object.keys(cell).indexOf(key)];\n };\n\n private getSortButtonLabel = (key: string) => {\n let label = \"\";\n const getNextSortOption = (option: IcDataTableSortOrderOptions) => {\n const sortOrders = this.sortOptions.sortOrders;\n return sortOrders[(sortOrders.indexOf(option) + 1) % sortOrders.length];\n };\n\n if (this.sortedColumn === key) {\n const sortOption = getNextSortOption(this.sortedColumnOrder);\n label = sortOption !== \"unsorted\" ? `Sort ${sortOption}` : \"Remove sort\";\n } else {\n label = `Sort ${getNextSortOption(\"unsorted\")}`;\n }\n\n return label;\n };\n\n private getComparison = (targetRow: any, comparisonRow: any): number => {\n const targetRowValue = targetRow[this.sortedColumn];\n const comparisonRowValue = comparisonRow[this.sortedColumn];\n return this.columns.find((col) => col.key === this.sortedColumn)\n .dataType === \"date\"\n ? new Date(targetRowValue).valueOf() -\n new Date(comparisonRowValue).valueOf()\n : String(\n this.isObject(targetRowValue)\n ? Object.values(targetRowValue)[0]\n : targetRowValue\n ).localeCompare(\n String(\n this.isObject(comparisonRowValue)\n ? Object.values(comparisonRowValue)[0]\n : comparisonRowValue\n ),\n undefined,\n { numeric: true, sensitivity: \"base\" }\n );\n };\n\n private getSortFunction = () => {\n switch (this.sortedColumnOrder) {\n case \"ascending\":\n return (a: any, b: any) => this.getComparison(a, b);\n case \"descending\":\n return (a: any, b: any) => this.getComparison(b, a);\n default:\n return undefined;\n }\n };\n\n private sortRows = (column: string) => {\n const sortButton = this.el.shadowRoot.querySelector(\n `#sort-button-${column}`\n ) as HTMLIcButtonElement;\n\n const sortOrders = this.sortOptions.sortOrders;\n\n if (column !== this.sortedColumn) {\n if (this.sortedColumn) {\n const previousSortedButton = this.el.shadowRoot.querySelector(\n `#sort-button-${this.sortedColumn}`\n ) as HTMLIcButtonElement;\n previousSortedButton.updateAriaLabel(this.getSortButtonLabel(column)); // Passing through unsorted column returns correct label for newly unsorted column\n }\n this.sortedColumn = column;\n this.sortedColumnOrder = \"unsorted\";\n }\n\n let nextSortOrderIndex = sortOrders.indexOf(this.sortedColumnOrder) + 1;\n\n if (nextSortOrderIndex > sortOrders.length - 1) {\n nextSortOrderIndex = 0;\n }\n\n this.sortedColumnOrder = sortOrders[nextSortOrderIndex];\n\n sortButton.updateAriaLabel(this.getSortButtonLabel(column));\n };\n\n private updateScrollOffset = () => {\n this.scrollOffset = this.el.shadowRoot.querySelector(\n \".table-row-container\"\n ).scrollTop;\n };\n\n render() {\n const {\n caption,\n createColumnHeaders,\n createRows,\n data,\n hideColumnHeaders,\n paginationOptions,\n scrollable,\n scrollOffset,\n showPagination,\n sortable,\n sortedColumnOrder,\n sortedColumn,\n stickyColumnHeaders,\n updateScrollOffset,\n } = this;\n\n return (\n <div class=\"table-container\">\n <div\n class={{\n [\"table-row-container\"]: true,\n scrollable,\n }}\n tabIndex={scrollable ? 0 : null}\n onScroll={updateScrollOffset}\n >\n <table>\n <caption class=\"table-caption\">{caption}</caption>\n {!hideColumnHeaders && (\n <thead\n class={{\n [\"column-header-sticky\"]: stickyColumnHeaders,\n [\"column-header-overlay\"]:\n stickyColumnHeaders && scrollOffset !== 0,\n }}\n >\n <tr>{createColumnHeaders()}</tr>\n </thead>\n )}\n {data?.length > 0 && <tbody>{createRows()}</tbody>}\n </table>\n </div>\n {showPagination && (\n <div class=\"pagination-container\">\n <ic-pagination-bar\n totalItems={data.length}\n paginationType={paginationOptions.type}\n paginationControl={paginationOptions.control}\n showItemsPerPageControl={paginationOptions.itemsPerPageControl}\n showGoToPageControl={paginationOptions.goToPageControl}\n itemsPerPageOptions={paginationOptions.itemsPerPage}\n alignment={paginationOptions.alignment}\n ></ic-pagination-bar>\n </div>\n )}\n {sortable && (\n <div class=\"screen-reader-sort-text\" aria-live=\"polite\">\n {sortedColumnOrder !== \"unsorted\" && sortedColumn\n ? `${sortedColumn} sorted ${sortedColumnOrder}`\n : \"table unsorted\"}\n </div>\n )}\n </div>\n );\n }\n}\n"],"version":3}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/**
|
2
|
+
* Used to manually set the base path where assets can be found.
|
3
|
+
* If the script is used as "module", it's recommended to use "import.meta.url",
|
4
|
+
* such as "setAssetPath(import.meta.url)". Other options include
|
5
|
+
* "setAssetPath(document.currentScript.src)", or using a bundler's replace plugin to
|
6
|
+
* dynamically set the path at build time, such as "setAssetPath(process.env.ASSET_PATH)".
|
7
|
+
* But do note that this configuration depends on how your script is bundled, or lack of
|
8
|
+
* bundling, and where your assets can be loaded from. Additionally custom bundling
|
9
|
+
* will have to ensure the static assets are copied to its build directory.
|
10
|
+
*/
|
11
|
+
export declare const setAssetPath: (path: string) => void;
|
12
|
+
|
13
|
+
/**
|
14
|
+
* Used to specify a nonce value that corresponds with an application's CSP.
|
15
|
+
* When set, the nonce will be added to all dynamically created script and style tags at runtime.
|
16
|
+
* Alternatively, the nonce value can be set on a meta tag in the DOM head
|
17
|
+
* (<meta name="csp-nonce" content="{ nonce value here }" />) which
|
18
|
+
* will result in the same behavior.
|
19
|
+
*/
|
20
|
+
export declare const setNonce: (nonce: string) => void
|
21
|
+
|
22
|
+
export interface SetPlatformOptions {
|
23
|
+
raf?: (c: FrameRequestCallback) => number;
|
24
|
+
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
25
|
+
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
26
|
+
}
|
27
|
+
export declare const setPlatformOptions: (opts: SetPlatformOptions) => void;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"index.js","mappings":"","names":[],"sources":[],"sourcesContent":[],"version":3}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
var IcInformationStatus;
|
2
|
+
(function (IcInformationStatus) {
|
3
|
+
IcInformationStatus["Warning"] = "warning";
|
4
|
+
IcInformationStatus["Error"] = "error";
|
5
|
+
IcInformationStatus["Success"] = "success";
|
6
|
+
})(IcInformationStatus || (IcInformationStatus = {}));
|
7
|
+
var IcThemeForegroundEnum;
|
8
|
+
(function (IcThemeForegroundEnum) {
|
9
|
+
IcThemeForegroundEnum["Default"] = "default";
|
10
|
+
IcThemeForegroundEnum["Dark"] = "dark";
|
11
|
+
IcThemeForegroundEnum["Light"] = "light";
|
12
|
+
})(IcThemeForegroundEnum || (IcThemeForegroundEnum = {}));
|
13
|
+
|
14
|
+
export { IcThemeForegroundEnum as I, IcInformationStatus as a };
|
15
|
+
|
16
|
+
//# sourceMappingURL=types.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"types.js","mappings":"IAwBY;AAAZ,WAAY,mBAAmB;EAC7B,0CAAmB,CAAA;EACnB,sCAAe,CAAA;EACf,0CAAmB,CAAA;AACrB,CAAC,EAJW,mBAAmB,KAAnB,mBAAmB,QAI9B;IAkEW;AAAZ,WAAY,qBAAqB;EAC/B,4CAAmB,CAAA;EACnB,sCAAa,CAAA;EACb,wCAAe,CAAA;AACjB,CAAC,EAJW,qBAAqB,KAArB,qBAAqB;;;;","names":[],"sources":["./src/utils/types.ts"],"sourcesContent":["export type IcFocusableComponents =\n | HTMLIcBreadcrumbElement\n | HTMLIcButtonElement\n | HTMLIcCardElement\n | HTMLIcCheckboxElement\n | HTMLIcChipElement\n | HTMLIcLinkElement\n | HTMLIcNavigationButtonElement\n | HTMLIcNavigationGroupElement\n | HTMLIcNavigationItemElement\n | HTMLIcRadioOptionElement\n | HTMLIcSearchBarElement\n | HTMLIcSelectElement\n | HTMLIcSwitchElement\n | HTMLIcTabElement\n | HTMLIcTextFieldElement;\n\nexport type IcStatusVariants =\n | \"neutral\"\n | \"info\"\n | \"warning\"\n | \"error\"\n | \"success\";\n\nexport enum IcInformationStatus {\n Warning = \"warning\",\n Error = \"error\",\n Success = \"success\",\n}\n\nexport type IcInformationStatusOrEmpty = \"warning\" | \"error\" | \"success\" | \"\";\n\nexport type IcNavType = \"side\" | \"top\" | \"page-header\";\n\n// From: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete\nexport type IcAutocompleteTypes =\n | \"on\"\n | \"off\"\n | \"name\"\n | \"honorific-prefix\"\n | \"given-name\"\n | \"additional-name\"\n | \"family-name\"\n | \"honorific-suffix\"\n | \"nickname\"\n | \"email\"\n | \"username\"\n | \"new-password\"\n | \"current-password\"\n | \"one-time-code\"\n | \"organization-title\"\n | \"organization\"\n | \"street-address\"\n | \"address-line1\"\n | \"address-line2\"\n | \"address-line3\"\n | \"address-level4\"\n | \"address-level3\"\n | \"address-level2\"\n | \"address-level1\"\n | \"country\"\n | \"country-name\"\n | \"postal-code\"\n | \"cc-name\"\n | \"cc-given-name\"\n | \"cc-additional-name\"\n | \"cc-family-name\"\n | \"cc-family-name\"\n | \"cc-number\"\n | \"cc-exp\"\n | \"cc-exp-month\"\n | \"cc-exp-year\"\n | \"cc-csc\"\n | \"cc-type\"\n | \"transaction-currency\"\n | \"transaction-amount\"\n | \"language\"\n | \"bday\"\n | \"bday-day\"\n | \"bday-month\"\n | \"bday-year\"\n | \"sex\"\n | \"tel\"\n | \"tel-country-code\"\n | \"tel-national\"\n | \"tel-area-code\"\n | \"tel-local\"\n | \"tel-extension\"\n | \"impp\"\n | \"url\"\n | \"photo\";\n\nexport type IcAlignment = \"left\" | \"center\" | \"full-width\";\n\nexport enum IcThemeForegroundEnum {\n Default = \"default\",\n Dark = \"dark\",\n Light = \"light\",\n}\n\nexport type IcThemeForeground = \"default\" | \"dark\" | \"light\";\n\nexport type IcThemeForegroundNoDefault = \"dark\" | \"light\";\n\nexport type IcTheme = {\n mode: IcThemeForeground;\n color: IcColorRGB;\n};\n\nexport type IcAdditionalFieldTypes = \"static\" | \"dynamic\";\n\nexport type IcColorRGB = {\n r: number;\n g: number;\n b: number;\n};\n\nexport type IcColorRGBA = IcColorRGB & {\n a: number;\n};\n\nexport type IcActivationTypes = \"automatic\" | \"manual\";\n\nexport type IcAutocorrectStates = \"on\" | \"off\";\n\nexport type IcNavParentDetails = {\n navType: IcNavType | \"\";\n parent: HTMLElement;\n};\n\nexport type IcTypographyVariants =\n | \"h1\"\n | \"h2\"\n | \"h3\"\n | \"h4\"\n | \"subtitle-large\"\n | \"subtitle-small\"\n | \"body\"\n | \"label\"\n | \"label-uppercase\"\n | \"caption\"\n | \"caption-uppercase\"\n | \"code-large\"\n | \"code-small\"\n | \"code-extra-small\";\n\nexport interface IcMenuOption {\n value?: string;\n label: string;\n description?: string;\n disabled?: boolean;\n recommended?: boolean;\n children?: IcMenuOption[];\n loading?: boolean;\n timedOut?: boolean;\n}\n\nexport type IcSearchMatchPositions = \"start\" | \"anywhere\";\n\nexport type IcCallbackFunctionNoReturn = (...args: unknown[]) => void;\n\nexport type IcRequiredPropsTypes =\n | string\n | boolean\n | number\n | HTMLElement\n | IcMenuOption[];\n\nexport type IcPropObject = { prop: IcRequiredPropsTypes; propName: string };\n\nexport type IcRelatedTarget = EventTarget | undefined;\n\nexport type IcOrientation = \"horizontal\" | \"vertical\";\n\nexport type IcSizes = \"default\" | \"large\" | \"small\";\n\nexport interface IcValueEventDetail {\n value: string;\n keyPressed?: string;\n}\nexport interface IcBlurEventDetail {\n relatedTarget: IcRelatedTarget;\n}\n"],"version":3}
|