@ukic/web-components 2.25.1 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -14,8 +14,8 @@
|
|
14
14
|
justify-content: center;
|
15
15
|
}
|
16
16
|
|
17
|
-
.
|
18
|
-
.
|
17
|
+
.heading,
|
18
|
+
.subheading,
|
19
19
|
.step-status,
|
20
20
|
.next-step {
|
21
21
|
white-space: pre-line;
|
@@ -31,7 +31,7 @@
|
|
31
31
|
}
|
32
32
|
|
33
33
|
/* COMPACT STEP STYLING */
|
34
|
-
:host(.compact) {
|
34
|
+
:host(.ic-step-compact) {
|
35
35
|
-moz-column-gap: var(--ic-space-sm);
|
36
36
|
column-gap: var(--ic-space-sm);
|
37
37
|
|
@@ -39,17 +39,17 @@
|
|
39
39
|
--compact-step-circular-line-width: var(--ic-space-xxs);
|
40
40
|
}
|
41
41
|
|
42
|
-
:host(.compact.light) {
|
42
|
+
:host(.ic-step-compact.ic-step-light) {
|
43
43
|
--compact-step-inner-color: var(--ic-status-info-contrast);
|
44
44
|
--compact-step-outer-color: var(--ic-architectural-600);
|
45
45
|
}
|
46
46
|
|
47
|
-
:host(.compact) .step {
|
47
|
+
:host(.ic-step-compact) .step {
|
48
48
|
-moz-column-gap: var(--ic-space-sm);
|
49
49
|
column-gap: var(--ic-space-sm);
|
50
50
|
}
|
51
51
|
|
52
|
-
:host(.compact) .step:not(.current) {
|
52
|
+
:host(.ic-step-compact) .step:not(.current) {
|
53
53
|
display: none;
|
54
54
|
opacity: 0;
|
55
55
|
visibility: hidden;
|
@@ -63,17 +63,17 @@
|
|
63
63
|
border-radius: 50%;
|
64
64
|
}
|
65
65
|
|
66
|
-
:host(:not(.light)) ic-loading-indicator::part(ic-loading-container) {
|
66
|
+
:host(:not(.ic-step-light)) ic-loading-indicator::part(ic-loading-container) {
|
67
67
|
background-color: var(--ic-architectural-white);
|
68
68
|
}
|
69
69
|
|
70
|
-
:host(.compact) .
|
70
|
+
:host(.ic-step-compact) .heading-area {
|
71
71
|
display: flex;
|
72
72
|
flex-direction: column;
|
73
73
|
width: 14.25rem;
|
74
74
|
}
|
75
75
|
|
76
|
-
:host(.compact.light) .disabled .
|
76
|
+
:host(.ic-step-compact.ic-step-light) .disabled .heading-area {
|
77
77
|
color: var(--ic-architectural-400);
|
78
78
|
}
|
79
79
|
|
@@ -94,15 +94,15 @@
|
|
94
94
|
color: var(--ic-status-success);
|
95
95
|
}
|
96
96
|
|
97
|
-
:host(.light) .compact-step-completed .step-status {
|
97
|
+
:host(.ic-step-light) .compact-step-completed .step-status {
|
98
98
|
color: var(--ic-status-success-contrast);
|
99
99
|
}
|
100
100
|
|
101
|
-
.compact-step-disabled :is(.
|
101
|
+
.compact-step-disabled :is(.heading, .step-status) {
|
102
102
|
color: var(--ic-color-tertiary-text);
|
103
103
|
}
|
104
104
|
|
105
|
-
:host(.light) .compact-step-disabled :is(.step-status) {
|
105
|
+
:host(.ic-step-light) .compact-step-disabled :is(.step-status) {
|
106
106
|
color: var(--ic-architectural-white);
|
107
107
|
}
|
108
108
|
|
@@ -111,25 +111,25 @@
|
|
111
111
|
white-space: nowrap;
|
112
112
|
}
|
113
113
|
|
114
|
-
:host(.light) .step-num {
|
114
|
+
:host(.ic-step-light) .step-num {
|
115
115
|
color: var(--ic-architectural-white);
|
116
116
|
}
|
117
117
|
|
118
|
-
:host(.compact) .step-icon {
|
118
|
+
:host(.ic-step-compact) .step-icon {
|
119
119
|
margin: var(--ic-space-xxxs);
|
120
120
|
}
|
121
121
|
|
122
|
-
:host(.compact) .step-icon svg {
|
122
|
+
:host(.ic-step-compact) .step-icon svg {
|
123
123
|
width: var(--ic-space-md);
|
124
124
|
height: var(--ic-space-md);
|
125
125
|
}
|
126
126
|
|
127
127
|
/* DEFAULT STEP STYLING */
|
128
|
-
:host(.default) .step {
|
128
|
+
:host(.ic-step-default) .step {
|
129
129
|
flex-direction: column;
|
130
130
|
}
|
131
131
|
|
132
|
-
:host(.default.last-step) {
|
132
|
+
:host(.ic-step-default.last-step) {
|
133
133
|
flex-grow: initial;
|
134
134
|
}
|
135
135
|
|
@@ -141,11 +141,11 @@
|
|
141
141
|
height: 2.5rem;
|
142
142
|
}
|
143
143
|
|
144
|
-
:host(.default) .step-icon {
|
144
|
+
:host(.ic-step-default) .step-icon {
|
145
145
|
border-radius: 50%;
|
146
146
|
}
|
147
147
|
|
148
|
-
:host(.default:not(.light)) .step-icon {
|
148
|
+
:host(.ic-step-default:not(.ic-step-light)) .step-icon {
|
149
149
|
background-color: var(--ic-architectural-white);
|
150
150
|
}
|
151
151
|
|
@@ -158,53 +158,53 @@
|
|
158
158
|
border-radius: 50%;
|
159
159
|
}
|
160
160
|
|
161
|
-
:host(.default) .current {
|
161
|
+
:host(.ic-step-default) .current {
|
162
162
|
color: var(--ic-status-info);
|
163
163
|
}
|
164
164
|
|
165
|
-
:host(.default.light) .current,
|
166
|
-
:host(.default.light) .current .
|
165
|
+
:host(.ic-step-default.ic-step-light) .current,
|
166
|
+
:host(.ic-step-default.ic-step-light) .current .heading-area {
|
167
167
|
color: var(--ic-status-info-contrast);
|
168
168
|
}
|
169
169
|
|
170
|
-
:host(.default) .
|
170
|
+
:host(.ic-step-default) .heading-area {
|
171
171
|
margin: var(--ic-space-xs) 0;
|
172
172
|
padding-right: var(--ic-space-xs);
|
173
173
|
width: 100%;
|
174
174
|
}
|
175
175
|
|
176
|
-
:host(.light) .
|
176
|
+
:host(.ic-step-light) .heading-area {
|
177
177
|
color: var(--ic-architectural-200);
|
178
178
|
}
|
179
179
|
|
180
|
-
:host(.compact.light) .
|
180
|
+
:host(.ic-step-compact.ic-step-light) .heading-area {
|
181
181
|
color: var(--ic-architectural-white);
|
182
182
|
}
|
183
183
|
|
184
|
-
:host(.default) .
|
185
|
-
.
|
184
|
+
:host(.ic-step-default) .heading,
|
185
|
+
.subheading {
|
186
186
|
width: -moz-fit-content;
|
187
187
|
width: fit-content;
|
188
188
|
}
|
189
189
|
|
190
|
-
.
|
190
|
+
.subheading {
|
191
191
|
color: var(--ic-color-tertiary-text);
|
192
192
|
}
|
193
193
|
|
194
|
-
:host(.light) .
|
194
|
+
:host(.ic-step-light) .subheading {
|
195
195
|
color: var(--ic-architectural-white);
|
196
196
|
}
|
197
197
|
|
198
|
-
.current .
|
198
|
+
.current .subheading {
|
199
199
|
color: var(--ic-color-primary-text);
|
200
200
|
}
|
201
201
|
|
202
|
-
:host(.default) .completed {
|
202
|
+
:host(.ic-step-default) .completed {
|
203
203
|
color: var(--ic-status-success);
|
204
204
|
}
|
205
205
|
|
206
|
-
:host(.default.light) .completed,
|
207
|
-
:host(.default.light) .completed .
|
206
|
+
:host(.ic-step-default.ic-step-light) .completed,
|
207
|
+
:host(.ic-step-default.ic-step-light) .completed .heading-area {
|
208
208
|
color: var(--ic-status-success-contrast);
|
209
209
|
}
|
210
210
|
|
@@ -212,7 +212,7 @@
|
|
212
212
|
box-shadow: inset var(--ic-architectural-200) 0 0 0 0.125rem;
|
213
213
|
}
|
214
214
|
|
215
|
-
:host(.light) .active .step-icon-inner {
|
215
|
+
:host(.ic-step-light) .active .step-icon-inner {
|
216
216
|
color: var(--ic-architectural-white);
|
217
217
|
}
|
218
218
|
|
@@ -221,7 +221,7 @@
|
|
221
221
|
color: white;
|
222
222
|
}
|
223
223
|
|
224
|
-
:host(.light) .current .step-icon-inner {
|
224
|
+
:host(.ic-step-light) .current .step-icon-inner {
|
225
225
|
background-color: var(--ic-status-info-contrast);
|
226
226
|
}
|
227
227
|
|
@@ -229,8 +229,8 @@
|
|
229
229
|
color: var(--ic-architectural-200);
|
230
230
|
}
|
231
231
|
|
232
|
-
:host(.default.light) .disabled,
|
233
|
-
:host(.default.light) .disabled .
|
232
|
+
:host(.ic-step-default.ic-step-light) .disabled,
|
233
|
+
:host(.ic-step-default.ic-step-light) .disabled .heading-area {
|
234
234
|
color: var(--ic-architectural-400);
|
235
235
|
}
|
236
236
|
|
@@ -240,12 +240,12 @@
|
|
240
240
|
height: calc(var(--ic-space-xl) - var(--ic-space-xxxs));
|
241
241
|
}
|
242
242
|
|
243
|
-
:host(.light) .disabled .step-icon-inner {
|
243
|
+
:host(.ic-step-light) .disabled .step-icon-inner {
|
244
244
|
border: var(--ic-border-width) dashed var(--ic-architectural-400);
|
245
245
|
}
|
246
246
|
|
247
|
-
.disabled .
|
248
|
-
:host(.default.light) .disabled .
|
247
|
+
.disabled .heading-area,
|
248
|
+
:host(.ic-step-default.ic-step-light) .disabled .subheading {
|
249
249
|
color: var(--ic-color-tertiary-text);
|
250
250
|
}
|
251
251
|
|
@@ -255,12 +255,12 @@
|
|
255
255
|
border-radius: 100%;
|
256
256
|
}
|
257
257
|
|
258
|
-
:host(.light) .completed .step-icon-inner {
|
258
|
+
:host(.ic-step-light) .completed .step-icon-inner {
|
259
259
|
background: var(--ic-status-success-contrast);
|
260
260
|
box-shadow: inset var(--ic-status-success-contrast) 0 0 0 var(--ic-space-xxxs);
|
261
261
|
}
|
262
262
|
|
263
|
-
:host(.default) .current .step-icon {
|
263
|
+
:host(.ic-step-default) .current .step-icon {
|
264
264
|
border: var(--ic-space-xxxs) solid var(--ic-status-info);
|
265
265
|
padding: var(--ic-space-xxxs);
|
266
266
|
margin: 0 calc(-1 * var(--ic-space-xxxs));
|
@@ -268,7 +268,7 @@
|
|
268
268
|
/* compensating for the circle being bigger than other steps */
|
269
269
|
}
|
270
270
|
|
271
|
-
:host(.default.light) .current .step-icon {
|
271
|
+
:host(.ic-step-default.ic-step-light) .current .step-icon {
|
272
272
|
border: var(--ic-space-xxxs) solid var(--ic-status-info-contrast);
|
273
273
|
}
|
274
274
|
|
@@ -280,7 +280,7 @@
|
|
280
280
|
width: 100%;
|
281
281
|
}
|
282
282
|
|
283
|
-
:host(.light) .step-connect {
|
283
|
+
:host(.ic-step-light) .step-connect {
|
284
284
|
background-color: var(--ic-architectural-600);
|
285
285
|
}
|
286
286
|
|
@@ -296,7 +296,7 @@
|
|
296
296
|
border-radius: 0;
|
297
297
|
}
|
298
298
|
|
299
|
-
:host(.light) .disabled .step-connect {
|
299
|
+
:host(.ic-step-light) .disabled .step-connect {
|
300
300
|
border-top: 0.125rem dashed var(--ic-architectural-600);
|
301
301
|
}
|
302
302
|
|
@@ -304,7 +304,7 @@
|
|
304
304
|
background-color: var(--ic-status-success);
|
305
305
|
}
|
306
306
|
|
307
|
-
:host(.light) .completed .step-connect {
|
307
|
+
:host(.ic-step-light) .completed .step-connect {
|
308
308
|
background-color: var(--ic-status-success-contrast);
|
309
309
|
}
|
310
310
|
|
@@ -317,7 +317,7 @@
|
|
317
317
|
background-color: var(--ic-status-info);
|
318
318
|
}
|
319
319
|
|
320
|
-
:host(.light) .step-connect-inner {
|
320
|
+
:host(.ic-step-light) .step-connect-inner {
|
321
321
|
background-color: var(--ic-status-info-contrast);
|
322
322
|
}
|
323
323
|
|
@@ -337,7 +337,7 @@
|
|
337
337
|
/** High Contrast **/
|
338
338
|
@media (forced-colors: active) {
|
339
339
|
/* COMPACT STEP */
|
340
|
-
.compact-step-disabled :is(.
|
340
|
+
.compact-step-disabled :is(.heading, .step-status) {
|
341
341
|
color: GrayText;
|
342
342
|
}
|
343
343
|
|
@@ -355,13 +355,13 @@
|
|
355
355
|
color: canvastext;
|
356
356
|
}
|
357
357
|
|
358
|
-
:host(.default) .current .step-icon {
|
358
|
+
:host(.ic-step-default) .current .step-icon {
|
359
359
|
padding: 0;
|
360
360
|
border: none;
|
361
361
|
}
|
362
362
|
|
363
363
|
.disabled,
|
364
|
-
.disabled .
|
364
|
+
.disabled .heading-area {
|
365
365
|
color: GrayText;
|
366
366
|
}
|
367
367
|
|
@@ -378,12 +378,12 @@
|
|
378
378
|
/* Add back in after storybook has the `color-scheme: light dark` code */
|
379
379
|
|
380
380
|
/* @media (prefers-color-scheme: dark) and (not (forced-colors: active)) {
|
381
|
-
:host(:not(.light)) .step-icon-inner {
|
381
|
+
:host(:not(.ic-step-light)) .step-icon-inner {
|
382
382
|
color: var(--ic-architectural-black);
|
383
383
|
}
|
384
384
|
|
385
385
|
.step-num,
|
386
|
-
.
|
386
|
+
.subheading {
|
387
387
|
color: var(--ic-architectural-white) !important;
|
388
388
|
}
|
389
389
|
} */
|
@@ -8,17 +8,17 @@ export class Step {
|
|
8
8
|
this.current = false;
|
9
9
|
this.lastStep = undefined;
|
10
10
|
this.lastStepNum = undefined;
|
11
|
-
this.
|
11
|
+
this.nextStepHeading = undefined;
|
12
12
|
this.progress = undefined;
|
13
13
|
this.stepNum = undefined;
|
14
|
-
this.
|
15
|
-
this.
|
16
|
-
this.
|
14
|
+
this.status = undefined;
|
15
|
+
this.subheading = undefined;
|
16
|
+
this.heading = undefined;
|
17
17
|
this.variant = undefined;
|
18
|
-
this.
|
18
|
+
this.type = "active";
|
19
19
|
}
|
20
|
-
|
21
|
-
if (this.variant === "compact" && this.
|
20
|
+
typeChangeHandler() {
|
21
|
+
if (this.variant === "compact" && this.type === "current") {
|
22
22
|
this.current = true;
|
23
23
|
}
|
24
24
|
else {
|
@@ -29,27 +29,26 @@ export class Step {
|
|
29
29
|
var _a;
|
30
30
|
// ARIA LABEL
|
31
31
|
let ariaLabel = "";
|
32
|
-
if (this.
|
32
|
+
if (this.type === "completed") {
|
33
33
|
ariaLabel = ". Completed step";
|
34
34
|
}
|
35
|
-
else if (this.
|
35
|
+
else if (this.type === "disabled") {
|
36
36
|
ariaLabel = ". Non-required step";
|
37
37
|
}
|
38
|
-
else if (this.
|
38
|
+
else if (this.status === "required") {
|
39
39
|
ariaLabel = ". Required step";
|
40
40
|
}
|
41
|
-
else if (this.
|
41
|
+
else if (this.status === "optional") {
|
42
42
|
ariaLabel = ". Optional step";
|
43
43
|
}
|
44
44
|
// STEP STATUS
|
45
45
|
let stepStatus;
|
46
|
-
if (isPropDefined(this.
|
47
|
-
stepStatus = this.
|
46
|
+
if (isPropDefined(this.status)) {
|
47
|
+
stepStatus = this.status[0].toUpperCase() + this.status.slice(1);
|
48
48
|
}
|
49
49
|
// STEP TYPE
|
50
50
|
let stepType;
|
51
|
-
if (this.
|
52
|
-
this.compactStepStyling === "disabled") {
|
51
|
+
if (this.type === "disabled" || this.compactStepStyling === "disabled") {
|
53
52
|
stepType = "Not required";
|
54
53
|
}
|
55
54
|
else if (this.compactStepStyling === "completed") {
|
@@ -57,11 +56,10 @@ export class Step {
|
|
57
56
|
}
|
58
57
|
// STATUS ICON FOR COMPACT STEP
|
59
58
|
let statusIcon;
|
60
|
-
if (this.
|
61
|
-
this.compactStepStyling === "completed") {
|
59
|
+
if (this.type === "completed" || this.compactStepStyling === "completed") {
|
62
60
|
statusIcon = (h("span", { class: "check-icon step-icon", "aria-hidden": "true", innerHTML: checkIcon }));
|
63
61
|
}
|
64
|
-
else if (this.
|
62
|
+
else if (this.type === "disabled" ||
|
65
63
|
this.compactStepStyling === "disabled") {
|
66
64
|
statusIcon = (h("span", { class: "warning-icon step-icon", "aria-hidden": "true", innerHTML: warningIcon }));
|
67
65
|
}
|
@@ -72,52 +70,51 @@ export class Step {
|
|
72
70
|
[`compact-step-${this.compactStepStyling}`]: !!this.compactStepStyling,
|
73
71
|
} }, h("ic-loading-indicator", { class: {
|
74
72
|
"compact-step-progress-indicator": true,
|
75
|
-
"not-required": this.
|
73
|
+
"not-required": this.type === "disabled" ||
|
76
74
|
this.compactStepStyling === "disabled",
|
77
|
-
}, "aria-hidden": "true", size: "small", "inner-label": this.stepNum, progress: this.progress }), h("div", { class: "
|
78
|
-
this.
|
79
|
-
this.
|
75
|
+
}, "aria-hidden": "true", size: "small", "inner-label": this.stepNum, progress: this.progress }), h("div", { class: "heading-area" }, h("ic-typography", { variant: "h4", class: "heading" }, this.heading), h("div", { class: "info-line" }, h("ic-typography", { variant: "caption", class: "step-num" }, `${this.stepNum} of ${this.lastStepNum}`, h("span", { class: "visually-hidden" }, " steps")), (this.subheading ||
|
76
|
+
this.type === "completed" ||
|
77
|
+
this.type === "disabled" ||
|
80
78
|
(this.variant === "compact" &&
|
81
79
|
!!this.compactStepStyling &&
|
82
80
|
this.compactStepStyling !== "active") ||
|
83
|
-
!!this.
|
84
|
-
|
85
|
-
|
86
|
-
: this.stepType === "disabled" ||
|
81
|
+
!!this.status) && (h("div", { class: "step-status" }, statusIcon !== undefined && statusIcon, (this.subheading || stepType) && (h("ic-typography", { variant: "caption" }, this.subheading !== null && isPropDefined(this.subheading)
|
82
|
+
? this.subheading
|
83
|
+
: this.type === "disabled" ||
|
87
84
|
(this.variant === "compact" &&
|
88
85
|
this.compactStepStyling === "disabled") ||
|
89
|
-
this.
|
86
|
+
this.type === "completed" ||
|
90
87
|
(this.variant === "compact" &&
|
91
88
|
this.compactStepStyling === "completed")
|
92
89
|
? stepType
|
93
|
-
: this.
|
90
|
+
: this.status && stepStatus))))), this.lastStep ? (h("ic-typography", { variant: "subtitle-small", class: "next-step" }, "Last step")) : (isPropDefined(this.nextStepHeading) && (h("ic-typography", { variant: "subtitle-small", class: "next-step" }, "Next", h("span", { class: "visually-hidden" }, " step is"), ":", " ", this.nextStepHeading))))));
|
94
91
|
// ICON FOR DEFAULT STEP
|
95
92
|
let icon;
|
96
|
-
if (this.
|
93
|
+
if (this.type !== "completed") {
|
97
94
|
icon = (h("ic-typography", { variant: "subtitle-small" }, h("span", { class: "step-icon-inner", "aria-hidden": "true" }, this.stepNum)));
|
98
95
|
}
|
99
96
|
else {
|
100
97
|
icon = (h("div", { class: "step-icon-inner", "aria-hidden": "true" }, h("span", { class: "check-icon", innerHTML: checkIcon })));
|
101
98
|
}
|
102
99
|
// STEP CONNECT FOR DEFAULT STEP
|
103
|
-
const partialBar = this.
|
100
|
+
const partialBar = this.type === "current" && (h("div", { class: "step-connect-inner" }));
|
104
101
|
const finalStep = !this.lastStep && (h("div", { class: {
|
105
102
|
["step-connect"]: true,
|
106
|
-
["aligned-full-width"]: this.el.parentElement.classList.contains("default") &&
|
107
|
-
!this.el.parentElement.classList.contains("aligned-left"),
|
103
|
+
["aligned-full-width"]: this.el.parentElement.classList.contains("ic-stepper-default") &&
|
104
|
+
!this.el.parentElement.classList.contains("ic-stepper-aligned-left"),
|
108
105
|
} }, partialBar));
|
109
106
|
// DEFAULT STEP COMPONENT
|
110
107
|
const defaultStep = (h("div", { class: {
|
111
108
|
["step"]: true,
|
112
|
-
[`${this.
|
113
|
-
} }, h("div", { class: "step-top" }, h("div", { class: "step-icon" }, icon), finalStep), (this.
|
114
|
-
? this.
|
109
|
+
[`${this.type}`]: true,
|
110
|
+
} }, h("div", { class: "step-top" }, h("div", { class: "step-icon" }, icon), finalStep), (this.heading || this.subheading || this.status) && (h("div", { class: "heading-area" }, this.heading && (h("ic-typography", { variant: "subtitle-large", class: "heading" }, this.heading)), this.heading && (this.subheading || this.status) && (h("ic-typography", { variant: "caption", class: "subheading" }, this.subheading !== null && isPropDefined(this.subheading)
|
111
|
+
? this.subheading
|
115
112
|
: stepStatus))))));
|
116
|
-
return (h(Host, { role: "listitem", "aria-label": `Step ${this.stepNum}${ariaLabel}`, "aria-current": (this.current || this.
|
117
|
-
["aligned-full-width"]: this.el.parentElement.classList.contains("default") &&
|
118
|
-
!this.el.parentElement.classList.contains("aligned-left"),
|
119
|
-
[
|
120
|
-
["light"]: ((_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.appearance) ===
|
113
|
+
return (h(Host, { role: "listitem", "aria-label": `Step ${this.stepNum}${ariaLabel}`, "aria-current": (this.current || this.type === "current") && "step", class: {
|
114
|
+
["aligned-full-width"]: this.el.parentElement.classList.contains("ic-stepper-default") &&
|
115
|
+
!this.el.parentElement.classList.contains("ic-stepper-aligned-left"),
|
116
|
+
[`ic-step-${this.variant}`]: true,
|
117
|
+
["ic-step-light"]: ((_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.appearance) ===
|
121
118
|
"light",
|
122
119
|
} }, this.variant === "compact" ? compactStep : defaultStep));
|
123
120
|
}
|
@@ -222,7 +219,7 @@ export class Step {
|
|
222
219
|
"attribute": "last-step-num",
|
223
220
|
"reflect": false
|
224
221
|
},
|
225
|
-
"
|
222
|
+
"nextStepHeading": {
|
226
223
|
"type": "string",
|
227
224
|
"mutable": false,
|
228
225
|
"complexType": {
|
@@ -239,7 +236,7 @@ export class Step {
|
|
239
236
|
}],
|
240
237
|
"text": ""
|
241
238
|
},
|
242
|
-
"attribute": "next-step-
|
239
|
+
"attribute": "next-step-heading",
|
243
240
|
"reflect": false
|
244
241
|
},
|
245
242
|
"progress": {
|
@@ -282,7 +279,7 @@ export class Step {
|
|
282
279
|
"attribute": "step-num",
|
283
280
|
"reflect": false
|
284
281
|
},
|
285
|
-
"
|
282
|
+
"status": {
|
286
283
|
"type": "string",
|
287
284
|
"mutable": false,
|
288
285
|
"complexType": {
|
@@ -302,10 +299,10 @@ export class Step {
|
|
302
299
|
"tags": [],
|
303
300
|
"text": "The status of the step. Use this prop to display a status message on the step if it is required or optional."
|
304
301
|
},
|
305
|
-
"attribute": "
|
302
|
+
"attribute": "status",
|
306
303
|
"reflect": false
|
307
304
|
},
|
308
|
-
"
|
305
|
+
"subheading": {
|
309
306
|
"type": "string",
|
310
307
|
"mutable": false,
|
311
308
|
"complexType": {
|
@@ -319,10 +316,10 @@ export class Step {
|
|
319
316
|
"tags": [],
|
320
317
|
"text": "Additional information about the step. Use this prop to override the default step status messaging displayed when selecting a step type or step status."
|
321
318
|
},
|
322
|
-
"attribute": "
|
319
|
+
"attribute": "subheading",
|
323
320
|
"reflect": false
|
324
321
|
},
|
325
|
-
"
|
322
|
+
"heading": {
|
326
323
|
"type": "string",
|
327
324
|
"mutable": false,
|
328
325
|
"complexType": {
|
@@ -336,7 +333,7 @@ export class Step {
|
|
336
333
|
"tags": [],
|
337
334
|
"text": "The title of the step within the stepper."
|
338
335
|
},
|
339
|
-
"attribute": "
|
336
|
+
"attribute": "heading",
|
340
337
|
"reflect": false
|
341
338
|
},
|
342
339
|
"variant": {
|
@@ -365,7 +362,7 @@ export class Step {
|
|
365
362
|
"attribute": "variant",
|
366
363
|
"reflect": false
|
367
364
|
},
|
368
|
-
"
|
365
|
+
"type": {
|
369
366
|
"type": "string",
|
370
367
|
"mutable": false,
|
371
368
|
"complexType": {
|
@@ -385,7 +382,7 @@ export class Step {
|
|
385
382
|
"tags": [],
|
386
383
|
"text": "The state of the step within the stepper."
|
387
384
|
},
|
388
|
-
"attribute": "
|
385
|
+
"attribute": "type",
|
389
386
|
"reflect": false,
|
390
387
|
"defaultValue": "\"active\""
|
391
388
|
}
|
@@ -394,8 +391,8 @@ export class Step {
|
|
394
391
|
static get elementRef() { return "el"; }
|
395
392
|
static get watchers() {
|
396
393
|
return [{
|
397
|
-
"propName": "
|
398
|
-
"methodName": "
|
394
|
+
"propName": "type",
|
395
|
+
"methodName": "typeChangeHandler"
|
399
396
|
}];
|
400
397
|
}
|
401
398
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ic-step.js","sourceRoot":"","sources":["../../../src/components/ic-step/ic-step.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACzE,OAAO,SAAS,MAAM,6BAA6B,CAAC;AACpD,OAAO,WAAW,MAAM,uCAAuC,CAAC;AAEhE,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAOpD,MAAM,OAAO,IAAI;;;uBAW8B,KAAK;;;;;;;;;;wBAkDjB,QAAQ;;IAGzC,qBAAqB;QACnB,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC9D,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACtB,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QACvB,CAAC;IACH,CAAC;IAED,MAAM;;QACJ,aAAa;QACb,IAAI,SAAS,GAAG,EAAE,CAAC;QAEnB,IAAI,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;;;;;;;;;CACF","sourcesContent":["import { Component, Host, h, Prop, Element, Watch } from \"@stencil/core\";\nimport checkIcon from \"../../assets/check-icon.svg\";\nimport warningIcon from \"../../assets/warning-icon-outline.svg\";\nimport { IcStepVariants, IcStepStatuses, IcStepTypes } from \"./ic-step.types\";\nimport { isPropDefined } from \"../../utils/helpers\";\n\n@Component({\n tag: \"ic-step\",\n styleUrl: \"ic-step.css\",\n shadow: true,\n})\nexport class Step {\n @Element() el: HTMLIcStepElement;\n\n /**\n * @internal If a compact stepper is being used, this sets the styling of the step.\n */\n @Prop() compactStepStyling?: IcStepTypes;\n\n /**\n * @internal If `true`, and a compact stepper is being used, the current step will be the only step in view.\n */\n @Prop({ mutable: true }) current?: boolean = false;\n\n /**\n * @internal If `true`, the step will be marked as being the last one in the series. This is managed by ic-stepper.\n */\n @Prop() lastStep!: boolean;\n\n /**\n * @internal The step number of the final step. This is managed by ic-stepper.\n */\n @Prop() lastStepNum?: number;\n\n /**\n * @internal The name of the next step. This is managed by ic-stepper.\n */\n @Prop() nextStepTitle?: string;\n\n /**\n * @internal The progress of the next step, calculated by dividing the current step number by the total number of steps. This is managed by ic-stepper.\n */\n @Prop() progress?: number;\n\n /**\n * @internal The step number, managed by ic-stepper.\n */\n @Prop() stepNum?: number;\n\n /**\n * The status of the step. Use this prop to display a status message on the step if it is required or optional.\n */\n @Prop() stepStatus?: IcStepStatuses;\n\n /**\n * Additional information about the step. Use this prop to override the default step status messaging displayed when selecting a step type or step status.\n */\n @Prop() stepSubtitle?: string;\n\n /**\n * The title of the step within the stepper.\n */\n @Prop() stepTitle?: string;\n\n /**\n * @internal The variant of the step. This is managed by ic-stepper.\n */\n @Prop() variant!: IcStepVariants;\n\n /**\n * The state of the step within the stepper.\n */\n @Prop() stepType?: IcStepTypes = \"active\";\n\n @Watch(\"stepType\")\n stepTypeChangeHandler(): void {\n if (this.variant === \"compact\" && this.stepType === \"current\") {\n this.current = true;\n } else {\n this.current = false;\n }\n }\n\n render() {\n // ARIA LABEL\n let ariaLabel = \"\";\n\n if (this.stepType === \"completed\") {\n ariaLabel = \". Completed step\";\n } else if (this.stepType === \"disabled\") {\n ariaLabel = \". Non-required step\";\n } else if (this.stepStatus === \"required\") {\n ariaLabel = \". Required step\";\n } else if (this.stepStatus === \"optional\") {\n ariaLabel = \". Optional step\";\n }\n\n // STEP STATUS\n let stepStatus;\n if (isPropDefined(this.stepStatus)) {\n stepStatus = this.stepStatus[0].toUpperCase() + this.stepStatus.slice(1);\n }\n\n // STEP TYPE\n let stepType;\n if (\n this.stepType === \"disabled\" ||\n this.compactStepStyling === \"disabled\"\n ) {\n stepType = \"Not required\";\n } else if (this.compactStepStyling === \"completed\") {\n stepType = \"Completed\";\n }\n\n // STATUS ICON FOR COMPACT STEP\n let statusIcon;\n if (\n this.stepType === \"completed\" ||\n this.compactStepStyling === \"completed\"\n ) {\n statusIcon = (\n <span\n class=\"check-icon step-icon\"\n aria-hidden=\"true\"\n innerHTML={checkIcon}\n ></span>\n );\n } else if (\n this.stepType === \"disabled\" ||\n this.compactStepStyling === \"disabled\"\n ) {\n statusIcon = (\n <span\n class=\"warning-icon step-icon\"\n aria-hidden=\"true\"\n innerHTML={warningIcon}\n ></span>\n );\n }\n\n // COMPACT STEP COMPONENT\n const compactStep = (\n <div\n class={{\n [\"step\"]: true,\n [\"current\"]: this.current,\n [`compact-step-${this.compactStepStyling}`]:\n !!this.compactStepStyling,\n }}\n >\n <ic-loading-indicator\n class={{\n \"compact-step-progress-indicator\": true,\n \"not-required\":\n this.stepType === \"disabled\" ||\n this.compactStepStyling === \"disabled\",\n }}\n aria-hidden=\"true\"\n size=\"small\"\n inner-label={this.stepNum}\n progress={this.progress}\n ></ic-loading-indicator>\n <div class=\"step-title-area\">\n <ic-typography variant=\"h4\" class=\"step-title\">\n {this.stepTitle}\n </ic-typography>\n <div class=\"info-line\">\n <ic-typography variant=\"caption\" class=\"step-num\">\n {`${this.stepNum} of ${this.lastStepNum}`}\n <span class=\"visually-hidden\"> steps</span>\n </ic-typography>\n {(this.stepSubtitle ||\n this.stepType === \"completed\" ||\n this.stepType === \"disabled\" ||\n (this.variant === \"compact\" &&\n !!this.compactStepStyling &&\n this.compactStepStyling !== \"active\") ||\n !!this.stepStatus) && (\n <div class=\"step-status\">\n {statusIcon !== undefined && statusIcon}\n {(this.stepSubtitle || stepType) && (\n <ic-typography variant=\"caption\">\n {this.stepSubtitle !== null &&\n isPropDefined(this.stepSubtitle)\n ? this.stepSubtitle\n : this.stepType === \"disabled\" ||\n (this.variant === \"compact\" &&\n this.compactStepStyling === \"disabled\") ||\n this.stepType === \"completed\" ||\n (this.variant === \"compact\" &&\n this.compactStepStyling === \"completed\")\n ? stepType\n : this.stepStatus && stepStatus}\n </ic-typography>\n )}\n </div>\n )}\n </div>\n {this.lastStep ? (\n <ic-typography variant=\"subtitle-small\" class=\"next-step\">\n Last step\n </ic-typography>\n ) : (\n isPropDefined(this.nextStepTitle) && (\n <ic-typography variant=\"subtitle-small\" class=\"next-step\">\n Next<span class=\"visually-hidden\"> step is</span>:{\" \"}\n {this.nextStepTitle}\n </ic-typography>\n )\n )}\n </div>\n </div>\n );\n\n // ICON FOR DEFAULT STEP\n let icon;\n if (this.stepType !== \"completed\") {\n icon = (\n <ic-typography variant=\"subtitle-small\">\n <span class=\"step-icon-inner\" aria-hidden=\"true\">\n {this.stepNum}\n </span>\n </ic-typography>\n );\n } else {\n icon = (\n <div class=\"step-icon-inner\" aria-hidden=\"true\">\n <span class=\"check-icon\" innerHTML={checkIcon}></span>\n </div>\n );\n }\n\n // STEP CONNECT FOR DEFAULT STEP\n const partialBar = this.stepType === \"current\" && (\n <div class=\"step-connect-inner\"></div>\n );\n\n const finalStep = !this.lastStep && (\n <div\n class={{\n [\"step-connect\"]: true,\n [\"aligned-full-width\"]:\n this.el.parentElement.classList.contains(\"default\") &&\n !this.el.parentElement.classList.contains(\"aligned-left\"),\n }}\n >\n {partialBar}\n </div>\n );\n\n // DEFAULT STEP COMPONENT\n const defaultStep = (\n <div\n class={{\n [\"step\"]: true,\n [`${this.stepType}`]: true,\n }}\n >\n <div class=\"step-top\">\n <div class=\"step-icon\">{icon}</div>\n {finalStep}\n </div>\n {(this.stepTitle || this.stepSubtitle || this.stepStatus) && (\n <div class=\"step-title-area\">\n {this.stepTitle && (\n <ic-typography variant=\"subtitle-large\" class=\"step-title\">\n {this.stepTitle}\n </ic-typography>\n )}\n {this.stepTitle && (this.stepSubtitle || this.stepStatus) && (\n <ic-typography variant=\"caption\" class=\"step-subtitle\">\n {this.stepSubtitle !== null && isPropDefined(this.stepSubtitle)\n ? this.stepSubtitle\n : stepStatus}\n </ic-typography>\n )}\n </div>\n )}\n </div>\n );\n\n return (\n <Host\n role=\"listitem\"\n aria-label={`Step ${this.stepNum}${ariaLabel}`}\n aria-current={(this.current || this.stepType === \"current\") && \"step\"}\n class={{\n [\"aligned-full-width\"]:\n this.el.parentElement.classList.contains(\"default\") &&\n !this.el.parentElement.classList.contains(\"aligned-left\"),\n [`${this.variant}`]: true,\n [\"light\"]:\n (this.el.parentElement as HTMLIcStepperElement)?.appearance ===\n \"light\",\n }}\n >\n {this.variant === \"compact\" ? compactStep : defaultStep}\n </Host>\n );\n }\n}\n"]}
|
1
|
+
{"version":3,"file":"ic-step.js","sourceRoot":"","sources":["../../../src/components/ic-step/ic-step.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACzE,OAAO,SAAS,MAAM,6BAA6B,CAAC;AACpD,OAAO,WAAW,MAAM,uCAAuC,CAAC;AAEhE,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAOpD,MAAM,OAAO,IAAI;;;uBAW8B,KAAK;;;;;;;;;;oBAkDrB,QAAQ;;IAGrC,iBAAiB;QACf,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,IAAI,IAAI,CAAC,IAAI,K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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, h, Prop, Element, Watch } from \"@stencil/core\";\nimport checkIcon from \"../../assets/check-icon.svg\";\nimport warningIcon from \"../../assets/warning-icon-outline.svg\";\nimport { IcStepVariants, IcStepStatuses, IcStepTypes } from \"./ic-step.types\";\nimport { isPropDefined } from \"../../utils/helpers\";\n\n@Component({\n tag: \"ic-step\",\n styleUrl: \"ic-step.css\",\n shadow: true,\n})\nexport class Step {\n @Element() el: HTMLIcStepElement;\n\n /**\n * @internal If a compact stepper is being used, this sets the styling of the step.\n */\n @Prop() compactStepStyling?: IcStepTypes;\n\n /**\n * @internal If `true`, and a compact stepper is being used, the current step will be the only step in view.\n */\n @Prop({ mutable: true }) current?: boolean = false;\n\n /**\n * @internal If `true`, the step will be marked as being the last one in the series. This is managed by ic-stepper.\n */\n @Prop() lastStep!: boolean;\n\n /**\n * @internal The step number of the final step. This is managed by ic-stepper.\n */\n @Prop() lastStepNum?: number;\n\n /**\n * @internal The name of the next step. This is managed by ic-stepper.\n */\n @Prop() nextStepHeading?: string;\n\n /**\n * @internal The progress of the next step, calculated by dividing the current step number by the total number of steps. This is managed by ic-stepper.\n */\n @Prop() progress?: number;\n\n /**\n * @internal The step number, managed by ic-stepper.\n */\n @Prop() stepNum?: number;\n\n /**\n * The status of the step. Use this prop to display a status message on the step if it is required or optional.\n */\n @Prop() status?: IcStepStatuses;\n\n /**\n * Additional information about the step. Use this prop to override the default step status messaging displayed when selecting a step type or step status.\n */\n @Prop() subheading?: string;\n\n /**\n * The title of the step within the stepper.\n */\n @Prop() heading?: string;\n\n /**\n * @internal The variant of the step. This is managed by ic-stepper.\n */\n @Prop() variant!: IcStepVariants;\n\n /**\n * The state of the step within the stepper.\n */\n @Prop() type?: IcStepTypes = \"active\";\n\n @Watch(\"type\")\n typeChangeHandler(): void {\n if (this.variant === \"compact\" && this.type === \"current\") {\n this.current = true;\n } else {\n this.current = false;\n }\n }\n\n render() {\n // ARIA LABEL\n let ariaLabel = \"\";\n\n if (this.type === \"completed\") {\n ariaLabel = \". Completed step\";\n } else if (this.type === \"disabled\") {\n ariaLabel = \". Non-required step\";\n } else if (this.status === \"required\") {\n ariaLabel = \". Required step\";\n } else if (this.status === \"optional\") {\n ariaLabel = \". Optional step\";\n }\n\n // STEP STATUS\n let stepStatus;\n if (isPropDefined(this.status)) {\n stepStatus = this.status[0].toUpperCase() + this.status.slice(1);\n }\n\n // STEP TYPE\n let stepType;\n if (this.type === \"disabled\" || this.compactStepStyling === \"disabled\") {\n stepType = \"Not required\";\n } else if (this.compactStepStyling === \"completed\") {\n stepType = \"Completed\";\n }\n\n // STATUS ICON FOR COMPACT STEP\n let statusIcon;\n if (this.type === \"completed\" || this.compactStepStyling === \"completed\") {\n statusIcon = (\n <span\n class=\"check-icon step-icon\"\n aria-hidden=\"true\"\n innerHTML={checkIcon}\n ></span>\n );\n } else if (\n this.type === \"disabled\" ||\n this.compactStepStyling === \"disabled\"\n ) {\n statusIcon = (\n <span\n class=\"warning-icon step-icon\"\n aria-hidden=\"true\"\n innerHTML={warningIcon}\n ></span>\n );\n }\n\n // COMPACT STEP COMPONENT\n const compactStep = (\n <div\n class={{\n [\"step\"]: true,\n [\"current\"]: this.current,\n [`compact-step-${this.compactStepStyling}`]:\n !!this.compactStepStyling,\n }}\n >\n <ic-loading-indicator\n class={{\n \"compact-step-progress-indicator\": true,\n \"not-required\":\n this.type === \"disabled\" ||\n this.compactStepStyling === \"disabled\",\n }}\n aria-hidden=\"true\"\n size=\"small\"\n inner-label={this.stepNum}\n progress={this.progress}\n ></ic-loading-indicator>\n <div class=\"heading-area\">\n <ic-typography variant=\"h4\" class=\"heading\">\n {this.heading}\n </ic-typography>\n <div class=\"info-line\">\n <ic-typography variant=\"caption\" class=\"step-num\">\n {`${this.stepNum} of ${this.lastStepNum}`}\n <span class=\"visually-hidden\"> steps</span>\n </ic-typography>\n {(this.subheading ||\n this.type === \"completed\" ||\n this.type === \"disabled\" ||\n (this.variant === \"compact\" &&\n !!this.compactStepStyling &&\n this.compactStepStyling !== \"active\") ||\n !!this.status) && (\n <div class=\"step-status\">\n {statusIcon !== undefined && statusIcon}\n {(this.subheading || stepType) && (\n <ic-typography variant=\"caption\">\n {this.subheading !== null && isPropDefined(this.subheading)\n ? this.subheading\n : this.type === \"disabled\" ||\n (this.variant === \"compact\" &&\n this.compactStepStyling === \"disabled\") ||\n this.type === \"completed\" ||\n (this.variant === \"compact\" &&\n this.compactStepStyling === \"completed\")\n ? stepType\n : this.status && stepStatus}\n </ic-typography>\n )}\n </div>\n )}\n </div>\n {this.lastStep ? (\n <ic-typography variant=\"subtitle-small\" class=\"next-step\">\n Last step\n </ic-typography>\n ) : (\n isPropDefined(this.nextStepHeading) && (\n <ic-typography variant=\"subtitle-small\" class=\"next-step\">\n Next<span class=\"visually-hidden\"> step is</span>:{\" \"}\n {this.nextStepHeading}\n </ic-typography>\n )\n )}\n </div>\n </div>\n );\n\n // ICON FOR DEFAULT STEP\n let icon;\n if (this.type !== \"completed\") {\n icon = (\n <ic-typography variant=\"subtitle-small\">\n <span class=\"step-icon-inner\" aria-hidden=\"true\">\n {this.stepNum}\n </span>\n </ic-typography>\n );\n } else {\n icon = (\n <div class=\"step-icon-inner\" aria-hidden=\"true\">\n <span class=\"check-icon\" innerHTML={checkIcon}></span>\n </div>\n );\n }\n\n // STEP CONNECT FOR DEFAULT STEP\n const partialBar = this.type === \"current\" && (\n <div class=\"step-connect-inner\"></div>\n );\n\n const finalStep = !this.lastStep && (\n <div\n class={{\n [\"step-connect\"]: true,\n [\"aligned-full-width\"]:\n this.el.parentElement.classList.contains(\"ic-stepper-default\") &&\n !this.el.parentElement.classList.contains(\n \"ic-stepper-aligned-left\"\n ),\n }}\n >\n {partialBar}\n </div>\n );\n\n // DEFAULT STEP COMPONENT\n const defaultStep = (\n <div\n class={{\n [\"step\"]: true,\n [`${this.type}`]: true,\n }}\n >\n <div class=\"step-top\">\n <div class=\"step-icon\">{icon}</div>\n {finalStep}\n </div>\n {(this.heading || this.subheading || this.status) && (\n <div class=\"heading-area\">\n {this.heading && (\n <ic-typography variant=\"subtitle-large\" class=\"heading\">\n {this.heading}\n </ic-typography>\n )}\n {this.heading && (this.subheading || this.status) && (\n <ic-typography variant=\"caption\" class=\"subheading\">\n {this.subheading !== null && isPropDefined(this.subheading)\n ? this.subheading\n : stepStatus}\n </ic-typography>\n )}\n </div>\n )}\n </div>\n );\n\n return (\n <Host\n role=\"listitem\"\n aria-label={`Step ${this.stepNum}${ariaLabel}`}\n aria-current={(this.current || this.type === \"current\") && \"step\"}\n class={{\n [\"aligned-full-width\"]:\n this.el.parentElement.classList.contains(\"ic-stepper-default\") &&\n !this.el.parentElement.classList.contains(\n \"ic-stepper-aligned-left\"\n ),\n [`ic-step-${this.variant}`]: true,\n [\"ic-step-light\"]:\n (this.el.parentElement as HTMLIcStepperElement)?.appearance ===\n \"light\",\n }}\n >\n {this.variant === \"compact\" ? compactStep : defaultStep}\n </Host>\n );\n }\n}\n"]}
|