@ukic/web-components 2.1.0-beta.8 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/OpenInNew-f9958725.js +7 -0
- package/dist/cjs/OpenInNew-f9958725.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/core.cjs.js +10 -3
- package/dist/cjs/core.cjs.js.map +1 -1
- package/dist/cjs/{helpers-5f391578.js → helpers-eb53c416.js} +96 -27
- package/dist/cjs/helpers-eb53c416.js.map +1 -0
- package/dist/cjs/ic-alert.cjs.entry.js +12 -35
- package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +6 -5
- package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +39 -33
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +16 -14
- package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +179 -104
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card.cjs.entry.js +46 -45
- package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +24 -23
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +42 -29
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +19 -15
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-classification-banner.cjs.entry.js +1 -1
- package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-entity.cjs.entry.js +2 -2
- package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +38 -24
- package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
- 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 +3 -3
- package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +19 -18
- package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +24 -17
- package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +23 -21
- package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +23 -21
- package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
- 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 +300 -161
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +14 -16
- package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-link.cjs.entry.js +23 -23
- package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
- 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 +20 -19
- package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +88 -58
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +50 -42
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +31 -37
- package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +25 -28
- package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination-item.cjs.entry.js +56 -0
- package/dist/cjs/ic-pagination-item.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-pagination.cjs.entry.js +227 -0
- package/dist/cjs/ic-pagination.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 +43 -25
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +40 -38
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +181 -101
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
- package/dist/cjs/ic-section-container.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-select.cjs.entry.js +360 -177
- package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +116 -87
- package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-skeleton.cjs.entry.js +4 -4
- package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +6 -6
- package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +10 -10
- package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +15 -15
- package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +21 -19
- package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-context.cjs.entry.js +68 -32
- package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +10 -118
- package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +15 -4
- package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +32 -7
- package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-text-field.cjs.entry.js +102 -72
- package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +2 -2
- package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
- 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 +52 -48
- package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +97 -5
- package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
- package/dist/cjs/{index-3ef30d9d.js → index-2a0c6769.js} +272 -44
- package/dist/cjs/index-2a0c6769.js.map +1 -0
- package/dist/cjs/loader.cjs.js +4 -3
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/{popper-11d5f714.js → popper-d7adcfc6.js} +10 -17
- package/dist/cjs/popper-d7adcfc6.js.map +1 -0
- package/dist/cjs/types-3eb02246.js.map +1 -1
- package/dist/collection/assets/error-icon.svg +2 -2
- package/dist/collection/assets/info-icon.svg +2 -2
- package/dist/collection/assets/neutral-icon.svg +2 -2
- package/dist/collection/assets/pagination-first-last.svg +3 -0
- package/dist/collection/assets/pagination-next-previous.svg +3 -0
- package/dist/collection/assets/success-icon.svg +2 -2
- package/dist/collection/assets/warning-icon.svg +2 -2
- package/dist/collection/collection-manifest.json +20 -11
- package/dist/collection/components/ic-alert/ic-alert.css +1 -1
- package/dist/collection/components/ic-alert/ic-alert.js +51 -62
- package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
- package/dist/collection/components/ic-alert/{ic-alert.test.a11y.js → test/a11y/ic-alert.test.a11y.js} +1 -1
- 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/ic-back-to-top.css +8 -4
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +5 -4
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +1 -1
- 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 +19 -4
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +30 -28
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
- 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.js +37 -31
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group.test.a11y.js → test/a11y/ic-breadcrumb-group.test.a11y.js} +1 -1
- 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.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 +23 -8
- package/dist/collection/components/ic-button/ic-button.js +270 -114
- package/dist/collection/components/ic-button/ic-button.js.map +1 -1
- package/dist/collection/components/ic-button/{ic-button.test.a11y.js → test/a11y/ic-button.test.a11y.js} +1 -1
- 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 +35 -10
- package/dist/collection/components/ic-card/ic-card.js +123 -122
- package/dist/collection/components/ic-card/ic-card.js.map +1 -1
- package/dist/collection/components/ic-card/{ic-card.test.a11y.js → test/a11y/ic-card.test.a11y.js} +1 -1
- 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 +11 -8
- package/dist/collection/components/ic-checkbox/ic-checkbox.js +108 -76
- package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +3 -3
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +64 -67
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.types.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/{ic-checkbox-group.test.a11y.js → test/a11y/ic-checkbox-group.test.a11y.js} +1 -1
- 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 +175 -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 +11 -10
- package/dist/collection/components/ic-chip/ic-chip.js +56 -52
- package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
- package/dist/collection/components/ic-chip/{ic-chip.test.a11y.js → test/a11y/ic-chip.test.a11y.js} +1 -1
- 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 +4 -0
- package/dist/collection/components/ic-classification-banner/{ic-classification-banner.test.a11y.js → test/a11y/ic-classification-banner.test.a11y.js} +1 -1
- 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 +1 -1
- package/dist/collection/components/ic-data-entity/{ic-data-entity.test.a11y.js → test/a11y/ic-data-entity.test.a11y.js} +1 -1
- 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 +1 -1
- package/dist/collection/components/ic-data-row/ic-data-row.js +51 -37
- package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -1
- package/dist/collection/components/ic-data-row/{ic-data-row.test.a11y.js → test/a11y/ic-data-row.test.a11y.js} +1 -1
- 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-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 +1 -1
- 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 +2 -2
- package/dist/collection/components/ic-footer/ic-footer.js +51 -49
- package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
- package/dist/collection/components/ic-footer/{ic-footer.test.a11y.js → test/a11y/ic-footer.test.a11y.js} +1 -1
- 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 +36 -4
- package/dist/collection/components/ic-footer-link/ic-footer-link.js +112 -15
- package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
- package/dist/collection/components/ic-footer-link/{ic-footer-link.test.a11y.js → test/a11y/ic-footer-link.test.a11y.js} +1 -1
- 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.js +19 -18
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -1
- package/dist/collection/components/ic-footer-link-group/{ic-footer-link-group.test.a11y.js → test/a11y/ic-footer-link-group.test.a11y.js} +1 -1
- 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 +23 -22
- package/dist/collection/components/ic-hero/ic-hero.js +97 -95
- package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
- package/dist/collection/components/ic-hero/{ic-hero.test.a11y.js → test/a11y/ic-hero.test.a11y.js} +1 -1
- 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 +38 -9
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +45 -45
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
- 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/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 +0 -4
- package/dist/collection/components/ic-input-label/ic-input-label.js +51 -51
- package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -1
- 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 +0 -8
- package/dist/collection/components/ic-input-validation/ic-input-validation.js +41 -41
- package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -1
- 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 +16 -3
- package/dist/collection/components/ic-link/ic-link.js +56 -52
- package/dist/collection/components/ic-link/ic-link.js.map +1 -1
- package/dist/collection/components/ic-link/{ic-link.test.a11y.js → test/a11y/ic-link.test.a11y.js} +1 -1
- 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 +5 -5
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +112 -101
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
- package/dist/collection/components/ic-loading-indicator/{ic-loading-indicator.test.a11y.js → test/a11y/ic-loading-indicator.test.a11y.js} +1 -1
- 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 +52 -11
- package/dist/collection/components/ic-menu/ic-menu.js +521 -268
- package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
- 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 +4 -0
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +58 -57
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
- 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 +8 -11
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +102 -72
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
- package/dist/collection/components/ic-navigation-group/{ic-navigation-group.test.a11y.js → test/a11y/ic-navigation-group.test.a11y.js} +1 -1
- 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 +70 -20
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +181 -83
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
- package/dist/collection/components/ic-navigation-item/{ic-navigation-item.test.a11y.js → test/a11y/ic-navigation-item.test.a11y.js} +1 -1
- 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 +23 -18
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +34 -40
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -1
- 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 +12 -1
- package/dist/collection/components/ic-page-header/ic-page-header.js +66 -69
- package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
- package/dist/collection/components/ic-page-header/{ic-page-header.test.a11y.js → test/a11y/ic-page-header.test.a11y.js} +1 -1
- 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-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 +4 -4
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +104 -80
- package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
- 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/{ic-radio-group.test.a11y.js → test/a11y/ic-radio-group.test.a11y.js} +1 -1
- 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 +6 -6
- package/dist/collection/components/ic-radio-option/ic-radio-option.js +112 -96
- package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.css +18 -14
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +496 -299
- package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.types.js.map +1 -1
- package/dist/collection/components/ic-search-bar/{ic-search-bar.test.a11y.js → test/a11y/ic-search-bar.test.a11y.js} +1 -1
- 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 +1099 -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 +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/ic-select.css +20 -19
- package/dist/collection/components/ic-select/ic-select.js +641 -356
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-select/{ic-select.test.a11y.js → test/a11y/ic-select.test.a11y.js} +1 -1
- 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 +55 -46
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +156 -127
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/{ic-side-navigation.test.a11y.js → test/a11y/ic-side-navigation.test.a11y.js} +1 -1
- 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/{ic-side-navigation-test-examples.js → test/basic/ic-side-navigation-test-examples.js} +90 -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 +412 -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.js +22 -22
- package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -1
- package/dist/collection/components/ic-skeleton/{ic-skeleton.test.a11y.js → test/a11y/ic-skeleton.test.a11y.js} +1 -1
- 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 +10 -13
- package/dist/collection/components/ic-status-tag/ic-status-tag.js +40 -40
- package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
- package/dist/collection/components/ic-status-tag/{ic-status-tag.test.a11y.js → test/a11y/ic-status-tag.test.a11y.js} +1 -1
- 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 +6 -6
- package/dist/collection/components/ic-step/ic-step.js +127 -127
- package/dist/collection/components/ic-step/ic-step.js.map +1 -1
- 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.js +41 -41
- package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
- package/dist/collection/components/ic-stepper/{ic-stepper.test.a11y.js → test/a11y/ic-stepper.test.a11y.js} +1 -1
- 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.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 +4 -4
- package/dist/collection/components/ic-switch/ic-switch.js +75 -73
- package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
- package/dist/collection/components/ic-switch/{ic-switch.test.a11y.js → test/a11y/ic-switch.test.a11y.js} +1 -1
- 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 +4 -4
- package/dist/collection/components/ic-tab/ic-tab.js +114 -31
- package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
- 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 +157 -77
- package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
- 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 +6 -120
- package/dist/collection/components/ic-tab-group/ic-tab-group.js +40 -180
- package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -1
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.css +0 -4
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +89 -34
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -1
- 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 +1 -10
- package/dist/collection/components/ic-text-field/ic-text-field.js +456 -345
- package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
- 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.map +1 -1
- 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 +27 -15
- package/dist/collection/components/ic-tooltip/ic-tooltip.js +116 -64
- package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
- package/dist/collection/components/ic-tooltip/{ic-tooltip.test.a11y.js → test/a11y/ic-tooltip.test.a11y.js} +1 -1
- 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 +25 -48
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +108 -86
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/{ic-top-navigation.test.a11y.js → test/a11y/ic-top-navigation.test.a11y.js} +8 -1
- 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 +58 -1
- package/dist/collection/components/ic-typography/ic-typography.js +140 -22
- package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
- package/dist/collection/components/ic-typography/{ic-typography.test.a11y.js → test/a11y/ic-typography.test.a11y.js} +1 -1
- 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 +296 -0
- package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +1 -0
- package/dist/collection/testspec.setup.js +21 -0
- package/dist/collection/testspec.setup.js.map +1 -1
- package/dist/collection/utils/constants.js +28 -0
- package/dist/collection/utils/constants.js.map +1 -1
- package/dist/collection/utils/helpers.js +31 -27
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/OpenInNew.js +5 -0
- package/dist/components/OpenInNew.js.map +1 -0
- package/dist/components/helpers.js +89 -27
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/ic-alert.js +1 -136
- package/dist/components/ic-alert.js.map +1 -1
- package/dist/components/ic-alert2.js +117 -0
- package/dist/components/ic-alert2.js.map +1 -0
- package/dist/components/ic-back-to-top.js +9 -8
- package/dist/components/ic-back-to-top.js.map +1 -1
- package/dist/components/ic-breadcrumb-group.js +39 -33
- package/dist/components/ic-breadcrumb-group.js.map +1 -1
- package/dist/components/ic-breadcrumb2.js +16 -14
- package/dist/components/ic-breadcrumb2.js.map +1 -1
- package/dist/components/ic-button2.js +101 -45
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card.js +54 -53
- package/dist/components/ic-card.js.map +1 -1
- package/dist/components/ic-checkbox-group.js +28 -28
- package/dist/components/ic-checkbox-group.js.map +1 -1
- package/dist/components/ic-checkbox.js +49 -35
- package/dist/components/ic-checkbox.js.map +1 -1
- package/dist/components/ic-chip.js +24 -20
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-classification-banner.js +1 -1
- package/dist/components/ic-classification-banner.js.map +1 -1
- package/dist/components/ic-data-entity.js +2 -2
- package/dist/components/ic-data-entity.js.map +1 -1
- package/dist/components/ic-data-row.js +39 -25
- package/dist/components/ic-data-row.js.map +1 -1
- 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-divider2.js +3 -3
- package/dist/components/ic-divider2.js.map +1 -1
- package/dist/components/ic-footer-link-group.js +22 -21
- package/dist/components/ic-footer-link-group.js.map +1 -1
- package/dist/components/ic-footer-link.js +31 -19
- package/dist/components/ic-footer-link.js.map +1 -1
- package/dist/components/ic-footer.js +25 -23
- package/dist/components/ic-footer.js.map +1 -1
- package/dist/components/ic-hero.js +30 -28
- package/dist/components/ic-hero.js.map +1 -1
- 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-container2.js +11 -12
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-input-container2.js +1 -1
- package/dist/components/ic-input-label2.js +11 -11
- package/dist/components/ic-input-label2.js.map +1 -1
- package/dist/components/ic-input-validation2.js +9 -11
- package/dist/components/ic-input-validation2.js.map +1 -1
- package/dist/components/ic-link2.js +26 -26
- package/dist/components/ic-link2.js.map +1 -1
- package/dist/components/ic-loading-indicator2.js +49 -38
- package/dist/components/ic-loading-indicator2.js.map +1 -1
- 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-menu2.js +326 -169
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-button.js +26 -25
- package/dist/components/ic-navigation-button.js.map +1 -1
- package/dist/components/ic-navigation-group.js +91 -61
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js +62 -49
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-navigation-menu2.js +33 -39
- package/dist/components/ic-navigation-menu2.js.map +1 -1
- package/dist/components/ic-page-header.js +57 -36
- package/dist/components/ic-page-header.js.map +1 -1
- 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 +288 -0
- package/dist/components/ic-pagination.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.js +48 -30
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +46 -44
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +206 -122
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-section-container2.js +2 -2
- package/dist/components/ic-section-container2.js.map +1 -1
- package/dist/components/ic-select.js +391 -200
- package/dist/components/ic-select.js.map +1 -1
- package/dist/components/ic-side-navigation.js +123 -94
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-skeleton.js +6 -6
- package/dist/components/ic-skeleton.js.map +1 -1
- package/dist/components/ic-status-tag.js +9 -9
- package/dist/components/ic-status-tag.js.map +1 -1
- package/dist/components/ic-step.js +18 -18
- package/dist/components/ic-step.js.map +1 -1
- package/dist/components/ic-stepper.js +21 -21
- package/dist/components/ic-stepper.js.map +1 -1
- package/dist/components/ic-switch.js +26 -24
- package/dist/components/ic-switch.js.map +1 -1
- package/dist/components/ic-tab-context.js +73 -36
- package/dist/components/ic-tab-context.js.map +1 -1
- package/dist/components/ic-tab-group.js +33 -127
- package/dist/components/ic-tab-group.js.map +1 -1
- package/dist/components/ic-tab-panel.js +18 -7
- package/dist/components/ic-tab-panel.js.map +1 -1
- package/dist/components/ic-tab.js +33 -8
- package/dist/components/ic-tab.js.map +1 -1
- package/dist/components/ic-text-field2.js +132 -97
- package/dist/components/ic-text-field2.js.map +1 -1
- package/dist/components/ic-theme.js +2 -2
- package/dist/components/ic-theme.js.map +1 -1
- 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-tooltip2.js +1854 -49
- package/dist/components/ic-tooltip2.js.map +1 -1
- package/dist/components/ic-top-navigation.js +70 -59
- package/dist/components/ic-top-navigation.js.map +1 -1
- package/dist/components/ic-typography2.js +101 -6
- package/dist/components/ic-typography2.js.map +1 -1
- package/dist/components/index.d.ts +9 -52
- package/dist/components/index.js +1 -50
- package/dist/components/index.js.map +1 -1
- package/dist/components/types.js.map +1 -1
- package/dist/core/core.css +47 -3
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/index.esm.js.map +1 -1
- package/dist/core/p-0330cb21.entry.js +2 -0
- package/dist/core/p-0330cb21.entry.js.map +1 -0
- package/dist/core/p-03d1a4a1.entry.js +2 -0
- package/dist/core/p-03d1a4a1.entry.js.map +1 -0
- package/dist/core/p-041604fc.entry.js +2 -0
- package/dist/core/p-041604fc.entry.js.map +1 -0
- package/dist/core/{p-24240e11.js → p-06321d19.js} +2 -2
- package/dist/core/p-06321d19.js.map +1 -0
- package/dist/core/p-1959ec8d.entry.js +2 -0
- package/dist/core/p-1959ec8d.entry.js.map +1 -0
- package/dist/core/p-1b9b8355.entry.js +2 -0
- package/dist/core/p-1b9b8355.entry.js.map +1 -0
- package/dist/core/p-26d5fd0f.entry.js +2 -0
- package/dist/core/p-26d5fd0f.entry.js.map +1 -0
- package/dist/core/p-27d42378.entry.js +2 -0
- package/dist/core/p-27d42378.entry.js.map +1 -0
- package/dist/core/p-2ae7687a.entry.js +2 -0
- package/dist/core/p-2ae7687a.entry.js.map +1 -0
- package/dist/core/p-332690f0.entry.js +2 -0
- package/dist/core/p-332690f0.entry.js.map +1 -0
- package/dist/core/p-39adc795.entry.js +2 -0
- package/dist/core/p-39adc795.entry.js.map +1 -0
- package/dist/core/{p-6be5e06b.entry.js → p-3adb1167.entry.js} +2 -2
- package/dist/core/p-3adb1167.entry.js.map +1 -0
- package/dist/core/p-429e4d24.entry.js +2 -0
- package/dist/core/p-429e4d24.entry.js.map +1 -0
- package/dist/core/{p-ccd078a6.entry.js → p-441e7d98.entry.js} +2 -2
- package/dist/core/p-441e7d98.entry.js.map +1 -0
- package/dist/core/p-44512ebe.js.map +1 -1
- package/dist/core/p-48301eff.entry.js +2 -0
- package/dist/core/p-48301eff.entry.js.map +1 -0
- package/dist/core/p-5144e840.entry.js +2 -0
- package/dist/core/p-5144e840.entry.js.map +1 -0
- package/dist/core/p-5c846d0a.entry.js +2 -0
- package/dist/core/p-5c846d0a.entry.js.map +1 -0
- package/dist/core/p-5c9c940f.entry.js +2 -0
- package/dist/core/p-5c9c940f.entry.js.map +1 -0
- package/dist/core/p-5dd0b02e.js +2 -0
- package/dist/core/p-5dd0b02e.js.map +1 -0
- package/dist/core/{p-c2710b13.entry.js → p-65750560.entry.js} +2 -2
- package/dist/core/p-65750560.entry.js.map +1 -0
- package/dist/core/p-6840589f.entry.js +2 -0
- package/dist/core/p-6840589f.entry.js.map +1 -0
- package/dist/core/p-69920d86.js +3 -0
- package/dist/core/p-69920d86.js.map +1 -0
- package/dist/core/p-6bad30aa.entry.js +2 -0
- package/dist/core/p-6bad30aa.entry.js.map +1 -0
- package/dist/core/p-6f57b13c.js.map +1 -1
- package/dist/core/p-7536dd31.entry.js +2 -0
- package/dist/core/p-7536dd31.entry.js.map +1 -0
- package/dist/core/p-7ae091ef.entry.js +2 -0
- package/dist/core/p-7ae091ef.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-7c46caf2.entry.js +2 -0
- package/dist/core/p-7c46caf2.entry.js.map +1 -0
- package/dist/core/{p-dd194ba9.entry.js → p-83d5bcae.entry.js} +2 -2
- package/dist/core/p-83d5bcae.entry.js.map +1 -0
- package/dist/core/p-892d9d9f.entry.js +2 -0
- package/dist/core/p-892d9d9f.entry.js.map +1 -0
- package/dist/core/p-8991f656.entry.js +2 -0
- package/dist/core/p-8991f656.entry.js.map +1 -0
- package/dist/core/p-8c45ab61.entry.js +2 -0
- package/dist/core/p-8c45ab61.entry.js.map +1 -0
- package/dist/core/p-8c7f4343.js.map +1 -1
- package/dist/core/p-8ca80000.entry.js +2 -0
- package/dist/core/p-8ca80000.entry.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-90d3a41b.entry.js +2 -0
- package/dist/core/p-90d3a41b.entry.js.map +1 -0
- package/dist/core/p-95992c98.entry.js +2 -0
- package/dist/core/p-95992c98.entry.js.map +1 -0
- package/dist/core/p-96b71172.entry.js +2 -0
- package/dist/core/p-96b71172.entry.js.map +1 -0
- package/dist/core/{p-a2d3e955.entry.js → p-96bcd466.entry.js} +2 -2
- package/dist/core/p-96bcd466.entry.js.map +1 -0
- package/dist/core/p-9e551fe9.entry.js +2 -0
- package/dist/core/p-9e551fe9.entry.js.map +1 -0
- package/dist/core/{p-0672c783.entry.js → p-a29fe0c6.entry.js} +2 -2
- package/dist/core/p-a29fe0c6.entry.js.map +1 -0
- package/dist/core/{p-eaf714a3.entry.js → p-a588886f.entry.js} +2 -2
- package/dist/core/p-a588886f.entry.js.map +1 -0
- package/dist/core/{p-0f773f37.entry.js → p-a8b94619.entry.js} +2 -2
- package/dist/core/p-a8b94619.entry.js.map +1 -0
- package/dist/core/p-adceb0cf.entry.js +2 -0
- package/dist/core/p-adceb0cf.entry.js.map +1 -0
- package/dist/core/p-b698b8ad.entry.js +2 -0
- package/dist/core/p-b698b8ad.entry.js.map +1 -0
- package/dist/core/p-b6c538ea.entry.js +2 -0
- package/dist/core/p-b6c538ea.entry.js.map +1 -0
- package/dist/core/p-c012b867.entry.js +2 -0
- package/dist/core/p-c012b867.entry.js.map +1 -0
- package/dist/core/p-c5716cbc.entry.js +2 -0
- package/dist/core/p-c5716cbc.entry.js.map +1 -0
- package/dist/core/p-ca6d834e.entry.js +2 -0
- package/dist/core/p-ca6d834e.entry.js.map +1 -0
- package/dist/core/{p-97d4b6cd.entry.js → p-cbbf4b05.entry.js} +2 -2
- package/dist/core/p-cbbf4b05.entry.js.map +1 -0
- package/dist/core/p-ce791694.entry.js +2 -0
- package/dist/core/p-ce791694.entry.js.map +1 -0
- package/dist/core/p-cef93d12.entry.js +2 -0
- package/dist/core/p-cef93d12.entry.js.map +1 -0
- package/dist/core/p-d2215b72.entry.js +2 -0
- package/dist/core/p-d2215b72.entry.js.map +1 -0
- package/dist/core/p-e0ee714a.entry.js +2 -0
- package/dist/core/p-e0ee714a.entry.js.map +1 -0
- package/dist/core/p-e6370b7e.entry.js +2 -0
- package/dist/core/p-e6370b7e.entry.js.map +1 -0
- package/dist/core/p-ee11e185.entry.js +2 -0
- package/dist/core/p-ee11e185.entry.js.map +1 -0
- package/dist/core/p-f24814b8.entry.js +2 -0
- package/dist/core/p-f24814b8.entry.js.map +1 -0
- package/dist/core/p-f665242d.entry.js +2 -0
- package/dist/core/p-f665242d.entry.js.map +1 -0
- package/dist/core/p-f7695299.entry.js +2 -0
- package/dist/core/p-f7695299.entry.js.map +1 -0
- package/dist/core/p-f923d11b.entry.js +2 -0
- package/dist/core/p-f923d11b.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/chevron-icon-7927f709.js +8 -0
- package/dist/esm/chevron-icon-7927f709.js.map +1 -0
- package/dist/esm/core.js +7 -3
- package/dist/esm/core.js.map +1 -1
- package/dist/esm/{helpers-3aa2f5a5.js → helpers-85903813.js} +90 -28
- package/dist/esm/helpers-85903813.js.map +1 -0
- package/dist/esm/ic-alert.entry.js +12 -35
- package/dist/esm/ic-alert.entry.js.map +1 -1
- package/dist/esm/ic-back-to-top.entry.js +6 -5
- package/dist/esm/ic-back-to-top.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb-group.entry.js +39 -33
- package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +16 -14
- package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ic-button_3.entry.js +179 -104
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card.entry.js +46 -45
- package/dist/esm/ic-card.entry.js.map +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +24 -23
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ic-checkbox.entry.js +42 -29
- package/dist/esm/ic-checkbox.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +19 -15
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-classification-banner.entry.js +1 -1
- package/dist/esm/ic-classification-banner.entry.js.map +1 -1
- package/dist/esm/ic-data-entity.entry.js +2 -2
- package/dist/esm/ic-data-entity.entry.js.map +1 -1
- package/dist/esm/ic-data-row.entry.js +38 -24
- package/dist/esm/ic-data-row.entry.js.map +1 -1
- 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 +3 -3
- package/dist/esm/ic-divider.entry.js.map +1 -1
- package/dist/esm/ic-footer-link-group.entry.js +19 -18
- package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
- package/dist/esm/ic-footer-link.entry.js +24 -17
- package/dist/esm/ic-footer-link.entry.js.map +1 -1
- package/dist/esm/ic-footer.entry.js +23 -21
- package/dist/esm/ic-footer.entry.js.map +1 -1
- package/dist/esm/ic-hero.entry.js +23 -21
- package/dist/esm/ic-hero.entry.js.map +1 -1
- 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 +299 -160
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +11 -13
- package/dist/esm/ic-input-label_2.entry.js.map +1 -1
- package/dist/esm/ic-link.entry.js +23 -23
- package/dist/esm/ic-link.entry.js.map +1 -1
- 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 +20 -19
- package/dist/esm/ic-navigation-button.entry.js.map +1 -1
- package/dist/esm/ic-navigation-group.entry.js +88 -58
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +50 -42
- package/dist/esm/ic-navigation-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +31 -37
- package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
- package/dist/esm/ic-page-header.entry.js +25 -28
- package/dist/esm/ic-page-header.entry.js.map +1 -1
- package/dist/esm/ic-pagination-item.entry.js +52 -0
- package/dist/esm/ic-pagination-item.entry.js.map +1 -0
- package/dist/esm/ic-pagination.entry.js +223 -0
- package/dist/esm/ic-pagination.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 +43 -25
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +40 -38
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +181 -101
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-section-container.entry.js +2 -2
- package/dist/esm/ic-section-container.entry.js.map +1 -1
- package/dist/esm/ic-select.entry.js +360 -177
- package/dist/esm/ic-select.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +116 -87
- package/dist/esm/ic-side-navigation.entry.js.map +1 -1
- package/dist/esm/ic-skeleton.entry.js +4 -4
- package/dist/esm/ic-skeleton.entry.js.map +1 -1
- package/dist/esm/ic-status-tag.entry.js +6 -6
- package/dist/esm/ic-status-tag.entry.js.map +1 -1
- package/dist/esm/ic-step.entry.js +10 -10
- package/dist/esm/ic-step.entry.js.map +1 -1
- package/dist/esm/ic-stepper.entry.js +15 -15
- package/dist/esm/ic-stepper.entry.js.map +1 -1
- package/dist/esm/ic-switch.entry.js +21 -19
- package/dist/esm/ic-switch.entry.js.map +1 -1
- package/dist/esm/ic-tab-context.entry.js +68 -32
- package/dist/esm/ic-tab-context.entry.js.map +1 -1
- package/dist/esm/ic-tab-group.entry.js +10 -118
- package/dist/esm/ic-tab-group.entry.js.map +1 -1
- package/dist/esm/ic-tab-panel.entry.js +15 -4
- package/dist/esm/ic-tab-panel.entry.js.map +1 -1
- package/dist/esm/ic-tab.entry.js +32 -7
- package/dist/esm/ic-tab.entry.js.map +1 -1
- package/dist/esm/ic-text-field.entry.js +102 -72
- package/dist/esm/ic-text-field.entry.js.map +1 -1
- package/dist/esm/ic-theme.entry.js +2 -2
- package/dist/esm/ic-theme.entry.js.map +1 -1
- 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 +52 -48
- package/dist/esm/ic-top-navigation.entry.js.map +1 -1
- package/dist/esm/ic-typography.entry.js +97 -5
- package/dist/esm/ic-typography.entry.js.map +1 -1
- package/dist/esm/{index-1500de1f.js → index-fd30b77e.js} +271 -45
- package/dist/esm/index-fd30b77e.js.map +1 -0
- package/dist/esm/loader.js +4 -3
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/{components/popper.js → esm/popper-15e448b4.js} +10 -17
- package/dist/esm/popper-15e448b4.js.map +1 -0
- package/dist/esm/types-dd515332.js.map +1 -1
- package/dist/types/components/ic-alert/ic-alert.d.ts +13 -13
- package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +8 -8
- package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +6 -6
- package/dist/types/components/ic-breadcrumb/ic-breadcrumb.types.d.ts +1 -1
- package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +16 -9
- package/dist/types/components/ic-button/ic-button.d.ts +62 -32
- package/dist/types/components/ic-button/ic-button.types.d.ts +4 -4
- package/dist/types/components/ic-card/ic-card.d.ts +32 -32
- package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +29 -23
- package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +14 -15
- package/dist/types/components/ic-checkbox-group/ic-checkbox-group.types.d.ts +5 -0
- package/dist/types/components/ic-chip/ic-chip.d.ts +16 -15
- package/dist/types/components/ic-chip/ic-chip.types.d.ts +2 -2
- package/dist/types/components/ic-classification-banner/ic-classification-banner.types.d.ts +1 -1
- package/dist/types/components/ic-data-row/ic-data-row.d.ts +17 -11
- package/dist/types/components/ic-dialog/ic-dialog.d.ts +123 -0
- package/dist/types/components/ic-footer/ic-footer.d.ts +20 -20
- package/dist/types/components/ic-footer/ic-footer.types.d.ts +1 -1
- package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +26 -6
- package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +8 -8
- package/dist/types/components/ic-hero/ic-hero.d.ts +24 -24
- package/dist/types/components/ic-hero/ic-hero.types.d.ts +1 -1
- package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.d.ts +40 -0
- package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +15 -15
- package/dist/types/components/ic-input-label/ic-input-label.d.ts +14 -14
- package/dist/types/components/ic-input-validation/ic-input-validation.d.ts +8 -8
- package/dist/types/components/ic-input-validation/ic-input-validation.types.d.ts +1 -1
- package/dist/types/components/ic-link/ic-link.d.ts +9 -9
- package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +38 -37
- package/dist/types/components/ic-loading-indicator/ic-loading-indicator.types.d.ts +2 -2
- package/dist/types/components/ic-menu/ic-menu.d.ts +89 -50
- 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 +21 -21
- package/dist/types/components/ic-navigation-button/ic-navigation-button.types.d.ts +1 -1
- package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +21 -18
- package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +47 -27
- package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +14 -14
- package/dist/types/components/ic-page-header/ic-page-header.d.ts +19 -19
- package/dist/types/components/ic-pagination/ic-pagination.d.ts +82 -0
- package/dist/types/components/ic-pagination/ic-pagination.types.d.ts +4 -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-radio-group/ic-radio-group.d.ts +22 -23
- package/dist/types/components/ic-radio-group/ic-radio-group.types.d.ts +7 -0
- package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +32 -29
- package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +120 -86
- package/dist/types/components/ic-search-bar/ic-search-bar.types.d.ts +2 -1
- package/dist/types/components/ic-select/ic-select.d.ts +117 -73
- package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +30 -24
- package/dist/types/components/ic-side-navigation/{ic-side-navigation-test-examples.d.ts → test/basic/ic-side-navigation-test-examples.d.ts} +1 -0
- package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +8 -8
- package/dist/types/components/ic-skeleton/ic-skeleton.types.d.ts +1 -1
- package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +8 -8
- package/dist/types/components/ic-status-tag/ic-status-tag.types.d.ts +2 -2
- package/dist/types/components/ic-step/ic-step.d.ts +24 -24
- package/dist/types/components/ic-step/ic-step.types.d.ts +3 -3
- package/dist/types/components/ic-stepper/ic-stepper.d.ts +17 -17
- package/dist/types/components/ic-stepper/ic-stepper.types.d.ts +1 -1
- package/dist/types/components/ic-switch/ic-switch.d.ts +23 -23
- package/dist/types/components/ic-tab/ic-tab.d.ts +25 -8
- package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +29 -20
- package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +6 -33
- package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +27 -7
- package/dist/types/components/ic-text-field/ic-text-field.d.ts +110 -91
- package/dist/types/components/ic-text-field/ic-text-field.types.d.ts +3 -3
- 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 +1 -1
- 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 +22 -15
- package/dist/types/components/ic-tooltip/ic-tooltip.types.d.ts +1 -1
- 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 +36 -32
- 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 +31 -4
- package/dist/types/components/ic-typography/test/a11y/ic-typography.test.a11y.d.ts +1 -0
- package/dist/types/components.d.ts +954 -37
- package/dist/types/interface.d.ts +0 -1
- package/dist/types/stencil-public-runtime.d.ts +74 -15
- package/dist/types/testspec.setup.d.ts +11 -0
- package/dist/types/utils/constants.d.ts +22 -0
- package/dist/types/utils/helpers.d.ts +2 -0
- package/dist/types/utils/types.d.ts +25 -20
- package/hydrate/index.d.ts +17 -16
- package/hydrate/index.js +4258 -2050
- package/loader/index.d.ts +9 -0
- package/package.json +9 -7
- package/dist/cjs/chevron-icon-2645d6b0.js +0 -10
- package/dist/cjs/chevron-icon-2645d6b0.js.map +0 -1
- package/dist/cjs/error-icon-9af90abc.js +0 -20
- package/dist/cjs/error-icon-9af90abc.js.map +0 -1
- package/dist/cjs/helpers-5f391578.js.map +0 -1
- package/dist/cjs/index-3ef30d9d.js.map +0 -1
- package/dist/cjs/popper-11d5f714.js.map +0 -1
- package/dist/cjs/success-icon-c8fec63d.js +0 -12
- package/dist/cjs/success-icon-c8fec63d.js.map +0 -1
- package/dist/collection/components/ic-alert/ic-alert.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-alert/ic-alert.types.js +0 -2
- package/dist/collection/components/ic-alert/ic-alert.types.js.map +0 -1
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group-test-examples.js.map +0 -1
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-button/ic-button.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-card/ic-card.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-chip/ic-chip.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-data-entity/ic-data-entity.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-data-row/ic-data-row.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-footer/ic-footer.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-footer-link/ic-footer-link.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-hero/ic-hero.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-link/ic-link.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-page-header/ic-page-header.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-select/ic-select.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation-test-examples.js.map +0 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-skeleton/ic-skeleton.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-status-tag/ic-status-tag.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-stepper/ic-stepper-test-examples.js.map +0 -1
- package/dist/collection/components/ic-stepper/ic-stepper.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-switch/ic-switch.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-tab-context/ic-tab-context.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-tab-group/assets/left-arrow.svg +0 -3
- package/dist/collection/components/ic-tab-group/assets/right-arrow.svg +0 -3
- package/dist/collection/components/ic-text-field/ic-text-field.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-tooltip/ic-tooltip.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-typography/ic-typography.test.a11y.js.map +0 -1
- package/dist/components/error-icon.js +0 -17
- package/dist/components/error-icon.js.map +0 -1
- package/dist/components/popper.js.map +0 -1
- package/dist/components/success-icon.js +0 -10
- package/dist/components/success-icon.js.map +0 -1
- package/dist/core/p-01ebd24d.entry.js +0 -2
- package/dist/core/p-01ebd24d.entry.js.map +0 -1
- package/dist/core/p-02a6562c.entry.js +0 -2
- package/dist/core/p-02a6562c.entry.js.map +0 -1
- package/dist/core/p-03a4d9dc.entry.js +0 -2
- package/dist/core/p-03a4d9dc.entry.js.map +0 -1
- package/dist/core/p-04cf6fab.entry.js +0 -2
- package/dist/core/p-04cf6fab.entry.js.map +0 -1
- package/dist/core/p-0672c783.entry.js.map +0 -1
- package/dist/core/p-0f773f37.entry.js.map +0 -1
- package/dist/core/p-0fc9d5c8.entry.js +0 -2
- package/dist/core/p-0fc9d5c8.entry.js.map +0 -1
- package/dist/core/p-10a672d4.entry.js +0 -2
- package/dist/core/p-10a672d4.entry.js.map +0 -1
- package/dist/core/p-24240e11.js.map +0 -1
- package/dist/core/p-26fd7d7c.entry.js +0 -2
- package/dist/core/p-26fd7d7c.entry.js.map +0 -1
- package/dist/core/p-2961c45f.entry.js +0 -2
- package/dist/core/p-2961c45f.entry.js.map +0 -1
- package/dist/core/p-2a40f189.entry.js +0 -2
- package/dist/core/p-2a40f189.entry.js.map +0 -1
- package/dist/core/p-2e318c95.entry.js +0 -2
- package/dist/core/p-2e318c95.entry.js.map +0 -1
- package/dist/core/p-2ed06031.entry.js +0 -2
- package/dist/core/p-2ed06031.entry.js.map +0 -1
- package/dist/core/p-30ff49be.entry.js +0 -2
- package/dist/core/p-30ff49be.entry.js.map +0 -1
- package/dist/core/p-3c75ed36.js +0 -2
- package/dist/core/p-3c75ed36.js.map +0 -1
- package/dist/core/p-3f0232f6.entry.js +0 -2
- package/dist/core/p-3f0232f6.entry.js.map +0 -1
- package/dist/core/p-3f0ac826.entry.js +0 -2
- package/dist/core/p-3f0ac826.entry.js.map +0 -1
- package/dist/core/p-454a7f3d.entry.js +0 -2
- package/dist/core/p-454a7f3d.entry.js.map +0 -1
- package/dist/core/p-48f99591.entry.js +0 -2
- package/dist/core/p-48f99591.entry.js.map +0 -1
- package/dist/core/p-4a8c0c58.entry.js +0 -2
- package/dist/core/p-4a8c0c58.entry.js.map +0 -1
- package/dist/core/p-5368bcff.entry.js +0 -2
- package/dist/core/p-5368bcff.entry.js.map +0 -1
- package/dist/core/p-662d5b43.entry.js +0 -2
- package/dist/core/p-662d5b43.entry.js.map +0 -1
- package/dist/core/p-69512d85.entry.js +0 -2
- package/dist/core/p-69512d85.entry.js.map +0 -1
- package/dist/core/p-6bbc0cf5.entry.js +0 -2
- package/dist/core/p-6bbc0cf5.entry.js.map +0 -1
- package/dist/core/p-6be5e06b.entry.js.map +0 -1
- package/dist/core/p-6d0eaaeb.entry.js +0 -2
- package/dist/core/p-6d0eaaeb.entry.js.map +0 -1
- package/dist/core/p-86098b7e.entry.js +0 -2
- package/dist/core/p-86098b7e.entry.js.map +0 -1
- package/dist/core/p-8b383c23.entry.js +0 -2
- package/dist/core/p-8b383c23.entry.js.map +0 -1
- package/dist/core/p-97d4b6cd.entry.js.map +0 -1
- package/dist/core/p-9e684c58.entry.js +0 -2
- package/dist/core/p-9e684c58.entry.js.map +0 -1
- package/dist/core/p-a2d3e955.entry.js.map +0 -1
- package/dist/core/p-a472db51.entry.js +0 -2
- package/dist/core/p-a472db51.entry.js.map +0 -1
- package/dist/core/p-a6a77e5c.js +0 -2
- package/dist/core/p-a6a77e5c.js.map +0 -1
- package/dist/core/p-add01f10.entry.js +0 -2
- package/dist/core/p-add01f10.entry.js.map +0 -1
- package/dist/core/p-b29f210b.entry.js +0 -2
- package/dist/core/p-b29f210b.entry.js.map +0 -1
- package/dist/core/p-c2710b13.entry.js.map +0 -1
- package/dist/core/p-c6764827.entry.js +0 -2
- package/dist/core/p-c6764827.entry.js.map +0 -1
- package/dist/core/p-ccd078a6.entry.js.map +0 -1
- package/dist/core/p-d4f7a3e4.entry.js +0 -2
- package/dist/core/p-d4f7a3e4.entry.js.map +0 -1
- package/dist/core/p-d5e0c02a.js +0 -2
- package/dist/core/p-d5e0c02a.js.map +0 -1
- package/dist/core/p-d77f57d9.entry.js +0 -2
- package/dist/core/p-d77f57d9.entry.js.map +0 -1
- package/dist/core/p-dd194ba9.entry.js.map +0 -1
- package/dist/core/p-de19fed4.entry.js +0 -2
- package/dist/core/p-de19fed4.entry.js.map +0 -1
- package/dist/core/p-e5e885b1.entry.js +0 -2
- package/dist/core/p-e5e885b1.entry.js.map +0 -1
- package/dist/core/p-e94dfa43.entry.js +0 -2
- package/dist/core/p-e94dfa43.entry.js.map +0 -1
- package/dist/core/p-eaf714a3.entry.js.map +0 -1
- package/dist/core/p-ec26fc38.js +0 -2
- package/dist/core/p-ec26fc38.js.map +0 -1
- package/dist/core/p-f51f4d34.entry.js +0 -2
- package/dist/core/p-f51f4d34.entry.js.map +0 -1
- package/dist/core/p-f9370be6.js +0 -3
- package/dist/core/p-f9370be6.js.map +0 -1
- package/dist/esm/chevron-icon-98c98242.js +0 -8
- package/dist/esm/chevron-icon-98c98242.js.map +0 -1
- package/dist/esm/error-icon-1dc70ca0.js +0 -17
- package/dist/esm/error-icon-1dc70ca0.js.map +0 -1
- package/dist/esm/helpers-3aa2f5a5.js.map +0 -1
- package/dist/esm/index-1500de1f.js.map +0 -1
- package/dist/esm/popper-f860750c.js +0 -1801
- package/dist/esm/popper-f860750c.js.map +0 -1
- package/dist/esm/success-icon-75b04341.js +0 -10
- package/dist/esm/success-icon-75b04341.js.map +0 -1
- package/dist/types/components/ic-alert/ic-alert.types.d.ts +0 -1
- /package/dist/collection/{components/ic-link/assets → assets}/OpenInNew.svg +0 -0
- /package/dist/collection/components/ic-back-to-top/{ic-back-to-top.test.a11y.js → test/a11y/ic-back-to-top.test.a11y.js} +0 -0
- /package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group-test-examples.js → test/basic/ic-breadcrumb-group-test-examples.js} +0 -0
- /package/dist/collection/components/ic-stepper/{ic-stepper-test-examples.js → test/basic/ic-stepper-test-examples.js} +0 -0
- /package/dist/collection/components/ic-tab-context/{ic-tab-context.test.a11y.js → test/a11y/ic-tab-context.test.a11y.js} +0 -0
- /package/dist/collection/components/ic-text-field/{ic-text-field.test.a11y.js → test/a11y/ic-text-field.test.a11y.js} +0 -0
- /package/dist/types/components/ic-alert/{ic-alert.test.a11y.d.ts → test/a11y/ic-alert.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-back-to-top/{ic-back-to-top.test.a11y.d.ts → test/a11y/ic-back-to-top.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-breadcrumb-group/{ic-breadcrumb-group.test.a11y.d.ts → test/a11y/ic-breadcrumb-group.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-breadcrumb-group/{ic-breadcrumb-group-test-examples.d.ts → test/basic/ic-breadcrumb-group-test-examples.d.ts} +0 -0
- /package/dist/types/components/ic-button/{ic-button.test.a11y.d.ts → test/a11y/ic-button.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-card/{ic-card.test.a11y.d.ts → test/a11y/ic-card.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-checkbox-group/{ic-checkbox-group.test.a11y.d.ts → test/a11y/ic-checkbox-group.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-chip/{ic-chip.test.a11y.d.ts → test/a11y/ic-chip.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-classification-banner/{ic-classification-banner.test.a11y.d.ts → test/a11y/ic-classification-banner.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-data-entity/{ic-data-entity.test.a11y.d.ts → test/a11y/ic-data-entity.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-data-row/{ic-data-row.test.a11y.d.ts → test/a11y/ic-data-row.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-footer-link-group/ic-footer-link-group.test.a11y.d.ts → ic-dialog/test/a11y/ic-dialog.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-hero/ic-hero.test.a11y.d.ts → ic-footer/test/a11y/ic-footer.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-footer/ic-footer.test.a11y.d.ts → ic-footer-link/test/a11y/ic-footer-link.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-footer-link/ic-footer-link.test.a11y.d.ts → ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-link/ic-link.test.a11y.d.ts → ic-hero/test/a11y/ic-hero.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-loading-indicator/ic-loading-indicator.test.a11y.d.ts → ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-navigation-group/ic-navigation-group.test.a11y.d.ts → ic-link/test/a11y/ic-link.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-navigation-item/ic-navigation-item.test.a11y.d.ts → ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-page-header/ic-page-header.test.a11y.d.ts → ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-radio-group/ic-radio-group.test.a11y.d.ts → ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-search-bar/ic-search-bar.test.a11y.d.ts → ic-page-header/test/a11y/ic-page-header.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-select/ic-select.test.a11y.d.ts → ic-pagination/test/a11y/ic-pagination.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-side-navigation/ic-side-navigation.test.a11y.d.ts → ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-skeleton/ic-skeleton.test.a11y.d.ts → ic-radio-group/test/a11y/ic-radio-group.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-status-tag/ic-status-tag.test.a11y.d.ts → ic-search-bar/test/a11y/ic-search-bar.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-stepper/ic-stepper.test.a11y.d.ts → ic-select/test/a11y/ic-select.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-switch/ic-switch.test.a11y.d.ts → ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-tab-context/ic-tab-context.test.a11y.d.ts → ic-skeleton/test/a11y/ic-skeleton.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-text-field/ic-text-field.test.a11y.d.ts → ic-status-tag/test/a11y/ic-status-tag.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-tooltip/ic-tooltip.test.a11y.d.ts → ic-stepper/test/a11y/ic-stepper.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-stepper/{ic-stepper-test-examples.d.ts → test/basic/ic-stepper-test-examples.d.ts} +0 -0
- /package/dist/types/components/{ic-top-navigation/ic-top-navigation.test.a11y.d.ts → ic-switch/test/a11y/ic-switch.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-typography/ic-typography.test.a11y.d.ts → ic-tab-context/test/a11y/ic-tab-context.test.a11y.d.ts} +0 -0
@@ -443,18 +443,18 @@ video {
|
|
443
443
|
|
444
444
|
:host {
|
445
445
|
display: block;
|
446
|
+
|
447
|
+
--footer-compliance-padding: 1rem 0;
|
446
448
|
}
|
447
449
|
|
448
450
|
:host(.footer-sparse) {
|
449
451
|
--footer-links-padding: 1.5rem 0;
|
450
|
-
--footer-compliance-padding: 1.5rem 0 0.5rem 0;
|
451
452
|
--footer-logo-margin-bottom: var(--ic-space-lg);
|
452
453
|
--footer-link-inner-flex-direction: row;
|
453
454
|
}
|
454
455
|
|
455
456
|
:host(.footer-small) {
|
456
457
|
--footer-links-padding: 0 0;
|
457
|
-
--footer-compliance-padding: 1rem 0 0.5rem;
|
458
458
|
--footer-logo-margin-bottom: var(--ic-space-md);
|
459
459
|
--footer-link-inner-flex-direction: column;
|
460
460
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { h, Host, } from "@stencil/core";
|
2
2
|
import { IC_DEVICE_SIZES } from "../../utils/constants";
|
3
|
-
import { getCurrentDeviceSize, getThemeForegroundColor, checkResizeObserver, hasClassificationBanner, } from "../../utils/helpers";
|
3
|
+
import { getCurrentDeviceSize, getThemeForegroundColor, checkResizeObserver, hasClassificationBanner, isSlotUsed, } from "../../utils/helpers";
|
4
4
|
import { IcThemeForegroundEnum, } from "../../utils/types";
|
5
5
|
/**
|
6
6
|
* @slot description - Content will be rendered at the top of the footer.
|
@@ -23,14 +23,27 @@ export class Footer {
|
|
23
23
|
});
|
24
24
|
this.resizeObserver.observe(this.footerEl);
|
25
25
|
};
|
26
|
-
this.
|
26
|
+
this.deviceSize = IC_DEVICE_SIZES.XL;
|
27
|
+
this.foregroundColor = getThemeForegroundColor();
|
27
28
|
this.aligned = "left";
|
28
29
|
this.breakpoint = "medium";
|
29
|
-
this.groupLinks = false;
|
30
30
|
this.caption = undefined;
|
31
31
|
this.copyright = true;
|
32
|
-
this.
|
33
|
-
this.
|
32
|
+
this.description = undefined;
|
33
|
+
this.groupLinks = false;
|
34
|
+
}
|
35
|
+
disconnectedCallback() {
|
36
|
+
this.resizeObserver.disconnect();
|
37
|
+
}
|
38
|
+
componentWillLoad() {
|
39
|
+
this.deviceSize = getCurrentDeviceSize();
|
40
|
+
}
|
41
|
+
componentDidLoad() {
|
42
|
+
checkResizeObserver(this.runResizeObserver);
|
43
|
+
}
|
44
|
+
themeChangeHandler(ev) {
|
45
|
+
const theme = ev.detail;
|
46
|
+
this.foregroundColor = theme.mode;
|
34
47
|
}
|
35
48
|
isSmall() {
|
36
49
|
const bp = this.breakpoint;
|
@@ -46,19 +59,6 @@ export class Footer {
|
|
46
59
|
? this.deviceSize < IC_DEVICE_SIZES.XL
|
47
60
|
: false;
|
48
61
|
}
|
49
|
-
themeChangeHandler(ev) {
|
50
|
-
const theme = ev.detail;
|
51
|
-
this.foregroundColor = theme.mode;
|
52
|
-
}
|
53
|
-
componentWillLoad() {
|
54
|
-
this.deviceSize = getCurrentDeviceSize();
|
55
|
-
}
|
56
|
-
componentDidLoad() {
|
57
|
-
checkResizeObserver(this.runResizeObserver);
|
58
|
-
}
|
59
|
-
disconnectedCallback() {
|
60
|
-
this.resizeObserver.disconnect();
|
61
|
-
}
|
62
62
|
render() {
|
63
63
|
const { aligned, caption, copyright, description, groupLinks, foregroundColor, } = this;
|
64
64
|
const small = this.isSmall();
|
@@ -70,7 +70,9 @@ export class Footer {
|
|
70
70
|
// Slots will be able to infer their own color
|
71
71
|
[IcThemeForegroundEnum.Dark]: foregroundColor === IcThemeForegroundEnum.Dark,
|
72
72
|
[IcThemeForegroundEnum.Light]: foregroundColor === IcThemeForegroundEnum.Light,
|
73
|
-
} }, h("footer", { ref: (footerEl) => (this.footerEl = footerEl) }, h("div", { class: "footer-description" }, h("ic-section-container", { aligned: aligned, fullHeight: true }, h("div", { class: "footer-description-inner" }, h("ic-typography", { variant: "body" }, h("slot", { name: "description" }, description))))), h("div", { class: "footer-links" }, groupLinks && small ? (h("div", { class: "footer-links-inner" }, h("slot", { name: "link" }))) : (h("ic-section-container", { fullHeight: true, aligned: aligned }, h("div", { class: "footer-links-inner" }, h("slot", { name: "link" }))))), h("div", { class: "footer-compliance" }, h("ic-section-container", { aligned: aligned, fullHeight: true }, h("div", { class: "footer-compliance-inner" }, h("div", { class: "footer-logo" }, h("slot", { name: "logo" })), h("div", { class: "footer-caption" }, h("ic-typography", { variant: this.deviceSize <= IC_DEVICE_SIZES.M
|
73
|
+
} }, h("footer", { ref: (footerEl) => (this.footerEl = footerEl) }, h("div", { class: "footer-description" }, h("ic-section-container", { aligned: aligned, fullHeight: true }, h("div", { class: "footer-description-inner" }, h("ic-typography", { variant: "body" }, h("slot", { name: "description" }, description))))), isSlotUsed(this.el, "link") && (h("div", { class: "footer-links" }, groupLinks && small ? (h("div", { class: "footer-links-inner" }, h("slot", { name: "link" }))) : (h("ic-section-container", { fullHeight: true, aligned: aligned }, h("div", { class: "footer-links-inner" }, h("slot", { name: "link" })))))), h("div", { class: "footer-compliance" }, h("ic-section-container", { aligned: aligned, fullHeight: true }, h("div", { class: "footer-compliance-inner" }, isSlotUsed(this.el, "logo") && (h("div", { class: "footer-logo" }, h("slot", { name: "logo" }))), (isSlotUsed(this.el, "caption") || caption) && (h("div", { class: "footer-caption" }, h("ic-typography", { variant: this.deviceSize <= IC_DEVICE_SIZES.M
|
74
|
+
? "caption"
|
75
|
+
: "body" }, h("slot", { name: "caption" }, caption)))), copyright && (h("div", { class: {
|
74
76
|
["footer-copyright"]: true,
|
75
77
|
["classification-spacing"]: hasClassificationBanner(),
|
76
78
|
} }, h("ic-typography", { variant: this.deviceSize <= IC_DEVICE_SIZES.M
|
@@ -91,23 +93,6 @@ export class Footer {
|
|
91
93
|
}
|
92
94
|
static get properties() {
|
93
95
|
return {
|
94
|
-
"description": {
|
95
|
-
"type": "string",
|
96
|
-
"mutable": false,
|
97
|
-
"complexType": {
|
98
|
-
"original": "string",
|
99
|
-
"resolved": "string",
|
100
|
-
"references": {}
|
101
|
-
},
|
102
|
-
"required": false,
|
103
|
-
"optional": false,
|
104
|
-
"docs": {
|
105
|
-
"tags": [],
|
106
|
-
"text": "The description displayed at the top of the footer."
|
107
|
-
},
|
108
|
-
"attribute": "description",
|
109
|
-
"reflect": false
|
110
|
-
},
|
111
96
|
"aligned": {
|
112
97
|
"type": "string",
|
113
98
|
"mutable": false,
|
@@ -154,7 +139,24 @@ export class Footer {
|
|
154
139
|
"reflect": false,
|
155
140
|
"defaultValue": "\"medium\""
|
156
141
|
},
|
157
|
-
"
|
142
|
+
"caption": {
|
143
|
+
"type": "string",
|
144
|
+
"mutable": false,
|
145
|
+
"complexType": {
|
146
|
+
"original": "string",
|
147
|
+
"resolved": "string",
|
148
|
+
"references": {}
|
149
|
+
},
|
150
|
+
"required": false,
|
151
|
+
"optional": false,
|
152
|
+
"docs": {
|
153
|
+
"tags": [],
|
154
|
+
"text": "The caption displayed at the bottom of the footer."
|
155
|
+
},
|
156
|
+
"attribute": "caption",
|
157
|
+
"reflect": false
|
158
|
+
},
|
159
|
+
"copyright": {
|
158
160
|
"type": "boolean",
|
159
161
|
"mutable": false,
|
160
162
|
"complexType": {
|
@@ -163,16 +165,16 @@ export class Footer {
|
|
163
165
|
"references": {}
|
164
166
|
},
|
165
167
|
"required": false,
|
166
|
-
"optional":
|
168
|
+
"optional": false,
|
167
169
|
"docs": {
|
168
170
|
"tags": [],
|
169
|
-
"text": "If `true`, the footer will
|
171
|
+
"text": "If `true`, the footer will display the crown copyright at the bottom."
|
170
172
|
},
|
171
|
-
"attribute": "
|
173
|
+
"attribute": "copyright",
|
172
174
|
"reflect": false,
|
173
|
-
"defaultValue": "
|
175
|
+
"defaultValue": "true"
|
174
176
|
},
|
175
|
-
"
|
177
|
+
"description": {
|
176
178
|
"type": "string",
|
177
179
|
"mutable": false,
|
178
180
|
"complexType": {
|
@@ -184,12 +186,12 @@ export class Footer {
|
|
184
186
|
"optional": false,
|
185
187
|
"docs": {
|
186
188
|
"tags": [],
|
187
|
-
"text": "The
|
189
|
+
"text": "The description displayed at the top of the footer."
|
188
190
|
},
|
189
|
-
"attribute": "
|
191
|
+
"attribute": "description",
|
190
192
|
"reflect": false
|
191
193
|
},
|
192
|
-
"
|
194
|
+
"groupLinks": {
|
193
195
|
"type": "boolean",
|
194
196
|
"mutable": false,
|
195
197
|
"complexType": {
|
@@ -198,14 +200,14 @@ export class Footer {
|
|
198
200
|
"references": {}
|
199
201
|
},
|
200
202
|
"required": false,
|
201
|
-
"optional":
|
203
|
+
"optional": true,
|
202
204
|
"docs": {
|
203
205
|
"tags": [],
|
204
|
-
"text": "If `true`, the footer will
|
206
|
+
"text": "If `true`, the footer will be set up to handle link groups instead of standalone links."
|
205
207
|
},
|
206
|
-
"attribute": "
|
208
|
+
"attribute": "group-links",
|
207
209
|
"reflect": false,
|
208
|
-
"defaultValue": "
|
210
|
+
"defaultValue": "false"
|
209
211
|
}
|
210
212
|
};
|
211
213
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ic-footer.js","sourceRoot":"","sources":["../../../src/components/ic-footer/ic-footer.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,OAAO,EACP,KAAK,EAEL,IAAI,EACJ,KAAK,EACL,CAAC,EACD,IAAI,EACJ,MAAM,GACP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EACL,oBAAoB,EACpB,uBAAuB,EACvB,mBAAmB,EACnB,uBAAuB,GACxB,MAAM,qBAAqB,CA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,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Element,\n Event,\n EventEmitter,\n Prop,\n State,\n h,\n Host,\n Listen,\n} from \"@stencil/core\";\nimport { IC_DEVICE_SIZES } from \"../../utils/constants\";\nimport {\n getCurrentDeviceSize,\n getThemeForegroundColor,\n checkResizeObserver,\n hasClassificationBanner,\n} from \"../../utils/helpers\";\nimport {\n IcAlignment,\n IcTheme,\n IcThemeForeground,\n IcThemeForegroundEnum,\n} from \"../../utils/types\";\nimport { IcFooterBreakpoints } from \"./ic-footer.types\";\n\n/**\n * @slot description - Content will be rendered at the top of the footer.\n * @slot link - Content will be rendered between description and logos.\n * @slot logo - Content will be rendered underneath footer links.\n * @slot caption - Content will be rendered above Crown Copyright.\n */\n\n@Component({\n tag: \"ic-footer\",\n styleUrl: \"ic-footer.css\",\n shadow: true,\n})\nexport class Footer {\n @Element() el: HTMLIcFooterElement;\n\n /**\n * @internal Triggers on page resize and triggers style changes in footer links and link groups\n */\n @Event() footerResized: EventEmitter<void>;\n\n /**\n * The description displayed at the top of the footer.\n */\n @Prop() description: string;\n\n /**\n * The alignment of the section containers used within the footer.\n */\n @Prop() aligned?: IcAlignment = \"left\";\n\n /**\n * The screen size breakpoint at which to switch to the small layout.\n */\n @Prop() breakpoint?: IcFooterBreakpoints = \"medium\";\n\n /**\n * If `true`, the footer will be set up to handle link groups instead of standalone links.\n */\n @Prop() groupLinks?: boolean = false;\n\n /**\n * The caption displayed at the bottom of the footer.\n */\n @Prop() caption: string;\n\n /**\n * If `true`, the footer will display the crown copyright at the bottom.\n */\n @Prop() copyright: boolean = true;\n\n @State() deviceSize: number = IC_DEVICE_SIZES.XL;\n\n @State() foregroundColor: IcThemeForeground = getThemeForegroundColor();\n\n private isSmall() {\n const bp = this.breakpoint;\n\n return bp === \"extra small\"\n ? this.deviceSize < IC_DEVICE_SIZES.XS\n : bp === \"small\"\n ? this.deviceSize < IC_DEVICE_SIZES.S\n : bp === \"medium\"\n ? this.deviceSize < IC_DEVICE_SIZES.M\n : bp === \"large\"\n ? this.deviceSize < IC_DEVICE_SIZES.L\n : bp === \"extra large\"\n ? this.deviceSize < IC_DEVICE_SIZES.XL\n : false;\n }\n\n @Listen(\"themeChange\", { target: \"document\" })\n themeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.foregroundColor = theme.mode;\n }\n\n private resizeObserver: ResizeObserver;\n private footerEl: HTMLElement;\n\n private resizeObserverCallback = (currSize: number) => {\n if (currSize !== this.deviceSize) {\n this.deviceSize = currSize;\n }\n this.footerResized.emit();\n };\n\n private runResizeObserver = () => {\n this.resizeObserver = new ResizeObserver(() => {\n const currSize = getCurrentDeviceSize();\n this.resizeObserverCallback(currSize);\n });\n\n this.resizeObserver.observe(this.footerEl);\n };\n\n componentWillLoad(): void {\n this.deviceSize = getCurrentDeviceSize();\n }\n\n componentDidLoad(): void {\n checkResizeObserver(this.runResizeObserver);\n }\n\n disconnectedCallback(): void {\n this.resizeObserver.disconnect();\n }\n\n render() {\n const {\n aligned,\n caption,\n copyright,\n description,\n groupLinks,\n foregroundColor,\n } = this;\n const small = this.isSmall();\n\n return (\n <Host\n class={{\n footer: true,\n [`footer-${small ? \"small\" : \"sparse\"}`]: true,\n [`footer-${groupLinks ? \"grouped\" : \"ungrouped\"}`]: true,\n [`footer-${foregroundColor}`]: true,\n // Slots will be able to infer their own color\n [IcThemeForegroundEnum.Dark]:\n foregroundColor === IcThemeForegroundEnum.Dark,\n [IcThemeForegroundEnum.Light]:\n foregroundColor === IcThemeForegroundEnum.Light,\n }}\n >\n <footer ref={(footerEl) => (this.footerEl = footerEl)}>\n {/* Description */}\n <div class=\"footer-description\">\n <ic-section-container aligned={aligned} fullHeight={true}>\n <div class=\"footer-description-inner\">\n <ic-typography variant=\"body\">\n <slot name=\"description\">{description}</slot>\n </ic-typography>\n </div>\n </ic-section-container>\n </div>\n\n {/* Links */}\n <div class=\"footer-links\">\n {groupLinks && small ? (\n <div class=\"footer-links-inner\">\n <slot name=\"link\" />\n </div>\n ) : (\n <ic-section-container fullHeight aligned={aligned}>\n <div class=\"footer-links-inner\">\n <slot name=\"link\" />\n </div>\n </ic-section-container>\n )}\n </div>\n\n {/* Compliance (logo, caption, copyright) */}\n <div class=\"footer-compliance\">\n <ic-section-container aligned={aligned} fullHeight={true}>\n <div class=\"footer-compliance-inner\">\n <div class=\"footer-logo\">\n {/* Logo */}\n <slot name=\"logo\" />\n </div>\n <div class=\"footer-caption\">\n <ic-typography\n variant={\n this.deviceSize <= IC_DEVICE_SIZES.M ? \"caption\" : \"body\"\n }\n >\n <slot name=\"caption\">{caption}</slot>\n </ic-typography>\n </div>\n {copyright && (\n <div\n class={{\n [\"footer-copyright\"]: true,\n [\"classification-spacing\"]: hasClassificationBanner(),\n }}\n >\n <ic-typography\n variant={\n this.deviceSize <= IC_DEVICE_SIZES.M\n ? \"caption-uppercase\"\n : \"label-uppercase\"\n }\n >\n © Crown Copyright\n </ic-typography>\n </div>\n )}\n </div>\n </ic-section-container>\n </div>\n </footer>\n </Host>\n );\n }\n}\n"]}
|
1
|
+
{"version":3,"file":"ic-footer.js","sourceRoot":"","sources":["../../../src/components/ic-footer/ic-footer.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,OAAO,EACP,KAAK,EAEL,IAAI,EACJ,KAAK,EACL,CAAC,EACD,IAAI,EACJ,MAAM,GACP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EACL,oBAAoB,EACpB,uBAAuB,EACvB,mBAAmB,EACnB,uBAAuB,EACvB,UAAU,GACX,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAI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AAE,uBAAuB,EAAE;iBACtD;gBAED,qBACE,OAAO,EACL,IAAI,CAAC,UAAU,IAAI,eAAe,CAAC,CAAC;oBAClC,CAAC,CAAC,mBAAmB;oBACrB,CAAC,CAAC,iBAAiB,6BAIT,CACZ,CACP,CACG,CACe,CACnB,CACC,CACJ,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Element,\n Event,\n EventEmitter,\n Prop,\n State,\n h,\n Host,\n Listen,\n} from \"@stencil/core\";\nimport { IC_DEVICE_SIZES } from \"../../utils/constants\";\nimport {\n getCurrentDeviceSize,\n getThemeForegroundColor,\n checkResizeObserver,\n hasClassificationBanner,\n isSlotUsed,\n} from \"../../utils/helpers\";\nimport {\n IcAlignment,\n IcTheme,\n IcThemeForeground,\n IcThemeForegroundEnum,\n} from \"../../utils/types\";\nimport { IcFooterBreakpoints } from \"./ic-footer.types\";\n\n/**\n * @slot description - Content will be rendered at the top of the footer.\n * @slot link - Content will be rendered between description and logos.\n * @slot logo - Content will be rendered underneath footer links.\n * @slot caption - Content will be rendered above Crown Copyright.\n */\n\n@Component({\n tag: \"ic-footer\",\n styleUrl: \"ic-footer.css\",\n shadow: true,\n})\nexport class Footer {\n private footerEl: HTMLElement;\n private resizeObserver: ResizeObserver;\n\n @Element() el: HTMLIcFooterElement;\n\n @State() deviceSize: number = IC_DEVICE_SIZES.XL;\n @State() foregroundColor: IcThemeForeground = getThemeForegroundColor();\n\n /**\n * The alignment of the section containers used within the footer.\n */\n @Prop() aligned?: IcAlignment = \"left\";\n\n /**\n * The screen size breakpoint at which to switch to the small layout.\n */\n @Prop() breakpoint?: IcFooterBreakpoints = \"medium\";\n\n /**\n * The caption displayed at the bottom of the footer.\n */\n @Prop() caption: string;\n\n /**\n * If `true`, the footer will display the crown copyright at the bottom.\n */\n @Prop() copyright: boolean = true;\n\n /**\n * The description displayed at the top of the footer.\n */\n @Prop() description: string;\n\n /**\n * If `true`, the footer will be set up to handle link groups instead of standalone links.\n */\n @Prop() groupLinks?: boolean = false;\n\n /**\n * @internal Triggers on page resize and triggers style changes in footer links and link groups\n */\n @Event() footerResized: EventEmitter<void>;\n\n disconnectedCallback(): void {\n this.resizeObserver.disconnect();\n }\n\n componentWillLoad(): void {\n this.deviceSize = getCurrentDeviceSize();\n }\n\n componentDidLoad(): void {\n checkResizeObserver(this.runResizeObserver);\n }\n\n @Listen(\"themeChange\", { target: \"document\" })\n themeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.foregroundColor = theme.mode;\n }\n\n private isSmall() {\n const bp = this.breakpoint;\n\n return bp === \"extra small\"\n ? this.deviceSize < IC_DEVICE_SIZES.XS\n : bp === \"small\"\n ? this.deviceSize < IC_DEVICE_SIZES.S\n : bp === \"medium\"\n ? this.deviceSize < IC_DEVICE_SIZES.M\n : bp === \"large\"\n ? this.deviceSize < IC_DEVICE_SIZES.L\n : bp === \"extra large\"\n ? this.deviceSize < IC_DEVICE_SIZES.XL\n : false;\n }\n\n private resizeObserverCallback = (currSize: number) => {\n if (currSize !== this.deviceSize) {\n this.deviceSize = currSize;\n }\n this.footerResized.emit();\n };\n\n private runResizeObserver = () => {\n this.resizeObserver = new ResizeObserver(() => {\n const currSize = getCurrentDeviceSize();\n this.resizeObserverCallback(currSize);\n });\n\n this.resizeObserver.observe(this.footerEl);\n };\n\n render() {\n const {\n aligned,\n caption,\n copyright,\n description,\n groupLinks,\n foregroundColor,\n } = this;\n const small = this.isSmall();\n\n return (\n <Host\n class={{\n footer: true,\n [`footer-${small ? \"small\" : \"sparse\"}`]: true,\n [`footer-${groupLinks ? \"grouped\" : \"ungrouped\"}`]: true,\n [`footer-${foregroundColor}`]: true,\n // Slots will be able to infer their own color\n [IcThemeForegroundEnum.Dark]:\n foregroundColor === IcThemeForegroundEnum.Dark,\n [IcThemeForegroundEnum.Light]:\n foregroundColor === IcThemeForegroundEnum.Light,\n }}\n >\n <footer ref={(footerEl) => (this.footerEl = footerEl)}>\n {/* Description */}\n <div class=\"footer-description\">\n <ic-section-container aligned={aligned} fullHeight={true}>\n <div class=\"footer-description-inner\">\n <ic-typography variant=\"body\">\n <slot name=\"description\">{description}</slot>\n </ic-typography>\n </div>\n </ic-section-container>\n </div>\n\n {/* Links */}\n {isSlotUsed(this.el, \"link\") && (\n <div class=\"footer-links\">\n {groupLinks && small ? (\n <div class=\"footer-links-inner\">\n <slot name=\"link\" />\n </div>\n ) : (\n <ic-section-container fullHeight aligned={aligned}>\n <div class=\"footer-links-inner\">\n <slot name=\"link\" />\n </div>\n </ic-section-container>\n )}\n </div>\n )}\n\n {/* Compliance (logo, caption, copyright) */}\n <div class=\"footer-compliance\">\n <ic-section-container aligned={aligned} fullHeight={true}>\n <div class=\"footer-compliance-inner\">\n {isSlotUsed(this.el, \"logo\") && (\n <div class=\"footer-logo\">\n {/* Logo */}\n <slot name=\"logo\" />\n </div>\n )}\n {(isSlotUsed(this.el, \"caption\") || caption) && (\n <div class=\"footer-caption\">\n <ic-typography\n variant={\n this.deviceSize <= IC_DEVICE_SIZES.M\n ? \"caption\"\n : \"body\"\n }\n >\n <slot name=\"caption\">{caption}</slot>\n </ic-typography>\n </div>\n )}\n {copyright && (\n <div\n class={{\n [\"footer-copyright\"]: true,\n [\"classification-spacing\"]: hasClassificationBanner(),\n }}\n >\n <ic-typography\n variant={\n this.deviceSize <= IC_DEVICE_SIZES.M\n ? \"caption-uppercase\"\n : \"label-uppercase\"\n }\n >\n © Crown Copyright\n </ic-typography>\n </div>\n )}\n </div>\n </ic-section-container>\n </div>\n </footer>\n </Host>\n );\n }\n}\n"]}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { fixture } from "@open-wc/testing-helpers";
|
2
2
|
import { axe } from "jest-axe";
|
3
|
-
import { checkShadowElementRendersCorrectly } from "
|
3
|
+
import { checkShadowElementRendersCorrectly } from "../../../../utils/testa11y.helpers";
|
4
4
|
beforeEach(() => {
|
5
5
|
// IntersectionObserver isn't available in test environment
|
6
6
|
const mockResizeObserver = jest.fn();
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ic-footer.test.a11y.js","sourceRoot":"","sources":["../../../../../src/components/ic-footer/test/a11y/ic-footer.test.a11y.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,kCAAkC,EAAE,MAAM,oCAAoC,CAAC;AAExF,UAAU,CAAC,GAAG,EAAE;EACd,2DAA2D;EAC3D,MAAM,kBAAkB,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;EACrC,kBAAkB,CAAC,eAAe,CAAC;IACjC,OAAO,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC;IACxC,SAAS,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC;IAC1C,UAAU,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC;GAC5C,CAAC,CAAC;EACH,MAAM,CAAC,cAAc,GAAG,kBAAkB,CAAC;AAC7C,CAAC,CAAC,CAAC;AAEH,QAAQ,CAAC,WAAW,EAAE,GAAG,EAAE;EACzB,EAAE,CAAC,sBAAsB,EAAE,KAAK,IAAI,EAAE;IACpC,MAAM,EAAE,GAAG,MAAM,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACpD,kCAAkC,CAAC,EAAE,CAAC,CAAC;IACvC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,kBAAkB,EAAE,CAAC;EAC7C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { fixture } from \"@open-wc/testing-helpers\";\nimport { axe } from \"jest-axe\";\nimport { checkShadowElementRendersCorrectly } from \"../../../../utils/testa11y.helpers\";\n\nbeforeEach(() => {\n // IntersectionObserver isn't available in test environment\n const mockResizeObserver = jest.fn();\n mockResizeObserver.mockReturnValue({\n observe: jest.fn().mockReturnValue(null),\n unobserve: jest.fn().mockReturnValue(null),\n disconnect: jest.fn().mockReturnValue(null),\n });\n window.ResizeObserver = mockResizeObserver;\n});\n\ndescribe(\"ic-footer\", () => {\n it(\"passes accessibility\", async () => {\n const el = await fixture(`<ic-footer></ic-footer>`);\n checkShadowElementRendersCorrectly(el);\n expect(await axe(el)).toHaveNoViolations();\n });\n});\n"]}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
import { newE2EPage } from "@stencil/core/testing";
|
2
|
+
const pageWidth = 700;
|
3
|
+
const pageHeight = 600;
|
4
|
+
describe("ic-footer", () => {
|
5
|
+
it("renders", async () => {
|
6
|
+
const page = await newE2EPage();
|
7
|
+
await page.setContent(`<ic-footer description="Description">
|
8
|
+
<ic-footer-link-group slot="link" group-title="Link group 1">
|
9
|
+
<ic-footer-link href="/">Link 1</ic-footer-link>
|
10
|
+
<ic-footer-link href="/">Link 2</ic-footer-link>
|
11
|
+
</ic-footer-link-group>
|
12
|
+
<ic-footer-link-group slot="link" group-title="Link group 2">
|
13
|
+
<ic-footer-link href="/">Link 1</ic-footer-link>
|
14
|
+
<ic-footer-link href="/">Link 2</ic-footer-link>
|
15
|
+
</ic-footer-link-group>
|
16
|
+
</ic-footer>`);
|
17
|
+
const element = await page.find("ic-footer");
|
18
|
+
expect(element).toHaveClass("hydrated");
|
19
|
+
});
|
20
|
+
it("should toggle the link groups when clicked", async () => {
|
21
|
+
const page = await newE2EPage();
|
22
|
+
await page.setContent(`<ic-footer description="Description">
|
23
|
+
<ic-footer-link-group slot="link" group-title="Link group 1">
|
24
|
+
<ic-footer-link href="/">Link 1</ic-footer-link>
|
25
|
+
<ic-footer-link href="/">Link 2</ic-footer-link>
|
26
|
+
</ic-footer-link-group>
|
27
|
+
<ic-footer-link-group slot="link" group-title="Link group 2">
|
28
|
+
<ic-footer-link href="/">Link 1</ic-footer-link>
|
29
|
+
<ic-footer-link href="/">Link 2</ic-footer-link>
|
30
|
+
</ic-footer-link-group>
|
31
|
+
</ic-footer>`);
|
32
|
+
await page.setViewport({
|
33
|
+
width: pageWidth,
|
34
|
+
height: pageHeight,
|
35
|
+
});
|
36
|
+
await page.waitForChanges();
|
37
|
+
const element = await page.find("ic-footer");
|
38
|
+
let dropdownListLinks = await page.find("ic-footer-link-group >>> .footer-link-group-links");
|
39
|
+
expect(element).not.toBeNull();
|
40
|
+
expect(dropdownListLinks).toBeNull();
|
41
|
+
await page.evaluate(() => {
|
42
|
+
const footerLinkGroup = document.querySelector("ic-footer-link-group");
|
43
|
+
footerLinkGroup.click();
|
44
|
+
});
|
45
|
+
await page.waitForChanges();
|
46
|
+
dropdownListLinks = await page.find("ic-footer-link-group >>> .footer-link-group-links");
|
47
|
+
expect(dropdownListLinks).not.toBeNull();
|
48
|
+
});
|
49
|
+
});
|
50
|
+
//# sourceMappingURL=ic-footer.e2e.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ic-footer.e2e.js","sourceRoot":"","sources":["../../../../../src/components/ic-footer/test/basic/ic-footer.e2e.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,MAAM,SAAS,GAAG,GAAG,CAAC;AACtB,MAAM,UAAU,GAAG,GAAG,CAAC;AAEvB,QAAQ,CAAC,WAAW,EAAE,GAAG,EAAE;EACzB,EAAE,CAAC,SAAS,EAAE,KAAK,IAAI,EAAE;IACvB,MAAM,IAAI,GAAG,MAAM,UAAU,EAAE,CAAC;IAChC,MAAM,IAAI,CAAC,UAAU,CACnB;;;;;;;;;qBASe,CAChB,CAAC;IAEF,MAAM,OAAO,GAAG,MAA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\n it(\"renders\", async () => {\n const page = await newE2EPage();\n await page.setContent(\n `<ic-footer description=\"Description\">\n <ic-footer-link-group slot=\"link\" group-title=\"Link group 1\">\n <ic-footer-link href=\"/\">Link 1</ic-footer-link>\n <ic-footer-link href=\"/\">Link 2</ic-footer-link>\n </ic-footer-link-group>\n <ic-footer-link-group slot=\"link\" group-title=\"Link group 2\">\n <ic-footer-link href=\"/\">Link 1</ic-footer-link>\n <ic-footer-link href=\"/\">Link 2</ic-footer-link>\n </ic-footer-link-group>\n </ic-footer>`\n );\n\n const element = await page.find(\"ic-footer\");\n\n expect(element).toHaveClass(\"hydrated\");\n });\n\n it(\"should toggle the link groups when clicked\", async () => {\n const page = await newE2EPage();\n await page.setContent(\n `<ic-footer description=\"Description\">\n <ic-footer-link-group slot=\"link\" group-title=\"Link group 1\">\n <ic-footer-link href=\"/\">Link 1</ic-footer-link>\n <ic-footer-link href=\"/\">Link 2</ic-footer-link>\n </ic-footer-link-group>\n <ic-footer-link-group slot=\"link\" group-title=\"Link group 2\">\n <ic-footer-link href=\"/\">Link 1</ic-footer-link>\n <ic-footer-link href=\"/\">Link 2</ic-footer-link>\n </ic-footer-link-group>\n </ic-footer>`\n );\n\n await page.setViewport({\n width: pageWidth,\n height: pageHeight,\n });\n\n await page.waitForChanges();\n\n const element = await page.find(\"ic-footer\");\n let dropdownListLinks = await page.find(\n \"ic-footer-link-group >>> .footer-link-group-links\"\n );\n\n expect(element).not.toBeNull();\n expect(dropdownListLinks).toBeNull();\n\n await page.evaluate(() => {\n const footerLinkGroup = document.querySelector(\"ic-footer-link-group\");\n footerLinkGroup.click();\n });\n\n await page.waitForChanges();\n\n dropdownListLinks = await page.find(\n \"ic-footer-link-group >>> .footer-link-group-links\"\n );\n\n expect(dropdownListLinks).not.toBeNull();\n });\n});\n"]}
|
@@ -0,0 +1,140 @@
|
|
1
|
+
import { newSpecPage } from "@stencil/core/testing";
|
2
|
+
import { Typography } from "../../../ic-typography/ic-typography";
|
3
|
+
import { Footer } from "../../ic-footer";
|
4
|
+
import { DEVICE_SIZES } from "../../../../utils/helpers";
|
5
|
+
describe("ic-footer", () => {
|
6
|
+
it("should render", async () => {
|
7
|
+
const page = await newSpecPage({
|
8
|
+
components: [Footer],
|
9
|
+
html: `<ic-footer></ic-footer>`,
|
10
|
+
});
|
11
|
+
expect(page.root).toMatchSnapshot();
|
12
|
+
});
|
13
|
+
it("should render with a description via the description slot", async () => {
|
14
|
+
const page = await newSpecPage({
|
15
|
+
components: [Footer, Typography],
|
16
|
+
html: `<ic-footer><ic-typography slot="description">This is a footer</ic-typography></ic-footer>`,
|
17
|
+
});
|
18
|
+
expect(page.root).toMatchSnapshot();
|
19
|
+
});
|
20
|
+
it("should render with a caption via the caption prop", async () => {
|
21
|
+
const page = await newSpecPage({
|
22
|
+
components: [Footer],
|
23
|
+
html: `<ic-footer description="This is a footer" caption="Made by ICDS"></ic-footer>`,
|
24
|
+
});
|
25
|
+
expect(page.root).toMatchSnapshot();
|
26
|
+
});
|
27
|
+
it("should render with a caption via the caption slot", async () => {
|
28
|
+
const page = await newSpecPage({
|
29
|
+
components: [Footer],
|
30
|
+
html: `<ic-footer description="This is a footer"><ic-typography slot="caption">Made by ICDS</ic-typography></ic-footer>`,
|
31
|
+
});
|
32
|
+
expect(page.root).toMatchSnapshot();
|
33
|
+
});
|
34
|
+
it("should render without the copyright text when the copyright prop is false", async () => {
|
35
|
+
const page = await newSpecPage({
|
36
|
+
components: [Footer],
|
37
|
+
html: `<ic-footer description="This is a footer" copyright=false><ic-typography slot="caption">Made by ICDS</ic-typography></ic-footer>`,
|
38
|
+
});
|
39
|
+
expect(page.root).toMatchSnapshot();
|
40
|
+
});
|
41
|
+
it("should render with links", async () => {
|
42
|
+
const page = await newSpecPage({
|
43
|
+
components: [Footer],
|
44
|
+
html: `
|
45
|
+
<ic-footer description="This is a footer" caption="Made by ICDS">
|
46
|
+
<ic-footer-link href="/" slot="link">Link</ic-footer-link>
|
47
|
+
<ic-footer-link href="/" slot="link">Link</ic-footer-link>
|
48
|
+
</ic-footer>`,
|
49
|
+
});
|
50
|
+
expect(page.root).toMatchSnapshot();
|
51
|
+
});
|
52
|
+
it("should render with link groups", async () => {
|
53
|
+
const page = await newSpecPage({
|
54
|
+
components: [Footer],
|
55
|
+
html: `
|
56
|
+
<ic-footer description="This is a footer" caption="Made by ICDS">
|
57
|
+
<ic-footer-link-group group-title="Links" slot="link">
|
58
|
+
<ic-footer-link href="/">Link</ic-footer-link>
|
59
|
+
<ic-footer-link href="/">Link</ic-footer-link>
|
60
|
+
</ic-footer-link-group>
|
61
|
+
</ic-footer>`,
|
62
|
+
});
|
63
|
+
expect(page.root).toMatchSnapshot();
|
64
|
+
});
|
65
|
+
it("should render with classification banner", async () => {
|
66
|
+
const page = await newSpecPage({
|
67
|
+
components: [Footer],
|
68
|
+
html: `<ic-classification-banner></ic-classification-banner><ic-footer></ic-footer>`,
|
69
|
+
});
|
70
|
+
expect(page.root).toMatchSnapshot("footer-classification-banner");
|
71
|
+
});
|
72
|
+
it("should update foreground colour when the theme is updated", async () => {
|
73
|
+
const page = await newSpecPage({
|
74
|
+
components: [Footer],
|
75
|
+
html: "<div><ic-footer id='ic-footer'></ic-footer></div>",
|
76
|
+
});
|
77
|
+
await page.rootInstance.themeChangeHandler({ detail: { mode: "light" } });
|
78
|
+
expect(page.rootInstance.foregroundColor).toBe("light");
|
79
|
+
});
|
80
|
+
it("should update when resized", async () => {
|
81
|
+
const page = await newSpecPage({
|
82
|
+
components: [Footer],
|
83
|
+
html: "<div><ic-footer id='ic-footer' caption='caption'></ic-footer></div>",
|
84
|
+
});
|
85
|
+
await page.rootInstance.runResizeObserver();
|
86
|
+
await page.waitForChanges();
|
87
|
+
await page.rootInstance.resizeObserverCallback(DEVICE_SIZES.XL);
|
88
|
+
await page.waitForChanges();
|
89
|
+
expect(page.root.shadowRoot
|
90
|
+
.querySelector(".footer-caption")
|
91
|
+
.firstElementChild.getAttribute("variant")).toBe("body");
|
92
|
+
await page.rootInstance.resizeObserverCallback(DEVICE_SIZES.XS);
|
93
|
+
await page.waitForChanges();
|
94
|
+
expect(page.root.shadowRoot
|
95
|
+
.querySelector(".footer-caption")
|
96
|
+
.firstElementChild.getAttribute("variant")).toBe("caption");
|
97
|
+
await page.rootInstance.disconnectedCallback();
|
98
|
+
});
|
99
|
+
it("should render with the correct small breakpoint at extra small device size", async () => {
|
100
|
+
const page = await newSpecPage({
|
101
|
+
components: [Footer],
|
102
|
+
html: "<div><ic-footer id='ic-footer' caption='caption' breakpoint='extra small'></ic-footer></div>",
|
103
|
+
});
|
104
|
+
expect(page.root).not.toBeNull;
|
105
|
+
expect(page.root).toMatchSnapshot("footer-xs-breakpoint");
|
106
|
+
});
|
107
|
+
it("should render with the correct small breakpoint at small device size", async () => {
|
108
|
+
const page = await newSpecPage({
|
109
|
+
components: [Footer],
|
110
|
+
html: "<div><ic-footer id='ic-footer' caption='caption' breakpoint='small'></ic-footer></div>",
|
111
|
+
});
|
112
|
+
expect(page.root).not.toBeNull;
|
113
|
+
expect(page.root).toMatchSnapshot("footer-s-breakpoint");
|
114
|
+
});
|
115
|
+
it("should render with the correct small breakpoint at medium device size", async () => {
|
116
|
+
const page = await newSpecPage({
|
117
|
+
components: [Footer],
|
118
|
+
html: "<div><ic-footer id='ic-footer' caption='caption' breakpoint='medium'></ic-footer></div>",
|
119
|
+
});
|
120
|
+
expect(page.root).not.toBeNull;
|
121
|
+
expect(page.root).toMatchSnapshot("footer-m-breakpoint");
|
122
|
+
});
|
123
|
+
it("should render with the correct small breakpoint at large device size", async () => {
|
124
|
+
const page = await newSpecPage({
|
125
|
+
components: [Footer],
|
126
|
+
html: "<div><ic-footer id='ic-footer' caption='caption' breakpoint='large'></ic-footer></div>",
|
127
|
+
});
|
128
|
+
expect(page.root).not.toBeNull;
|
129
|
+
expect(page.root).toMatchSnapshot("footer-l-breakpoint");
|
130
|
+
});
|
131
|
+
it("should render with the correct small breakpoint at extra large device size", async () => {
|
132
|
+
const page = await newSpecPage({
|
133
|
+
components: [Footer],
|
134
|
+
html: "<div><ic-footer id='ic-footer' caption='caption' breakpoint='extra large'></ic-footer></div>",
|
135
|
+
});
|
136
|
+
expect(page.root).not.toBeNull;
|
137
|
+
expect(page.root).toMatchSnapshot("footer-xl-breakpoint");
|
138
|
+
});
|
139
|
+
});
|
140
|
+
//# sourceMappingURL=ic-footer.spec.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ic-footer.spec.js","sourceRoot":"","sources":["../../../../../src/components/ic-footer/test/basic/ic-footer.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,QAAQ,CAAC,WAAW,EAAE,GAAG,EAAE;EACzB,EAAE,CAAC,eAAe,EAAE,KAAK,IAAI,EAAE;IAC7B,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,MAAM,CAAC;MACpB,IAAI,EAAE,yBAAyB;KAChC,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,CAAC;EACtC,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,2DAA2D,EAAE,KAAK,IAAI,EAAE;IACzE,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,MAAM,EAAE,UAAU,CAAC;MAChC,IAAI,EAAE,2FAA2F;KAClG,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,eAAe,EAAE,CAAC;EACtC,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,mDAAmD,EAAE,KAAK,IAAI,EAAE;IACjE,MAAM,IAAI,GAAG,MAAM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UAAU,EAAE,CAAC,MAAM,CAAC;MACpB,IAAI,EAAE,yFAAyF;KAChG,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC;IAE/B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,eAAe,CAAC,qBAAqB,CAAC,CAAC;EAC3D,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,sEAAsE,EAAE,KAAK,IAAI,EAAE;IACpF,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,MAAM,CAAC;MACpB,IAAI,EAAE,wFAAwF;KAC/F,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC;IAE/B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,eAAe,CAAC,qBAAqB,CAAC,CAAC;EAC3D,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,4EAA4E,EAAE,KAAK,IAAI,EAAE;IAC1F,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,MAAM,CAAC;MACpB,IAAI,EAAE,8FAA8F;KACrG,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC;IAE/B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,eAAe,CAAC,sBAAsB,CAAC,CAAC;EAC5D,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newSpecPage } from \"@stencil/core/testing\";\nimport { Typography } from \"../../../ic-typography/ic-typography\";\nimport { Footer } from \"../../ic-footer\";\nimport { DEVICE_SIZES } from \"../../../../utils/helpers\";\n\ndescribe(\"ic-footer\", () => {\n it(\"should render\", async () => {\n const page = await newSpecPage({\n components: [Footer],\n html: `<ic-footer></ic-footer>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render with a description via the description slot\", async () => {\n const page = await newSpecPage({\n components: [Footer, Typography],\n html: `<ic-footer><ic-typography slot=\"description\">This is a footer</ic-typography></ic-footer>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render with a caption via the caption prop\", async () => {\n const page = await newSpecPage({\n components: [Footer],\n html: `<ic-footer description=\"This is a footer\" caption=\"Made by ICDS\"></ic-footer>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render with a caption via the caption slot\", async () => {\n const page = await newSpecPage({\n components: [Footer],\n html: `<ic-footer description=\"This is a footer\"><ic-typography slot=\"caption\">Made by ICDS</ic-typography></ic-footer>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render without the copyright text when the copyright prop is false\", async () => {\n const page = await newSpecPage({\n components: [Footer],\n html: `<ic-footer description=\"This is a footer\" copyright=false><ic-typography slot=\"caption\">Made by ICDS</ic-typography></ic-footer>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render with links\", async () => {\n const page = await newSpecPage({\n components: [Footer],\n html: `\n <ic-footer description=\"This is a footer\" caption=\"Made by ICDS\">\n <ic-footer-link href=\"/\" slot=\"link\">Link</ic-footer-link>\n <ic-footer-link href=\"/\" slot=\"link\">Link</ic-footer-link>\n </ic-footer>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render with link groups\", async () => {\n const page = await newSpecPage({\n components: [Footer],\n html: `\n <ic-footer description=\"This is a footer\" caption=\"Made by ICDS\">\n <ic-footer-link-group group-title=\"Links\" slot=\"link\">\n <ic-footer-link href=\"/\">Link</ic-footer-link>\n <ic-footer-link href=\"/\">Link</ic-footer-link>\n </ic-footer-link-group>\n </ic-footer>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render with classification banner\", async () => {\n const page = await newSpecPage({\n components: [Footer],\n html: `<ic-classification-banner></ic-classification-banner><ic-footer></ic-footer>`,\n });\n\n expect(page.root).toMatchSnapshot(\"footer-classification-banner\");\n });\n\n it(\"should update foreground colour when the theme is updated\", async () => {\n const page = await newSpecPage({\n components: [Footer],\n html: \"<div><ic-footer id='ic-footer'></ic-footer></div>\",\n });\n\n await page.rootInstance.themeChangeHandler({ detail: { mode: \"light\" } });\n\n expect(page.rootInstance.foregroundColor).toBe(\"light\");\n });\n\n it(\"should update when resized\", async () => {\n const page = await newSpecPage({\n components: [Footer],\n html: \"<div><ic-footer id='ic-footer' caption='caption'></ic-footer></div>\",\n });\n\n await page.rootInstance.runResizeObserver();\n await page.waitForChanges();\n\n await page.rootInstance.resizeObserverCallback(DEVICE_SIZES.XL);\n await page.waitForChanges();\n\n expect(\n page.root.shadowRoot\n .querySelector(\".footer-caption\")\n .firstElementChild.getAttribute(\"variant\")\n ).toBe(\"body\");\n\n await page.rootInstance.resizeObserverCallback(DEVICE_SIZES.XS);\n await page.waitForChanges();\n\n expect(\n page.root.shadowRoot\n .querySelector(\".footer-caption\")\n .firstElementChild.getAttribute(\"variant\")\n ).toBe(\"caption\");\n\n await page.rootInstance.disconnectedCallback();\n });\n\n it(\"should render with the correct small breakpoint at extra small device size\", async () => {\n const page = await newSpecPage({\n components: [Footer],\n html: \"<div><ic-footer id='ic-footer' caption='caption' breakpoint='extra small'></ic-footer></div>\",\n });\n\n expect(page.root).not.toBeNull;\n\n expect(page.root).toMatchSnapshot(\"footer-xs-breakpoint\");\n });\n\n it(\"should render with the correct small breakpoint at small device size\", async () => {\n const page = await newSpecPage({\n components: [Footer],\n html: \"<div><ic-footer id='ic-footer' caption='caption' breakpoint='small'></ic-footer></div>\",\n });\n\n expect(page.root).not.toBeNull;\n\n expect(page.root).toMatchSnapshot(\"footer-s-breakpoint\");\n });\n\n it(\"should render with the correct small breakpoint at medium device size\", async () => {\n const page = await newSpecPage({\n components: [Footer],\n html: \"<div><ic-footer id='ic-footer' caption='caption' breakpoint='medium'></ic-footer></div>\",\n });\n\n expect(page.root).not.toBeNull;\n\n expect(page.root).toMatchSnapshot(\"footer-m-breakpoint\");\n });\n\n it(\"should render with the correct small breakpoint at large device size\", async () => {\n const page = await newSpecPage({\n components: [Footer],\n html: \"<div><ic-footer id='ic-footer' caption='caption' breakpoint='large'></ic-footer></div>\",\n });\n\n expect(page.root).not.toBeNull;\n\n expect(page.root).toMatchSnapshot(\"footer-l-breakpoint\");\n });\n\n it(\"should render with the correct small breakpoint at extra large device size\", async () => {\n const page = await newSpecPage({\n components: [Footer],\n html: \"<div><ic-footer id='ic-footer' caption='caption' breakpoint='extra large'></ic-footer></div>\",\n });\n\n expect(page.root).not.toBeNull;\n\n expect(page.root).toMatchSnapshot(\"footer-xl-breakpoint\");\n });\n});\n"]}
|
@@ -475,7 +475,8 @@ video {
|
|
475
475
|
|
476
476
|
:host(.footer-link) a,
|
477
477
|
:host(.footer-link) a ::slotted(a) {
|
478
|
-
display:
|
478
|
+
display: flex;
|
479
|
+
align-items: flex-end;
|
479
480
|
font-weight: var(--ic-font-weight-bold);
|
480
481
|
color: inherit;
|
481
482
|
width: -moz-fit-content;
|
@@ -521,9 +522,22 @@ a:link:visited > ::slotted(svg) {
|
|
521
522
|
:host(.footer-link) a:link:focus,
|
522
523
|
:host(.footer-link) a ::slotted(a:link:hover),
|
523
524
|
:host(.footer-link) a ::slotted(a:link:focus) {
|
524
|
-
|
525
|
-
|
526
|
-
text-
|
525
|
+
border-bottom: 0.25rem solid !important;
|
526
|
+
margin-bottom: -0.25rem !important;
|
527
|
+
text-decoration: none;
|
528
|
+
}
|
529
|
+
|
530
|
+
@supports (text-decoration-thickness: 25%) {
|
531
|
+
:host(.footer-link) a:link:hover,
|
532
|
+
:host(.footer-link) a:link:focus,
|
533
|
+
:host(.footer-link) a ::slotted(a:link:hover),
|
534
|
+
:host(.footer-link) a ::slotted(a:link:focus) {
|
535
|
+
text-decoration-line: underline;
|
536
|
+
text-decoration-thickness: 25%;
|
537
|
+
text-underline-offset: 25%;
|
538
|
+
border-bottom: 0 !important;
|
539
|
+
margin-bottom: 0 !important;
|
540
|
+
}
|
527
541
|
}
|
528
542
|
|
529
543
|
:host(.footer-link) a:link:hover,
|
@@ -566,6 +580,24 @@ a:link:visited > ::slotted(svg) {
|
|
566
580
|
text-decoration: none;
|
567
581
|
}
|
568
582
|
|
583
|
+
.open-in-new-icon {
|
584
|
+
padding-left: var(--ic-space-xxs);
|
585
|
+
}
|
586
|
+
|
587
|
+
.open-in-new-icon,
|
588
|
+
.open-in-new-icon svg {
|
589
|
+
height: var(--ic-space-md);
|
590
|
+
width: var(--ic-space-md);
|
591
|
+
}
|
592
|
+
|
593
|
+
:host(.footer-link-light) .open-in-new-icon svg {
|
594
|
+
fill: var(--ic-architectural-white);
|
595
|
+
}
|
596
|
+
|
597
|
+
:host(.footer-link-dark) .open-in-new-icon svg {
|
598
|
+
fill: var(--ic-architectural-black);
|
599
|
+
}
|
600
|
+
|
569
601
|
@media screen and (min-width: 769px) {
|
570
602
|
:host(.footer-link.footer-link-ungrouped-sparse:last-of-type) {
|
571
603
|
margin-right: 0;
|