@ukic/web-components 2.1.0-beta.1 → 2.1.0-beta.11
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-2bb3a907.js +10 -0
- package/dist/cjs/chevron-icon-2bb3a907.js.map +1 -0
- package/dist/cjs/core.cjs.js +2 -2
- package/dist/cjs/{helpers-8bc3b6d2.js → helpers-2021e212.js} +78 -4
- package/dist/cjs/helpers-2021e212.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 +15 -6
- package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +46 -31
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card.cjs.entry.js +29 -5
- 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 +16 -4
- 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 +164 -0
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +79 -45
- 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-menu-group.cjs.entry.js +24 -0
- package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-menu-item.cjs.entry.js +120 -0
- package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -0
- 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 +7 -6
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +19 -12
- 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-popover-menu.cjs.entry.js +236 -0
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -0
- 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 +56 -42
- 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 +218 -69
- package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +26 -14
- 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 -15
- 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 -2
- package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +10 -2
- 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 +4 -4
- 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} +33 -2
- package/dist/cjs/index-f79a4e53.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- 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 +7 -0
- package/dist/collection/components/ic-alert/ic-alert.css +13 -13
- 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 +18 -8
- 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 +20 -5
- 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 +16 -15
- package/dist/collection/components/ic-button/ic-button.js +18 -32
- package/dist/collection/components/ic-button/ic-button.js.map +1 -1
- package/dist/collection/components/ic-card/ic-card.css +75 -17
- package/dist/collection/components/ic-card/ic-card.js +103 -16
- package/dist/collection/components/ic-card/ic-card.js.map +1 -1
- package/dist/collection/components/ic-checkbox/ic-checkbox.css +28 -30
- package/dist/collection/components/ic-checkbox/ic-checkbox.js +63 -11
- 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 +5 -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 +1 -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 +19 -7
- 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 +4 -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 +44 -6
- 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 +219 -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 +16 -17
- 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 +14 -10
- package/dist/collection/components/ic-link/ic-link.js +43 -13
- package/dist/collection/components/ic-link/ic-link.js.map +1 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +43 -7
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +48 -9
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
- package/dist/collection/components/ic-menu/ic-menu.css +20 -15
- package/dist/collection/components/ic-menu/ic-menu.js +144 -73
- package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
- package/dist/collection/components/ic-menu-group/ic-menu-group.css +465 -0
- package/dist/collection/components/ic-menu-group/ic-menu-group.js +45 -0
- package/dist/collection/components/ic-menu-group/ic-menu-group.js.map +1 -0
- package/dist/collection/components/ic-menu-item/ic-menu-item.css +633 -0
- package/dist/collection/components/ic-menu-item/ic-menu-item.js +392 -0
- package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -0
- package/dist/collection/components/ic-menu-item/ic-menu-item.types.js +2 -0
- package/dist/collection/components/ic-menu-item/ic-menu-item.types.js.map +1 -0
- 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-popover-menu/ic-popover-menu.css +535 -0
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +432 -0
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -0
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.test.a11y.js +13 -0
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.test.a11y.js.map +1 -0
- 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 +32 -42
- 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 +90 -83
- 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 +47 -30
- package/dist/collection/components/ic-select/ic-select.js +336 -88
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation-test-examples.js +90 -0
- package/dist/collection/components/ic-side-navigation/ic-side-navigation-test-examples.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +47 -37
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +40 -24
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
- package/dist/collection/components/ic-skeleton/ic-skeleton.css +1 -1
- 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 +7 -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 +127 -30
- package/dist/collection/components/ic-step/ic-step.js +269 -28
- 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 +20 -20
- 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 +1 -1
- package/dist/collection/components/ic-tab/ic-tab.js +37 -6
- 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 +2 -2
- 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 +7 -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 +9 -6
- package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
- package/dist/collection/components/ic-toast/ic-toast.css +602 -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 +9 -11
- package/dist/collection/components/ic-tooltip/ic-tooltip.js +28 -3
- package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +34 -52
- 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 +28 -0
- package/dist/collection/utils/constants.js.map +1 -1
- package/dist/collection/utils/helpers.js +13 -4
- 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 +71 -4
- 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 -20
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card.js +52 -6
- package/dist/components/ic-card.js.map +1 -1
- package/dist/components/ic-checkbox-group.js +3 -3
- package/dist/components/ic-checkbox-group.js.map +1 -1
- package/dist/components/ic-checkbox.js +17 -4
- 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 +2 -2
- package/dist/components/ic-divider2.js.map +1 -1
- package/dist/components/ic-footer-link-group.js +4 -3
- package/dist/components/ic-footer-link-group.js.map +1 -1
- package/dist/components/ic-footer-link.js +17 -5
- package/dist/components/ic-footer-link.js.map +1 -1
- package/dist/components/ic-footer.js +4 -4
- package/dist/components/ic-footer.js.map +1 -1
- package/dist/components/ic-hero.js +2 -2
- package/dist/components/ic-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 +205 -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 +27 -7
- package/dist/components/ic-loading-indicator2.js.map +1 -1
- package/dist/components/ic-menu-group.d.ts +11 -0
- package/dist/components/ic-menu-group.js +46 -0
- package/dist/components/ic-menu-group.js.map +1 -0
- package/dist/components/ic-menu-item.d.ts +11 -0
- package/dist/components/ic-menu-item.js +8 -0
- package/dist/components/ic-menu-item.js.map +1 -0
- package/dist/components/ic-menu-item2.js +167 -0
- package/dist/components/ic-menu-item2.js.map +1 -0
- package/dist/components/ic-menu2.js +75 -41
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-button.js +5 -4
- package/dist/components/ic-navigation-button.js.map +1 -1
- package/dist/components/ic-navigation-group.js +5 -4
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js +22 -10
- 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-popover-menu.d.ts +11 -0
- package/dist/components/ic-popover-menu.js +290 -0
- package/dist/components/ic-popover-menu.js.map +1 -0
- 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 +59 -44
- 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 +224 -69
- 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 -16
- 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 +13 -3
- 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 -1
- package/dist/components/ic-tab-panel.js.map +1 -1
- package/dist/components/ic-tab.js +11 -2
- 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 +2 -2
- 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 +13 -5
- package/dist/components/ic-tooltip2.js.map +1 -1
- package/dist/components/ic-top-navigation.js +22 -11
- 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 +8 -1
- package/dist/components/index.js +7 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/types.js.map +1 -1
- package/dist/core/core.css +3 -3
- 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-037dfe9d.entry.js +2 -0
- package/dist/core/p-037dfe9d.entry.js.map +1 -0
- package/dist/core/p-05c5c6c4.entry.js +2 -0
- package/dist/core/p-05c5c6c4.entry.js.map +1 -0
- package/dist/core/p-06321d19.js +2 -0
- package/dist/core/p-0a463a65.entry.js +2 -0
- package/dist/core/p-0a463a65.entry.js.map +1 -0
- package/dist/core/p-0faf328a.entry.js +2 -0
- package/dist/core/p-0faf328a.entry.js.map +1 -0
- package/dist/core/p-102281fd.entry.js +2 -0
- package/dist/core/p-102281fd.entry.js.map +1 -0
- package/dist/core/p-1549adc1.entry.js +2 -0
- package/dist/core/p-1549adc1.entry.js.map +1 -0
- package/dist/core/p-25b208ae.entry.js +2 -0
- package/dist/core/p-25b208ae.entry.js.map +1 -0
- package/dist/core/{p-c4d3c18c.entry.js → p-26c9e522.entry.js} +2 -2
- package/dist/core/p-26c9e522.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-33a0aabe.entry.js +2 -0
- package/dist/core/p-33a0aabe.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-3d84a743.entry.js +2 -0
- package/dist/core/p-3d84a743.entry.js.map +1 -0
- package/dist/core/p-3dea2867.js +2 -0
- package/dist/core/p-3dea2867.js.map +1 -0
- package/dist/core/p-3fd4f8eb.entry.js +2 -0
- package/dist/core/p-3fd4f8eb.entry.js.map +1 -0
- package/dist/core/p-48a5c2a7.entry.js +2 -0
- package/dist/core/p-48a5c2a7.entry.js.map +1 -0
- package/dist/core/p-4d8392fe.entry.js +2 -0
- package/dist/core/p-4d8392fe.entry.js.map +1 -0
- package/dist/core/p-4ee03271.entry.js +2 -0
- package/dist/core/p-4ee03271.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-58ff516f.entry.js +2 -0
- package/dist/core/p-58ff516f.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-6f57b13c.js.map +1 -1
- package/dist/core/p-73fddc63.entry.js +2 -0
- package/dist/core/p-73fddc63.entry.js.map +1 -0
- package/dist/core/p-741b4ea3.entry.js +2 -0
- package/dist/core/p-741b4ea3.entry.js.map +1 -0
- package/dist/core/p-7dcb9104.entry.js +2 -0
- package/dist/core/p-7dcb9104.entry.js.map +1 -0
- package/dist/core/{p-e93e9aa3.entry.js → p-7fd50355.entry.js} +2 -2
- package/dist/core/p-7fd50355.entry.js.map +1 -0
- package/dist/core/p-81652a98.entry.js +2 -0
- package/dist/core/p-81652a98.entry.js.map +1 -0
- package/dist/core/p-87c7ba3b.entry.js +2 -0
- package/dist/core/p-87c7ba3b.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-8c9cc4d5.entry.js +2 -0
- package/dist/core/p-8c9cc4d5.entry.js.map +1 -0
- package/dist/core/p-8d4f7027.js +2 -0
- package/dist/core/{p-0118400b.entry.js → p-8ffa00c9.entry.js} +2 -2
- package/dist/core/p-8ffa00c9.entry.js.map +1 -0
- package/dist/core/p-a2c7dc6c.entry.js +2 -0
- package/dist/core/p-a2c7dc6c.entry.js.map +1 -0
- package/dist/core/p-a3742d40.entry.js +2 -0
- package/dist/core/p-a3742d40.entry.js.map +1 -0
- package/dist/core/p-a44a0500.entry.js +2 -0
- package/dist/core/p-a44a0500.entry.js.map +1 -0
- package/dist/core/p-a8e969ea.entry.js +2 -0
- package/dist/core/p-a8e969ea.entry.js.map +1 -0
- package/dist/core/p-ac6ecdb6.entry.js +2 -0
- package/dist/core/p-ac6ecdb6.entry.js.map +1 -0
- package/dist/core/p-acb08809.entry.js +2 -0
- package/dist/core/p-acb08809.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-affb42c7.entry.js +2 -0
- package/dist/core/p-affb42c7.entry.js.map +1 -0
- package/dist/core/p-b7fc1f35.entry.js +2 -0
- package/dist/core/p-b7fc1f35.entry.js.map +1 -0
- package/dist/core/p-b8b960a5.entry.js +2 -0
- package/dist/core/p-b8b960a5.entry.js.map +1 -0
- package/dist/core/p-b921bb19.entry.js +2 -0
- package/dist/core/p-b921bb19.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-c996810e.entry.js +2 -0
- package/dist/core/p-c996810e.entry.js.map +1 -0
- package/dist/core/p-cc62d065.entry.js +2 -0
- package/dist/core/p-cc62d065.entry.js.map +1 -0
- package/dist/core/{p-02799e26.entry.js → p-d2508752.entry.js} +2 -2
- package/dist/core/{p-02799e26.entry.js.map → p-d2508752.entry.js.map} +1 -1
- package/dist/core/p-d28d7f24.entry.js +2 -0
- package/dist/core/p-d28d7f24.entry.js.map +1 -0
- package/dist/core/{p-07cd789d.entry.js → p-dbfdfa8a.entry.js} +2 -2
- package/dist/core/p-dbfdfa8a.entry.js.map +1 -0
- package/dist/core/{p-10da19d2.entry.js → p-dd71a986.entry.js} +2 -2
- package/dist/core/p-dd71a986.entry.js.map +1 -0
- package/dist/core/p-e4547265.entry.js +2 -0
- package/dist/core/p-e4547265.entry.js.map +1 -0
- package/dist/core/p-ea0c4aca.entry.js +2 -0
- package/dist/core/p-ea0c4aca.entry.js.map +1 -0
- package/dist/core/{p-cadb531f.entry.js → p-ed6cf9b9.entry.js} +2 -2
- package/dist/core/p-ed6cf9b9.entry.js.map +1 -0
- package/dist/core/p-f6ddd32f.entry.js +2 -0
- package/dist/core/p-f6ddd32f.entry.js.map +1 -0
- package/dist/core/p-f777679c.entry.js +2 -0
- package/dist/core/p-f777679c.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-7927f709.js +8 -0
- package/dist/esm/chevron-icon-7927f709.js.map +1 -0
- package/dist/esm/core.js +2 -2
- package/dist/esm/{helpers-3d41833c.js → helpers-b2b47a7d.js} +72 -5
- package/dist/esm/helpers-b2b47a7d.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 +15 -6
- package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ic-button_3.entry.js +46 -31
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card.entry.js +29 -5
- 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 +16 -4
- 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 +160 -0
- package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -0
- package/dist/esm/ic-input-component-container_3.entry.js +78 -44
- 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 +14 -8
- package/dist/esm/ic-link.entry.js.map +1 -1
- package/dist/esm/ic-menu-group.entry.js +20 -0
- package/dist/esm/ic-menu-group.entry.js.map +1 -0
- package/dist/esm/ic-menu-item.entry.js +116 -0
- package/dist/esm/ic-menu-item.entry.js.map +1 -0
- 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 +7 -6
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +19 -12
- 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-popover-menu.entry.js +232 -0
- package/dist/esm/ic-popover-menu.entry.js.map +1 -0
- 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 +56 -42
- 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 +218 -69
- package/dist/esm/ic-select.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +26 -14
- 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 -15
- 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 -2
- package/dist/esm/ic-tab-panel.entry.js.map +1 -1
- package/dist/esm/ic-tab.entry.js +10 -2
- 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 +4 -4
- 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} +33 -2
- package/dist/esm/index-90721b3c.js.map +1 -0
- package/dist/esm/loader.js +2 -2
- 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 +31 -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 +7 -3
- package/dist/types/components/ic-menu/ic-menu.d.ts +36 -18
- package/dist/types/components/ic-menu-group/ic-menu-group.d.ts +8 -0
- package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +74 -0
- package/dist/types/components/ic-menu-item/ic-menu-item.types.d.ts +1 -0
- 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-popover-menu/ic-popover-menu.d.ts +58 -0
- package/dist/types/components/ic-popover-menu/ic-popover-menu.test.a11y.d.ts +1 -0
- 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-test-examples.d.ts +1 -0
- 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 -8
- 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 +9 -5
- 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 +2 -2
- package/dist/types/components/ic-text-field/ic-text-field.d.ts +31 -31
- package/dist/types/components/ic-theme/ic-theme.d.ts +3 -3
- 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 +1103 -559
- package/dist/types/interface.d.ts +0 -1
- package/dist/types/testspec.setup.d.ts +1 -0
- package/dist/types/utils/constants.d.ts +22 -0
- package/dist/types/utils/helpers.d.ts +2 -0
- package/dist/types/utils/types.d.ts +3 -0
- package/hydrate/index.js +2030 -602
- package/package.json +5 -5
- package/dist/cjs/check-icon-999d9877.js.map +0 -1
- package/dist/cjs/chevron-icon-d175fe66.js +0 -10
- 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-8bc3b6d2.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-0118400b.entry.js.map +0 -1
- package/dist/core/p-07cd789d.entry.js.map +0 -1
- package/dist/core/p-0b125f26.entry.js +0 -2
- package/dist/core/p-0b125f26.entry.js.map +0 -1
- package/dist/core/p-10da19d2.entry.js.map +0 -1
- package/dist/core/p-1337db5e.entry.js +0 -2
- package/dist/core/p-1337db5e.entry.js.map +0 -1
- package/dist/core/p-1721bcf3.entry.js +0 -2
- package/dist/core/p-1721bcf3.entry.js.map +0 -1
- package/dist/core/p-1e7b4310.js +0 -2
- package/dist/core/p-23831891.js +0 -2
- package/dist/core/p-23831891.js.map +0 -1
- package/dist/core/p-272c7abd.entry.js +0 -2
- package/dist/core/p-272c7abd.entry.js.map +0 -1
- package/dist/core/p-2f114521.entry.js +0 -2
- package/dist/core/p-2f114521.entry.js.map +0 -1
- package/dist/core/p-31a8595f.entry.js +0 -2
- package/dist/core/p-31a8595f.entry.js.map +0 -1
- package/dist/core/p-33a45ace.entry.js +0 -2
- package/dist/core/p-33a45ace.entry.js.map +0 -1
- package/dist/core/p-347ec49e.entry.js +0 -2
- package/dist/core/p-347ec49e.entry.js.map +0 -1
- package/dist/core/p-39ae284e.entry.js +0 -2
- package/dist/core/p-39ae284e.entry.js.map +0 -1
- package/dist/core/p-558552f8.entry.js +0 -2
- package/dist/core/p-558552f8.entry.js.map +0 -1
- package/dist/core/p-5e261268.entry.js +0 -2
- package/dist/core/p-5e261268.entry.js.map +0 -1
- package/dist/core/p-60ffb73e.entry.js +0 -2
- package/dist/core/p-60ffb73e.entry.js.map +0 -1
- package/dist/core/p-69650186.entry.js +0 -2
- package/dist/core/p-69650186.entry.js.map +0 -1
- package/dist/core/p-6b34d98f.entry.js +0 -2
- package/dist/core/p-6b34d98f.entry.js.map +0 -1
- package/dist/core/p-6be5e06b.entry.js.map +0 -1
- package/dist/core/p-6f6bd657.entry.js +0 -2
- package/dist/core/p-6f6bd657.entry.js.map +0 -1
- package/dist/core/p-7093d214.entry.js +0 -2
- package/dist/core/p-7093d214.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-7b11e1dc.entry.js +0 -2
- package/dist/core/p-7b11e1dc.entry.js.map +0 -1
- package/dist/core/p-7b39977f.entry.js +0 -2
- package/dist/core/p-7b39977f.entry.js.map +0 -1
- package/dist/core/p-7f632414.entry.js +0 -2
- package/dist/core/p-7f632414.entry.js.map +0 -1
- package/dist/core/p-898607d0.entry.js +0 -2
- package/dist/core/p-898607d0.entry.js.map +0 -1
- package/dist/core/p-8ddeb574.entry.js +0 -2
- package/dist/core/p-8ddeb574.entry.js.map +0 -1
- package/dist/core/p-9cd04875.entry.js +0 -2
- package/dist/core/p-9cd04875.entry.js.map +0 -1
- package/dist/core/p-ac43322e.entry.js +0 -2
- package/dist/core/p-ac43322e.entry.js.map +0 -1
- package/dist/core/p-ae6aa67f.js +0 -2
- package/dist/core/p-ae81dffa.entry.js +0 -2
- package/dist/core/p-ae81dffa.entry.js.map +0 -1
- package/dist/core/p-b3dec76d.entry.js +0 -2
- package/dist/core/p-b3dec76d.entry.js.map +0 -1
- package/dist/core/p-b5a988c0.entry.js +0 -2
- package/dist/core/p-b5a988c0.entry.js.map +0 -1
- package/dist/core/p-bf5717ca.js +0 -2
- package/dist/core/p-c4d3c18c.entry.js.map +0 -1
- package/dist/core/p-c6dd4f47.entry.js +0 -2
- package/dist/core/p-c6dd4f47.entry.js.map +0 -1
- package/dist/core/p-cadb531f.entry.js.map +0 -1
- package/dist/core/p-cc83692e.entry.js +0 -2
- package/dist/core/p-cc83692e.entry.js.map +0 -1
- package/dist/core/p-dd3c3e3c.entry.js +0 -2
- package/dist/core/p-dd3c3e3c.entry.js.map +0 -1
- package/dist/core/p-df5caf13.entry.js +0 -2
- package/dist/core/p-df5caf13.entry.js.map +0 -1
- package/dist/core/p-e106305b.entry.js +0 -2
- package/dist/core/p-e106305b.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-e590f1d2.entry.js +0 -2
- package/dist/core/p-e590f1d2.entry.js.map +0 -1
- package/dist/core/p-e93e9aa3.entry.js.map +0 -1
- package/dist/core/p-ecfb2e6b.entry.js +0 -2
- package/dist/core/p-ecfb2e6b.entry.js.map +0 -1
- package/dist/core/p-f9370be6.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-3d41833c.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-06321d19.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,17 +9,29 @@ 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
|
-
return (
|
15
|
-
this.searchableSelectInputValue
|
16
|
-
this.charactersUntilSuggestions === 0) ||
|
17
|
-
(this.searchableSelectInputValue &&
|
18
|
-
this.searchableSelectInputValue.length >=
|
19
|
-
this.charactersUntilSuggestions));
|
30
|
+
return (this.searchableSelectInputValue !== null ||
|
31
|
+
this.searchableSelectInputValue !== "");
|
20
32
|
};
|
21
33
|
this.setOptionsValuesFromLabels = () => {
|
22
|
-
if (this.options.length > 0) {
|
34
|
+
if (this.options.length > 0 && this.options.map) {
|
23
35
|
this.options.map((option) => {
|
24
36
|
if (!option.value) {
|
25
37
|
option.value = option.label;
|
@@ -27,6 +39,9 @@ export class Select {
|
|
27
39
|
});
|
28
40
|
}
|
29
41
|
};
|
42
|
+
this.setUngroupedOptions = (event) => {
|
43
|
+
this.ungroupedOptions = event.detail.options;
|
44
|
+
};
|
30
45
|
this.setTextColor = () => {
|
31
46
|
if (this.nativeSelectElement.selectedIndex === 0) {
|
32
47
|
this.nativeSelectElement.className = "placeholder";
|
@@ -50,13 +65,19 @@ export class Select {
|
|
50
65
|
};
|
51
66
|
this.getFilteredChildMenuOptions = (option) => {
|
52
67
|
let children = option.children;
|
53
|
-
|
68
|
+
if (this.searchable) {
|
69
|
+
children = getFilteredMenuOptions(option.children, this.includeDescriptionsInSearch, this.searchableSelectInputValue, this.searchMatchPosition);
|
70
|
+
}
|
71
|
+
else {
|
72
|
+
children = getFilteredMenuOptions(option.children, false, this.pressedCharacters, "start");
|
73
|
+
}
|
54
74
|
const newOption = Object.assign({}, option);
|
55
75
|
newOption.children = children;
|
56
76
|
return newOption;
|
57
77
|
};
|
58
78
|
this.handleNativeSelectChange = () => {
|
59
|
-
this.
|
79
|
+
this.icOptionSelect.emit({ value: this.nativeSelectElement.value });
|
80
|
+
this.emitImmediateIcChange(this.nativeSelectElement.value);
|
60
81
|
this.setTextColor();
|
61
82
|
};
|
62
83
|
this.handleCustomSelectChange = (event) => {
|
@@ -68,12 +89,20 @@ export class Select {
|
|
68
89
|
this.searchableSelectInputValue = this.getLabelFromValue(event.detail.value);
|
69
90
|
}
|
70
91
|
this.ariaActiveDescendant = event.detail.optionId;
|
71
|
-
this.
|
92
|
+
this.icOptionSelect.emit({ value: event.detail.value });
|
93
|
+
this.emitIcChange(event.detail.value);
|
72
94
|
};
|
73
95
|
this.handleMenuChange = (event) => {
|
74
96
|
this.open = event.detail.open;
|
97
|
+
this.pressedCharacters = "";
|
75
98
|
this.searchable && this.handleFocusIndicatorDisplay();
|
76
99
|
};
|
100
|
+
// clears the debounce delay when navigating the menu with arrow keys etc
|
101
|
+
// to prevent delay in change event, which should only occur when typing in input
|
102
|
+
this.handleMenuKeyPress = (ev) => {
|
103
|
+
ev.cancelBubble = true;
|
104
|
+
this.handleCharacterKeyDown(ev.detail.key);
|
105
|
+
};
|
77
106
|
this.handleFocusIndicatorDisplay = () => {
|
78
107
|
const focusIndicator = this.host.shadowRoot.querySelector(".focus-indicator");
|
79
108
|
if (this.open) {
|
@@ -88,9 +117,15 @@ export class Select {
|
|
88
117
|
event.preventDefault();
|
89
118
|
}
|
90
119
|
};
|
120
|
+
this.isExternalFiltering = () => this.searchable && this.disableFilter;
|
91
121
|
this.handleClick = (event) => {
|
92
|
-
this.
|
93
|
-
|
122
|
+
if (this.isExternalFiltering()) {
|
123
|
+
this.menu.options = this.filteredOptions;
|
124
|
+
}
|
125
|
+
else {
|
126
|
+
this.noOptions = null;
|
127
|
+
this.menu.options = this.options;
|
128
|
+
}
|
94
129
|
if (event.detail !== 0 && this.isMenuEnabled()) {
|
95
130
|
this.menu.handleClickOpen();
|
96
131
|
}
|
@@ -105,7 +140,8 @@ export class Select {
|
|
105
140
|
this.handleClear = (event) => {
|
106
141
|
event.stopPropagation();
|
107
142
|
this.noOptions = null;
|
108
|
-
this.
|
143
|
+
this.emitImmediateIcChange(null);
|
144
|
+
this.icClear.emit();
|
109
145
|
if (this.searchable) {
|
110
146
|
this.searchableSelectElement.value = null;
|
111
147
|
this.searchableSelectInputValue = null;
|
@@ -119,20 +155,49 @@ export class Select {
|
|
119
155
|
this.customSelectElement.focus();
|
120
156
|
}
|
121
157
|
};
|
158
|
+
this.handleCharacterKeyDown = (key) => {
|
159
|
+
// Only close menu when space is pressed if not being used alongside character keys to quickly select options
|
160
|
+
if (this.open && key === " " && this.pressedCharacters.length === 0) {
|
161
|
+
this.setMenuChange(false);
|
162
|
+
}
|
163
|
+
if (key.length === 1 && !this.searchable) {
|
164
|
+
window.clearTimeout(this.characterKeyPressTimer);
|
165
|
+
this.characterKeyPressTimer = window.setTimeout(() => (this.pressedCharacters = ""), 1000);
|
166
|
+
this.pressedCharacters += key;
|
167
|
+
this.handleFilter();
|
168
|
+
if (!this.noOptions) {
|
169
|
+
this.emitImmediateIcChange(this.filteredOptions[0].value);
|
170
|
+
}
|
171
|
+
}
|
172
|
+
else {
|
173
|
+
this.pressedCharacters = "";
|
174
|
+
}
|
175
|
+
};
|
176
|
+
this.handleNativeSelectKeyDown = (event) => {
|
177
|
+
event.cancelBubble = true;
|
178
|
+
this.handleCharacterKeyDown(event.key);
|
179
|
+
};
|
122
180
|
this.handleKeyDown = (event) => {
|
123
181
|
event.cancelBubble = true;
|
182
|
+
const isArrowKey = event.key === "ArrowDown" || event.key === "ArrowUp";
|
124
183
|
if (!this.open) {
|
125
|
-
this.
|
126
|
-
|
184
|
+
if (this.isExternalFiltering() && (event.key === "Enter" || isArrowKey)) {
|
185
|
+
this.menu.options = this.filteredOptions;
|
186
|
+
}
|
187
|
+
else {
|
188
|
+
this.noOptions = null;
|
189
|
+
this.menu.options = this.options;
|
190
|
+
}
|
127
191
|
}
|
128
192
|
if (this.open && event.key === "Enter") {
|
129
193
|
this.setMenuChange(false);
|
130
194
|
}
|
131
195
|
else {
|
132
|
-
if (!(
|
133
|
-
this.
|
134
|
-
|
135
|
-
|
196
|
+
if (!(isArrowKey && this.noOptions !== null) && this.isMenuEnabled()) {
|
197
|
+
if (!(event.key === " " && this.pressedCharacters.length > 0)) {
|
198
|
+
this.menu.handleKeyboardOpen(event);
|
199
|
+
}
|
200
|
+
this.handleCharacterKeyDown(event.key);
|
136
201
|
}
|
137
202
|
}
|
138
203
|
};
|
@@ -142,25 +207,21 @@ export class Select {
|
|
142
207
|
this.handleClearButtonBlur = () => {
|
143
208
|
this.clearButtonFocused = false;
|
144
209
|
};
|
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];
|
210
|
+
this.handleFilter = () => {
|
211
|
+
const options = this.searchable ? [...this.options] : this.ungroupedOptions;
|
157
212
|
let isGrouped = false;
|
158
213
|
let newFilteredOptions = [];
|
159
214
|
options.map((option) => {
|
160
215
|
if (option.children)
|
161
216
|
isGrouped = true;
|
162
217
|
});
|
163
|
-
|
218
|
+
let menuOptionsFiltered;
|
219
|
+
if (this.searchable) {
|
220
|
+
menuOptionsFiltered = getFilteredMenuOptions(options, this.includeDescriptionsInSearch, this.searchableSelectInputValue, this.searchMatchPosition);
|
221
|
+
}
|
222
|
+
else {
|
223
|
+
menuOptionsFiltered = getFilteredMenuOptions(options, false, this.pressedCharacters, "start");
|
224
|
+
}
|
164
225
|
if (!isGrouped) {
|
165
226
|
newFilteredOptions = menuOptionsFiltered;
|
166
227
|
}
|
@@ -197,24 +258,48 @@ export class Select {
|
|
197
258
|
this.noOptions = noOptions;
|
198
259
|
this.filteredOptions = this.noOptions;
|
199
260
|
}
|
200
|
-
this.debounceAriaLiveUpdate();
|
201
261
|
};
|
202
|
-
this.
|
203
|
-
|
204
|
-
|
205
|
-
|
262
|
+
this.handleSearchableSelectInput = (event) => {
|
263
|
+
this.searchableSelectInputValue = event.target.value;
|
264
|
+
this.icInput.emit({ value: this.searchableSelectInputValue });
|
265
|
+
if (this.disableFilter) {
|
266
|
+
this.emitIcChange(this.searchableSelectInputValue);
|
267
|
+
}
|
268
|
+
else if (this.getValueFromLabel(this.searchableSelectInputValue) === undefined) {
|
269
|
+
this.emitIcChange(null);
|
270
|
+
}
|
271
|
+
if (this.isMenuEnabled()) {
|
272
|
+
this.setMenuChange(true);
|
206
273
|
}
|
207
274
|
else {
|
208
|
-
|
275
|
+
this.setMenuChange(false);
|
276
|
+
}
|
277
|
+
if (!this.disableFilter) {
|
278
|
+
this.handleFilter();
|
279
|
+
this.debounceAriaLiveUpdate();
|
280
|
+
}
|
281
|
+
};
|
282
|
+
this.updateSearchableSelectResultAriaLive = () => {
|
283
|
+
const searchableSelectResultsStatusEl = this.host.shadowRoot.querySelector(".searchable-select-results-status");
|
284
|
+
if (searchableSelectResultsStatusEl) {
|
285
|
+
if (this.noOptions !== null) {
|
286
|
+
searchableSelectResultsStatusEl.innerText = this.emptyOptionListText;
|
287
|
+
}
|
288
|
+
else {
|
289
|
+
searchableSelectResultsStatusEl.innerText = "";
|
290
|
+
}
|
209
291
|
}
|
210
292
|
};
|
293
|
+
this.getDefaultValue = (value) => this.getLabelFromValue(value) || value || null;
|
211
294
|
this.onFocus = () => {
|
212
295
|
this.icFocus.emit();
|
213
296
|
};
|
214
297
|
this.onBlur = (event) => {
|
215
|
-
|
298
|
+
const isSearchableAndNoFocusedInternalElements = this.searchable &&
|
216
299
|
event.relatedTarget !== this.menu &&
|
217
|
-
!(this.
|
300
|
+
!Array.from(this.menu.querySelectorAll("[role='option']")).includes(event.relatedTarget) &&
|
301
|
+
!(this.clearButton && event.relatedTarget === this.clearButton);
|
302
|
+
if (isSearchableAndNoFocusedInternalElements) {
|
218
303
|
this.setMenuChange(false);
|
219
304
|
this.handleFocusIndicatorDisplay();
|
220
305
|
}
|
@@ -223,7 +308,7 @@ export class Select {
|
|
223
308
|
this.handleFormReset = () => {
|
224
309
|
this.value = this.initialValue;
|
225
310
|
if (this.searchable) {
|
226
|
-
this.searchableSelectInputValue =
|
311
|
+
this.searchableSelectInputValue = this.getDefaultValue(this.value);
|
227
312
|
}
|
228
313
|
};
|
229
314
|
this.label = undefined;
|
@@ -239,6 +324,7 @@ export class Select {
|
|
239
324
|
this.validationStatus = "";
|
240
325
|
this.validationText = "";
|
241
326
|
this.value = undefined;
|
327
|
+
this.debounce = 0;
|
242
328
|
this.name = this.inputId;
|
243
329
|
this.showClearButton = false;
|
244
330
|
this.searchable = false;
|
@@ -247,6 +333,7 @@ export class Select {
|
|
247
333
|
this.searchMatchPosition = "anywhere";
|
248
334
|
this.charactersUntilSuggestions = 0;
|
249
335
|
this.emptyOptionListText = "No results found";
|
336
|
+
this.disableFilter = false;
|
250
337
|
this.open = false;
|
251
338
|
this.clearButtonFocused = false;
|
252
339
|
this.searchableSelectInputValue = null;
|
@@ -254,10 +341,45 @@ export class Select {
|
|
254
341
|
this.ariaActiveDescendant = undefined;
|
255
342
|
this.noOptions = null;
|
256
343
|
this.initialValue = this.value;
|
344
|
+
this.currDebounce = this.debounce;
|
345
|
+
this.currValue = this.value;
|
346
|
+
this.debounceIcChange = undefined;
|
347
|
+
this.pressedCharacters = "";
|
257
348
|
}
|
258
349
|
watchOptionsHandler() {
|
259
|
-
this.
|
260
|
-
|
350
|
+
if (this.isExternalFiltering()) {
|
351
|
+
if (this.options.length > 0) {
|
352
|
+
this.setOptionsValuesFromLabels();
|
353
|
+
this.noOptions = null;
|
354
|
+
this.filteredOptions = this.options;
|
355
|
+
}
|
356
|
+
else if (this.isMenuEnabled()) {
|
357
|
+
this.noOptions = [{ label: this.emptyOptionListText, value: "" }];
|
358
|
+
this.filteredOptions = this.noOptions;
|
359
|
+
// Will prevent 'No results found' displaying on initial load and setting default value
|
360
|
+
if (!this.initialRender) {
|
361
|
+
this.setMenuChange(true);
|
362
|
+
}
|
363
|
+
}
|
364
|
+
this.updateSearchableSelectResultAriaLive();
|
365
|
+
this.setDefaultValue();
|
366
|
+
}
|
367
|
+
else {
|
368
|
+
this.setOptionsValuesFromLabels();
|
369
|
+
this.filteredOptions = this.options;
|
370
|
+
if (this.initialOptionsEmpty) {
|
371
|
+
this.setDefaultValue();
|
372
|
+
this.initialOptionsEmpty = false;
|
373
|
+
}
|
374
|
+
}
|
375
|
+
}
|
376
|
+
debounceChangedHandler(newValue) {
|
377
|
+
this.updateOnChangeDebounce(newValue);
|
378
|
+
}
|
379
|
+
valueChangedHandler() {
|
380
|
+
if (this.value !== this.currValue) {
|
381
|
+
this.currValue = this.value;
|
382
|
+
}
|
261
383
|
}
|
262
384
|
/**
|
263
385
|
* Sets focus on the input box.
|
@@ -273,12 +395,24 @@ export class Select {
|
|
273
395
|
this.searchableSelectElement.focus();
|
274
396
|
}
|
275
397
|
}
|
398
|
+
updateOnChangeDebounce(newValue) {
|
399
|
+
if (this.currDebounce !== newValue) {
|
400
|
+
this.currDebounce = newValue;
|
401
|
+
}
|
402
|
+
}
|
276
403
|
debounceAriaLiveUpdate() {
|
277
|
-
clearTimeout(this.
|
404
|
+
clearTimeout(this.debounceAria);
|
278
405
|
window.setTimeout(() => {
|
279
406
|
this.updateSearchableSelectResultAriaLive();
|
280
407
|
}, 800);
|
281
408
|
}
|
409
|
+
setDefaultValue() {
|
410
|
+
if (!this.hasSetDefaultValue && this.currValue) {
|
411
|
+
this.searchableSelectInputValue = this.getDefaultValue(this.currValue);
|
412
|
+
this.initialValue = this.currValue;
|
413
|
+
this.hasSetDefaultValue = true;
|
414
|
+
}
|
415
|
+
}
|
282
416
|
componentWillLoad() {
|
283
417
|
this.inheritedAttributes = inheritAttributes(this.host, [
|
284
418
|
...IC_INHERITED_ARIA,
|
@@ -287,12 +421,22 @@ export class Select {
|
|
287
421
|
]);
|
288
422
|
this.setOptionsValuesFromLabels();
|
289
423
|
addFormResetListener(this.host, this.handleFormReset);
|
424
|
+
this.initialRender = true;
|
425
|
+
if (!this.options.length) {
|
426
|
+
this.initialOptionsEmpty = true;
|
427
|
+
}
|
428
|
+
else if (!this.disableFilter) {
|
429
|
+
this.setDefaultValue();
|
430
|
+
}
|
290
431
|
}
|
291
432
|
componentDidRender() {
|
292
433
|
if (this.nativeSelectElement && !this.disabled) {
|
293
434
|
this.setTextColor();
|
294
435
|
}
|
295
436
|
}
|
437
|
+
componentWillUpdate() {
|
438
|
+
this.initialRender = false;
|
439
|
+
}
|
296
440
|
componentDidLoad() {
|
297
441
|
onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Select");
|
298
442
|
}
|
@@ -300,49 +444,49 @@ export class Select {
|
|
300
444
|
removeFormResetListener(this.host, this.handleFormReset);
|
301
445
|
}
|
302
446
|
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,
|
447
|
+
const { small, disabled, fullWidth, helperText, hideLabel, label, menuId, name, options, placeholder, readonly, required, searchable, showClearButton, validationStatus, validationText, currValue, } = this;
|
448
|
+
renderHiddenInput(true, this.host, name, currValue, disabled);
|
305
449
|
const invalid = validationStatus === IcInformationStatus.Error ? "true" : "false";
|
306
450
|
const describedBy = getInputDescribedByText(this.inputId, helperText !== "", hasValidationStatus(this.validationStatus, this.disabled)).trim();
|
307
|
-
return (h(Host,
|
451
|
+
return (h(Host, { class: {
|
452
|
+
disabled: disabled,
|
453
|
+
searchable: searchable,
|
454
|
+
small: small,
|
455
|
+
"full-width": fullWidth,
|
456
|
+
} }, 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
457
|
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 ===
|
458
|
+
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
459
|
}
|
311
460
|
else {
|
312
|
-
return (h("option", { value: option.value, disabled: option.disabled, selected: option.value ===
|
461
|
+
return (h("option", { value: option.value, disabled: option.disabled, selected: option.value === currValue }, option.label));
|
313
462
|
}
|
314
463
|
}))) : 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 &&
|
464
|
+
(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
465
|
? "Clear input"
|
317
466
|
: "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
467
|
? IcThemeForegroundEnum.Light
|
319
468
|
: IcThemeForegroundEnum.Dark }), h("div", { class: "divider" }))), h("span", { onMouseDown: this.handleExpandIconMouseDown, class: {
|
320
469
|
"expand-icon": true,
|
321
470
|
"expand-icon-open": this.open,
|
322
|
-
"expand-icon-filled": !(
|
323
|
-
|
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(value) || 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: {
|
471
|
+
"expand-icon-filled": !(currValue == null || currValue === ""),
|
472
|
+
}, 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
473
|
"value-text": true,
|
326
|
-
placeholder: this.getLabelFromValue(
|
327
|
-
} }, h("p", null, this.getLabelFromValue(
|
474
|
+
placeholder: this.getLabelFromValue(currValue) === undefined,
|
475
|
+
} }, h("p", null, this.getLabelFromValue(currValue) || placeholder)), h("div", { class: "select-input-end" }, currValue && showClearButton && (h("div", { class: "divider" })), h("span", { class: {
|
328
476
|
"expand-icon": true,
|
329
477
|
"expand-icon-open": this.open,
|
330
|
-
"expand-icon-filled": !(
|
331
|
-
}, innerHTML: Expand, "aria-hidden": "true" }))),
|
478
|
+
"expand-icon-filled": !(currValue == null || currValue === ""),
|
479
|
+
}, 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
480
|
? IcThemeForegroundEnum.Light
|
333
481
|
: IcThemeForegroundEnum.Dark }))))), !isMobileOrTablet() && (h("ic-menu", { class: {
|
334
|
-
"no-results": this.noOptions !== null,
|
482
|
+
"no-results": this.noOptions !== null && this.searchable,
|
335
483
|
}, ref: (el) => (this.menu = el), inputEl: searchable
|
336
484
|
? 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 }))));
|
485
|
+
: 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
486
|
}
|
344
487
|
static get is() { return "ic-select"; }
|
345
488
|
static get encapsulation() { return "shadow"; }
|
489
|
+
static get delegatesFocus() { return true; }
|
346
490
|
static get originalStyleUrls() {
|
347
491
|
return {
|
348
492
|
"$": ["ic-select.css"]
|
@@ -367,7 +511,7 @@ export class Select {
|
|
367
511
|
"optional": false,
|
368
512
|
"docs": {
|
369
513
|
"tags": [],
|
370
|
-
"text": "
|
514
|
+
"text": "The label for the select."
|
371
515
|
},
|
372
516
|
"attribute": "label",
|
373
517
|
"reflect": false
|
@@ -389,7 +533,7 @@ export class Select {
|
|
389
533
|
"optional": true,
|
390
534
|
"docs": {
|
391
535
|
"tags": [],
|
392
|
-
"text": "
|
536
|
+
"text": "The possible selection options."
|
393
537
|
},
|
394
538
|
"defaultValue": "[]"
|
395
539
|
},
|
@@ -405,7 +549,7 @@ export class Select {
|
|
405
549
|
"optional": true,
|
406
550
|
"docs": {
|
407
551
|
"tags": [],
|
408
|
-
"text": "
|
552
|
+
"text": "If `true`, the select will require a value."
|
409
553
|
},
|
410
554
|
"attribute": "required",
|
411
555
|
"reflect": false,
|
@@ -423,7 +567,7 @@ export class Select {
|
|
423
567
|
"optional": true,
|
424
568
|
"docs": {
|
425
569
|
"tags": [],
|
426
|
-
"text": "
|
570
|
+
"text": "If `true`, the label will be hidden and the required label value will be applied as an aria-label."
|
427
571
|
},
|
428
572
|
"attribute": "hide-label",
|
429
573
|
"reflect": false,
|
@@ -441,7 +585,7 @@ export class Select {
|
|
441
585
|
"optional": true,
|
442
586
|
"docs": {
|
443
587
|
"tags": [],
|
444
|
-
"text": "
|
588
|
+
"text": "If `true`, the disabled state will be set."
|
445
589
|
},
|
446
590
|
"attribute": "disabled",
|
447
591
|
"reflect": true,
|
@@ -459,7 +603,7 @@ export class Select {
|
|
459
603
|
"optional": true,
|
460
604
|
"docs": {
|
461
605
|
"tags": [],
|
462
|
-
"text": "
|
606
|
+
"text": "If `true`, the readonly state will be set."
|
463
607
|
},
|
464
608
|
"attribute": "readonly",
|
465
609
|
"reflect": false,
|
@@ -477,7 +621,7 @@ export class Select {
|
|
477
621
|
"optional": true,
|
478
622
|
"docs": {
|
479
623
|
"tags": [],
|
480
|
-
"text": "
|
624
|
+
"text": "The placeholder value to be displayed."
|
481
625
|
},
|
482
626
|
"attribute": "placeholder",
|
483
627
|
"reflect": false,
|
@@ -495,7 +639,7 @@ export class Select {
|
|
495
639
|
"optional": true,
|
496
640
|
"docs": {
|
497
641
|
"tags": [],
|
498
|
-
"text": "
|
642
|
+
"text": "The helper text that will be displayed for additional field guidance."
|
499
643
|
},
|
500
644
|
"attribute": "helper-text",
|
501
645
|
"reflect": false,
|
@@ -513,7 +657,7 @@ export class Select {
|
|
513
657
|
"optional": true,
|
514
658
|
"docs": {
|
515
659
|
"tags": [],
|
516
|
-
"text": "
|
660
|
+
"text": "If `true`, the small styling will be applied to the select."
|
517
661
|
},
|
518
662
|
"attribute": "small",
|
519
663
|
"reflect": false,
|
@@ -531,7 +675,7 @@ export class Select {
|
|
531
675
|
"optional": false,
|
532
676
|
"docs": {
|
533
677
|
"tags": [],
|
534
|
-
"text": "If true
|
678
|
+
"text": "If `true`, the select element will fill the width of the container."
|
535
679
|
},
|
536
680
|
"attribute": "full-width",
|
537
681
|
"reflect": false,
|
@@ -554,7 +698,7 @@ export class Select {
|
|
554
698
|
"optional": true,
|
555
699
|
"docs": {
|
556
700
|
"tags": [],
|
557
|
-
"text": "
|
701
|
+
"text": "The validation status - e.g. 'error' | 'warning' | 'success'."
|
558
702
|
},
|
559
703
|
"attribute": "validation-status",
|
560
704
|
"reflect": false,
|
@@ -572,7 +716,7 @@ export class Select {
|
|
572
716
|
"optional": true,
|
573
717
|
"docs": {
|
574
718
|
"tags": [],
|
575
|
-
"text": "
|
719
|
+
"text": "The text to display as the validation message."
|
576
720
|
},
|
577
721
|
"attribute": "validation-text",
|
578
722
|
"reflect": false,
|
@@ -595,6 +739,24 @@ export class Select {
|
|
595
739
|
"attribute": "value",
|
596
740
|
"reflect": false
|
597
741
|
},
|
742
|
+
"debounce": {
|
743
|
+
"type": "number",
|
744
|
+
"mutable": false,
|
745
|
+
"complexType": {
|
746
|
+
"original": "number",
|
747
|
+
"resolved": "number",
|
748
|
+
"references": {}
|
749
|
+
},
|
750
|
+
"required": false,
|
751
|
+
"optional": true,
|
752
|
+
"docs": {
|
753
|
+
"tags": [],
|
754
|
+
"text": "The amount of time, in milliseconds, to wait to trigger the `icChange` event after each keystroke."
|
755
|
+
},
|
756
|
+
"attribute": "debounce",
|
757
|
+
"reflect": false,
|
758
|
+
"defaultValue": "0"
|
759
|
+
},
|
598
760
|
"name": {
|
599
761
|
"type": "string",
|
600
762
|
"mutable": false,
|
@@ -625,7 +787,7 @@ export class Select {
|
|
625
787
|
"optional": true,
|
626
788
|
"docs": {
|
627
789
|
"tags": [],
|
628
|
-
"text": "
|
790
|
+
"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
791
|
},
|
630
792
|
"attribute": "show-clear-button",
|
631
793
|
"reflect": false,
|
@@ -643,7 +805,7 @@ export class Select {
|
|
643
805
|
"optional": true,
|
644
806
|
"docs": {
|
645
807
|
"tags": [],
|
646
|
-
"text": "If true
|
808
|
+
"text": "If `true`, a searchable variant of the select will be displayed which can be typed in to filter options."
|
647
809
|
},
|
648
810
|
"attribute": "searchable",
|
649
811
|
"reflect": false,
|
@@ -661,7 +823,7 @@ export class Select {
|
|
661
823
|
"optional": true,
|
662
824
|
"docs": {
|
663
825
|
"tags": [],
|
664
|
-
"text": "If true
|
826
|
+
"text": "If `true`, descriptions of options will be included when filtering options in a searchable select. Only applies to built in filtering."
|
665
827
|
},
|
666
828
|
"attribute": "include-descriptions-in-search",
|
667
829
|
"reflect": false,
|
@@ -679,7 +841,7 @@ export class Select {
|
|
679
841
|
"optional": true,
|
680
842
|
"docs": {
|
681
843
|
"tags": [],
|
682
|
-
"text": "If true
|
844
|
+
"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
845
|
},
|
684
846
|
"attribute": "include-group-titles-in-search",
|
685
847
|
"reflect": false,
|
@@ -702,7 +864,7 @@ export class Select {
|
|
702
864
|
"optional": true,
|
703
865
|
"docs": {
|
704
866
|
"tags": [],
|
705
|
-
"text": "Whether the search string of the searchable select should match the start of or anywhere in the options."
|
867
|
+
"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
868
|
},
|
707
869
|
"attribute": "search-match-position",
|
708
870
|
"reflect": false,
|
@@ -719,8 +881,11 @@ export class Select {
|
|
719
881
|
"required": false,
|
720
882
|
"optional": true,
|
721
883
|
"docs": {
|
722
|
-
"tags": [
|
723
|
-
|
884
|
+
"tags": [{
|
885
|
+
"name": "deprecated",
|
886
|
+
"text": "This prop should not be used anymore."
|
887
|
+
}],
|
888
|
+
"text": ""
|
724
889
|
},
|
725
890
|
"attribute": "characters-until-suggestions",
|
726
891
|
"reflect": false,
|
@@ -738,11 +903,29 @@ export class Select {
|
|
738
903
|
"optional": false,
|
739
904
|
"docs": {
|
740
905
|
"tags": [],
|
741
|
-
"text": "
|
906
|
+
"text": "The text displayed when there are no options in the option list."
|
742
907
|
},
|
743
908
|
"attribute": "empty-option-list-text",
|
744
909
|
"reflect": false,
|
745
910
|
"defaultValue": "\"No results found\""
|
911
|
+
},
|
912
|
+
"disableFilter": {
|
913
|
+
"type": "boolean",
|
914
|
+
"mutable": false,
|
915
|
+
"complexType": {
|
916
|
+
"original": "boolean",
|
917
|
+
"resolved": "boolean",
|
918
|
+
"references": {}
|
919
|
+
},
|
920
|
+
"required": false,
|
921
|
+
"optional": true,
|
922
|
+
"docs": {
|
923
|
+
"tags": [],
|
924
|
+
"text": "Specify whether to disable the built in filtering for a searchable variant. For example, if options will already be filtered from external source."
|
925
|
+
},
|
926
|
+
"attribute": "disable-filter",
|
927
|
+
"reflect": false,
|
928
|
+
"defaultValue": "false"
|
746
929
|
}
|
747
930
|
};
|
748
931
|
}
|
@@ -754,7 +937,11 @@ export class Select {
|
|
754
937
|
"filteredOptions": {},
|
755
938
|
"ariaActiveDescendant": {},
|
756
939
|
"noOptions": {},
|
757
|
-
"initialValue": {}
|
940
|
+
"initialValue": {},
|
941
|
+
"currDebounce": {},
|
942
|
+
"currValue": {},
|
943
|
+
"debounceIcChange": {},
|
944
|
+
"pressedCharacters": {}
|
758
945
|
};
|
759
946
|
}
|
760
947
|
static get events() {
|
@@ -766,7 +953,7 @@ export class Select {
|
|
766
953
|
"composed": true,
|
767
954
|
"docs": {
|
768
955
|
"tags": [],
|
769
|
-
"text": "Emitted when
|
956
|
+
"text": "Emitted when the value changes."
|
770
957
|
},
|
771
958
|
"complexType": {
|
772
959
|
"original": "IcValueEventDetail",
|
@@ -778,6 +965,21 @@ export class Select {
|
|
778
965
|
}
|
779
966
|
}
|
780
967
|
}
|
968
|
+
}, {
|
969
|
+
"method": "icClear",
|
970
|
+
"name": "icClear",
|
971
|
+
"bubbles": true,
|
972
|
+
"cancelable": true,
|
973
|
+
"composed": true,
|
974
|
+
"docs": {
|
975
|
+
"tags": [],
|
976
|
+
"text": "Emitted when clear button clicked."
|
977
|
+
},
|
978
|
+
"complexType": {
|
979
|
+
"original": "void",
|
980
|
+
"resolved": "void",
|
981
|
+
"references": {}
|
982
|
+
}
|
781
983
|
}, {
|
782
984
|
"method": "icFocus",
|
783
985
|
"name": "icFocus",
|
@@ -786,7 +988,7 @@ export class Select {
|
|
786
988
|
"composed": true,
|
787
989
|
"docs": {
|
788
990
|
"tags": [],
|
789
|
-
"text": "Emitted when select
|
991
|
+
"text": "Emitted when select gains focus."
|
790
992
|
},
|
791
993
|
"complexType": {
|
792
994
|
"original": "void",
|
@@ -801,13 +1003,53 @@ export class Select {
|
|
801
1003
|
"composed": true,
|
802
1004
|
"docs": {
|
803
1005
|
"tags": [],
|
804
|
-
"text": "Emitted when select
|
1006
|
+
"text": "Emitted when select loses focus."
|
805
1007
|
},
|
806
1008
|
"complexType": {
|
807
1009
|
"original": "void",
|
808
1010
|
"resolved": "void",
|
809
1011
|
"references": {}
|
810
1012
|
}
|
1013
|
+
}, {
|
1014
|
+
"method": "icOptionSelect",
|
1015
|
+
"name": "icOptionSelect",
|
1016
|
+
"bubbles": true,
|
1017
|
+
"cancelable": true,
|
1018
|
+
"composed": true,
|
1019
|
+
"docs": {
|
1020
|
+
"tags": [],
|
1021
|
+
"text": "Emitted when option is highlighted within the menu.\nHighlighting a menu item will trigger an `icChange/onIcChange` due to the value being updated."
|
1022
|
+
},
|
1023
|
+
"complexType": {
|
1024
|
+
"original": "IcOptionSelectEventDetail",
|
1025
|
+
"resolved": "IcOptionSelectEventDetail",
|
1026
|
+
"references": {
|
1027
|
+
"IcOptionSelectEventDetail": {
|
1028
|
+
"location": "import",
|
1029
|
+
"path": "../ic-menu/ic-menu.types"
|
1030
|
+
}
|
1031
|
+
}
|
1032
|
+
}
|
1033
|
+
}, {
|
1034
|
+
"method": "icInput",
|
1035
|
+
"name": "icInput",
|
1036
|
+
"bubbles": true,
|
1037
|
+
"cancelable": true,
|
1038
|
+
"composed": true,
|
1039
|
+
"docs": {
|
1040
|
+
"tags": [],
|
1041
|
+
"text": "Emitted when a keyboard input occurred."
|
1042
|
+
},
|
1043
|
+
"complexType": {
|
1044
|
+
"original": "IcValueEventDetail",
|
1045
|
+
"resolved": "IcValueEventDetail",
|
1046
|
+
"references": {
|
1047
|
+
"IcValueEventDetail": {
|
1048
|
+
"location": "import",
|
1049
|
+
"path": "../../interface"
|
1050
|
+
}
|
1051
|
+
}
|
1052
|
+
}
|
811
1053
|
}];
|
812
1054
|
}
|
813
1055
|
static get methods() {
|
@@ -835,6 +1077,12 @@ export class Select {
|
|
835
1077
|
return [{
|
836
1078
|
"propName": "options",
|
837
1079
|
"methodName": "watchOptionsHandler"
|
1080
|
+
}, {
|
1081
|
+
"propName": "debounce",
|
1082
|
+
"methodName": "debounceChangedHandler"
|
1083
|
+
}, {
|
1084
|
+
"propName": "value",
|
1085
|
+
"methodName": "valueChangedHandler"
|
838
1086
|
}];
|
839
1087
|
}
|
840
1088
|
}
|