@ukic/web-components 3.0.0-alpha.9 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/cjs/app-globals-3a1e7e63.js +7 -0
- package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
- package/dist/cjs/core.cjs.js +13 -11
- package/dist/cjs/core.cjs.js.map +1 -1
- package/dist/cjs/{helpers-eca4c27e.js → helpers-a0a128bd.js} +71 -26
- package/dist/cjs/helpers-a0a128bd.js.map +1 -0
- package/dist/cjs/ic-accordion-group.cjs.entry.js +31 -14
- package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-accordion.cjs.entry.js +65 -42
- package/dist/cjs/ic-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-alert.cjs.entry.js +38 -17
- package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +29 -15
- package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-badge.cjs.entry.js +60 -18
- package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +53 -37
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +38 -23
- package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +304 -144
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card-vertical.cjs.entry.js +54 -33
- package/dist/cjs/ic-card-vertical.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +33 -10
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +49 -30
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +45 -24
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-classification-banner.cjs.entry.js +22 -6
- package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-list.cjs.entry.js +11 -5
- package/dist/cjs/ic-data-list.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +28 -18
- package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-dialog.cjs.entry.js +164 -115
- package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-divider.cjs.entry.js +35 -15
- package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-empty-state.cjs.entry.js +19 -11
- package/dist/cjs/ic-empty-state.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +8 -8
- package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +12 -11
- package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +32 -19
- package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +29 -17
- package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +32 -20
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +126 -68
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +45 -17
- package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-link.cjs.entry.js +29 -22
- package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +5 -5
- package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js +21 -19
- package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +26 -20
- package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +63 -39
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +70 -49
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +55 -33
- package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +49 -28
- package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination-item.cjs.entry.js +28 -15
- package/dist/cjs/ic-pagination-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination.cjs.entry.js +61 -28
- package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +74 -42
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +55 -29
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +36 -24
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +154 -64
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-section-container.cjs.entry.js +12 -5
- package/dist/cjs/ic-section-container.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-select.cjs.entry.js +234 -137
- package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +107 -71
- package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-skeleton.cjs.entry.js +11 -4
- package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-skip-link.cjs.entry.js +55 -0
- package/dist/cjs/ic-skip-link.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-status-tag.cjs.entry.js +26 -7
- package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +35 -33
- package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +50 -35
- package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +50 -22
- package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-context.cjs.entry.js +45 -26
- package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +14 -9
- package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +16 -12
- package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +22 -16
- package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-text-field.cjs.entry.js +205 -76
- package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +13 -7
- package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast-region.cjs.entry.js +2 -3
- package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +30 -22
- package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js +61 -29
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button.cjs.entry.js +82 -50
- package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +59 -34
- package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +53 -27
- package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
- package/dist/cjs/index-d337cd8a.js +2611 -0
- package/dist/cjs/index-d337cd8a.js.map +1 -0
- package/dist/cjs/loader.cjs.js +5 -3
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +6 -5
- package/dist/collection/components/ic-accordion/ic-accordion.js +80 -46
- package/dist/collection/components/ic-accordion/ic-accordion.js.map +1 -1
- package/dist/collection/components/ic-accordion/ic-accordion.stories.js +611 -0
- package/dist/collection/components/ic-accordion-group/ic-accordion-group.js +49 -21
- package/dist/collection/components/ic-accordion-group/ic-accordion-group.js.map +1 -1
- package/dist/collection/components/ic-alert/ic-alert.css +1 -1
- package/dist/collection/components/ic-alert/ic-alert.js +58 -22
- package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
- package/dist/collection/components/ic-alert/ic-alert.stories.js +271 -0
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.css +49 -18
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +59 -14
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +1 -1
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.stories.js +216 -0
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.types.js.map +1 -1
- package/dist/collection/components/ic-badge/ic-badge.css +4 -0
- package/dist/collection/components/ic-badge/ic-badge.js +104 -29
- package/dist/collection/components/ic-badge/ic-badge.js.map +1 -1
- package/dist/collection/components/ic-badge/ic-badge.stories.js +1092 -0
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.css +14 -0
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +51 -25
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +63 -40
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.stories.js +362 -0
- package/dist/collection/components/ic-button/ic-button.css +31 -27
- package/dist/collection/components/ic-button/ic-button.js +269 -98
- package/dist/collection/components/ic-button/ic-button.js.map +1 -1
- package/dist/collection/components/ic-button/ic-button.stories.js +2387 -0
- package/dist/collection/components/ic-card-vertical/ic-card-vertical.css +6 -1
- package/dist/collection/components/ic-card-vertical/ic-card-vertical.js +88 -42
- package/dist/collection/components/ic-card-vertical/ic-card-vertical.js.map +1 -1
- package/dist/collection/components/ic-card-vertical/ic-card-vertical.stories.js +1050 -0
- package/dist/collection/components/ic-checkbox/ic-checkbox.css +29 -0
- package/dist/collection/components/ic-checkbox/ic-checkbox.js +91 -45
- package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +4 -0
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +63 -21
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.stories.js +726 -0
- package/dist/collection/components/ic-chip/ic-chip.css +2 -2
- package/dist/collection/components/ic-chip/ic-chip.js +67 -30
- package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
- package/dist/collection/components/ic-chip/ic-chip.stories.js +980 -0
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.css +4 -0
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +33 -8
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +1 -1
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.stories.js +131 -0
- package/dist/collection/components/ic-data-list/ic-data-list.js +18 -7
- package/dist/collection/components/ic-data-list/ic-data-list.js.map +1 -1
- package/dist/collection/components/ic-data-list/ic-data-list.stories.js +493 -0
- package/dist/collection/components/ic-data-row/ic-data-row.js +38 -21
- package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -1
- package/dist/collection/components/ic-dialog/ic-dialog.css +0 -6
- package/dist/collection/components/ic-dialog/ic-dialog.js +218 -146
- package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -1
- package/dist/collection/components/ic-dialog/ic-dialog.stories.js +1118 -0
- package/dist/collection/components/ic-divider/ic-divider.css +23 -69
- package/dist/collection/components/ic-divider/ic-divider.js +55 -22
- package/dist/collection/components/ic-divider/ic-divider.js.map +1 -1
- package/dist/collection/components/ic-divider/ic-divider.stories.js +394 -0
- package/dist/collection/components/ic-empty-state/ic-empty-state.css +15 -0
- package/dist/collection/components/ic-empty-state/ic-empty-state.js +58 -13
- package/dist/collection/components/ic-empty-state/ic-empty-state.js.map +1 -1
- package/dist/collection/components/ic-empty-state/ic-empty-state.stories.js +404 -0
- package/dist/collection/components/ic-footer/ic-footer.js +49 -25
- package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
- package/dist/collection/components/ic-footer/ic-footer.stories.js +384 -0
- package/dist/collection/components/ic-footer-link/ic-footer-link.css +18 -0
- package/dist/collection/components/ic-footer-link/ic-footer-link.js +26 -15
- package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +6 -5
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -1
- package/dist/collection/components/ic-hero/ic-hero.css +1 -1
- package/dist/collection/components/ic-hero/ic-hero.js +54 -25
- package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
- package/dist/collection/components/ic-hero/ic-hero.stories.js +448 -0
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +40 -21
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -1
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +11 -1
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +55 -20
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
- package/dist/collection/components/ic-input-container/ic-input-container.js +16 -6
- package/dist/collection/components/ic-input-container/ic-input-container.js.map +1 -1
- package/dist/collection/components/ic-input-label/ic-input-label.js +48 -11
- package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -1
- package/dist/collection/components/ic-input-validation/ic-input-validation.js +31 -14
- package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -1
- package/dist/collection/components/ic-link/ic-link.css +17 -8
- package/dist/collection/components/ic-link/ic-link.js +49 -28
- package/dist/collection/components/ic-link/ic-link.js.map +1 -1
- package/dist/collection/components/ic-link/ic-link.stories.js +85 -0
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +124 -66
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.stories.js +464 -0
- package/dist/collection/components/ic-menu/ic-menu.js +136 -74
- package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
- package/dist/collection/components/ic-menu/ic-menu.types.js.map +1 -1
- package/dist/collection/components/ic-menu-group/ic-menu-group.js +4 -5
- package/dist/collection/components/ic-menu-group/ic-menu-group.js.map +1 -1
- package/dist/collection/components/ic-menu-item/ic-menu-item.css +1 -0
- package/dist/collection/components/ic-menu-item/ic-menu-item.js +53 -28
- package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -1
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.css +4 -0
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +44 -23
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +47 -49
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +126 -41
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.types.js +2 -0
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.types.js.map +1 -0
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +8 -37
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +107 -63
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +2 -2
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +61 -34
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -1
- package/dist/collection/components/ic-page-header/ic-page-header.js +72 -34
- package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
- package/dist/collection/components/ic-page-header/ic-page-header.stories.js +823 -0
- package/dist/collection/components/ic-pagination/ic-pagination.css +10 -2
- package/dist/collection/components/ic-pagination/ic-pagination.js +100 -44
- package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -1
- package/dist/collection/components/ic-pagination/ic-pagination.stories.js +164 -0
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.css +19 -3
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +48 -22
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +1 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +97 -52
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.stories.js +573 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +90 -43
- package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.stories.js +474 -0
- package/dist/collection/components/ic-radio-option/ic-radio-option.css +20 -0
- package/dist/collection/components/ic-radio-option/ic-radio-option.js +64 -33
- package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.css +6 -13
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +252 -101
- package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.stories.js +593 -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.js +15 -5
- package/dist/collection/components/ic-section-container/ic-section-container.js.map +1 -1
- package/dist/collection/components/ic-section-container/ic-section-container.stories.js +62 -0
- package/dist/collection/components/ic-select/ic-select.css +12 -2
- package/dist/collection/components/ic-select/ic-select.js +333 -177
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-select/ic-select_(multi).stories.js +892 -0
- package/dist/collection/components/ic-select/ic-select_(searchable).stories.js +965 -0
- package/dist/collection/components/ic-select/ic-select_(single).stories.js +790 -0
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +11 -3
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +146 -89
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.stories.js +2547 -0
- package/dist/collection/components/ic-skeleton/ic-skeleton.js +14 -4
- package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -1
- package/dist/collection/components/ic-skeleton/ic-skeleton.stories.js +143 -0
- package/dist/collection/components/ic-skip-link/ic-skip-link.css +46 -0
- package/dist/collection/components/ic-skip-link/ic-skip-link.js +203 -0
- package/dist/collection/components/ic-skip-link/ic-skip-link.js.map +1 -0
- package/dist/collection/components/ic-skip-link/ic-skip-link.stories.js +504 -0
- package/dist/collection/components/ic-status-tag/ic-status-tag.css +2 -1
- package/dist/collection/components/ic-status-tag/ic-status-tag.js +41 -9
- package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
- package/dist/collection/components/ic-status-tag/ic-status-tag.stories.js +196 -0
- package/dist/collection/components/ic-step/ic-step.css +8 -31
- package/dist/collection/components/ic-step/ic-step.js +67 -40
- package/dist/collection/components/ic-step/ic-step.js.map +1 -1
- package/dist/collection/components/ic-stepper/ic-stepper.js +61 -37
- package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
- package/dist/collection/components/ic-stepper/ic-stepper.stories.js +281 -0
- package/dist/collection/components/ic-switch/ic-switch.js +72 -27
- package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
- package/dist/collection/components/ic-switch/ic-switch.stories.js +149 -0
- package/dist/collection/components/ic-tab/ic-tab.css +13 -3
- package/dist/collection/components/ic-tab/ic-tab.js +40 -21
- package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
- package/dist/collection/components/ic-tab-context/ic-tab-context.js +60 -31
- package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
- package/dist/collection/components/ic-tab-context/ic-tabs.stories.js +316 -0
- package/dist/collection/components/ic-tab-group/ic-tab-group.js +21 -9
- package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -1
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.css +5 -1
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +50 -14
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -1
- package/dist/collection/components/ic-text-field/ic-text-field.css +1 -0
- package/dist/collection/components/ic-text-field/ic-text-field.js +432 -148
- package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
- package/dist/collection/components/ic-text-field/ic-text-field.stories.js +1048 -0
- package/dist/collection/components/ic-theme/ic-theme.js +19 -9
- package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
- package/dist/collection/components/ic-theme/ic-theme.stories.js +434 -0
- package/dist/collection/components/ic-toast/ic-toast.css +1 -1
- package/dist/collection/components/ic-toast/ic-toast.js +49 -28
- package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
- package/dist/collection/components/ic-toast/ic-toast.stories.js +396 -0
- package/dist/collection/components/ic-toast-region/ic-toast-region.js +6 -5
- package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -1
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.css +8 -17
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +116 -61
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.js.map +1 -1
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.stories.js +427 -0
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +90 -35
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js.map +1 -1
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.stories.js +585 -0
- package/dist/collection/components/ic-tooltip/ic-tooltip.js +67 -38
- package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
- package/dist/collection/components/ic-tooltip/ic-tooltip.stories.js +366 -0
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +9 -5
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +89 -47
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.stories.js +1091 -0
- package/dist/collection/components/ic-typography/ic-typography.js +73 -32
- package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
- package/dist/collection/components/ic-typography/ic-typography.stories.js +447 -0
- package/dist/collection/patterns/top-nav-content-footer.stories.js +109 -0
- package/dist/collection/patterns/z-index.stories.js +474 -0
- package/dist/collection/utils/constants.js +39 -0
- package/dist/collection/utils/constants.js.map +1 -1
- package/dist/collection/utils/helpers.js +29 -24
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/testa11y.helpers.js +2 -1
- package/dist/collection/utils/testa11y.helpers.js.map +1 -1
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/helpers.js +69 -25
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/ic-accordion-group.js +29 -12
- package/dist/components/ic-accordion-group.js.map +1 -1
- package/dist/components/ic-accordion.js +63 -40
- package/dist/components/ic-accordion.js.map +1 -1
- package/dist/components/ic-alert.js +36 -15
- package/dist/components/ic-alert.js.map +1 -1
- package/dist/components/ic-back-to-top.js +28 -13
- package/dist/components/ic-back-to-top.js.map +1 -1
- package/dist/components/ic-badge.js +60 -18
- package/dist/components/ic-badge.js.map +1 -1
- package/dist/components/ic-breadcrumb-group.js +51 -35
- package/dist/components/ic-breadcrumb-group.js.map +1 -1
- package/dist/components/ic-breadcrumb2.js +36 -21
- package/dist/components/ic-breadcrumb2.js.map +1 -1
- package/dist/components/ic-button2.js +171 -63
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card-vertical.js +52 -31
- package/dist/components/ic-card-vertical.js.map +1 -1
- package/dist/components/ic-checkbox-group.js +31 -8
- package/dist/components/ic-checkbox-group.js.map +1 -1
- package/dist/components/ic-checkbox.js +47 -28
- package/dist/components/ic-checkbox.js.map +1 -1
- package/dist/components/ic-chip.js +43 -22
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-classification-banner.js +21 -5
- package/dist/components/ic-classification-banner.js.map +1 -1
- package/dist/components/ic-data-list.js +10 -4
- package/dist/components/ic-data-list.js.map +1 -1
- package/dist/components/ic-data-row.js +27 -17
- package/dist/components/ic-data-row.js.map +1 -1
- package/dist/components/ic-dialog.js +165 -116
- package/dist/components/ic-dialog.js.map +1 -1
- package/dist/components/ic-divider2.js +33 -13
- package/dist/components/ic-divider2.js.map +1 -1
- package/dist/components/ic-empty-state.js +19 -10
- package/dist/components/ic-empty-state.js.map +1 -1
- package/dist/components/ic-footer-link-group.js +6 -6
- package/dist/components/ic-footer-link-group.js.map +1 -1
- package/dist/components/ic-footer-link.js +10 -9
- package/dist/components/ic-footer-link.js.map +1 -1
- package/dist/components/ic-footer.js +31 -18
- package/dist/components/ic-footer.js.map +1 -1
- package/dist/components/ic-hero.js +27 -15
- package/dist/components/ic-hero.js.map +1 -1
- package/dist/components/ic-horizontal-scroll2.js +30 -18
- package/dist/components/ic-horizontal-scroll2.js.map +1 -1
- package/dist/components/ic-input-component-container2.js +31 -9
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-input-container2.js +12 -5
- package/dist/components/ic-input-container2.js.map +1 -1
- package/dist/components/ic-input-label2.js +28 -8
- package/dist/components/ic-input-label2.js.map +1 -1
- package/dist/components/ic-input-validation2.js +15 -7
- package/dist/components/ic-input-validation2.js.map +1 -1
- package/dist/components/ic-link2.js +27 -20
- package/dist/components/ic-link2.js.map +1 -1
- package/dist/components/ic-loading-indicator2.js +89 -54
- package/dist/components/ic-loading-indicator2.js.map +1 -1
- package/dist/components/ic-menu-group.js +3 -3
- package/dist/components/ic-menu-group.js.map +1 -1
- package/dist/components/ic-menu-item2.js +19 -17
- package/dist/components/ic-menu-item2.js.map +1 -1
- package/dist/components/ic-menu2.js +81 -52
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-button.js +24 -18
- package/dist/components/ic-navigation-button.js.map +1 -1
- package/dist/components/ic-navigation-group.js +64 -39
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js +69 -48
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-navigation-menu2.js +54 -32
- package/dist/components/ic-navigation-menu2.js.map +1 -1
- package/dist/components/ic-page-header.js +48 -27
- package/dist/components/ic-page-header.js.map +1 -1
- package/dist/components/ic-pagination-item2.js +26 -13
- package/dist/components/ic-pagination-item2.js.map +1 -1
- package/dist/components/ic-pagination.js +59 -26
- package/dist/components/ic-pagination.js.map +1 -1
- package/dist/components/ic-popover-menu.js +72 -40
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-radio-group.js +53 -27
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +34 -22
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +152 -62
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-section-container2.js +11 -4
- package/dist/components/ic-section-container2.js.map +1 -1
- package/dist/components/ic-select.js +232 -135
- package/dist/components/ic-select.js.map +1 -1
- package/dist/components/ic-side-navigation.js +106 -70
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-skeleton.js +10 -3
- package/dist/components/ic-skeleton.js.map +1 -1
- package/dist/components/ic-skip-link.d.ts +11 -0
- package/dist/components/ic-skip-link.js +83 -0
- package/dist/components/ic-skip-link.js.map +1 -0
- package/dist/components/ic-status-tag.js +24 -5
- package/dist/components/ic-status-tag.js.map +1 -1
- package/dist/components/ic-step.js +33 -31
- package/dist/components/ic-step.js.map +1 -1
- package/dist/components/ic-stepper.js +48 -33
- package/dist/components/ic-stepper.js.map +1 -1
- package/dist/components/ic-switch.js +48 -20
- package/dist/components/ic-switch.js.map +1 -1
- package/dist/components/ic-tab-context.js +44 -25
- package/dist/components/ic-tab-context.js.map +1 -1
- package/dist/components/ic-tab-group.js +12 -7
- package/dist/components/ic-tab-group.js.map +1 -1
- package/dist/components/ic-tab-panel.js +16 -11
- package/dist/components/ic-tab-panel.js.map +1 -1
- package/dist/components/ic-tab.js +20 -14
- package/dist/components/ic-tab.js.map +1 -1
- package/dist/components/ic-text-field.js +208 -75
- package/dist/components/ic-text-field.js.map +1 -1
- package/dist/components/ic-theme.js +12 -6
- package/dist/components/ic-theme.js.map +1 -1
- package/dist/components/ic-toast-region.js +1 -2
- package/dist/components/ic-toast-region.js.map +1 -1
- package/dist/components/ic-toast.js +29 -21
- package/dist/components/ic-toast.js.map +1 -1
- package/dist/components/ic-toggle-button-group.js +59 -27
- package/dist/components/ic-toggle-button-group.js.map +1 -1
- package/dist/components/ic-toggle-button.js +81 -49
- package/dist/components/ic-toggle-button.js.map +1 -1
- package/dist/components/ic-tooltip2.js +42 -25
- package/dist/components/ic-tooltip2.js.map +1 -1
- package/dist/components/ic-top-navigation.js +58 -33
- package/dist/components/ic-top-navigation.js.map +1 -1
- package/dist/components/ic-typography2.js +51 -25
- package/dist/components/ic-typography2.js.map +1 -1
- package/dist/core/core.css +395 -264
- 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-06d97789.entry.js +2 -0
- package/dist/core/p-06d97789.entry.js.map +1 -0
- package/dist/core/{p-27274ca8.entry.js → p-071f4748.entry.js} +2 -2
- package/dist/core/p-071f4748.entry.js.map +1 -0
- package/dist/core/p-09070f61.entry.js +2 -0
- package/dist/core/p-09070f61.entry.js.map +1 -0
- package/dist/core/p-0c0ac69d.entry.js +2 -0
- package/dist/core/p-0c0ac69d.entry.js.map +1 -0
- package/dist/core/p-0d016565.entry.js +2 -0
- package/dist/core/p-0d016565.entry.js.map +1 -0
- package/dist/core/p-0e96d4d8.entry.js +2 -0
- package/dist/core/p-0e96d4d8.entry.js.map +1 -0
- package/dist/core/p-10cd26dc.entry.js +2 -0
- package/dist/core/p-10cd26dc.entry.js.map +1 -0
- package/dist/core/{p-a87d13b3.entry.js → p-110486f0.entry.js} +2 -2
- package/dist/core/p-110486f0.entry.js.map +1 -0
- package/dist/core/p-116ad73d.entry.js +2 -0
- package/dist/core/p-116ad73d.entry.js.map +1 -0
- package/dist/core/{p-8b554299.entry.js → p-1171a945.entry.js} +2 -2
- package/dist/core/p-1171a945.entry.js.map +1 -0
- package/dist/core/{p-0cb72d37.entry.js → p-17cf7b50.entry.js} +2 -2
- package/dist/core/p-17cf7b50.entry.js.map +1 -0
- package/dist/core/p-1ac08e6d.entry.js +2 -0
- package/dist/core/p-1ac08e6d.entry.js.map +1 -0
- package/dist/core/p-1f455336.entry.js +2 -0
- package/dist/core/p-1f455336.entry.js.map +1 -0
- package/dist/core/p-20c4d90b.entry.js +2 -0
- package/dist/core/p-20c4d90b.entry.js.map +1 -0
- package/dist/core/{p-641e244d.entry.js → p-2537f33e.entry.js} +2 -2
- package/dist/core/p-2537f33e.entry.js.map +1 -0
- package/dist/core/{p-87aa30b4.entry.js → p-264ce7a0.entry.js} +2 -2
- package/dist/core/p-264ce7a0.entry.js.map +1 -0
- package/dist/core/p-28656111.entry.js +2 -0
- package/dist/core/p-28656111.entry.js.map +1 -0
- package/dist/core/p-2b1a331b.entry.js +2 -0
- package/dist/core/p-2b1a331b.entry.js.map +1 -0
- package/dist/core/p-33243fff.entry.js +2 -0
- package/dist/core/p-33243fff.entry.js.map +1 -0
- package/dist/core/p-37df68fe.entry.js +2 -0
- package/dist/core/p-37df68fe.entry.js.map +1 -0
- package/dist/core/p-3b185c32.js.map +1 -1
- package/dist/core/p-426ec638.js.map +1 -1
- package/dist/core/{p-199b9196.entry.js → p-44e32417.entry.js} +2 -2
- package/dist/core/p-44e32417.entry.js.map +1 -0
- package/dist/core/{p-6e630778.entry.js → p-45595f98.entry.js} +2 -2
- package/dist/core/p-45595f98.entry.js.map +1 -0
- package/dist/core/p-49768069.entry.js +2 -0
- package/dist/core/p-49768069.entry.js.map +1 -0
- package/dist/core/p-4c68494c.entry.js +2 -0
- package/dist/core/p-4c68494c.entry.js.map +1 -0
- package/dist/core/{p-f37c6a76.entry.js → p-4f2a1950.entry.js} +2 -2
- package/dist/core/p-4f2a1950.entry.js.map +1 -0
- package/dist/core/p-50f4d151.entry.js +2 -0
- package/dist/core/p-50f4d151.entry.js.map +1 -0
- package/dist/core/p-55a37101.entry.js +2 -0
- package/dist/core/p-55a37101.entry.js.map +1 -0
- package/dist/core/{p-1223d0e9.entry.js → p-5c349c9d.entry.js} +2 -2
- package/dist/core/p-5c349c9d.entry.js.map +1 -0
- package/dist/core/p-5e1fd097.entry.js +2 -0
- package/dist/core/p-5e1fd097.entry.js.map +1 -0
- package/dist/core/p-68a5aaff.js.map +1 -1
- package/dist/core/p-69e4daec.entry.js +2 -0
- package/dist/core/p-69e4daec.entry.js.map +1 -0
- package/dist/core/p-701696aa.entry.js +2 -0
- package/dist/core/p-701696aa.entry.js.map +1 -0
- package/dist/core/{p-8452846e.entry.js → p-729745d3.entry.js} +2 -2
- package/dist/core/p-729745d3.entry.js.map +1 -0
- package/dist/core/{p-1bf956cb.entry.js → p-73fc198f.entry.js} +2 -2
- package/dist/core/p-73fc198f.entry.js.map +1 -0
- package/dist/core/p-74600ed8.entry.js +2 -0
- package/dist/core/p-74600ed8.entry.js.map +1 -0
- package/dist/core/p-78e7a859.entry.js +2 -0
- package/dist/core/p-78e7a859.entry.js.map +1 -0
- package/dist/core/{p-419d3378.entry.js → p-7e79bd0e.entry.js} +2 -2
- package/dist/core/p-7e79bd0e.entry.js.map +1 -0
- package/dist/core/p-7eaf8da8.entry.js +2 -0
- package/dist/core/p-7eaf8da8.entry.js.map +1 -0
- package/dist/core/p-811d447b.entry.js +2 -0
- package/dist/core/p-811d447b.entry.js.map +1 -0
- package/dist/core/p-85734ebf.entry.js +2 -0
- package/dist/core/p-85734ebf.entry.js.map +1 -0
- package/dist/core/p-85b7d931.entry.js +2 -0
- package/dist/core/p-85b7d931.entry.js.map +1 -0
- package/dist/core/{p-26bc7c62.entry.js → p-8856dff4.entry.js} +2 -2
- package/dist/core/p-8856dff4.entry.js.map +1 -0
- package/dist/core/p-8b268274.entry.js +2 -0
- package/dist/core/p-8b268274.entry.js.map +1 -0
- package/dist/core/p-8e4e97b4.js +3 -0
- package/dist/core/p-8e4e97b4.js.map +1 -0
- package/dist/core/p-972671ea.entry.js +2 -0
- package/dist/core/p-972671ea.entry.js.map +1 -0
- package/dist/core/{p-6c1cf351.entry.js → p-98328cb9.entry.js} +2 -2
- package/dist/core/p-98328cb9.entry.js.map +1 -0
- package/dist/core/{p-5be2c26a.entry.js → p-a103068b.entry.js} +2 -2
- package/dist/core/p-a103068b.entry.js.map +1 -0
- package/dist/core/{p-e4cb5585.entry.js → p-a20a7cd3.entry.js} +2 -2
- package/dist/core/p-a20a7cd3.entry.js.map +1 -0
- package/dist/core/p-a22658fb.entry.js +2 -0
- package/dist/core/p-a22658fb.entry.js.map +1 -0
- package/dist/core/{p-5dcc0489.entry.js → p-a55e7988.entry.js} +2 -2
- package/dist/core/p-a55e7988.entry.js.map +1 -0
- package/dist/core/{p-20ac0d2a.entry.js → p-a71055c9.entry.js} +2 -2
- package/dist/core/p-a71055c9.entry.js.map +1 -0
- package/dist/core/p-a794b724.entry.js +2 -0
- package/dist/core/p-a794b724.entry.js.map +1 -0
- package/dist/core/p-b21b4fea.entry.js +2 -0
- package/dist/core/p-b21b4fea.entry.js.map +1 -0
- package/dist/core/p-b953b22f.entry.js +2 -0
- package/dist/core/p-b953b22f.entry.js.map +1 -0
- package/dist/core/p-c2e091d7.js.map +1 -1
- package/dist/core/p-c9726fbd.entry.js +2 -0
- package/dist/core/p-c9726fbd.entry.js.map +1 -0
- package/dist/core/p-d981598e.entry.js +2 -0
- package/dist/core/p-d981598e.entry.js.map +1 -0
- package/dist/core/p-d9aec0dd.entry.js +2 -0
- package/dist/core/p-d9aec0dd.entry.js.map +1 -0
- package/dist/core/p-e1255160.js +2 -0
- package/dist/core/p-e1255160.js.map +1 -0
- package/dist/core/p-ed8957da.js +2 -0
- package/dist/core/p-ed8957da.js.map +1 -0
- package/dist/core/p-f074ef5b.js.map +1 -1
- package/dist/core/p-f3315216.entry.js +2 -0
- package/dist/core/p-f3315216.entry.js.map +1 -0
- package/dist/core/p-f34efc17.entry.js +2 -0
- package/dist/core/p-f34efc17.entry.js.map +1 -0
- package/dist/core/p-f43f411a.entry.js +2 -0
- package/dist/core/p-f43f411a.entry.js.map +1 -0
- package/dist/core/{p-96b4ca6e.entry.js → p-fa02a267.entry.js} +2 -2
- package/dist/core/p-fa02a267.entry.js.map +1 -0
- package/dist/core/p-ff995eb8.entry.js +2 -0
- package/dist/core/p-ff995eb8.entry.js.map +1 -0
- package/dist/esm/app-globals-0f993ce5.js +5 -0
- package/dist/esm/app-globals-0f993ce5.js.map +1 -0
- package/dist/esm/core.js +14 -12
- package/dist/esm/core.js.map +1 -1
- package/dist/esm/{helpers-2624c32c.js → helpers-dd035d0d.js} +71 -27
- package/dist/esm/helpers-dd035d0d.js.map +1 -0
- package/dist/esm/ic-accordion-group.entry.js +31 -14
- package/dist/esm/ic-accordion-group.entry.js.map +1 -1
- package/dist/esm/ic-accordion.entry.js +65 -42
- package/dist/esm/ic-accordion.entry.js.map +1 -1
- package/dist/esm/ic-alert.entry.js +38 -17
- package/dist/esm/ic-alert.entry.js.map +1 -1
- package/dist/esm/ic-back-to-top.entry.js +29 -15
- package/dist/esm/ic-back-to-top.entry.js.map +1 -1
- package/dist/esm/ic-badge.entry.js +60 -18
- package/dist/esm/ic-badge.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb-group.entry.js +53 -37
- package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +38 -23
- package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ic-button_3.entry.js +304 -144
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card-vertical.entry.js +54 -33
- package/dist/esm/ic-card-vertical.entry.js.map +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +33 -10
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ic-checkbox.entry.js +49 -30
- package/dist/esm/ic-checkbox.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +45 -24
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-classification-banner.entry.js +22 -6
- package/dist/esm/ic-classification-banner.entry.js.map +1 -1
- package/dist/esm/ic-data-list.entry.js +11 -5
- package/dist/esm/ic-data-list.entry.js.map +1 -1
- package/dist/esm/ic-data-row.entry.js +28 -18
- package/dist/esm/ic-data-row.entry.js.map +1 -1
- package/dist/esm/ic-dialog.entry.js +164 -115
- package/dist/esm/ic-dialog.entry.js.map +1 -1
- package/dist/esm/ic-divider.entry.js +35 -15
- package/dist/esm/ic-divider.entry.js.map +1 -1
- package/dist/esm/ic-empty-state.entry.js +19 -11
- package/dist/esm/ic-empty-state.entry.js.map +1 -1
- package/dist/esm/ic-footer-link-group.entry.js +8 -8
- package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
- package/dist/esm/ic-footer-link.entry.js +12 -11
- package/dist/esm/ic-footer-link.entry.js.map +1 -1
- package/dist/esm/ic-footer.entry.js +32 -19
- package/dist/esm/ic-footer.entry.js.map +1 -1
- package/dist/esm/ic-hero.entry.js +29 -17
- package/dist/esm/ic-hero.entry.js.map +1 -1
- package/dist/esm/ic-horizontal-scroll.entry.js +32 -20
- package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
- package/dist/esm/ic-input-component-container_3.entry.js +126 -68
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +45 -17
- package/dist/esm/ic-input-label_2.entry.js.map +1 -1
- package/dist/esm/ic-link.entry.js +29 -22
- package/dist/esm/ic-link.entry.js.map +1 -1
- package/dist/esm/ic-menu-group.entry.js +5 -5
- package/dist/esm/ic-menu-group.entry.js.map +1 -1
- package/dist/esm/ic-menu-item.entry.js +21 -19
- package/dist/esm/ic-menu-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-button.entry.js +26 -20
- package/dist/esm/ic-navigation-button.entry.js.map +1 -1
- package/dist/esm/ic-navigation-group.entry.js +63 -39
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +70 -49
- package/dist/esm/ic-navigation-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +55 -33
- package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
- package/dist/esm/ic-page-header.entry.js +49 -28
- package/dist/esm/ic-page-header.entry.js.map +1 -1
- package/dist/esm/ic-pagination-item.entry.js +28 -15
- package/dist/esm/ic-pagination-item.entry.js.map +1 -1
- package/dist/esm/ic-pagination.entry.js +61 -28
- package/dist/esm/ic-pagination.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +74 -42
- package/dist/esm/ic-popover-menu.entry.js.map +1 -1
- package/dist/esm/ic-radio-group.entry.js +55 -29
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +36 -24
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +154 -64
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-section-container.entry.js +12 -5
- package/dist/esm/ic-section-container.entry.js.map +1 -1
- package/dist/esm/ic-select.entry.js +234 -137
- package/dist/esm/ic-select.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +107 -71
- package/dist/esm/ic-side-navigation.entry.js.map +1 -1
- package/dist/esm/ic-skeleton.entry.js +11 -4
- package/dist/esm/ic-skeleton.entry.js.map +1 -1
- package/dist/esm/ic-skip-link.entry.js +51 -0
- package/dist/esm/ic-skip-link.entry.js.map +1 -0
- package/dist/esm/ic-status-tag.entry.js +26 -7
- package/dist/esm/ic-status-tag.entry.js.map +1 -1
- package/dist/esm/ic-step.entry.js +35 -33
- package/dist/esm/ic-step.entry.js.map +1 -1
- package/dist/esm/ic-stepper.entry.js +50 -35
- package/dist/esm/ic-stepper.entry.js.map +1 -1
- package/dist/esm/ic-switch.entry.js +50 -22
- package/dist/esm/ic-switch.entry.js.map +1 -1
- package/dist/esm/ic-tab-context.entry.js +45 -26
- package/dist/esm/ic-tab-context.entry.js.map +1 -1
- package/dist/esm/ic-tab-group.entry.js +14 -9
- package/dist/esm/ic-tab-group.entry.js.map +1 -1
- package/dist/esm/ic-tab-panel.entry.js +16 -12
- package/dist/esm/ic-tab-panel.entry.js.map +1 -1
- package/dist/esm/ic-tab.entry.js +22 -16
- package/dist/esm/ic-tab.entry.js.map +1 -1
- package/dist/esm/ic-text-field.entry.js +205 -76
- package/dist/esm/ic-text-field.entry.js.map +1 -1
- package/dist/esm/ic-theme.entry.js +13 -7
- package/dist/esm/ic-theme.entry.js.map +1 -1
- package/dist/esm/ic-toast-region.entry.js +2 -3
- package/dist/esm/ic-toast-region.entry.js.map +1 -1
- package/dist/esm/ic-toast.entry.js +30 -22
- package/dist/esm/ic-toast.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button-group.entry.js +61 -29
- package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button.entry.js +82 -50
- package/dist/esm/ic-toggle-button.entry.js.map +1 -1
- package/dist/esm/ic-top-navigation.entry.js +59 -34
- package/dist/esm/ic-top-navigation.entry.js.map +1 -1
- package/dist/esm/ic-typography.entry.js +53 -27
- package/dist/esm/ic-typography.entry.js.map +1 -1
- package/dist/esm/index-a7a720e7.js +2580 -0
- package/dist/esm/index-a7a720e7.js.map +1 -0
- package/dist/esm/loader.js +6 -4
- package/dist/esm/loader.js.map +1 -1
- package/dist/types/components/ic-accordion/ic-accordion.d.ts +3 -3
- package/dist/types/components/ic-accordion-group/ic-accordion-group.d.ts +5 -5
- package/dist/types/components/ic-alert/ic-alert.d.ts +1 -1
- package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +6 -2
- package/dist/types/components/ic-back-to-top/ic-back-to-top.types.d.ts +1 -0
- package/dist/types/components/ic-badge/ic-badge.d.ts +6 -1
- package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +2 -1
- package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +2 -2
- package/dist/types/components/ic-button/ic-button.d.ts +7 -6
- package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +10 -10
- package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +7 -7
- package/dist/types/components/ic-data-list/ic-data-list.d.ts +1 -1
- package/dist/types/components/ic-data-row/ic-data-row.d.ts +2 -2
- package/dist/types/components/ic-dialog/ic-dialog.d.ts +15 -11
- package/dist/types/components/ic-divider/ic-divider.d.ts +3 -3
- package/dist/types/components/ic-empty-state/ic-empty-state.d.ts +5 -1
- package/dist/types/components/ic-footer/ic-footer.d.ts +4 -4
- package/dist/types/components/ic-hero/ic-hero.d.ts +3 -3
- package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +6 -6
- package/dist/types/components/ic-input-label/ic-input-label.d.ts +2 -2
- package/dist/types/components/ic-input-validation/ic-input-validation.d.ts +4 -4
- package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +2 -2
- package/dist/types/components/ic-menu/ic-menu.d.ts +10 -10
- package/dist/types/components/ic-menu/ic-menu.types.d.ts +1 -1
- package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +2 -2
- package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +1 -1
- package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +18 -6
- package/dist/types/components/ic-navigation-group/ic-navigation-group.types.d.ts +6 -0
- package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +8 -8
- package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +5 -3
- package/dist/types/components/ic-pagination/ic-pagination.d.ts +9 -9
- package/dist/types/components/ic-pagination-item/ic-pagination-item.d.ts +4 -4
- package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +4 -4
- package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +9 -9
- package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +6 -6
- package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +12 -12
- 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 +20 -20
- package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +12 -12
- package/dist/types/components/ic-skip-link/ic-skip-link.d.ts +33 -0
- package/dist/types/components/ic-stepper/ic-stepper.d.ts +1 -1
- package/dist/types/components/ic-switch/ic-switch.d.ts +1 -1
- package/dist/types/components/ic-tab/ic-tab.d.ts +2 -2
- package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +7 -1
- package/dist/types/components/ic-text-field/ic-text-field.d.ts +51 -34
- package/dist/types/components/ic-theme/ic-theme.d.ts +2 -2
- package/dist/types/components/ic-toast/ic-toast.d.ts +3 -3
- package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +1 -1
- package/dist/types/components/ic-toggle-button/ic-toggle-button.d.ts +3 -3
- package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +1 -1
- package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +9 -9
- package/dist/types/components/ic-typography/ic-typography.d.ts +1 -1
- package/dist/types/components.d.ts +358 -215
- package/dist/types/stencil-public-runtime.d.ts +9 -10
- package/dist/types/utils/constants.d.ts +1 -0
- package/dist/types/utils/helpers.d.ts +10 -10
- package/dist/types/utils/types.d.ts +8 -4
- package/hydrate/index.d.ts +53 -12
- package/hydrate/index.js +32726 -20605
- package/hydrate/index.mjs +34407 -0
- package/hydrate/package.json +7 -1
- package/loader/cdn.js +1 -3
- package/loader/index.cjs.js +1 -3
- package/loader/index.d.ts +3 -0
- package/loader/index.es2017.js +1 -3
- package/loader/index.js +1 -3
- package/package.json +19 -13
- package/vscode-data.json +109 -339
- package/dist/cjs/helpers-eca4c27e.js.map +0 -1
- package/dist/cjs/index-f982899d.js +0 -3047
- package/dist/cjs/index-f982899d.js.map +0 -1
- package/dist/collection/components/ic-accordion/test/basic/ic-accordion.spec.js +0 -349
- package/dist/collection/components/ic-accordion/test/basic/ic-accordion.spec.js.map +0 -1
- package/dist/collection/components/ic-accordion-group/test/basic/ic-accordion-group.spec.js +0 -129
- package/dist/collection/components/ic-accordion-group/test/basic/ic-accordion-group.spec.js.map +0 -1
- package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js +0 -329
- package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js.map +0 -1
- package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js +0 -145
- package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js.map +0 -1
- package/dist/collection/components/ic-badge/test/basic/ic-badge.spec.js +0 -256
- package/dist/collection/components/ic-badge/test/basic/ic-badge.spec.js.map +0 -1
- package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js +0 -162
- package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js.map +0 -1
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js +0 -219
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js.map +0 -1
- package/dist/collection/components/ic-button/test/basic/ic-button.spec.js +0 -332
- package/dist/collection/components/ic-button/test/basic/ic-button.spec.js.map +0 -1
- package/dist/collection/components/ic-card-vertical/test/basic/ic-card-vertical.spec.js +0 -214
- package/dist/collection/components/ic-card-vertical/test/basic/ic-card-vertical.spec.js.map +0 -1
- package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js +0 -284
- package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +0 -1
- package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js +0 -188
- package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +0 -1
- package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js +0 -188
- package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js.map +0 -1
- package/dist/collection/components/ic-data-list/test/basic/ic-data-list.spec.js +0 -161
- package/dist/collection/components/ic-data-list/test/basic/ic-data-list.spec.js.map +0 -1
- package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js +0 -74
- package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js.map +0 -1
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js +0 -448
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js.map +0 -1
- package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js +0 -109
- package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js.map +0 -1
- package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js +0 -181
- package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js.map +0 -1
- package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js +0 -46
- package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js.map +0 -1
- package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js +0 -66
- package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js.map +0 -1
- package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js +0 -109
- package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +0 -1
- package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js +0 -223
- package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js.map +0 -1
- package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js +0 -172
- package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +0 -1
- package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js +0 -38
- package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js.map +0 -1
- package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js +0 -84
- package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js.map +0 -1
- package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js +0 -89
- package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js.map +0 -1
- package/dist/collection/components/ic-link/test/basic/ic-link.spec.js +0 -120
- package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +0 -1
- package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js +0 -149
- package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js.map +0 -1
- package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js +0 -1108
- package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +0 -1
- package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js +0 -94
- package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js.map +0 -1
- package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js +0 -121
- package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js.map +0 -1
- package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js +0 -95
- package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +0 -1
- package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js +0 -309
- package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js.map +0 -1
- package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js +0 -130
- package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js.map +0 -1
- package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js +0 -176
- package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js.map +0 -1
- package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js +0 -291
- package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js.map +0 -1
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js +0 -390
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js.map +0 -1
- package/dist/collection/components/ic-pagination-item/test/basic/ic-pagination-item.spec.js +0 -79
- package/dist/collection/components/ic-pagination-item/test/basic/ic-pagination-item.spec.js.map +0 -1
- package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js +0 -398
- package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js.map +0 -1
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js +0 -389
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +0 -1
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js +0 -553
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js.map +0 -1
- package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js +0 -69
- package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js.map +0 -1
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +0 -1672
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +0 -1
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js +0 -503
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js.map +0 -1
- package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js +0 -89
- package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js.map +0 -1
- package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js +0 -26
- package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js.map +0 -1
- package/dist/collection/components/ic-step/test/basic/ic-step.spec.js +0 -176
- package/dist/collection/components/ic-step/test/basic/ic-step.spec.js.map +0 -1
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js +0 -752
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +0 -1
- package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js +0 -93
- package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js.map +0 -1
- package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js +0 -175
- package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js.map +0 -1
- package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js +0 -390
- package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js.map +0 -1
- package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js +0 -50
- package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js.map +0 -1
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js +0 -312
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +0 -1
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js +0 -341
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js.map +0 -1
- package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js +0 -72
- package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js.map +0 -1
- package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js +0 -79
- package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js.map +0 -1
- package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js +0 -314
- package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js.map +0 -1
- package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js +0 -64
- package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js.map +0 -1
- package/dist/collection/components/ic-toggle-button/test/basic/ic-toggle-button.spec.js +0 -126
- package/dist/collection/components/ic-toggle-button/test/basic/ic-toggle-button.spec.js.map +0 -1
- package/dist/collection/components/ic-toggle-button-group/test/ic-toggle-button-group.spec.js +0 -337
- package/dist/collection/components/ic-toggle-button-group/test/ic-toggle-button-group.spec.js.map +0 -1
- package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js +0 -321
- package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js.map +0 -1
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js +0 -314
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js.map +0 -1
- package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js +0 -407
- package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +0 -1
- package/dist/collection/testspec.setup.js +0 -77
- package/dist/collection/testspec.setup.js.map +0 -1
- package/dist/core/p-0cb72d37.entry.js.map +0 -1
- package/dist/core/p-1223d0e9.entry.js.map +0 -1
- package/dist/core/p-190c3474.entry.js +0 -2
- package/dist/core/p-190c3474.entry.js.map +0 -1
- package/dist/core/p-199b9196.entry.js.map +0 -1
- package/dist/core/p-1bf956cb.entry.js.map +0 -1
- package/dist/core/p-20ac0d2a.entry.js.map +0 -1
- package/dist/core/p-243ad74c.entry.js +0 -2
- package/dist/core/p-243ad74c.entry.js.map +0 -1
- package/dist/core/p-24a34d72.entry.js +0 -2
- package/dist/core/p-24a34d72.entry.js.map +0 -1
- package/dist/core/p-26bc7c62.entry.js.map +0 -1
- package/dist/core/p-27274ca8.entry.js.map +0 -1
- package/dist/core/p-29afeb33.entry.js +0 -2
- package/dist/core/p-29afeb33.entry.js.map +0 -1
- package/dist/core/p-2cc0d6b9.entry.js +0 -2
- package/dist/core/p-2cc0d6b9.entry.js.map +0 -1
- package/dist/core/p-31c84a47.entry.js +0 -2
- package/dist/core/p-31c84a47.entry.js.map +0 -1
- package/dist/core/p-36ac5305.entry.js +0 -2
- package/dist/core/p-36ac5305.entry.js.map +0 -1
- package/dist/core/p-3ea4a005.entry.js +0 -2
- package/dist/core/p-3ea4a005.entry.js.map +0 -1
- package/dist/core/p-404b482e.entry.js +0 -2
- package/dist/core/p-404b482e.entry.js.map +0 -1
- package/dist/core/p-419d3378.entry.js.map +0 -1
- package/dist/core/p-47038ea3.entry.js +0 -2
- package/dist/core/p-47038ea3.entry.js.map +0 -1
- package/dist/core/p-490bf0ee.entry.js +0 -2
- package/dist/core/p-490bf0ee.entry.js.map +0 -1
- package/dist/core/p-4e6e34fe.entry.js +0 -2
- package/dist/core/p-4e6e34fe.entry.js.map +0 -1
- package/dist/core/p-4fce49bd.entry.js +0 -2
- package/dist/core/p-4fce49bd.entry.js.map +0 -1
- package/dist/core/p-5b42dbef.entry.js +0 -2
- package/dist/core/p-5b42dbef.entry.js.map +0 -1
- package/dist/core/p-5be2c26a.entry.js.map +0 -1
- package/dist/core/p-5d5345a4.entry.js +0 -2
- package/dist/core/p-5d5345a4.entry.js.map +0 -1
- package/dist/core/p-5dcc0489.entry.js.map +0 -1
- package/dist/core/p-5f6d6b3f.entry.js +0 -2
- package/dist/core/p-5f6d6b3f.entry.js.map +0 -1
- package/dist/core/p-5f74782e.entry.js +0 -2
- package/dist/core/p-5f74782e.entry.js.map +0 -1
- package/dist/core/p-6227fff5.entry.js +0 -2
- package/dist/core/p-6227fff5.entry.js.map +0 -1
- package/dist/core/p-641e244d.entry.js.map +0 -1
- package/dist/core/p-6b5e91e2.js +0 -3
- package/dist/core/p-6b5e91e2.js.map +0 -1
- package/dist/core/p-6c1cf351.entry.js.map +0 -1
- package/dist/core/p-6e630778.entry.js.map +0 -1
- package/dist/core/p-7c8cd719.entry.js +0 -2
- package/dist/core/p-7c8cd719.entry.js.map +0 -1
- package/dist/core/p-7fa74998.entry.js +0 -2
- package/dist/core/p-7fa74998.entry.js.map +0 -1
- package/dist/core/p-7ff4632d.entry.js +0 -2
- package/dist/core/p-7ff4632d.entry.js.map +0 -1
- package/dist/core/p-8452846e.entry.js.map +0 -1
- package/dist/core/p-84c3a870.entry.js +0 -2
- package/dist/core/p-84c3a870.entry.js.map +0 -1
- package/dist/core/p-8624bb98.entry.js +0 -2
- package/dist/core/p-8624bb98.entry.js.map +0 -1
- package/dist/core/p-87aa30b4.entry.js.map +0 -1
- package/dist/core/p-8b554299.entry.js.map +0 -1
- package/dist/core/p-932f3e3c.js +0 -2
- package/dist/core/p-932f3e3c.js.map +0 -1
- package/dist/core/p-96b4ca6e.entry.js.map +0 -1
- package/dist/core/p-9cfd6855.entry.js +0 -2
- package/dist/core/p-9cfd6855.entry.js.map +0 -1
- package/dist/core/p-a87d13b3.entry.js.map +0 -1
- package/dist/core/p-abb383bd.entry.js +0 -2
- package/dist/core/p-abb383bd.entry.js.map +0 -1
- package/dist/core/p-af934e73.entry.js +0 -2
- package/dist/core/p-af934e73.entry.js.map +0 -1
- package/dist/core/p-b73b7139.entry.js +0 -2
- package/dist/core/p-b73b7139.entry.js.map +0 -1
- package/dist/core/p-b9941d97.entry.js +0 -2
- package/dist/core/p-b9941d97.entry.js.map +0 -1
- package/dist/core/p-c1e93306.entry.js +0 -2
- package/dist/core/p-c1e93306.entry.js.map +0 -1
- package/dist/core/p-d21d8014.entry.js +0 -2
- package/dist/core/p-d21d8014.entry.js.map +0 -1
- package/dist/core/p-df957570.entry.js +0 -2
- package/dist/core/p-df957570.entry.js.map +0 -1
- package/dist/core/p-e1f8d915.entry.js +0 -2
- package/dist/core/p-e1f8d915.entry.js.map +0 -1
- package/dist/core/p-e4cb5585.entry.js.map +0 -1
- package/dist/core/p-f073fc69.entry.js +0 -2
- package/dist/core/p-f073fc69.entry.js.map +0 -1
- package/dist/core/p-f2d9eefe.entry.js +0 -2
- package/dist/core/p-f2d9eefe.entry.js.map +0 -1
- package/dist/core/p-f37c6a76.entry.js.map +0 -1
- package/dist/core/p-f7872eef.entry.js +0 -2
- package/dist/core/p-f7872eef.entry.js.map +0 -1
- package/dist/core/p-f9dceda0.entry.js +0 -2
- package/dist/core/p-f9dceda0.entry.js.map +0 -1
- package/dist/core/p-fac53f92.entry.js +0 -2
- package/dist/core/p-fac53f92.entry.js.map +0 -1
- package/dist/core/p-fddcf298.entry.js +0 -2
- package/dist/core/p-fddcf298.entry.js.map +0 -1
- package/dist/core/p-ffc150c5.entry.js +0 -2
- package/dist/core/p-ffc150c5.entry.js.map +0 -1
- package/dist/esm/helpers-2624c32c.js.map +0 -1
- package/dist/esm/index-d1d2c456.js +0 -3016
- package/dist/esm/index-d1d2c456.js.map +0 -1
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/types/testspec.setup.d.ts +0 -24
@@ -1,176 +0,0 @@
|
|
1
|
-
import { newSpecPage } from "@stencil/core/testing";
|
2
|
-
import { Button } from "../../../ic-button/ic-button";
|
3
|
-
import { NavigationGroup } from "../../../ic-navigation-group/ic-navigation-group";
|
4
|
-
import { NavigationItem } from "../../../ic-navigation-item/ic-navigation-item";
|
5
|
-
import { NavigationMenu } from "../../ic-navigation-menu";
|
6
|
-
import { NavigationButton } from "../../../ic-navigation-button/ic-navigation-button";
|
7
|
-
import { waitForNavGroupLoad } from "../../../../testspec.setup";
|
8
|
-
describe("ic-navigation-menu", () => {
|
9
|
-
it("should render with version and status", async () => {
|
10
|
-
const page = await newSpecPage({
|
11
|
-
components: [NavigationMenu],
|
12
|
-
html: `<ic-navigation-menu version="v1.0.0" status="Beta"></ic-navigation-menu>`,
|
13
|
-
});
|
14
|
-
expect(page.root).toMatchSnapshot("renders-with-version-and-status");
|
15
|
-
});
|
16
|
-
it("should test menu close emits event", async () => {
|
17
|
-
const page = await newSpecPage({
|
18
|
-
components: [NavigationMenu],
|
19
|
-
html: `<ic-navigation-menu version="v1.0.0" status="Beta"></ic-navigation-menu>`,
|
20
|
-
});
|
21
|
-
const eventSpy = jest.fn();
|
22
|
-
page.win.addEventListener("icNavigationMenuClose", eventSpy);
|
23
|
-
await page.rootInstance.navItemClickHandler();
|
24
|
-
await page.waitForChanges();
|
25
|
-
expect(eventSpy).toHaveBeenCalled();
|
26
|
-
});
|
27
|
-
it("should test key down handler", async () => {
|
28
|
-
Object.defineProperty(document, "activeElement", { value: null });
|
29
|
-
const page = await newSpecPage({
|
30
|
-
components: [NavigationMenu],
|
31
|
-
html: `<ic-navigation-menu version="v1.0.0" status="Beta"></ic-navigation-menu>`,
|
32
|
-
});
|
33
|
-
const eventSpy = jest.fn();
|
34
|
-
page.win.addEventListener("icNavigationMenuClose", eventSpy);
|
35
|
-
await page.rootInstance.handleKeyDown({ key: "Escape" });
|
36
|
-
await page.waitForChanges();
|
37
|
-
expect(eventSpy).toHaveBeenCalled();
|
38
|
-
await page.rootInstance.handleKeyDown({
|
39
|
-
key: "Tab",
|
40
|
-
preventDefault: () => null,
|
41
|
-
});
|
42
|
-
await page.waitForChanges();
|
43
|
-
await page.rootInstance.handleKeyDown({
|
44
|
-
key: "Tab",
|
45
|
-
shiftKey: true,
|
46
|
-
preventDefault: () => null,
|
47
|
-
});
|
48
|
-
await page.waitForChanges();
|
49
|
-
});
|
50
|
-
it("should test slotted buttons", async () => {
|
51
|
-
const page = await newSpecPage({
|
52
|
-
components: [NavigationMenu, NavigationButton, Button],
|
53
|
-
html: `<ic-navigation-menu version="v1.0.0" status="Beta">
|
54
|
-
<ic-navigation-button
|
55
|
-
slot="buttons"
|
56
|
-
label="button1"
|
57
|
-
onclick="alert('test')"
|
58
|
-
>
|
59
|
-
<svg
|
60
|
-
slot="icon"
|
61
|
-
xmlns="http://www.w3.org/2000/svg"
|
62
|
-
height="24px"
|
63
|
-
viewBox="0 0 24 24"
|
64
|
-
width="24px"
|
65
|
-
fill="#000000"
|
66
|
-
>
|
67
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
68
|
-
<path
|
69
|
-
d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-5.5-2.5l7.51-3.49L17.5 6.5 9.99 9.99 6.5 17.5zm5.5-6.6c.61 0 1.1.49 1.1 1.1s-.49 1.1-1.1 1.1-1.1-.49-1.1-1.1.49-1.1 1.1-1.1z"
|
70
|
-
/>
|
71
|
-
</svg>
|
72
|
-
</ic-navigation-button>
|
73
|
-
</ic-navigation-menu>`,
|
74
|
-
});
|
75
|
-
//trigger focus
|
76
|
-
await page.rootInstance.handleKeyDown({
|
77
|
-
key: "Tab",
|
78
|
-
shiftKey: true,
|
79
|
-
preventDefault: () => null,
|
80
|
-
});
|
81
|
-
await page.waitForChanges();
|
82
|
-
expect(page.root).toMatchSnapshot("renders-with-slotted-buttons");
|
83
|
-
});
|
84
|
-
it("should test slotted navigation item", async () => {
|
85
|
-
const page = await newSpecPage({
|
86
|
-
components: [NavigationMenu, NavigationItem],
|
87
|
-
html: `<ic-navigation-menu version="v1.0.0" status="Beta">
|
88
|
-
<ic-navigation-item slot="navigation" label="Navigation 1" href="/"></ic-navigation-item>
|
89
|
-
</ic-navigation-menu>`,
|
90
|
-
});
|
91
|
-
//trigger focus
|
92
|
-
await page.rootInstance.handleKeyDown({
|
93
|
-
key: "Tab",
|
94
|
-
shiftKey: true,
|
95
|
-
preventDefault: () => null,
|
96
|
-
});
|
97
|
-
await page.waitForChanges();
|
98
|
-
expect(page.root).toMatchSnapshot("renders-with-slotted-navigation-item");
|
99
|
-
});
|
100
|
-
it("should test slotted navigation group", async () => {
|
101
|
-
const page = await newSpecPage({
|
102
|
-
components: [NavigationMenu, NavigationGroup],
|
103
|
-
html: `<ic-navigation-menu version="v1.0.0" status="Beta">
|
104
|
-
<ic-navigation-group
|
105
|
-
slot="navigation"
|
106
|
-
label="Navigation group"
|
107
|
-
expandable="true"
|
108
|
-
>
|
109
|
-
</ic-navigation-group>
|
110
|
-
</ic-navigation-menu>`,
|
111
|
-
});
|
112
|
-
await waitForNavGroupLoad();
|
113
|
-
//trigger focus
|
114
|
-
await page.rootInstance.handleKeyDown({
|
115
|
-
key: "Tab",
|
116
|
-
shiftKey: true,
|
117
|
-
preventDefault: () => null,
|
118
|
-
});
|
119
|
-
await page.waitForChanges();
|
120
|
-
expect(page.root).toMatchSnapshot("renders-with-slotted-navigation-group");
|
121
|
-
});
|
122
|
-
it("should test slotted navigation and buttons", async () => {
|
123
|
-
const page = await newSpecPage({
|
124
|
-
components: [NavigationMenu, NavigationItem, NavigationButton, Button],
|
125
|
-
html: `<ic-navigation-menu version="v1.0.0" status="Beta">
|
126
|
-
<ic-navigation-button
|
127
|
-
label="button1"
|
128
|
-
slot="buttons"
|
129
|
-
onclick="alert('test')"
|
130
|
-
>
|
131
|
-
<svg
|
132
|
-
slot="icon"
|
133
|
-
xmlns="http://www.w3.org/2000/svg"
|
134
|
-
height="24px"
|
135
|
-
viewBox="0 0 24 24"
|
136
|
-
width="24px"
|
137
|
-
fill="#000000"
|
138
|
-
>
|
139
|
-
<path d="M0 0h24v24H0V0z" fill="none" />
|
140
|
-
<path
|
141
|
-
d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-5.5-2.5l7.51-3.49L17.5 6.5 9.99 9.99 6.5 17.5zm5.5-6.6c.61 0 1.1.49 1.1 1.1s-.49 1.1-1.1 1.1-1.1-.49-1.1-1.1.49-1.1 1.1-1.1z"
|
142
|
-
/>
|
143
|
-
</svg>
|
144
|
-
</ic-navigation-button>
|
145
|
-
<ic-navigation-item slot="navigation" label="Navigation 1" href="/"></ic-navigation-item>
|
146
|
-
</ic-navigation-menu>`,
|
147
|
-
});
|
148
|
-
//trigger focus
|
149
|
-
await page.rootInstance.handleKeyDown({
|
150
|
-
key: "Tab",
|
151
|
-
shiftKey: true,
|
152
|
-
preventDefault: () => null,
|
153
|
-
});
|
154
|
-
await page.waitForChanges();
|
155
|
-
expect(page.root).toMatchSnapshot("renders-with-slotted-navigation-and-buttons");
|
156
|
-
});
|
157
|
-
it("should test slotted link", async () => {
|
158
|
-
const page = await newSpecPage({
|
159
|
-
components: [NavigationMenu],
|
160
|
-
html: `<ic-navigation-menu version="v1.0.0" status="Beta">
|
161
|
-
<a href="/"
|
162
|
-
slot="navigation"
|
163
|
-
>
|
164
|
-
</ic-navigation-menu>`,
|
165
|
-
});
|
166
|
-
//trigger focus
|
167
|
-
await page.rootInstance.handleKeyDown({
|
168
|
-
key: "Tab",
|
169
|
-
shiftKey: true,
|
170
|
-
preventDefault: () => null,
|
171
|
-
});
|
172
|
-
await page.waitForChanges();
|
173
|
-
expect(page.root).toMatchSnapshot("renders-with-slotted-link");
|
174
|
-
});
|
175
|
-
});
|
176
|
-
//# sourceMappingURL=ic-navigation-menu.spec.js.map
|
package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ic-navigation-menu.spec.js","sourceRoot":"","sources":["../../../../../src/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,kDAAkD,CAAC;AACnF,OAAO,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAChF,OAAO,EAAE,c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E,MAAM,CAAC;YACtE,IAAI,EAAE;;;;;;;;;;;;;;;;;;;;;4BAqBgB;SACvB,CAAC,CAAC;QAEH,eAAe;QACf,MAAM,IAAI,CAAC,YAAY,CAAC,aAAa,CAAC;YACpC,GAAG,EAAE,KAAK;YACV,QAAQ,EAAE,IAAI;YACd,cAAc,EAAE,GAAS,EAAE,CAAC,IAAI;SACjC,CAAC,CAAC;QACH,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;QAE5B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,eAAe,CAC/B,6CAA6C,CAC9C,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,0BAA0B,EAAE,KAAK,IAAI,EAAE;QACxC,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC;YAC7B,UAAU,EAAE,CAAC,cAAc,CAAC;YAC5B,IAAI,EAAE;;;;4BAIgB;SACvB,CAAC,CAAC;QAEH,eAAe;QACf,MAAM,IAAI,CAAC,YAAY,CAAC,aAAa,CAAC;YACpC,GAAG,EAAE,KAAK;YACV,QAAQ,EAAE,IAAI;YACd,cAAc,EAAE,GAAS,EAAE,CAAC,IAAI;SACjC,CAAC,CAAC;QACH,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;QAE5B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,eAAe,CAAC,2BAA2B,CAAC,CAAC;IACjE,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newSpecPage } from \"@stencil/core/testing\";\nimport { Button } from \"../../../ic-button/ic-button\";\nimport { NavigationGroup } from \"../../../ic-navigation-group/ic-navigation-group\";\nimport { NavigationItem } from \"../../../ic-navigation-item/ic-navigation-item\";\nimport { NavigationMenu } from \"../../ic-navigation-menu\";\nimport { NavigationButton } from \"../../../ic-navigation-button/ic-navigation-button\";\nimport { waitForNavGroupLoad } from \"../../../../testspec.setup\";\n\ndescribe(\"ic-navigation-menu\", () => {\n it(\"should render with version and status\", async () => {\n const page = await newSpecPage({\n components: [NavigationMenu],\n html: `<ic-navigation-menu version=\"v1.0.0\" status=\"Beta\"></ic-navigation-menu>`,\n });\n expect(page.root).toMatchSnapshot(\"renders-with-version-and-status\");\n });\n\n it(\"should test menu close emits event\", async () => {\n const page = await newSpecPage({\n components: [NavigationMenu],\n html: `<ic-navigation-menu version=\"v1.0.0\" status=\"Beta\"></ic-navigation-menu>`,\n });\n\n const eventSpy = jest.fn();\n page.win.addEventListener(\"icNavigationMenuClose\", eventSpy);\n await page.rootInstance.navItemClickHandler();\n await page.waitForChanges();\n expect(eventSpy).toHaveBeenCalled();\n });\n\n it(\"should test key down handler\", async () => {\n Object.defineProperty(document, \"activeElement\", { value: null });\n\n const page = await newSpecPage({\n components: [NavigationMenu],\n html: `<ic-navigation-menu version=\"v1.0.0\" status=\"Beta\"></ic-navigation-menu>`,\n });\n\n const eventSpy = jest.fn();\n page.win.addEventListener(\"icNavigationMenuClose\", eventSpy);\n await page.rootInstance.handleKeyDown({ key: \"Escape\" });\n await page.waitForChanges();\n expect(eventSpy).toHaveBeenCalled();\n\n await page.rootInstance.handleKeyDown({\n key: \"Tab\",\n preventDefault: (): void => null,\n });\n await page.waitForChanges();\n\n await page.rootInstance.handleKeyDown({\n key: \"Tab\",\n shiftKey: true,\n preventDefault: (): void => null,\n });\n await page.waitForChanges();\n });\n\n it(\"should test slotted buttons\", async () => {\n const page = await newSpecPage({\n components: [NavigationMenu, NavigationButton, Button],\n html: `<ic-navigation-menu version=\"v1.0.0\" status=\"Beta\">\n <ic-navigation-button\n slot=\"buttons\"\n label=\"button1\"\n onclick=\"alert('test')\"\n >\n <svg\n slot=\"icon\"\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"24px\"\n viewBox=\"0 0 24 24\"\n width=\"24px\"\n fill=\"#000000\"\n >\n <path d=\"M0 0h24v24H0V0z\" fill=\"none\" />\n <path\n d=\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-5.5-2.5l7.51-3.49L17.5 6.5 9.99 9.99 6.5 17.5zm5.5-6.6c.61 0 1.1.49 1.1 1.1s-.49 1.1-1.1 1.1-1.1-.49-1.1-1.1.49-1.1 1.1-1.1z\"\n />\n </svg>\n </ic-navigation-button>\n </ic-navigation-menu>`,\n });\n\n //trigger focus\n await page.rootInstance.handleKeyDown({\n key: \"Tab\",\n shiftKey: true,\n preventDefault: (): void => null,\n });\n await page.waitForChanges();\n\n expect(page.root).toMatchSnapshot(\"renders-with-slotted-buttons\");\n });\n\n it(\"should test slotted navigation item\", async () => {\n const page = await newSpecPage({\n components: [NavigationMenu, NavigationItem],\n html: `<ic-navigation-menu version=\"v1.0.0\" status=\"Beta\">\n <ic-navigation-item slot=\"navigation\" label=\"Navigation 1\" href=\"/\"></ic-navigation-item>\n </ic-navigation-menu>`,\n });\n\n //trigger focus\n await page.rootInstance.handleKeyDown({\n key: \"Tab\",\n shiftKey: true,\n preventDefault: (): void => null,\n });\n await page.waitForChanges();\n\n expect(page.root).toMatchSnapshot(\"renders-with-slotted-navigation-item\");\n });\n\n it(\"should test slotted navigation group\", async () => {\n const page = await newSpecPage({\n components: [NavigationMenu, NavigationGroup],\n html: `<ic-navigation-menu version=\"v1.0.0\" status=\"Beta\">\n <ic-navigation-group\n slot=\"navigation\"\n label=\"Navigation group\"\n expandable=\"true\"\n >\n </ic-navigation-group>\n </ic-navigation-menu>`,\n });\n await waitForNavGroupLoad();\n\n //trigger focus\n await page.rootInstance.handleKeyDown({\n key: \"Tab\",\n shiftKey: true,\n preventDefault: (): void => null,\n });\n await page.waitForChanges();\n\n expect(page.root).toMatchSnapshot(\"renders-with-slotted-navigation-group\");\n });\n\n it(\"should test slotted navigation and buttons\", async () => {\n const page = await newSpecPage({\n components: [NavigationMenu, NavigationItem, NavigationButton, Button],\n html: `<ic-navigation-menu version=\"v1.0.0\" status=\"Beta\">\n <ic-navigation-button\n label=\"button1\"\n slot=\"buttons\"\n onclick=\"alert('test')\"\n >\n <svg\n slot=\"icon\"\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"24px\"\n viewBox=\"0 0 24 24\"\n width=\"24px\"\n fill=\"#000000\"\n >\n <path d=\"M0 0h24v24H0V0z\" fill=\"none\" />\n <path\n d=\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-5.5-2.5l7.51-3.49L17.5 6.5 9.99 9.99 6.5 17.5zm5.5-6.6c.61 0 1.1.49 1.1 1.1s-.49 1.1-1.1 1.1-1.1-.49-1.1-1.1.49-1.1 1.1-1.1z\"\n />\n </svg>\n </ic-navigation-button>\n <ic-navigation-item slot=\"navigation\" label=\"Navigation 1\" href=\"/\"></ic-navigation-item>\n </ic-navigation-menu>`,\n });\n\n //trigger focus\n await page.rootInstance.handleKeyDown({\n key: \"Tab\",\n shiftKey: true,\n preventDefault: (): void => null,\n });\n await page.waitForChanges();\n\n expect(page.root).toMatchSnapshot(\n \"renders-with-slotted-navigation-and-buttons\"\n );\n });\n\n it(\"should test slotted link\", async () => {\n const page = await newSpecPage({\n components: [NavigationMenu],\n html: `<ic-navigation-menu version=\"v1.0.0\" status=\"Beta\">\n <a href=\"/\"\n slot=\"navigation\"\n >\n </ic-navigation-menu>`,\n });\n\n //trigger focus\n await page.rootInstance.handleKeyDown({\n key: \"Tab\",\n shiftKey: true,\n preventDefault: (): void => null,\n });\n await page.waitForChanges();\n\n expect(page.root).toMatchSnapshot(\"renders-with-slotted-link\");\n });\n});\n"]}
|
@@ -1,291 +0,0 @@
|
|
1
|
-
import { newSpecPage } from "@stencil/core/testing";
|
2
|
-
import { PageHeader } from "../../ic-page-header";
|
3
|
-
import { DEVICE_SIZES } from "../../../../utils/helpers";
|
4
|
-
import { mockDeviceSize } from "../../../../testspec.setup";
|
5
|
-
import { Button } from "../../../ic-button/ic-button";
|
6
|
-
import * as helpers from "../../../../utils/helpers";
|
7
|
-
import { BreadcrumbGroup } from "../../../ic-breadcrumb-group/ic-breadcrumb-group";
|
8
|
-
import { Breadcrumb } from "../../../ic-breadcrumb/ic-breadcrumb";
|
9
|
-
describe("simple ic-page-header renders", () => {
|
10
|
-
it("should render with a heading & sub-heading", async () => {
|
11
|
-
const page = await newSpecPage({
|
12
|
-
components: [PageHeader],
|
13
|
-
html: `<ic-page-header heading="Page header" subheading="This is a simple page header component and this is the text."></ic-page-header>`,
|
14
|
-
});
|
15
|
-
expect(page.root).toMatchSnapshot("should render with a heading & sub-heading");
|
16
|
-
});
|
17
|
-
it("should return null for slot 'tabs'", async () => {
|
18
|
-
expect(helpers.getSlot(undefined, "tabs")).toBeNull();
|
19
|
-
});
|
20
|
-
});
|
21
|
-
describe("ic-page-header component renders additional functionality", () => {
|
22
|
-
it("should render actions", async () => {
|
23
|
-
const page = await newSpecPage({
|
24
|
-
components: [PageHeader],
|
25
|
-
html: `
|
26
|
-
<ic-page-header
|
27
|
-
heading="Page header"
|
28
|
-
subheading="This is a simple page header component and this is the text."
|
29
|
-
>
|
30
|
-
<ic-button slot="actions" variant="tertiary">Filter coffee</ic-button>
|
31
|
-
<ic-button slot="actions" variant="primary"
|
32
|
-
>Create coffee
|
33
|
-
<svg
|
34
|
-
slot="left-icon"
|
35
|
-
width="24"
|
36
|
-
height="24"
|
37
|
-
viewBox="0 0 24 24"
|
38
|
-
fill="none"
|
39
|
-
xmlns="http://www.w3.org/2000/svg"
|
40
|
-
>
|
41
|
-
<path
|
42
|
-
d="M19 13H13V19H11V13H5V11H11V5H13V11H19V13Z"
|
43
|
-
fill="currentColor"
|
44
|
-
/>
|
45
|
-
</svg>
|
46
|
-
</ic-button>
|
47
|
-
</ic-page-header>`,
|
48
|
-
});
|
49
|
-
expect(page.root).toMatchSnapshot("should render actions");
|
50
|
-
});
|
51
|
-
it("should render an input field", async () => {
|
52
|
-
const page = await newSpecPage({
|
53
|
-
components: [PageHeader],
|
54
|
-
html: `
|
55
|
-
<ic-page-header
|
56
|
-
heading="Page header"
|
57
|
-
subheading="This is a simple page header component and this is the text."
|
58
|
-
>
|
59
|
-
<ic-status-tag slot="heading-adornment" label="Beta"></ic-status-tag>
|
60
|
-
<ic-text-field slot="input" placeholder="Enter your input" hide-label />
|
61
|
-
</ic-page-header>`,
|
62
|
-
});
|
63
|
-
expect(page.root).toMatchSnapshot("should render an input field");
|
64
|
-
});
|
65
|
-
it("should render a stepper", async () => {
|
66
|
-
const page = await newSpecPage({
|
67
|
-
components: [PageHeader],
|
68
|
-
html: `
|
69
|
-
<ic-page-header heading="Create a coffee">
|
70
|
-
<ic-stepper slot="stepper">
|
71
|
-
<ic-step heading="Warm kettle" type="completed"></ic-step>
|
72
|
-
<ic-step
|
73
|
-
heading="Warm milk"
|
74
|
-
subheading="Optional"
|
75
|
-
type="completed"
|
76
|
-
></ic-step>
|
77
|
-
<ic-step heading="Pour milk" type="current"></ic-step>
|
78
|
-
</ic-stepper>
|
79
|
-
</ic-page-header>`,
|
80
|
-
});
|
81
|
-
expect(page.root).toMatchSnapshot("should render a stepper");
|
82
|
-
});
|
83
|
-
it("should render tabs", async () => {
|
84
|
-
const page = await newSpecPage({
|
85
|
-
components: [PageHeader],
|
86
|
-
html: `
|
87
|
-
<ic-page-header heading="Coffee recipes" subheading="This is a simple page header component and this is the text.">
|
88
|
-
<ic-status-tag slot="heading-adornment" label="Beta"></ic-status-tag>
|
89
|
-
<ic-navigation-item
|
90
|
-
slot="tabs"
|
91
|
-
label="All recipes"
|
92
|
-
href="/all-recipes"
|
93
|
-
selected
|
94
|
-
></ic-navigation-item>
|
95
|
-
<ic-navigation-item
|
96
|
-
slot="tabs"
|
97
|
-
label="Favourites"
|
98
|
-
href="/favourites"
|
99
|
-
></ic-navigation-item>
|
100
|
-
</ic-page-header>`,
|
101
|
-
});
|
102
|
-
expect(page.root).toMatchSnapshot("should render tabs");
|
103
|
-
});
|
104
|
-
it("should render actions, input & tabs", async () => {
|
105
|
-
const page = await newSpecPage({
|
106
|
-
components: [PageHeader],
|
107
|
-
html: `
|
108
|
-
<ic-page-header heading="Coffee recipes" subheading="This is a simple page header component and this is the text.">
|
109
|
-
<ic-status-tag slot="heading-adornment" label="Beta"></ic-status-tag>
|
110
|
-
<ic-button slot="actions" variant="tertiary">Filter coffee</ic-button>
|
111
|
-
<ic-button slot="actions" variant="primary"
|
112
|
-
>Create coffee
|
113
|
-
<svg
|
114
|
-
slot="left-icon"
|
115
|
-
width="24"
|
116
|
-
height="24"
|
117
|
-
viewBox="0 0 24 24"
|
118
|
-
fill="none"
|
119
|
-
xmlns="http://www.w3.org/2000/svg"
|
120
|
-
>
|
121
|
-
<path
|
122
|
-
d="M19 13H13V19H11V13H5V11H11V5H13V11H19V13Z"
|
123
|
-
fill="currentColor"
|
124
|
-
/>
|
125
|
-
</svg>
|
126
|
-
</ic-button>
|
127
|
-
<ic-navigation-item
|
128
|
-
slot="tabs"
|
129
|
-
label="All recipes"
|
130
|
-
href="/all-recipes"
|
131
|
-
selected
|
132
|
-
></ic-navigation-item>
|
133
|
-
<ic-navigation-item
|
134
|
-
slot="tabs"
|
135
|
-
label="Favourites"
|
136
|
-
href="/favourites"
|
137
|
-
></ic-navigation-item>
|
138
|
-
<ic-text-field slot="input" placeholder="Enter your input" hide-label />
|
139
|
-
</ic-page-header>`,
|
140
|
-
});
|
141
|
-
expect(page.root).toMatchSnapshot("should render actions, input & tabs");
|
142
|
-
});
|
143
|
-
it("should render actions, input & stepper", async () => {
|
144
|
-
const page = await newSpecPage({
|
145
|
-
components: [PageHeader],
|
146
|
-
html: `
|
147
|
-
<ic-page-header heading="Coffee recipes" subheading="This is a simple page header component and this is the text.">
|
148
|
-
<ic-stepper slot="stepper">
|
149
|
-
<ic-step heading="Warm kettle" type="completed"></ic-step>
|
150
|
-
<ic-step
|
151
|
-
heading="Warm milk"
|
152
|
-
subheading="Optional"
|
153
|
-
type="completed"
|
154
|
-
></ic-step>
|
155
|
-
<ic-step heading="Pour milk" type="current"></ic-step>
|
156
|
-
</ic-stepper>
|
157
|
-
<ic-status-tag slot="heading-adornment" label="Beta"></ic-status-tag>
|
158
|
-
<ic-button slot="actions" variant="tertiary">Filter coffee</ic-button>
|
159
|
-
<ic-button slot="actions" variant="primary"
|
160
|
-
>Create coffee
|
161
|
-
<svg
|
162
|
-
slot="left-icon"
|
163
|
-
width="24"
|
164
|
-
height="24"
|
165
|
-
viewBox="0 0 24 24"
|
166
|
-
fill="none"
|
167
|
-
xmlns="http://www.w3.org/2000/svg"
|
168
|
-
>
|
169
|
-
<path
|
170
|
-
d="M19 13H13V19H11V13H5V11H11V5H13V11H19V13Z"
|
171
|
-
fill="currentColor"
|
172
|
-
/>
|
173
|
-
</svg>
|
174
|
-
</ic-button>
|
175
|
-
<ic-text-field slot="input" placeholder="Enter your input" hide-label />
|
176
|
-
</ic-page-header>`,
|
177
|
-
});
|
178
|
-
expect(page.root).toMatchSnapshot("should render actions, input & stepper");
|
179
|
-
});
|
180
|
-
it("should render with breadcrumbs", async () => {
|
181
|
-
const page = await newSpecPage({
|
182
|
-
components: [PageHeader, BreadcrumbGroup, Breadcrumb],
|
183
|
-
html: `
|
184
|
-
<ic-page-header heading="Coffee recipes" subheading="This is a simple page header component and this is the text.">
|
185
|
-
<ic-breadcrumb-group slot="breadcrumbs">
|
186
|
-
<ic-breadcrumb
|
187
|
-
page-title="Breadcrumb 1"
|
188
|
-
href="/breadcrumb-1"
|
189
|
-
></ic-breadcrumb>
|
190
|
-
<ic-breadcrumb
|
191
|
-
current="true"
|
192
|
-
page-title="Breadcrumb 2"
|
193
|
-
href="/breadcrumb-2"
|
194
|
-
></ic-breadcrumb>
|
195
|
-
</ic-breadcrumb-group>
|
196
|
-
</ic-page-header>`,
|
197
|
-
});
|
198
|
-
expect(page.root).toMatchSnapshot("should render with breadcrumbs");
|
199
|
-
});
|
200
|
-
it("should render with a custom aria-label", async () => {
|
201
|
-
const page = await newSpecPage({
|
202
|
-
components: [PageHeader],
|
203
|
-
html: `<ic-page-header heading="Page header" subheading="This is a simple page header component and this is the text." aria-label="header"></ic-page-header>`,
|
204
|
-
});
|
205
|
-
expect(page.root).toMatchSnapshot("should render with a custom aria-label");
|
206
|
-
});
|
207
|
-
});
|
208
|
-
describe("resizeObserver for ic-page-header", () => {
|
209
|
-
it("should set the deviceSize prop correctly in resizeObserver", async () => {
|
210
|
-
const page = await newSpecPage({
|
211
|
-
components: [PageHeader, Button],
|
212
|
-
html: `
|
213
|
-
<ic-page-header
|
214
|
-
heading="Page header"
|
215
|
-
sub-heading="This is a page header component with additional functionality and this is the text."
|
216
|
-
reverse-order
|
217
|
-
>
|
218
|
-
<ic-button slot="actions" variant="primary"
|
219
|
-
>Create coffee
|
220
|
-
<svg
|
221
|
-
slot="left-icon"
|
222
|
-
width="24"
|
223
|
-
height="24"
|
224
|
-
viewBox="0 0 24 24"
|
225
|
-
fill="none"
|
226
|
-
xmlns="http://www.w3.org/2000/svg"
|
227
|
-
>
|
228
|
-
<path
|
229
|
-
d="M19 13H13V19H11V13H5V11H11V5H13V11H19V13Z"
|
230
|
-
fill="currentColor"
|
231
|
-
/>
|
232
|
-
</svg>
|
233
|
-
</ic-button>
|
234
|
-
<ic-button slot="actions" variant="tertiary">Filter coffee</ic-button>
|
235
|
-
</ic-page-header>
|
236
|
-
`,
|
237
|
-
});
|
238
|
-
await page.waitForChanges();
|
239
|
-
page.rootInstance.areButtonsReversed = true;
|
240
|
-
await page.waitForChanges();
|
241
|
-
mockDeviceSize(DEVICE_SIZES.S);
|
242
|
-
await page.rootInstance.resizeObserverCallback();
|
243
|
-
await page.waitForChanges();
|
244
|
-
expect(page.rootInstance.deviceSize).toBe(DEVICE_SIZES.S);
|
245
|
-
mockDeviceSize(DEVICE_SIZES.M);
|
246
|
-
await page.rootInstance.resizeObserverCallback();
|
247
|
-
await page.waitForChanges();
|
248
|
-
expect(page.rootInstance.deviceSize).toBe(DEVICE_SIZES.M);
|
249
|
-
mockDeviceSize(DEVICE_SIZES.L);
|
250
|
-
await page.rootInstance.resizeObserverCallback();
|
251
|
-
await page.waitForChanges();
|
252
|
-
expect(page.rootInstance.deviceSize).toBe(DEVICE_SIZES.L);
|
253
|
-
mockDeviceSize(DEVICE_SIZES.XL);
|
254
|
-
await page.rootInstance.resizeObserverCallback();
|
255
|
-
await page.waitForChanges();
|
256
|
-
expect(page.rootInstance.deviceSize).toBe(DEVICE_SIZES.XL);
|
257
|
-
});
|
258
|
-
it("should not call the resizeObserver if the resizeObserver is null", async () => {
|
259
|
-
const page = await newSpecPage({
|
260
|
-
components: [PageHeader, Button],
|
261
|
-
html: `
|
262
|
-
<ic-page-header
|
263
|
-
heading="Page header"
|
264
|
-
sub-heading="This is a page header component with additional functionality and this is the text."
|
265
|
-
reverse-order
|
266
|
-
>
|
267
|
-
<ic-button slot="actions" variant="primary"
|
268
|
-
>Create coffee
|
269
|
-
<svg
|
270
|
-
slot="left-icon"
|
271
|
-
width="24"
|
272
|
-
height="24"
|
273
|
-
viewBox="0 0 24 24"
|
274
|
-
fill="none"
|
275
|
-
xmlns="http://www.w3.org/2000/svg"
|
276
|
-
>
|
277
|
-
<path
|
278
|
-
d="M19 13H13V19H11V13H5V11H11V5H13V11H19V13Z"
|
279
|
-
fill="currentColor"
|
280
|
-
/>
|
281
|
-
</svg>
|
282
|
-
</ic-button>
|
283
|
-
<ic-button slot="actions" variant="tertiary">Filter coffee</ic-button>
|
284
|
-
</ic-page-header>
|
285
|
-
`,
|
286
|
-
});
|
287
|
-
await page.rootInstance.runResizeObserver();
|
288
|
-
page.setContent("");
|
289
|
-
});
|
290
|
-
});
|
291
|
-
//# sourceMappingURL=ic-page-header.spec.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ic-page-header.spec.js","sourceRoot":"","sources":["../../../../../src/components/ic-page-header/test/basic/ic-page-header.spec.ts"],"names":[],"mappings":"AAAA,O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YAC7B,UAAU,EAAE,CAAC,UAAU,EAAE,MAAM,CAAC;YAChC,IAAI,EAAE;;;;;;;;;;;;;;;;;;;;;;;;KAwBP;SACA,CAAC,CAAC;QAEH,MAAM,IAAI,CAAC,YAAY,CAAC,iBAAiB,EAAE,CAAC;QAE5C,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC;IACtB,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newSpecPage } from \"@stencil/core/testing\";\nimport { PageHeader } from \"../../ic-page-header\";\nimport { DEVICE_SIZES } from \"../../../../utils/helpers\";\nimport { mockDeviceSize } from \"../../../../testspec.setup\";\nimport { Button } from \"../../../ic-button/ic-button\";\nimport * as helpers from \"../../../../utils/helpers\";\nimport { BreadcrumbGroup } from \"../../../ic-breadcrumb-group/ic-breadcrumb-group\";\nimport { Breadcrumb } from \"../../../ic-breadcrumb/ic-breadcrumb\";\n\ndescribe(\"simple ic-page-header renders\", () => {\n it(\"should render with a heading & sub-heading\", async () => {\n const page = await newSpecPage({\n components: [PageHeader],\n html: `<ic-page-header heading=\"Page header\" subheading=\"This is a simple page header component and this is the text.\"></ic-page-header>`,\n });\n\n expect(page.root).toMatchSnapshot(\n \"should render with a heading & sub-heading\"\n );\n });\n\n it(\"should return null for slot 'tabs'\", async () => {\n expect(helpers.getSlot(undefined, \"tabs\")).toBeNull();\n });\n});\n\ndescribe(\"ic-page-header component renders additional functionality\", () => {\n it(\"should render actions\", async () => {\n const page = await newSpecPage({\n components: [PageHeader],\n html: `\n <ic-page-header\n heading=\"Page header\"\n subheading=\"This is a simple page header component and this is the text.\"\n >\n <ic-button slot=\"actions\" variant=\"tertiary\">Filter coffee</ic-button>\n <ic-button slot=\"actions\" variant=\"primary\"\n >Create coffee\n <svg\n slot=\"left-icon\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M19 13H13V19H11V13H5V11H11V5H13V11H19V13Z\"\n fill=\"currentColor\"\n />\n </svg>\n </ic-button>\n </ic-page-header>`,\n });\n\n expect(page.root).toMatchSnapshot(\"should render actions\");\n });\n\n it(\"should render an input field\", async () => {\n const page = await newSpecPage({\n components: [PageHeader],\n html: `\n <ic-page-header\n heading=\"Page header\"\n subheading=\"This is a simple page header component and this is the text.\"\n >\n <ic-status-tag slot=\"heading-adornment\" label=\"Beta\"></ic-status-tag>\n <ic-text-field slot=\"input\" placeholder=\"Enter your input\" hide-label />\n </ic-page-header>`,\n });\n\n expect(page.root).toMatchSnapshot(\"should render an input field\");\n });\n\n it(\"should render a stepper\", async () => {\n const page = await newSpecPage({\n components: [PageHeader],\n html: `\n <ic-page-header heading=\"Create a coffee\">\n <ic-stepper slot=\"stepper\">\n <ic-step heading=\"Warm kettle\" type=\"completed\"></ic-step>\n <ic-step\n heading=\"Warm milk\"\n subheading=\"Optional\"\n type=\"completed\"\n ></ic-step>\n <ic-step heading=\"Pour milk\" type=\"current\"></ic-step>\n </ic-stepper>\n </ic-page-header>`,\n });\n\n expect(page.root).toMatchSnapshot(\"should render a stepper\");\n });\n\n it(\"should render tabs\", async () => {\n const page = await newSpecPage({\n components: [PageHeader],\n html: `\n <ic-page-header heading=\"Coffee recipes\" subheading=\"This is a simple page header component and this is the text.\">\n <ic-status-tag slot=\"heading-adornment\" label=\"Beta\"></ic-status-tag>\n <ic-navigation-item\n slot=\"tabs\"\n label=\"All recipes\"\n href=\"/all-recipes\"\n selected\n ></ic-navigation-item>\n <ic-navigation-item\n slot=\"tabs\"\n label=\"Favourites\"\n href=\"/favourites\"\n ></ic-navigation-item>\n </ic-page-header>`,\n });\n\n expect(page.root).toMatchSnapshot(\"should render tabs\");\n });\n\n it(\"should render actions, input & tabs\", async () => {\n const page = await newSpecPage({\n components: [PageHeader],\n html: `\n <ic-page-header heading=\"Coffee recipes\" subheading=\"This is a simple page header component and this is the text.\">\n <ic-status-tag slot=\"heading-adornment\" label=\"Beta\"></ic-status-tag>\n <ic-button slot=\"actions\" variant=\"tertiary\">Filter coffee</ic-button>\n <ic-button slot=\"actions\" variant=\"primary\"\n >Create coffee\n <svg\n slot=\"left-icon\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M19 13H13V19H11V13H5V11H11V5H13V11H19V13Z\"\n fill=\"currentColor\"\n />\n </svg>\n </ic-button>\n <ic-navigation-item\n slot=\"tabs\"\n label=\"All recipes\"\n href=\"/all-recipes\"\n selected\n ></ic-navigation-item>\n <ic-navigation-item\n slot=\"tabs\"\n label=\"Favourites\"\n href=\"/favourites\"\n ></ic-navigation-item>\n <ic-text-field slot=\"input\" placeholder=\"Enter your input\" hide-label />\n </ic-page-header>`,\n });\n\n expect(page.root).toMatchSnapshot(\"should render actions, input & tabs\");\n });\n\n it(\"should render actions, input & stepper\", async () => {\n const page = await newSpecPage({\n components: [PageHeader],\n html: `\n <ic-page-header heading=\"Coffee recipes\" subheading=\"This is a simple page header component and this is the text.\">\n <ic-stepper slot=\"stepper\">\n <ic-step heading=\"Warm kettle\" type=\"completed\"></ic-step>\n <ic-step\n heading=\"Warm milk\"\n subheading=\"Optional\"\n type=\"completed\"\n ></ic-step>\n <ic-step heading=\"Pour milk\" type=\"current\"></ic-step>\n </ic-stepper>\n <ic-status-tag slot=\"heading-adornment\" label=\"Beta\"></ic-status-tag>\n <ic-button slot=\"actions\" variant=\"tertiary\">Filter coffee</ic-button>\n <ic-button slot=\"actions\" variant=\"primary\"\n >Create coffee\n <svg\n slot=\"left-icon\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M19 13H13V19H11V13H5V11H11V5H13V11H19V13Z\"\n fill=\"currentColor\"\n />\n </svg>\n </ic-button>\n <ic-text-field slot=\"input\" placeholder=\"Enter your input\" hide-label />\n </ic-page-header>`,\n });\n\n expect(page.root).toMatchSnapshot(\"should render actions, input & stepper\");\n });\n\n it(\"should render with breadcrumbs\", async () => {\n const page = await newSpecPage({\n components: [PageHeader, BreadcrumbGroup, Breadcrumb],\n html: `\n <ic-page-header heading=\"Coffee recipes\" subheading=\"This is a simple page header component and this is the text.\">\n <ic-breadcrumb-group slot=\"breadcrumbs\">\n <ic-breadcrumb\n page-title=\"Breadcrumb 1\"\n href=\"/breadcrumb-1\"\n ></ic-breadcrumb>\n <ic-breadcrumb\n current=\"true\"\n page-title=\"Breadcrumb 2\"\n href=\"/breadcrumb-2\"\n ></ic-breadcrumb>\n </ic-breadcrumb-group> \n </ic-page-header>`,\n });\n\n expect(page.root).toMatchSnapshot(\"should render with breadcrumbs\");\n });\n\n it(\"should render with a custom aria-label\", async () => {\n const page = await newSpecPage({\n components: [PageHeader],\n html: `<ic-page-header heading=\"Page header\" subheading=\"This is a simple page header component and this is the text.\" aria-label=\"header\"></ic-page-header>`,\n });\n\n expect(page.root).toMatchSnapshot(\"should render with a custom aria-label\");\n });\n});\n\ndescribe(\"resizeObserver for ic-page-header\", () => {\n it(\"should set the deviceSize prop correctly in resizeObserver\", async () => {\n const page = await newSpecPage({\n components: [PageHeader, Button],\n html: `\n <ic-page-header\n heading=\"Page header\"\n sub-heading=\"This is a page header component with additional functionality and this is the text.\"\n reverse-order\n >\n <ic-button slot=\"actions\" variant=\"primary\"\n >Create coffee\n <svg\n slot=\"left-icon\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M19 13H13V19H11V13H5V11H11V5H13V11H19V13Z\"\n fill=\"currentColor\"\n />\n </svg>\n </ic-button>\n <ic-button slot=\"actions\" variant=\"tertiary\">Filter coffee</ic-button>\n </ic-page-header>\n `,\n });\n\n await page.waitForChanges();\n\n page.rootInstance.areButtonsReversed = true;\n await page.waitForChanges();\n\n mockDeviceSize(DEVICE_SIZES.S);\n\n await page.rootInstance.resizeObserverCallback();\n await page.waitForChanges();\n\n expect(page.rootInstance.deviceSize).toBe(DEVICE_SIZES.S);\n\n mockDeviceSize(DEVICE_SIZES.M);\n\n await page.rootInstance.resizeObserverCallback();\n await page.waitForChanges();\n expect(page.rootInstance.deviceSize).toBe(DEVICE_SIZES.M);\n\n mockDeviceSize(DEVICE_SIZES.L);\n\n await page.rootInstance.resizeObserverCallback();\n await page.waitForChanges();\n expect(page.rootInstance.deviceSize).toBe(DEVICE_SIZES.L);\n\n mockDeviceSize(DEVICE_SIZES.XL);\n\n await page.rootInstance.resizeObserverCallback();\n await page.waitForChanges();\n expect(page.rootInstance.deviceSize).toBe(DEVICE_SIZES.XL);\n });\n\n it(\"should not call the resizeObserver if the resizeObserver is null\", async () => {\n const page = await newSpecPage({\n components: [PageHeader, Button],\n html: `\n <ic-page-header\n heading=\"Page header\"\n sub-heading=\"This is a page header component with additional functionality and this is the text.\"\n reverse-order\n >\n <ic-button slot=\"actions\" variant=\"primary\"\n >Create coffee\n <svg\n slot=\"left-icon\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M19 13H13V19H11V13H5V11H11V5H13V11H19V13Z\"\n fill=\"currentColor\"\n />\n </svg>\n </ic-button>\n <ic-button slot=\"actions\" variant=\"tertiary\">Filter coffee</ic-button>\n </ic-page-header>\n `,\n });\n\n await page.rootInstance.runResizeObserver();\n\n page.setContent(\"\");\n });\n});\n"]}
|