@ukic/web-components 2.1.0-beta.0 → 2.1.0-beta.10
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +8 -0
- package/dist/cjs/OpenInNew-f9958725.js +7 -0
- package/dist/cjs/OpenInNew-f9958725.js.map +1 -0
- package/dist/cjs/{check-icon-999d9877.js → check-icon-b2f60716.js} +2 -2
- package/dist/cjs/check-icon-b2f60716.js.map +1 -0
- package/dist/cjs/{chevron-icon-d175fe66.js → chevron-icon-2645d6b0.js} +2 -2
- package/dist/cjs/chevron-icon-2645d6b0.js.map +1 -0
- package/dist/cjs/core.cjs.js +3 -3
- package/dist/cjs/core.cjs.js.map +1 -1
- package/dist/cjs/{helpers-d0eeccf0.js → helpers-6eb26e7a.js} +158 -40
- package/dist/cjs/helpers-6eb26e7a.js.map +1 -0
- package/dist/cjs/ic-alert.cjs.entry.js +6 -25
- package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +24 -12
- package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +14 -5
- package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +86 -37
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card.cjs.entry.js +43 -6
- package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +4 -4
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +19 -6
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +77 -0
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-classification-banner.cjs.entry.js +3 -3
- package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-entity.cjs.entry.js +2 -2
- package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +14 -12
- package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-divider.cjs.entry.js +3 -3
- package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +4 -3
- package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +12 -5
- package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +5 -5
- package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +3 -3
- package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +158 -0
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +71 -41
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +6 -8
- package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-link.cjs.entry.js +14 -8
- package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +5 -4
- package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +6 -5
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +18 -11
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +8 -8
- package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +5 -5
- package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +13 -5
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +24 -6
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +53 -41
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
- package/dist/cjs/ic-section-container.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-select.cjs.entry.js +206 -59
- package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +24 -12
- package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +6 -5
- package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +103 -23
- package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +166 -42
- package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +12 -3
- package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-context.cjs.entry.js +7 -2
- package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +9 -118
- package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -6
- package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +10 -6
- package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-text-field.cjs.entry.js +5 -5
- package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +21 -13
- package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast-region.cjs.entry.js +48 -0
- package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-toast.cjs.entry.js +165 -0
- package/dist/cjs/ic-toast.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-top-navigation.cjs.entry.js +15 -10
- package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
- package/dist/cjs/{index-3ef30d9d.js → index-f79a4e53.js} +21 -2
- package/dist/cjs/index-f79a4e53.js.map +1 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/types-3eb02246.js.map +1 -1
- package/dist/collection/assets/back-icon.svg +1 -1
- package/dist/collection/assets/check-icon.svg +1 -1
- package/dist/collection/assets/chevron-icon.svg +1 -1
- package/dist/collection/assets/dismiss-icon.svg +3 -0
- package/dist/collection/assets/error-icon.svg +3 -3
- package/dist/collection/assets/info-icon.svg +3 -3
- package/dist/collection/assets/neutral-icon.svg +3 -3
- package/dist/collection/assets/success-icon.svg +3 -3
- package/dist/collection/assets/warning-icon-outline.svg +3 -0
- package/dist/collection/assets/warning-icon.svg +3 -3
- package/dist/collection/collection-manifest.json +6 -2
- package/dist/collection/components/ic-alert/ic-alert.css +23 -17
- package/dist/collection/components/ic-alert/ic-alert.js +32 -24
- package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
- package/dist/collection/components/ic-back-to-top/assets/ArrowUpward.svg +2 -2
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.css +23 -7
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +18 -7
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.css +6 -0
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +33 -4
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +2 -2
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -1
- package/dist/collection/components/ic-button/ic-button.css +26 -14
- package/dist/collection/components/ic-button/ic-button.js +17 -32
- package/dist/collection/components/ic-button/ic-button.js.map +1 -1
- package/dist/collection/components/ic-card/ic-card.css +66 -17
- package/dist/collection/components/ic-card/ic-card.js +123 -15
- package/dist/collection/components/ic-card/ic-card.js.map +1 -1
- package/dist/collection/components/ic-checkbox/ic-checkbox.css +65 -30
- package/dist/collection/components/ic-checkbox/ic-checkbox.js +66 -13
- package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +18 -2
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +11 -11
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.test.a11y.js +1 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-chip/ic-chip.css +596 -0
- package/dist/collection/components/ic-chip/ic-chip.js +247 -0
- package/dist/collection/components/ic-chip/ic-chip.js.map +1 -0
- package/dist/collection/components/ic-chip/ic-chip.test.a11y.js +11 -0
- package/dist/collection/components/ic-chip/ic-chip.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-chip/ic-chip.types.js +2 -0
- package/dist/collection/components/ic-chip/ic-chip.types.js.map +1 -0
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.css +11 -1
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +6 -6
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +1 -1
- package/dist/collection/components/ic-data-entity/ic-data-entity.css +7 -1
- package/dist/collection/components/ic-data-entity/ic-data-entity.js +2 -2
- package/dist/collection/components/ic-data-entity/ic-data-entity.js.map +1 -1
- package/dist/collection/components/ic-data-row/ic-data-row.css +26 -8
- package/dist/collection/components/ic-data-row/ic-data-row.js +14 -12
- package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -1
- package/dist/collection/components/ic-divider/ic-divider.css +1 -1
- package/dist/collection/components/ic-divider/ic-divider.js +1 -1
- package/dist/collection/components/ic-divider/ic-divider.js.map +1 -1
- package/dist/collection/components/ic-footer/ic-footer.css +10 -4
- package/dist/collection/components/ic-footer/ic-footer.js +19 -16
- package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
- package/dist/collection/components/ic-footer-link/ic-footer-link.css +35 -3
- package/dist/collection/components/ic-footer-link/ic-footer-link.js +101 -4
- package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.css +1 -1
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +4 -3
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -1
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.test.a11y.js +1 -1
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-hero/ic-hero.css +35 -30
- package/dist/collection/components/ic-hero/ic-hero.js +10 -10
- package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
- package/dist/collection/components/ic-horizontal-scroll/assets/left-arrow.svg +3 -0
- package/dist/collection/components/ic-horizontal-scroll/assets/right-arrow.svg +3 -0
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.css +539 -0
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +213 -0
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -0
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.js +34 -0
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +31 -18
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +8 -8
- 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.css +0 -1
- package/dist/collection/components/ic-input-container/ic-input-container.js +2 -2
- 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 +8 -8
- package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -1
- package/dist/collection/components/ic-input-validation/ic-input-validation.css +4 -5
- package/dist/collection/components/ic-input-validation/ic-input-validation.js +5 -5
- package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -1
- package/dist/collection/components/ic-link/ic-link.css +0 -9
- package/dist/collection/components/ic-link/ic-link.js +38 -11
- package/dist/collection/components/ic-link/ic-link.js.map +1 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +96 -105
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +96 -16
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.types.js.map +1 -1
- package/dist/collection/components/ic-menu/ic-menu.css +26 -14
- package/dist/collection/components/ic-menu/ic-menu.js +135 -68
- package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +9 -8
- 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 +14 -7
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +7 -6
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +68 -18
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +113 -16
- 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 +15 -11
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +8 -8
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -1
- package/dist/collection/components/ic-page-header/ic-page-header.css +15 -5
- package/dist/collection/components/ic-page-header/ic-page-header.js +10 -10
- package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.css +32 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +44 -13
- package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.test.a11y.js +1 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-radio-option/ic-radio-option.css +58 -49
- package/dist/collection/components/ic-radio-option/ic-radio-option.js +65 -19
- 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 +24 -18
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +87 -82
- package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
- package/dist/collection/components/ic-section-container/ic-section-container.css +1 -0
- package/dist/collection/components/ic-section-container/ic-section-container.js +2 -2
- package/dist/collection/components/ic-section-container/ic-section-container.js.map +1 -1
- package/dist/collection/components/ic-select/assets/Expand.svg +1 -1
- package/dist/collection/components/ic-select/ic-select.css +35 -18
- package/dist/collection/components/ic-select/ic-select.js +320 -77
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +57 -36
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +39 -23
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
- package/dist/collection/components/ic-skeleton/ic-skeleton.css +8 -0
- package/dist/collection/components/ic-skeleton/ic-skeleton.js +2 -2
- package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -1
- package/dist/collection/components/ic-status-tag/ic-status-tag.css +15 -7
- package/dist/collection/components/ic-status-tag/ic-status-tag.js +22 -3
- package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
- package/dist/collection/components/ic-status-tag/ic-status-tag.test.a11y.js +1 -1
- package/dist/collection/components/ic-status-tag/ic-status-tag.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-step/ic-step.css +157 -25
- package/dist/collection/components/ic-step/ic-step.js +270 -36
- package/dist/collection/components/ic-step/ic-step.js.map +1 -1
- package/dist/collection/components/ic-step/ic-step.types.js.map +1 -1
- package/dist/collection/components/ic-stepper/ic-stepper-test-examples.js +74 -0
- package/dist/collection/components/ic-stepper/ic-stepper-test-examples.js.map +1 -0
- package/dist/collection/components/ic-stepper/ic-stepper.css +15 -1
- package/dist/collection/components/ic-stepper/ic-stepper.js +210 -40
- package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
- package/dist/collection/components/ic-stepper/ic-stepper.test.a11y.js +13 -1
- package/dist/collection/components/ic-stepper/ic-stepper.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-switch/ic-switch.css +48 -18
- package/dist/collection/components/ic-switch/ic-switch.js +36 -7
- package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
- package/dist/collection/components/ic-tab/ic-tab.css +12 -2
- package/dist/collection/components/ic-tab/ic-tab.js +39 -12
- package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
- package/dist/collection/components/ic-tab-context/ic-tab-context.js +31 -4
- package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
- package/dist/collection/components/ic-tab-context/ic-tab-context.test.a11y.js +1 -1
- package/dist/collection/components/ic-tab-context/ic-tab-context.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-tab-group/ic-tab-group.css +6 -120
- package/dist/collection/components/ic-tab-group/ic-tab-group.js +12 -156
- 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 +4 -0
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +4 -8
- 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 +18 -7
- package/dist/collection/components/ic-text-field/ic-text-field.js +32 -32
- package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
- package/dist/collection/components/ic-theme/ic-theme.js +29 -16
- package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
- package/dist/collection/components/ic-toast/ic-toast.css +597 -0
- package/dist/collection/components/ic-toast/ic-toast.js +382 -0
- package/dist/collection/components/ic-toast/ic-toast.js.map +1 -0
- package/dist/collection/components/ic-toast/ic-toast.test.a11y.js +16 -0
- package/dist/collection/components/ic-toast/ic-toast.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-toast/ic-toast.types.js +2 -0
- package/dist/collection/components/ic-toast/ic-toast.types.js.map +1 -0
- package/dist/collection/components/ic-toast-region/ic-toast-region.js +81 -0
- package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -0
- package/dist/collection/components/ic-tooltip/ic-tooltip.css +13 -9
- package/dist/collection/components/ic-tooltip/ic-tooltip.js +25 -2
- package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +108 -113
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +21 -15
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.test.a11y.js +1 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-typography/ic-typography.js +1 -1
- package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
- package/dist/collection/normalize.css +440 -0
- package/dist/collection/testspec.setup.js +8 -0
- package/dist/collection/testspec.setup.js.map +1 -1
- package/dist/collection/utils/constants.js +37 -0
- package/dist/collection/utils/constants.js.map +1 -1
- package/dist/collection/utils/helpers.js +80 -38
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/OpenInNew.js +5 -0
- package/dist/components/OpenInNew.js.map +1 -0
- package/dist/components/check-icon.js +1 -1
- package/dist/components/chevron-icon.js +1 -1
- package/dist/components/helpers.js +147 -38
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/ic-alert.js +6 -25
- package/dist/components/ic-alert.js.map +1 -1
- package/dist/components/ic-back-to-top.js +23 -11
- package/dist/components/ic-back-to-top.js.map +1 -1
- package/dist/components/ic-breadcrumb-group.js.map +1 -1
- package/dist/components/ic-breadcrumb2.js +14 -4
- package/dist/components/ic-breadcrumb2.js.map +1 -1
- package/dist/components/ic-button2.js +9 -21
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card.js +68 -7
- package/dist/components/ic-card.js.map +1 -1
- package/dist/components/ic-checkbox-group.js +4 -4
- package/dist/components/ic-checkbox-group.js.map +1 -1
- package/dist/components/ic-checkbox.js +21 -7
- package/dist/components/ic-checkbox.js.map +1 -1
- package/dist/components/ic-chip.d.ts +11 -0
- package/dist/components/ic-chip.js +111 -0
- package/dist/components/ic-chip.js.map +1 -0
- package/dist/components/ic-classification-banner.js +2 -2
- package/dist/components/ic-classification-banner.js.map +1 -1
- package/dist/components/ic-data-entity.js +1 -1
- package/dist/components/ic-data-entity.js.map +1 -1
- package/dist/components/ic-data-row.js +12 -10
- package/dist/components/ic-data-row.js.map +1 -1
- package/dist/components/ic-divider2.js +3 -3
- package/dist/components/ic-divider2.js.map +1 -1
- package/dist/components/ic-footer-link-group.js +5 -4
- package/dist/components/ic-footer-link-group.js.map +1 -1
- package/dist/components/ic-footer-link.js +18 -6
- package/dist/components/ic-footer-link.js.map +1 -1
- package/dist/components/ic-footer.js +5 -5
- package/dist/components/ic-footer.js.map +1 -1
- package/dist/components/ic-hero.js +3 -3
- package/dist/components/ic-hero.js.map +1 -1
- package/dist/components/ic-horizontal-scroll.d.ts +11 -0
- package/dist/components/ic-horizontal-scroll.js +8 -0
- package/dist/components/ic-horizontal-scroll.js.map +1 -0
- package/dist/components/ic-horizontal-scroll2.js +199 -0
- package/dist/components/ic-horizontal-scroll2.js.map +1 -0
- package/dist/components/ic-input-component-container2.js +2 -3
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-input-container2.js +1 -1
- package/dist/components/ic-input-container2.js.map +1 -1
- package/dist/components/ic-input-label2.js +1 -1
- package/dist/components/ic-input-label2.js.map +1 -1
- package/dist/components/ic-input-validation2.js +2 -4
- package/dist/components/ic-input-validation2.js.map +1 -1
- package/dist/components/ic-link2.js +16 -9
- package/dist/components/ic-link2.js.map +1 -1
- package/dist/components/ic-loading-indicator2.js +74 -15
- package/dist/components/ic-loading-indicator2.js.map +1 -1
- package/dist/components/ic-menu2.js +66 -35
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-button.js +6 -5
- package/dist/components/ic-navigation-button.js.map +1 -1
- package/dist/components/ic-navigation-group.js +6 -5
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js +23 -11
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-navigation-menu2.js +8 -8
- package/dist/components/ic-navigation-menu2.js.map +1 -1
- package/dist/components/ic-page-header.js +30 -6
- package/dist/components/ic-page-header.js.map +1 -1
- package/dist/components/ic-radio-group.js +14 -5
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +26 -7
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +56 -43
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-section-container2.js +1 -1
- package/dist/components/ic-section-container2.js.map +1 -1
- package/dist/components/ic-select.js +212 -59
- package/dist/components/ic-select.js.map +1 -1
- package/dist/components/ic-side-navigation.js +23 -11
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-skeleton.js +1 -1
- package/dist/components/ic-skeleton.js.map +1 -1
- package/dist/components/ic-status-tag.js +6 -4
- package/dist/components/ic-status-tag.js.map +1 -1
- package/dist/components/ic-step.js +117 -23
- package/dist/components/ic-step.js.map +1 -1
- package/dist/components/ic-stepper.js +173 -42
- package/dist/components/ic-stepper.js.map +1 -1
- package/dist/components/ic-switch.js +14 -4
- package/dist/components/ic-switch.js.map +1 -1
- package/dist/components/ic-tab-context.js +6 -1
- package/dist/components/ic-tab-context.js.map +1 -1
- package/dist/components/ic-tab-group.js +30 -125
- package/dist/components/ic-tab-group.js.map +1 -1
- package/dist/components/ic-tab-panel.js +1 -5
- package/dist/components/ic-tab-panel.js.map +1 -1
- package/dist/components/ic-tab.js +11 -6
- package/dist/components/ic-tab.js.map +1 -1
- package/dist/components/ic-text-field2.js +6 -6
- package/dist/components/ic-text-field2.js.map +1 -1
- package/dist/components/ic-theme.js +20 -12
- package/dist/components/ic-theme.js.map +1 -1
- package/dist/components/ic-toast-region.d.ts +11 -0
- package/dist/components/ic-toast-region.js +63 -0
- package/dist/components/ic-toast-region.js.map +1 -0
- package/dist/components/ic-toast.d.ts +11 -0
- package/dist/components/ic-toast.js +214 -0
- package/dist/components/ic-toast.js.map +1 -0
- package/dist/components/ic-tooltip2.js +10 -4
- package/dist/components/ic-tooltip2.js.map +1 -1
- package/dist/components/ic-top-navigation.js +23 -12
- package/dist/components/ic-top-navigation.js.map +1 -1
- package/dist/components/ic-typography2.js.map +1 -1
- package/dist/components/index.d.ts +5 -1
- package/dist/components/index.js +4 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/types.js.map +1 -1
- package/dist/core/core.css +13 -13
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/normalize.css +440 -0
- package/dist/core/p-1724000c.js +2 -0
- package/dist/core/p-1724000c.js.map +1 -0
- package/dist/core/p-18ae4b6d.entry.js +2 -0
- package/dist/core/p-18ae4b6d.entry.js.map +1 -0
- package/dist/core/p-18bf3cb0.entry.js +2 -0
- package/dist/core/p-18bf3cb0.entry.js.map +1 -0
- package/dist/core/p-24240e11.js +2 -0
- package/dist/core/p-284970bc.entry.js +2 -0
- package/dist/core/p-284970bc.entry.js.map +1 -0
- package/dist/core/p-31a595c1.entry.js +2 -0
- package/dist/core/p-31a595c1.entry.js.map +1 -0
- package/dist/core/{p-972f4e69.entry.js → p-35a03442.entry.js} +2 -2
- package/dist/core/p-35a03442.entry.js.map +1 -0
- package/dist/core/p-360adc51.entry.js +2 -0
- package/dist/core/p-360adc51.entry.js.map +1 -0
- package/dist/core/p-3dda76db.entry.js +2 -0
- package/dist/core/p-3dda76db.entry.js.map +1 -0
- package/dist/core/p-41e239cb.entry.js +2 -0
- package/dist/core/p-41e239cb.entry.js.map +1 -0
- package/dist/core/p-44c9612c.entry.js +2 -0
- package/dist/core/p-44c9612c.entry.js.map +1 -0
- package/dist/core/p-4a73728b.entry.js +2 -0
- package/dist/core/p-4a73728b.entry.js.map +1 -0
- package/dist/core/p-521be4e2.entry.js +2 -0
- package/dist/core/p-521be4e2.entry.js.map +1 -0
- package/dist/core/{p-f9370be6.js → p-5450cebf.js} +3 -3
- package/dist/core/p-5450cebf.js.map +1 -0
- package/dist/core/p-5b083ce5.entry.js +2 -0
- package/dist/core/p-5b083ce5.entry.js.map +1 -0
- package/dist/core/p-62b3516e.entry.js +2 -0
- package/dist/core/p-62b3516e.entry.js.map +1 -0
- package/dist/core/{p-3c6defd7.entry.js → p-691ea0f2.entry.js} +2 -2
- package/dist/core/p-691ea0f2.entry.js.map +1 -0
- package/dist/core/p-6a397882.entry.js +2 -0
- package/dist/core/p-6a397882.entry.js.map +1 -0
- package/dist/core/p-6f57b13c.js.map +1 -1
- package/dist/core/p-7818d958.entry.js +2 -0
- package/dist/core/p-7818d958.entry.js.map +1 -0
- package/dist/core/p-7a0bf893.entry.js +2 -0
- package/dist/core/p-7a0bf893.entry.js.map +1 -0
- package/dist/core/p-7a9bc7f2.entry.js +2 -0
- package/dist/core/p-7a9bc7f2.entry.js.map +1 -0
- package/dist/core/{p-eb33ece2.entry.js → p-7fd50355.entry.js} +2 -2
- package/dist/core/p-7fd50355.entry.js.map +1 -0
- package/dist/core/p-897e967a.entry.js +2 -0
- package/dist/core/p-897e967a.entry.js.map +1 -0
- package/dist/core/p-8c7f4343.js +2 -0
- package/dist/core/p-8d4f7027.js +2 -0
- package/dist/core/p-8f1176c6.entry.js +2 -0
- package/dist/core/p-8f1176c6.entry.js.map +1 -0
- package/dist/core/{p-9c1f2861.entry.js → p-8ffa00c9.entry.js} +2 -2
- package/dist/core/p-8ffa00c9.entry.js.map +1 -0
- package/dist/core/p-91a8db51.entry.js +2 -0
- package/dist/core/p-91a8db51.entry.js.map +1 -0
- package/dist/core/p-a09d853e.entry.js +2 -0
- package/dist/core/p-a09d853e.entry.js.map +1 -0
- package/dist/core/p-a10da430.entry.js +2 -0
- package/dist/core/p-a10da430.entry.js.map +1 -0
- package/dist/core/p-a667e329.entry.js +2 -0
- package/dist/core/p-a667e329.entry.js.map +1 -0
- package/dist/core/{p-6be5e06b.entry.js → p-ad2477d8.entry.js} +2 -2
- package/dist/core/p-ad2477d8.entry.js.map +1 -0
- package/dist/core/p-b35ae170.entry.js +2 -0
- package/dist/core/p-b35ae170.entry.js.map +1 -0
- package/dist/core/p-b40bd77c.entry.js +2 -0
- package/dist/core/p-b40bd77c.entry.js.map +1 -0
- package/dist/core/p-b4234318.entry.js +2 -0
- package/dist/core/p-b4234318.entry.js.map +1 -0
- package/dist/core/{p-0d63bfe4.entry.js → p-ba8d6c23.entry.js} +2 -2
- package/dist/core/p-ba8d6c23.entry.js.map +1 -0
- package/dist/core/p-bd819f68.entry.js +2 -0
- package/dist/core/p-bd819f68.entry.js.map +1 -0
- package/dist/core/p-c4a7c734.entry.js +2 -0
- package/dist/core/p-c4a7c734.entry.js.map +1 -0
- package/dist/core/p-c72e4b75.entry.js +2 -0
- package/dist/core/p-c72e4b75.entry.js.map +1 -0
- package/dist/core/p-c7b86643.entry.js +2 -0
- package/dist/core/p-c7b86643.entry.js.map +1 -0
- package/dist/core/p-c7c5d2c5.entry.js +2 -0
- package/dist/core/p-c7c5d2c5.entry.js.map +1 -0
- package/dist/core/p-c8f07be6.entry.js +2 -0
- package/dist/core/p-c8f07be6.entry.js.map +1 -0
- package/dist/core/{p-6d0eaaeb.entry.js → p-c9068822.entry.js} +2 -2
- package/dist/core/{p-6d0eaaeb.entry.js.map → p-c9068822.entry.js.map} +1 -1
- package/dist/core/p-cccbf2bf.entry.js +2 -0
- package/dist/core/p-cccbf2bf.entry.js.map +1 -0
- package/dist/core/{p-0992a2ee.entry.js → p-d2508752.entry.js} +2 -2
- package/dist/core/p-d2508752.entry.js.map +1 -0
- package/dist/core/p-d37b9695.entry.js +2 -0
- package/dist/core/p-d37b9695.entry.js.map +1 -0
- package/dist/core/p-d86b0d0e.entry.js +2 -0
- package/dist/core/p-d86b0d0e.entry.js.map +1 -0
- package/dist/core/p-dea3d5f0.entry.js +2 -0
- package/dist/core/p-dea3d5f0.entry.js.map +1 -0
- package/dist/core/p-e0d88c31.entry.js +2 -0
- package/dist/core/p-e0d88c31.entry.js.map +1 -0
- package/dist/core/p-e9202767.entry.js +2 -0
- package/dist/core/p-e9202767.entry.js.map +1 -0
- package/dist/core/p-eba373bf.entry.js +2 -0
- package/dist/core/p-eba373bf.entry.js.map +1 -0
- package/dist/core/p-ed6cf9b9.entry.js +2 -0
- package/dist/core/p-ed6cf9b9.entry.js.map +1 -0
- package/dist/esm/OpenInNew-67a881e0.js +5 -0
- package/dist/esm/OpenInNew-67a881e0.js.map +1 -0
- package/dist/esm/{check-icon-53f1d9e5.js → check-icon-abb210ec.js} +2 -2
- package/dist/esm/check-icon-abb210ec.js.map +1 -0
- package/dist/esm/chevron-icon-98c98242.js +8 -0
- package/dist/esm/chevron-icon-98c98242.js.map +1 -0
- package/dist/esm/core.js +3 -3
- package/dist/esm/core.js.map +1 -1
- package/dist/esm/{helpers-e090fe7e.js → helpers-c332acf8.js} +148 -39
- package/dist/esm/helpers-c332acf8.js.map +1 -0
- package/dist/esm/ic-alert.entry.js +6 -25
- package/dist/esm/ic-alert.entry.js.map +1 -1
- package/dist/esm/ic-back-to-top.entry.js +24 -12
- package/dist/esm/ic-back-to-top.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb-group.entry.js +2 -2
- package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +14 -5
- package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ic-button_3.entry.js +86 -37
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card.entry.js +43 -6
- package/dist/esm/ic-card.entry.js.map +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +4 -4
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ic-checkbox.entry.js +19 -6
- package/dist/esm/ic-checkbox.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +73 -0
- package/dist/esm/ic-chip.entry.js.map +1 -0
- package/dist/esm/ic-classification-banner.entry.js +3 -3
- package/dist/esm/ic-classification-banner.entry.js.map +1 -1
- package/dist/esm/ic-data-entity.entry.js +2 -2
- package/dist/esm/ic-data-entity.entry.js.map +1 -1
- package/dist/esm/ic-data-row.entry.js +14 -12
- package/dist/esm/ic-data-row.entry.js.map +1 -1
- package/dist/esm/ic-divider.entry.js +3 -3
- package/dist/esm/ic-divider.entry.js.map +1 -1
- package/dist/esm/ic-footer-link-group.entry.js +4 -3
- package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
- package/dist/esm/ic-footer-link.entry.js +12 -5
- package/dist/esm/ic-footer-link.entry.js.map +1 -1
- package/dist/esm/ic-footer.entry.js +5 -5
- package/dist/esm/ic-footer.entry.js.map +1 -1
- package/dist/esm/ic-hero.entry.js +3 -3
- package/dist/esm/ic-hero.entry.js.map +1 -1
- package/dist/esm/ic-horizontal-scroll.entry.js +154 -0
- package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -0
- package/dist/esm/ic-input-component-container_3.entry.js +70 -40
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +3 -5
- package/dist/esm/ic-input-label_2.entry.js.map +1 -1
- package/dist/esm/ic-link.entry.js +13 -7
- package/dist/esm/ic-link.entry.js.map +1 -1
- package/dist/esm/ic-navigation-button.entry.js +5 -4
- package/dist/esm/ic-navigation-button.entry.js.map +1 -1
- package/dist/esm/ic-navigation-group.entry.js +6 -5
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +18 -11
- package/dist/esm/ic-navigation-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +8 -8
- package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
- package/dist/esm/ic-page-header.entry.js +5 -5
- package/dist/esm/ic-page-header.entry.js.map +1 -1
- package/dist/esm/ic-radio-group.entry.js +13 -5
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +24 -6
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +53 -41
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-section-container.entry.js +2 -2
- package/dist/esm/ic-section-container.entry.js.map +1 -1
- package/dist/esm/ic-select.entry.js +206 -59
- package/dist/esm/ic-select.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +24 -12
- package/dist/esm/ic-side-navigation.entry.js.map +1 -1
- package/dist/esm/ic-skeleton.entry.js +2 -2
- package/dist/esm/ic-skeleton.entry.js.map +1 -1
- package/dist/esm/ic-status-tag.entry.js +6 -5
- package/dist/esm/ic-status-tag.entry.js.map +1 -1
- package/dist/esm/ic-step.entry.js +103 -23
- package/dist/esm/ic-step.entry.js.map +1 -1
- package/dist/esm/ic-stepper.entry.js +166 -42
- package/dist/esm/ic-stepper.entry.js.map +1 -1
- package/dist/esm/ic-switch.entry.js +12 -3
- package/dist/esm/ic-switch.entry.js.map +1 -1
- package/dist/esm/ic-tab-context.entry.js +7 -2
- package/dist/esm/ic-tab-context.entry.js.map +1 -1
- package/dist/esm/ic-tab-group.entry.js +9 -118
- package/dist/esm/ic-tab-group.entry.js.map +1 -1
- package/dist/esm/ic-tab-panel.entry.js +2 -6
- package/dist/esm/ic-tab-panel.entry.js.map +1 -1
- package/dist/esm/ic-tab.entry.js +10 -6
- package/dist/esm/ic-tab.entry.js.map +1 -1
- package/dist/esm/ic-text-field.entry.js +5 -5
- package/dist/esm/ic-text-field.entry.js.map +1 -1
- package/dist/esm/ic-theme.entry.js +21 -13
- package/dist/esm/ic-theme.entry.js.map +1 -1
- package/dist/esm/ic-toast-region.entry.js +44 -0
- package/dist/esm/ic-toast-region.entry.js.map +1 -0
- package/dist/esm/ic-toast.entry.js +161 -0
- package/dist/esm/ic-toast.entry.js.map +1 -0
- package/dist/esm/ic-top-navigation.entry.js +15 -10
- package/dist/esm/ic-top-navigation.entry.js.map +1 -1
- package/dist/esm/ic-typography.entry.js +1 -1
- package/dist/esm/ic-typography.entry.js.map +1 -1
- package/dist/esm/{index-1500de1f.js → index-90721b3c.js} +21 -2
- package/dist/esm/index-90721b3c.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/types-dd515332.js.map +1 -1
- package/dist/types/components/ic-alert/ic-alert.d.ts +14 -10
- package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +1 -0
- package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +9 -5
- package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +2 -2
- package/dist/types/components/ic-button/ic-button.d.ts +11 -14
- package/dist/types/components/ic-card/ic-card.d.ts +35 -10
- package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +18 -10
- package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +9 -9
- package/dist/types/components/ic-chip/ic-chip.d.ts +48 -0
- package/dist/types/components/ic-chip/ic-chip.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-chip/ic-chip.types.d.ts +2 -0
- package/dist/types/components/ic-classification-banner/ic-classification-banner.d.ts +5 -5
- package/dist/types/components/ic-data-entity/ic-data-entity.d.ts +2 -2
- package/dist/types/components/ic-data-row/ic-data-row.d.ts +3 -3
- package/dist/types/components/ic-footer/ic-footer.d.ts +12 -12
- package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +20 -0
- package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +1 -1
- package/dist/types/components/ic-hero/ic-hero.d.ts +9 -9
- package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.d.ts +39 -0
- package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +8 -8
- package/dist/types/components/ic-input-container/ic-input-container.d.ts +2 -2
- package/dist/types/components/ic-input-label/ic-input-label.d.ts +8 -8
- package/dist/types/components/ic-input-validation/ic-input-validation.d.ts +5 -5
- package/dist/types/components/ic-link/ic-link.d.ts +10 -7
- package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +15 -4
- package/dist/types/components/ic-loading-indicator/ic-loading-indicator.types.d.ts +5 -0
- package/dist/types/components/ic-menu/ic-menu.d.ts +36 -18
- package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +6 -6
- package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +3 -3
- package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +28 -8
- package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +2 -2
- package/dist/types/components/ic-page-header/ic-page-header.d.ts +10 -8
- package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +15 -11
- package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +17 -11
- package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +31 -30
- package/dist/types/components/ic-section-container/ic-section-container.d.ts +2 -2
- package/dist/types/components/ic-select/ic-select.d.ts +68 -23
- package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +13 -12
- package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +2 -2
- package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +5 -1
- package/dist/types/components/ic-step/ic-step.d.ts +37 -9
- package/dist/types/components/ic-step/ic-step.types.d.ts +2 -0
- package/dist/types/components/ic-stepper/ic-stepper-test-examples.d.ts +4 -0
- package/dist/types/components/ic-stepper/ic-stepper.d.ts +23 -6
- package/dist/types/components/ic-switch/ic-switch.d.ts +11 -7
- package/dist/types/components/ic-tab/ic-tab.d.ts +10 -7
- package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +8 -4
- package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +5 -33
- package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +3 -4
- package/dist/types/components/ic-text-field/ic-text-field.d.ts +31 -31
- package/dist/types/components/ic-theme/ic-theme.d.ts +5 -4
- package/dist/types/components/ic-toast/ic-toast.d.ts +66 -0
- package/dist/types/components/ic-toast/ic-toast.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-toast/ic-toast.types.d.ts +1 -0
- package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +12 -0
- package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +4 -0
- package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +7 -6
- package/dist/types/components/ic-typography/ic-typography.d.ts +1 -1
- package/dist/types/components.d.ts +937 -562
- package/dist/types/interface.d.ts +0 -1
- package/dist/types/testspec.setup.d.ts +1 -0
- package/dist/types/utils/constants.d.ts +24 -0
- package/dist/types/utils/helpers.d.ts +17 -3
- package/dist/types/utils/types.d.ts +6 -0
- package/hydrate/index.d.ts +1 -1
- package/hydrate/index.js +1768 -667
- package/package.json +9 -6
- package/dist/cjs/check-icon-999d9877.js.map +0 -1
- package/dist/cjs/chevron-icon-d175fe66.js.map +0 -1
- package/dist/cjs/error-icon-99504103.js +0 -18
- package/dist/cjs/error-icon-99504103.js.map +0 -1
- package/dist/cjs/helpers-d0eeccf0.js.map +0 -1
- package/dist/cjs/index-3ef30d9d.js.map +0 -1
- package/dist/cjs/success-icon-887b2097.js +0 -11
- package/dist/cjs/success-icon-887b2097.js.map +0 -1
- package/dist/collection/components/ic-alert/ic-alert.types.js +0 -2
- package/dist/collection/components/ic-alert/ic-alert.types.js.map +0 -1
- package/dist/collection/components/ic-tab-group/assets/left-arrow.svg +0 -3
- package/dist/collection/components/ic-tab-group/assets/right-arrow.svg +0 -3
- package/dist/components/error-icon.js +0 -15
- package/dist/components/error-icon.js.map +0 -1
- package/dist/components/success-icon.js +0 -9
- package/dist/components/success-icon.js.map +0 -1
- package/dist/core/p-037273aa.entry.js +0 -2
- package/dist/core/p-037273aa.entry.js.map +0 -1
- package/dist/core/p-0992a2ee.entry.js.map +0 -1
- package/dist/core/p-0d63bfe4.entry.js.map +0 -1
- package/dist/core/p-12e113bf.entry.js +0 -2
- package/dist/core/p-12e113bf.entry.js.map +0 -1
- package/dist/core/p-155114db.entry.js +0 -2
- package/dist/core/p-155114db.entry.js.map +0 -1
- package/dist/core/p-17d0d631.entry.js +0 -2
- package/dist/core/p-17d0d631.entry.js.map +0 -1
- package/dist/core/p-1b619302.entry.js +0 -2
- package/dist/core/p-1b619302.entry.js.map +0 -1
- package/dist/core/p-1e7b4310.js +0 -2
- package/dist/core/p-2177dae2.entry.js +0 -2
- package/dist/core/p-2177dae2.entry.js.map +0 -1
- package/dist/core/p-378a7270.entry.js +0 -2
- package/dist/core/p-378a7270.entry.js.map +0 -1
- package/dist/core/p-3c6defd7.entry.js.map +0 -1
- package/dist/core/p-40d3fd89.entry.js +0 -2
- package/dist/core/p-40d3fd89.entry.js.map +0 -1
- package/dist/core/p-48029498.entry.js +0 -2
- package/dist/core/p-48029498.entry.js.map +0 -1
- package/dist/core/p-50a0f1a0.entry.js +0 -2
- package/dist/core/p-50a0f1a0.entry.js.map +0 -1
- package/dist/core/p-54b77947.entry.js +0 -2
- package/dist/core/p-54b77947.entry.js.map +0 -1
- package/dist/core/p-59041cfc.entry.js +0 -2
- package/dist/core/p-59041cfc.entry.js.map +0 -1
- package/dist/core/p-5977c1e0.entry.js +0 -2
- package/dist/core/p-5977c1e0.entry.js.map +0 -1
- package/dist/core/p-6009c5bc.entry.js +0 -2
- package/dist/core/p-6009c5bc.entry.js.map +0 -1
- package/dist/core/p-6be5e06b.entry.js.map +0 -1
- package/dist/core/p-7577c6a3.entry.js +0 -2
- package/dist/core/p-7577c6a3.entry.js.map +0 -1
- package/dist/core/p-8054c2c0.entry.js +0 -2
- package/dist/core/p-8054c2c0.entry.js.map +0 -1
- package/dist/core/p-89d46b9b.entry.js +0 -2
- package/dist/core/p-89d46b9b.entry.js.map +0 -1
- package/dist/core/p-972f4e69.entry.js.map +0 -1
- package/dist/core/p-9a3d6bca.entry.js +0 -2
- package/dist/core/p-9a3d6bca.entry.js.map +0 -1
- package/dist/core/p-9c1f2861.entry.js.map +0 -1
- package/dist/core/p-9db8edb7.entry.js +0 -2
- package/dist/core/p-9db8edb7.entry.js.map +0 -1
- package/dist/core/p-9e1f450f.entry.js +0 -2
- package/dist/core/p-9e1f450f.entry.js.map +0 -1
- package/dist/core/p-a183353c.entry.js +0 -2
- package/dist/core/p-a183353c.entry.js.map +0 -1
- package/dist/core/p-a6715f61.entry.js +0 -2
- package/dist/core/p-a6715f61.entry.js.map +0 -1
- package/dist/core/p-a9237c61.entry.js +0 -2
- package/dist/core/p-a9237c61.entry.js.map +0 -1
- package/dist/core/p-aad5da60.entry.js +0 -2
- package/dist/core/p-aad5da60.entry.js.map +0 -1
- package/dist/core/p-ae6aa67f.js +0 -2
- package/dist/core/p-af6a41bd.entry.js +0 -2
- package/dist/core/p-af6a41bd.entry.js.map +0 -1
- package/dist/core/p-bf4ddf33.entry.js +0 -2
- package/dist/core/p-bf4ddf33.entry.js.map +0 -1
- package/dist/core/p-bf5717ca.js +0 -2
- package/dist/core/p-bfa9392f.entry.js +0 -2
- package/dist/core/p-bfa9392f.entry.js.map +0 -1
- package/dist/core/p-c023c49c.entry.js +0 -2
- package/dist/core/p-c023c49c.entry.js.map +0 -1
- package/dist/core/p-c96adfd7.entry.js +0 -2
- package/dist/core/p-c96adfd7.entry.js.map +0 -1
- package/dist/core/p-d38168f0.entry.js +0 -2
- package/dist/core/p-d38168f0.entry.js.map +0 -1
- package/dist/core/p-d61c2983.entry.js +0 -2
- package/dist/core/p-d61c2983.entry.js.map +0 -1
- package/dist/core/p-db6566c0.entry.js +0 -2
- package/dist/core/p-db6566c0.entry.js.map +0 -1
- package/dist/core/p-e28af65b.js +0 -2
- package/dist/core/p-e28af65b.js.map +0 -1
- package/dist/core/p-eb33ece2.entry.js.map +0 -1
- package/dist/core/p-ee3a9fd0.entry.js +0 -2
- package/dist/core/p-ee3a9fd0.entry.js.map +0 -1
- package/dist/core/p-ef59f111.entry.js +0 -2
- package/dist/core/p-ef59f111.entry.js.map +0 -1
- package/dist/core/p-f228c232.js +0 -2
- package/dist/core/p-f228c232.js.map +0 -1
- package/dist/core/p-f9370be6.js.map +0 -1
- package/dist/core/p-fce4b26b.entry.js +0 -2
- package/dist/core/p-fce4b26b.entry.js.map +0 -1
- package/dist/esm/check-icon-53f1d9e5.js.map +0 -1
- package/dist/esm/chevron-icon-5b38c60a.js +0 -8
- package/dist/esm/chevron-icon-5b38c60a.js.map +0 -1
- package/dist/esm/error-icon-6046a380.js +0 -15
- package/dist/esm/error-icon-6046a380.js.map +0 -1
- package/dist/esm/helpers-e090fe7e.js.map +0 -1
- package/dist/esm/index-1500de1f.js.map +0 -1
- package/dist/esm/success-icon-2f71b115.js +0 -9
- package/dist/esm/success-icon-2f71b115.js.map +0 -1
- package/dist/types/components/ic-alert/ic-alert.types.d.ts +0 -1
- /package/dist/collection/{components/ic-link/assets → assets}/OpenInNew.svg +0 -0
- /package/dist/core/{p-1e7b4310.js.map → p-24240e11.js.map} +0 -0
- /package/dist/core/{p-ae6aa67f.js.map → p-8c7f4343.js.map} +0 -0
- /package/dist/core/{p-bf5717ca.js.map → p-8d4f7027.js.map} +0 -0
@@ -9,7 +9,23 @@ export class Select {
|
|
9
9
|
constructor() {
|
10
10
|
this.inputId = `ic-select-input-${inputIds++}`;
|
11
11
|
this.menuId = `${this.inputId}-menu`;
|
12
|
+
this.ungroupedOptions = [];
|
12
13
|
this.inheritedAttributes = {};
|
14
|
+
this.hasSetDefaultValue = false;
|
15
|
+
this.initialRender = false;
|
16
|
+
this.initialOptionsEmpty = false;
|
17
|
+
this.emitIcChange = (value) => {
|
18
|
+
this.value = value;
|
19
|
+
clearTimeout(this.debounceIcChange);
|
20
|
+
this.debounceIcChange = window.setTimeout(() => {
|
21
|
+
this.icChange.emit({ value: value });
|
22
|
+
}, this.currDebounce);
|
23
|
+
};
|
24
|
+
this.emitImmediateIcChange = (value) => {
|
25
|
+
this.value = value;
|
26
|
+
clearTimeout(this.debounceIcChange);
|
27
|
+
this.icChange.emit({ value: value });
|
28
|
+
};
|
13
29
|
this.isMenuEnabled = () => {
|
14
30
|
return (((this.searchableSelectInputValue === null ||
|
15
31
|
this.searchableSelectInputValue === "") &&
|
@@ -27,6 +43,9 @@ export class Select {
|
|
27
43
|
});
|
28
44
|
}
|
29
45
|
};
|
46
|
+
this.setUngroupedOptions = (event) => {
|
47
|
+
this.ungroupedOptions = event.detail.options;
|
48
|
+
};
|
30
49
|
this.setTextColor = () => {
|
31
50
|
if (this.nativeSelectElement.selectedIndex === 0) {
|
32
51
|
this.nativeSelectElement.className = "placeholder";
|
@@ -50,13 +69,19 @@ export class Select {
|
|
50
69
|
};
|
51
70
|
this.getFilteredChildMenuOptions = (option) => {
|
52
71
|
let children = option.children;
|
53
|
-
|
72
|
+
if (this.searchable) {
|
73
|
+
children = getFilteredMenuOptions(option.children, this.includeDescriptionsInSearch, this.searchableSelectInputValue, this.searchMatchPosition);
|
74
|
+
}
|
75
|
+
else {
|
76
|
+
children = getFilteredMenuOptions(option.children, false, this.pressedCharacters, "start");
|
77
|
+
}
|
54
78
|
const newOption = Object.assign({}, option);
|
55
79
|
newOption.children = children;
|
56
80
|
return newOption;
|
57
81
|
};
|
58
82
|
this.handleNativeSelectChange = () => {
|
59
|
-
this.
|
83
|
+
this.icOptionSelect.emit({ value: this.nativeSelectElement.value });
|
84
|
+
this.emitImmediateIcChange(this.nativeSelectElement.value);
|
60
85
|
this.setTextColor();
|
61
86
|
};
|
62
87
|
this.handleCustomSelectChange = (event) => {
|
@@ -68,12 +93,20 @@ export class Select {
|
|
68
93
|
this.searchableSelectInputValue = this.getLabelFromValue(event.detail.value);
|
69
94
|
}
|
70
95
|
this.ariaActiveDescendant = event.detail.optionId;
|
71
|
-
this.
|
96
|
+
this.icOptionSelect.emit({ value: event.detail.value });
|
97
|
+
this.emitIcChange(event.detail.value);
|
72
98
|
};
|
73
99
|
this.handleMenuChange = (event) => {
|
74
100
|
this.open = event.detail.open;
|
101
|
+
this.pressedCharacters = "";
|
75
102
|
this.searchable && this.handleFocusIndicatorDisplay();
|
76
103
|
};
|
104
|
+
// clears the debounce delay when navigating the menu with arrow keys etc
|
105
|
+
// to prevent delay in change event, which should only occur when typing in input
|
106
|
+
this.handleMenuKeyPress = (ev) => {
|
107
|
+
ev.cancelBubble = true;
|
108
|
+
this.handleCharacterKeyDown(ev.detail.key);
|
109
|
+
};
|
77
110
|
this.handleFocusIndicatorDisplay = () => {
|
78
111
|
const focusIndicator = this.host.shadowRoot.querySelector(".focus-indicator");
|
79
112
|
if (this.open) {
|
@@ -88,9 +121,15 @@ export class Select {
|
|
88
121
|
event.preventDefault();
|
89
122
|
}
|
90
123
|
};
|
124
|
+
this.isExternalFiltering = () => this.searchable && this.disableFilter;
|
91
125
|
this.handleClick = (event) => {
|
92
|
-
this.
|
93
|
-
|
126
|
+
if (this.isExternalFiltering()) {
|
127
|
+
this.menu.options = this.filteredOptions;
|
128
|
+
}
|
129
|
+
else {
|
130
|
+
this.noOptions = null;
|
131
|
+
this.menu.options = this.options;
|
132
|
+
}
|
94
133
|
if (event.detail !== 0 && this.isMenuEnabled()) {
|
95
134
|
this.menu.handleClickOpen();
|
96
135
|
}
|
@@ -105,7 +144,8 @@ export class Select {
|
|
105
144
|
this.handleClear = (event) => {
|
106
145
|
event.stopPropagation();
|
107
146
|
this.noOptions = null;
|
108
|
-
this.
|
147
|
+
this.emitImmediateIcChange(null);
|
148
|
+
this.icClear.emit();
|
109
149
|
if (this.searchable) {
|
110
150
|
this.searchableSelectElement.value = null;
|
111
151
|
this.searchableSelectInputValue = null;
|
@@ -119,20 +159,49 @@ export class Select {
|
|
119
159
|
this.customSelectElement.focus();
|
120
160
|
}
|
121
161
|
};
|
162
|
+
this.handleCharacterKeyDown = (key) => {
|
163
|
+
// Only close menu when space is pressed if not being used alongside character keys to quickly select options
|
164
|
+
if (this.open && key === " " && this.pressedCharacters.length === 0) {
|
165
|
+
this.setMenuChange(false);
|
166
|
+
}
|
167
|
+
if (key.length === 1 && !this.searchable) {
|
168
|
+
window.clearTimeout(this.characterKeyPressTimer);
|
169
|
+
this.characterKeyPressTimer = window.setTimeout(() => (this.pressedCharacters = ""), 1000);
|
170
|
+
this.pressedCharacters += key;
|
171
|
+
this.handleFilter();
|
172
|
+
if (!this.noOptions) {
|
173
|
+
this.emitImmediateIcChange(this.filteredOptions[0].value);
|
174
|
+
}
|
175
|
+
}
|
176
|
+
else {
|
177
|
+
this.pressedCharacters = "";
|
178
|
+
}
|
179
|
+
};
|
180
|
+
this.handleNativeSelectKeyDown = (event) => {
|
181
|
+
event.cancelBubble = true;
|
182
|
+
this.handleCharacterKeyDown(event.key);
|
183
|
+
};
|
122
184
|
this.handleKeyDown = (event) => {
|
123
185
|
event.cancelBubble = true;
|
186
|
+
const isArrowKey = event.key === "ArrowDown" || event.key === "ArrowUp";
|
124
187
|
if (!this.open) {
|
125
|
-
this.
|
126
|
-
|
188
|
+
if (this.isExternalFiltering() && (event.key === "Enter" || isArrowKey)) {
|
189
|
+
this.menu.options = this.filteredOptions;
|
190
|
+
}
|
191
|
+
else {
|
192
|
+
this.noOptions = null;
|
193
|
+
this.menu.options = this.options;
|
194
|
+
}
|
127
195
|
}
|
128
196
|
if (this.open && event.key === "Enter") {
|
129
197
|
this.setMenuChange(false);
|
130
198
|
}
|
131
199
|
else {
|
132
|
-
if (!(
|
133
|
-
this.
|
134
|
-
|
135
|
-
|
200
|
+
if (!(isArrowKey && this.noOptions !== null) && this.isMenuEnabled()) {
|
201
|
+
if (!(event.key === " " && this.pressedCharacters.length > 0)) {
|
202
|
+
this.menu.handleKeyboardOpen(event);
|
203
|
+
}
|
204
|
+
this.handleCharacterKeyDown(event.key);
|
136
205
|
}
|
137
206
|
}
|
138
207
|
};
|
@@ -142,25 +211,21 @@ export class Select {
|
|
142
211
|
this.handleClearButtonBlur = () => {
|
143
212
|
this.clearButtonFocused = false;
|
144
213
|
};
|
145
|
-
this.
|
146
|
-
this.
|
147
|
-
if (this.getValueFromLabel(this.searchableSelectInputValue) === undefined) {
|
148
|
-
this.icChange.emit({ value: null });
|
149
|
-
}
|
150
|
-
if (this.isMenuEnabled()) {
|
151
|
-
this.setMenuChange(true);
|
152
|
-
}
|
153
|
-
else {
|
154
|
-
this.setMenuChange(false);
|
155
|
-
}
|
156
|
-
const options = [...this.options];
|
214
|
+
this.handleFilter = () => {
|
215
|
+
const options = this.searchable ? [...this.options] : this.ungroupedOptions;
|
157
216
|
let isGrouped = false;
|
158
217
|
let newFilteredOptions = [];
|
159
218
|
options.map((option) => {
|
160
219
|
if (option.children)
|
161
220
|
isGrouped = true;
|
162
221
|
});
|
163
|
-
|
222
|
+
let menuOptionsFiltered;
|
223
|
+
if (this.searchable) {
|
224
|
+
menuOptionsFiltered = getFilteredMenuOptions(options, this.includeDescriptionsInSearch, this.searchableSelectInputValue, this.searchMatchPosition);
|
225
|
+
}
|
226
|
+
else {
|
227
|
+
menuOptionsFiltered = getFilteredMenuOptions(options, false, this.pressedCharacters, "start");
|
228
|
+
}
|
164
229
|
if (!isGrouped) {
|
165
230
|
newFilteredOptions = menuOptionsFiltered;
|
166
231
|
}
|
@@ -197,17 +262,39 @@ export class Select {
|
|
197
262
|
this.noOptions = noOptions;
|
198
263
|
this.filteredOptions = this.noOptions;
|
199
264
|
}
|
200
|
-
this.debounceAriaLiveUpdate();
|
201
265
|
};
|
202
|
-
this.
|
203
|
-
|
204
|
-
|
205
|
-
|
266
|
+
this.handleSearchableSelectInput = (event) => {
|
267
|
+
this.searchableSelectInputValue = event.target.value;
|
268
|
+
this.icInput.emit({ value: this.searchableSelectInputValue });
|
269
|
+
if (this.disableFilter) {
|
270
|
+
this.emitIcChange(this.searchableSelectInputValue);
|
271
|
+
}
|
272
|
+
else if (this.getValueFromLabel(this.searchableSelectInputValue) === undefined) {
|
273
|
+
this.emitIcChange(null);
|
274
|
+
}
|
275
|
+
if (this.isMenuEnabled()) {
|
276
|
+
this.setMenuChange(true);
|
206
277
|
}
|
207
278
|
else {
|
208
|
-
|
279
|
+
this.setMenuChange(false);
|
280
|
+
}
|
281
|
+
if (!this.disableFilter) {
|
282
|
+
this.handleFilter();
|
283
|
+
this.debounceAriaLiveUpdate();
|
209
284
|
}
|
210
285
|
};
|
286
|
+
this.updateSearchableSelectResultAriaLive = () => {
|
287
|
+
const searchableSelectResultsStatusEl = this.host.shadowRoot.querySelector(".searchable-select-results-status");
|
288
|
+
if (searchableSelectResultsStatusEl) {
|
289
|
+
if (this.noOptions !== null) {
|
290
|
+
searchableSelectResultsStatusEl.innerText = this.emptyOptionListText;
|
291
|
+
}
|
292
|
+
else {
|
293
|
+
searchableSelectResultsStatusEl.innerText = "";
|
294
|
+
}
|
295
|
+
}
|
296
|
+
};
|
297
|
+
this.getDefaultValue = (value) => this.getLabelFromValue(value) || value || null;
|
211
298
|
this.onFocus = () => {
|
212
299
|
this.icFocus.emit();
|
213
300
|
};
|
@@ -223,7 +310,7 @@ export class Select {
|
|
223
310
|
this.handleFormReset = () => {
|
224
311
|
this.value = this.initialValue;
|
225
312
|
if (this.searchable) {
|
226
|
-
this.searchableSelectInputValue =
|
313
|
+
this.searchableSelectInputValue = this.getDefaultValue(this.value);
|
227
314
|
}
|
228
315
|
};
|
229
316
|
this.label = undefined;
|
@@ -239,6 +326,7 @@ export class Select {
|
|
239
326
|
this.validationStatus = "";
|
240
327
|
this.validationText = "";
|
241
328
|
this.value = undefined;
|
329
|
+
this.debounce = 0;
|
242
330
|
this.name = this.inputId;
|
243
331
|
this.showClearButton = false;
|
244
332
|
this.searchable = false;
|
@@ -247,6 +335,7 @@ export class Select {
|
|
247
335
|
this.searchMatchPosition = "anywhere";
|
248
336
|
this.charactersUntilSuggestions = 0;
|
249
337
|
this.emptyOptionListText = "No results found";
|
338
|
+
this.disableFilter = false;
|
250
339
|
this.open = false;
|
251
340
|
this.clearButtonFocused = false;
|
252
341
|
this.searchableSelectInputValue = null;
|
@@ -254,10 +343,45 @@ export class Select {
|
|
254
343
|
this.ariaActiveDescendant = undefined;
|
255
344
|
this.noOptions = null;
|
256
345
|
this.initialValue = this.value;
|
346
|
+
this.currDebounce = this.debounce;
|
347
|
+
this.currValue = this.value;
|
348
|
+
this.debounceIcChange = undefined;
|
349
|
+
this.pressedCharacters = "";
|
257
350
|
}
|
258
351
|
watchOptionsHandler() {
|
259
|
-
this.
|
260
|
-
|
352
|
+
if (this.isExternalFiltering()) {
|
353
|
+
if (this.options.length > 0) {
|
354
|
+
this.setOptionsValuesFromLabels();
|
355
|
+
this.noOptions = null;
|
356
|
+
this.filteredOptions = this.options;
|
357
|
+
}
|
358
|
+
else if (this.isMenuEnabled()) {
|
359
|
+
this.noOptions = [{ label: this.emptyOptionListText, value: "" }];
|
360
|
+
this.filteredOptions = this.noOptions;
|
361
|
+
// Will prevent 'No results found' displaying on initial load and setting default value
|
362
|
+
if (!this.initialRender) {
|
363
|
+
this.setMenuChange(true);
|
364
|
+
}
|
365
|
+
}
|
366
|
+
this.updateSearchableSelectResultAriaLive();
|
367
|
+
this.setDefaultValue();
|
368
|
+
}
|
369
|
+
else {
|
370
|
+
this.setOptionsValuesFromLabels();
|
371
|
+
this.filteredOptions = this.options;
|
372
|
+
if (this.initialOptionsEmpty) {
|
373
|
+
this.setDefaultValue();
|
374
|
+
this.initialOptionsEmpty = false;
|
375
|
+
}
|
376
|
+
}
|
377
|
+
}
|
378
|
+
debounceChangedHandler(newValue) {
|
379
|
+
this.updateOnChangeDebounce(newValue);
|
380
|
+
}
|
381
|
+
valueChangedHandler() {
|
382
|
+
if (this.value !== this.currValue) {
|
383
|
+
this.currValue = this.value;
|
384
|
+
}
|
261
385
|
}
|
262
386
|
/**
|
263
387
|
* Sets focus on the input box.
|
@@ -273,12 +397,24 @@ export class Select {
|
|
273
397
|
this.searchableSelectElement.focus();
|
274
398
|
}
|
275
399
|
}
|
400
|
+
updateOnChangeDebounce(newValue) {
|
401
|
+
if (this.currDebounce !== newValue) {
|
402
|
+
this.currDebounce = newValue;
|
403
|
+
}
|
404
|
+
}
|
276
405
|
debounceAriaLiveUpdate() {
|
277
|
-
clearTimeout(this.
|
406
|
+
clearTimeout(this.debounceAria);
|
278
407
|
window.setTimeout(() => {
|
279
408
|
this.updateSearchableSelectResultAriaLive();
|
280
409
|
}, 800);
|
281
410
|
}
|
411
|
+
setDefaultValue() {
|
412
|
+
if (!this.hasSetDefaultValue && this.currValue) {
|
413
|
+
this.searchableSelectInputValue = this.getDefaultValue(this.currValue);
|
414
|
+
this.initialValue = this.currValue;
|
415
|
+
this.hasSetDefaultValue = true;
|
416
|
+
}
|
417
|
+
}
|
282
418
|
componentWillLoad() {
|
283
419
|
this.inheritedAttributes = inheritAttributes(this.host, [
|
284
420
|
...IC_INHERITED_ARIA,
|
@@ -287,12 +423,22 @@ export class Select {
|
|
287
423
|
]);
|
288
424
|
this.setOptionsValuesFromLabels();
|
289
425
|
addFormResetListener(this.host, this.handleFormReset);
|
426
|
+
this.initialRender = true;
|
427
|
+
if (!this.options.length) {
|
428
|
+
this.initialOptionsEmpty = true;
|
429
|
+
}
|
430
|
+
else if (!this.disableFilter) {
|
431
|
+
this.setDefaultValue();
|
432
|
+
}
|
290
433
|
}
|
291
434
|
componentDidRender() {
|
292
435
|
if (this.nativeSelectElement && !this.disabled) {
|
293
436
|
this.setTextColor();
|
294
437
|
}
|
295
438
|
}
|
439
|
+
componentWillUpdate() {
|
440
|
+
this.initialRender = false;
|
441
|
+
}
|
296
442
|
componentDidLoad() {
|
297
443
|
onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Select");
|
298
444
|
}
|
@@ -300,49 +446,45 @@ export class Select {
|
|
300
446
|
removeFormResetListener(this.host, this.handleFormReset);
|
301
447
|
}
|
302
448
|
render() {
|
303
|
-
const { small, disabled, fullWidth, helperText, hideLabel, label, menuId, name, options, placeholder, readonly, required, searchable, showClearButton, validationStatus, validationText,
|
304
|
-
renderHiddenInput(true, this.host, name,
|
449
|
+
const { small, disabled, fullWidth, helperText, hideLabel, label, menuId, name, options, placeholder, readonly, required, searchable, showClearButton, validationStatus, validationText, currValue, } = this;
|
450
|
+
renderHiddenInput(true, this.host, name, currValue, disabled);
|
305
451
|
const invalid = validationStatus === IcInformationStatus.Error ? "true" : "false";
|
306
452
|
const describedBy = getInputDescribedByText(this.inputId, helperText !== "", hasValidationStatus(this.validationStatus, this.disabled)).trim();
|
307
|
-
return (h(Host, null, h("ic-input-container", { readonly: readonly }, !hideLabel && (h("ic-input-label", { for: this.inputId, label: label, helperText: helperText, required: required, disabled: disabled, readonly: readonly })), h("ic-input-component-container", { ref: (el) => (this.anchorEl = el), class: { "menu-open": this.open }, small: small, fullWidth: fullWidth, disabled: disabled, readonly: readonly, validationStatus: validationStatus }, readonly ? (h("ic-typography", null, h("p", null, this.getLabelFromValue(
|
453
|
+
return (h(Host, null, h("ic-input-container", { readonly: readonly }, !hideLabel && (h("ic-input-label", { for: this.inputId, label: label, helperText: helperText, required: required, disabled: disabled, readonly: readonly })), h("ic-input-component-container", { ref: (el) => (this.anchorEl = el), class: { "menu-open": this.open }, small: small, fullWidth: fullWidth, disabled: disabled, readonly: readonly, validationStatus: validationStatus }, readonly ? (h("ic-typography", null, h("p", null, this.getLabelFromValue(currValue)))) : isMobileOrTablet() ? (h("select", Object.assign({ ref: (el) => (this.nativeSelectElement = el), disabled: disabled, onChange: this.handleNativeSelectChange, required: required, id: this.inputId, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.handleNativeSelectKeyDown }, this.inheritedAttributes), h("option", { value: "", selected: true, disabled: !showClearButton }, placeholder), options.map((option) => {
|
308
454
|
if (option.children) {
|
309
|
-
return (h("optgroup", { label: option.label }, option.children.map((option) => (h("option", { value: option.value, disabled: option.disabled, selected: option.value ===
|
455
|
+
return (h("optgroup", { label: option.label }, option.children.map((option) => (h("option", { value: option.value, disabled: option.disabled, selected: option.value === currValue }, option.label)))));
|
310
456
|
}
|
311
457
|
else {
|
312
|
-
return (h("option", { value: option.value, disabled: option.disabled, selected: option.value ===
|
458
|
+
return (h("option", { value: option.value, disabled: option.disabled, selected: option.value === currValue }, option.label));
|
313
459
|
}
|
314
460
|
}))) : searchable ? (h("div", { class: "searchable-select-container" }, h("input", { class: "select-input", role: "combobox", "aria-label": label, "aria-describedby": describedBy, "aria-activedescendant": this.ariaActiveDescendant, "aria-autocomplete": "list", "aria-expanded": this.open ? "true" : "false", "aria-invalid": invalid, "aria-required": required ? "true" : "false", "aria-controls": menuId, ref: (el) => (this.searchableSelectElement = el), id: this.inputId, value: this.searchableSelectInputValue, placeholder: placeholder, disabled: disabled, onInput: this.handleSearchableSelectInput, onClick: this.handleClick, onKeyDown: this.handleKeyDown, onFocus: this.onFocus, onBlur: this.onBlur }), this.searchableSelectInputValue &&
|
315
|
-
(showClearButton || searchable) && (h("div", { class: "clear-button-container" }, h("ic-button", { id: "clear-button", ref: (el) => (this.clearButton = el), "aria-label": this.searchableSelectInputValue &&
|
461
|
+
(showClearButton || searchable) && (h("div", { class: "clear-button-container" }, h("ic-button", { id: "clear-button", ref: (el) => (this.clearButton = el), "aria-label": this.searchableSelectInputValue && currValue === null
|
316
462
|
? "Clear input"
|
317
463
|
: "Clear selection", class: "clear-button", innerHTML: Clear, onClick: this.handleClear, onFocus: this.handleClearButtonFocus, onBlur: this.handleClearButtonBlur, size: small ? "small" : "default", variant: "icon", appearance: this.clearButtonFocused
|
318
464
|
? IcThemeForegroundEnum.Light
|
319
465
|
: IcThemeForegroundEnum.Dark }), h("div", { class: "divider" }))), h("span", { onMouseDown: this.handleExpandIconMouseDown, class: {
|
320
466
|
"expand-icon": true,
|
321
467
|
"expand-icon-open": this.open,
|
322
|
-
"expand-icon-filled": !(
|
468
|
+
"expand-icon-filled": !(currValue == null || currValue === ""),
|
323
469
|
"expand-icon-disabled": !this.isMenuEnabled(),
|
324
|
-
}, innerHTML: Expand, "aria-hidden": "true" }), h("div", { "aria-live": "polite", role: "status", class: "searchable-select-results-status" }))) : (h("div", { class: "select-container" }, h("button", { class: "select-input", ref: (el) => (this.customSelectElement = el), id: this.inputId, "aria-label": `${label}, ${this.getLabelFromValue(
|
470
|
+
}, innerHTML: Expand, "aria-hidden": "true" }), h("div", { "aria-live": "polite", role: "status", class: "searchable-select-results-status" }))) : (h("div", { class: "select-container" }, h("button", { class: "select-input", ref: (el) => (this.customSelectElement = el), id: this.inputId, "aria-label": `${label}, ${this.getLabelFromValue(currValue) || placeholder}${required ? ", required" : ""}`, "aria-describedby": describedBy, "aria-invalid": invalid, "aria-haspopup": "listbox", "aria-expanded": this.open ? "true" : "false", "aria-owns": menuId, "aria-controls": menuId, disabled: disabled, onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.handleClick, onMouseDown: this.handleMouseDown, onKeyDown: this.handleKeyDown }, h("ic-typography", { variant: "body", class: {
|
325
471
|
"value-text": true,
|
326
|
-
placeholder: this.getLabelFromValue(
|
327
|
-
} }, h("p", null, this.getLabelFromValue(
|
472
|
+
placeholder: this.getLabelFromValue(currValue) === undefined,
|
473
|
+
} }, h("p", null, this.getLabelFromValue(currValue) || placeholder)), h("div", { class: "select-input-end" }, currValue && showClearButton && (h("div", { class: "divider" })), h("span", { class: {
|
328
474
|
"expand-icon": true,
|
329
475
|
"expand-icon-open": this.open,
|
330
|
-
"expand-icon-filled": !(
|
331
|
-
}, innerHTML: Expand, "aria-hidden": "true" }))),
|
476
|
+
"expand-icon-filled": !(currValue == null || currValue === ""),
|
477
|
+
}, innerHTML: Expand, "aria-hidden": "true" }))), currValue && showClearButton && (h("ic-button", { id: "clear-button", "aria-label": "Clear selection", class: "clear-button", innerHTML: Clear, onClick: this.handleClear, onFocus: this.handleClearButtonFocus, onBlur: this.handleClearButtonBlur, size: small ? "small" : "default", variant: "icon", appearance: this.clearButtonFocused
|
332
478
|
? IcThemeForegroundEnum.Light
|
333
479
|
: IcThemeForegroundEnum.Dark }))))), !isMobileOrTablet() && (h("ic-menu", { class: {
|
334
|
-
"no-results": this.noOptions !== null,
|
480
|
+
"no-results": this.noOptions !== null && this.searchable,
|
335
481
|
}, ref: (el) => (this.menu = el), inputEl: searchable
|
336
482
|
? this.searchableSelectElement
|
337
|
-
: this.customSelectElement, inputLabel: label, anchorEl: this.anchorEl, small: small, menuId: menuId, open: this.open, options: searchable ? this.filteredOptions : options, value:
|
338
|
-
false
|
339
|
-
? ""
|
340
|
-
: validationStatus, message: hasValidationStatus(this.validationStatus, this.disabled)
|
341
|
-
? validationText
|
342
|
-
: "", for: this.inputId }))));
|
483
|
+
: this.customSelectElement, inputLabel: label, anchorEl: this.anchorEl, small: small, menuId: menuId, open: this.open, options: searchable ? this.filteredOptions : options, value: currValue, fullWidth: fullWidth, onMenuStateChange: this.handleMenuChange, onMenuOptionSelect: this.handleCustomSelectChange, onMenuKeyPress: this.handleMenuKeyPress, onUngroupedOptionsSet: this.setUngroupedOptions, parentEl: this.host })), hasValidationStatus(this.validationStatus, this.disabled) && (h("ic-input-validation", { class: { "menu-open": this.open }, ariaLiveMode: "polite", status: validationStatus, message: validationText, for: this.inputId })))));
|
343
484
|
}
|
344
485
|
static get is() { return "ic-select"; }
|
345
486
|
static get encapsulation() { return "shadow"; }
|
487
|
+
static get delegatesFocus() { return true; }
|
346
488
|
static get originalStyleUrls() {
|
347
489
|
return {
|
348
490
|
"$": ["ic-select.css"]
|
@@ -367,7 +509,7 @@ export class Select {
|
|
367
509
|
"optional": false,
|
368
510
|
"docs": {
|
369
511
|
"tags": [],
|
370
|
-
"text": "
|
512
|
+
"text": "The label for the select."
|
371
513
|
},
|
372
514
|
"attribute": "label",
|
373
515
|
"reflect": false
|
@@ -389,7 +531,7 @@ export class Select {
|
|
389
531
|
"optional": true,
|
390
532
|
"docs": {
|
391
533
|
"tags": [],
|
392
|
-
"text": "
|
534
|
+
"text": "The possible selection options."
|
393
535
|
},
|
394
536
|
"defaultValue": "[]"
|
395
537
|
},
|
@@ -405,7 +547,7 @@ export class Select {
|
|
405
547
|
"optional": true,
|
406
548
|
"docs": {
|
407
549
|
"tags": [],
|
408
|
-
"text": "
|
550
|
+
"text": "If `true`, the select will require a value."
|
409
551
|
},
|
410
552
|
"attribute": "required",
|
411
553
|
"reflect": false,
|
@@ -423,7 +565,7 @@ export class Select {
|
|
423
565
|
"optional": true,
|
424
566
|
"docs": {
|
425
567
|
"tags": [],
|
426
|
-
"text": "
|
568
|
+
"text": "If `true`, the label will be hidden and the required label value will be applied as an aria-label."
|
427
569
|
},
|
428
570
|
"attribute": "hide-label",
|
429
571
|
"reflect": false,
|
@@ -441,7 +583,7 @@ export class Select {
|
|
441
583
|
"optional": true,
|
442
584
|
"docs": {
|
443
585
|
"tags": [],
|
444
|
-
"text": "
|
586
|
+
"text": "If `true`, the disabled state will be set."
|
445
587
|
},
|
446
588
|
"attribute": "disabled",
|
447
589
|
"reflect": true,
|
@@ -459,7 +601,7 @@ export class Select {
|
|
459
601
|
"optional": true,
|
460
602
|
"docs": {
|
461
603
|
"tags": [],
|
462
|
-
"text": "
|
604
|
+
"text": "If `true`, the readonly state will be set."
|
463
605
|
},
|
464
606
|
"attribute": "readonly",
|
465
607
|
"reflect": false,
|
@@ -477,7 +619,7 @@ export class Select {
|
|
477
619
|
"optional": true,
|
478
620
|
"docs": {
|
479
621
|
"tags": [],
|
480
|
-
"text": "
|
622
|
+
"text": "The placeholder value to be displayed."
|
481
623
|
},
|
482
624
|
"attribute": "placeholder",
|
483
625
|
"reflect": false,
|
@@ -495,7 +637,7 @@ export class Select {
|
|
495
637
|
"optional": true,
|
496
638
|
"docs": {
|
497
639
|
"tags": [],
|
498
|
-
"text": "
|
640
|
+
"text": "The helper text that will be displayed for additional field guidance."
|
499
641
|
},
|
500
642
|
"attribute": "helper-text",
|
501
643
|
"reflect": false,
|
@@ -513,7 +655,7 @@ export class Select {
|
|
513
655
|
"optional": true,
|
514
656
|
"docs": {
|
515
657
|
"tags": [],
|
516
|
-
"text": "
|
658
|
+
"text": "If `true`, the small styling will be applied to the select."
|
517
659
|
},
|
518
660
|
"attribute": "small",
|
519
661
|
"reflect": false,
|
@@ -531,7 +673,7 @@ export class Select {
|
|
531
673
|
"optional": false,
|
532
674
|
"docs": {
|
533
675
|
"tags": [],
|
534
|
-
"text": "If true
|
676
|
+
"text": "If `true`, the select element will fill the width of the container."
|
535
677
|
},
|
536
678
|
"attribute": "full-width",
|
537
679
|
"reflect": false,
|
@@ -554,7 +696,7 @@ export class Select {
|
|
554
696
|
"optional": true,
|
555
697
|
"docs": {
|
556
698
|
"tags": [],
|
557
|
-
"text": "
|
699
|
+
"text": "The validation status - e.g. 'error' | 'warning' | 'success'."
|
558
700
|
},
|
559
701
|
"attribute": "validation-status",
|
560
702
|
"reflect": false,
|
@@ -572,7 +714,7 @@ export class Select {
|
|
572
714
|
"optional": true,
|
573
715
|
"docs": {
|
574
716
|
"tags": [],
|
575
|
-
"text": "
|
717
|
+
"text": "The text to display as the validation message."
|
576
718
|
},
|
577
719
|
"attribute": "validation-text",
|
578
720
|
"reflect": false,
|
@@ -595,6 +737,24 @@ export class Select {
|
|
595
737
|
"attribute": "value",
|
596
738
|
"reflect": false
|
597
739
|
},
|
740
|
+
"debounce": {
|
741
|
+
"type": "number",
|
742
|
+
"mutable": false,
|
743
|
+
"complexType": {
|
744
|
+
"original": "number",
|
745
|
+
"resolved": "number",
|
746
|
+
"references": {}
|
747
|
+
},
|
748
|
+
"required": false,
|
749
|
+
"optional": true,
|
750
|
+
"docs": {
|
751
|
+
"tags": [],
|
752
|
+
"text": "The amount of time, in milliseconds, to wait to trigger the `icChange` event after each keystroke."
|
753
|
+
},
|
754
|
+
"attribute": "debounce",
|
755
|
+
"reflect": false,
|
756
|
+
"defaultValue": "0"
|
757
|
+
},
|
598
758
|
"name": {
|
599
759
|
"type": "string",
|
600
760
|
"mutable": false,
|
@@ -625,7 +785,7 @@ export class Select {
|
|
625
785
|
"optional": true,
|
626
786
|
"docs": {
|
627
787
|
"tags": [],
|
628
|
-
"text": "
|
788
|
+
"text": "If `true`, a button which clears the select input when clicked will be displayed. The button will always appear on the searchable select."
|
629
789
|
},
|
630
790
|
"attribute": "show-clear-button",
|
631
791
|
"reflect": false,
|
@@ -643,7 +803,7 @@ export class Select {
|
|
643
803
|
"optional": true,
|
644
804
|
"docs": {
|
645
805
|
"tags": [],
|
646
|
-
"text": "If true
|
806
|
+
"text": "If `true`, a searchable variant of the select will be displayed which can be typed in to filter options."
|
647
807
|
},
|
648
808
|
"attribute": "searchable",
|
649
809
|
"reflect": false,
|
@@ -661,7 +821,7 @@ export class Select {
|
|
661
821
|
"optional": true,
|
662
822
|
"docs": {
|
663
823
|
"tags": [],
|
664
|
-
"text": "If true
|
824
|
+
"text": "If `true`, descriptions of options will be included when filtering options in a searchable select. Only applies to built in filtering."
|
665
825
|
},
|
666
826
|
"attribute": "include-descriptions-in-search",
|
667
827
|
"reflect": false,
|
@@ -679,7 +839,7 @@ export class Select {
|
|
679
839
|
"optional": true,
|
680
840
|
"docs": {
|
681
841
|
"tags": [],
|
682
|
-
"text": "If true
|
842
|
+
"text": "If `true`, group titles of grouped options will be included when filtering options in a searchable select. Only applies to built in filtering."
|
683
843
|
},
|
684
844
|
"attribute": "include-group-titles-in-search",
|
685
845
|
"reflect": false,
|
@@ -702,7 +862,7 @@ export class Select {
|
|
702
862
|
"optional": true,
|
703
863
|
"docs": {
|
704
864
|
"tags": [],
|
705
|
-
"text": "Whether the search string of the searchable select should match the start of or anywhere in the options."
|
865
|
+
"text": "Whether the search string of the searchable select should match the start of or anywhere in the options. Only applies to built in filtering."
|
706
866
|
},
|
707
867
|
"attribute": "search-match-position",
|
708
868
|
"reflect": false,
|
@@ -720,7 +880,7 @@ export class Select {
|
|
720
880
|
"optional": true,
|
721
881
|
"docs": {
|
722
882
|
"tags": [],
|
723
|
-
"text": "
|
883
|
+
"text": "The number of characters until suggestions appear for a searchable select."
|
724
884
|
},
|
725
885
|
"attribute": "characters-until-suggestions",
|
726
886
|
"reflect": false,
|
@@ -738,11 +898,29 @@ export class Select {
|
|
738
898
|
"optional": false,
|
739
899
|
"docs": {
|
740
900
|
"tags": [],
|
741
|
-
"text": "
|
901
|
+
"text": "The text displayed when there are no options in the option list."
|
742
902
|
},
|
743
903
|
"attribute": "empty-option-list-text",
|
744
904
|
"reflect": false,
|
745
905
|
"defaultValue": "\"No results found\""
|
906
|
+
},
|
907
|
+
"disableFilter": {
|
908
|
+
"type": "boolean",
|
909
|
+
"mutable": false,
|
910
|
+
"complexType": {
|
911
|
+
"original": "boolean",
|
912
|
+
"resolved": "boolean",
|
913
|
+
"references": {}
|
914
|
+
},
|
915
|
+
"required": false,
|
916
|
+
"optional": true,
|
917
|
+
"docs": {
|
918
|
+
"tags": [],
|
919
|
+
"text": "Specify whether to disable the built in filtering for a searchable variant. For example, if options will already be filtered from external source."
|
920
|
+
},
|
921
|
+
"attribute": "disable-filter",
|
922
|
+
"reflect": false,
|
923
|
+
"defaultValue": "false"
|
746
924
|
}
|
747
925
|
};
|
748
926
|
}
|
@@ -754,7 +932,11 @@ export class Select {
|
|
754
932
|
"filteredOptions": {},
|
755
933
|
"ariaActiveDescendant": {},
|
756
934
|
"noOptions": {},
|
757
|
-
"initialValue": {}
|
935
|
+
"initialValue": {},
|
936
|
+
"currDebounce": {},
|
937
|
+
"currValue": {},
|
938
|
+
"debounceIcChange": {},
|
939
|
+
"pressedCharacters": {}
|
758
940
|
};
|
759
941
|
}
|
760
942
|
static get events() {
|
@@ -766,7 +948,7 @@ export class Select {
|
|
766
948
|
"composed": true,
|
767
949
|
"docs": {
|
768
950
|
"tags": [],
|
769
|
-
"text": "Emitted when
|
951
|
+
"text": "Emitted when the value changes."
|
770
952
|
},
|
771
953
|
"complexType": {
|
772
954
|
"original": "IcValueEventDetail",
|
@@ -778,6 +960,21 @@ export class Select {
|
|
778
960
|
}
|
779
961
|
}
|
780
962
|
}
|
963
|
+
}, {
|
964
|
+
"method": "icClear",
|
965
|
+
"name": "icClear",
|
966
|
+
"bubbles": true,
|
967
|
+
"cancelable": true,
|
968
|
+
"composed": true,
|
969
|
+
"docs": {
|
970
|
+
"tags": [],
|
971
|
+
"text": "Emitted when clear button clicked."
|
972
|
+
},
|
973
|
+
"complexType": {
|
974
|
+
"original": "void",
|
975
|
+
"resolved": "void",
|
976
|
+
"references": {}
|
977
|
+
}
|
781
978
|
}, {
|
782
979
|
"method": "icFocus",
|
783
980
|
"name": "icFocus",
|
@@ -786,7 +983,7 @@ export class Select {
|
|
786
983
|
"composed": true,
|
787
984
|
"docs": {
|
788
985
|
"tags": [],
|
789
|
-
"text": "Emitted when select
|
986
|
+
"text": "Emitted when select gains focus."
|
790
987
|
},
|
791
988
|
"complexType": {
|
792
989
|
"original": "void",
|
@@ -801,13 +998,53 @@ export class Select {
|
|
801
998
|
"composed": true,
|
802
999
|
"docs": {
|
803
1000
|
"tags": [],
|
804
|
-
"text": "Emitted when select
|
1001
|
+
"text": "Emitted when select loses focus."
|
805
1002
|
},
|
806
1003
|
"complexType": {
|
807
1004
|
"original": "void",
|
808
1005
|
"resolved": "void",
|
809
1006
|
"references": {}
|
810
1007
|
}
|
1008
|
+
}, {
|
1009
|
+
"method": "icOptionSelect",
|
1010
|
+
"name": "icOptionSelect",
|
1011
|
+
"bubbles": true,
|
1012
|
+
"cancelable": true,
|
1013
|
+
"composed": true,
|
1014
|
+
"docs": {
|
1015
|
+
"tags": [],
|
1016
|
+
"text": "Emitted when option is highlighted within the menu.\nHighlighting a menu item will trigger an `icChange/onIcChange` due to the value being updated."
|
1017
|
+
},
|
1018
|
+
"complexType": {
|
1019
|
+
"original": "IcOptionSelectEventDetail",
|
1020
|
+
"resolved": "IcOptionSelectEventDetail",
|
1021
|
+
"references": {
|
1022
|
+
"IcOptionSelectEventDetail": {
|
1023
|
+
"location": "import",
|
1024
|
+
"path": "../ic-menu/ic-menu.types"
|
1025
|
+
}
|
1026
|
+
}
|
1027
|
+
}
|
1028
|
+
}, {
|
1029
|
+
"method": "icInput",
|
1030
|
+
"name": "icInput",
|
1031
|
+
"bubbles": true,
|
1032
|
+
"cancelable": true,
|
1033
|
+
"composed": true,
|
1034
|
+
"docs": {
|
1035
|
+
"tags": [],
|
1036
|
+
"text": "Emitted when a keyboard input occurred."
|
1037
|
+
},
|
1038
|
+
"complexType": {
|
1039
|
+
"original": "IcValueEventDetail",
|
1040
|
+
"resolved": "IcValueEventDetail",
|
1041
|
+
"references": {
|
1042
|
+
"IcValueEventDetail": {
|
1043
|
+
"location": "import",
|
1044
|
+
"path": "../../interface"
|
1045
|
+
}
|
1046
|
+
}
|
1047
|
+
}
|
811
1048
|
}];
|
812
1049
|
}
|
813
1050
|
static get methods() {
|
@@ -835,6 +1072,12 @@ export class Select {
|
|
835
1072
|
return [{
|
836
1073
|
"propName": "options",
|
837
1074
|
"methodName": "watchOptionsHandler"
|
1075
|
+
}, {
|
1076
|
+
"propName": "debounce",
|
1077
|
+
"methodName": "debounceChangedHandler"
|
1078
|
+
}, {
|
1079
|
+
"propName": "value",
|
1080
|
+
"methodName": "valueChangedHandler"
|
838
1081
|
}];
|
839
1082
|
}
|
840
1083
|
}
|