@ukic/web-components 2.25.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/{helpers-4af10d35.js → helpers-94b33ab0.js} +3 -1
- package/dist/cjs/helpers-94b33ab0.js.map +1 -0
- package/dist/cjs/ic-accordion-group.cjs.entry.js +8 -8
- package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-accordion.cjs.entry.js +4 -4
- package/dist/cjs/ic-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-alert.cjs.entry.js +1 -3
- package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +12 -15
- package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-badge.cjs.entry.js +15 -27
- package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +4 -4
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +27 -22
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/{ic-card.cjs.entry.js → ic-card-vertical.cjs.entry.js} +6 -6
- package/dist/cjs/ic-card-vertical.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +6 -5
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +6 -15
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +9 -10
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-classification-banner.cjs.entry.js +2 -2
- package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-list.cjs.entry.js +28 -0
- package/dist/cjs/ic-data-list.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-data-row.cjs.entry.js +9 -10
- package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-dialog.cjs.entry.js +12 -97
- package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-divider.cjs.entry.js +1 -1
- package/dist/cjs/ic-empty-state.cjs.entry.js +6 -6
- package/dist/cjs/ic-empty-state.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +9 -9
- package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +6 -7
- package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +8 -8
- package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +8 -9
- package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +5 -5
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +18 -23
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +11 -12
- package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-link.cjs.entry.js +6 -7
- package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +9 -9
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +5 -5
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +2 -2
- package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +7 -8
- package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-pagination.cjs.entry.js +35 -33
- package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +3 -3
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +40 -25
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +5 -18
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +18 -24
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-select.cjs.entry.js +13 -21
- package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +7 -7
- package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-skeleton.cjs.entry.js +4 -5
- package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +2 -11
- package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +40 -43
- package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +16 -16
- package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +5 -6
- package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-context.cjs.entry.js +0 -11
- package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +4 -5
- package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -8
- package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +4 -4
- package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-text-field.cjs.entry.js +49 -49
- package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +1 -1
- package/dist/cjs/ic-toast-region.cjs.entry.js +0 -7
- package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +83 -35
- package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js +16 -16
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button.cjs.entry.js +13 -13
- package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +4 -4
- package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +51 -16
- package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
- package/dist/cjs/index-f982899d.js +12 -12
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/types-dc22e301.js.map +1 -1
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/ic-accordion/ic-accordion.css +7 -7
- package/dist/collection/components/ic-accordion/ic-accordion.js +2 -2
- package/dist/collection/components/ic-accordion/ic-accordion.js.map +1 -1
- package/dist/collection/components/ic-accordion-group/ic-accordion-group.css +5 -5
- package/dist/collection/components/ic-accordion-group/ic-accordion-group.js +9 -9
- package/dist/collection/components/ic-accordion-group/ic-accordion-group.js.map +1 -1
- package/dist/collection/components/ic-accordion-group/test/basic/ic-accordion-group.spec.js +7 -7
- package/dist/collection/components/ic-accordion-group/test/basic/ic-accordion-group.spec.js.map +1 -1
- package/dist/collection/components/ic-alert/ic-alert.js +0 -19
- package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.css +21 -61
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +10 -13
- 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/basic/ic-back-to-top.spec.js +9 -10
- package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js.map +1 -1
- package/dist/collection/components/ic-badge/ic-badge.css +33 -33
- package/dist/collection/components/ic-badge/ic-badge.js +18 -74
- package/dist/collection/components/ic-badge/ic-badge.js.map +1 -1
- package/dist/collection/components/ic-badge/test/basic/ic-badge.spec.js +41 -43
- package/dist/collection/components/ic-badge/test/basic/ic-badge.spec.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.css +2 -2
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +1 -1
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.css +7 -5
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +2 -2
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -1
- package/dist/collection/components/ic-button/ic-button.css +240 -214
- package/dist/collection/components/ic-button/ic-button.js +8 -9
- package/dist/collection/components/ic-button/ic-button.js.map +1 -1
- package/dist/collection/components/{ic-card/ic-card.js → ic-card-vertical/ic-card-vertical.js} +5 -5
- package/dist/collection/components/ic-card-vertical/ic-card-vertical.js.map +1 -0
- package/dist/collection/components/{ic-card/test/basic/ic-card.spec.js → ic-card-vertical/test/basic/ic-card-vertical.spec.js} +41 -41
- package/dist/collection/components/ic-card-vertical/test/basic/ic-card-vertical.spec.js.map +1 -0
- package/dist/collection/components/ic-checkbox/ic-checkbox.css +10 -10
- package/dist/collection/components/ic-checkbox/ic-checkbox.js +4 -136
- 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 +4 -24
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js +2 -2
- package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +1 -1
- package/dist/collection/components/ic-chip/ic-chip.css +1 -5
- package/dist/collection/components/ic-chip/ic-chip.js +8 -52
- package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
- package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js +15 -0
- package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +1 -1
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.css +1 -1
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +1 -1
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +1 -1
- package/dist/collection/components/{ic-data-entity/ic-data-entity.css → ic-data-list/ic-data-list.css} +2 -2
- package/dist/collection/components/{ic-data-entity/ic-data-entity.js → ic-data-list/ic-data-list.js} +11 -33
- package/dist/collection/components/ic-data-list/ic-data-list.js.map +1 -0
- package/dist/collection/components/{ic-data-entity/test/basic/ic-data-entity.spec.js → ic-data-list/test/basic/ic-data-list.spec.js} +32 -32
- package/dist/collection/components/ic-data-list/test/basic/ic-data-list.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 +8 -30
- package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -1
- package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js +4 -4
- package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js.map +1 -1
- package/dist/collection/components/ic-dialog/ic-dialog.css +3 -12
- package/dist/collection/components/ic-dialog/ic-dialog.js +11 -214
- package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -1
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js +3 -226
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js.map +1 -1
- package/dist/collection/components/ic-empty-state/ic-empty-state.css +4 -4
- package/dist/collection/components/ic-empty-state/ic-empty-state.js +6 -6
- package/dist/collection/components/ic-empty-state/ic-empty-state.js.map +1 -1
- package/dist/collection/components/ic-footer/ic-footer.css +6 -6
- package/dist/collection/components/ic-footer/ic-footer.js +6 -6
- package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
- package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js +1 -1
- package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js.map +1 -1
- package/dist/collection/components/ic-footer-link/ic-footer-link.css +33 -107
- package/dist/collection/components/ic-footer-link/ic-footer-link.js +4 -5
- package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.css +7 -7
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +9 -9
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -1
- package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js +7 -7
- package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js.map +1 -1
- package/dist/collection/components/ic-hero/ic-hero.css +13 -13
- package/dist/collection/components/ic-hero/ic-hero.js +8 -30
- package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
- package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js +6 -6
- package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +1 -1
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.css +5 -5
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +3 -3
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -1
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +31 -26
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +9 -54
- 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 +9 -9
- package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +1 -1
- package/dist/collection/components/ic-input-label/ic-input-label.css +1 -1
- package/dist/collection/components/ic-input-label/ic-input-label.js +24 -46
- 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 +4 -4
- package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js.map +1 -1
- package/dist/collection/components/ic-input-validation/ic-input-validation.css +1 -1
- package/dist/collection/components/ic-input-validation/ic-input-validation.js +2 -2
- 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 +4 -4
- package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js.map +1 -1
- package/dist/collection/components/ic-link/ic-link.css +31 -31
- package/dist/collection/components/ic-link/ic-link.js +4 -25
- package/dist/collection/components/ic-link/ic-link.js.map +1 -1
- package/dist/collection/components/ic-link/test/basic/ic-link.spec.js +18 -16
- package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +1 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +5 -4
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +7 -7
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
- package/dist/collection/components/ic-menu/ic-menu.css +8 -8
- package/dist/collection/components/ic-menu/ic-menu.js +6 -29
- package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
- package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js +1 -1
- package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +1 -1
- package/dist/collection/components/ic-menu-item/ic-menu-item.css +21 -21
- package/dist/collection/components/ic-menu-item/ic-menu-item.js +1 -1
- package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -1
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +10 -10
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +7 -7
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +4 -4
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +1 -1
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -1
- package/dist/collection/components/ic-page-header/ic-page-header.css +2 -2
- package/dist/collection/components/ic-page-header/ic-page-header.js +5 -27
- package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
- package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js +15 -15
- package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js.map +1 -1
- package/dist/collection/components/ic-pagination/ic-pagination.css +5 -0
- package/dist/collection/components/ic-pagination/ic-pagination.js +39 -37
- package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -1
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js +26 -26
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js.map +1 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +2 -2
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +1 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.css +4 -4
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +41 -45
- package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js +14 -18
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js.map +1 -1
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js +11 -2
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +1 -1
- package/dist/collection/components/ic-radio-option/ic-radio-option.css +4 -4
- package/dist/collection/components/ic-radio-option/ic-radio-option.js +4 -126
- 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 +6 -6
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +29 -96
- package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js +6 -6
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js.map +1 -1
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js +15 -15
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js.map +1 -1
- package/dist/collection/components/ic-select/ic-select.css +14 -12
- package/dist/collection/components/ic-select/ic-select.js +13 -148
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +6 -6
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +8 -8
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +6 -6
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
- package/dist/collection/components/ic-skeleton/ic-skeleton.css +2 -2
- package/dist/collection/components/ic-skeleton/ic-skeleton.js +3 -25
- package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -1
- package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js +1 -1
- package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js.map +1 -1
- package/dist/collection/components/ic-status-tag/ic-status-tag.js +1 -57
- package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
- package/dist/collection/components/ic-status-tag/ic-status-tag.types.js.map +1 -1
- package/dist/collection/components/ic-step/ic-step.css +52 -52
- package/dist/collection/components/ic-step/ic-step.js +49 -52
- package/dist/collection/components/ic-step/ic-step.js.map +1 -1
- package/dist/collection/components/ic-step/test/basic/ic-step.spec.js +30 -30
- package/dist/collection/components/ic-step/test/basic/ic-step.spec.js.map +1 -1
- package/dist/collection/components/ic-stepper/ic-stepper.css +4 -4
- package/dist/collection/components/ic-stepper/ic-stepper.js +14 -14
- package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js +37 -37
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js.map +1 -1
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js +234 -234
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +1 -1
- package/dist/collection/components/ic-switch/ic-switch.js +4 -26
- package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
- package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js +1 -1
- package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js.map +1 -1
- package/dist/collection/components/ic-tab/ic-tab.css +5 -5
- package/dist/collection/components/ic-tab/ic-tab.js +2 -2
- package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
- package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js +2 -2
- package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js.map +1 -1
- package/dist/collection/components/ic-tab-context/ic-tab-context.js +0 -34
- package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
- package/dist/collection/components/ic-tab-group/ic-tab-group.css +2 -2
- package/dist/collection/components/ic-tab-group/ic-tab-group.js +2 -24
- package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -1
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +0 -28
- 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 +3 -18
- package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js.map +1 -1
- package/dist/collection/components/ic-text-field/ic-text-field.css +8 -3
- package/dist/collection/components/ic-text-field/ic-text-field.js +67 -89
- package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js +26 -11
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +1 -1
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js +70 -39
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js.map +1 -1
- package/dist/collection/components/ic-toast/ic-toast.css +10 -3
- package/dist/collection/components/ic-toast/ic-toast.js +83 -32
- package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
- package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js +43 -7
- package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js.map +1 -1
- package/dist/collection/components/ic-toast-region/ic-toast-region.js +1 -43
- package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -1
- package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js +0 -20
- package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js.map +1 -1
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.css +50 -43
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +13 -13
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.js.map +1 -1
- package/dist/collection/components/ic-toggle-button/test/basic/ic-toggle-button.spec.js +4 -4
- package/dist/collection/components/ic-toggle-button/test/basic/ic-toggle-button.spec.js.map +1 -1
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.css +11 -8
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +15 -15
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js.map +1 -1
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.types.js.map +1 -1
- package/dist/collection/components/ic-toggle-button-group/test/ic-toggle-button-group.spec.js +19 -19
- package/dist/collection/components/ic-toggle-button-group/test/ic-toggle-button-group.spec.js.map +1 -1
- package/dist/collection/components/ic-tooltip/ic-tooltip.js +56 -6
- package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +4 -4
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
- package/dist/collection/components/ic-typography/ic-typography.css +13 -5
- package/dist/collection/components/ic-typography/ic-typography.js +152 -17
- package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
- package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js +55 -0
- package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +1 -1
- package/dist/collection/utils/helpers.js +1 -0
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/helpers.js +2 -1
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/ic-accordion-group.js +8 -8
- package/dist/components/ic-accordion-group.js.map +1 -1
- package/dist/components/ic-accordion.js +3 -3
- package/dist/components/ic-accordion.js.map +1 -1
- package/dist/components/ic-alert.js +127 -1
- package/dist/components/ic-alert.js.map +1 -1
- package/dist/components/ic-back-to-top.js +25 -16
- package/dist/components/ic-back-to-top.js.map +1 -1
- package/dist/components/ic-badge.js +17 -31
- package/dist/components/ic-badge.js.map +1 -1
- package/dist/components/ic-breadcrumb-group.js +4 -4
- package/dist/components/ic-breadcrumb-group.js.map +1 -1
- package/dist/components/ic-breadcrumb2.js +3 -3
- package/dist/components/ic-breadcrumb2.js.map +1 -1
- package/dist/components/ic-button2.js +10 -10
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/{ic-data-entity.d.ts → ic-card-vertical.d.ts} +4 -4
- package/dist/components/{ic-card.js → ic-card-vertical.js} +11 -11
- package/dist/components/ic-card-vertical.js.map +1 -0
- package/dist/components/ic-checkbox-group.js +6 -6
- package/dist/components/ic-checkbox-group.js.map +1 -1
- package/dist/components/ic-checkbox.js +6 -21
- package/dist/components/ic-checkbox.js.map +1 -1
- package/dist/components/ic-chip.js +9 -11
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-classification-banner.js +2 -2
- package/dist/components/ic-classification-banner.js.map +1 -1
- package/dist/components/{ic-card.d.ts → ic-data-list.d.ts} +4 -4
- package/dist/components/ic-data-list.js +51 -0
- package/dist/components/ic-data-list.js.map +1 -0
- package/dist/components/ic-data-row.js +10 -12
- package/dist/components/ic-data-row.js.map +1 -1
- package/dist/components/ic-dialog.js +14 -112
- package/dist/components/ic-dialog.js.map +1 -1
- package/dist/components/ic-divider2.js +1 -1
- package/dist/components/ic-empty-state.js +7 -7
- package/dist/components/ic-empty-state.js.map +1 -1
- package/dist/components/ic-footer-link-group.js +10 -10
- package/dist/components/ic-footer-link-group.js.map +1 -1
- package/dist/components/ic-footer-link.js +13 -8
- package/dist/components/ic-footer-link.js.map +1 -1
- package/dist/components/ic-footer.js +8 -8
- package/dist/components/ic-footer.js.map +1 -1
- package/dist/components/ic-hero.js +8 -10
- package/dist/components/ic-hero.js.map +1 -1
- package/dist/components/ic-horizontal-scroll2.js +5 -5
- package/dist/components/ic-horizontal-scroll2.js.map +1 -1
- package/dist/components/ic-input-component-container2.js +11 -16
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-input-label2.js +10 -12
- package/dist/components/ic-input-label2.js.map +1 -1
- package/dist/components/ic-input-validation2.js +4 -4
- package/dist/components/ic-input-validation2.js.map +1 -1
- package/dist/components/ic-link2.js +6 -8
- package/dist/components/ic-link2.js.map +1 -1
- package/dist/components/ic-loading-indicator2.js +9 -9
- package/dist/components/ic-loading-indicator2.js.map +1 -1
- package/dist/components/ic-menu-group.js +1 -1
- package/dist/components/ic-menu-item2.js +3 -3
- package/dist/components/ic-menu-item2.js.map +1 -1
- package/dist/components/ic-menu2.js +7 -10
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-button.js +1 -1
- package/dist/components/ic-navigation-group.js +9 -9
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js +5 -5
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-navigation-menu2.js +2 -2
- package/dist/components/ic-navigation-menu2.js.map +1 -1
- package/dist/components/ic-page-header.js +7 -9
- package/dist/components/ic-page-header.js.map +1 -1
- package/dist/components/ic-pagination-item2.js +1 -1
- package/dist/components/ic-pagination.js +38 -36
- package/dist/components/ic-pagination.js.map +1 -1
- package/dist/components/ic-popover-menu.js +3 -3
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-radio-group.js +41 -26
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +6 -25
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +20 -27
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-select.js +14 -29
- package/dist/components/ic-select.js.map +1 -1
- package/dist/components/ic-side-navigation.js +7 -7
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-skeleton.js +4 -6
- package/dist/components/ic-skeleton.js.map +1 -1
- package/dist/components/ic-status-tag.js +1 -12
- package/dist/components/ic-status-tag.js.map +1 -1
- package/dist/components/ic-step.js +46 -49
- package/dist/components/ic-step.js.map +1 -1
- package/dist/components/ic-stepper.js +16 -16
- package/dist/components/ic-stepper.js.map +1 -1
- package/dist/components/ic-switch.js +5 -7
- package/dist/components/ic-switch.js.map +1 -1
- package/dist/components/ic-tab-context.js +0 -11
- package/dist/components/ic-tab-context.js.map +1 -1
- package/dist/components/ic-tab-group.js +3 -5
- package/dist/components/ic-tab-group.js.map +1 -1
- package/dist/components/ic-tab-panel.js +1 -9
- package/dist/components/ic-tab-panel.js.map +1 -1
- package/dist/components/ic-tab.js +3 -3
- package/dist/components/ic-tab.js.map +1 -1
- package/dist/components/ic-text-field2.js +51 -53
- package/dist/components/ic-text-field2.js.map +1 -1
- package/dist/components/ic-theme.js +1 -1
- package/dist/components/ic-toast-region.js +1 -9
- package/dist/components/ic-toast-region.js.map +1 -1
- package/dist/components/ic-toast.js +86 -36
- package/dist/components/ic-toast.js.map +1 -1
- package/dist/components/ic-toggle-button-group.js +16 -16
- package/dist/components/ic-toggle-button-group.js.map +1 -1
- package/dist/components/ic-toggle-button.js +13 -13
- package/dist/components/ic-toggle-button.js.map +1 -1
- package/dist/components/ic-tooltip2.js +12 -5
- package/dist/components/ic-tooltip2.js.map +1 -1
- package/dist/components/ic-top-navigation.js +4 -4
- package/dist/components/ic-top-navigation.js.map +1 -1
- package/dist/components/ic-typography2.js +57 -19
- package/dist/components/ic-typography2.js.map +1 -1
- package/dist/components/types.js.map +1 -1
- package/dist/core/core.css +1 -1
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-014342a2.entry.js → p-05d32a4f.entry.js} +2 -2
- package/dist/core/{p-1d9fceb1.entry.js → p-086a6d4f.entry.js} +2 -2
- package/dist/core/p-0a00a786.entry.js +2 -0
- package/dist/core/p-0a00a786.entry.js.map +1 -0
- package/dist/core/p-145fcef3.entry.js +2 -0
- package/dist/core/p-145fcef3.entry.js.map +1 -0
- package/dist/core/{p-eb1d00a7.entry.js → p-15367990.entry.js} +2 -2
- package/dist/core/p-15367990.entry.js.map +1 -0
- package/dist/core/p-1737bf2c.entry.js +2 -0
- package/dist/core/p-1737bf2c.entry.js.map +1 -0
- package/dist/core/p-1ace2b02.entry.js +2 -0
- package/dist/core/p-1ace2b02.entry.js.map +1 -0
- package/dist/core/p-1e371012.entry.js +2 -0
- package/dist/core/p-1e371012.entry.js.map +1 -0
- package/dist/core/p-1f227289.entry.js +2 -0
- package/dist/core/p-1f227289.entry.js.map +1 -0
- package/dist/core/p-24275b92.entry.js +2 -0
- package/dist/core/p-24275b92.entry.js.map +1 -0
- package/dist/core/p-26b7b18f.js.map +1 -1
- package/dist/core/p-29e6c33f.entry.js +2 -0
- package/dist/core/p-29e6c33f.entry.js.map +1 -0
- package/dist/core/{p-5bba7e31.entry.js → p-2a6f01ad.entry.js} +2 -2
- package/dist/core/{p-8ce2dfd4.entry.js → p-2f86c53b.entry.js} +2 -2
- package/dist/core/p-2f86c53b.entry.js.map +1 -0
- package/dist/core/p-319e40c0.entry.js +2 -0
- package/dist/core/p-319e40c0.entry.js.map +1 -0
- package/dist/core/p-346c6920.entry.js +2 -0
- package/dist/core/p-346c6920.entry.js.map +1 -0
- package/dist/core/p-4b1445b3.entry.js +2 -0
- package/dist/core/p-4b1445b3.entry.js.map +1 -0
- package/dist/core/p-4b621c67.entry.js +2 -0
- package/dist/core/p-4b621c67.entry.js.map +1 -0
- package/dist/core/p-4ca2b177.entry.js +2 -0
- package/dist/core/p-4ca2b177.entry.js.map +1 -0
- package/dist/core/{p-3eda4e14.entry.js → p-54238d16.entry.js} +2 -2
- package/dist/core/p-54238d16.entry.js.map +1 -0
- package/dist/core/{p-c1db024d.entry.js → p-5515ad19.entry.js} +2 -2
- package/dist/core/p-5515ad19.entry.js.map +1 -0
- package/dist/core/p-5c8081d6.entry.js +2 -0
- package/dist/core/p-5c8081d6.entry.js.map +1 -0
- package/dist/core/{p-a8aea311.entry.js → p-5f941f3a.entry.js} +2 -2
- package/dist/core/{p-a8aea311.entry.js.map → p-5f941f3a.entry.js.map} +1 -1
- package/dist/core/p-5fd293b3.entry.js +2 -0
- package/dist/core/p-5fd293b3.entry.js.map +1 -0
- package/dist/core/p-60721d95.entry.js +2 -0
- package/dist/core/p-60721d95.entry.js.map +1 -0
- package/dist/core/{p-d69f353b.entry.js → p-64a5a1d8.entry.js} +2 -2
- package/dist/core/p-64a5a1d8.entry.js.map +1 -0
- package/dist/core/p-65e36461.entry.js +2 -0
- package/dist/core/p-65e36461.entry.js.map +1 -0
- package/dist/core/{p-a9a2987c.entry.js → p-66363c7d.entry.js} +2 -2
- package/dist/core/p-66363c7d.entry.js.map +1 -0
- package/dist/core/p-69728d76.entry.js +2 -0
- package/dist/core/p-69728d76.entry.js.map +1 -0
- package/dist/core/p-6b328c76.entry.js +2 -0
- package/dist/core/p-6b328c76.entry.js.map +1 -0
- package/dist/core/p-6b5ddacd.entry.js +2 -0
- package/dist/core/p-6b5ddacd.entry.js.map +1 -0
- package/dist/core/{p-92b9b56a.entry.js → p-7b3d6577.entry.js} +2 -2
- package/dist/core/p-7b3d6577.entry.js.map +1 -0
- package/dist/core/p-7d45828d.entry.js +2 -0
- package/dist/core/p-7d45828d.entry.js.map +1 -0
- package/dist/core/p-893eca54.entry.js +2 -0
- package/dist/core/p-893eca54.entry.js.map +1 -0
- package/dist/core/p-8ee262a4.entry.js +2 -0
- package/dist/core/p-8ee262a4.entry.js.map +1 -0
- package/dist/core/p-8f93d92b.entry.js +2 -0
- package/dist/core/p-8f93d92b.entry.js.map +1 -0
- package/dist/core/p-90bb13d2.entry.js +2 -0
- package/dist/core/p-90bb13d2.entry.js.map +1 -0
- package/dist/core/p-9189a82d.entry.js +2 -0
- package/dist/core/p-9189a82d.entry.js.map +1 -0
- package/dist/core/p-9190a84d.entry.js +2 -0
- package/dist/core/p-9190a84d.entry.js.map +1 -0
- package/dist/core/{p-08781606.entry.js → p-93f50a1a.entry.js} +2 -2
- package/dist/core/p-93f50a1a.entry.js.map +1 -0
- package/dist/core/p-9474baf3.entry.js +2 -0
- package/dist/core/p-9474baf3.entry.js.map +1 -0
- package/dist/core/{p-967d5546.entry.js → p-9857f6b0.entry.js} +2 -2
- package/dist/core/{p-7438ab1f.entry.js → p-a0e4d6bd.entry.js} +2 -2
- package/dist/core/p-a0e4d6bd.entry.js.map +1 -0
- package/dist/core/p-a1b9a808.entry.js +2 -0
- package/dist/core/p-a1b9a808.entry.js.map +1 -0
- package/dist/core/p-a79bec03.entry.js +2 -0
- package/dist/core/p-a79bec03.entry.js.map +1 -0
- package/dist/core/p-a84a4675.entry.js +2 -0
- package/dist/core/p-a84a4675.entry.js.map +1 -0
- package/dist/core/p-a928c7b3.entry.js +2 -0
- package/dist/core/p-a928c7b3.entry.js.map +1 -0
- package/dist/core/{p-6fae7e1f.entry.js → p-bf89c86d.entry.js} +2 -2
- package/dist/core/p-bf89c86d.entry.js.map +1 -0
- package/dist/core/{p-36cd5d32.js → p-d0524c73.js} +2 -2
- package/dist/core/p-d0524c73.js.map +1 -0
- package/dist/core/p-d24410ca.entry.js +2 -0
- package/dist/core/p-d24410ca.entry.js.map +1 -0
- package/dist/core/p-d52ca420.entry.js +2 -0
- package/dist/core/p-d52ca420.entry.js.map +1 -0
- package/dist/core/p-d67a30ca.entry.js +2 -0
- package/dist/core/p-d67a30ca.entry.js.map +1 -0
- package/dist/core/{p-1ef00a47.entry.js → p-de27c59e.entry.js} +2 -2
- package/dist/core/p-de27c59e.entry.js.map +1 -0
- package/dist/core/p-dec339ba.entry.js +2 -0
- package/dist/core/p-dec339ba.entry.js.map +1 -0
- package/dist/core/p-e4335135.entry.js +2 -0
- package/dist/core/p-e4335135.entry.js.map +1 -0
- package/dist/core/p-e56a2a06.entry.js +2 -0
- package/dist/core/p-e56a2a06.entry.js.map +1 -0
- package/dist/core/p-e696dc2a.entry.js +2 -0
- package/dist/core/p-e696dc2a.entry.js.map +1 -0
- package/dist/core/{p-f13195ab.entry.js → p-f0501be1.entry.js} +2 -2
- package/dist/core/p-f0501be1.entry.js.map +1 -0
- package/dist/core/{p-3b41756e.entry.js → p-f50462df.entry.js} +2 -2
- package/dist/core/p-feb80f37.entry.js +2 -0
- package/dist/core/p-feb80f37.entry.js.map +1 -0
- package/dist/esm/core.js +1 -1
- package/dist/esm/{helpers-354dbb8d.js → helpers-35ac5e03.js} +3 -2
- package/dist/esm/helpers-35ac5e03.js.map +1 -0
- package/dist/esm/ic-accordion-group.entry.js +8 -8
- package/dist/esm/ic-accordion-group.entry.js.map +1 -1
- package/dist/esm/ic-accordion.entry.js +4 -4
- package/dist/esm/ic-accordion.entry.js.map +1 -1
- package/dist/esm/ic-alert.entry.js +1 -3
- package/dist/esm/ic-alert.entry.js.map +1 -1
- package/dist/esm/ic-back-to-top.entry.js +12 -15
- package/dist/esm/ic-back-to-top.entry.js.map +1 -1
- package/dist/esm/ic-badge.entry.js +15 -27
- package/dist/esm/ic-badge.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb-group.entry.js +4 -4
- package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +3 -3
- package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ic-button_3.entry.js +27 -22
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/{ic-card.entry.js → ic-card-vertical.entry.js} +6 -6
- package/dist/esm/ic-card-vertical.entry.js.map +1 -0
- package/dist/esm/ic-checkbox-group.entry.js +6 -5
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ic-checkbox.entry.js +6 -15
- package/dist/esm/ic-checkbox.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +9 -10
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-classification-banner.entry.js +2 -2
- package/dist/esm/ic-classification-banner.entry.js.map +1 -1
- package/dist/esm/ic-data-list.entry.js +24 -0
- package/dist/esm/ic-data-list.entry.js.map +1 -0
- package/dist/esm/ic-data-row.entry.js +9 -10
- package/dist/esm/ic-data-row.entry.js.map +1 -1
- package/dist/esm/ic-dialog.entry.js +12 -97
- package/dist/esm/ic-dialog.entry.js.map +1 -1
- package/dist/esm/ic-divider.entry.js +1 -1
- package/dist/esm/ic-empty-state.entry.js +6 -6
- package/dist/esm/ic-empty-state.entry.js.map +1 -1
- package/dist/esm/ic-footer-link-group.entry.js +9 -9
- package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
- package/dist/esm/ic-footer-link.entry.js +6 -7
- package/dist/esm/ic-footer-link.entry.js.map +1 -1
- package/dist/esm/ic-footer.entry.js +8 -8
- package/dist/esm/ic-footer.entry.js.map +1 -1
- package/dist/esm/ic-hero.entry.js +8 -9
- package/dist/esm/ic-hero.entry.js.map +1 -1
- package/dist/esm/ic-horizontal-scroll.entry.js +5 -5
- package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
- package/dist/esm/ic-input-component-container_3.entry.js +18 -23
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +11 -12
- package/dist/esm/ic-input-label_2.entry.js.map +1 -1
- package/dist/esm/ic-link.entry.js +6 -7
- package/dist/esm/ic-link.entry.js.map +1 -1
- package/dist/esm/ic-menu-group.entry.js +1 -1
- package/dist/esm/ic-menu-item.entry.js +3 -3
- package/dist/esm/ic-menu-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-button.entry.js +1 -1
- package/dist/esm/ic-navigation-group.entry.js +9 -9
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +5 -5
- package/dist/esm/ic-navigation-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +2 -2
- package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
- package/dist/esm/ic-page-header.entry.js +7 -8
- package/dist/esm/ic-page-header.entry.js.map +1 -1
- package/dist/esm/ic-pagination-item.entry.js +1 -1
- package/dist/esm/ic-pagination.entry.js +35 -33
- package/dist/esm/ic-pagination.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +3 -3
- package/dist/esm/ic-popover-menu.entry.js.map +1 -1
- package/dist/esm/ic-radio-group.entry.js +40 -25
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +5 -18
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +18 -24
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-select.entry.js +13 -21
- package/dist/esm/ic-select.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +7 -7
- package/dist/esm/ic-side-navigation.entry.js.map +1 -1
- package/dist/esm/ic-skeleton.entry.js +4 -5
- package/dist/esm/ic-skeleton.entry.js.map +1 -1
- package/dist/esm/ic-status-tag.entry.js +2 -11
- package/dist/esm/ic-status-tag.entry.js.map +1 -1
- package/dist/esm/ic-step.entry.js +40 -43
- package/dist/esm/ic-step.entry.js.map +1 -1
- package/dist/esm/ic-stepper.entry.js +16 -16
- package/dist/esm/ic-stepper.entry.js.map +1 -1
- package/dist/esm/ic-switch.entry.js +5 -6
- package/dist/esm/ic-switch.entry.js.map +1 -1
- package/dist/esm/ic-tab-context.entry.js +0 -11
- package/dist/esm/ic-tab-context.entry.js.map +1 -1
- package/dist/esm/ic-tab-group.entry.js +4 -5
- package/dist/esm/ic-tab-group.entry.js.map +1 -1
- package/dist/esm/ic-tab-panel.entry.js +1 -8
- package/dist/esm/ic-tab-panel.entry.js.map +1 -1
- package/dist/esm/ic-tab.entry.js +4 -4
- package/dist/esm/ic-tab.entry.js.map +1 -1
- package/dist/esm/ic-text-field.entry.js +49 -49
- package/dist/esm/ic-text-field.entry.js.map +1 -1
- package/dist/esm/ic-theme.entry.js +1 -1
- package/dist/esm/ic-toast-region.entry.js +0 -7
- package/dist/esm/ic-toast-region.entry.js.map +1 -1
- package/dist/esm/ic-toast.entry.js +83 -35
- package/dist/esm/ic-toast.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button-group.entry.js +16 -16
- package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button.entry.js +13 -13
- package/dist/esm/ic-toggle-button.entry.js.map +1 -1
- package/dist/esm/ic-top-navigation.entry.js +4 -4
- package/dist/esm/ic-top-navigation.entry.js.map +1 -1
- package/dist/esm/ic-typography.entry.js +52 -17
- package/dist/esm/ic-typography.entry.js.map +1 -1
- package/dist/esm/index-d1d2c456.js +12 -12
- package/dist/esm/loader.js +1 -1
- package/dist/esm/types-6f6b41a5.js.map +1 -1
- package/dist/types/components/ic-accordion-group/ic-accordion-group.d.ts +2 -2
- package/dist/types/components/ic-alert/ic-alert.d.ts +0 -4
- package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +0 -1
- package/dist/types/components/ic-badge/ic-badge.d.ts +3 -11
- package/dist/types/components/ic-button/ic-button.d.ts +0 -1
- package/dist/types/components/{ic-card/ic-card.d.ts → ic-card-vertical/ic-card-vertical.d.ts} +2 -2
- package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +0 -28
- package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +0 -4
- package/dist/types/components/ic-chip/ic-chip.d.ts +2 -9
- package/dist/types/components/ic-data-list/ic-data-list.d.ts +16 -0
- package/dist/types/components/ic-data-row/ic-data-row.d.ts +1 -5
- package/dist/types/components/ic-dialog/ic-dialog.d.ts +1 -37
- package/dist/types/components/ic-empty-state/ic-empty-state.d.ts +1 -1
- package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +1 -1
- package/dist/types/components/ic-hero/ic-hero.d.ts +2 -6
- package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +0 -8
- package/dist/types/components/ic-input-label/ic-input-label.d.ts +4 -8
- package/dist/types/components/ic-link/ic-link.d.ts +0 -4
- package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +1 -1
- package/dist/types/components/ic-menu/ic-menu.d.ts +0 -4
- package/dist/types/components/ic-page-header/ic-page-header.d.ts +0 -4
- package/dist/types/components/ic-pagination/ic-pagination.d.ts +4 -4
- package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +4 -4
- package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +0 -24
- package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +3 -15
- package/dist/types/components/ic-select/ic-select.d.ts +1 -31
- package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +1 -1
- package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +0 -4
- package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +1 -10
- package/dist/types/components/ic-status-tag/ic-status-tag.types.d.ts +0 -1
- package/dist/types/components/ic-step/ic-step.d.ts +6 -6
- package/dist/types/components/ic-stepper/test/basic/ic-stepper-test-examples.d.ts +4 -4
- package/dist/types/components/ic-switch/ic-switch.d.ts +0 -4
- package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +0 -4
- package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +0 -5
- package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +0 -6
- package/dist/types/components/ic-text-field/ic-text-field.d.ts +7 -12
- package/dist/types/components/ic-toast/ic-toast.d.ts +8 -1
- package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +0 -5
- package/dist/types/components/ic-toggle-button/ic-toggle-button.d.ts +1 -1
- package/dist/types/components/ic-toggle-button-group/ic-toggle-button-group.types.d.ts +1 -1
- package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +7 -0
- package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +1 -1
- package/dist/types/components/ic-typography/ic-typography.d.ts +23 -1
- package/dist/types/components.d.ts +144 -508
- package/dist/types/utils/helpers.d.ts +1 -0
- package/dist/types/utils/types.d.ts +1 -1
- package/hydrate/index.js +642 -768
- package/package.json +2 -2
- package/vscode-data.json +52 -245
- package/dist/cjs/helpers-4af10d35.js.map +0 -1
- package/dist/cjs/ic-card.cjs.entry.js.map +0 -1
- package/dist/cjs/ic-data-entity.cjs.entry.js +0 -29
- package/dist/cjs/ic-data-entity.cjs.entry.js.map +0 -1
- package/dist/collection/components/ic-card/ic-card.js.map +0 -1
- package/dist/collection/components/ic-card/test/basic/ic-card.spec.js.map +0 -1
- package/dist/collection/components/ic-chip/ic-chip.types.js +0 -2
- package/dist/collection/components/ic-chip/ic-chip.types.js.map +0 -1
- package/dist/collection/components/ic-data-entity/ic-data-entity.js.map +0 -1
- package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js.map +0 -1
- package/dist/components/ic-alert2.js +0 -133
- package/dist/components/ic-alert2.js.map +0 -1
- package/dist/components/ic-card.js.map +0 -1
- package/dist/components/ic-data-entity.js +0 -53
- package/dist/components/ic-data-entity.js.map +0 -1
- package/dist/core/p-03434b02.entry.js +0 -2
- package/dist/core/p-03434b02.entry.js.map +0 -1
- package/dist/core/p-038a2ea1.entry.js +0 -2
- package/dist/core/p-038a2ea1.entry.js.map +0 -1
- package/dist/core/p-08781606.entry.js.map +0 -1
- package/dist/core/p-0a2cdf34.entry.js +0 -2
- package/dist/core/p-0a2cdf34.entry.js.map +0 -1
- package/dist/core/p-1145e33c.entry.js +0 -2
- package/dist/core/p-1145e33c.entry.js.map +0 -1
- package/dist/core/p-13f2c9dc.entry.js +0 -2
- package/dist/core/p-13f2c9dc.entry.js.map +0 -1
- package/dist/core/p-14c47aed.entry.js +0 -2
- package/dist/core/p-14c47aed.entry.js.map +0 -1
- package/dist/core/p-15138df1.entry.js +0 -2
- package/dist/core/p-15138df1.entry.js.map +0 -1
- package/dist/core/p-191d2571.entry.js +0 -2
- package/dist/core/p-191d2571.entry.js.map +0 -1
- package/dist/core/p-1e33ac04.entry.js +0 -2
- package/dist/core/p-1e33ac04.entry.js.map +0 -1
- package/dist/core/p-1eb6fc19.entry.js +0 -2
- package/dist/core/p-1eb6fc19.entry.js.map +0 -1
- package/dist/core/p-1ef00a47.entry.js.map +0 -1
- package/dist/core/p-1f4698e7.entry.js +0 -2
- package/dist/core/p-1f4698e7.entry.js.map +0 -1
- package/dist/core/p-24e6c926.entry.js +0 -2
- package/dist/core/p-24e6c926.entry.js.map +0 -1
- package/dist/core/p-261debaf.entry.js +0 -2
- package/dist/core/p-261debaf.entry.js.map +0 -1
- package/dist/core/p-277c3199.entry.js +0 -2
- package/dist/core/p-277c3199.entry.js.map +0 -1
- package/dist/core/p-2bc8a51d.entry.js +0 -2
- package/dist/core/p-2bc8a51d.entry.js.map +0 -1
- package/dist/core/p-36cd5d32.js.map +0 -1
- package/dist/core/p-37d152b9.entry.js +0 -2
- package/dist/core/p-37d152b9.entry.js.map +0 -1
- package/dist/core/p-3eda4e14.entry.js.map +0 -1
- package/dist/core/p-41b93fc2.entry.js +0 -2
- package/dist/core/p-41b93fc2.entry.js.map +0 -1
- package/dist/core/p-4a64ec92.entry.js +0 -2
- package/dist/core/p-4a64ec92.entry.js.map +0 -1
- package/dist/core/p-4a9eecd7.entry.js +0 -2
- package/dist/core/p-4a9eecd7.entry.js.map +0 -1
- package/dist/core/p-4ad38ad7.entry.js +0 -2
- package/dist/core/p-4ad38ad7.entry.js.map +0 -1
- package/dist/core/p-4ecf210f.entry.js +0 -2
- package/dist/core/p-4ecf210f.entry.js.map +0 -1
- package/dist/core/p-5128fc04.entry.js +0 -2
- package/dist/core/p-5128fc04.entry.js.map +0 -1
- package/dist/core/p-59732bc5.entry.js +0 -2
- package/dist/core/p-59732bc5.entry.js.map +0 -1
- package/dist/core/p-6a4a0752.entry.js +0 -2
- package/dist/core/p-6a4a0752.entry.js.map +0 -1
- package/dist/core/p-6e36ff34.entry.js +0 -2
- package/dist/core/p-6e36ff34.entry.js.map +0 -1
- package/dist/core/p-6fae7e1f.entry.js.map +0 -1
- package/dist/core/p-70a7cfa5.entry.js +0 -2
- package/dist/core/p-70a7cfa5.entry.js.map +0 -1
- package/dist/core/p-7438ab1f.entry.js.map +0 -1
- package/dist/core/p-7e5936a3.entry.js +0 -2
- package/dist/core/p-7e5936a3.entry.js.map +0 -1
- package/dist/core/p-80b87940.entry.js +0 -2
- package/dist/core/p-80b87940.entry.js.map +0 -1
- package/dist/core/p-85f6a2ef.entry.js +0 -2
- package/dist/core/p-85f6a2ef.entry.js.map +0 -1
- package/dist/core/p-8ce2dfd4.entry.js.map +0 -1
- package/dist/core/p-92b9b56a.entry.js.map +0 -1
- package/dist/core/p-98708868.entry.js +0 -2
- package/dist/core/p-98708868.entry.js.map +0 -1
- package/dist/core/p-a332f7d8.entry.js +0 -2
- package/dist/core/p-a332f7d8.entry.js.map +0 -1
- package/dist/core/p-a646c117.entry.js +0 -2
- package/dist/core/p-a646c117.entry.js.map +0 -1
- package/dist/core/p-a9a2987c.entry.js.map +0 -1
- package/dist/core/p-b47021d8.entry.js +0 -2
- package/dist/core/p-b47021d8.entry.js.map +0 -1
- package/dist/core/p-bb2f2048.entry.js +0 -2
- package/dist/core/p-bb2f2048.entry.js.map +0 -1
- package/dist/core/p-c1db024d.entry.js.map +0 -1
- package/dist/core/p-cf3a721c.entry.js +0 -2
- package/dist/core/p-cf3a721c.entry.js.map +0 -1
- package/dist/core/p-d19d50b6.entry.js +0 -2
- package/dist/core/p-d19d50b6.entry.js.map +0 -1
- package/dist/core/p-d69f353b.entry.js.map +0 -1
- package/dist/core/p-e735d773.entry.js +0 -2
- package/dist/core/p-e735d773.entry.js.map +0 -1
- package/dist/core/p-e928928a.entry.js +0 -2
- package/dist/core/p-e928928a.entry.js.map +0 -1
- package/dist/core/p-ea61b524.entry.js +0 -2
- package/dist/core/p-ea61b524.entry.js.map +0 -1
- package/dist/core/p-eb1d00a7.entry.js.map +0 -1
- package/dist/core/p-f13195ab.entry.js.map +0 -1
- package/dist/core/p-f861a72a.entry.js +0 -2
- package/dist/core/p-f861a72a.entry.js.map +0 -1
- package/dist/esm/helpers-354dbb8d.js.map +0 -1
- package/dist/esm/ic-card.entry.js.map +0 -1
- package/dist/esm/ic-data-entity.entry.js +0 -25
- package/dist/esm/ic-data-entity.entry.js.map +0 -1
- package/dist/types/components/ic-chip/ic-chip.types.d.ts +0 -1
- package/dist/types/components/ic-data-entity/ic-data-entity.d.ts +0 -20
- /package/dist/collection/components/{ic-card/ic-card.css → ic-card-vertical/ic-card-vertical.css} +0 -0
- /package/dist/core/{p-014342a2.entry.js.map → p-05d32a4f.entry.js.map} +0 -0
- /package/dist/core/{p-1d9fceb1.entry.js.map → p-086a6d4f.entry.js.map} +0 -0
- /package/dist/core/{p-5bba7e31.entry.js.map → p-2a6f01ad.entry.js.map} +0 -0
- /package/dist/core/{p-967d5546.entry.js.map → p-9857f6b0.entry.js.map} +0 -0
- /package/dist/core/{p-3b41756e.entry.js.map → p-f50462df.entry.js.map} +0 -0
|
@@ -7,10 +7,10 @@ describe("default variant of ic-stepper component", () => {
|
|
|
7
7
|
const page = await newSpecPage({
|
|
8
8
|
components: [Stepper, Step],
|
|
9
9
|
html: `<ic-stepper>
|
|
10
|
-
<ic-step
|
|
11
|
-
<ic-step
|
|
12
|
-
<ic-step
|
|
13
|
-
<ic-step
|
|
10
|
+
<ic-step heading="Create" type="completed"></ic-step>
|
|
11
|
+
<ic-step heading="Read" type="current"></ic-step>
|
|
12
|
+
<ic-step heading="Update"></ic-step>
|
|
13
|
+
<ic-step heading="Delete"></ic-step></ic-stepper>`,
|
|
14
14
|
});
|
|
15
15
|
page.rootInstance.resizeObserverCallback();
|
|
16
16
|
await page.waitForChanges();
|
|
@@ -25,26 +25,26 @@ describe("default variant of ic-stepper component", () => {
|
|
|
25
25
|
const page = await newSpecPage({
|
|
26
26
|
components: [Stepper, Step],
|
|
27
27
|
html: `<ic-stepper aligned="left">
|
|
28
|
-
<ic-step
|
|
29
|
-
<ic-step
|
|
30
|
-
<ic-step
|
|
31
|
-
<ic-step
|
|
28
|
+
<ic-step heading="Create" type="completed"></ic-step>
|
|
29
|
+
<ic-step heading="Read" type="current"></ic-step>
|
|
30
|
+
<ic-step heading="Update"></ic-step>
|
|
31
|
+
<ic-step heading="Delete"></ic-step></ic-stepper>`,
|
|
32
32
|
});
|
|
33
33
|
page.rootInstance.resizeObserverCallback();
|
|
34
34
|
await page.waitForChanges();
|
|
35
35
|
expect(page.rootInstance.variant).toMatch("default");
|
|
36
36
|
expect(page.rootInstance.aligned).toMatch("left");
|
|
37
|
-
expect(page.root.classList.contains("aligned-left")).toBeTruthy();
|
|
37
|
+
expect(page.root.classList.contains("ic-stepper-aligned-left")).toBeTruthy();
|
|
38
38
|
expect(page.root).toMatchSnapshot();
|
|
39
39
|
});
|
|
40
40
|
it("should render a stepper with hidden step info", async () => {
|
|
41
41
|
const page = await newSpecPage({
|
|
42
42
|
components: [Stepper, Step],
|
|
43
43
|
html: `<ic-stepper hide-step-info>
|
|
44
|
-
<ic-step
|
|
45
|
-
<ic-step
|
|
46
|
-
<ic-step
|
|
47
|
-
<ic-step
|
|
44
|
+
<ic-step heading="Create" type="completed"></ic-step>
|
|
45
|
+
<ic-step heading="Read" type="current"></ic-step>
|
|
46
|
+
<ic-step heading="Update"></ic-step>
|
|
47
|
+
<ic-step heading="Delete"></ic-step></ic-stepper>`,
|
|
48
48
|
});
|
|
49
49
|
page.rootInstance.resizeObserverCallback();
|
|
50
50
|
await page.waitForChanges();
|
|
@@ -52,7 +52,7 @@ describe("default variant of ic-stepper component", () => {
|
|
|
52
52
|
expect(page.rootInstance.hideStepInfo).toBeTruthy();
|
|
53
53
|
const steps = page.root.querySelectorAll("ic-step");
|
|
54
54
|
steps.forEach((step) => {
|
|
55
|
-
const stepTitleArea = step.shadowRoot.querySelector(".step > .
|
|
55
|
+
const stepTitleArea = step.shadowRoot.querySelector(".step > .heading-area");
|
|
56
56
|
expect(stepTitleArea.classList.contains("visually-hidden")).toBeTruthy();
|
|
57
57
|
});
|
|
58
58
|
expect(page.root).toMatchSnapshot();
|
|
@@ -62,10 +62,10 @@ describe("default variant of ic-stepper component", () => {
|
|
|
62
62
|
const page = await newSpecPage({
|
|
63
63
|
components: [Stepper, Step],
|
|
64
64
|
html: `<ic-stepper>
|
|
65
|
-
<ic-step
|
|
66
|
-
<ic-step
|
|
67
|
-
<ic-step
|
|
68
|
-
<ic-step
|
|
65
|
+
<ic-step type="completed"></ic-step>
|
|
66
|
+
<ic-step type="current"></ic-step>
|
|
67
|
+
<ic-step type="disabled"></ic-step>
|
|
68
|
+
<ic-step type="active"></ic-step></ic-stepper>`,
|
|
69
69
|
});
|
|
70
70
|
page.rootInstance.resizeObserverCallback();
|
|
71
71
|
await page.waitForChanges();
|
|
@@ -77,9 +77,9 @@ describe("default variant of ic-stepper component", () => {
|
|
|
77
77
|
expect(page.rootInstance.variant).toMatch("default");
|
|
78
78
|
expect(page.rootInstance["noOfResizes"]).toBe(0);
|
|
79
79
|
steps.forEach((step) => {
|
|
80
|
-
expect(step["
|
|
81
|
-
expect(step["
|
|
82
|
-
const stepTitleArea = step.shadowRoot.querySelector(".step > .
|
|
80
|
+
expect(step["heading"]).toBeUndefined();
|
|
81
|
+
expect(step["subheading"]).toBeUndefined();
|
|
82
|
+
const stepTitleArea = step.shadowRoot.querySelector(".step > .heading-area");
|
|
83
83
|
expect(stepTitleArea).toBeNull();
|
|
84
84
|
});
|
|
85
85
|
page.rootInstance.resizeObserverCallback();
|
|
@@ -90,64 +90,64 @@ describe("default variant of ic-stepper component", () => {
|
|
|
90
90
|
const page = await newSpecPage({
|
|
91
91
|
components: [Stepper, Step],
|
|
92
92
|
html: `<ic-stepper aligned="left" connector-width="150">
|
|
93
|
-
<ic-step
|
|
94
|
-
<ic-step
|
|
95
|
-
<ic-step
|
|
96
|
-
<ic-step
|
|
93
|
+
<ic-step heading="Create" type="completed"></ic-step>
|
|
94
|
+
<ic-step heading="Read" type="current"></ic-step>
|
|
95
|
+
<ic-step heading="Update"></ic-step>
|
|
96
|
+
<ic-step heading="Delete"></ic-step></ic-stepper>`,
|
|
97
97
|
});
|
|
98
98
|
page.rootInstance.resizeObserverCallback();
|
|
99
99
|
await page.waitForChanges();
|
|
100
100
|
expect(page.root).toMatchSnapshot();
|
|
101
|
-
expect(page.root.classList.contains("aligned-left")).toBeTruthy();
|
|
101
|
+
expect(page.root.classList.contains("ic-stepper-aligned-left")).toBeTruthy();
|
|
102
102
|
});
|
|
103
103
|
it("should ignore the connectorWidth prop if the stepper is set to be aligned full-width", async () => {
|
|
104
104
|
const page = await newSpecPage({
|
|
105
105
|
components: [Stepper, Step],
|
|
106
106
|
html: `<ic-stepper connector-width="150">
|
|
107
|
-
<ic-step
|
|
108
|
-
<ic-step
|
|
109
|
-
<ic-step
|
|
110
|
-
<ic-step
|
|
107
|
+
<ic-step heading="Create" type="completed"></ic-step>
|
|
108
|
+
<ic-step heading="Read" type="current"></ic-step>
|
|
109
|
+
<ic-step heading="Update"></ic-step>
|
|
110
|
+
<ic-step heading="Delete"></ic-step></ic-stepper>`,
|
|
111
111
|
});
|
|
112
112
|
page.rootInstance.resizeObserverCallback();
|
|
113
113
|
await page.waitForChanges();
|
|
114
114
|
expect(page.root).toMatchSnapshot();
|
|
115
|
-
expect(page.root.classList.contains("aligned-left")).toBeFalsy();
|
|
115
|
+
expect(page.root.classList.contains("ic-stepper-aligned-left")).toBeFalsy();
|
|
116
116
|
});
|
|
117
117
|
it("should add 'disabled step' to the aria labels of all disabled steps", async () => {
|
|
118
118
|
const page = await newSpecPage({
|
|
119
119
|
components: [Stepper, Step],
|
|
120
120
|
html: `<ic-stepper variant="compact" id="custom-stepper">
|
|
121
|
-
<ic-step variant="compact"
|
|
121
|
+
<ic-step variant="compact" type="disabled" heading="First"></ic-step>
|
|
122
122
|
<ic-step
|
|
123
123
|
variant="compact"
|
|
124
|
-
|
|
125
|
-
|
|
124
|
+
heading="Second With a Very Long Title"
|
|
125
|
+
subheading="Optional subtitle that is long and should wrap"
|
|
126
126
|
current
|
|
127
|
-
|
|
127
|
+
type="current"
|
|
128
128
|
></ic-step>
|
|
129
129
|
<ic-step
|
|
130
130
|
variant="compact"
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
heading="Third"
|
|
132
|
+
type="disabled"
|
|
133
133
|
></ic-step>
|
|
134
134
|
<ic-step
|
|
135
135
|
variant="compact"
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
136
|
+
heading="Fourth title that is long and should wrap"
|
|
137
|
+
subheading="Optional Subtitle"
|
|
138
|
+
type="completed"
|
|
139
139
|
></ic-step>
|
|
140
140
|
<ic-step
|
|
141
141
|
variant="compact"
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
142
|
+
heading="Fifth and final step"
|
|
143
|
+
subheading="Optional Subtitle"
|
|
144
|
+
status="optional"
|
|
145
145
|
></ic-step>
|
|
146
146
|
</ic-stepper>`,
|
|
147
147
|
});
|
|
148
148
|
page.rootInstance.resizeObserverCallback();
|
|
149
149
|
await page.waitForChanges();
|
|
150
|
-
const disabledSteps = page.root.querySelectorAll('ic-step[
|
|
150
|
+
const disabledSteps = page.root.querySelectorAll('ic-step[type="disabled"]');
|
|
151
151
|
disabledSteps.forEach((step) => {
|
|
152
152
|
expect(step.getAttribute("aria-label")).toMatch(/. Non-required step/i);
|
|
153
153
|
});
|
|
@@ -157,10 +157,10 @@ describe("default variant of ic-stepper component", () => {
|
|
|
157
157
|
components: [Stepper, Step],
|
|
158
158
|
html: `
|
|
159
159
|
<ic-stepper>
|
|
160
|
-
<ic-step
|
|
161
|
-
<ic-step
|
|
162
|
-
<ic-step
|
|
163
|
-
<ic-step last-step
|
|
160
|
+
<ic-step heading="Create" type="completed"></ic-step>
|
|
161
|
+
<ic-step heading="Read" type="current"></ic-step>
|
|
162
|
+
<ic-step heading="Update"></ic-step>
|
|
163
|
+
<ic-step last-step heading="Delete"></ic-step>
|
|
164
164
|
</ic-stepper>
|
|
165
165
|
`,
|
|
166
166
|
});
|
|
@@ -177,10 +177,10 @@ describe("resizeObserver for ic-stepper", () => {
|
|
|
177
177
|
components: [Stepper],
|
|
178
178
|
html: `
|
|
179
179
|
<ic-stepper>
|
|
180
|
-
<ic-step
|
|
181
|
-
<ic-step
|
|
182
|
-
<ic-step
|
|
183
|
-
<ic-step
|
|
180
|
+
<ic-step heading="Create" type="completed"></ic-step>
|
|
181
|
+
<ic-step heading="Read" type="current"></ic-step>
|
|
182
|
+
<ic-step heading="Update"></ic-step>
|
|
183
|
+
<ic-step heading="Delete"></ic-step>
|
|
184
184
|
</ic-stepper>
|
|
185
185
|
`,
|
|
186
186
|
});
|
|
@@ -192,10 +192,10 @@ describe("resizeObserver for ic-stepper", () => {
|
|
|
192
192
|
components: [Stepper],
|
|
193
193
|
html: `
|
|
194
194
|
<ic-stepper>
|
|
195
|
-
<ic-step
|
|
196
|
-
<ic-step
|
|
197
|
-
<ic-step
|
|
198
|
-
<ic-step
|
|
195
|
+
<ic-step heading="Create" type="completed"></ic-step>
|
|
196
|
+
<ic-step heading="Read" type="current"></ic-step>
|
|
197
|
+
<ic-step heading="Update"></ic-step>
|
|
198
|
+
<ic-step heading="Delete"></ic-step>
|
|
199
199
|
</ic-stepper>
|
|
200
200
|
`,
|
|
201
201
|
});
|
|
@@ -213,27 +213,27 @@ describe("compact variant of ic-stepper component", () => {
|
|
|
213
213
|
const page = await newSpecPage({
|
|
214
214
|
components: [Stepper, Step],
|
|
215
215
|
html: `<ic-stepper variant="compact" id="custom-stepper">
|
|
216
|
-
<ic-step
|
|
216
|
+
<ic-step heading="First"></ic-step>
|
|
217
217
|
<ic-step
|
|
218
|
-
|
|
219
|
-
|
|
218
|
+
heading="Second With a Very Long Title"
|
|
219
|
+
subheading="Optional subtitle that is long and should wrap"
|
|
220
220
|
current
|
|
221
|
-
|
|
221
|
+
type="current"
|
|
222
222
|
></ic-step>
|
|
223
223
|
<ic-step
|
|
224
|
-
|
|
225
|
-
|
|
224
|
+
heading="Third"
|
|
225
|
+
type="disabled"
|
|
226
226
|
></ic-step>
|
|
227
227
|
<ic-step
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
228
|
+
heading="Fourth title that is long and should wrap"
|
|
229
|
+
subheading="Optional Subtitle"
|
|
230
|
+
type="completed"
|
|
231
231
|
></ic-step>
|
|
232
232
|
<ic-step
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
233
|
+
heading="Fifth and final step"
|
|
234
|
+
subheading="Optional Subtitle"
|
|
235
|
+
status="optional"
|
|
236
|
+
type="completed"
|
|
237
237
|
></ic-step>
|
|
238
238
|
</ic-stepper>`,
|
|
239
239
|
});
|
|
@@ -244,19 +244,19 @@ describe("compact variant of ic-stepper component", () => {
|
|
|
244
244
|
expect(page.rootInstance.hideStepInfo).toBeFalsy();
|
|
245
245
|
const steps = page.root.querySelectorAll("ic-step");
|
|
246
246
|
steps.forEach((step) => {
|
|
247
|
-
const
|
|
248
|
-
expect(
|
|
249
|
-
expect(
|
|
247
|
+
const heading = step.shadowRoot.querySelector(".step > .heading-area > .heading");
|
|
248
|
+
expect(heading).not.toBeNull();
|
|
249
|
+
expect(heading.classList.contains("hide")).toBeFalsy();
|
|
250
250
|
});
|
|
251
251
|
});
|
|
252
252
|
it("should render a stepper with hidden step information", async () => {
|
|
253
253
|
const page = await newSpecPage({
|
|
254
254
|
components: [Stepper, Step],
|
|
255
255
|
html: `<ic-stepper hide-step-info>
|
|
256
|
-
<ic-step
|
|
257
|
-
<ic-step
|
|
258
|
-
<ic-step
|
|
259
|
-
<ic-step
|
|
256
|
+
<ic-step heading="Create" type="completed"></ic-step>
|
|
257
|
+
<ic-step heading="Read" type="current"></ic-step>
|
|
258
|
+
<ic-step heading="Update"></ic-step>
|
|
259
|
+
<ic-step heading="Delete"></ic-step></ic-stepper>`,
|
|
260
260
|
});
|
|
261
261
|
page.rootInstance.el.clientWidth = 50;
|
|
262
262
|
page.rootInstance.resizeObserverCallback();
|
|
@@ -265,9 +265,9 @@ describe("compact variant of ic-stepper component", () => {
|
|
|
265
265
|
expect(page.rootInstance.hideStepInfo).toBeTruthy();
|
|
266
266
|
const steps = page.root.querySelectorAll("ic-step");
|
|
267
267
|
steps.forEach((step) => {
|
|
268
|
-
const
|
|
269
|
-
expect(
|
|
270
|
-
expect(
|
|
268
|
+
const heading = step.shadowRoot.querySelector(".step > .heading-area > .heading");
|
|
269
|
+
expect(heading).not.toBeNull();
|
|
270
|
+
expect(heading.classList.contains("visually-hidden")).toBeFalsy();
|
|
271
271
|
});
|
|
272
272
|
expect(page.root).toMatchSnapshot();
|
|
273
273
|
});
|
|
@@ -275,10 +275,10 @@ describe("compact variant of ic-stepper component", () => {
|
|
|
275
275
|
const page = await newSpecPage({
|
|
276
276
|
components: [Stepper, Step],
|
|
277
277
|
html: `<ic-stepper >
|
|
278
|
-
<ic-step
|
|
279
|
-
<ic-step
|
|
280
|
-
<ic-step
|
|
281
|
-
<ic-step
|
|
278
|
+
<ic-step type="completed"></ic-step>
|
|
279
|
+
<ic-step type="current"></ic-step>
|
|
280
|
+
<ic-step type="disabled"></ic-step>
|
|
281
|
+
<ic-step type="active" ></ic-step></ic-stepper>`,
|
|
282
282
|
});
|
|
283
283
|
page.rootInstance.el.clientWidth = 50;
|
|
284
284
|
page.rootInstance.resizeObserverCallback();
|
|
@@ -290,9 +290,9 @@ describe("compact variant of ic-stepper component", () => {
|
|
|
290
290
|
expect(page.rootInstance.variant).toMatch("compact");
|
|
291
291
|
expect(page.rootInstance["noOfResizes"]).toBe(0);
|
|
292
292
|
steps.forEach((step) => {
|
|
293
|
-
const
|
|
294
|
-
expect(step["
|
|
295
|
-
expect(step["
|
|
293
|
+
const heading = "Step " + step["stepNum"];
|
|
294
|
+
expect(step["heading"]).toMatch(heading);
|
|
295
|
+
expect(step["subheading"]).toBeUndefined();
|
|
296
296
|
});
|
|
297
297
|
page.rootInstance.resizeObserverCallback();
|
|
298
298
|
await page.waitForChanges();
|
|
@@ -302,27 +302,27 @@ describe("compact variant of ic-stepper component", () => {
|
|
|
302
302
|
const page = await newSpecPage({
|
|
303
303
|
components: [Stepper, Step],
|
|
304
304
|
html: `<ic-stepper variant="compact" id="custom-stepper">
|
|
305
|
-
<ic-step
|
|
305
|
+
<ic-step heading="First"></ic-step>
|
|
306
306
|
<ic-step
|
|
307
|
-
|
|
308
|
-
|
|
307
|
+
heading="Second With a Very Long Title"
|
|
308
|
+
subheading="Optional subtitle that is long and should wrap"
|
|
309
309
|
current
|
|
310
|
-
|
|
310
|
+
type="current"
|
|
311
311
|
></ic-step>
|
|
312
312
|
<ic-step
|
|
313
|
-
|
|
314
|
-
|
|
313
|
+
heading="Third"
|
|
314
|
+
type="disabled"
|
|
315
315
|
></ic-step>
|
|
316
316
|
<ic-step
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
317
|
+
heading="Fourth title that is long and should wrap"
|
|
318
|
+
subheading="Optional Subtitle"
|
|
319
|
+
type="completed"
|
|
320
320
|
></ic-step>
|
|
321
321
|
<ic-step
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
322
|
+
heading="Fifth and final step"
|
|
323
|
+
subheading="Optional Subtitle"
|
|
324
|
+
status="optional"
|
|
325
|
+
type="completed"
|
|
326
326
|
></ic-step>
|
|
327
327
|
</ic-stepper>`,
|
|
328
328
|
});
|
|
@@ -348,27 +348,27 @@ describe("compact variant of ic-stepper component", () => {
|
|
|
348
348
|
const page = await newSpecPage({
|
|
349
349
|
components: [Stepper, Step],
|
|
350
350
|
html: `<ic-stepper>
|
|
351
|
-
<ic-step
|
|
351
|
+
<ic-step heading="First"></ic-step>
|
|
352
352
|
<ic-step
|
|
353
|
-
|
|
354
|
-
|
|
353
|
+
heading="Second With a Very Long Title"
|
|
354
|
+
subheading="Optional subtitle that is long and should wrap"
|
|
355
355
|
current
|
|
356
|
-
|
|
356
|
+
type="current"
|
|
357
357
|
></ic-step>
|
|
358
358
|
<ic-step
|
|
359
|
-
|
|
360
|
-
|
|
359
|
+
heading="Third"
|
|
360
|
+
type="disabled"
|
|
361
361
|
></ic-step>
|
|
362
362
|
<ic-step
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
363
|
+
heading="Fourth title that is long and should wrap"
|
|
364
|
+
subheading="Optional Subtitle"
|
|
365
|
+
type="completed"
|
|
366
366
|
></ic-step>
|
|
367
367
|
<ic-step
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
368
|
+
heading="Fifth and final step"
|
|
369
|
+
subheading="Optional Subtitle"
|
|
370
|
+
status="optional"
|
|
371
|
+
type="completed"
|
|
372
372
|
></ic-step>
|
|
373
373
|
</ic-stepper>`,
|
|
374
374
|
});
|
|
@@ -389,31 +389,31 @@ describe("compact variant of ic-stepper component", () => {
|
|
|
389
389
|
const page = await newSpecPage({
|
|
390
390
|
components: [Stepper, Step],
|
|
391
391
|
html: `<ic-stepper variant="compact">
|
|
392
|
-
<ic-step variant="compact"
|
|
392
|
+
<ic-step variant="compact" heading="First"></ic-step>
|
|
393
393
|
<ic-step
|
|
394
394
|
variant="compact"
|
|
395
|
-
|
|
396
|
-
|
|
395
|
+
heading="Second With a Very Long Title"
|
|
396
|
+
subheading="Optional subtitle that is long and should wrap"
|
|
397
397
|
current
|
|
398
|
-
|
|
398
|
+
type="current"
|
|
399
399
|
></ic-step>
|
|
400
400
|
<ic-step
|
|
401
401
|
variant="compact"
|
|
402
|
-
|
|
403
|
-
|
|
402
|
+
heading="Third"
|
|
403
|
+
type="disabled"
|
|
404
404
|
></ic-step>
|
|
405
405
|
<ic-step
|
|
406
406
|
variant="compact"
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
407
|
+
heading="Fourth title that is long and should wrap"
|
|
408
|
+
subheading="Optional Subtitle"
|
|
409
|
+
type="completed"
|
|
410
410
|
></ic-step>
|
|
411
411
|
<ic-step
|
|
412
412
|
variant="compact"
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
413
|
+
heading="Fifth and final step"
|
|
414
|
+
subheading="Optional Subtitle"
|
|
415
|
+
status="optional"
|
|
416
|
+
type="completed"
|
|
417
417
|
></ic-step>
|
|
418
418
|
</ic-stepper>`,
|
|
419
419
|
});
|
|
@@ -430,159 +430,159 @@ describe("compact variant of ic-stepper component", () => {
|
|
|
430
430
|
expect(notCurrentSteps.classList.contains("show")).toBeFalsy;
|
|
431
431
|
expect(notCurrentSteps.classList.contains("hide")).toBeTruthy;
|
|
432
432
|
});
|
|
433
|
-
it("should render status icons next to all steps with a disabled
|
|
433
|
+
it("should render status icons next to all steps with a disabled type", async () => {
|
|
434
434
|
const page = await newSpecPage({
|
|
435
435
|
components: [Stepper, Step],
|
|
436
436
|
html: `<ic-stepper variant="compact" id="custom-stepper">
|
|
437
|
-
<ic-step variant="compact"
|
|
437
|
+
<ic-step variant="compact" heading="First"></ic-step>
|
|
438
438
|
<ic-step
|
|
439
439
|
variant="compact"
|
|
440
|
-
|
|
441
|
-
|
|
440
|
+
heading="Second With a Very Long Title"
|
|
441
|
+
subheading="Optional subtitle that is long and should wrap"
|
|
442
442
|
current
|
|
443
|
-
|
|
443
|
+
type="current"
|
|
444
444
|
></ic-step>
|
|
445
445
|
<ic-step
|
|
446
446
|
variant="compact"
|
|
447
|
-
|
|
448
|
-
|
|
447
|
+
heading="Third"
|
|
448
|
+
status="required"
|
|
449
449
|
></ic-step>
|
|
450
450
|
<ic-step
|
|
451
451
|
variant="compact"
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
452
|
+
heading="Fourth title that is long and should wrap"
|
|
453
|
+
subheading="Optional Subtitle"
|
|
454
|
+
type="completed"
|
|
455
455
|
></ic-step>
|
|
456
456
|
<ic-step
|
|
457
457
|
variant="compact"
|
|
458
|
-
|
|
459
|
-
|
|
458
|
+
heading="Fifth and final step"
|
|
459
|
+
type="disabled"
|
|
460
460
|
></ic-step>
|
|
461
461
|
</ic-stepper>`,
|
|
462
462
|
});
|
|
463
463
|
page.rootInstance.resizeObserverCallback();
|
|
464
464
|
await page.waitForChanges();
|
|
465
|
-
const notRequiredSteps = page.root.querySelectorAll('ic-step[
|
|
465
|
+
const notRequiredSteps = page.root.querySelectorAll('ic-step[type="disabled"]');
|
|
466
466
|
notRequiredSteps.forEach((step) => {
|
|
467
|
-
const textContent = step.shadowRoot.querySelector(".step > .
|
|
467
|
+
const textContent = step.shadowRoot.querySelector(".step > .heading-area > .info-line > .step-status > ic-typography").textContent;
|
|
468
468
|
expect(textContent).toBe("Not required");
|
|
469
|
-
const statusIcon = step.shadowRoot.querySelector(".step > .
|
|
469
|
+
const statusIcon = step.shadowRoot.querySelector(".step > .heading-area > .info-line > .step-status > .step-icon");
|
|
470
470
|
expect(statusIcon).toEqualHtml(`<span class="warning-icon step-icon" aria-hidden="true">svg</span>`);
|
|
471
471
|
expect(step.getAttribute("aria-label")).toMatch(/. Non-required step/i);
|
|
472
472
|
});
|
|
473
473
|
});
|
|
474
|
-
it("should render status icons next to all steps with a completed
|
|
474
|
+
it("should render status icons next to all steps with a completed type", async () => {
|
|
475
475
|
const page = await newSpecPage({
|
|
476
476
|
components: [Stepper, Step],
|
|
477
477
|
html: `<ic-stepper variant="compact" id="custom-stepper">
|
|
478
|
-
<ic-step variant="compact"
|
|
478
|
+
<ic-step variant="compact" heading="First"></ic-step>
|
|
479
479
|
<ic-step
|
|
480
480
|
variant="compact"
|
|
481
|
-
|
|
482
|
-
|
|
481
|
+
heading="Second With a Very Long Title"
|
|
482
|
+
subheading="Optional subtitle that is long and should wrap"
|
|
483
483
|
current
|
|
484
|
-
|
|
484
|
+
type="current"
|
|
485
485
|
></ic-step>
|
|
486
486
|
<ic-step
|
|
487
487
|
variant="compact"
|
|
488
|
-
|
|
489
|
-
|
|
488
|
+
heading="Third"
|
|
489
|
+
type="disabled"
|
|
490
490
|
></ic-step>
|
|
491
491
|
<ic-step
|
|
492
492
|
variant="compact"
|
|
493
|
-
|
|
494
|
-
|
|
493
|
+
heading="Fourth title that is long and should wrap"
|
|
494
|
+
type="completed"
|
|
495
495
|
></ic-step>
|
|
496
496
|
<ic-step
|
|
497
497
|
variant="compact"
|
|
498
|
-
|
|
499
|
-
|
|
498
|
+
heading="Fifth and final step"
|
|
499
|
+
subheading="Optional Subtitle"
|
|
500
500
|
></ic-step>
|
|
501
501
|
</ic-stepper>`,
|
|
502
502
|
});
|
|
503
503
|
page.rootInstance.resizeObserverCallback();
|
|
504
504
|
await page.waitForChanges();
|
|
505
|
-
const completeSteps = page.root.querySelectorAll('ic-step[
|
|
505
|
+
const completeSteps = page.root.querySelectorAll('ic-step[type="completed"]');
|
|
506
506
|
completeSteps.forEach((step) => {
|
|
507
|
-
const textContent = step.shadowRoot.querySelector(".step > .
|
|
507
|
+
const textContent = step.shadowRoot.querySelector(".step > .heading-area > .info-line > .step-status > ic-typography").textContent;
|
|
508
508
|
expect(textContent).toBe("Completed");
|
|
509
|
-
const statusIcon = step.shadowRoot.querySelector(".step > .
|
|
509
|
+
const statusIcon = step.shadowRoot.querySelector(".step > .heading-area > .info-line > .step-status > span.step-icon");
|
|
510
510
|
expect(statusIcon).toEqualHtml(`<span class="check-icon step-icon" aria-hidden="true">svg</span>`);
|
|
511
511
|
expect(step.getAttribute("aria-label")).toMatch(/. Completed step/i);
|
|
512
512
|
});
|
|
513
513
|
});
|
|
514
|
-
it("should update the aria label of a step if its
|
|
514
|
+
it("should update the aria label of a step if its status is set to 'optional'", async () => {
|
|
515
515
|
const page = await newSpecPage({
|
|
516
516
|
components: [Stepper, Step],
|
|
517
517
|
html: `<ic-stepper variant="compact" id="custom-stepper">
|
|
518
|
-
<ic-step variant="compact"
|
|
518
|
+
<ic-step variant="compact" heading="First"></ic-step>
|
|
519
519
|
<ic-step
|
|
520
520
|
variant="compact"
|
|
521
|
-
|
|
522
|
-
|
|
521
|
+
heading="Second With a Very Long Title"
|
|
522
|
+
subheading="Optional subtitle that is long and should wrap"
|
|
523
523
|
current
|
|
524
|
-
|
|
524
|
+
type="current"
|
|
525
525
|
></ic-step>
|
|
526
526
|
<ic-step
|
|
527
527
|
variant="compact"
|
|
528
|
-
|
|
529
|
-
|
|
528
|
+
heading="Third"
|
|
529
|
+
status="optional"
|
|
530
530
|
></ic-step>
|
|
531
531
|
<ic-step
|
|
532
532
|
variant="compact"
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
533
|
+
heading="Fourth title that is long and should wrap"
|
|
534
|
+
subheading="Optional Subtitle"
|
|
535
|
+
type="completed"
|
|
536
536
|
></ic-step>
|
|
537
537
|
<ic-step
|
|
538
538
|
variant="compact"
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
539
|
+
heading="Fifth and final step"
|
|
540
|
+
subheading="Optional Subtitle"
|
|
541
|
+
status="optional"
|
|
542
542
|
></ic-step>
|
|
543
543
|
</ic-stepper>`,
|
|
544
544
|
});
|
|
545
545
|
page.rootInstance.resizeObserverCallback();
|
|
546
546
|
await page.waitForChanges();
|
|
547
|
-
const optionalSteps = page.root.querySelectorAll('ic-step[
|
|
547
|
+
const optionalSteps = page.root.querySelectorAll('ic-step[status="optional"]');
|
|
548
548
|
optionalSteps.forEach((step) => {
|
|
549
549
|
expect(step.getAttribute("aria-label")).toMatch(/. Optional step/i);
|
|
550
550
|
});
|
|
551
551
|
});
|
|
552
|
-
it("should update the aria label of a step if its
|
|
552
|
+
it("should update the aria label of a step if its status is set to 'required'", async () => {
|
|
553
553
|
const page = await newSpecPage({
|
|
554
554
|
components: [Stepper, Step],
|
|
555
555
|
html: `<ic-stepper variant="compact" id="custom-stepper">
|
|
556
|
-
<ic-step variant="compact"
|
|
556
|
+
<ic-step variant="compact" heading="First"></ic-step>
|
|
557
557
|
<ic-step
|
|
558
558
|
variant="compact"
|
|
559
|
-
|
|
560
|
-
|
|
559
|
+
heading="Second With a Very Long Title"
|
|
560
|
+
subheading="Optional subtitle that is long and should wrap"
|
|
561
561
|
current
|
|
562
|
-
|
|
562
|
+
type="current"
|
|
563
563
|
></ic-step>
|
|
564
564
|
<ic-step
|
|
565
565
|
variant="compact"
|
|
566
|
-
|
|
567
|
-
|
|
566
|
+
heading="Third"
|
|
567
|
+
status="required"
|
|
568
568
|
></ic-step>
|
|
569
569
|
<ic-step
|
|
570
570
|
variant="compact"
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
571
|
+
heading="Fourth title that is long and should wrap"
|
|
572
|
+
subheading="Optional Subtitle"
|
|
573
|
+
type="completed"
|
|
574
574
|
></ic-step>
|
|
575
575
|
<ic-step
|
|
576
576
|
variant="compact"
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
577
|
+
heading="Fifth and final step"
|
|
578
|
+
subheading="Optional Subtitle"
|
|
579
|
+
status="optional"
|
|
580
580
|
></ic-step>
|
|
581
581
|
</ic-stepper>`,
|
|
582
582
|
});
|
|
583
583
|
page.rootInstance.resizeObserverCallback();
|
|
584
584
|
await page.waitForChanges();
|
|
585
|
-
const requiredSteps = page.root.querySelectorAll('ic-step[
|
|
585
|
+
const requiredSteps = page.root.querySelectorAll('ic-step[status="required"]');
|
|
586
586
|
requiredSteps.forEach((step) => {
|
|
587
587
|
expect(step.getAttribute("aria-label")).toMatch(/. Required step/i);
|
|
588
588
|
});
|
|
@@ -591,25 +591,25 @@ describe("compact variant of ic-stepper component", () => {
|
|
|
591
591
|
const page = await newSpecPage({
|
|
592
592
|
components: [Stepper, Step],
|
|
593
593
|
html: `<ic-stepper variant="compact" id="custom-stepper">
|
|
594
|
-
<ic-step
|
|
594
|
+
<ic-step heading="First"></ic-step>
|
|
595
595
|
<ic-step
|
|
596
|
-
|
|
597
|
-
|
|
596
|
+
heading="Second With a Very Long Title"
|
|
597
|
+
subheading="Optional subtitle that is long and should wrap"
|
|
598
598
|
current
|
|
599
|
-
|
|
599
|
+
type="current"
|
|
600
600
|
></ic-step>
|
|
601
601
|
<ic-step
|
|
602
|
-
|
|
603
|
-
|
|
602
|
+
heading="Third"
|
|
603
|
+
type="disabled"
|
|
604
604
|
></ic-step>
|
|
605
605
|
<ic-step
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
606
|
+
heading="Fourth title that is long and should wrap"
|
|
607
|
+
subheading="Optional Subtitle"
|
|
608
|
+
type="completed"
|
|
609
609
|
></ic-step>
|
|
610
610
|
<ic-step
|
|
611
|
-
|
|
612
|
-
|
|
611
|
+
heading="Fifth and final step"
|
|
612
|
+
subheading="Optional Subtitle"
|
|
613
613
|
></ic-step>
|
|
614
614
|
</ic-stepper>`,
|
|
615
615
|
});
|
|
@@ -622,10 +622,10 @@ describe("compact variant of ic-stepper component", () => {
|
|
|
622
622
|
});
|
|
623
623
|
for (let i = 0; i < steps.length; i++) {
|
|
624
624
|
if (steps[i] !== steps[steps.length - 1]) {
|
|
625
|
-
expect(steps[i]["
|
|
625
|
+
expect(steps[i]["nextStepHeading"]).toBe(steps[i + 1]["heading"]);
|
|
626
626
|
}
|
|
627
627
|
else {
|
|
628
|
-
expect(steps[i]["
|
|
628
|
+
expect(steps[i]["nextStepHeading"]).toBeUndefined();
|
|
629
629
|
}
|
|
630
630
|
}
|
|
631
631
|
});
|
|
@@ -635,26 +635,26 @@ describe("switch between the compact and default stepper depending on whether th
|
|
|
635
635
|
const page = await newSpecPage({
|
|
636
636
|
components: [Stepper, Step],
|
|
637
637
|
html: `<ic-stepper >
|
|
638
|
-
<ic-step
|
|
638
|
+
<ic-step heading="First"></ic-step>
|
|
639
639
|
<ic-step
|
|
640
|
-
|
|
641
|
-
|
|
640
|
+
heading="Second With a Very Long Title"
|
|
641
|
+
subheading="Optional subtitle that is long and should wrap"
|
|
642
642
|
current
|
|
643
|
-
|
|
643
|
+
type="current"
|
|
644
644
|
></ic-step>
|
|
645
645
|
<ic-step
|
|
646
|
-
|
|
647
|
-
|
|
646
|
+
heading="Third"
|
|
647
|
+
type="disabled"
|
|
648
648
|
></ic-step>
|
|
649
649
|
<ic-step
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
650
|
+
heading="Fourth title that is long and should wrap"
|
|
651
|
+
subheading="Optional Subtitle"
|
|
652
|
+
type="completed"
|
|
653
653
|
></ic-step>
|
|
654
654
|
<ic-step
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
655
|
+
heading="Fifth and final step"
|
|
656
|
+
subheading="Optional Subtitle"
|
|
657
|
+
status="optional"
|
|
658
658
|
></ic-step>
|
|
659
659
|
</ic-stepper>`,
|
|
660
660
|
});
|
|
@@ -669,26 +669,26 @@ describe("switch between the compact and default stepper depending on whether th
|
|
|
669
669
|
const page = await newSpecPage({
|
|
670
670
|
components: [Stepper, Step],
|
|
671
671
|
html: `<ic-stepper>
|
|
672
|
-
<ic-step
|
|
672
|
+
<ic-step heading="First"></ic-step>
|
|
673
673
|
<ic-step
|
|
674
|
-
|
|
675
|
-
|
|
674
|
+
heading="Second With a Very Long Title"
|
|
675
|
+
subheading="Optional subtitle that is long and should wrap"
|
|
676
676
|
current
|
|
677
|
-
|
|
677
|
+
type="current"
|
|
678
678
|
></ic-step>
|
|
679
679
|
<ic-step
|
|
680
|
-
|
|
681
|
-
|
|
680
|
+
heading="Third"
|
|
681
|
+
type="disabled"
|
|
682
682
|
></ic-step>
|
|
683
683
|
<ic-step
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
684
|
+
heading="Fourth title that is long and should wrap"
|
|
685
|
+
subheading="Optional Subtitle"
|
|
686
|
+
type="completed"
|
|
687
687
|
></ic-step>
|
|
688
688
|
<ic-step
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
689
|
+
heading="Fifth and final step"
|
|
690
|
+
subheading="Optional Subtitle"
|
|
691
|
+
status="optional"
|
|
692
692
|
></ic-step>
|
|
693
693
|
</ic-stepper>`,
|
|
694
694
|
});
|
|
@@ -708,17 +708,17 @@ describe("switch between the compact and default stepper depending on whether th
|
|
|
708
708
|
const page = await newSpecPage({
|
|
709
709
|
components: [Stepper, Step],
|
|
710
710
|
html: `<ic-stepper appearance="light">
|
|
711
|
-
<ic-step
|
|
712
|
-
<ic-step
|
|
713
|
-
<ic-step
|
|
714
|
-
<ic-step
|
|
711
|
+
<ic-step heading="Create" type="completed"></ic-step>
|
|
712
|
+
<ic-step heading="Read" type="current"></ic-step>
|
|
713
|
+
<ic-step heading="Update"></ic-step>
|
|
714
|
+
<ic-step heading="Delete"></ic-step></ic-stepper>`,
|
|
715
715
|
});
|
|
716
716
|
page.rootInstance.resizeObserverCallback();
|
|
717
717
|
await page.waitForChanges();
|
|
718
718
|
expect(page.rootInstance.appearance).toMatch("light");
|
|
719
719
|
const steps = page.root.querySelectorAll("ic-step");
|
|
720
720
|
steps.forEach((step) => {
|
|
721
|
-
expect(step.classList.contains("light")).toBeTruthy();
|
|
721
|
+
expect(step.classList.contains("ic-step-light")).toBeTruthy();
|
|
722
722
|
});
|
|
723
723
|
expect(page.root).toMatchSnapshot();
|
|
724
724
|
});
|
|
@@ -726,26 +726,26 @@ describe("switch between the compact and default stepper depending on whether th
|
|
|
726
726
|
const page = await newSpecPage({
|
|
727
727
|
components: [Stepper, Step],
|
|
728
728
|
html: `<ic-stepper>
|
|
729
|
-
<ic-step
|
|
730
|
-
<ic-step
|
|
731
|
-
<ic-step
|
|
732
|
-
<ic-step
|
|
729
|
+
<ic-step heading="Create" type="completed"></ic-step>
|
|
730
|
+
<ic-step heading="Read" type="current"></ic-step>
|
|
731
|
+
<ic-step heading="Update"></ic-step>
|
|
732
|
+
<ic-step heading="Delete"></ic-step></ic-stepper>`,
|
|
733
733
|
});
|
|
734
734
|
await page.waitForChanges();
|
|
735
735
|
expect(page.rootInstance.hideStepInfo).toBeFalsy();
|
|
736
736
|
const steps = page.root.querySelectorAll("ic-step");
|
|
737
737
|
steps.forEach((step) => {
|
|
738
|
-
const
|
|
739
|
-
expect(
|
|
740
|
-
expect(
|
|
738
|
+
const heading = step.shadowRoot.querySelector(".step > .heading-area");
|
|
739
|
+
expect(heading).not.toBeNull();
|
|
740
|
+
expect(heading.classList.contains("visually-hidden")).toBeFalsy();
|
|
741
741
|
});
|
|
742
742
|
page.rootInstance.hideStepInfo = true;
|
|
743
743
|
await page.waitForChanges();
|
|
744
744
|
expect(page.rootInstance.hideStepInfo).toBeTruthy();
|
|
745
745
|
steps.forEach((step) => {
|
|
746
|
-
const
|
|
747
|
-
expect(
|
|
748
|
-
expect(
|
|
746
|
+
const heading = step.shadowRoot.querySelector(".step > .heading-area");
|
|
747
|
+
expect(heading).not.toBeNull();
|
|
748
|
+
expect(heading.classList.contains("visually-hidden")).toBeTruthy();
|
|
749
749
|
});
|
|
750
750
|
});
|
|
751
751
|
});
|