@ukic/web-components 2.1.0-beta.14 → 2.1.0-beta.16
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/core.cjs.js +10 -3
- package/dist/cjs/core.cjs.js.map +1 -1
- package/dist/cjs/{helpers-2021e212.js → helpers-eb53c416.js} +25 -25
- package/dist/cjs/helpers-eb53c416.js.map +1 -0
- package/dist/cjs/ic-alert.cjs.entry.js +2 -2
- package/dist/cjs/ic-back-to-top.cjs.entry.js +2 -2
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +15 -15
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +6 -5
- package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +33 -36
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card.cjs.entry.js +4 -3
- package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +5 -2
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +7 -5
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +5 -2
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-classification-banner.cjs.entry.js +1 -1
- package/dist/cjs/ic-data-entity.cjs.entry.js +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +2 -2
- package/dist/cjs/ic-dialog.cjs.entry.js +296 -0
- package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-divider.cjs.entry.js +2 -2
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-footer-link.cjs.entry.js +2 -2
- package/dist/cjs/ic-footer.cjs.entry.js +4 -4
- package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +2 -2
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +2 -2
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +69 -27
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +3 -3
- package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-link.cjs.entry.js +2 -2
- package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js +6 -4
- package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +2 -2
- package/dist/cjs/ic-navigation-group.cjs.entry.js +50 -21
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +2 -8
- package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +12 -15
- package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination-item.cjs.entry.js +6 -1
- package/dist/cjs/ic-pagination-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination.cjs.entry.js +14 -2
- package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +7 -6
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +16 -5
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +5 -11
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +6 -3
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-section-container.cjs.entry.js +1 -1
- package/dist/cjs/ic-select.cjs.entry.js +35 -34
- package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +70 -57
- package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +3 -3
- package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +3 -3
- package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +2 -2
- package/dist/cjs/ic-switch.cjs.entry.js +4 -3
- package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-context.cjs.entry.js +8 -6
- package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +4 -2
- package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +8 -2
- package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-text-field.cjs.entry.js +9 -18
- package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +2 -2
- package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +2 -2
- package/dist/cjs/ic-top-navigation.cjs.entry.js +2 -2
- package/dist/cjs/ic-typography.cjs.entry.js +96 -4
- package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
- package/dist/cjs/{index-a62312a7.js → index-014e3058.js} +222 -43
- package/dist/cjs/index-014e3058.js.map +1 -0
- package/dist/cjs/loader.cjs.js +4 -3
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +13 -12
- package/dist/collection/components/ic-alert/ic-alert.e2e.js +16 -0
- package/dist/collection/components/ic-alert/ic-alert.e2e.js.map +1 -0
- package/dist/collection/components/ic-alert/ic-alert.spec.js +182 -0
- package/dist/collection/components/ic-alert/ic-alert.spec.js.map +1 -0
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.e2e.js +68 -0
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.e2e.js.map +1 -0
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.spec.js +123 -0
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.spec.js.map +1 -0
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +4 -3
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.spec.js +118 -0
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.spec.js.map +1 -0
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.e2e.js +41 -0
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.e2e.js.map +1 -0
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +13 -13
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.spec.js +181 -0
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.spec.js.map +1 -0
- package/dist/collection/components/ic-button/ic-button.e2e.js +173 -0
- package/dist/collection/components/ic-button/ic-button.e2e.js.map +1 -0
- package/dist/collection/components/ic-button/ic-button.js +4 -6
- package/dist/collection/components/ic-button/ic-button.js.map +1 -1
- package/dist/collection/components/ic-button/ic-button.spec.js +230 -0
- package/dist/collection/components/ic-button/ic-button.spec.js.map +1 -0
- package/dist/collection/components/ic-card/ic-card.css +3 -2
- package/dist/collection/components/ic-card/ic-card.e2e.js +23 -0
- package/dist/collection/components/ic-card/ic-card.e2e.js.map +1 -0
- package/dist/collection/components/ic-card/ic-card.js +2 -1
- package/dist/collection/components/ic-card/ic-card.js.map +1 -1
- package/dist/collection/components/ic-card/ic-card.spec.js +152 -0
- package/dist/collection/components/ic-card/ic-card.spec.js.map +1 -0
- package/dist/collection/components/ic-checkbox/ic-checkbox.js +6 -4
- package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.e2e.js +201 -0
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.e2e.js.map +1 -0
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +4 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.spec.js +175 -0
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.spec.js.map +1 -0
- package/dist/collection/components/ic-chip/ic-chip.js +4 -1
- package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
- package/dist/collection/components/ic-chip/ic-chip.spec.js +110 -0
- package/dist/collection/components/ic-chip/ic-chip.spec.js.map +1 -0
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.spec.js +140 -0
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.spec.js.map +1 -0
- package/dist/collection/components/ic-data-entity/ic-data-entity.spec.js +161 -0
- package/dist/collection/components/ic-data-entity/ic-data-entity.spec.js.map +1 -0
- package/dist/collection/components/ic-data-row/ic-data-row.spec.js +185 -0
- package/dist/collection/components/ic-data-row/ic-data-row.spec.js.map +1 -0
- package/dist/collection/components/ic-dialog/ic-dialog.css +595 -0
- package/dist/collection/components/ic-dialog/ic-dialog.e2e.js +204 -0
- package/dist/collection/components/ic-dialog/ic-dialog.e2e.js.map +1 -0
- package/dist/collection/components/ic-dialog/ic-dialog.js +641 -0
- package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -0
- package/dist/collection/components/ic-dialog/ic-dialog.spec.js +520 -0
- package/dist/collection/components/ic-dialog/ic-dialog.spec.js.map +1 -0
- package/dist/collection/components/ic-dialog/ic-dialog.test.a11y.js +28 -0
- package/dist/collection/components/ic-dialog/ic-dialog.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-divider/ic-divider.spec.js +24 -0
- package/dist/collection/components/ic-divider/ic-divider.spec.js.map +1 -0
- package/dist/collection/components/ic-footer/ic-footer.css +2 -2
- package/dist/collection/components/ic-footer/ic-footer.e2e.js +50 -0
- package/dist/collection/components/ic-footer/ic-footer.e2e.js.map +1 -0
- package/dist/collection/components/ic-footer/ic-footer.js +1 -1
- package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
- package/dist/collection/components/ic-footer/ic-footer.spec.js +140 -0
- package/dist/collection/components/ic-footer/ic-footer.spec.js.map +1 -0
- package/dist/collection/components/ic-footer-link/ic-footer-link.spec.js +62 -0
- package/dist/collection/components/ic-footer-link/ic-footer-link.spec.js.map +1 -0
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.spec.js +98 -0
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.spec.js.map +1 -0
- package/dist/collection/components/ic-hero/ic-hero.spec.js +76 -0
- package/dist/collection/components/ic-hero/ic-hero.spec.js.map +1 -0
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.spec.js +180 -0
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.spec.js.map +1 -0
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +32 -4
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.spec.js +117 -0
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.spec.js.map +1 -0
- package/dist/collection/components/ic-input-container/ic-input-container.spec.js +38 -0
- package/dist/collection/components/ic-input-container/ic-input-container.spec.js.map +1 -0
- package/dist/collection/components/ic-input-label/ic-input-label.spec.js +98 -0
- package/dist/collection/components/ic-input-label/ic-input-label.spec.js.map +1 -0
- package/dist/collection/components/ic-input-validation/ic-input-validation.css +0 -8
- package/dist/collection/components/ic-input-validation/ic-input-validation.spec.js +89 -0
- package/dist/collection/components/ic-input-validation/ic-input-validation.spec.js.map +1 -0
- package/dist/collection/components/ic-link/ic-link.spec.js +203 -0
- package/dist/collection/components/ic-link/ic-link.spec.js.map +1 -0
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +1 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.e2e.js +34 -0
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.e2e.js.map +1 -0
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.spec.js +141 -0
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.spec.js.map +1 -0
- package/dist/collection/components/ic-menu/ic-menu.css +9 -1
- package/dist/collection/components/ic-menu/ic-menu.js +89 -23
- package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
- package/dist/collection/components/ic-menu/ic-menu.spec.js +650 -0
- package/dist/collection/components/ic-menu/ic-menu.spec.js.map +1 -0
- package/dist/collection/components/ic-menu-group/ic-menu-group.spec.js +94 -0
- package/dist/collection/components/ic-menu-group/ic-menu-group.spec.js.map +1 -0
- package/dist/collection/components/ic-menu-item/ic-menu-item.css +2 -2
- package/dist/collection/components/ic-menu-item/ic-menu-item.js +4 -2
- package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -1
- package/dist/collection/components/ic-menu-item/ic-menu-item.spec.js +105 -0
- package/dist/collection/components/ic-menu-item/ic-menu-item.spec.js.map +1 -0
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.spec.js +84 -0
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.spec.js.map +1 -0
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +1 -1
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +47 -18
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.spec.js +309 -0
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.spec.js.map +1 -0
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +13 -7
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.spec.js +118 -0
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.spec.js.map +1 -0
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.e2e.js +29 -0
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.e2e.js.map +1 -0
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +0 -6
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -1
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.spec.js +176 -0
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.spec.js.map +1 -0
- package/dist/collection/components/ic-page-header/ic-page-header.css +1 -1
- package/dist/collection/components/ic-page-header/ic-page-header.e2e.js +177 -0
- package/dist/collection/components/ic-page-header/ic-page-header.e2e.js.map +1 -0
- package/dist/collection/components/ic-page-header/ic-page-header.js +9 -12
- package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
- package/dist/collection/components/ic-page-header/ic-page-header.spec.js +284 -0
- package/dist/collection/components/ic-page-header/ic-page-header.spec.js.map +1 -0
- package/dist/collection/components/ic-pagination/ic-pagination.e2e.js +128 -0
- package/dist/collection/components/ic-pagination/ic-pagination.e2e.js.map +1 -0
- package/dist/collection/components/ic-pagination/ic-pagination.js +55 -3
- package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -1
- package/dist/collection/components/ic-pagination/ic-pagination.spec.js +325 -0
- package/dist/collection/components/ic-pagination/ic-pagination.spec.js.map +1 -0
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +5 -1
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +1 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +1 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.e2e.js +30 -0
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.e2e.js.map +1 -0
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +4 -3
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.spec.js +381 -0
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.spec.js.map +1 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.e2e.js +343 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.e2e.js.map +1 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +19 -8
- package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.spec.js +303 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.spec.js.map +1 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.types.js +2 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.types.js.map +1 -0
- package/dist/collection/components/ic-radio-option/ic-radio-option.css +1 -1
- package/dist/collection/components/ic-radio-option/ic-radio-option.js +5 -14
- package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.e2e.js +1054 -0
- package/dist/collection/components/ic-search-bar/ic-search-bar.e2e.js.map +1 -0
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +12 -9
- package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.spec.js +570 -0
- package/dist/collection/components/ic-search-bar/ic-search-bar.spec.js.map +1 -0
- package/dist/collection/components/ic-search-bar/ic-search-bar.types.js.map +1 -1
- package/dist/collection/components/ic-section-container/ic-section-container.spec.js +69 -0
- package/dist/collection/components/ic-section-container/ic-section-container.spec.js.map +1 -0
- package/dist/collection/components/ic-select/ic-select.e2e.js +1765 -0
- package/dist/collection/components/ic-select/ic-select.e2e.js.map +1 -0
- package/dist/collection/components/ic-select/ic-select.js +46 -45
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-select/ic-select.spec.js +1276 -0
- package/dist/collection/components/ic-select/ic-select.spec.js.map +1 -0
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +0 -7
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.e2e.js +412 -0
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.e2e.js.map +1 -0
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +67 -54
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.spec.js +470 -0
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.spec.js.map +1 -0
- package/dist/collection/components/ic-skeleton/ic-skeleton.spec.js +89 -0
- package/dist/collection/components/ic-skeleton/ic-skeleton.spec.js.map +1 -0
- package/dist/collection/components/ic-status-tag/ic-status-tag.css +2 -6
- package/dist/collection/components/ic-status-tag/ic-status-tag.spec.js +43 -0
- package/dist/collection/components/ic-status-tag/ic-status-tag.spec.js.map +1 -0
- package/dist/collection/components/ic-step/ic-step.css +5 -5
- package/dist/collection/components/ic-step/ic-step.js +1 -1
- package/dist/collection/components/ic-step/ic-step.js.map +1 -1
- package/dist/collection/components/ic-step/ic-step.spec.js +176 -0
- package/dist/collection/components/ic-step/ic-step.spec.js.map +1 -0
- package/dist/collection/components/ic-stepper/ic-stepper.e2e.js +49 -0
- package/dist/collection/components/ic-stepper/ic-stepper.e2e.js.map +1 -0
- package/dist/collection/components/ic-stepper/ic-stepper.spec.js +706 -0
- package/dist/collection/components/ic-stepper/ic-stepper.spec.js.map +1 -0
- package/dist/collection/components/ic-switch/ic-switch.css +1 -1
- package/dist/collection/components/ic-switch/ic-switch.js +2 -1
- package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
- package/dist/collection/components/ic-switch/ic-switch.spec.js +104 -0
- package/dist/collection/components/ic-switch/ic-switch.spec.js.map +1 -0
- package/dist/collection/components/ic-tab/ic-tab.e2e.js +32 -0
- package/dist/collection/components/ic-tab/ic-tab.e2e.js.map +1 -0
- package/dist/collection/components/ic-tab/ic-tab.js +7 -1
- package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
- package/dist/collection/components/ic-tab/ic-tab.spec.js +159 -0
- package/dist/collection/components/ic-tab/ic-tab.spec.js.map +1 -0
- package/dist/collection/components/ic-tab-context/ic-tab-context.e2e.js +317 -0
- package/dist/collection/components/ic-tab-context/ic-tab-context.e2e.js.map +1 -0
- package/dist/collection/components/ic-tab-context/ic-tab-context.js +7 -5
- package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
- package/dist/collection/components/ic-tab-context/ic-tab-context.spec.js +369 -0
- package/dist/collection/components/ic-tab-context/ic-tab-context.spec.js.map +1 -0
- package/dist/collection/components/ic-tab-group/ic-tab-group.css +2 -2
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +3 -1
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -1
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.spec.js +65 -0
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.spec.js.map +1 -0
- package/dist/collection/components/ic-text-field/ic-text-field.css +0 -4
- package/dist/collection/components/ic-text-field/ic-text-field.e2e.js +98 -0
- package/dist/collection/components/ic-text-field/ic-text-field.e2e.js.map +1 -0
- package/dist/collection/components/ic-text-field/ic-text-field.input.spec.js +236 -0
- package/dist/collection/components/ic-text-field/ic-text-field.input.spec.js.map +1 -0
- package/dist/collection/components/ic-text-field/ic-text-field.js +16 -25
- package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
- package/dist/collection/components/ic-text-field/ic-text-field.textarea.spec.js +310 -0
- package/dist/collection/components/ic-text-field/ic-text-field.textarea.spec.js.map +1 -0
- package/dist/collection/components/ic-theme/ic-theme.e2e.js +72 -0
- package/dist/collection/components/ic-theme/ic-theme.e2e.js.map +1 -0
- package/dist/collection/components/ic-theme/ic-theme.spec.js +77 -0
- package/dist/collection/components/ic-theme/ic-theme.spec.js.map +1 -0
- package/dist/collection/components/ic-toast/ic-toast.e2e.js +82 -0
- package/dist/collection/components/ic-toast/ic-toast.e2e.js.map +1 -0
- package/dist/collection/components/ic-toast/ic-toast.spec.js +278 -0
- package/dist/collection/components/ic-toast/ic-toast.spec.js.map +1 -0
- package/dist/collection/components/ic-toast-region/ic-toast-region.spec.js +62 -0
- package/dist/collection/components/ic-toast-region/ic-toast-region.spec.js.map +1 -0
- package/dist/collection/components/ic-tooltip/ic-tooltip.css +22 -8
- package/dist/collection/components/ic-tooltip/ic-tooltip.e2e.js +115 -0
- package/dist/collection/components/ic-tooltip/ic-tooltip.e2e.js.map +1 -0
- package/dist/collection/components/ic-tooltip/ic-tooltip.js +26 -27
- package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
- package/dist/collection/components/ic-tooltip/ic-tooltip.spec.js +128 -0
- package/dist/collection/components/ic-tooltip/ic-tooltip.spec.js.map +1 -0
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.e2e.js +42 -0
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.e2e.js.map +1 -0
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.mobile.e2e.js +242 -0
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.mobile.e2e.js.map +1 -0
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.spec.js +286 -0
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.spec.js.map +1 -0
- package/dist/collection/components/ic-typography/ic-typography.css +39 -0
- package/dist/collection/components/ic-typography/ic-typography.e2e.js +36 -0
- package/dist/collection/components/ic-typography/ic-typography.e2e.js.map +1 -0
- package/dist/collection/components/ic-typography/ic-typography.js +120 -2
- package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
- package/dist/collection/components/ic-typography/ic-typography.spec.js +296 -0
- package/dist/collection/components/ic-typography/ic-typography.spec.js.map +1 -0
- package/dist/collection/testspec.setup.js +11 -0
- package/dist/collection/testspec.setup.js.map +1 -1
- package/dist/collection/utils/helpers.js +23 -24
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/components/helpers.js +24 -25
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/ic-alert.js +1 -113
- package/dist/components/ic-alert.js.map +1 -1
- package/dist/components/ic-alert2.js +117 -0
- package/dist/components/ic-alert2.js.map +1 -0
- package/dist/components/ic-back-to-top.js +2 -2
- package/dist/components/ic-breadcrumb-group.js +15 -15
- package/dist/components/ic-breadcrumb-group.js.map +1 -1
- package/dist/components/ic-breadcrumb2.js +5 -4
- package/dist/components/ic-breadcrumb2.js.map +1 -1
- package/dist/components/ic-button2.js +5 -7
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card.js +4 -3
- package/dist/components/ic-card.js.map +1 -1
- package/dist/components/ic-checkbox-group.js +5 -2
- package/dist/components/ic-checkbox-group.js.map +1 -1
- package/dist/components/ic-checkbox.js +7 -5
- package/dist/components/ic-checkbox.js.map +1 -1
- package/dist/components/ic-chip.js +5 -2
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-classification-banner.js +1 -1
- package/dist/components/ic-data-entity.js +1 -1
- package/dist/components/ic-data-row.js +2 -2
- package/dist/components/ic-dialog.d.ts +11 -0
- package/dist/components/ic-dialog.js +357 -0
- package/dist/components/ic-dialog.js.map +1 -0
- package/dist/components/ic-divider2.js +2 -2
- package/dist/components/ic-footer-link-group.js +2 -2
- package/dist/components/ic-footer-link.js +2 -2
- package/dist/components/ic-footer.js +4 -4
- package/dist/components/ic-footer.js.map +1 -1
- package/dist/components/ic-hero.js +2 -2
- package/dist/components/ic-horizontal-scroll2.js +2 -2
- package/dist/components/ic-input-component-container2.js +3 -3
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-input-container2.js +1 -1
- package/dist/components/ic-input-label2.js +2 -2
- package/dist/components/ic-input-validation2.js +3 -3
- package/dist/components/ic-input-validation2.js.map +1 -1
- package/dist/components/ic-link2.js +2 -2
- package/dist/components/ic-loading-indicator2.js +2 -2
- 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 +6 -4
- package/dist/components/ic-menu-item2.js.map +1 -1
- package/dist/components/ic-menu2.js +69 -27
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-button.js +2 -2
- package/dist/components/ic-navigation-group.js +50 -21
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js +3 -3
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-navigation-menu2.js +2 -8
- package/dist/components/ic-navigation-menu2.js.map +1 -1
- package/dist/components/ic-page-header.js +12 -15
- package/dist/components/ic-page-header.js.map +1 -1
- package/dist/components/ic-pagination-item2.js +5 -1
- package/dist/components/ic-pagination-item2.js.map +1 -1
- package/dist/components/ic-pagination.js +17 -4
- package/dist/components/ic-pagination.js.map +1 -1
- package/dist/components/ic-popover-menu.js +7 -6
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-radio-group.js +16 -5
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +5 -11
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +6 -3
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-section-container2.js +1 -1
- package/dist/components/ic-select.js +35 -34
- package/dist/components/ic-select.js.map +1 -1
- package/dist/components/ic-side-navigation.js +70 -57
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-skeleton.js +1 -1
- package/dist/components/ic-status-tag.js +3 -3
- package/dist/components/ic-status-tag.js.map +1 -1
- package/dist/components/ic-step.js +3 -3
- package/dist/components/ic-step.js.map +1 -1
- package/dist/components/ic-stepper.js +2 -2
- package/dist/components/ic-switch.js +4 -3
- package/dist/components/ic-switch.js.map +1 -1
- package/dist/components/ic-tab-context.js +8 -6
- package/dist/components/ic-tab-context.js.map +1 -1
- package/dist/components/ic-tab-group.js +3 -3
- package/dist/components/ic-tab-group.js.map +1 -1
- package/dist/components/ic-tab-panel.js +4 -2
- package/dist/components/ic-tab-panel.js.map +1 -1
- package/dist/components/ic-tab.js +8 -2
- package/dist/components/ic-tab.js.map +1 -1
- package/dist/components/ic-text-field2.js +9 -18
- package/dist/components/ic-text-field2.js.map +1 -1
- package/dist/components/ic-theme.js +2 -2
- package/dist/components/ic-toast-region.js +1 -1
- package/dist/components/ic-toast.js +2 -2
- package/dist/components/ic-tooltip2.js +29 -30
- package/dist/components/ic-tooltip2.js.map +1 -1
- package/dist/components/ic-top-navigation.js +2 -2
- package/dist/components/ic-typography2.js +100 -5
- package/dist/components/ic-typography2.js.map +1 -1
- package/dist/components/index.d.ts +9 -60
- package/dist/components/index.js +1 -58
- package/dist/components/index.js.map +1 -1
- package/dist/core/core.css +41 -2
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/index.esm.js.map +1 -1
- package/dist/core/{p-de45134c.entry.js → p-04d626ee.entry.js} +2 -2
- package/dist/core/p-04d626ee.entry.js.map +1 -0
- package/dist/core/p-06321d19.js.map +1 -1
- package/dist/core/{p-0575a77f.entry.js → p-0d325b4c.entry.js} +2 -2
- package/dist/core/p-0d325b4c.entry.js.map +1 -0
- package/dist/core/{p-6a77992e.entry.js → p-249af8ab.entry.js} +2 -2
- package/dist/core/p-249af8ab.entry.js.map +1 -0
- package/dist/core/{p-d5d9923a.entry.js → p-29d9fea1.entry.js} +2 -2
- package/dist/core/p-29d9fea1.entry.js.map +1 -0
- package/dist/core/p-2e051e1e.entry.js +2 -0
- package/dist/core/p-2e051e1e.entry.js.map +1 -0
- package/dist/core/{p-3a67718c.entry.js → p-2ec49a7e.entry.js} +2 -2
- package/dist/core/p-2ec49a7e.entry.js.map +1 -0
- package/dist/core/{p-223a214f.entry.js → p-3114a4b3.entry.js} +2 -2
- package/dist/core/p-3114a4b3.entry.js.map +1 -0
- package/dist/core/p-311c38b3.entry.js +2 -0
- package/dist/core/p-311c38b3.entry.js.map +1 -0
- package/dist/core/p-31ccdd50.entry.js +2 -0
- package/dist/core/p-31ccdd50.entry.js.map +1 -0
- package/dist/core/p-31e80ccb.entry.js +2 -0
- package/dist/core/p-31e80ccb.entry.js.map +1 -0
- package/dist/core/p-323bce82.entry.js +2 -0
- package/dist/core/p-323bce82.entry.js.map +1 -0
- package/dist/core/{p-52fd3533.entry.js → p-3918c27a.entry.js} +2 -2
- package/dist/core/p-3918c27a.entry.js.map +1 -0
- package/dist/core/p-3ce0aa02.entry.js +2 -0
- package/dist/core/p-3ce0aa02.entry.js.map +1 -0
- package/dist/core/p-44512ebe.js.map +1 -1
- package/dist/core/p-4a385752.js +2 -0
- package/dist/core/p-4a385752.js.map +1 -0
- package/dist/core/{p-312c10b0.entry.js → p-4c4fa082.entry.js} +2 -2
- package/dist/core/p-4c4fa082.entry.js.map +1 -0
- package/dist/core/{p-fc7dce3d.entry.js → p-4f7b34ed.entry.js} +2 -2
- package/dist/core/p-4f7b34ed.entry.js.map +1 -0
- package/dist/core/p-524557bc.entry.js +2 -0
- package/dist/core/p-524557bc.entry.js.map +1 -0
- package/dist/core/p-551986d1.entry.js +2 -0
- package/dist/core/p-551986d1.entry.js.map +1 -0
- package/dist/core/p-57460fa3.entry.js +2 -0
- package/dist/core/p-57460fa3.entry.js.map +1 -0
- package/dist/core/p-5fcd965f.entry.js +2 -0
- package/dist/core/p-5fcd965f.entry.js.map +1 -0
- package/dist/core/{p-e41e701a.entry.js → p-617950f8.entry.js} +2 -2
- package/dist/core/p-617950f8.entry.js.map +1 -0
- package/dist/core/{p-e384aaee.entry.js → p-68308ecd.entry.js} +2 -2
- package/dist/core/p-68308ecd.entry.js.map +1 -0
- package/dist/core/p-6c76c6ba.entry.js +2 -0
- package/dist/core/p-6c76c6ba.entry.js.map +1 -0
- package/dist/core/p-6f57b13c.js.map +1 -1
- package/dist/core/p-79914e0c.entry.js +2 -0
- package/dist/core/p-79914e0c.entry.js.map +1 -0
- package/dist/core/p-820e4c17.entry.js +2 -0
- package/dist/core/p-820e4c17.entry.js.map +1 -0
- package/dist/core/{p-3fb307e6.entry.js → p-84c8c4c7.entry.js} +2 -2
- package/dist/core/p-84c8c4c7.entry.js.map +1 -0
- package/dist/core/p-8911656b.entry.js +2 -0
- package/dist/core/p-8911656b.entry.js.map +1 -0
- package/dist/core/p-8c7f4343.js.map +1 -1
- package/dist/core/p-8d4f7027.js.map +1 -1
- package/dist/core/p-97286148.entry.js +2 -0
- package/dist/core/p-97286148.entry.js.map +1 -0
- package/dist/core/{p-454b1ecd.entry.js → p-97fd0cc1.entry.js} +2 -2
- package/dist/core/p-97fd0cc1.entry.js.map +1 -0
- package/dist/core/p-a74b8476.entry.js +2 -0
- package/dist/core/p-a74b8476.entry.js.map +1 -0
- package/dist/core/{p-9413d639.entry.js → p-a9de9aba.entry.js} +2 -2
- package/dist/core/p-a9de9aba.entry.js.map +1 -0
- package/dist/core/p-ad6c4c02.entry.js +2 -0
- package/dist/core/p-ad6c4c02.entry.js.map +1 -0
- package/dist/core/{p-a0f4e641.entry.js → p-aeef3c9d.entry.js} +2 -2
- package/dist/core/p-aeef3c9d.entry.js.map +1 -0
- package/dist/core/p-b03bd9c6.entry.js +2 -0
- package/dist/core/p-b03bd9c6.entry.js.map +1 -0
- package/dist/core/p-b0685167.entry.js +2 -0
- package/dist/core/p-b0685167.entry.js.map +1 -0
- package/dist/core/p-b35a9909.entry.js +2 -0
- package/dist/core/p-b35a9909.entry.js.map +1 -0
- package/dist/core/p-bad10f6c.entry.js +2 -0
- package/dist/core/p-bad10f6c.entry.js.map +1 -0
- package/dist/core/{p-002a63e9.entry.js → p-bda4414e.entry.js} +2 -2
- package/dist/core/p-bda4414e.entry.js.map +1 -0
- package/dist/core/p-c0333310.entry.js +2 -0
- package/dist/core/p-c0333310.entry.js.map +1 -0
- package/dist/core/p-c3f9fb1d.entry.js +2 -0
- package/dist/core/p-c3f9fb1d.entry.js.map +1 -0
- package/dist/core/{p-5d077cf7.entry.js → p-ca6820dc.entry.js} +2 -2
- package/dist/core/p-ca6820dc.entry.js.map +1 -0
- package/dist/core/p-d6694b41.entry.js +2 -0
- package/dist/core/p-d6694b41.entry.js.map +1 -0
- package/dist/core/{p-1eb0992b.entry.js → p-da4c1409.entry.js} +2 -2
- package/dist/core/p-da4c1409.entry.js.map +1 -0
- package/dist/core/p-dbe06c3b.entry.js +2 -0
- package/dist/core/p-dbe06c3b.entry.js.map +1 -0
- package/dist/core/{p-28bc3bf0.entry.js → p-df67b151.entry.js} +2 -2
- package/dist/core/p-df67b151.entry.js.map +1 -0
- package/dist/core/{p-546b620e.entry.js → p-dfd31e28.entry.js} +2 -2
- package/dist/core/p-dfd31e28.entry.js.map +1 -0
- package/dist/core/{p-dc0b9e80.entry.js → p-e3e6308b.entry.js} +2 -2
- package/dist/core/p-e3e6308b.entry.js.map +1 -0
- package/dist/core/p-ea233813.entry.js +2 -0
- package/dist/core/p-ea233813.entry.js.map +1 -0
- package/dist/core/p-ec26fc38.js.map +1 -1
- package/dist/core/{p-f3e10149.entry.js → p-ecdcae46.entry.js} +2 -2
- package/dist/core/p-ecdcae46.entry.js.map +1 -0
- package/dist/core/p-ef91c17e.entry.js +2 -0
- package/dist/core/p-ef91c17e.entry.js.map +1 -0
- package/dist/core/{p-a33a04b2.entry.js → p-f0714432.entry.js} +2 -2
- package/dist/core/p-f0714432.entry.js.map +1 -0
- package/dist/core/p-f3053872.js +3 -0
- package/dist/core/p-f3053872.js.map +1 -0
- package/dist/core/{p-47b0ed42.entry.js → p-f381e93f.entry.js} +2 -2
- package/dist/core/p-f381e93f.entry.js.map +1 -0
- package/dist/core/p-fd482bd7.entry.js +2 -0
- package/dist/core/p-fd482bd7.entry.js.map +1 -0
- package/dist/core/p-fe2c4009.entry.js +2 -0
- package/dist/core/p-fe2c4009.entry.js.map +1 -0
- package/dist/esm/core.js +7 -3
- package/dist/esm/core.js.map +1 -1
- package/dist/esm/{helpers-b2b47a7d.js → helpers-8e57082b.js} +25 -26
- package/dist/esm/helpers-8e57082b.js.map +1 -0
- package/dist/esm/ic-alert.entry.js +2 -2
- package/dist/esm/ic-back-to-top.entry.js +2 -2
- package/dist/esm/ic-breadcrumb-group.entry.js +15 -15
- package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +6 -5
- package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ic-button_3.entry.js +33 -36
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card.entry.js +4 -3
- package/dist/esm/ic-card.entry.js.map +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +5 -2
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ic-checkbox.entry.js +7 -5
- package/dist/esm/ic-checkbox.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +5 -2
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-classification-banner.entry.js +1 -1
- package/dist/esm/ic-data-entity.entry.js +1 -1
- package/dist/esm/ic-data-row.entry.js +2 -2
- package/dist/esm/ic-dialog.entry.js +292 -0
- package/dist/esm/ic-dialog.entry.js.map +1 -0
- package/dist/esm/ic-divider.entry.js +2 -2
- package/dist/esm/ic-footer-link-group.entry.js +2 -2
- package/dist/esm/ic-footer-link.entry.js +2 -2
- package/dist/esm/ic-footer.entry.js +4 -4
- package/dist/esm/ic-footer.entry.js.map +1 -1
- package/dist/esm/ic-hero.entry.js +2 -2
- package/dist/esm/ic-horizontal-scroll.entry.js +2 -2
- package/dist/esm/ic-input-component-container_3.entry.js +69 -27
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +3 -3
- package/dist/esm/ic-input-label_2.entry.js.map +1 -1
- package/dist/esm/ic-link.entry.js +2 -2
- package/dist/esm/ic-menu-group.entry.js +1 -1
- package/dist/esm/ic-menu-item.entry.js +6 -4
- package/dist/esm/ic-menu-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-button.entry.js +2 -2
- package/dist/esm/ic-navigation-group.entry.js +50 -21
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +3 -3
- package/dist/esm/ic-navigation-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +2 -8
- package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
- package/dist/esm/ic-page-header.entry.js +12 -15
- package/dist/esm/ic-page-header.entry.js.map +1 -1
- package/dist/esm/ic-pagination-item.entry.js +6 -1
- package/dist/esm/ic-pagination-item.entry.js.map +1 -1
- package/dist/esm/ic-pagination.entry.js +14 -2
- package/dist/esm/ic-pagination.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +7 -6
- package/dist/esm/ic-popover-menu.entry.js.map +1 -1
- package/dist/esm/ic-radio-group.entry.js +16 -5
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +5 -11
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +6 -3
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-section-container.entry.js +1 -1
- package/dist/esm/ic-select.entry.js +35 -34
- package/dist/esm/ic-select.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +70 -57
- package/dist/esm/ic-side-navigation.entry.js.map +1 -1
- package/dist/esm/ic-skeleton.entry.js +1 -1
- package/dist/esm/ic-status-tag.entry.js +3 -3
- package/dist/esm/ic-status-tag.entry.js.map +1 -1
- package/dist/esm/ic-step.entry.js +3 -3
- package/dist/esm/ic-step.entry.js.map +1 -1
- package/dist/esm/ic-stepper.entry.js +2 -2
- package/dist/esm/ic-switch.entry.js +4 -3
- package/dist/esm/ic-switch.entry.js.map +1 -1
- package/dist/esm/ic-tab-context.entry.js +8 -6
- package/dist/esm/ic-tab-context.entry.js.map +1 -1
- package/dist/esm/ic-tab-group.entry.js +3 -3
- package/dist/esm/ic-tab-group.entry.js.map +1 -1
- package/dist/esm/ic-tab-panel.entry.js +4 -2
- package/dist/esm/ic-tab-panel.entry.js.map +1 -1
- package/dist/esm/ic-tab.entry.js +8 -2
- package/dist/esm/ic-tab.entry.js.map +1 -1
- package/dist/esm/ic-text-field.entry.js +9 -18
- package/dist/esm/ic-text-field.entry.js.map +1 -1
- package/dist/esm/ic-theme.entry.js +2 -2
- package/dist/esm/ic-toast-region.entry.js +1 -1
- package/dist/esm/ic-toast.entry.js +2 -2
- package/dist/esm/ic-top-navigation.entry.js +2 -2
- package/dist/esm/ic-typography.entry.js +96 -4
- package/dist/esm/ic-typography.entry.js.map +1 -1
- package/dist/esm/{index-3b144b17.js → index-a77644e1.js} +222 -44
- package/dist/esm/index-a77644e1.js.map +1 -0
- package/dist/esm/loader.js +4 -3
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/types/components/ic-breadcrumb/ic-breadcrumb.types.d.ts +1 -1
- package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +3 -0
- package/dist/types/components/ic-button/ic-button.types.d.ts +4 -4
- package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +1 -0
- package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +1 -0
- package/dist/types/components/ic-chip/ic-chip.d.ts +1 -0
- package/dist/types/components/ic-chip/ic-chip.types.d.ts +2 -2
- package/dist/types/components/ic-classification-banner/ic-classification-banner.types.d.ts +1 -1
- package/dist/types/components/ic-dialog/ic-dialog.d.ts +123 -0
- package/dist/types/components/ic-dialog/ic-dialog.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-footer/ic-footer.types.d.ts +1 -1
- package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +1 -1
- package/dist/types/components/ic-hero/ic-hero.types.d.ts +1 -1
- package/dist/types/components/ic-input-validation/ic-input-validation.types.d.ts +1 -1
- package/dist/types/components/ic-loading-indicator/ic-loading-indicator.types.d.ts +2 -2
- package/dist/types/components/ic-menu/ic-menu.d.ts +7 -0
- package/dist/types/components/ic-menu-item/ic-menu-item.types.d.ts +1 -1
- package/dist/types/components/ic-navigation-button/ic-navigation-button.types.d.ts +1 -1
- package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +4 -1
- package/dist/types/components/ic-pagination/ic-pagination.d.ts +8 -1
- package/dist/types/components/ic-pagination/ic-pagination.types.d.ts +1 -1
- package/dist/types/components/ic-pagination-item/ic-pagination-item.d.ts +2 -1
- package/dist/types/components/ic-pagination-item/ic-pagination-item.types.d.ts +1 -1
- package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +1 -0
- package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +4 -3
- package/dist/types/components/ic-radio-group/ic-radio-group.types.d.ts +7 -0
- package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +1 -3
- package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +1 -1
- package/dist/types/components/ic-search-bar/ic-search-bar.types.d.ts +1 -1
- package/dist/types/components/ic-select/ic-select.d.ts +14 -14
- package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +1 -0
- package/dist/types/components/ic-skeleton/ic-skeleton.types.d.ts +1 -1
- package/dist/types/components/ic-status-tag/ic-status-tag.types.d.ts +2 -2
- package/dist/types/components/ic-step/ic-step.types.d.ts +3 -3
- package/dist/types/components/ic-stepper/ic-stepper.types.d.ts +1 -1
- package/dist/types/components/ic-tab/ic-tab.d.ts +1 -0
- package/dist/types/components/ic-text-field/ic-text-field.d.ts +1 -1
- package/dist/types/components/ic-text-field/ic-text-field.types.d.ts +3 -3
- package/dist/types/components/ic-toast/ic-toast.types.d.ts +1 -1
- package/dist/types/components/ic-tooltip/ic-tooltip.types.d.ts +1 -1
- package/dist/types/components/ic-typography/ic-typography.d.ts +27 -0
- package/dist/types/components.d.ts +222 -42
- package/dist/types/stencil-public-runtime.d.ts +72 -15
- package/dist/types/testspec.setup.d.ts +9 -0
- package/dist/types/utils/helpers.d.ts +1 -0
- package/dist/types/utils/types.d.ts +22 -22
- package/hydrate/index.d.ts +17 -16
- package/hydrate/index.js +920 -384
- package/loader/index.d.ts +9 -0
- package/package.json +5 -5
- package/dist/cjs/helpers-2021e212.js.map +0 -1
- package/dist/cjs/index-a62312a7.js.map +0 -1
- package/dist/core/p-002a63e9.entry.js.map +0 -1
- package/dist/core/p-0575a77f.entry.js.map +0 -1
- package/dist/core/p-0a41c3cb.entry.js +0 -2
- package/dist/core/p-0a41c3cb.entry.js.map +0 -1
- package/dist/core/p-100dbcec.entry.js +0 -2
- package/dist/core/p-100dbcec.entry.js.map +0 -1
- package/dist/core/p-14835d6f.entry.js +0 -2
- package/dist/core/p-14835d6f.entry.js.map +0 -1
- package/dist/core/p-1eb0992b.entry.js.map +0 -1
- package/dist/core/p-223a214f.entry.js.map +0 -1
- package/dist/core/p-276f7ecb.entry.js +0 -2
- package/dist/core/p-276f7ecb.entry.js.map +0 -1
- package/dist/core/p-28bc3bf0.entry.js.map +0 -1
- package/dist/core/p-2e949135.entry.js +0 -2
- package/dist/core/p-2e949135.entry.js.map +0 -1
- package/dist/core/p-312c10b0.entry.js.map +0 -1
- package/dist/core/p-3845b769.entry.js +0 -2
- package/dist/core/p-3845b769.entry.js.map +0 -1
- package/dist/core/p-3a67718c.entry.js.map +0 -1
- package/dist/core/p-3c23f963.entry.js +0 -2
- package/dist/core/p-3c23f963.entry.js.map +0 -1
- package/dist/core/p-3dc2ff7b.entry.js +0 -2
- package/dist/core/p-3dc2ff7b.entry.js.map +0 -1
- package/dist/core/p-3dea2867.js +0 -2
- package/dist/core/p-3dea2867.js.map +0 -1
- package/dist/core/p-3e5eb873.entry.js +0 -2
- package/dist/core/p-3e5eb873.entry.js.map +0 -1
- package/dist/core/p-3fb307e6.entry.js.map +0 -1
- package/dist/core/p-454b1ecd.entry.js.map +0 -1
- package/dist/core/p-4595f48f.entry.js +0 -2
- package/dist/core/p-4595f48f.entry.js.map +0 -1
- package/dist/core/p-47b0ed42.entry.js.map +0 -1
- package/dist/core/p-4b87445b.entry.js +0 -2
- package/dist/core/p-4b87445b.entry.js.map +0 -1
- package/dist/core/p-4c8fcfe6.entry.js +0 -2
- package/dist/core/p-4c8fcfe6.entry.js.map +0 -1
- package/dist/core/p-52fd3533.entry.js.map +0 -1
- package/dist/core/p-546b620e.entry.js.map +0 -1
- package/dist/core/p-56fe91ad.entry.js +0 -2
- package/dist/core/p-56fe91ad.entry.js.map +0 -1
- package/dist/core/p-589f6dd3.js +0 -3
- package/dist/core/p-589f6dd3.js.map +0 -1
- package/dist/core/p-5d077cf7.entry.js.map +0 -1
- package/dist/core/p-6a77992e.entry.js.map +0 -1
- package/dist/core/p-6b39f8b4.entry.js +0 -2
- package/dist/core/p-6b39f8b4.entry.js.map +0 -1
- package/dist/core/p-80eff050.entry.js +0 -2
- package/dist/core/p-80eff050.entry.js.map +0 -1
- package/dist/core/p-8780890e.entry.js +0 -2
- package/dist/core/p-8780890e.entry.js.map +0 -1
- package/dist/core/p-895bda21.entry.js +0 -2
- package/dist/core/p-895bda21.entry.js.map +0 -1
- package/dist/core/p-92c4fa7f.entry.js +0 -2
- package/dist/core/p-92c4fa7f.entry.js.map +0 -1
- package/dist/core/p-9413d639.entry.js.map +0 -1
- package/dist/core/p-a0f4e641.entry.js.map +0 -1
- package/dist/core/p-a33a04b2.entry.js.map +0 -1
- package/dist/core/p-a5bee11f.entry.js +0 -2
- package/dist/core/p-a5bee11f.entry.js.map +0 -1
- package/dist/core/p-a7fdb9a8.entry.js +0 -2
- package/dist/core/p-a7fdb9a8.entry.js.map +0 -1
- package/dist/core/p-b61e76e2.entry.js +0 -2
- package/dist/core/p-b61e76e2.entry.js.map +0 -1
- package/dist/core/p-c0813424.entry.js +0 -2
- package/dist/core/p-c0813424.entry.js.map +0 -1
- package/dist/core/p-cb437317.entry.js +0 -2
- package/dist/core/p-cb437317.entry.js.map +0 -1
- package/dist/core/p-d5d9923a.entry.js.map +0 -1
- package/dist/core/p-dc0b9e80.entry.js.map +0 -1
- package/dist/core/p-de45134c.entry.js.map +0 -1
- package/dist/core/p-de891d3d.entry.js +0 -2
- package/dist/core/p-de891d3d.entry.js.map +0 -1
- package/dist/core/p-e0f24ccd.entry.js +0 -2
- package/dist/core/p-e0f24ccd.entry.js.map +0 -1
- package/dist/core/p-e384aaee.entry.js.map +0 -1
- package/dist/core/p-e41e701a.entry.js.map +0 -1
- package/dist/core/p-e839e5dc.entry.js +0 -2
- package/dist/core/p-e839e5dc.entry.js.map +0 -1
- package/dist/core/p-ea526b54.entry.js +0 -2
- package/dist/core/p-ea526b54.entry.js.map +0 -1
- package/dist/core/p-ec8b228c.entry.js +0 -2
- package/dist/core/p-ec8b228c.entry.js.map +0 -1
- package/dist/core/p-f3e10149.entry.js.map +0 -1
- package/dist/core/p-fc7dce3d.entry.js.map +0 -1
- package/dist/esm/helpers-b2b47a7d.js.map +0 -1
- package/dist/esm/index-3b144b17.js.map +0 -1
@@ -0,0 +1,38 @@
|
|
1
|
+
import { InputContainer } from "./ic-input-container";
|
2
|
+
import { newSpecPage } from "@stencil/core/testing";
|
3
|
+
describe("ic-input-container", () => {
|
4
|
+
it("renders", async () => {
|
5
|
+
const page = await newSpecPage({
|
6
|
+
components: [InputContainer],
|
7
|
+
html: `<ic-input-container></ic-input-container>`,
|
8
|
+
});
|
9
|
+
expect(page.root).toEqualHtml(`
|
10
|
+
<ic-input-container>
|
11
|
+
<div class="component-container"></div>
|
12
|
+
</ic-input-container>
|
13
|
+
`);
|
14
|
+
});
|
15
|
+
it("renders disabled", async () => {
|
16
|
+
const page = await newSpecPage({
|
17
|
+
components: [InputContainer],
|
18
|
+
html: `<ic-input-container disabled=true></ic-input-container>`,
|
19
|
+
});
|
20
|
+
expect(page.root).toEqualHtml(`
|
21
|
+
<ic-input-container disabled="true">
|
22
|
+
<div class="component-container disabled"></div>
|
23
|
+
</ic-input-container>
|
24
|
+
`);
|
25
|
+
});
|
26
|
+
it("renders readonly", async () => {
|
27
|
+
const page = await newSpecPage({
|
28
|
+
components: [InputContainer],
|
29
|
+
html: `<ic-input-container readonly=true></ic-input-container>`,
|
30
|
+
});
|
31
|
+
expect(page.root).toEqualHtml(`
|
32
|
+
<ic-input-container readonly="true">
|
33
|
+
<div class="component-container readonly"></div>
|
34
|
+
</ic-input-container>
|
35
|
+
`);
|
36
|
+
});
|
37
|
+
});
|
38
|
+
//# sourceMappingURL=ic-input-container.spec.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ic-input-container.spec.js","sourceRoot":"","sources":["../../../src/components/ic-input-container/ic-input-container.spec.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,QAAQ,CAAC,oBAAoB,EAAE,GAAG,EAAE;EAClC,EAAE,CAAC,SAAS,EAAE,KAAK,IAAI,EAAE;IACvB,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,cAAc,CAAC;MAC5B,IAAI,EAAE,2CAA2C;KAClD,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;KAI7B,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,kBAAkB,EAAE,KAAK,IAAI,EAAE;IAChC,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,cAAc,CAAC;MAC5B,IAAI,EAAE,yDAAyD;KAChE,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;KAI7B,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,kBAAkB,EAAE,KAAK,IAAI,EAAE;IAChC,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,cAAc,CAAC;MAC5B,IAAI,EAAE,yDAAyD;KAChE,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;KAI7B,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { InputContainer } from \"./ic-input-container\";\nimport { newSpecPage } from \"@stencil/core/testing\";\n\ndescribe(\"ic-input-container\", () => {\n it(\"renders\", async () => {\n const page = await newSpecPage({\n components: [InputContainer],\n html: `<ic-input-container></ic-input-container>`,\n });\n\n expect(page.root).toEqualHtml(`\n <ic-input-container>\n <div class=\"component-container\"></div>\n </ic-input-container>\n `);\n });\n\n it(\"renders disabled\", async () => {\n const page = await newSpecPage({\n components: [InputContainer],\n html: `<ic-input-container disabled=true></ic-input-container>`,\n });\n\n expect(page.root).toEqualHtml(`\n <ic-input-container disabled=\"true\">\n <div class=\"component-container disabled\"></div>\n </ic-input-container>\n `);\n });\n\n it(\"renders readonly\", async () => {\n const page = await newSpecPage({\n components: [InputContainer],\n html: `<ic-input-container readonly=true></ic-input-container>`,\n });\n\n expect(page.root).toEqualHtml(`\n <ic-input-container readonly=\"true\">\n <div class=\"component-container readonly\"></div>\n </ic-input-container>\n `);\n });\n});\n"]}
|
@@ -0,0 +1,98 @@
|
|
1
|
+
import { InputLabel } from "./ic-input-label";
|
2
|
+
import { newSpecPage } from "@stencil/core/testing";
|
3
|
+
describe("ic-input-label", () => {
|
4
|
+
it("renders", async () => {
|
5
|
+
const page = await newSpecPage({
|
6
|
+
components: [InputLabel],
|
7
|
+
html: `<ic-input-label for="test-input-id" label="Test label"></ic-input-label>`,
|
8
|
+
});
|
9
|
+
expect(page.root).toEqualHtml(`
|
10
|
+
<ic-input-label for="test-input-id" label="Test label">
|
11
|
+
<ic-typography variant="label">
|
12
|
+
<label htmlfor="test-input-id">
|
13
|
+
Test label
|
14
|
+
</label>
|
15
|
+
</ic-typography>
|
16
|
+
</ic-input-label>
|
17
|
+
`);
|
18
|
+
});
|
19
|
+
it("renders required variant", async () => {
|
20
|
+
const page = await newSpecPage({
|
21
|
+
components: [InputLabel],
|
22
|
+
html: `<ic-input-label for="test-input-id" label="Test label" required=true></ic-input-label>`,
|
23
|
+
});
|
24
|
+
expect(page.root).toEqualHtml(`
|
25
|
+
<ic-input-label for="test-input-id" label="Test label" required="true">
|
26
|
+
<ic-typography variant="label">
|
27
|
+
<label htmlfor="test-input-id">
|
28
|
+
Test label *
|
29
|
+
</label>
|
30
|
+
</ic-typography>
|
31
|
+
</ic-input-label>
|
32
|
+
`);
|
33
|
+
});
|
34
|
+
it("renders disabled variant", async () => {
|
35
|
+
const page = await newSpecPage({
|
36
|
+
components: [InputLabel],
|
37
|
+
html: `<ic-input-label for="test-input-id" label="Test label" required=true disabled=true></ic-input-label>`,
|
38
|
+
});
|
39
|
+
expect(page.root).toEqualHtml(`
|
40
|
+
<ic-input-label class="disabled" disabled="true" for="test-input-id" label="Test label" required="true">
|
41
|
+
<ic-typography variant="label">
|
42
|
+
<label htmlfor="test-input-id">
|
43
|
+
Test label *
|
44
|
+
</label>
|
45
|
+
</ic-typography>
|
46
|
+
</ic-input-label>
|
47
|
+
`);
|
48
|
+
});
|
49
|
+
it("renders readonly variant", async () => {
|
50
|
+
const page = await newSpecPage({
|
51
|
+
components: [InputLabel],
|
52
|
+
html: `<ic-input-label for="test-input-id" label="Test label" required=true readonly=true></ic-input-label>`,
|
53
|
+
});
|
54
|
+
expect(page.root).toEqualHtml(`
|
55
|
+
<ic-input-label class="readonly" for="test-input-id" label="Test label" readonly="true" required="true">
|
56
|
+
<ic-typography class="readonly-label" variant="label">
|
57
|
+
Test label *
|
58
|
+
</ic-typography>
|
59
|
+
</ic-input-label>
|
60
|
+
`);
|
61
|
+
});
|
62
|
+
it("renders error variant", async () => {
|
63
|
+
const page = await newSpecPage({
|
64
|
+
components: [InputLabel],
|
65
|
+
html: `<ic-input-label for="test-input-id" label="Test label" error=true></ic-input-label>`,
|
66
|
+
});
|
67
|
+
expect(page.root).toEqualHtml(`
|
68
|
+
<ic-input-label error="true" for="test-input-id" label="Test label">
|
69
|
+
<ic-typography class="error-label" variant="label">
|
70
|
+
<label htmlfor="test-input-id">
|
71
|
+
Test label
|
72
|
+
</label>
|
73
|
+
</ic-typography>
|
74
|
+
</ic-input-label>
|
75
|
+
`);
|
76
|
+
});
|
77
|
+
it("renders with helpertext", async () => {
|
78
|
+
const page = await newSpecPage({
|
79
|
+
components: [InputLabel],
|
80
|
+
html: `<ic-input-label for="test-input-id" label="Test label" required=true helper-text="Some helper text"></ic-input-label>`,
|
81
|
+
});
|
82
|
+
expect(page.root).toEqualHtml(`
|
83
|
+
<ic-input-label class="with-helper" for="test-input-id" helper-text="Some helper text" label="Test label" required="true">
|
84
|
+
<ic-typography variant="label">
|
85
|
+
<label htmlfor="test-input-id">
|
86
|
+
Test label *
|
87
|
+
</label>
|
88
|
+
</ic-typography>
|
89
|
+
<ic-typography class="helpertext helpertext-normal" variant="caption">
|
90
|
+
<span id="test-input-id-helper-text">
|
91
|
+
Some helper text
|
92
|
+
</span>
|
93
|
+
</ic-typography>
|
94
|
+
</ic-input-label>
|
95
|
+
`);
|
96
|
+
});
|
97
|
+
});
|
98
|
+
//# sourceMappingURL=ic-input-label.spec.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ic-input-label.spec.js","sourceRoot":"","sources":["../../../src/components/ic-input-label/ic-input-label.spec.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;EAC9B,EAAE,CAAC,SAAS,EAAE,KAAK,IAAI,EAAE;IACvB,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,UAAU,CAAC;MACxB,IAAI,EAAE,0EAA0E;KACjF,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;;KAQ7B,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,0BAA0B,EAAE,KAAK,IAAI,EAAE;IACxC,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,UAAU,CAAC;MACxB,IAAI,EAAE,wFAAwF;KAC/F,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;;KAQ7B,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,0BAA0B,EAAE,KAAK,IAAI,EAAE;IACxC,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,UAAU,CAAC;MACxB,IAAI,EAAE,sGAAsG;KAC7G,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;;KAQ7B,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,0BAA0B,EAAE,KAAK,IAAI,EAAE;IACxC,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,UAAU,CAAC;MACxB,IAAI,EAAE,sGAAsG;KAC7G,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;KAM7B,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,uBAAuB,EAAE,KAAK,IAAI,EAAE;IACrC,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,UAAU,CAAC;MACxB,IAAI,EAAE,qFAAqF;KAC5F,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;;KAQ7B,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,yBAAyB,EAAE,KAAK,IAAI,EAAE;IACvC,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,UAAU,CAAC;MACxB,IAAI,EAAE,uHAAuH;KAC9H,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;;;;;;;KAa7B,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { InputLabel } from \"./ic-input-label\";\nimport { newSpecPage } from \"@stencil/core/testing\";\n\ndescribe(\"ic-input-label\", () => {\n it(\"renders\", async () => {\n const page = await newSpecPage({\n components: [InputLabel],\n html: `<ic-input-label for=\"test-input-id\" label=\"Test label\"></ic-input-label>`,\n });\n\n expect(page.root).toEqualHtml(`\n <ic-input-label for=\"test-input-id\" label=\"Test label\">\n <ic-typography variant=\"label\">\n <label htmlfor=\"test-input-id\">\n Test label\n </label>\n </ic-typography>\n </ic-input-label>\n `);\n });\n\n it(\"renders required variant\", async () => {\n const page = await newSpecPage({\n components: [InputLabel],\n html: `<ic-input-label for=\"test-input-id\" label=\"Test label\" required=true></ic-input-label>`,\n });\n\n expect(page.root).toEqualHtml(`\n <ic-input-label for=\"test-input-id\" label=\"Test label\" required=\"true\">\n <ic-typography variant=\"label\">\n <label htmlfor=\"test-input-id\">\n Test label *\n </label>\n </ic-typography>\n </ic-input-label>\n `);\n });\n\n it(\"renders disabled variant\", async () => {\n const page = await newSpecPage({\n components: [InputLabel],\n html: `<ic-input-label for=\"test-input-id\" label=\"Test label\" required=true disabled=true></ic-input-label>`,\n });\n\n expect(page.root).toEqualHtml(`\n <ic-input-label class=\"disabled\" disabled=\"true\" for=\"test-input-id\" label=\"Test label\" required=\"true\">\n <ic-typography variant=\"label\">\n <label htmlfor=\"test-input-id\">\n Test label *\n </label>\n </ic-typography>\n </ic-input-label>\n `);\n });\n\n it(\"renders readonly variant\", async () => {\n const page = await newSpecPage({\n components: [InputLabel],\n html: `<ic-input-label for=\"test-input-id\" label=\"Test label\" required=true readonly=true></ic-input-label>`,\n });\n\n expect(page.root).toEqualHtml(`\n <ic-input-label class=\"readonly\" for=\"test-input-id\" label=\"Test label\" readonly=\"true\" required=\"true\">\n <ic-typography class=\"readonly-label\" variant=\"label\">\n Test label *\n </ic-typography>\n </ic-input-label>\n `);\n });\n\n it(\"renders error variant\", async () => {\n const page = await newSpecPage({\n components: [InputLabel],\n html: `<ic-input-label for=\"test-input-id\" label=\"Test label\" error=true></ic-input-label>`,\n });\n\n expect(page.root).toEqualHtml(`\n <ic-input-label error=\"true\" for=\"test-input-id\" label=\"Test label\">\n <ic-typography class=\"error-label\" variant=\"label\">\n <label htmlfor=\"test-input-id\">\n Test label\n </label>\n </ic-typography>\n </ic-input-label>\n `);\n });\n\n it(\"renders with helpertext\", async () => {\n const page = await newSpecPage({\n components: [InputLabel],\n html: `<ic-input-label for=\"test-input-id\" label=\"Test label\" required=true helper-text=\"Some helper text\"></ic-input-label>`,\n });\n\n expect(page.root).toEqualHtml(`\n <ic-input-label class=\"with-helper\" for=\"test-input-id\" helper-text=\"Some helper text\" label=\"Test label\" required=\"true\">\n <ic-typography variant=\"label\">\n <label htmlfor=\"test-input-id\">\n Test label *\n </label>\n </ic-typography>\n <ic-typography class=\"helpertext helpertext-normal\" variant=\"caption\">\n <span id=\"test-input-id-helper-text\">\n Some helper text\n </span>\n </ic-typography>\n </ic-input-label>\n `);\n });\n});\n"]}
|
@@ -8,14 +8,6 @@ ic-input-validation.fullwidth {
|
|
8
8
|
width: 100%;
|
9
9
|
}
|
10
10
|
|
11
|
-
ic-input-validation.error {
|
12
|
-
color: var(--ic-status-error);
|
13
|
-
}
|
14
|
-
|
15
|
-
ic-input-validation.success {
|
16
|
-
color: var(--ic-status-success);
|
17
|
-
}
|
18
|
-
|
19
11
|
ic-input-validation span.status-icon {
|
20
12
|
padding-right: var(--ic-space-xxs);
|
21
13
|
}
|
@@ -0,0 +1,89 @@
|
|
1
|
+
import { InputValidation } from "./ic-input-validation";
|
2
|
+
import { newSpecPage } from "@stencil/core/testing";
|
3
|
+
describe("ic-input-validation", () => {
|
4
|
+
it("renders", async () => {
|
5
|
+
const page = await newSpecPage({
|
6
|
+
components: [InputValidation],
|
7
|
+
html: `<ic-input-validation for="test-id" message="validation message"></ic-input-validation>`,
|
8
|
+
});
|
9
|
+
expect(page.root).toEqualHtml(`
|
10
|
+
<ic-input-validation for="test-id" message="validation message">
|
11
|
+
<ic-typography class="statustext" variant="caption">
|
12
|
+
<span aria-live="polite" id="test-id-validation-text">
|
13
|
+
validation message
|
14
|
+
</span>
|
15
|
+
</ic-typography>
|
16
|
+
</ic-input-validation>
|
17
|
+
`);
|
18
|
+
});
|
19
|
+
it("renders with success status", async () => {
|
20
|
+
const page = await newSpecPage({
|
21
|
+
components: [InputValidation],
|
22
|
+
html: `<ic-input-validation for="test-id" message="validation message" status="success"></ic-input-validation>`,
|
23
|
+
});
|
24
|
+
expect(page.root).toEqualHtml(`
|
25
|
+
<ic-input-validation class="success" for="test-id" message="validation message" status="success">
|
26
|
+
<span class="icon-success status-icon">
|
27
|
+
svg
|
28
|
+
</span>
|
29
|
+
<ic-typography class="statustext" variant="caption">
|
30
|
+
<span aria-live="polite" id="test-id-validation-text">
|
31
|
+
validation message
|
32
|
+
</span>
|
33
|
+
</ic-typography>
|
34
|
+
</ic-input-validation>
|
35
|
+
`);
|
36
|
+
});
|
37
|
+
it("renders with warning status", async () => {
|
38
|
+
const page = await newSpecPage({
|
39
|
+
components: [InputValidation],
|
40
|
+
html: `<ic-input-validation for="test-id" message="validation message" status="warning"></ic-input-validation>`,
|
41
|
+
});
|
42
|
+
expect(page.root).toEqualHtml(`
|
43
|
+
<ic-input-validation class="warning" for="test-id" message="validation message" status="warning">
|
44
|
+
<span class="icon-warning status-icon">
|
45
|
+
svg
|
46
|
+
</span>
|
47
|
+
<ic-typography class="statustext" variant="caption">
|
48
|
+
<span aria-live="polite" id="test-id-validation-text">
|
49
|
+
validation message
|
50
|
+
</span>
|
51
|
+
</ic-typography>
|
52
|
+
</ic-input-validation>
|
53
|
+
`);
|
54
|
+
});
|
55
|
+
it("renders with error status", async () => {
|
56
|
+
const page = await newSpecPage({
|
57
|
+
components: [InputValidation],
|
58
|
+
html: `<ic-input-validation for="test-id" message="validation message" status="error"></ic-input-validation>`,
|
59
|
+
});
|
60
|
+
expect(page.root).toEqualHtml(`
|
61
|
+
<ic-input-validation class="error" for="test-id" message="validation message" status="error">
|
62
|
+
<span class="icon-error status-icon">
|
63
|
+
svg
|
64
|
+
</span>
|
65
|
+
<ic-typography class="statustext" variant="caption">
|
66
|
+
<span aria-live="polite" id="test-id-validation-text">
|
67
|
+
validation message
|
68
|
+
</span>
|
69
|
+
</ic-typography>
|
70
|
+
</ic-input-validation>
|
71
|
+
`);
|
72
|
+
});
|
73
|
+
it("renders with full width", async () => {
|
74
|
+
const page = await newSpecPage({
|
75
|
+
components: [InputValidation],
|
76
|
+
html: `<ic-input-validation for="test-id" message="validation message" full-width=true></ic-input-validation>`,
|
77
|
+
});
|
78
|
+
expect(page.root).toEqualHtml(`
|
79
|
+
<ic-input-validation for="test-id" class="fullwidth" full-width="true" message="validation message">
|
80
|
+
<ic-typography class="statustext" variant="caption">
|
81
|
+
<span aria-live="polite" id="test-id-validation-text">
|
82
|
+
validation message
|
83
|
+
</span>
|
84
|
+
</ic-typography>
|
85
|
+
</ic-input-validation>
|
86
|
+
`);
|
87
|
+
});
|
88
|
+
});
|
89
|
+
//# sourceMappingURL=ic-input-validation.spec.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ic-input-validation.spec.js","sourceRoot":"","sources":["../../../src/components/ic-input-validation/ic-input-validation.spec.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEpD,QAAQ,CAAC,qBAAqB,EAAE,GAAG,EAAE;EACnC,EAAE,CAAC,SAAS,EAAE,KAAK,IAAI,EAAE;IACvB,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,eAAe,CAAC;MAC7B,IAAI,EAAE,wFAAwF;KAC/F,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;;KAQ7B,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,6BAA6B,EAAE,KAAK,IAAI,EAAE;IAC3C,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,eAAe,CAAC;MAC7B,IAAI,EAAE,yGAAyG;KAChH,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;;;;;KAW7B,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,6BAA6B,EAAE,KAAK,IAAI,EAAE;IAC3C,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,eAAe,CAAC;MAC7B,IAAI,EAAE,yGAAyG;KAChH,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;;;;;KAW7B,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,2BAA2B,EAAE,KAAK,IAAI,EAAE;IACzC,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,eAAe,CAAC;MAC7B,IAAI,EAAE,uGAAuG;KAC9G,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;;;;;KAW7B,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,yBAAyB,EAAE,KAAK,IAAI,EAAE;IACvC,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,eAAe,CAAC;MAC7B,IAAI,EAAE,wGAAwG;KAC/G,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;;KAQ7B,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { InputValidation } from \"./ic-input-validation\";\nimport { newSpecPage } from \"@stencil/core/testing\";\n\ndescribe(\"ic-input-validation\", () => {\n it(\"renders\", async () => {\n const page = await newSpecPage({\n components: [InputValidation],\n html: `<ic-input-validation for=\"test-id\" message=\"validation message\"></ic-input-validation>`,\n });\n\n expect(page.root).toEqualHtml(`\n <ic-input-validation for=\"test-id\" message=\"validation message\">\n <ic-typography class=\"statustext\" variant=\"caption\">\n <span aria-live=\"polite\" id=\"test-id-validation-text\">\n validation message\n </span>\n </ic-typography>\n </ic-input-validation>\n `);\n });\n\n it(\"renders with success status\", async () => {\n const page = await newSpecPage({\n components: [InputValidation],\n html: `<ic-input-validation for=\"test-id\" message=\"validation message\" status=\"success\"></ic-input-validation>`,\n });\n\n expect(page.root).toEqualHtml(`\n <ic-input-validation class=\"success\" for=\"test-id\" message=\"validation message\" status=\"success\">\n <span class=\"icon-success status-icon\">\n svg\n </span>\n <ic-typography class=\"statustext\" variant=\"caption\">\n <span aria-live=\"polite\" id=\"test-id-validation-text\">\n validation message\n </span>\n </ic-typography>\n </ic-input-validation>\n `);\n });\n\n it(\"renders with warning status\", async () => {\n const page = await newSpecPage({\n components: [InputValidation],\n html: `<ic-input-validation for=\"test-id\" message=\"validation message\" status=\"warning\"></ic-input-validation>`,\n });\n\n expect(page.root).toEqualHtml(`\n <ic-input-validation class=\"warning\" for=\"test-id\" message=\"validation message\" status=\"warning\">\n <span class=\"icon-warning status-icon\">\n svg\n </span>\n <ic-typography class=\"statustext\" variant=\"caption\">\n <span aria-live=\"polite\" id=\"test-id-validation-text\">\n validation message\n </span>\n </ic-typography>\n </ic-input-validation>\n `);\n });\n\n it(\"renders with error status\", async () => {\n const page = await newSpecPage({\n components: [InputValidation],\n html: `<ic-input-validation for=\"test-id\" message=\"validation message\" status=\"error\"></ic-input-validation>`,\n });\n\n expect(page.root).toEqualHtml(`\n <ic-input-validation class=\"error\" for=\"test-id\" message=\"validation message\" status=\"error\">\n <span class=\"icon-error status-icon\">\n svg\n </span>\n <ic-typography class=\"statustext\" variant=\"caption\">\n <span aria-live=\"polite\" id=\"test-id-validation-text\">\n validation message\n </span>\n </ic-typography>\n </ic-input-validation>\n `);\n });\n\n it(\"renders with full width\", async () => {\n const page = await newSpecPage({\n components: [InputValidation],\n html: `<ic-input-validation for=\"test-id\" message=\"validation message\" full-width=true></ic-input-validation>`,\n });\n\n expect(page.root).toEqualHtml(`\n <ic-input-validation for=\"test-id\" class=\"fullwidth\" full-width=\"true\" message=\"validation message\">\n <ic-typography class=\"statustext\" variant=\"caption\">\n <span aria-live=\"polite\" id=\"test-id-validation-text\">\n validation message\n </span>\n </ic-typography>\n </ic-input-validation>\n `);\n });\n});\n"]}
|
@@ -0,0 +1,203 @@
|
|
1
|
+
import { newSpecPage } from "@stencil/core/testing";
|
2
|
+
import { Alert } from "../ic-alert/ic-alert";
|
3
|
+
import { Link } from "./ic-link";
|
4
|
+
describe("ic-link component", () => {
|
5
|
+
it("should render a link by default with the correct text", async () => {
|
6
|
+
const page = await newSpecPage({
|
7
|
+
components: [Link],
|
8
|
+
html: `<ic-link>IC Link Test</ic-link>`,
|
9
|
+
});
|
10
|
+
expect(page.root).toEqualHtml(`
|
11
|
+
<ic-link class="default link">
|
12
|
+
<mock:shadow-root>
|
13
|
+
<a tabindex="-1">
|
14
|
+
<slot></slot>
|
15
|
+
</a>
|
16
|
+
</mock:shadow-root>
|
17
|
+
IC Link Test
|
18
|
+
</ic-link>
|
19
|
+
`);
|
20
|
+
});
|
21
|
+
it("should apply the 'download' attribute to the anchor element", async () => {
|
22
|
+
const page = await newSpecPage({
|
23
|
+
components: [Link],
|
24
|
+
html: `<ic-link download="test-download">IC Link Test</ic-link>`,
|
25
|
+
});
|
26
|
+
expect(page.root)
|
27
|
+
.toEqualHtml(`<ic-link class="default link" download="test-download">
|
28
|
+
<mock:shadow-root>
|
29
|
+
<a download="test-download" tabindex="-1">
|
30
|
+
<slot></slot>
|
31
|
+
</a>
|
32
|
+
</mock:shadow-root>
|
33
|
+
IC Link Test
|
34
|
+
</ic-link>
|
35
|
+
`);
|
36
|
+
});
|
37
|
+
it("should apply the 'href' attribute and ic-link styling to the anchor element", async () => {
|
38
|
+
const page = await newSpecPage({
|
39
|
+
components: [Link],
|
40
|
+
html: `<ic-link href="test-href">IC Link Test</ic-link>`,
|
41
|
+
});
|
42
|
+
expect(page.root)
|
43
|
+
.toEqualHtml(`<ic-link href="test-href" class="default link">
|
44
|
+
<mock:shadow-root>
|
45
|
+
<a class="default ic-link" href="test-href" tabindex="0">
|
46
|
+
<slot></slot>
|
47
|
+
</a>
|
48
|
+
</mock:shadow-root>
|
49
|
+
IC Link Test
|
50
|
+
</ic-link>
|
51
|
+
`);
|
52
|
+
});
|
53
|
+
it("should apply the 'dark' appearance styling and ic-link styling", async () => {
|
54
|
+
const page = await newSpecPage({
|
55
|
+
components: [Link],
|
56
|
+
html: `<ic-link href="test-href" appearance="dark">IC Link Test</ic-link>`,
|
57
|
+
});
|
58
|
+
expect(page.root)
|
59
|
+
.toEqualHtml(`<ic-link href="test-href" appearance="dark" class="dark link">
|
60
|
+
<mock:shadow-root>
|
61
|
+
<a class="dark ic-link" href="test-href" tabindex="0">
|
62
|
+
<slot></slot>
|
63
|
+
</a>
|
64
|
+
</mock:shadow-root>
|
65
|
+
IC Link Test
|
66
|
+
</ic-link>
|
67
|
+
`);
|
68
|
+
});
|
69
|
+
it("should apply the 'hreflang' attribute to the anchor element", async () => {
|
70
|
+
const page = await newSpecPage({
|
71
|
+
components: [Link],
|
72
|
+
html: `<ic-link hreflang="test-hreflang">IC Link Test</ic-link>`,
|
73
|
+
});
|
74
|
+
expect(page.root)
|
75
|
+
.toEqualHtml(`<ic-link class="default link" hreflang="test-hreflang">
|
76
|
+
<mock:shadow-root>
|
77
|
+
<a hreflang="test-hreflang" tabindex="-1">
|
78
|
+
<slot></slot>
|
79
|
+
</a>
|
80
|
+
</mock:shadow-root>
|
81
|
+
IC Link Test
|
82
|
+
</ic-link>
|
83
|
+
`);
|
84
|
+
});
|
85
|
+
it("should apply the 'referrerpolicy' attribute to the anchor element", async () => {
|
86
|
+
const page = await newSpecPage({
|
87
|
+
components: [Link],
|
88
|
+
html: `<ic-link referrerpolicy="no-referrer">IC Link Test</ic-link>`,
|
89
|
+
});
|
90
|
+
expect(page.root)
|
91
|
+
.toEqualHtml(`<ic-link class="default link" referrerpolicy="no-referrer">
|
92
|
+
<mock:shadow-root>
|
93
|
+
<a referrerpolicy="no-referrer" tabindex="-1">
|
94
|
+
<slot></slot>
|
95
|
+
</a>
|
96
|
+
</mock:shadow-root>
|
97
|
+
IC Link Test
|
98
|
+
</ic-link>
|
99
|
+
`);
|
100
|
+
});
|
101
|
+
it("should apply the 'rel' attribute to the anchor element", async () => {
|
102
|
+
const page = await newSpecPage({
|
103
|
+
components: [Link],
|
104
|
+
html: `<ic-link rel="test-rel">IC Link Test</ic-link>`,
|
105
|
+
});
|
106
|
+
expect(page.root).toEqualHtml(`<ic-link class="default link" rel="test-rel">
|
107
|
+
<mock:shadow-root>
|
108
|
+
<a rel="test-rel" tabindex="-1">
|
109
|
+
<slot></slot>
|
110
|
+
</a>
|
111
|
+
</mock:shadow-root>
|
112
|
+
IC Link Test
|
113
|
+
</ic-link>
|
114
|
+
`);
|
115
|
+
});
|
116
|
+
it("should apply the 'target' attribute to the anchor element", async () => {
|
117
|
+
const page = await newSpecPage({
|
118
|
+
components: [Link],
|
119
|
+
html: `<ic-link target="test-target">IC Link Test</ic-link>`,
|
120
|
+
});
|
121
|
+
expect(page.root)
|
122
|
+
.toEqualHtml(`<ic-link class="default link" target="test-target">
|
123
|
+
<mock:shadow-root>
|
124
|
+
<a target="test-target" tabindex="-1">
|
125
|
+
<slot></slot>
|
126
|
+
</a>
|
127
|
+
</mock:shadow-root>
|
128
|
+
IC Link Test
|
129
|
+
</ic-link>
|
130
|
+
`);
|
131
|
+
});
|
132
|
+
it("should render an 'open in new' icon when 'show-icon' is provided", async () => {
|
133
|
+
const page = await newSpecPage({
|
134
|
+
components: [Link],
|
135
|
+
html: `<ic-link show-icon>IC Link Test</ic-link>`,
|
136
|
+
});
|
137
|
+
expect(page.root).toEqualHtml(`<ic-link class="default link" show-icon>
|
138
|
+
<mock:shadow-root>
|
139
|
+
<a tabindex="-1">
|
140
|
+
<slot></slot>
|
141
|
+
<span class="ic-link-open-in-new-icon">
|
142
|
+
svg
|
143
|
+
</span>
|
144
|
+
</a>
|
145
|
+
</mock:shadow-root>
|
146
|
+
IC Link Test
|
147
|
+
</ic-link>
|
148
|
+
`);
|
149
|
+
});
|
150
|
+
it("should render a slotted link", async () => {
|
151
|
+
const page = await newSpecPage({
|
152
|
+
components: [Link],
|
153
|
+
html: `<ic-link>
|
154
|
+
<ic-link slot="router-item">Slotted Link</ic-link>
|
155
|
+
</ic-link>`,
|
156
|
+
});
|
157
|
+
expect(page.root).toEqualHtml(`<ic-link class="default link">
|
158
|
+
<mock:shadow-root>
|
159
|
+
<slot name="router-item"></slot>
|
160
|
+
</mock:shadow-root>
|
161
|
+
<ic-link class="default link" slot="router-item">
|
162
|
+
<mock:shadow-root>
|
163
|
+
<a tabindex="-1">
|
164
|
+
<slot></slot>
|
165
|
+
</a>
|
166
|
+
</mock:shadow-root>
|
167
|
+
Slotted Link
|
168
|
+
</ic-link>
|
169
|
+
</ic-link>
|
170
|
+
`);
|
171
|
+
});
|
172
|
+
it("should get theme from context", async () => {
|
173
|
+
const page = await newSpecPage({
|
174
|
+
components: [Alert, Link],
|
175
|
+
html: `<ic-alert message="This has an action"><ic-link slot="action">Theme context link</ic-link></ic-alert>`,
|
176
|
+
});
|
177
|
+
expect(page.root).toMatchSnapshot("alert-theme-context");
|
178
|
+
});
|
179
|
+
it("correctly sets variant on theme change", async () => {
|
180
|
+
const page = await newSpecPage({
|
181
|
+
components: [Link],
|
182
|
+
html: `<ic-hero heading="Hero heading" subheading="Hero description">
|
183
|
+
<ic-link slot="interaction">Link</ic-link>
|
184
|
+
</ic-hero>
|
185
|
+
`,
|
186
|
+
});
|
187
|
+
page.rootInstance.themeChangeHandler({ detail: { mode: "dark" } });
|
188
|
+
await page.waitForChanges();
|
189
|
+
expect(page.rootInstance.appearance).toBe("dark");
|
190
|
+
page.rootInstance.themeChangeHandler({ detail: { mode: "light" } });
|
191
|
+
await page.waitForChanges();
|
192
|
+
expect(page.rootInstance.appearance).toBe("light");
|
193
|
+
});
|
194
|
+
it("should call 'setFocus' when link is focused", async () => {
|
195
|
+
const page = await newSpecPage({
|
196
|
+
components: [Link],
|
197
|
+
html: `<ic-link>IC Link Test</ic-link>`,
|
198
|
+
});
|
199
|
+
//Can't expect anything in this test - this is to increase code coverage only
|
200
|
+
await page.rootInstance.setFocus().toHaveBeenCalled;
|
201
|
+
});
|
202
|
+
});
|
203
|
+
//# sourceMappingURL=ic-link.spec.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ic-link.spec.js","sourceRoot":"","sources":["../../../src/components/ic-link/ic-link.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,QAAQ,CAAC,mBAAmB,EAAE,GAAG,EAAE;EACjC,EAAE,CAAC,uDAAuD,EAAE,KAAK,IAAI,EAAE;IACrE,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,IAAI,CAAC;MAClB,IAAI,EAAE,iCAAiC;KACxC,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;;;KAS7B,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,6DAA6D,EAAE,KAAK,IAAI,EAAE;IAC3E,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,IAAI,CAAC;MAClB,IAAI,EAAE,0DAA0D;KACjE,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC;OACd,WAAW,CAAC;;;;;;;;KAQd,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,6EAA6E,EAAE,KAAK,IAAI,EAAE;IAC3F,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,IAAI,CAAC;MAClB,IAAI,EAAE,kDAAkD;KACzD,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC;OACd,WAAW,CAAC;;;;;;;;KAQd,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,gEAAgE,EAAE,KAAK,IAAI,EAAE;IAC9E,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,IAAI,CAAC;MAClB,IAAI,EAAE,qEAAqE;KAC5E,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC;OACd,WAAW,CAAC;;;;;;;;KAQd,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,6DAA6D,EAAE,KAAK,IAAI,EAAE;IAC3E,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,IAAI,CAAC;MAClB,IAAI,EAAE,0DAA0D;KACjE,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC;OACd,WAAW,CAAC;;;;;;;;KAQd,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,mEAAmE,EAAE,KAAK,IAAI,EAAE;IACjF,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,IAAI,CAAC;MAClB,IAAI,EAAE,8DAA8D;KACrE,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC;OACd,WAAW,CAAC;;;;;;;;KAQd,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,wDAAwD,EAAE,KAAK,IAAI,EAAE;IACtE,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,IAAI,CAAC;MAClB,IAAI,EAAE,gDAAgD;KACvD,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;;KAQ7B,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,2DAA2D,EAAE,KAAK,IAAI,EAAE;IACzE,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,IAAI,CAAC;MAClB,IAAI,EAAE,sDAAsD;KAC7D,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC;OACd,WAAW,CAAC;;;;;;;;KAQd,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,kEAAkE,EAAE,KAAK,IAAI,EAAE;IAChF,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,IAAI,CAAC;MAClB,IAAI,EAAE,2CAA2C;KAClD,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;;;;;KAW7B,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,8BAA8B,EAAE,KAAK,IAAI,EAAE;IAC5C,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,IAAI,CAAC;MAClB,IAAI,EAAE;;iBAEK;KACZ,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC;;;;;;;;;;;;;KAa7B,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,+BAA+B,EAAE,KAAK,IAAI,EAAE;IAC7C,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,KAAK,EAAE,IAAI,CAAC;MACzB,IAAI,EAAE,uGAAuG;KAC9G,CAAC,CAAC;IAEH,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,eAAe,CAAC,qBAAqB,CAAC,CAAC;EAC3D,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,wCAAwC,EAAE,KAAK,IAAI,EAAE;IACtD,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,IAAI,CAAC;MAClB,IAAI,EAAE;;;CAGX;KACI,CAAC,CAAC;IAEH,IAAI,CAAC,YAAY,CAAC,kBAAkB,CAAC,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC,CAAC;IACnE,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;IAE5B,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAElD,IAAI,CAAC,YAAY,CAAC,kBAAkB,CAAC,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC;IACpE,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;IAE5B,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;EACrD,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,6CAA6C,EAAE,KAAK,IAAI,EAAE;IAC3D,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;MAC7B,UAAU,EAAE,CAAC,IAAI,CAAC;MAClB,IAAI,EAAE,iCAAiC;KACxC,CAAC,CAAC;IAEH,6EAA6E;IAC7E,MAAM,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC,gBAAgB,CAAC;EACtD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newSpecPage } from \"@stencil/core/testing\";\nimport { Alert } from \"../ic-alert/ic-alert\";\nimport { Link } from \"./ic-link\";\n\ndescribe(\"ic-link component\", () => {\n it(\"should render a link by default with the correct text\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link>IC Link Test</ic-link>`,\n });\n\n expect(page.root).toEqualHtml(`\n <ic-link class=\"default link\">\n <mock:shadow-root>\n <a tabindex=\"-1\">\n <slot></slot>\n </a>\n </mock:shadow-root>\n IC Link Test\n </ic-link>\n `);\n });\n\n it(\"should apply the 'download' attribute to the anchor element\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link download=\"test-download\">IC Link Test</ic-link>`,\n });\n\n expect(page.root)\n .toEqualHtml(`<ic-link class=\"default link\" download=\"test-download\">\n <mock:shadow-root>\n <a download=\"test-download\" tabindex=\"-1\">\n <slot></slot>\n </a>\n </mock:shadow-root>\n IC Link Test\n </ic-link>\n `);\n });\n\n it(\"should apply the 'href' attribute and ic-link styling to the anchor element\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link href=\"test-href\">IC Link Test</ic-link>`,\n });\n\n expect(page.root)\n .toEqualHtml(`<ic-link href=\"test-href\" class=\"default link\">\n <mock:shadow-root>\n <a class=\"default ic-link\" href=\"test-href\" tabindex=\"0\">\n <slot></slot>\n </a>\n </mock:shadow-root>\n IC Link Test\n </ic-link>\n `);\n });\n\n it(\"should apply the 'dark' appearance styling and ic-link styling\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link href=\"test-href\" appearance=\"dark\">IC Link Test</ic-link>`,\n });\n\n expect(page.root)\n .toEqualHtml(`<ic-link href=\"test-href\" appearance=\"dark\" class=\"dark link\">\n <mock:shadow-root>\n <a class=\"dark ic-link\" href=\"test-href\" tabindex=\"0\">\n <slot></slot>\n </a>\n </mock:shadow-root>\n IC Link Test\n </ic-link>\n `);\n });\n\n it(\"should apply the 'hreflang' attribute to the anchor element\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link hreflang=\"test-hreflang\">IC Link Test</ic-link>`,\n });\n\n expect(page.root)\n .toEqualHtml(`<ic-link class=\"default link\" hreflang=\"test-hreflang\">\n <mock:shadow-root>\n <a hreflang=\"test-hreflang\" tabindex=\"-1\">\n <slot></slot>\n </a>\n </mock:shadow-root>\n IC Link Test\n </ic-link>\n `);\n });\n\n it(\"should apply the 'referrerpolicy' attribute to the anchor element\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link referrerpolicy=\"no-referrer\">IC Link Test</ic-link>`,\n });\n\n expect(page.root)\n .toEqualHtml(`<ic-link class=\"default link\" referrerpolicy=\"no-referrer\">\n <mock:shadow-root>\n <a referrerpolicy=\"no-referrer\" tabindex=\"-1\">\n <slot></slot>\n </a>\n </mock:shadow-root>\n IC Link Test\n </ic-link>\n `);\n });\n\n it(\"should apply the 'rel' attribute to the anchor element\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link rel=\"test-rel\">IC Link Test</ic-link>`,\n });\n\n expect(page.root).toEqualHtml(`<ic-link class=\"default link\" rel=\"test-rel\">\n <mock:shadow-root>\n <a rel=\"test-rel\" tabindex=\"-1\">\n <slot></slot>\n </a>\n </mock:shadow-root>\n IC Link Test\n </ic-link>\n `);\n });\n\n it(\"should apply the 'target' attribute to the anchor element\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link target=\"test-target\">IC Link Test</ic-link>`,\n });\n\n expect(page.root)\n .toEqualHtml(`<ic-link class=\"default link\" target=\"test-target\">\n <mock:shadow-root>\n <a target=\"test-target\" tabindex=\"-1\">\n <slot></slot>\n </a>\n </mock:shadow-root>\n IC Link Test\n </ic-link>\n `);\n });\n\n it(\"should render an 'open in new' icon when 'show-icon' is provided\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link show-icon>IC Link Test</ic-link>`,\n });\n\n expect(page.root).toEqualHtml(`<ic-link class=\"default link\" show-icon>\n <mock:shadow-root>\n <a tabindex=\"-1\">\n <slot></slot>\n <span class=\"ic-link-open-in-new-icon\">\n svg\n </span>\n </a>\n </mock:shadow-root>\n IC Link Test\n </ic-link>\n `);\n });\n\n it(\"should render a slotted link\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link>\n <ic-link slot=\"router-item\">Slotted Link</ic-link>\n </ic-link>`,\n });\n\n expect(page.root).toEqualHtml(`<ic-link class=\"default link\">\n <mock:shadow-root>\n <slot name=\"router-item\"></slot>\n </mock:shadow-root>\n <ic-link class=\"default link\" slot=\"router-item\">\n <mock:shadow-root>\n <a tabindex=\"-1\">\n <slot></slot>\n </a>\n </mock:shadow-root>\n Slotted Link\n </ic-link>\n </ic-link>\n `);\n });\n\n it(\"should get theme from context\", async () => {\n const page = await newSpecPage({\n components: [Alert, Link],\n html: `<ic-alert message=\"This has an action\"><ic-link slot=\"action\">Theme context link</ic-link></ic-alert>`,\n });\n\n expect(page.root).toMatchSnapshot(\"alert-theme-context\");\n });\n\n it(\"correctly sets variant on theme change\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-hero heading=\"Hero heading\" subheading=\"Hero description\">\n <ic-link slot=\"interaction\">Link</ic-link>\n </ic-hero>\n`,\n });\n\n page.rootInstance.themeChangeHandler({ detail: { mode: \"dark\" } });\n await page.waitForChanges();\n\n expect(page.rootInstance.appearance).toBe(\"dark\");\n\n page.rootInstance.themeChangeHandler({ detail: { mode: \"light\" } });\n await page.waitForChanges();\n\n expect(page.rootInstance.appearance).toBe(\"light\");\n });\n\n it(\"should call 'setFocus' when link is focused\", async () => {\n const page = await newSpecPage({\n components: [Link],\n html: `<ic-link>IC Link Test</ic-link>`,\n });\n\n //Can't expect anything in this test - this is to increase code coverage only\n await page.rootInstance.setFocus().toHaveBeenCalled;\n });\n});\n"]}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
import { newE2EPage } from "@stencil/core/testing";
|
2
|
+
beforeAll(() => {
|
3
|
+
jest.spyOn(console, "warn").mockImplementation(jest.fn());
|
4
|
+
});
|
5
|
+
describe("ic-loading-indicator component", () => {
|
6
|
+
it("should change the label after 8 seconds if a string with forward slashes is passed in", async () => {
|
7
|
+
const page = await newE2EPage({
|
8
|
+
html: `<ic-loading-indicator label="First label/Second label/Third label"></ic-loading-indicator>`,
|
9
|
+
});
|
10
|
+
const label = await page.find("ic-loading-indicator >>> #ic-loading-label");
|
11
|
+
await page.waitForTimeout(8000);
|
12
|
+
await page.waitForChanges();
|
13
|
+
expect(label).toEqualText("Second label");
|
14
|
+
});
|
15
|
+
it("should change the label back to the first in the string after the last has been displayed", async () => {
|
16
|
+
const page = await newE2EPage({
|
17
|
+
html: `<ic-loading-indicator label="First label/Second label/Third label"></ic-loading-indicator>`,
|
18
|
+
});
|
19
|
+
const label = await page.find("ic-loading-indicator >>> #ic-loading-label");
|
20
|
+
await page.waitForTimeout(24000);
|
21
|
+
await page.waitForChanges();
|
22
|
+
expect(label).toEqualText("First label");
|
23
|
+
});
|
24
|
+
it("should change the label after the specified amount of time", async () => {
|
25
|
+
const page = await newE2EPage({
|
26
|
+
html: `<ic-loading-indicator label="First label/Second label/Third label" label-duration="2000"></ic-loading-indicator>`,
|
27
|
+
});
|
28
|
+
const label = await page.find("ic-loading-indicator >>> #ic-loading-label");
|
29
|
+
await page.waitForTimeout(2000);
|
30
|
+
await page.waitForChanges();
|
31
|
+
expect(label).toEqualText("Second label");
|
32
|
+
});
|
33
|
+
});
|
34
|
+
//# sourceMappingURL=ic-loading-indicator.e2e.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ic-loading-indicator.e2e.js","sourceRoot":"","sources":["../../../src/components/ic-loading-indicator/ic-loading-indicator.e2e.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,SAAS,CAAC,GAAG,EAAE;EACb,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC;AAC5D,CAAC,CAAC,CAAC;AAEH,QAAQ,CAAC,gCAAgC,EAAE,GAAG,EAAE;EAC9C,EAAE,CAAC,uFAAuF,EAAE,KAAK,IAAI,EAAE;IACrG,MAAM,IAAI,GAAG,MAAM,UAAU,CAAC;MAC5B,IAAI,EAAE,4FAA4F;KACnG,CAAC,CAAC;IACH,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,4CAA4C,CAAC,CAAC;IAE5E,MAAM,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IAChC,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;IAE5B,MAAM,CAAC,KAAK,CAAC,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC;EAC5C,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,2FAA2F,EAAE,KAAK,IAAI,EAAE;IACzG,MAAM,IAAI,GAAG,MAAM,UAAU,CAAC;MAC5B,IAAI,EAAE,4FAA4F;KACnG,CAAC,CAAC;IACH,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,4CAA4C,CAAC,CAAC;IAE5E,MAAM,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;IACjC,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;IAE5B,MAAM,CAAC,KAAK,CAAC,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC;EAC3C,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,4DAA4D,EAAE,KAAK,IAAI,EAAE;IAC1E,MAAM,IAAI,GAAG,MAAM,UAAU,CAAC;MAC5B,IAAI,EAAE,kHAAkH;KACzH,CAAC,CAAC;IACH,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,4CAA4C,CAAC,CAAC;IAE5E,MAAM,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IAChC,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;IAE5B,MAAM,CAAC,KAAK,CAAC,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC;EAC5C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newE2EPage } from \"@stencil/core/testing\";\n\nbeforeAll(() => {\n jest.spyOn(console, \"warn\").mockImplementation(jest.fn());\n});\n\ndescribe(\"ic-loading-indicator component\", () => {\n it(\"should change the label after 8 seconds if a string with forward slashes is passed in\", async () => {\n const page = await newE2EPage({\n html: `<ic-loading-indicator label=\"First label/Second label/Third label\"></ic-loading-indicator>`,\n });\n const label = await page.find(\"ic-loading-indicator >>> #ic-loading-label\");\n\n await page.waitForTimeout(8000);\n await page.waitForChanges();\n\n expect(label).toEqualText(\"Second label\");\n });\n\n it(\"should change the label back to the first in the string after the last has been displayed\", async () => {\n const page = await newE2EPage({\n html: `<ic-loading-indicator label=\"First label/Second label/Third label\"></ic-loading-indicator>`,\n });\n const label = await page.find(\"ic-loading-indicator >>> #ic-loading-label\");\n\n await page.waitForTimeout(24000);\n await page.waitForChanges();\n\n expect(label).toEqualText(\"First label\");\n });\n\n it(\"should change the label after the specified amount of time\", async () => {\n const page = await newE2EPage({\n html: `<ic-loading-indicator label=\"First label/Second label/Third label\" label-duration=\"2000\"></ic-loading-indicator>`,\n });\n const label = await page.find(\"ic-loading-indicator >>> #ic-loading-label\");\n\n await page.waitForTimeout(2000);\n await page.waitForChanges();\n\n expect(label).toEqualText(\"Second label\");\n });\n});\n"]}
|