@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,80 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
const index = require('./index-4f4d2b43.js');
|
6
|
+
const helpers = require('./helpers-3811d14b.js');
|
7
|
+
require('./types-3eb02246.js');
|
8
|
+
|
9
|
+
const dismissIcon = `<svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
10
|
+
<path d="M10 0C4.47 0 0 4.47 0 10C0 15.53 4.47 20 10 20C15.53 20 20 15.53 20 10C20 4.47 15.53 0 10 0ZM15 13.59L13.59 15L10 11.41L6.41 15L5 13.59L8.59 10L5 6.41L6.41 5L10 8.59L13.59 5L15 6.41L11.41 10L15 13.59Z" fill="currentColor"/>
|
11
|
+
</svg>
|
12
|
+
`;
|
13
|
+
|
14
|
+
const icChipCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:inline-block}.chip{display:flex;padding:var(--ic-space-xxs);font-size:0.875rem;border-radius:var(--ic-space-md);text-align:left;text-decoration:none;transition:var(--ic-easing-transition-fast);position:relative}.chip.small{padding:var(--ic-space-xxxs);border-radius:calc(var(--ic-space-md) - var(--ic-space-xxxs))}.chip.large{padding:var(--ic-space-xs);border-radius:calc(var(--ic-space-md) + var(--ic-space-xxs))}.label{padding:0 var(--ic-space-xs)}.chip.hovered:not(:focus-within){background-color:var(--ic-architectural-300)}.chip:focus-within{box-shadow:var(--ic-border-focus);outline:var(--ic-hc-focus-outline);z-index:1}.chip.outline.hovered:not(:focus-within){background-color:var(--ic-action-dark-bg-hover)}ic-tooltip:focus-within{z-index:1}.filled{background-color:var(--ic-architectural-200);color:black;border:none}.filled.disabled{background-color:var(--ic-architectural-100)}.outline{color:var(--ic-architectural-900);border:var(--ic-space-1px) solid var(--ic-architectural-900);padding:calc(var(--ic-space-xxs) - var(--ic-space-1px))}.outline.small{padding:calc(var(--ic-space-xxxs) - var(--ic-space-1px))}.outline.large{padding:calc(var(--ic-space-xs) - var(--ic-space-1px))}.outline.disabled{border:var(--ic-border-disabled);background:none}.chip.disabled ic-typography{color:var(--ic-architectural-200)}.dismiss-icon{border:none;border-radius:50%;padding:0;background:none;cursor:pointer;margin:var(--ic-space-xxxs);height:calc(var(--ic-space-lg) - var(--ic-space-xxs));width:calc(var(--ic-space-lg) - var(--ic-space-xxs))}.dismiss-icon:focus{outline:var(--ic-hc-focus-outline)}.dismiss-icon[disabled]{pointer-events:none;color:var(--ic-architectural-200)}.icon{padding:var(--ic-space-xxxs);box-sizing:border-box}.icon,ic-tooltip{width:var(--ic-space-lg);height:var(--ic-space-lg)}.chip.disabled path,.chip.disabled ::slotted(svg){fill:var(--ic-architectural-200)}@media (forced-colors: active){.chip{border:var(--ic-hc-border)}.filled.small{padding:calc(var(--ic-space-xxxs) - var(--ic-space-1px))}.filled{padding:calc(var(--ic-space-xxxs) + var(--ic-space-1px))}.filled.large{padding:calc(var(--ic-space-xs) - var(--ic-space-1px))}.chip.disabled{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-color:GrayText}.chip.disabled ic-typography{color:GrayText}.chip.disabled path,.chip.disabled ::slotted(svg){fill:GrayText}.chip:focus-within{outline:none;border-color:Highlight}}";
|
15
|
+
|
16
|
+
const Chip = class {
|
17
|
+
constructor(hostRef) {
|
18
|
+
index.registerInstance(this, hostRef);
|
19
|
+
this.dismiss = index.createEvent(this, "dismiss", 7);
|
20
|
+
this.icDismiss = index.createEvent(this, "icDismiss", 7);
|
21
|
+
this.dismissAction = () => {
|
22
|
+
this.dismiss.emit();
|
23
|
+
this.icDismiss.emit();
|
24
|
+
};
|
25
|
+
this.mouseEnterHandler = () => {
|
26
|
+
this.isHovered = true;
|
27
|
+
};
|
28
|
+
this.mouseLeaveHandler = () => {
|
29
|
+
this.isHovered = false;
|
30
|
+
};
|
31
|
+
this.isHovered = false;
|
32
|
+
this.visible = true;
|
33
|
+
this.appearance = "filled";
|
34
|
+
this.disabled = false;
|
35
|
+
this.dismissible = false;
|
36
|
+
this.label = undefined;
|
37
|
+
this.size = "default";
|
38
|
+
}
|
39
|
+
componentWillLoad() {
|
40
|
+
helpers.removeDisabledFalse(this.disabled, this.el);
|
41
|
+
}
|
42
|
+
componentDidLoad() {
|
43
|
+
var _a;
|
44
|
+
this.dismissible &&
|
45
|
+
((_a = this.el.shadowRoot
|
46
|
+
.querySelector("span.ic-tooltip-label")) === null || _a === void 0 ? void 0 : _a.setAttribute("aria-hidden", "true"));
|
47
|
+
helpers.onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Chip");
|
48
|
+
}
|
49
|
+
handleClick() {
|
50
|
+
this.visible = !this.visible;
|
51
|
+
}
|
52
|
+
/**
|
53
|
+
* Sets focus on the chip.
|
54
|
+
*/
|
55
|
+
async setFocus() {
|
56
|
+
if (this.el.shadowRoot.querySelector("button")) {
|
57
|
+
this.el.shadowRoot.querySelector("button").focus();
|
58
|
+
}
|
59
|
+
}
|
60
|
+
render() {
|
61
|
+
const { label, appearance, size, dismissible, visible, disabled, isHovered, } = this;
|
62
|
+
return (visible && (index.h("div", { class: {
|
63
|
+
["chip"]: true,
|
64
|
+
[`${appearance}`]: true,
|
65
|
+
[`${size}`]: true,
|
66
|
+
["disabled"]: disabled,
|
67
|
+
["dismissible"]: dismissible,
|
68
|
+
["hovered"]: isHovered,
|
69
|
+
} }, helpers.isSlotUsed(this.el, "icon") && (index.h("div", { class: "icon" }, index.h("slot", { name: "icon" }))), index.h("ic-typography", { variant: "label", "apply-vertical-margins": false, class: "label" }, index.h("span", null, label)), dismissible && (index.h("ic-tooltip", { label: "Dismiss", target: "dismiss-icon", class: { ["tooltip-disabled"]: disabled } }, index.h("button", { id: "dismiss-icon", class: {
|
70
|
+
["dismiss-icon"]: true,
|
71
|
+
}, "aria-label": `Dismiss ${label} chip`, disabled: disabled, tabindex: disabled ? -1 : 0, onClick: this.dismissAction, onMouseEnter: this.mouseEnterHandler, onMouseLeave: this.mouseLeaveHandler, innerHTML: dismissIcon }))))));
|
72
|
+
}
|
73
|
+
static get delegatesFocus() { return true; }
|
74
|
+
get el() { return index.getElement(this); }
|
75
|
+
};
|
76
|
+
Chip.style = icChipCss;
|
77
|
+
|
78
|
+
exports.ic_chip = Chip;
|
79
|
+
|
80
|
+
//# sourceMappingURL=ic-chip.cjs.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"ic-chip.entry.cjs.js","mappings":";;;;;;;;;;;;;AAAA,MAAM,SAAS,GAAG,2vJAA2vJ;;MC8BhwJ,IAAI;;;;;IAuEP,kBAAa,GAAG;MACtB,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;MACpB,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;KACvB,CAAC;IAEM,sBAAiB,GAAG;MAC1B,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;KACvB,CAAC;IAEM,sBAAiB,GAAG;MAC1B,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;KACxB,CAAC;qBA/E4B,KAAK;mBACP,IAAI;sBAKQ,QAAQ;oBAKnB,KAAK;uBAKF,KAAK;;gBAUZ,SAAS;;EAYlC,iBAAiB;IACfA,2BAAmB,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC;GAC7C;EAED,gBAAgB;;IACd,IAAI,CAAC,WAAW;OACd,MAAA,IAAI,CAAC,EAAE,CAAC,UAAU;SACf,aAAa,CAAC,uBAAuB,CAAC,0CACrC,YAAY,CAAC,aAAa,EAAE,MAAM,CAAC,CAAA,CAAC;IAC1CC,wCAAgC,CAC9B,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,EACzC,MAAM,CACP,CAAC;GACH;EAGD,WAAW;IACT,IAAI,CAAC,OAAO,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC;GAC9B;;;;EAMD,MAAM,QAAQ;IACZ,IAAI,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC,EAAE;MAC9C,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,KAAK,EAAE,CAAC;KACpD;GACF;EAeD,MAAM;IACJ,MAAM,EACJ,KAAK,EACL,UAAU,EACV,IAAI,EACJ,WAAW,EACX,OAAO,EACP,QAAQ,EACR,SAAS,GACV,GAAG,IAAI,CAAC;IAET,QACE,OAAO,KACLC,iBACE,KAAK,EAAE;QACL,CAAC,MAAM,GAAG,IAAI;QACd,CAAC,GAAG,UAAU,EAAE,GAAG,IAAI;QACvB,CAAC,GAAG,IAAI,EAAE,GAAG,IAAI;QACjB,CAAC,UAAU,GAAG,QAAQ;QACtB,CAAC,aAAa,GAAG,WAAW;QAC5B,CAAC,SAAS,GAAG,SAAS;OACvB,IAEAC,kBAAU,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,CAAC,KAC1BD,iBAAK,KAAK,EAAC,MAAM,IACfA,kBAAM,IAAI,EAAC,MAAM,GAAG,CAChB,CACP,EACDA,2BACE,OAAO,EAAC,OAAO,4BACS,KAAK,EAC7B,KAAK,EAAC,OAAO,IAEbA,sBAAO,KAAK,CAAQ,CACN,EACf,WAAW,KACVA,wBACE,KAAK,EAAC,SAAS,EACf,MAAM,EAAC,cAAc,EACrB,KAAK,EAAE,EAAE,CAAC,kBAAkB,GAAG,QAAQ,EAAE,IAEzCA,oBACE,EAAE,EAAC,cAAc,EACjB,KAAK,EAAE;QACL,CAAC,cAAc,GAAG,IAAI;OACvB,gBACW,WAAW,KAAK,OAAO,EACnC,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,GAAG,CAAC,CAAC,GAAG,CAAC,EAC3B,OAAO,EAAE,IAAI,CAAC,aAAa,EAC3B,YAAY,EAAE,IAAI,CAAC,iBAAiB,EACpC,YAAY,EAAE,IAAI,CAAC,iBAAiB,EACpC,SAAS,EAAE,WAAW,GACd,CACC,CACd,CACG,CACP,EACD;GACH;;;;;;;;","names":["removeDisabledFalse","onComponentRequiredPropUndefined","h","isSlotUsed"],"sources":["./src/components/ic-chip/ic-chip.css?tag=ic-chip&encapsulation=shadow","./src/components/ic-chip/ic-chip.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host {\n display: inline-block;\n}\n\n.chip {\n display: flex;\n padding: var(--ic-space-xxs);\n font-size: 0.875rem;\n border-radius: var(--ic-space-md);\n text-align: left;\n text-decoration: none;\n transition: var(--ic-easing-transition-fast);\n position: relative;\n}\n\n.chip.small {\n padding: var(--ic-space-xxxs);\n border-radius: calc(var(--ic-space-md) - var(--ic-space-xxxs));\n}\n\n.chip.large {\n padding: var(--ic-space-xs);\n border-radius: calc(var(--ic-space-md) + var(--ic-space-xxs));\n}\n\n.label {\n padding: 0 var(--ic-space-xs);\n}\n\n.chip.hovered:not(:focus-within) {\n background-color: var(--ic-architectural-300);\n}\n\n.chip:focus-within {\n box-shadow: var(--ic-border-focus);\n outline: var(--ic-hc-focus-outline);\n z-index: 1;\n}\n\n.chip.outline.hovered:not(:focus-within) {\n background-color: var(--ic-action-dark-bg-hover);\n}\n\nic-tooltip:focus-within {\n z-index: 1;\n}\n\n.filled {\n background-color: var(--ic-architectural-200);\n color: black;\n border: none;\n}\n\n.filled.disabled {\n background-color: var(--ic-architectural-100);\n}\n\n.outline {\n color: var(--ic-architectural-900);\n border: var(--ic-space-1px) solid var(--ic-architectural-900);\n padding: calc(var(--ic-space-xxs) - var(--ic-space-1px));\n}\n\n.outline.small {\n padding: calc(var(--ic-space-xxxs) - var(--ic-space-1px));\n}\n\n.outline.large {\n padding: calc(var(--ic-space-xs) - var(--ic-space-1px));\n}\n\n.outline.disabled {\n border: var(--ic-border-disabled);\n background: none;\n}\n\n.chip.disabled ic-typography {\n color: var(--ic-architectural-200);\n}\n\n.dismiss-icon {\n border: none;\n border-radius: 50%;\n padding: 0;\n background: none;\n cursor: pointer;\n margin: var(--ic-space-xxxs);\n height: calc(var(--ic-space-lg) - var(--ic-space-xxs));\n width: calc(var(--ic-space-lg) - var(--ic-space-xxs));\n}\n\n.dismiss-icon:focus {\n outline: var(--ic-hc-focus-outline);\n}\n\n.dismiss-icon[disabled] {\n pointer-events: none;\n color: var(--ic-architectural-200);\n}\n\n.icon {\n padding: var(--ic-space-xxxs);\n box-sizing: border-box;\n}\n\n.icon,\nic-tooltip {\n width: var(--ic-space-lg);\n height: var(--ic-space-lg);\n}\n\n.chip.disabled path,\n.chip.disabled ::slotted(svg) {\n fill: var(--ic-architectural-200);\n}\n\n@media (forced-colors: active) {\n .chip {\n border: var(--ic-hc-border);\n }\n\n .filled.small {\n padding: calc(var(--ic-space-xxxs) - var(--ic-space-1px));\n }\n\n .filled {\n padding: calc(var(--ic-space-xxxs) + var(--ic-space-1px));\n }\n\n .filled.large {\n padding: calc(var(--ic-space-xs) - var(--ic-space-1px));\n }\n\n .chip.disabled {\n appearance: none;\n border-color: GrayText;\n }\n\n .chip.disabled ic-typography {\n color: GrayText;\n }\n\n .chip.disabled path,\n .chip.disabled ::slotted(svg) {\n fill: GrayText;\n }\n\n .chip:focus-within {\n outline: none;\n border-color: Highlight;\n }\n}\n","import {\n Component,\n h,\n Prop,\n State,\n Listen,\n Event,\n EventEmitter,\n Element,\n Method,\n} from \"@stencil/core\";\nimport {\n onComponentRequiredPropUndefined,\n isSlotUsed,\n removeDisabledFalse,\n} from \"../../utils/helpers\";\nimport { IcChipAppearance } from \"./ic-chip.types\";\nimport { IcSizes } from \"../../utils/types\";\nimport dismissIcon from \"../../assets/dismiss-icon.svg\";\n\n/**\n * @slot icon - Content will be rendered at the start of the chip.\n */\n@Component({\n tag: \"ic-chip\",\n styleUrl: \"ic-chip.css\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class Chip {\n @Element() el: HTMLIcChipElement;\n\n @State() isHovered: boolean = false;\n @State() visible: boolean = true;\n\n /**\n * The emphasis of the chip.\n */\n @Prop() appearance?: IcChipAppearance = \"filled\";\n\n /**\n * If `true`, the chip will appear disabled.\n */\n @Prop() disabled?: boolean = false;\n\n /**\n * If `true`, the chip will have a close button at the end to dismiss it.\n */\n @Prop() dismissible?: boolean = false;\n\n /**\n * The text rendered within the chip.\n */\n @Prop() label!: string;\n\n /**\n * The size of the chip.\n */\n @Prop() size?: IcSizes = \"default\";\n\n /**\n * @deprecated This event should not be used anymore. Use icDismiss instead.\n */\n @Event() dismiss: EventEmitter<void>;\n\n /**\n * Is emitted when the user dismisses the chip.\n */\n @Event() icDismiss: EventEmitter<void>;\n\n componentWillLoad(): void {\n removeDisabledFalse(this.disabled, this.el);\n }\n\n componentDidLoad(): void {\n this.dismissible &&\n this.el.shadowRoot\n .querySelector(\"span.ic-tooltip-label\")\n ?.setAttribute(\"aria-hidden\", \"true\");\n onComponentRequiredPropUndefined(\n [{ prop: this.label, propName: \"label\" }],\n \"Chip\"\n );\n }\n\n @Listen(\"icDismiss\", { capture: true })\n handleClick(): void {\n this.visible = !this.visible;\n }\n\n /**\n * Sets focus on the chip.\n */\n @Method()\n async setFocus(): Promise<void> {\n if (this.el.shadowRoot.querySelector(\"button\")) {\n this.el.shadowRoot.querySelector(\"button\").focus();\n }\n }\n\n private dismissAction = (): void => {\n this.dismiss.emit();\n this.icDismiss.emit();\n };\n\n private mouseEnterHandler = (): void => {\n this.isHovered = true;\n };\n\n private mouseLeaveHandler = (): void => {\n this.isHovered = false;\n };\n\n render() {\n const {\n label,\n appearance,\n size,\n dismissible,\n visible,\n disabled,\n isHovered,\n } = this;\n\n return (\n visible && (\n <div\n class={{\n [\"chip\"]: true,\n [`${appearance}`]: true,\n [`${size}`]: true,\n [\"disabled\"]: disabled,\n [\"dismissible\"]: dismissible,\n [\"hovered\"]: isHovered,\n }}\n >\n {isSlotUsed(this.el, \"icon\") && (\n <div class=\"icon\">\n <slot name=\"icon\" />\n </div>\n )}\n <ic-typography\n variant=\"label\"\n apply-vertical-margins={false}\n class=\"label\"\n >\n <span>{label}</span>\n </ic-typography>\n {dismissible && (\n <ic-tooltip\n label=\"Dismiss\"\n target=\"dismiss-icon\"\n class={{ [\"tooltip-disabled\"]: disabled }}\n >\n <button\n id=\"dismiss-icon\"\n class={{\n [\"dismiss-icon\"]: true,\n }}\n aria-label={`Dismiss ${label} chip`}\n disabled={disabled}\n tabindex={disabled ? -1 : 0}\n onClick={this.dismissAction}\n onMouseEnter={this.mouseEnterHandler}\n onMouseLeave={this.mouseLeaveHandler}\n innerHTML={dismissIcon}\n ></button>\n </ic-tooltip>\n )}\n </div>\n )\n );\n }\n}\n"],"version":3}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
const index = require('./index-4f4d2b43.js');
|
6
|
+
|
7
|
+
const icClassificationBannerCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{position:fixed;left:0;bottom:0;width:100%;height:var(--ic-space-lg);z-index:var(--ic-z-index-classification-banner)}:host(.inline){position:static;left:auto;bottom:auto}.classification-banner{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:var(--ic-space-xxxs) var(--ic-space-md)}.default{background-color:var(--ic-classification-not-set);color:var(--ic-classification-not-set-foreground)}.official,.official-sensitive{background-color:var(--ic-classification-official);color:var(--ic-classification-official-foreground)}.secret{background-color:var(--ic-classification-secret);color:var(--ic-classification-secret-foreground)}.top-secret{background-color:var(--ic-classification-top-secret);color:var(--ic-classification-top-secret-foreground)}.offscreen{position:absolute;left:-9999px;background-color:#fff;color:#000;text-transform:none}@media (forced-colors: active){.classification-banner{border:var(--ic-hc-border)}}";
|
8
|
+
|
9
|
+
const classificationText = {
|
10
|
+
default: "protective marking not set",
|
11
|
+
official: "official",
|
12
|
+
"official-sensitive": "official sensitive",
|
13
|
+
secret: "secret",
|
14
|
+
"top-secret": "top secret",
|
15
|
+
};
|
16
|
+
const ClassificationBanner = class {
|
17
|
+
constructor(hostRef) {
|
18
|
+
index.registerInstance(this, hostRef);
|
19
|
+
this.additionalSelectors = "";
|
20
|
+
this.classification = "default";
|
21
|
+
this.country = "uk";
|
22
|
+
this.inline = false;
|
23
|
+
this.upTo = false;
|
24
|
+
}
|
25
|
+
render() {
|
26
|
+
const { classification, inline, country, upTo, additionalSelectors } = this;
|
27
|
+
return (index.h(index.Host, { class: { ["inline"]: inline } }, index.h("banner", { "aria-label": "Protective marking", class: {
|
28
|
+
["classification-banner"]: true,
|
29
|
+
[`${classification}`]: classification,
|
30
|
+
} }, classification !== "default" ? (index.h("span", { class: "offscreen" }, "The protective marking of this page is:", " ")) : null, index.h("ic-typography", { variant: "caption-uppercase" }, classification === "default"
|
31
|
+
? classificationText[classification]
|
32
|
+
: `${upTo ? "up to" : ""}
|
33
|
+
${country !== "" ? country : ""}
|
34
|
+
${classificationText[classification]}
|
35
|
+
${additionalSelectors !== "" ? additionalSelectors : ""}`))));
|
36
|
+
}
|
37
|
+
};
|
38
|
+
ClassificationBanner.style = icClassificationBannerCss;
|
39
|
+
|
40
|
+
exports.ic_classification_banner = ClassificationBanner;
|
41
|
+
|
42
|
+
//# sourceMappingURL=ic-classification-banner.cjs.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"ic-classification-banner.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,yBAAyB,GAAG,m0GAAm0G;;ACGr2G,MAAM,kBAAkB,GAAG;EACzB,OAAO,EAAE,4BAA4B;EACrC,QAAQ,EAAE,UAAU;EACpB,oBAAoB,EAAE,oBAAoB;EAC1C,MAAM,EAAE,QAAQ;EAChB,YAAY,EAAE,YAAY;CAC3B,CAAC;MAOW,oBAAoB;;;+BAIQ,EAAE;0BAIO,SAAS;mBAI9B,IAAI;kBAIJ,KAAK;gBAIP,KAAK;;EAE9B,MAAM;IACJ,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,mBAAmB,EAAE,GAAG,IAAI,CAAC;IAE5E,QACEA,QAACC,UAAI,IAAC,KAAK,EAAE,EAAE,CAAC,QAAQ,GAAG,MAAM,EAAE,IACjCD,kCACa,oBAAoB,EAC/B,KAAK,EAAE;QACL,CAAC,uBAAuB,GAAG,IAAI;QAC/B,CAAC,GAAG,cAAc,EAAE,GAAG,cAAc;OACtC,IAEA,cAAc,KAAK,SAAS,IAC3BA,kBAAM,KAAK,EAAC,WAAW,+CACmB,GAAG,CACtC,IACL,IAAI,EACRA,2BAAe,OAAO,EAAC,mBAAmB,IACvC,cAAc,KAAK,SAAS;QACzB,kBAAkB,CAAC,cAAc,CAAC;QAClC,GAAG,IAAI,GAAG,OAAO,GAAG,EAAE;iBACrB,OAAO,KAAK,EAAE,GAAG,OAAO,GAAG,EAAE;iBAC7B,kBAAkB,CAAC,cAAc,CAAC;iBAClC,mBAAmB,KAAK,EAAE,GAAG,mBAAmB,GAAG,EAAE,EAAE,CAC9C,CACT,CACJ,EACP;GACH;;;;;;","names":["h","Host"],"sources":["./src/components/ic-classification-banner/ic-classification-banner.css?tag=ic-classification-banner&encapsulation=shadow","./src/components/ic-classification-banner/ic-classification-banner.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n/**\n * @prop --ic-z-index-classification-banner: z-index of classification banner\n */\n\n:host {\n position: fixed;\n left: 0;\n bottom: 0;\n width: 100%;\n height: var(--ic-space-lg);\n z-index: var(--ic-z-index-classification-banner);\n}\n\n:host(.inline) {\n position: static;\n left: auto;\n bottom: auto;\n}\n\n.classification-banner {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n padding: var(--ic-space-xxxs) var(--ic-space-md);\n}\n\n.default {\n background-color: var(--ic-classification-not-set);\n color: var(--ic-classification-not-set-foreground);\n}\n\n.official,\n.official-sensitive {\n background-color: var(--ic-classification-official);\n color: var(--ic-classification-official-foreground);\n}\n\n.secret {\n background-color: var(--ic-classification-secret);\n color: var(--ic-classification-secret-foreground);\n}\n\n.top-secret {\n background-color: var(--ic-classification-top-secret);\n color: var(--ic-classification-top-secret-foreground);\n}\n\n.offscreen {\n position: absolute;\n left: -9999px;\n background-color: #fff;\n color: #000;\n text-transform: none;\n}\n\n@media (forced-colors: active) {\n .classification-banner {\n border: var(--ic-hc-border);\n }\n}\n","import { Component, Prop, h, Host } from \"@stencil/core\";\nimport { IcProtectiveMarkings } from \"./ic-classification-banner.types\";\n\nconst classificationText = {\n default: \"protective marking not set\",\n official: \"official\",\n \"official-sensitive\": \"official sensitive\",\n secret: \"secret\",\n \"top-secret\": \"top secret\",\n};\n\n@Component({\n tag: \"ic-classification-banner\",\n styleUrl: \"ic-classification-banner.css\",\n shadow: true,\n})\nexport class ClassificationBanner {\n /**\n * The additional information that will be displayed after the classification.\n */\n @Prop() additionalSelectors?: string = \"\";\n /**\n * The classification level to be displayed - also determines the banner and text colour.\n */\n @Prop() classification?: IcProtectiveMarkings = \"default\";\n /**\n * The optional text that will be displayed before classification to specify relevant country/countries.\n */\n @Prop() country?: string = \"uk\";\n /**\n * If `true`, the banner will appear inline with the page, instead of sticking to the bottom of the page.\n */\n @Prop() inline?: boolean = false;\n /**\n * If `true`, \"Up to\" will be displayed before the classification and country.\n */\n @Prop() upTo?: boolean = false;\n\n render() {\n const { classification, inline, country, upTo, additionalSelectors } = this;\n\n return (\n <Host class={{ [\"inline\"]: inline }}>\n <banner\n aria-label=\"Protective marking\"\n class={{\n [\"classification-banner\"]: true,\n [`${classification}`]: classification,\n }}\n >\n {classification !== \"default\" ? (\n <span class=\"offscreen\">\n The protective marking of this page is:{\" \"}\n </span>\n ) : null}\n <ic-typography variant=\"caption-uppercase\">\n {classification === \"default\"\n ? classificationText[classification]\n : `${upTo ? \"up to\" : \"\"} \n ${country !== \"\" ? country : \"\"} \n ${classificationText[classification]} \n ${additionalSelectors !== \"\" ? additionalSelectors : \"\"}`}\n </ic-typography>\n </banner>\n </Host>\n );\n }\n}\n"],"version":3}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
const index = require('./index-4f4d2b43.js');
|
6
|
+
|
7
|
+
const icDataEntityCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block}.rows{display:flex;flex-direction:column;gap:var(--ic-space-md)}:host(.small) .rows{gap:var(--ic-space-xs)}.divider{margin-top:var(--ic-space-lg);margin-bottom:var(--ic-space-md);height:var(--ic-space-1px);background-color:var(--ic-architectural-300)}:host(.small) .divider{margin-top:var(--ic-space-sm);margin-bottom:var(--ic-space-xs)}@media (forced-colors: active){.divider{background-color:canvastext}}";
|
8
|
+
|
9
|
+
const DataEntity = class {
|
10
|
+
constructor(hostRef) {
|
11
|
+
index.registerInstance(this, hostRef);
|
12
|
+
this.heading = undefined;
|
13
|
+
this.small = false;
|
14
|
+
}
|
15
|
+
render() {
|
16
|
+
const { heading, small } = this;
|
17
|
+
const children = this.el.children;
|
18
|
+
if (small) {
|
19
|
+
for (let i = 0; i < children.length; i++) {
|
20
|
+
children[i].setAttribute("small", "true");
|
21
|
+
}
|
22
|
+
}
|
23
|
+
return (index.h(index.Host, { class: { ["small"]: small } }, index.h("div", { class: "heading", id: "data-entity-heading" }, index.h("slot", { name: "heading" }, index.h("ic-typography", { variant: "h3" }, heading))), index.h("div", { class: "divider" }), index.h("ul", { "aria-labelledby": "data-entity-heading", class: "rows" }, index.h("slot", null))));
|
24
|
+
}
|
25
|
+
get el() { return index.getElement(this); }
|
26
|
+
};
|
27
|
+
DataEntity.style = icDataEntityCss;
|
28
|
+
|
29
|
+
exports.ic_data_entity = DataEntity;
|
30
|
+
|
31
|
+
//# sourceMappingURL=ic-data-entity.cjs.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"ic-data-entity.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,eAAe,GAAG,2yFAA2yF;;MCOtzF,UAAU;;;;iBAWI,KAAK;;EAE9B,MAAM;IACJ,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;IAEhC,MAAM,QAAQ,GAAG,IAAI,CAAC,EAAE,CAAC,QAAQ,CAAC;IAElC,IAAI,KAAK,EAAE;MACT,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QACxC,QAAQ,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;OAC3C;KACF;IAED,QACEA,QAACC,UAAI,IAAC,KAAK,EAAE,EAAE,CAAC,OAAO,GAAG,KAAK,EAAE,IAC/BD,iBAAK,KAAK,EAAC,SAAS,EAAC,EAAE,EAAC,qBAAqB,IAC3CA,kBAAM,IAAI,EAAC,SAAS,IAClBA,2BAAe,OAAO,EAAC,IAAI,IAAE,OAAO,CAAiB,CAChD,CACH,EACNA,iBAAK,KAAK,EAAC,SAAS,GAAG,EACvBA,mCAAoB,qBAAqB,EAAC,KAAK,EAAC,MAAM,IACpDA,qBAAa,CACV,CACA,EACP;GACH;;;;;;;","names":["h","Host"],"sources":["./src/components/ic-data-entity/ic-data-entity.css?tag=ic-data-entity&encapsulation=shadow","./src/components/ic-data-entity/ic-data-entity.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host {\n display: block;\n}\n\n.rows {\n display: flex;\n flex-direction: column;\n gap: var(--ic-space-md);\n}\n\n:host(.small) .rows {\n gap: var(--ic-space-xs);\n}\n\n.divider {\n margin-top: var(--ic-space-lg);\n margin-bottom: var(--ic-space-md);\n height: var(--ic-space-1px);\n background-color: var(--ic-architectural-300);\n}\n\n:host(.small) .divider {\n margin-top: var(--ic-space-sm);\n margin-bottom: var(--ic-space-xs);\n}\n\n@media (forced-colors: active) {\n .divider {\n background-color: canvastext;\n }\n}\n","import { Component, Element, Host, h, Prop } from \"@stencil/core\";\n\n@Component({\n tag: \"ic-data-entity\",\n styleUrl: \"ic-data-entity.css\",\n shadow: true,\n})\nexport class DataEntity {\n @Element() el: HTMLIcDataEntityElement;\n\n /**\n * The title for the data entity.\n */\n @Prop() heading: string;\n\n /**\n * If `true`, the small styling will be applied to the data heading and all child data rows.\n */\n @Prop() small: boolean = false;\n\n render() {\n const { heading, small } = this;\n\n const children = this.el.children;\n\n if (small) {\n for (let i = 0; i < children.length; i++) {\n children[i].setAttribute(\"small\", \"true\");\n }\n }\n\n return (\n <Host class={{ [\"small\"]: small }}>\n <div class=\"heading\" id=\"data-entity-heading\">\n <slot name=\"heading\">\n <ic-typography variant=\"h3\">{heading}</ic-typography>\n </slot>\n </div>\n <div class=\"divider\" />\n <ul aria-labelledby=\"data-entity-heading\" class=\"rows\">\n <slot></slot>\n </ul>\n </Host>\n );\n }\n}\n"],"version":3}
|
@@ -0,0 +1,91 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
const index = require('./index-4f4d2b43.js');
|
6
|
+
const helpers = require('./helpers-3811d14b.js');
|
7
|
+
require('./types-3eb02246.js');
|
8
|
+
|
9
|
+
const icDataRowCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{position:relative;display:block}.data{display:flex;align-items:center}.text-cells{display:flex;flex-grow:1;min-width:0}.label{width:12.5rem;min-width:12.5rem;margin-right:var(--ic-space-md);color:var(--ic-color-tertiary-text)}.value{flex-grow:1}slot[name=\"value\"]::slotted(ic-text-field[readonly][hide-label]){margin-top:calc(var(--ic-space-xs) * -1)}slot[name=\"value\"]::slotted(ic-text-field[small][readonly][hide-label]){margin-top:calc(var(--ic-space-xxs) * -1)}slot[name=\"value\"]::slotted(ic-text-field[readonly][hide-label][rows]){margin-top:calc(var(--ic-space-xxs) * -1 - var(--ic-space-xxxs))}.end-component{width:-moz-fit-content;width:fit-content;margin-left:3.5rem}.divider{margin-top:var(--ic-space-md);height:var(--ic-space-1px);background-color:var(--ic-architectural-300)}:host(.small) .divider{margin-top:var(--ic-space-xs)}:host(.breakpoint-medium) .label{width:10rem;min-width:10rem}:host(.breakpoint-xs) .text-cells{flex-direction:column}:host(.breakpoint-xs) .label{width:8rem;margin-bottom:var(--ic-space-xs)}:host(.breakpoint-xs) .value{max-width:95%}:host(.breakpoint-xs) .end-component{margin-left:0}@media (forced-colors: active){.divider{background-color:canvastext}}";
|
10
|
+
|
11
|
+
const DataRow = class {
|
12
|
+
constructor(hostRef) {
|
13
|
+
index.registerInstance(this, hostRef);
|
14
|
+
this.hasEndComponent = false;
|
15
|
+
this.resizeObserver = null;
|
16
|
+
this.runResizeObserver = () => {
|
17
|
+
this.resizeObserver = new ResizeObserver(() => {
|
18
|
+
this.checkLabelAbove();
|
19
|
+
});
|
20
|
+
this.resizeObserver.observe(this.el);
|
21
|
+
};
|
22
|
+
/**
|
23
|
+
* Renders the label either as a ic-typography or slot. Slotted content takes precedence.
|
24
|
+
* @param label string - label of value
|
25
|
+
* @returns HTMLDivElement - returns label as slot or ic-typography with label as textContent
|
26
|
+
*/
|
27
|
+
this.renderLabel = (label) => {
|
28
|
+
if (helpers.isSlotUsed(this.el, "label")) {
|
29
|
+
return (index.h("div", { class: "label" }, index.h("slot", { name: "label" })));
|
30
|
+
}
|
31
|
+
else if (label) {
|
32
|
+
return (index.h("div", { class: "label" }, index.h("ic-typography", { variant: this.entitySize === "xs" ? "label" : "subtitle-large" }, label)));
|
33
|
+
}
|
34
|
+
return null;
|
35
|
+
};
|
36
|
+
this.deviceSize = helpers.DEVICE_SIZES.XL;
|
37
|
+
this.entitySize = undefined;
|
38
|
+
this.label = undefined;
|
39
|
+
this.small = false;
|
40
|
+
this.value = undefined;
|
41
|
+
}
|
42
|
+
disconnectedCallback() {
|
43
|
+
if (this.resizeObserver !== null) {
|
44
|
+
this.resizeObserver.disconnect();
|
45
|
+
}
|
46
|
+
}
|
47
|
+
componentWillLoad() {
|
48
|
+
this.deviceSize = helpers.getCurrentDeviceSize();
|
49
|
+
this.hasEndComponent = helpers.slotHasContent(this.el, "end-component");
|
50
|
+
this.checkLabelAbove();
|
51
|
+
}
|
52
|
+
componentDidLoad() {
|
53
|
+
helpers.checkResizeObserver(this.runResizeObserver);
|
54
|
+
if (this.hasEndComponent) {
|
55
|
+
this.labelEndComponent();
|
56
|
+
}
|
57
|
+
}
|
58
|
+
checkLabelAbove() {
|
59
|
+
var _a;
|
60
|
+
const rowSize = (_a = this.el.shadowRoot.querySelector(".data")) === null || _a === void 0 ? void 0 : _a.clientWidth;
|
61
|
+
if (rowSize) {
|
62
|
+
if (rowSize + 46 < helpers.DEVICE_SIZES.S) {
|
63
|
+
this.entitySize = "xs";
|
64
|
+
}
|
65
|
+
else if (rowSize + 46 < helpers.DEVICE_SIZES.M) {
|
66
|
+
this.entitySize = "m";
|
67
|
+
}
|
68
|
+
else {
|
69
|
+
this.entitySize = "xl";
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
labelEndComponent() {
|
74
|
+
const component = this.el.shadowRoot.querySelectorAll("slot[name=end-component]");
|
75
|
+
component.forEach((child) => child.setAttribute("aria-label", "for " + this.label + " row"));
|
76
|
+
}
|
77
|
+
render() {
|
78
|
+
const { label, value, small } = this;
|
79
|
+
return (index.h(index.Host, { class: {
|
80
|
+
["small"]: small,
|
81
|
+
["breakpoint-medium"]: this.entitySize === "m",
|
82
|
+
["breakpoint-xs"]: this.entitySize === "xs",
|
83
|
+
}, role: "listitem" }, index.h("div", { class: "data" }, index.h("div", { class: "text-cells" }, this.renderLabel(label), index.h("div", { class: "value" }, index.h("slot", { name: "value" }, index.h("ic-typography", { variant: "body" }, value)))), this.hasEndComponent && (index.h("div", { class: "end-component" }, index.h("div", { role: "cell" }, index.h("slot", { name: "end-component" }))))), index.h("div", { class: "divider" })));
|
84
|
+
}
|
85
|
+
get el() { return index.getElement(this); }
|
86
|
+
};
|
87
|
+
DataRow.style = icDataRowCss;
|
88
|
+
|
89
|
+
exports.ic_data_row = DataRow;
|
90
|
+
|
91
|
+
//# sourceMappingURL=ic-data-row.cjs.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"ic-data-row.entry.cjs.js","mappings":";;;;;;;;AAAA,MAAM,YAAY,GAAG,sjHAAsjH;;MCmB9jH,OAAO;;;IACV,oBAAe,GAAY,KAAK,CAAC;IACjC,mBAAc,GAAmB,IAAI,CAAC;IAyCtC,sBAAiB,GAAG;MAC1B,IAAI,CAAC,cAAc,GAAG,IAAI,cAAc,CAAC;QACvC,IAAI,CAAC,eAAe,EAAE,CAAC;OACxB,CAAC,CAAC;MAEH,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;KACtC,CAAC;;;;;;IAoBM,gBAAW,GAAG,CAAC,KAAa;MAClC,IAAIA,kBAAU,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,CAAC,EAAE;QAChC,QACEC,iBAAK,KAAK,EAAC,OAAO,IAChBA,kBAAM,IAAI,EAAC,OAAO,GAAQ,CACtB,EACN;OACH;WAAM,IAAI,KAAK,EAAE;QAChB,QACEA,iBAAK,KAAK,EAAC,OAAO,IAChBA,2BACE,OAAO,EAAE,IAAI,CAAC,UAAU,KAAK,IAAI,GAAG,OAAO,GAAG,gBAAgB,IAE7D,KAAK,CACQ,CACZ,EACN;OACH;MAED,OAAO,IAAI,CAAC;KACb,CAAC;sBAnF4BC,oBAAY,CAAC,EAAE;;;iBAWpB,KAAK;;;EAO9B,oBAAoB;IAClB,IAAI,IAAI,CAAC,cAAc,KAAK,IAAI,EAAE;MAChC,IAAI,CAAC,cAAc,CAAC,UAAU,EAAE,CAAC;KAClC;GACF;EAED,iBAAiB;IACf,IAAI,CAAC,UAAU,GAAGC,4BAAoB,EAAE,CAAC;IACzC,IAAI,CAAC,eAAe,GAAGC,sBAAc,CAAC,IAAI,CAAC,EAAE,EAAE,eAAe,CAAC,CAAC;IAChE,IAAI,CAAC,eAAe,EAAE,CAAC;GACxB;EAED,gBAAgB;IACdC,2BAAmB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;IAC5C,IAAI,IAAI,CAAC,eAAe,EAAE;MACxB,IAAI,CAAC,iBAAiB,EAAE,CAAC;KAC1B;GACF;EAUO,eAAe;;IACrB,MAAM,OAAO,GAAG,MAAA,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,OAAO,CAAC,0CAAE,WAAW,CAAC;IACvE,IAAI,OAAO,EAAE;MACX,IAAI,OAAO,GAAG,EAAE,GAAGH,oBAAY,CAAC,CAAC,EAAE;QACjC,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;OACxB;WAAM,IAAI,OAAO,GAAG,EAAE,GAAGA,oBAAY,CAAC,CAAC,EAAE;QACxC,IAAI,CAAC,UAAU,GAAG,GAAG,CAAC;OACvB;WAAM;QACL,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;OACxB;KACF;GACF;EA6BO,iBAAiB;IACvB,MAAM,SAAS,GAAG,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,gBAAgB,CACnD,0BAA0B,CAC3B,CAAC;IAEF,SAAS,CAAC,OAAO,CAAC,CAAC,KAAkB,KACnC,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,CAC/D,CAAC;GACH;EAED,MAAM;IACJ,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;IAErC,QACED,QAACK,UAAI,IACH,KAAK,EAAE;QACL,CAAC,OAAO,GAAG,KAAK;QAChB,CAAC,mBAAmB,GAAG,IAAI,CAAC,UAAU,KAAK,GAAG;QAC9C,CAAC,eAAe,GAAG,IAAI,CAAC,UAAU,KAAK,IAAI;OAC5C,EACD,IAAI,EAAC,UAAU,IAEfL,iBAAK,KAAK,EAAC,MAAM,IACfA,iBAAK,KAAK,EAAC,YAAY,IACpB,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,EACxBA,iBAAK,KAAK,EAAC,OAAO,IAChBA,kBAAM,IAAI,EAAC,OAAO,IAChBA,2BAAe,OAAO,EAAC,MAAM,IAAE,KAAK,CAAiB,CAChD,CACH,CACF,EACL,IAAI,CAAC,eAAe,KACnBA,iBAAK,KAAK,EAAC,eAAe,IACxBA,iBAAK,IAAI,EAAC,MAAM,IACdA,kBAAM,IAAI,EAAC,eAAe,GAAQ,CAC9B,CACF,CACP,CACG,EACNA,iBAAK,KAAK,EAAC,SAAS,GAAG,CAClB,EACP;GACH;;;;;;;","names":["isSlotUsed","h","DEVICE_SIZES","getCurrentDeviceSize","slotHasContent","checkResizeObserver","Host"],"sources":["./src/components/ic-data-row/ic-data-row.css?tag=ic-data-row&encapsulation=shadow","./src/components/ic-data-row/ic-data-row.tsx"],"sourcesContent":["@import \"../../global/normalize.css\";\n\n:host {\n position: relative;\n display: block;\n}\n\n.data {\n display: flex;\n align-items: center;\n}\n\n.text-cells {\n display: flex;\n flex-grow: 1;\n min-width: 0;\n}\n\n.label {\n width: 12.5rem;\n min-width: 12.5rem;\n margin-right: var(--ic-space-md);\n color: var(--ic-color-tertiary-text);\n}\n\n.value {\n flex-grow: 1;\n}\n\nslot[name=\"value\"]::slotted(ic-text-field[readonly][hide-label]) {\n margin-top: calc(var(--ic-space-xs) * -1);\n}\n\nslot[name=\"value\"]::slotted(ic-text-field[small][readonly][hide-label]) {\n margin-top: calc(var(--ic-space-xxs) * -1);\n}\n\nslot[name=\"value\"]::slotted(ic-text-field[readonly][hide-label][rows]) {\n margin-top: calc(var(--ic-space-xxs) * -1 - var(--ic-space-xxxs));\n}\n\n.end-component {\n width: fit-content;\n margin-left: 3.5rem;\n}\n\n.divider {\n margin-top: var(--ic-space-md);\n height: var(--ic-space-1px);\n background-color: var(--ic-architectural-300);\n}\n\n:host(.small) .divider {\n margin-top: var(--ic-space-xs);\n}\n\n:host(.breakpoint-medium) .label {\n width: 10rem;\n min-width: 10rem;\n}\n\n:host(.breakpoint-xs) .text-cells {\n flex-direction: column;\n}\n\n:host(.breakpoint-xs) .label {\n width: 8rem;\n margin-bottom: var(--ic-space-xs);\n}\n\n:host(.breakpoint-xs) .value {\n max-width: 95%;\n}\n\n:host(.breakpoint-xs) .end-component {\n margin-left: 0;\n}\n\n@media (forced-colors: active) {\n .divider {\n background-color: canvastext;\n }\n}\n","import { Component, Element, Host, Prop, h, State } from \"@stencil/core\";\nimport {\n checkResizeObserver,\n DEVICE_SIZES,\n getCurrentDeviceSize,\n isSlotUsed,\n slotHasContent,\n} from \"../../utils/helpers\";\n\n/**\n * @slot label - Content will be rendered in the leftmost cell.\n * @slot value - Content will be rendered to the right of the label.\n * @slot end-component - Content will be displayed in the rightmost cell.\n */\n@Component({\n tag: \"ic-data-row\",\n styleUrl: \"ic-data-row.css\",\n shadow: true,\n})\nexport class DataRow {\n private hasEndComponent: boolean = false;\n private resizeObserver: ResizeObserver = null;\n\n @Element() el: HTMLIcDataRowElement;\n\n @State() deviceSize: number = DEVICE_SIZES.XL;\n @State() entitySize: \"xl\" | \"m\" | \"xs\";\n\n /**\n * The label in the leftmost cell of the row.\n */\n @Prop() label: string;\n\n /**\n * If `true`, the small styling will be applied to the row. This is automatically applied if small is set on the parent data heading.\n */\n @Prop() small: boolean = false;\n\n /**\n * The value of the middle (right if no end-component supplied) cell of the row.\n */\n @Prop() value: string;\n\n disconnectedCallback(): void {\n if (this.resizeObserver !== null) {\n this.resizeObserver.disconnect();\n }\n }\n\n componentWillLoad(): void {\n this.deviceSize = getCurrentDeviceSize();\n this.hasEndComponent = slotHasContent(this.el, \"end-component\");\n this.checkLabelAbove();\n }\n\n componentDidLoad(): void {\n checkResizeObserver(this.runResizeObserver);\n if (this.hasEndComponent) {\n this.labelEndComponent();\n }\n }\n\n private runResizeObserver = () => {\n this.resizeObserver = new ResizeObserver(() => {\n this.checkLabelAbove();\n });\n\n this.resizeObserver.observe(this.el);\n };\n\n private checkLabelAbove() {\n const rowSize = this.el.shadowRoot.querySelector(\".data\")?.clientWidth;\n if (rowSize) {\n if (rowSize + 46 < DEVICE_SIZES.S) {\n this.entitySize = \"xs\";\n } else if (rowSize + 46 < DEVICE_SIZES.M) {\n this.entitySize = \"m\";\n } else {\n this.entitySize = \"xl\";\n }\n }\n }\n\n /**\n * Renders the label either as a ic-typography or slot. Slotted content takes precedence.\n * @param label string - label of value\n * @returns HTMLDivElement - returns label as slot or ic-typography with label as textContent\n */\n private renderLabel = (label: string) => {\n if (isSlotUsed(this.el, \"label\")) {\n return (\n <div class=\"label\">\n <slot name=\"label\"></slot>\n </div>\n );\n } else if (label) {\n return (\n <div class=\"label\">\n <ic-typography\n variant={this.entitySize === \"xs\" ? \"label\" : \"subtitle-large\"}\n >\n {label}\n </ic-typography>\n </div>\n );\n }\n\n return null;\n };\n\n private labelEndComponent(): void {\n const component = this.el.shadowRoot.querySelectorAll(\n \"slot[name=end-component]\"\n );\n\n component.forEach((child: HTMLElement) =>\n child.setAttribute(\"aria-label\", \"for \" + this.label + \" row\")\n );\n }\n\n render() {\n const { label, value, small } = this;\n\n return (\n <Host\n class={{\n [\"small\"]: small,\n [\"breakpoint-medium\"]: this.entitySize === \"m\",\n [\"breakpoint-xs\"]: this.entitySize === \"xs\",\n }}\n role=\"listitem\"\n >\n <div class=\"data\">\n <div class=\"text-cells\">\n {this.renderLabel(label)}\n <div class=\"value\">\n <slot name=\"value\">\n <ic-typography variant=\"body\">{value}</ic-typography>\n </slot>\n </div>\n </div>\n {this.hasEndComponent && (\n <div class=\"end-component\">\n <div role=\"cell\">\n <slot name=\"end-component\"></slot>\n </div>\n </div>\n )}\n </div>\n <div class=\"divider\" />\n </Host>\n );\n }\n}\n"],"version":3}
|
@@ -0,0 +1,295 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
const index = require('./index-4f4d2b43.js');
|
6
|
+
const closeIcon = require('./close-icon-8ccb0163.js');
|
7
|
+
const helpers = require('./helpers-3811d14b.js');
|
8
|
+
require('./types-3eb02246.js');
|
9
|
+
|
10
|
+
const icDialogCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;min-height:100% !important;background:rgb(0 0 0 / 60%);z-index:var(--ic-z-index-dialog);opacity:0;transition:opacity var(--ic-easing-transition-slow)}:host(.fade-in){opacity:1;transition:opacity var(--ic-easing-transition-slow)}:host(.hidden){display:none}.dialog{background-color:var(--ic-architectural-white);border:var(--ic-border-default);border-radius:var(--ic-border-radius);padding:var(--ic-space-xs) var(--ic-space-md);transform:translateY(-3rem);transition:transform 1000s;display:flex;flex-direction:column;box-sizing:border-box}:host(.fade-in) .dialog{transform:translateY(0);transition:transform var(--ic-easing-transition-slow)}.small{width:50%;max-width:25rem;min-height:11rem;max-height:70vh}.medium{width:70vw;max-width:44rem;min-height:12.5rem;max-height:70vh}.large{width:90vw;max-width:62.5rem;min-height:12.5rem;max-height:90vh}.heading-area{display:flex;margin-bottom:var(--ic-space-xs)}.close-icon{margin-left:auto}.close-icon-svg{display:flex;align-items:center}.content-area{-ms-overflow-style:none;scrollbar-width:none;padding:0 var(--ic-space-xs);margin:0 calc(-1 * var(--ic-space-xs))}:host([data-overflow=\"false\"]) .content-area{overflow-y:visible}:host([data-overflow=\"true\"]) .content-area{overflow-y:scroll}:host([data-overflow=\"false\"]) .dialog{overflow:visible}.content-area::-webkit-scrollbar{display:none}#dialog-content{margin-bottom:var(--ic-space-sm)}.status-alert{margin-bottom:var(--ic-space-xs)}.dialog-controls{margin-top:auto;padding-top:var(--ic-space-xs);display:flex;justify-content:flex-end;gap:var(--ic-space-md)}.dialog-control-button{width:-moz-fit-content;width:fit-content}@media (min-width: 800px){:host([size=\"large\"]) .content-area{width:75%}}@media (max-width: 576px){.dialog{width:100vw;height:100vh;transform:translateY(-5rem);max-width:none;max-height:none;box-sizing:border-box}}@media (max-width: 364px){.triple-button{flex-direction:column;gap:var(--ic-space-xs)}.dialog-control-button{width:unset}}";
|
11
|
+
|
12
|
+
const Dialog = class {
|
13
|
+
constructor(hostRef) {
|
14
|
+
index.registerInstance(this, hostRef);
|
15
|
+
this.icDialogCancelled = index.createEvent(this, "icDialogCancelled", 7);
|
16
|
+
this.icDialogClosed = index.createEvent(this, "icDialogClosed", 7);
|
17
|
+
this.icDialogConfirmed = index.createEvent(this, "icDialogConfirmed", 7);
|
18
|
+
this.icDialogOpened = index.createEvent(this, "icDialogOpened", 7);
|
19
|
+
this.DATA_OVERFLOW = "data-overflow";
|
20
|
+
this.DATA_GETS_FOCUS = "data-gets-focus";
|
21
|
+
this.DATA_GETS_FOCUS_SELECTOR = "[data-gets-focus]";
|
22
|
+
this.DIALOG_CONTROLS = "dialog-controls";
|
23
|
+
this.dialogHeight = 0;
|
24
|
+
this.focusedElementIndex = 0;
|
25
|
+
this.IC_TEXT_FIELD = "IC-TEXT-FIELD";
|
26
|
+
this.resizeObserver = null;
|
27
|
+
this.setContentOverflow = () => {
|
28
|
+
if (this.dialogEl.clientHeight < this.dialogEl.scrollHeight) {
|
29
|
+
this.el.setAttribute(this.DATA_OVERFLOW, "true");
|
30
|
+
}
|
31
|
+
else {
|
32
|
+
this.el.setAttribute(this.DATA_OVERFLOW, "false");
|
33
|
+
}
|
34
|
+
};
|
35
|
+
this.runResizeObserver = () => {
|
36
|
+
this.resizeObserver = new ResizeObserver(() => {
|
37
|
+
clearTimeout(this.resizeTimeout);
|
38
|
+
this.resizeTimeout = window.setTimeout(this.resizeObserverCallback, 80);
|
39
|
+
});
|
40
|
+
this.resizeObserver.observe(this.dialogEl);
|
41
|
+
};
|
42
|
+
this.resizeObserverCallback = () => {
|
43
|
+
if (this.dialogEl.clientHeight !== this.dialogHeight) {
|
44
|
+
this.el.setAttribute(this.DATA_OVERFLOW, "false");
|
45
|
+
this.setContentOverflow();
|
46
|
+
this.dialogHeight = this.dialogEl.clientHeight;
|
47
|
+
}
|
48
|
+
};
|
49
|
+
this.setInitialFocus = () => {
|
50
|
+
this.sourceElement = document.activeElement;
|
51
|
+
let focusedElement;
|
52
|
+
if (this.el.querySelector(this.DATA_GETS_FOCUS_SELECTOR) !== null) {
|
53
|
+
focusedElement = this.el.querySelector(this.DATA_GETS_FOCUS_SELECTOR);
|
54
|
+
}
|
55
|
+
else {
|
56
|
+
focusedElement = this.el.shadowRoot.querySelector(this.DATA_GETS_FOCUS_SELECTOR);
|
57
|
+
}
|
58
|
+
if (focusedElement.tagName === this.IC_TEXT_FIELD) {
|
59
|
+
focusedElement.setFocus();
|
60
|
+
}
|
61
|
+
else {
|
62
|
+
focusedElement.focus();
|
63
|
+
}
|
64
|
+
};
|
65
|
+
this.getFocusedElementIndex = () => {
|
66
|
+
for (let i = 0; i < this.interactiveElementList.length; i++) {
|
67
|
+
if (this.interactiveElementList[i] ===
|
68
|
+
(this.el.shadowRoot.activeElement || document.activeElement)) {
|
69
|
+
this.focusedElementIndex = i;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
};
|
73
|
+
this.setAlertVariant = () => {
|
74
|
+
if (this.status !== undefined && this.status !== null) {
|
75
|
+
const alert = this.el.shadowRoot.querySelector("ic-alert");
|
76
|
+
alert.setAttribute("variant", this.status);
|
77
|
+
}
|
78
|
+
};
|
79
|
+
this.closeIconClick = () => {
|
80
|
+
this.hideDialog();
|
81
|
+
};
|
82
|
+
this.getInteractiveElements = () => {
|
83
|
+
this.interactiveElementList = Array.from(this.el.shadowRoot.querySelectorAll("ic-button"));
|
84
|
+
const slottedInteractiveElements = Array.from(this.el.querySelectorAll(`a[href], button, input:not(.ic-input), textarea, select, details, [tabindex]:not([tabindex="-1"]),
|
85
|
+
ic-button, ic-checkbox, ic-select, ic-search-bar, ic-tab-group, ic-radio-group,
|
86
|
+
ic-back-to-top, ic-breadcrumb, ic-chip[dismissible="true"], ic-footer-link, ic-link, ic-navigation-button,
|
87
|
+
ic-navigation-item, ic-switch, ic-text-field`));
|
88
|
+
if (slottedInteractiveElements.length > 0) {
|
89
|
+
if (slottedInteractiveElements[0].slot !== this.DIALOG_CONTROLS) {
|
90
|
+
slottedInteractiveElements[0].setAttribute(this.DATA_GETS_FOCUS, "");
|
91
|
+
}
|
92
|
+
else if (!this.destructive) {
|
93
|
+
slottedInteractiveElements[slottedInteractiveElements.length - 1].setAttribute(this.DATA_GETS_FOCUS, "");
|
94
|
+
}
|
95
|
+
}
|
96
|
+
for (let i = 0; i < slottedInteractiveElements.length; i++) {
|
97
|
+
this.interactiveElementList.splice(1 + i, 0, slottedInteractiveElements[i]);
|
98
|
+
}
|
99
|
+
};
|
100
|
+
this.focusNextInteractiveElement = (shiftKey) => {
|
101
|
+
this.getFocusedElementIndex();
|
102
|
+
if (shiftKey) {
|
103
|
+
this.focusedElementIndex -= 1;
|
104
|
+
}
|
105
|
+
else {
|
106
|
+
this.focusedElementIndex += 1;
|
107
|
+
}
|
108
|
+
if (this.focusedElementIndex > this.interactiveElementList.length - 1)
|
109
|
+
this.focusedElementIndex = 0;
|
110
|
+
else if (this.focusedElementIndex < 0) {
|
111
|
+
this.focusedElementIndex = this.interactiveElementList.length - 1;
|
112
|
+
}
|
113
|
+
const nextFocusEl = this.interactiveElementList[this.focusedElementIndex];
|
114
|
+
if (nextFocusEl.tagName === this.IC_TEXT_FIELD) {
|
115
|
+
nextFocusEl.setFocus();
|
116
|
+
}
|
117
|
+
else {
|
118
|
+
nextFocusEl.focus();
|
119
|
+
}
|
120
|
+
};
|
121
|
+
this.setButtonOnClick = () => {
|
122
|
+
var _a, _b, _c;
|
123
|
+
if (this.buttons) {
|
124
|
+
this.buttonOnclick0 = new Function((_a = this.buttonProps[0]) === null || _a === void 0 ? void 0 : _a.onclick);
|
125
|
+
this.buttonOnclick1 = new Function((_b = this.buttonProps[1]) === null || _b === void 0 ? void 0 : _b.onclick);
|
126
|
+
this.buttonOnclick2 = new Function((_c = this.buttonProps[2]) === null || _c === void 0 ? void 0 : _c.onclick);
|
127
|
+
}
|
128
|
+
};
|
129
|
+
this.getButtonOnclick = (index) => {
|
130
|
+
if (index === 0) {
|
131
|
+
return this.buttonOnclick0();
|
132
|
+
}
|
133
|
+
else if (index === 1) {
|
134
|
+
return this.buttonOnclick1();
|
135
|
+
}
|
136
|
+
else {
|
137
|
+
return this.buttonOnclick2();
|
138
|
+
}
|
139
|
+
};
|
140
|
+
this.getButtonVariant = (index) => {
|
141
|
+
const mainVariant = this.destructive ? "destructive" : "primary";
|
142
|
+
if (this.buttonProps.length === 1) {
|
143
|
+
return mainVariant;
|
144
|
+
}
|
145
|
+
else if (this.buttonProps.length === 2) {
|
146
|
+
if (index === 0) {
|
147
|
+
return "tertiary";
|
148
|
+
}
|
149
|
+
else {
|
150
|
+
return mainVariant;
|
151
|
+
}
|
152
|
+
}
|
153
|
+
else {
|
154
|
+
if (index === 2) {
|
155
|
+
return mainVariant;
|
156
|
+
}
|
157
|
+
else {
|
158
|
+
return "secondary";
|
159
|
+
}
|
160
|
+
}
|
161
|
+
};
|
162
|
+
this.dialogRendered = false;
|
163
|
+
this.fadeIn = false;
|
164
|
+
this.alertHeading = undefined;
|
165
|
+
this.alertMessage = undefined;
|
166
|
+
this.buttons = true;
|
167
|
+
this.closeOnBackdropClick = true;
|
168
|
+
this.destructive = false;
|
169
|
+
this.dismissLabel = "Dismiss";
|
170
|
+
this.heading = undefined;
|
171
|
+
this.label = undefined;
|
172
|
+
this.size = "small";
|
173
|
+
this.status = undefined;
|
174
|
+
this.buttonProps = [
|
175
|
+
{
|
176
|
+
label: "Cancel",
|
177
|
+
onclick: "this.cancelDialog();",
|
178
|
+
},
|
179
|
+
{ label: "Confirm", onclick: "this.confirmDialog();" },
|
180
|
+
];
|
181
|
+
}
|
182
|
+
watchPropHandler() {
|
183
|
+
this.setButtonOnClick();
|
184
|
+
}
|
185
|
+
componentWillLoad() {
|
186
|
+
this.setButtonOnClick();
|
187
|
+
}
|
188
|
+
componentDidLoad() {
|
189
|
+
this.getInteractiveElements();
|
190
|
+
this.setAlertVariant();
|
191
|
+
}
|
192
|
+
handleKeyboard(ev) {
|
193
|
+
if (this.dialogRendered) {
|
194
|
+
switch (ev.key) {
|
195
|
+
case "Tab":
|
196
|
+
ev.preventDefault();
|
197
|
+
this.focusNextInteractiveElement(ev.shiftKey);
|
198
|
+
break;
|
199
|
+
case "Escape":
|
200
|
+
!ev.repeat && this.hideDialog();
|
201
|
+
ev.stopImmediatePropagation();
|
202
|
+
break;
|
203
|
+
}
|
204
|
+
}
|
205
|
+
}
|
206
|
+
handleClick(ev) {
|
207
|
+
const dialogElement = this.el.shadowRoot.querySelector("dialog");
|
208
|
+
if (this.closeOnBackdropClick &&
|
209
|
+
ev.composedPath().indexOf(dialogElement) <= 0) {
|
210
|
+
const rect = this.dialogEl.getBoundingClientRect();
|
211
|
+
const isInDialog = rect.top <= ev.clientY &&
|
212
|
+
ev.clientY <= rect.top + rect.height &&
|
213
|
+
rect.left <= ev.clientX &&
|
214
|
+
ev.clientX <= rect.left + rect.width;
|
215
|
+
if (!isInDialog) {
|
216
|
+
this.hideDialog();
|
217
|
+
}
|
218
|
+
}
|
219
|
+
}
|
220
|
+
/**
|
221
|
+
* Use to show the dialog.
|
222
|
+
*/
|
223
|
+
async showDialog() {
|
224
|
+
this.dialogRendered = true;
|
225
|
+
this.dialogEl.showModal();
|
226
|
+
setTimeout(() => {
|
227
|
+
this.fadeIn = true;
|
228
|
+
}, 10);
|
229
|
+
setTimeout(() => {
|
230
|
+
this.setInitialFocus();
|
231
|
+
helpers.checkResizeObserver(this.runResizeObserver);
|
232
|
+
}, 75);
|
233
|
+
setTimeout(() => {
|
234
|
+
this.getFocusedElementIndex();
|
235
|
+
this.icDialogOpened.emit();
|
236
|
+
}, 80);
|
237
|
+
}
|
238
|
+
/**
|
239
|
+
* Use to hide the dialog.
|
240
|
+
*/
|
241
|
+
async hideDialog() {
|
242
|
+
this.fadeIn = false;
|
243
|
+
if (this.resizeObserver !== null) {
|
244
|
+
this.resizeObserver.disconnect();
|
245
|
+
}
|
246
|
+
setTimeout(() => {
|
247
|
+
var _a;
|
248
|
+
this.dialogRendered = false;
|
249
|
+
this.dialogEl.close();
|
250
|
+
(_a = this.sourceElement) === null || _a === void 0 ? void 0 : _a.focus();
|
251
|
+
this.el.removeAttribute(this.DATA_OVERFLOW);
|
252
|
+
this.dialogHeight = 0;
|
253
|
+
this.icDialogClosed.emit();
|
254
|
+
}, 80);
|
255
|
+
}
|
256
|
+
/**
|
257
|
+
* Cancels the dialog. Used by the default 'Cancel' button or can be called manually to trigger cancelling of dialog.
|
258
|
+
*/
|
259
|
+
async cancelDialog() {
|
260
|
+
this.icDialogCancelled.emit();
|
261
|
+
this.hideDialog();
|
262
|
+
}
|
263
|
+
/**
|
264
|
+
* Confirms the dialog. Used by the default 'Confirm' button or can be called manually to trigger confirming of dialog.
|
265
|
+
*/
|
266
|
+
async confirmDialog() {
|
267
|
+
this.icDialogConfirmed.emit();
|
268
|
+
}
|
269
|
+
render() {
|
270
|
+
const { alertHeading, alertMessage, buttons, buttonProps, size, heading, label, status, destructive, dismissLabel, } = this;
|
271
|
+
return (index.h(index.Host, { class: { ["hidden"]: !this.dialogRendered, ["fade-in"]: this.fadeIn } }, index.h("dialog", { class: { ["dialog"]: true, [`${size}`]: true }, "aria-labelledby": "dialog-label dialog-heading", "aria-describedby": "dialog-alert dialog-content", ref: (el) => (this.dialogEl = el) }, index.h("div", { class: "heading-area" }, index.h("div", { class: "heading-content" }, index.h("div", { class: "label" }, index.h("slot", { name: "label" }, index.h("ic-typography", { variant: "label", id: "dialog-label" }, label))), index.h("div", { class: "heading" }, index.h("slot", { name: "heading" }, index.h("ic-typography", { variant: "h4", id: "dialog-heading" }, heading)))), index.h("ic-button", { class: "close-icon", variant: "icon", "aria-label": dismissLabel, onClick: this.closeIconClick, "data-gets-focus": destructive || !buttons ? "" : null }, index.h("span", { class: "close-icon-svg", slot: "icon", innerHTML: closeIcon.closeIcon }))), index.h("div", { class: "content-area" }, status && (index.h("ic-alert", { variant: status, heading: alertHeading, message: alertMessage, "title-above": true, class: "status-alert", id: "dialog-alert" })), index.h("div", { id: "dialog-content" }, index.h("slot", null))), (buttons || helpers.isSlotUsed(this.el, this.DIALOG_CONTROLS)) && (index.h("div", { class: {
|
272
|
+
[this.DIALOG_CONTROLS]: true,
|
273
|
+
["triple-button"]: buttonProps.length === 3,
|
274
|
+
} }, index.h("slot", { name: this.DIALOG_CONTROLS }, !helpers.isSlotUsed(this.el, this.DIALOG_CONTROLS) &&
|
275
|
+
buttonProps.map((props, index$1) => {
|
276
|
+
if (index$1 > 2) {
|
277
|
+
return;
|
278
|
+
}
|
279
|
+
else {
|
280
|
+
return (index.h("ic-button", { variant: this.getButtonVariant(index$1), onClick: () => this.getButtonOnclick(index$1), class: "dialog-control-button", "full-width": buttonProps.length === 3, "data-gets-focus": this.getButtonVariant(index$1) === "primary"
|
281
|
+
? ""
|
282
|
+
: null }, props.label));
|
283
|
+
}
|
284
|
+
})))))));
|
285
|
+
}
|
286
|
+
get el() { return index.getElement(this); }
|
287
|
+
static get watchers() { return {
|
288
|
+
"buttonProps": ["watchPropHandler"]
|
289
|
+
}; }
|
290
|
+
};
|
291
|
+
Dialog.style = icDialogCss;
|
292
|
+
|
293
|
+
exports.ic_dialog = Dialog;
|
294
|
+
|
295
|
+
//# sourceMappingURL=ic-dialog.cjs.entry.js.map
|