@ukic/web-components 3.0.0-alpha.11 → 3.0.0-alpha.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/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-08a9ec1c.js} +31 -26
- package/dist/cjs/helpers-08a9ec1c.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 +37 -16
- 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 +41 -22
- 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 +35 -21
- package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +246 -144
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card-vertical.cjs.entry.js +53 -32
- package/dist/cjs/ic-card-vertical.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +32 -9
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +48 -29
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +44 -23
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-classification-banner.cjs.entry.js +20 -4
- 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 +141 -98
- 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 +15 -9
- 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 +9 -10
- 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 +28 -21
- 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 +20 -18
- package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +25 -19
- package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +45 -27
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +69 -48
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +23 -15
- package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +45 -25
- package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination-item.cjs.entry.js +27 -14
- package/dist/cjs/ic-pagination-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination.cjs.entry.js +60 -27
- package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +57 -42
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +53 -28
- 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 +153 -63
- 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 +230 -136
- package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +104 -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 +54 -0
- package/dist/cjs/ic-skip-link.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-status-tag.cjs.entry.js +25 -6
- package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +33 -32
- 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 +21 -15
- package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-text-field.cjs.entry.js +175 -69
- 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 +29 -21
- 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 +81 -48
- package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +60 -31
- 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 +5 -4
- 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-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.js +58 -22
- package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.css +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 +54 -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.js +69 -32
- package/dist/collection/components/ic-badge/ic-badge.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +49 -24
- 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-button/ic-button.css +0 -8
- package/dist/collection/components/ic-button/ic-button.js +211 -98
- package/dist/collection/components/ic-button/ic-button.js.map +1 -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-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.js +62 -20
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
- 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-classification-banner/ic-classification-banner.js +32 -7
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +1 -1
- 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-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.js +176 -110
- package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -1
- package/dist/collection/components/ic-dialog/ic-dialog.stories.js +100 -49
- 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 +2 -2
- package/dist/collection/components/ic-empty-state/ic-empty-state.js +32 -13
- package/dist/collection/components/ic-empty-state/ic-empty-state.js.map +1 -1
- 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-link/ic-footer-link.js +24 -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-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 +9 -0
- 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.js +49 -28
- package/dist/collection/components/ic-link/ic-link.js.map +1 -1
- 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-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.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.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.js +83 -28
- 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.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.js +30 -17
- 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 +68 -31
- package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
- 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-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 +80 -52
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +87 -41
- 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 +31 -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.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.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-select/ic-select.css +1 -1
- package/dist/collection/components/ic-select/ic-select.js +329 -176
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +1 -2
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +143 -89
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
- 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-skip-link/ic-skip-link.css +26 -0
- package/dist/collection/components/ic-skip-link/ic-skip-link.js +202 -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 +160 -0
- 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-step/ic-step.js +66 -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-switch/ic-switch.js +72 -27
- package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
- 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-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.js +321 -140
- package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
- 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-toast/ic-toast.js +49 -28
- package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
- 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.js +116 -60
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.js.map +1 -1
- 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-tooltip/ic-tooltip.js +65 -33
- package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +91 -45
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
- 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/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 +29 -24
- 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 +35 -14
- 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 +39 -20
- 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 +33 -19
- package/dist/components/ic-breadcrumb2.js.map +1 -1
- package/dist/components/ic-button2.js +113 -63
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card-vertical.js +51 -30
- package/dist/components/ic-card-vertical.js.map +1 -1
- package/dist/components/ic-checkbox-group.js +30 -7
- package/dist/components/ic-checkbox-group.js.map +1 -1
- package/dist/components/ic-checkbox.js +46 -27
- package/dist/components/ic-checkbox.js.map +1 -1
- package/dist/components/ic-chip.js +42 -21
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-classification-banner.js +19 -3
- 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 +139 -96
- 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 +13 -7
- 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 +7 -8
- 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 +26 -19
- 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 +18 -16
- 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 +23 -17
- package/dist/components/ic-navigation-button.js.map +1 -1
- package/dist/components/ic-navigation-group.js +45 -27
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js +68 -47
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-navigation-menu2.js +21 -13
- package/dist/components/ic-navigation-menu2.js.map +1 -1
- package/dist/components/ic-page-header.js +44 -24
- package/dist/components/ic-page-header.js.map +1 -1
- package/dist/components/ic-pagination-item2.js +25 -12
- package/dist/components/ic-pagination-item2.js.map +1 -1
- package/dist/components/ic-pagination.js +58 -25
- package/dist/components/ic-pagination.js.map +1 -1
- package/dist/components/ic-popover-menu.js +55 -40
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-radio-group.js +51 -26
- 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 +151 -61
- 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 +228 -134
- package/dist/components/ic-select.js.map +1 -1
- package/dist/components/ic-side-navigation.js +103 -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 +82 -0
- package/dist/components/ic-skip-link.js.map +1 -0
- package/dist/components/ic-status-tag.js +23 -4
- package/dist/components/ic-status-tag.js.map +1 -1
- package/dist/components/ic-step.js +31 -30
- 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 +19 -13
- package/dist/components/ic-tab.js.map +1 -1
- package/dist/components/ic-text-field.js +173 -67
- package/dist/components/ic-text-field.js.map +1 -1
- package/dist/components/ic-theme.js +11 -5
- 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 +27 -19
- 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 +79 -46
- 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 +59 -30
- 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 +40 -29
- 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-052d1ff0.entry.js +2 -0
- package/dist/core/p-052d1ff0.entry.js.map +1 -0
- package/dist/core/p-08fbea60.entry.js +2 -0
- package/dist/core/p-08fbea60.entry.js.map +1 -0
- package/dist/core/p-0b757d78.entry.js +2 -0
- package/dist/core/p-0b757d78.entry.js.map +1 -0
- package/dist/core/p-0f34465d.entry.js +2 -0
- package/dist/core/p-0f34465d.entry.js.map +1 -0
- package/dist/core/p-111b3186.entry.js +2 -0
- package/dist/core/p-111b3186.entry.js.map +1 -0
- package/dist/core/p-144a31ec.entry.js +2 -0
- package/dist/core/p-144a31ec.entry.js.map +1 -0
- package/dist/core/{p-ca11666f.entry.js → p-180ea8ac.entry.js} +2 -2
- package/dist/core/p-180ea8ac.entry.js.map +1 -0
- package/dist/core/{p-39ab6387.entry.js → p-196e3d33.entry.js} +2 -2
- package/dist/core/p-196e3d33.entry.js.map +1 -0
- package/dist/core/{p-96b4ca6e.entry.js → p-1d6638c8.entry.js} +2 -2
- package/dist/core/p-1d6638c8.entry.js.map +1 -0
- package/dist/core/p-1d9a929b.entry.js +2 -0
- package/dist/core/p-1d9a929b.entry.js.map +1 -0
- package/dist/core/{p-27274ca8.entry.js → p-1fccec19.entry.js} +2 -2
- package/dist/core/p-1fccec19.entry.js.map +1 -0
- package/dist/core/p-269f841d.js +2 -0
- package/dist/core/p-269f841d.js.map +1 -0
- package/dist/core/{p-094f51b6.entry.js → p-27de359f.entry.js} +2 -2
- package/dist/core/p-27de359f.entry.js.map +1 -0
- package/dist/core/p-2cb55e86.entry.js +2 -0
- package/dist/core/p-2cb55e86.entry.js.map +1 -0
- package/dist/core/p-30a262d2.entry.js +2 -0
- package/dist/core/p-30a262d2.entry.js.map +1 -0
- package/dist/core/p-3b185c32.js.map +1 -1
- package/dist/core/{p-a178d53c.entry.js → p-40bc1f3e.entry.js} +2 -2
- package/dist/core/p-40bc1f3e.entry.js.map +1 -0
- package/dist/core/p-426ec638.js.map +1 -1
- package/dist/core/p-47b46637.entry.js +2 -0
- package/dist/core/p-47b46637.entry.js.map +1 -0
- package/dist/core/p-4a5ab31e.entry.js +2 -0
- package/dist/core/p-4a5ab31e.entry.js.map +1 -0
- package/dist/core/p-4e4014cd.entry.js +2 -0
- package/dist/core/p-4e4014cd.entry.js.map +1 -0
- package/dist/core/{p-25d3c3a6.entry.js → p-55eb89cc.entry.js} +2 -2
- package/dist/core/p-55eb89cc.entry.js.map +1 -0
- package/dist/core/p-59287779.entry.js +2 -0
- package/dist/core/p-59287779.entry.js.map +1 -0
- package/dist/core/p-59fc58e1.entry.js +2 -0
- package/dist/core/p-59fc58e1.entry.js.map +1 -0
- package/dist/core/p-5b7d8ee9.entry.js +2 -0
- package/dist/core/p-5b7d8ee9.entry.js.map +1 -0
- package/dist/core/{p-b404b307.entry.js → p-5fa5ba50.entry.js} +2 -2
- package/dist/core/p-5fa5ba50.entry.js.map +1 -0
- package/dist/core/p-68a5aaff.js.map +1 -1
- package/dist/core/{p-bbd4f487.entry.js → p-6c8e72b4.entry.js} +2 -2
- package/dist/core/p-6c8e72b4.entry.js.map +1 -0
- package/dist/core/p-6fdb8a79.entry.js +2 -0
- package/dist/core/p-6fdb8a79.entry.js.map +1 -0
- package/dist/core/{p-146b2788.entry.js → p-72140621.entry.js} +2 -2
- package/dist/core/p-72140621.entry.js.map +1 -0
- package/dist/core/p-76bdbc98.entry.js +2 -0
- package/dist/core/p-76bdbc98.entry.js.map +1 -0
- package/dist/core/{p-4cfe1dd8.entry.js → p-78c3ca49.entry.js} +2 -2
- package/dist/core/p-78c3ca49.entry.js.map +1 -0
- package/dist/core/p-78c51cba.entry.js +2 -0
- package/dist/core/p-78c51cba.entry.js.map +1 -0
- package/dist/core/{p-3d565739.entry.js → p-7ea79205.entry.js} +2 -2
- package/dist/core/p-7ea79205.entry.js.map +1 -0
- package/dist/core/p-8577de91.entry.js +2 -0
- package/dist/core/p-8577de91.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-8870d5d8.entry.js +2 -0
- package/dist/core/p-8870d5d8.entry.js.map +1 -0
- package/dist/core/{p-00587c99.entry.js → p-8b928cc9.entry.js} +2 -2
- package/dist/core/p-8b928cc9.entry.js.map +1 -0
- package/dist/core/p-8d1bee7a.entry.js +2 -0
- package/dist/core/p-8d1bee7a.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-8f319e1e.entry.js +2 -0
- package/dist/core/p-8f319e1e.entry.js.map +1 -0
- package/dist/core/p-90de3f5d.entry.js +2 -0
- package/dist/core/p-90de3f5d.entry.js.map +1 -0
- package/dist/core/p-912c8594.entry.js +2 -0
- package/dist/core/p-912c8594.entry.js.map +1 -0
- package/dist/core/{p-67b3cd55.entry.js → p-9206379d.entry.js} +2 -2
- package/dist/core/p-9206379d.entry.js.map +1 -0
- package/dist/core/p-94748b96.entry.js +2 -0
- package/dist/core/p-94748b96.entry.js.map +1 -0
- package/dist/core/p-98f906ba.entry.js +2 -0
- package/dist/core/p-98f906ba.entry.js.map +1 -0
- package/dist/core/{p-5b836707.entry.js → p-999102ee.entry.js} +2 -2
- package/dist/core/p-999102ee.entry.js.map +1 -0
- package/dist/core/p-9b741f96.entry.js +2 -0
- package/dist/core/p-9b741f96.entry.js.map +1 -0
- package/dist/core/p-9bcd2c77.entry.js +2 -0
- package/dist/core/p-9bcd2c77.entry.js.map +1 -0
- package/dist/core/p-9ee2fe04.entry.js +2 -0
- package/dist/core/p-9ee2fe04.entry.js.map +1 -0
- package/dist/core/{p-e2cf6e7e.entry.js → p-a56ec6d8.entry.js} +2 -2
- package/dist/core/p-a56ec6d8.entry.js.map +1 -0
- package/dist/core/p-abf767e3.entry.js +2 -0
- package/dist/core/p-abf767e3.entry.js.map +1 -0
- package/dist/core/p-b594bf26.entry.js +2 -0
- package/dist/core/p-b594bf26.entry.js.map +1 -0
- package/dist/core/{p-6e94c79c.entry.js → p-bd802c2f.entry.js} +2 -2
- package/dist/core/p-bd802c2f.entry.js.map +1 -0
- package/dist/core/p-bfee1e84.entry.js +2 -0
- package/dist/core/p-bfee1e84.entry.js.map +1 -0
- package/dist/core/{p-7f984e25.entry.js → p-c19cdc86.entry.js} +2 -2
- package/dist/core/p-c19cdc86.entry.js.map +1 -0
- package/dist/core/p-c2e091d7.js.map +1 -1
- package/dist/core/{p-73d6092d.entry.js → p-c3785d57.entry.js} +2 -2
- package/dist/core/p-c3785d57.entry.js.map +1 -0
- package/dist/core/{p-7b26ef60.entry.js → p-caa46d81.entry.js} +2 -2
- package/dist/core/p-caa46d81.entry.js.map +1 -0
- package/dist/core/p-ce0fb53a.entry.js +2 -0
- package/dist/core/p-ce0fb53a.entry.js.map +1 -0
- package/dist/core/p-de7542fa.entry.js +2 -0
- package/dist/core/p-de7542fa.entry.js.map +1 -0
- package/dist/core/{p-07aaf9c4.entry.js → p-df56bc50.entry.js} +2 -2
- package/dist/core/p-df56bc50.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-e25feba1.entry.js +2 -0
- package/dist/core/p-e25feba1.entry.js.map +1 -0
- package/dist/core/{p-c1db155d.entry.js → p-e30c6d79.entry.js} +2 -2
- package/dist/core/p-e30c6d79.entry.js.map +1 -0
- package/dist/core/p-f074ef5b.js.map +1 -1
- package/dist/core/{p-abdc2912.entry.js → p-f486d4f4.entry.js} +2 -2
- package/dist/core/p-f486d4f4.entry.js.map +1 -0
- package/dist/core/{p-a87d13b3.entry.js → p-fbce5f9a.entry.js} +2 -2
- package/dist/core/p-fbce5f9a.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-a72a277b.js → helpers-de6293bf.js} +31 -26
- package/dist/esm/helpers-de6293bf.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 +37 -16
- 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 +41 -22
- 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 +35 -21
- package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ic-button_3.entry.js +246 -144
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card-vertical.entry.js +53 -32
- package/dist/esm/ic-card-vertical.entry.js.map +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +32 -9
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ic-checkbox.entry.js +48 -29
- package/dist/esm/ic-checkbox.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +44 -23
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-classification-banner.entry.js +20 -4
- 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 +141 -98
- 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 +15 -9
- 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 +9 -10
- 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 +28 -21
- 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 +20 -18
- package/dist/esm/ic-menu-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-button.entry.js +25 -19
- package/dist/esm/ic-navigation-button.entry.js.map +1 -1
- package/dist/esm/ic-navigation-group.entry.js +45 -27
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +69 -48
- package/dist/esm/ic-navigation-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +23 -15
- package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
- package/dist/esm/ic-page-header.entry.js +45 -25
- package/dist/esm/ic-page-header.entry.js.map +1 -1
- package/dist/esm/ic-pagination-item.entry.js +27 -14
- package/dist/esm/ic-pagination-item.entry.js.map +1 -1
- package/dist/esm/ic-pagination.entry.js +60 -27
- package/dist/esm/ic-pagination.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +57 -42
- package/dist/esm/ic-popover-menu.entry.js.map +1 -1
- package/dist/esm/ic-radio-group.entry.js +53 -28
- 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 +153 -63
- 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 +230 -136
- package/dist/esm/ic-select.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +104 -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 +50 -0
- package/dist/esm/ic-skip-link.entry.js.map +1 -0
- package/dist/esm/ic-status-tag.entry.js +25 -6
- package/dist/esm/ic-status-tag.entry.js.map +1 -1
- package/dist/esm/ic-step.entry.js +33 -32
- 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 +21 -15
- package/dist/esm/ic-tab.entry.js.map +1 -1
- package/dist/esm/ic-text-field.entry.js +175 -69
- 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 +29 -21
- 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 +81 -48
- package/dist/esm/ic-toggle-button.entry.js.map +1 -1
- package/dist/esm/ic-top-navigation.entry.js +60 -31
- 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 +1 -1
- package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +1 -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 +6 -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 +6 -6
- 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 +9 -6
- package/dist/types/components/ic-divider/ic-divider.d.ts +3 -3
- 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 +11 -4
- package/dist/types/components/ic-navigation-group/ic-navigation-group.types.d.ts +3 -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 +3 -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 +8 -8
- 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 +34 -33
- 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-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 +292 -197
- package/dist/types/stencil-public-runtime.d.ts +9 -10
- 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 +32492 -20573
- package/hydrate/index.mjs +34265 -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 +3 -3
- package/vscode-data.json +65 -330
- 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 -450
- 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-empty-state/test/basic/ic-empty-state.spec.js +0 -101
- package/dist/collection/components/ic-empty-state/test/basic/ic-empty-state.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-00587c99.entry.js.map +0 -1
- package/dist/core/p-07aaf9c4.entry.js.map +0 -1
- package/dist/core/p-094f51b6.entry.js.map +0 -1
- package/dist/core/p-146b2788.entry.js.map +0 -1
- package/dist/core/p-15082ea5.entry.js +0 -2
- package/dist/core/p-15082ea5.entry.js.map +0 -1
- package/dist/core/p-174de9d7.entry.js +0 -2
- package/dist/core/p-174de9d7.entry.js.map +0 -1
- package/dist/core/p-17f9921d.entry.js +0 -2
- package/dist/core/p-17f9921d.entry.js.map +0 -1
- package/dist/core/p-246ea059.entry.js +0 -2
- package/dist/core/p-246ea059.entry.js.map +0 -1
- package/dist/core/p-25d3c3a6.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-39ab6387.entry.js.map +0 -1
- package/dist/core/p-3d565739.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-41b7c67c.entry.js +0 -2
- package/dist/core/p-41b7c67c.entry.js.map +0 -1
- package/dist/core/p-4572b2ba.entry.js +0 -2
- package/dist/core/p-4572b2ba.entry.js.map +0 -1
- package/dist/core/p-4cfe1dd8.entry.js.map +0 -1
- package/dist/core/p-5b836707.entry.js.map +0 -1
- package/dist/core/p-67b3cd55.entry.js.map +0 -1
- package/dist/core/p-67b8a829.entry.js +0 -2
- package/dist/core/p-67b8a829.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-6dfa5a4b.entry.js +0 -2
- package/dist/core/p-6dfa5a4b.entry.js.map +0 -1
- package/dist/core/p-6e94c79c.entry.js.map +0 -1
- package/dist/core/p-73d6092d.entry.js.map +0 -1
- package/dist/core/p-770c52a7.entry.js +0 -2
- package/dist/core/p-770c52a7.entry.js.map +0 -1
- package/dist/core/p-7b26ef60.entry.js.map +0 -1
- package/dist/core/p-7f984e25.entry.js.map +0 -1
- package/dist/core/p-86caada0.entry.js +0 -2
- package/dist/core/p-86caada0.entry.js.map +0 -1
- package/dist/core/p-8c03b8b5.entry.js +0 -2
- package/dist/core/p-8c03b8b5.entry.js.map +0 -1
- package/dist/core/p-8fdb9b16.entry.js +0 -2
- package/dist/core/p-8fdb9b16.entry.js.map +0 -1
- package/dist/core/p-91a221b5.entry.js +0 -2
- package/dist/core/p-91a221b5.entry.js.map +0 -1
- package/dist/core/p-96b4ca6e.entry.js.map +0 -1
- package/dist/core/p-9e0c2c19.entry.js +0 -2
- package/dist/core/p-9e0c2c19.entry.js.map +0 -1
- package/dist/core/p-9f569f90.entry.js +0 -2
- package/dist/core/p-9f569f90.entry.js.map +0 -1
- package/dist/core/p-a178d53c.entry.js.map +0 -1
- package/dist/core/p-a3b7a147.entry.js +0 -2
- package/dist/core/p-a3b7a147.entry.js.map +0 -1
- package/dist/core/p-a72685f6.entry.js +0 -2
- package/dist/core/p-a72685f6.entry.js.map +0 -1
- package/dist/core/p-a87d13b3.entry.js.map +0 -1
- package/dist/core/p-abdc2912.entry.js.map +0 -1
- package/dist/core/p-b260b967.entry.js +0 -2
- package/dist/core/p-b260b967.entry.js.map +0 -1
- package/dist/core/p-b404b307.entry.js.map +0 -1
- package/dist/core/p-b6ce9ca3.entry.js +0 -2
- package/dist/core/p-b6ce9ca3.entry.js.map +0 -1
- package/dist/core/p-b6e010f3.entry.js +0 -2
- package/dist/core/p-b6e010f3.entry.js.map +0 -1
- package/dist/core/p-bbd4f487.entry.js.map +0 -1
- package/dist/core/p-bd9f3961.entry.js +0 -2
- package/dist/core/p-bd9f3961.entry.js.map +0 -1
- package/dist/core/p-c1db155d.entry.js.map +0 -1
- package/dist/core/p-c7bcdb8e.entry.js +0 -2
- package/dist/core/p-c7bcdb8e.entry.js.map +0 -1
- package/dist/core/p-ca11666f.entry.js.map +0 -1
- package/dist/core/p-cda4aca9.js +0 -2
- package/dist/core/p-cda4aca9.js.map +0 -1
- package/dist/core/p-d0afa458.entry.js +0 -2
- package/dist/core/p-d0afa458.entry.js.map +0 -1
- package/dist/core/p-d8690838.entry.js +0 -2
- package/dist/core/p-d8690838.entry.js.map +0 -1
- package/dist/core/p-dededae6.entry.js +0 -2
- package/dist/core/p-dededae6.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-e2cf6e7e.entry.js.map +0 -1
- package/dist/core/p-e6189634.entry.js +0 -2
- package/dist/core/p-e6189634.entry.js.map +0 -1
- package/dist/core/p-e6dc3cd1.entry.js +0 -2
- package/dist/core/p-e6dc3cd1.entry.js.map +0 -1
- package/dist/core/p-e831277e.entry.js +0 -2
- package/dist/core/p-e831277e.entry.js.map +0 -1
- package/dist/core/p-eb7c589b.entry.js +0 -2
- package/dist/core/p-eb7c589b.entry.js.map +0 -1
- package/dist/core/p-f65179fe.entry.js +0 -2
- package/dist/core/p-f65179fe.entry.js.map +0 -1
- package/dist/core/p-fd60eef7.entry.js +0 -2
- package/dist/core/p-fd60eef7.entry.js.map +0 -1
- package/dist/core/p-fd9f3fd0.entry.js +0 -2
- package/dist/core/p-fd9f3fd0.entry.js.map +0 -1
- package/dist/esm/helpers-a72a277b.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,553 +0,0 @@
|
|
1
|
-
import { SearchBar } from "../../ic-search-bar";
|
2
|
-
import { newSpecPage } from "@stencil/core/testing";
|
3
|
-
import { Button } from "../../../ic-button/ic-button";
|
4
|
-
import { Menu } from "../../../ic-menu/ic-menu";
|
5
|
-
import { waitForTimeout } from "../../../../testspec.setup";
|
6
|
-
import { InputContainer } from "../../../ic-input-container/ic-input-container";
|
7
|
-
import { InputLabel } from "../../../ic-input-label/ic-input-label";
|
8
|
-
beforeAll(() => {
|
9
|
-
jest.spyOn(console, "warn").mockImplementation(jest.fn());
|
10
|
-
});
|
11
|
-
const menuOptions = [
|
12
|
-
{ label: "Espresso", value: "espresso" },
|
13
|
-
{ label: "Double Espresso", value: "doubleespresso" },
|
14
|
-
{ label: "Flat White", value: "flatwhite" },
|
15
|
-
{
|
16
|
-
label: "Cappuccino",
|
17
|
-
value: "cappuccino",
|
18
|
-
description: "with chocolate is best!",
|
19
|
-
},
|
20
|
-
{ label: "Americano", value: "americano" },
|
21
|
-
{ label: "Ameno", value: "ameno" },
|
22
|
-
{
|
23
|
-
label: "Tea",
|
24
|
-
value: "tea",
|
25
|
-
children: [{ label: "green", value: "green" }],
|
26
|
-
},
|
27
|
-
{ label: "Aicano", value: "acano" },
|
28
|
-
{ label: "Mocha", value: "mocha" },
|
29
|
-
];
|
30
|
-
describe("ic-search-bar search", () => {
|
31
|
-
it("should render", async () => {
|
32
|
-
const page = await newSpecPage({
|
33
|
-
components: [SearchBar, Button],
|
34
|
-
html: '<ic-search-bar label="Test label"></ic-search-bar>',
|
35
|
-
});
|
36
|
-
expect(page.root).toMatchSnapshot("renders");
|
37
|
-
});
|
38
|
-
it("should render with value", async () => {
|
39
|
-
const page = await newSpecPage({
|
40
|
-
components: [SearchBar, Button],
|
41
|
-
html: '<ic-search-bar label="Test label" value="foo"></ic-search-bar>',
|
42
|
-
});
|
43
|
-
expect(page.root).toMatchSnapshot("renders-with-value");
|
44
|
-
});
|
45
|
-
it("should render aria-label when hideLabel is set", async () => {
|
46
|
-
const page = await newSpecPage({
|
47
|
-
components: [SearchBar, Button],
|
48
|
-
html: '<ic-search-bar label="Test label" hide-label="true"></ic-search-bar>',
|
49
|
-
});
|
50
|
-
expect(page.root).toMatchSnapshot("renders-with-hidden-label");
|
51
|
-
});
|
52
|
-
it("should render required variant", async () => {
|
53
|
-
const page = await newSpecPage({
|
54
|
-
components: [SearchBar, Button],
|
55
|
-
html: '<ic-search-bar label="Test label" required="true"></ic-search-bar>',
|
56
|
-
});
|
57
|
-
expect(page.root).toMatchSnapshot("renders-required");
|
58
|
-
});
|
59
|
-
it("should render disabled variant", async () => {
|
60
|
-
const page = await newSpecPage({
|
61
|
-
components: [SearchBar, Button],
|
62
|
-
html: '<ic-search-bar label="Test label" disabled="true"></ic-search-bar>',
|
63
|
-
});
|
64
|
-
expect(page.root).toMatchSnapshot("renders-disabled");
|
65
|
-
page.rootInstance.disabled = false;
|
66
|
-
await page.waitForChanges();
|
67
|
-
expect(page.root).toMatchSnapshot("disabled-removed");
|
68
|
-
});
|
69
|
-
it("should render readonly variant", async () => {
|
70
|
-
const page = await newSpecPage({
|
71
|
-
components: [SearchBar, Button],
|
72
|
-
html: '<ic-search-bar label="Test label" readonly="true"></ic-search-bar>',
|
73
|
-
});
|
74
|
-
expect(page.root).toMatchSnapshot("renders-readonly");
|
75
|
-
});
|
76
|
-
it("should render with options", async () => {
|
77
|
-
const page = await newSpecPage({
|
78
|
-
components: [SearchBar, Button, Menu],
|
79
|
-
html: '<ic-search-bar label="Test label" value="espresso"></ic-search-bar>',
|
80
|
-
});
|
81
|
-
page.root.options = menuOptions;
|
82
|
-
await page.waitForChanges();
|
83
|
-
expect(page.root).toMatchSnapshot("renders-with-options");
|
84
|
-
});
|
85
|
-
it("should render with helper-text", async () => {
|
86
|
-
const page = await newSpecPage({
|
87
|
-
components: [SearchBar, Button, Menu, InputContainer, InputLabel],
|
88
|
-
html: '<ic-search-bar label="Test label" value="espresso" helper-text="This is a description"></ic-search-bar>',
|
89
|
-
});
|
90
|
-
page.root.options = menuOptions;
|
91
|
-
await page.waitForChanges();
|
92
|
-
expect(page.root).toMatchSnapshot("renders-with-helpertext");
|
93
|
-
});
|
94
|
-
it("should test clear button", async () => {
|
95
|
-
const page = await newSpecPage({
|
96
|
-
components: [SearchBar, Button, Menu],
|
97
|
-
html: '<ic-search-bar label="Test label" value="espresso"></ic-search-bar>',
|
98
|
-
});
|
99
|
-
await page.waitForChanges();
|
100
|
-
expect(page.rootInstance.showClearButton).toBe(false);
|
101
|
-
await page.rootInstance.handleShowClearButton(true);
|
102
|
-
await page.waitForChanges();
|
103
|
-
expect(page.rootInstance.showClearButton).toBe(true);
|
104
|
-
expect(page.rootInstance.clearButtonFocused).toBe(false);
|
105
|
-
await page.rootInstance.handleFocusClearButton();
|
106
|
-
await page.waitForChanges();
|
107
|
-
expect(page.rootInstance.clearButtonFocused).toBe(true);
|
108
|
-
});
|
109
|
-
it("should test handleMenuChange", async () => {
|
110
|
-
const page = await newSpecPage({
|
111
|
-
components: [SearchBar, Button, Menu],
|
112
|
-
html: '<ic-search-bar label="Test label" value="espresso"></ic-search-bar>',
|
113
|
-
});
|
114
|
-
const eventSpy = jest.fn();
|
115
|
-
page.win.addEventListener("icMenuChange", eventSpy);
|
116
|
-
await page.rootInstance.handleMenuChange({ detail: { open: true } });
|
117
|
-
expect(page.rootInstance.open).toBe(true);
|
118
|
-
await page.waitForChanges();
|
119
|
-
expect(eventSpy).toHaveBeenCalled();
|
120
|
-
await page.rootInstance.handleMenuChange({
|
121
|
-
detail: { open: false, focusInput: true },
|
122
|
-
});
|
123
|
-
expect(page.rootInstance.open).toBe(false);
|
124
|
-
await page.waitForChanges();
|
125
|
-
});
|
126
|
-
it("should test host blur", async () => {
|
127
|
-
const page = await newSpecPage({
|
128
|
-
components: [SearchBar, Button, Menu],
|
129
|
-
html: '<ic-search-bar label="Test label" value="espresso"></ic-search-bar>',
|
130
|
-
});
|
131
|
-
page.root.options = menuOptions;
|
132
|
-
await page.waitForChanges();
|
133
|
-
const focusEventSpy = jest.fn();
|
134
|
-
page.win.addEventListener("icSearchBarFocus", focusEventSpy);
|
135
|
-
page.root.focus();
|
136
|
-
await page.waitForChanges();
|
137
|
-
expect(focusEventSpy).toHaveBeenCalled();
|
138
|
-
expect(page.rootInstance.open).toBeTruthy;
|
139
|
-
const blurEventSpy = jest.fn();
|
140
|
-
page.win.addEventListener("icSearchBarBlur", blurEventSpy);
|
141
|
-
page.root.blur();
|
142
|
-
await page.waitForChanges();
|
143
|
-
expect(blurEventSpy).toHaveBeenCalled();
|
144
|
-
expect(page.rootInstance.open).toBeFalsy;
|
145
|
-
page.rootInstance.menuCloseFromMenuChangeEvent = true;
|
146
|
-
page.root.focus();
|
147
|
-
await page.waitForChanges();
|
148
|
-
expect(page.rootInstance.open).toBeFalsy;
|
149
|
-
});
|
150
|
-
it("should test search submit button events", async () => {
|
151
|
-
const page = await newSpecPage({
|
152
|
-
components: [SearchBar, Button, Menu],
|
153
|
-
html: '<form><ic-search-bar label="Test label" value="espresso" focus-on-load="true"></ic-search-bar></form>',
|
154
|
-
});
|
155
|
-
const searchButton = page.root.shadowRoot.querySelector("#search-submit-button");
|
156
|
-
searchButton.focus();
|
157
|
-
await page.waitForChanges();
|
158
|
-
expect(page.rootInstance.searchSubmitFocused).toBe(true);
|
159
|
-
const blurEventSpy = jest.fn();
|
160
|
-
page.win.addEventListener("icSubmitSearchBlur", blurEventSpy);
|
161
|
-
searchButton.blur();
|
162
|
-
await page.waitForChanges();
|
163
|
-
expect(blurEventSpy).toHaveBeenCalled();
|
164
|
-
const clickEventSpy = jest.fn();
|
165
|
-
page.win.addEventListener("icSubmitSearch", clickEventSpy);
|
166
|
-
searchButton.click();
|
167
|
-
await page.waitForChanges();
|
168
|
-
expect(clickEventSpy).toHaveBeenCalled();
|
169
|
-
expect(clickEventSpy).toHaveBeenCalledTimes(1);
|
170
|
-
const event = new KeyboardEvent("keydown", { key: " " });
|
171
|
-
await page.rootInstance.handleSubmitSearchKeyDown(event);
|
172
|
-
await page.waitForChanges();
|
173
|
-
expect(clickEventSpy).toHaveBeenCalledTimes(2);
|
174
|
-
});
|
175
|
-
it("should test keydown event - arrow down", async () => {
|
176
|
-
const page = await newSpecPage({
|
177
|
-
components: [SearchBar, Button, Menu],
|
178
|
-
html: '<ic-search-bar label="Test label" value="espresso" disable-auto-filtering="true"></ic-search-bar>',
|
179
|
-
});
|
180
|
-
page.root.options = menuOptions;
|
181
|
-
page.rootInstance.open = true;
|
182
|
-
await page.waitForChanges();
|
183
|
-
const eventSpy = jest.fn();
|
184
|
-
page.win.addEventListener("menuOptionId", eventSpy);
|
185
|
-
const menu = page.root.shadowRoot.querySelector("ic-menu");
|
186
|
-
menu.autofocusOnSelected = true;
|
187
|
-
await page.waitForChanges();
|
188
|
-
await page.rootInstance.handleKeyDown({
|
189
|
-
key: "ArrowDown",
|
190
|
-
preventDefault: () => null,
|
191
|
-
});
|
192
|
-
await page.waitForChanges();
|
193
|
-
expect(eventSpy).toHaveBeenCalled;
|
194
|
-
await page.rootInstance.handleKeyDown({
|
195
|
-
key: "Enter",
|
196
|
-
preventDefault: () => null,
|
197
|
-
});
|
198
|
-
await page.waitForChanges();
|
199
|
-
expect(page.rootInstance.value).toBe("doubleespresso");
|
200
|
-
});
|
201
|
-
it("should test searchMode = `query`", async () => {
|
202
|
-
const page = await newSpecPage({
|
203
|
-
components: [SearchBar, Button, Menu],
|
204
|
-
html: '<ic-search-bar label="Test label" search-mode="query"></ic-search-bar>',
|
205
|
-
});
|
206
|
-
page.root.options = menuOptions;
|
207
|
-
page.rootInstance.open = true;
|
208
|
-
await page.waitForChanges();
|
209
|
-
await page.rootInstance.handleKeyDown({
|
210
|
-
detail: { event: { key: "Enter", preventDefault: () => null } },
|
211
|
-
});
|
212
|
-
await page.waitForChanges();
|
213
|
-
expect(page.rootInstance.value).toBe("");
|
214
|
-
});
|
215
|
-
it("should test keydown event - arrow up", async () => {
|
216
|
-
const page = await newSpecPage({
|
217
|
-
components: [SearchBar, Button, Menu],
|
218
|
-
html: '<ic-search-bar label="Test label" value="espresso" disable-auto-filtering="true"></ic-search-bar>',
|
219
|
-
});
|
220
|
-
const focusSpy = jest.spyOn(SearchBar.prototype, "setFocus");
|
221
|
-
page.root.options = menuOptions;
|
222
|
-
page.rootInstance.open = true;
|
223
|
-
await page.waitForChanges();
|
224
|
-
const eventSpy = jest.fn();
|
225
|
-
page.win.addEventListener("menuOptionId", eventSpy);
|
226
|
-
await page.rootInstance.handleKeyDown({
|
227
|
-
key: "1",
|
228
|
-
preventDefault: () => null,
|
229
|
-
});
|
230
|
-
await page.waitForChanges();
|
231
|
-
expect(focusSpy).toHaveBeenCalled;
|
232
|
-
await page.rootInstance.handleKeyDown({
|
233
|
-
key: "ArrowUp",
|
234
|
-
preventDefault: () => null,
|
235
|
-
});
|
236
|
-
await page.waitForChanges();
|
237
|
-
expect(eventSpy).toHaveBeenCalled;
|
238
|
-
await page.rootInstance.handleKeyDown({
|
239
|
-
key: "ArrowUp",
|
240
|
-
preventDefault: () => null,
|
241
|
-
});
|
242
|
-
await page.waitForChanges();
|
243
|
-
await page.rootInstance.handleKeyDown({
|
244
|
-
key: "Enter",
|
245
|
-
preventDefault: () => null,
|
246
|
-
});
|
247
|
-
await page.waitForChanges();
|
248
|
-
expect(page.rootInstance.value).toBe("acano");
|
249
|
-
page.rootInstance.open = true;
|
250
|
-
await page.rootInstance.handleKeyDown({
|
251
|
-
key: "Backspace",
|
252
|
-
preventDefault: () => null,
|
253
|
-
});
|
254
|
-
await page.waitForChanges();
|
255
|
-
expect(page.rootInstance.value).toBe("acano");
|
256
|
-
});
|
257
|
-
it("should test keydown event - backspace", async () => {
|
258
|
-
const page = await newSpecPage({
|
259
|
-
components: [SearchBar, Button, Menu],
|
260
|
-
html: '<ic-search-bar label="Test label" value="espresso" disable-auto-filtering="true"></ic-search-bar>',
|
261
|
-
});
|
262
|
-
page.root.options = menuOptions;
|
263
|
-
page.rootInstance.open = true;
|
264
|
-
const focusEvent = jest.spyOn(SearchBar.prototype, "setFocus");
|
265
|
-
await page.waitForChanges();
|
266
|
-
await page.rootInstance.handleKeyDown({
|
267
|
-
detail: { event: { key: "Backspace", preventDefault: () => null } },
|
268
|
-
});
|
269
|
-
await page.waitForChanges();
|
270
|
-
expect(page.rootInstance.value).toBe("espresso");
|
271
|
-
expect(focusEvent).toHaveBeenCalled;
|
272
|
-
});
|
273
|
-
it("should test wrap around in menu", async () => {
|
274
|
-
const page = await newSpecPage({
|
275
|
-
components: [SearchBar, Button, Menu],
|
276
|
-
html: '<ic-search-bar label="Test label" value="espresso" disable-auto-filtering="true"></ic-search-bar>',
|
277
|
-
});
|
278
|
-
page.root.options = menuOptions;
|
279
|
-
page.rootInstance.open = true;
|
280
|
-
await page.waitForChanges();
|
281
|
-
await page.rootInstance.handleKeyDown({
|
282
|
-
detail: { event: { key: "ArrowUp", preventDefault: () => null } },
|
283
|
-
});
|
284
|
-
await page.waitForChanges();
|
285
|
-
await page.rootInstance.handleKeyDown({
|
286
|
-
detail: { event: { key: "ArrowDown", preventDefault: () => null } },
|
287
|
-
});
|
288
|
-
await page.waitForChanges();
|
289
|
-
expect(page.rootInstance.value).toBe("espresso");
|
290
|
-
});
|
291
|
-
it("should test menu item click", async () => {
|
292
|
-
const page = await newSpecPage({
|
293
|
-
components: [SearchBar, Button, Menu],
|
294
|
-
html: '<ic-search-bar label="Test label" value="espresso" disable-auto-filtering="true"></ic-search-bar>',
|
295
|
-
});
|
296
|
-
page.root.options = menuOptions;
|
297
|
-
page.rootInstance.open = true;
|
298
|
-
await page.waitForChanges();
|
299
|
-
let items = Array.from(page.root.shadowRoot.querySelectorAll("ic-menu li"));
|
300
|
-
items[2].click();
|
301
|
-
await page.waitForChanges();
|
302
|
-
expect(page.rootInstance.value).toBe("flatwhite");
|
303
|
-
page.rootInstance.open = true;
|
304
|
-
await page.waitForChanges();
|
305
|
-
items = Array.from(page.root.shadowRoot.querySelectorAll("ic-menu li"));
|
306
|
-
items[2].blur();
|
307
|
-
expect(page.rootInstance.open).toBe(false);
|
308
|
-
});
|
309
|
-
it("should test keydown event - escape", async () => {
|
310
|
-
const page = await newSpecPage({
|
311
|
-
components: [SearchBar, Button, Menu],
|
312
|
-
html: '<ic-search-bar label="Test label" value="espresso" disable-auto-filtering="true"></ic-search-bar>',
|
313
|
-
});
|
314
|
-
page.root.options = menuOptions;
|
315
|
-
page.rootInstance.open = true;
|
316
|
-
await page.waitForChanges();
|
317
|
-
await page.rootInstance.handleKeyDown({
|
318
|
-
key: "Tab",
|
319
|
-
preventDefault: () => null,
|
320
|
-
});
|
321
|
-
await page.rootInstance.handleKeyDown({
|
322
|
-
key: "Escape",
|
323
|
-
preventDefault: () => null,
|
324
|
-
stopImmediatePropagation: () => null,
|
325
|
-
});
|
326
|
-
await page.waitForChanges();
|
327
|
-
expect(page.rootInstance.value).toBe("espresso");
|
328
|
-
expect(page.rootInstance.open).toBe(false);
|
329
|
-
});
|
330
|
-
it("should test key up event", async () => {
|
331
|
-
const page = await newSpecPage({
|
332
|
-
components: [SearchBar, Button, Menu],
|
333
|
-
html: '<ic-search-bar label="Test label" value="espresso" disable-auto-filtering="true"></ic-search-bar>',
|
334
|
-
});
|
335
|
-
page.root.options = menuOptions;
|
336
|
-
page.rootInstance.open = true;
|
337
|
-
await page.waitForChanges();
|
338
|
-
await page.rootInstance.handleKeyUp({ key: "Enter" });
|
339
|
-
await page.waitForChanges();
|
340
|
-
expect(page.rootInstance.open).toBe(false);
|
341
|
-
page.rootInstance.preventSubmit = true;
|
342
|
-
page.rootInstance.open = true;
|
343
|
-
await page.waitForChanges();
|
344
|
-
await page.rootInstance.handleKeyUp({ key: "Escape" });
|
345
|
-
expect(page.rootInstance.open).toBe(false);
|
346
|
-
expect(page.rootInstance.preventSubmit).toBe(false);
|
347
|
-
page.rootInstance.preventSubmit = true;
|
348
|
-
page.rootInstance.open = true;
|
349
|
-
await page.waitForChanges();
|
350
|
-
await page.rootInstance.handleKeyUp({ key: "Enter" });
|
351
|
-
expect(page.rootInstance.open).toBe(true);
|
352
|
-
});
|
353
|
-
it("should test changing value", async () => {
|
354
|
-
const page = await newSpecPage({
|
355
|
-
components: [SearchBar, Button, Menu],
|
356
|
-
html: '<ic-search-bar label="Test label" value="espresso" disable-auto-filtering="true"></ic-search-bar>',
|
357
|
-
});
|
358
|
-
page.root.value = "mocha";
|
359
|
-
await page.waitForChanges();
|
360
|
-
expect(page.rootInstance.value).toBe("mocha");
|
361
|
-
expect(page.rootInstance.inputEl.value).toBe("mocha");
|
362
|
-
});
|
363
|
-
it("should test input event handler", async () => {
|
364
|
-
const page = await newSpecPage({
|
365
|
-
components: [SearchBar, Button, Menu],
|
366
|
-
html: '<ic-search-bar label="Test label" value="espresso" ></ic-search-bar>',
|
367
|
-
});
|
368
|
-
page.root.options = menuOptions;
|
369
|
-
await page.waitForChanges();
|
370
|
-
const input = page.root.shadowRoot.querySelector("input");
|
371
|
-
const event = new Event("input", {
|
372
|
-
bubbles: true,
|
373
|
-
cancelable: true,
|
374
|
-
});
|
375
|
-
input.dispatchEvent(event);
|
376
|
-
await page.waitForChanges();
|
377
|
-
//delay to wait for aria live update
|
378
|
-
await waitForTimeout(700);
|
379
|
-
expect(page.rootInstance.open).toBe(true);
|
380
|
-
expect(page.rootInstance.showClearButton).toBe(true);
|
381
|
-
const searchResultsStatusEl = page.root.shadowRoot.querySelector(".search-results-status");
|
382
|
-
expect(searchResultsStatusEl).toEqualText("2 results available");
|
383
|
-
});
|
384
|
-
it("should test clear button events", async () => {
|
385
|
-
const page = await newSpecPage({
|
386
|
-
components: [SearchBar, Button, Menu],
|
387
|
-
html: '<ic-search-bar label="Test label" value="espresso" disable-auto-filtering="true"></ic-search-bar>',
|
388
|
-
});
|
389
|
-
page.root.options = menuOptions;
|
390
|
-
await page.waitForChanges();
|
391
|
-
const clearButton = page.root.shadowRoot.querySelector("#clear-button");
|
392
|
-
clearButton.focus();
|
393
|
-
await page.waitForChanges();
|
394
|
-
expect(page.rootInstance.clearButtonFocused).toBe(true);
|
395
|
-
const eventSpy = jest.fn();
|
396
|
-
page.win.addEventListener("icClearBlur", eventSpy);
|
397
|
-
clearButton.blur();
|
398
|
-
await waitForTimeout(500);
|
399
|
-
await page.waitForChanges();
|
400
|
-
expect(eventSpy).toHaveBeenCalled();
|
401
|
-
clearButton.click();
|
402
|
-
await page.waitForChanges();
|
403
|
-
await waitForTimeout(500);
|
404
|
-
expect(page.rootInstance.value).toBe("");
|
405
|
-
//test disconnected callback
|
406
|
-
await page.setContent("");
|
407
|
-
expect(page.rootInstance.assistiveHintEl).toBeNull;
|
408
|
-
});
|
409
|
-
it("should test select of empty option list text", async () => {
|
410
|
-
const page = await newSpecPage({
|
411
|
-
components: [SearchBar, Button, Menu],
|
412
|
-
html: '<ic-search-bar label="Test label" value="espresso" disable-auto-filtering="true"></ic-search-bar>',
|
413
|
-
});
|
414
|
-
page.root.options = menuOptions;
|
415
|
-
const eventSpy = jest.fn();
|
416
|
-
page.win.addEventListener("icOptionSelect", eventSpy);
|
417
|
-
await page.waitForChanges();
|
418
|
-
await page.rootInstance.handleOptionSelect({
|
419
|
-
detail: { label: "No results found" },
|
420
|
-
});
|
421
|
-
await page.waitForChanges();
|
422
|
-
expect(eventSpy).not.toHaveBeenCalled;
|
423
|
-
});
|
424
|
-
it("should test select of empty option list text with previous option", async () => {
|
425
|
-
const page = await newSpecPage({
|
426
|
-
components: [SearchBar, Button, Menu],
|
427
|
-
html: '<ic-search-bar label="Test label" value="espresso" disable-auto-filtering="true"></ic-search-bar>',
|
428
|
-
});
|
429
|
-
page.root.options = menuOptions;
|
430
|
-
page.rootInstance.open = true;
|
431
|
-
await page.waitForChanges();
|
432
|
-
await page.rootInstance.handleOptionSelect({
|
433
|
-
detail: { label: "No results found" },
|
434
|
-
});
|
435
|
-
expect(page.rootInstance.prevNoOption).toBe(false);
|
436
|
-
page.rootInstance.prevNoOption = true;
|
437
|
-
await page.waitForChanges();
|
438
|
-
await page.rootInstance.highlightFirstOptionAfterNoResults();
|
439
|
-
expect(page.rootInstance.prevNoOption).toBe(false);
|
440
|
-
});
|
441
|
-
it("should test loading state when no options passed and filtering disabled", async () => {
|
442
|
-
const page = await newSpecPage({
|
443
|
-
components: [SearchBar, Button, Menu, InputContainer, InputLabel],
|
444
|
-
html: '<ic-search-bar label="Test label" helper-text="This is a description" disable-auto-filtering="true"></ic-search-bar>',
|
445
|
-
});
|
446
|
-
const input = page.root.shadowRoot.querySelector("input");
|
447
|
-
const event = new Event("input", {
|
448
|
-
bubbles: true,
|
449
|
-
cancelable: true,
|
450
|
-
});
|
451
|
-
page.rootInstance.value = "aa";
|
452
|
-
input.dispatchEvent(event);
|
453
|
-
page.rootInstance.loading = true;
|
454
|
-
await page.waitForChanges();
|
455
|
-
//delay to wait for aria live update
|
456
|
-
await waitForTimeout(700);
|
457
|
-
expect(page.rootInstance.filteredOptions).toHaveLength(1);
|
458
|
-
expect(page.rootInstance.filteredOptions[0].label).toEqual("Loading...");
|
459
|
-
});
|
460
|
-
it("should test loading timeout and retry when options is not populated before the timeout is finished", async () => {
|
461
|
-
const page = await newSpecPage({
|
462
|
-
components: [SearchBar, Button, Menu, InputContainer, InputLabel],
|
463
|
-
html: '<ic-search-bar label="Test label" helper-text="This is a description" disable-auto-filtering="true" timeout="1000"></ic-search-bar>',
|
464
|
-
});
|
465
|
-
const input = page.root.shadowRoot.querySelector("input");
|
466
|
-
const event = new Event("input", {
|
467
|
-
bubbles: true,
|
468
|
-
cancelable: true,
|
469
|
-
});
|
470
|
-
page.rootInstance.value = "lo";
|
471
|
-
input.dispatchEvent(event);
|
472
|
-
page.rootInstance.loading = true;
|
473
|
-
await page.waitForChanges();
|
474
|
-
//delay to wait for aria live update
|
475
|
-
await waitForTimeout(700);
|
476
|
-
expect(page.rootInstance.filteredOptions).toHaveLength(1);
|
477
|
-
expect(page.rootInstance.filteredOptions[0].label).toEqual("Loading...");
|
478
|
-
//takes wait time to over timeout time
|
479
|
-
await waitForTimeout(400);
|
480
|
-
expect(page.rootInstance.filteredOptions[0].label).toEqual("Loading Error");
|
481
|
-
page.rootInstance.open = true;
|
482
|
-
await page.waitForChanges();
|
483
|
-
const retryButton = page.root.shadowRoot
|
484
|
-
.querySelector("ic-menu")
|
485
|
-
.querySelector("#retry-button");
|
486
|
-
const eventSpy = jest.fn();
|
487
|
-
page.win.addEventListener("icRetryLoad", eventSpy);
|
488
|
-
retryButton.click();
|
489
|
-
page.rootInstance.loading = true;
|
490
|
-
await page.waitForChanges();
|
491
|
-
//delay to wait for aria live update
|
492
|
-
await waitForTimeout(700);
|
493
|
-
expect(page.rootInstance.filteredOptions[0].label).toEqual("Loading...");
|
494
|
-
expect(eventSpy).toHaveBeenCalled();
|
495
|
-
page.root.options = [];
|
496
|
-
await page.waitForChanges();
|
497
|
-
expect(page.rootInstance.filteredOptions[0].label).toEqual("No results found");
|
498
|
-
//to ensure timeout was cancelled
|
499
|
-
await waitForTimeout(1000);
|
500
|
-
expect(page.rootInstance.filteredOptions[0].label).not.toEqual("Loading Error");
|
501
|
-
// Tests hadNoOptions() when options is updated
|
502
|
-
page.rootInstance.open = false;
|
503
|
-
page.root.options = [];
|
504
|
-
await page.waitForChanges();
|
505
|
-
expect(page.rootInstance.open).toBeFalsy;
|
506
|
-
});
|
507
|
-
it("should test retry loading with keyboard navigation", async () => {
|
508
|
-
const page = await newSpecPage({
|
509
|
-
components: [SearchBar, Button, Menu, InputContainer, InputLabel],
|
510
|
-
html: '<ic-search-bar label="Test label" helper-text="This is a description" disable-auto-filtering="true" timeout="1000"></ic-search-bar>',
|
511
|
-
});
|
512
|
-
const input = page.root.shadowRoot.querySelector("input");
|
513
|
-
const event = new Event("input", {
|
514
|
-
bubbles: true,
|
515
|
-
cancelable: true,
|
516
|
-
});
|
517
|
-
page.rootInstance.value = "lo";
|
518
|
-
input.dispatchEvent(event);
|
519
|
-
page.rootInstance.loading = true;
|
520
|
-
await page.waitForChanges();
|
521
|
-
//delay to wait for aria live update and timeout
|
522
|
-
await waitForTimeout(1100);
|
523
|
-
const retryClick = jest.spyOn(HTMLInputElement.prototype, "focus");
|
524
|
-
page.rootInstance.handleRetry({
|
525
|
-
detail: { keyPressed: "Enter", value: "lo" },
|
526
|
-
});
|
527
|
-
await page.waitForChanges();
|
528
|
-
page.rootInstance.handleHostBlur({ relatedTarget: input });
|
529
|
-
await page.waitForChanges();
|
530
|
-
expect(retryClick).toHaveBeenCalled;
|
531
|
-
expect(page.rootInstance.open).toBeTruthy;
|
532
|
-
});
|
533
|
-
it("should render a hidden assistive element on load", async () => {
|
534
|
-
const page = await newSpecPage({
|
535
|
-
components: [SearchBar, InputContainer, InputLabel],
|
536
|
-
html: '<ic-search-bar label="Test label" assistive-hint-text="Hint" disable-auto-filtering="true"></ic-search-bar>',
|
537
|
-
});
|
538
|
-
expect(page.rootInstance.assistiveHintEl).not.toBeNull;
|
539
|
-
expect(page.rootInstance.assistiveHintEl.innerText).toBe("Hint");
|
540
|
-
});
|
541
|
-
it("should test mousedown handler", async () => {
|
542
|
-
const page = await newSpecPage({
|
543
|
-
components: [SearchBar, Button, Menu, InputContainer, InputLabel],
|
544
|
-
html: '<ic-search-bar label="Test label" value="test"></ic-search-bar>',
|
545
|
-
});
|
546
|
-
await page.rootInstance.handleMouseDown({
|
547
|
-
preventDefault: () => null,
|
548
|
-
});
|
549
|
-
await page.waitForChanges();
|
550
|
-
expect(page.root.value).toBe("test");
|
551
|
-
});
|
552
|
-
});
|
553
|
-
//# sourceMappingURL=ic-search-bar.spec.js.map
|