@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
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
6
|
-
const helpers = require('./helpers-
|
5
|
+
const index = require('./index-f79a4e53.js');
|
6
|
+
const helpers = require('./helpers-2021e212.js');
|
7
7
|
const types = require('./types-3eb02246.js');
|
8
8
|
|
9
|
-
const Expand = `<svg
|
9
|
+
const Expand = `<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
10
10
|
<path d="M7 9.5L12 14.5L17 9.5H7Z" fill="currentColor" />
|
11
11
|
</svg>
|
12
12
|
`;
|
@@ -16,28 +16,43 @@ const Clear = `<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www
|
|
16
16
|
</svg>
|
17
17
|
`;
|
18
18
|
|
19
|
-
const icSelectCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}ic-input-component-container:hover{--border-color:var(--ic-action-dark-hover)}ic-input-component-container:active{--border-color:var(--ic-action-dark-active);color:var(--ic-action-dark-active)}ic-input-component-container.menu-open{--border-color:var(--ic-architectural-400);color:var(--ic-action-dark)}ic-input-validation .status-icon,ic-input-validation .statustext{visibility:visible}ic-input-validation.menu-open .status-icon,ic-input-validation.menu-open .statustext{visibility:hidden;transition:visibility 0s}ic-input-label{margin-bottom:var(--ic-space-xs) !important}select{border:0;border-radius:var(--ic-border-radius);background-color:var(--ic-architectural-white);color:var(--ic-color-primary-text);line-height:1.5rem;letter-spacing:0.005rem;width:100%;height:100%;padding-left:
|
19
|
+
const icSelectCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{position:relative}:host(.full-width){width:100%}ic-input-component-container:hover{--border-color:var(--ic-action-dark-hover)}ic-input-component-container:active{--border-color:var(--ic-action-dark-active);color:var(--ic-action-dark-active)}ic-input-component-container.menu-open{--border-color:var(--ic-architectural-400);color:var(--ic-action-dark)}ic-input-validation .status-icon,ic-input-validation .statustext{visibility:visible}ic-input-validation.menu-open .status-icon,ic-input-validation.menu-open .statustext{visibility:hidden;transition:visibility 0s}ic-input-label{margin-bottom:var(--ic-space-xs) !important}select{border:0;border-radius:var(--ic-border-radius);background-color:var(--ic-architectural-white);color:var(--ic-color-primary-text);line-height:1.5rem;letter-spacing:0.005rem;width:100%;height:100%;padding-left:0.375rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-repeat:no-repeat;background-position:right 0.375rem center;background-image:url(\"data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>\")}select option,.select-option-selected{color:var(--ic-color-primary-text)}select:disabled{color:var(--ic-architectural-200);background-image:url(\"data:image/svg+xml;utf8,<svg fill='grey' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>\")}select:focus{border:0;outline:0}select:not([disabled]){cursor:pointer}.select-container{width:100%;display:flex;align-items:center;position:relative}.select-input{width:100%;height:100%;padding:0 0.375rem;display:flex;cursor:pointer;align-items:center;justify-content:space-between;background:none;border:none}.select-input:focus{outline:var(--ic-hc-focus-outline)}:host(:not(.disabled)) ic-input-component-container:hover .select-input{background-color:var(--ic-architectural-white)}.select-input[disabled]{pointer-events:none}:host(.searchable) .select-input{cursor:auto}.searchable-select-container{align-items:center;display:flex;width:100%;position:relative}.expand-icon{height:var(--ic-space-lg);padding-left:var(--ic-space-xs);color:var(--ic-action-dark)}.expand-icon>svg{display:inline-block;width:var(--ic-space-lg);height:var(--ic-space-lg)}:host(.disabled) .expand-icon,:host(.disabled) .expand-icon>svg>path{color:var(--ic-architectural-200)}:host(.searchable) .expand-icon{padding-left:var(--ic-space-xxs);height:2.25rem}:host(.searchable) .expand-icon>svg{height:2.25rem;padding:0 0.375rem}:host(.searchable:not(.disabled)) .expand-icon>svg{cursor:pointer}.expand-icon-open{color:var(--ic-action-dark)}.expand-icon-filled{color:var(--ic-action-dark)}.expand-icon-open,:host(.searchable) .expand-icon-open{transform:rotateX(180deg)}:host(.disabled) .value-text,.placeholder{color:var(--ic-color-tertiary-text)}.select-input-end{display:flex;align-items:center}.clear-button-container{display:flex;gap:var(--ic-space-xxs);padding-left:2.375rem}:host(.small) .clear-button-container{padding-left:1.875rem}.divider{width:0.063rem;background-color:var(--ic-architectural-400);margin:var(--ic-space-xxs) 0;border-radius:0.063rem;height:var(--ic-space-lg)}:host(.small) .divider{height:var(--ic-space-md)}.clear-button{position:absolute;right:2.75rem;border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition)}.clear-button:focus{background-color:var(--ic-focus-blue);box-shadow:inset 0 0 0 0.125rem var(--ic-focus-glow);border-radius:0.25rem}.clear-button:focus *{fill:white}.searchable-select-results-status{border:0;clip:rect(0, 0, 0, 0, 0);height:0.063rem;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:0.063rem}";
|
20
20
|
|
21
21
|
let inputIds = 0;
|
22
22
|
const Select = class {
|
23
23
|
constructor(hostRef) {
|
24
24
|
index.registerInstance(this, hostRef);
|
25
25
|
this.icChange = index.createEvent(this, "icChange", 7);
|
26
|
+
this.icClear = index.createEvent(this, "icClear", 7);
|
26
27
|
this.icFocus = index.createEvent(this, "icFocus", 7);
|
27
28
|
this.icBlur = index.createEvent(this, "icBlur", 7);
|
29
|
+
this.icOptionSelect = index.createEvent(this, "icOptionSelect", 7);
|
30
|
+
this.icInput = index.createEvent(this, "icInput", 7);
|
28
31
|
this.inputId = `ic-select-input-${inputIds++}`;
|
29
32
|
this.menuId = `${this.inputId}-menu`;
|
33
|
+
this.ungroupedOptions = [];
|
30
34
|
this.inheritedAttributes = {};
|
35
|
+
this.hasSetDefaultValue = false;
|
36
|
+
this.initialRender = false;
|
37
|
+
this.initialOptionsEmpty = false;
|
38
|
+
this.emitIcChange = (value) => {
|
39
|
+
this.value = value;
|
40
|
+
clearTimeout(this.debounceIcChange);
|
41
|
+
this.debounceIcChange = window.setTimeout(() => {
|
42
|
+
this.icChange.emit({ value: value });
|
43
|
+
}, this.currDebounce);
|
44
|
+
};
|
45
|
+
this.emitImmediateIcChange = (value) => {
|
46
|
+
this.value = value;
|
47
|
+
clearTimeout(this.debounceIcChange);
|
48
|
+
this.icChange.emit({ value: value });
|
49
|
+
};
|
31
50
|
this.isMenuEnabled = () => {
|
32
|
-
return (
|
33
|
-
this.searchableSelectInputValue
|
34
|
-
this.charactersUntilSuggestions === 0) ||
|
35
|
-
(this.searchableSelectInputValue &&
|
36
|
-
this.searchableSelectInputValue.length >=
|
37
|
-
this.charactersUntilSuggestions));
|
51
|
+
return (this.searchableSelectInputValue !== null ||
|
52
|
+
this.searchableSelectInputValue !== "");
|
38
53
|
};
|
39
54
|
this.setOptionsValuesFromLabels = () => {
|
40
|
-
if (this.options.length > 0) {
|
55
|
+
if (this.options.length > 0 && this.options.map) {
|
41
56
|
this.options.map((option) => {
|
42
57
|
if (!option.value) {
|
43
58
|
option.value = option.label;
|
@@ -45,6 +60,9 @@ const Select = class {
|
|
45
60
|
});
|
46
61
|
}
|
47
62
|
};
|
63
|
+
this.setUngroupedOptions = (event) => {
|
64
|
+
this.ungroupedOptions = event.detail.options;
|
65
|
+
};
|
48
66
|
this.setTextColor = () => {
|
49
67
|
if (this.nativeSelectElement.selectedIndex === 0) {
|
50
68
|
this.nativeSelectElement.className = "placeholder";
|
@@ -68,13 +86,19 @@ const Select = class {
|
|
68
86
|
};
|
69
87
|
this.getFilteredChildMenuOptions = (option) => {
|
70
88
|
let children = option.children;
|
71
|
-
|
89
|
+
if (this.searchable) {
|
90
|
+
children = helpers.getFilteredMenuOptions(option.children, this.includeDescriptionsInSearch, this.searchableSelectInputValue, this.searchMatchPosition);
|
91
|
+
}
|
92
|
+
else {
|
93
|
+
children = helpers.getFilteredMenuOptions(option.children, false, this.pressedCharacters, "start");
|
94
|
+
}
|
72
95
|
const newOption = Object.assign({}, option);
|
73
96
|
newOption.children = children;
|
74
97
|
return newOption;
|
75
98
|
};
|
76
99
|
this.handleNativeSelectChange = () => {
|
77
|
-
this.
|
100
|
+
this.icOptionSelect.emit({ value: this.nativeSelectElement.value });
|
101
|
+
this.emitImmediateIcChange(this.nativeSelectElement.value);
|
78
102
|
this.setTextColor();
|
79
103
|
};
|
80
104
|
this.handleCustomSelectChange = (event) => {
|
@@ -86,12 +110,20 @@ const Select = class {
|
|
86
110
|
this.searchableSelectInputValue = this.getLabelFromValue(event.detail.value);
|
87
111
|
}
|
88
112
|
this.ariaActiveDescendant = event.detail.optionId;
|
89
|
-
this.
|
113
|
+
this.icOptionSelect.emit({ value: event.detail.value });
|
114
|
+
this.emitIcChange(event.detail.value);
|
90
115
|
};
|
91
116
|
this.handleMenuChange = (event) => {
|
92
117
|
this.open = event.detail.open;
|
118
|
+
this.pressedCharacters = "";
|
93
119
|
this.searchable && this.handleFocusIndicatorDisplay();
|
94
120
|
};
|
121
|
+
// clears the debounce delay when navigating the menu with arrow keys etc
|
122
|
+
// to prevent delay in change event, which should only occur when typing in input
|
123
|
+
this.handleMenuKeyPress = (ev) => {
|
124
|
+
ev.cancelBubble = true;
|
125
|
+
this.handleCharacterKeyDown(ev.detail.key);
|
126
|
+
};
|
95
127
|
this.handleFocusIndicatorDisplay = () => {
|
96
128
|
const focusIndicator = this.host.shadowRoot.querySelector(".focus-indicator");
|
97
129
|
if (this.open) {
|
@@ -106,9 +138,15 @@ const Select = class {
|
|
106
138
|
event.preventDefault();
|
107
139
|
}
|
108
140
|
};
|
141
|
+
this.isExternalFiltering = () => this.searchable && this.disableFilter;
|
109
142
|
this.handleClick = (event) => {
|
110
|
-
this.
|
111
|
-
|
143
|
+
if (this.isExternalFiltering()) {
|
144
|
+
this.menu.options = this.filteredOptions;
|
145
|
+
}
|
146
|
+
else {
|
147
|
+
this.noOptions = null;
|
148
|
+
this.menu.options = this.options;
|
149
|
+
}
|
112
150
|
if (event.detail !== 0 && this.isMenuEnabled()) {
|
113
151
|
this.menu.handleClickOpen();
|
114
152
|
}
|
@@ -123,7 +161,8 @@ const Select = class {
|
|
123
161
|
this.handleClear = (event) => {
|
124
162
|
event.stopPropagation();
|
125
163
|
this.noOptions = null;
|
126
|
-
this.
|
164
|
+
this.emitImmediateIcChange(null);
|
165
|
+
this.icClear.emit();
|
127
166
|
if (this.searchable) {
|
128
167
|
this.searchableSelectElement.value = null;
|
129
168
|
this.searchableSelectInputValue = null;
|
@@ -137,20 +176,49 @@ const Select = class {
|
|
137
176
|
this.customSelectElement.focus();
|
138
177
|
}
|
139
178
|
};
|
179
|
+
this.handleCharacterKeyDown = (key) => {
|
180
|
+
// Only close menu when space is pressed if not being used alongside character keys to quickly select options
|
181
|
+
if (this.open && key === " " && this.pressedCharacters.length === 0) {
|
182
|
+
this.setMenuChange(false);
|
183
|
+
}
|
184
|
+
if (key.length === 1 && !this.searchable) {
|
185
|
+
window.clearTimeout(this.characterKeyPressTimer);
|
186
|
+
this.characterKeyPressTimer = window.setTimeout(() => (this.pressedCharacters = ""), 1000);
|
187
|
+
this.pressedCharacters += key;
|
188
|
+
this.handleFilter();
|
189
|
+
if (!this.noOptions) {
|
190
|
+
this.emitImmediateIcChange(this.filteredOptions[0].value);
|
191
|
+
}
|
192
|
+
}
|
193
|
+
else {
|
194
|
+
this.pressedCharacters = "";
|
195
|
+
}
|
196
|
+
};
|
197
|
+
this.handleNativeSelectKeyDown = (event) => {
|
198
|
+
event.cancelBubble = true;
|
199
|
+
this.handleCharacterKeyDown(event.key);
|
200
|
+
};
|
140
201
|
this.handleKeyDown = (event) => {
|
141
202
|
event.cancelBubble = true;
|
203
|
+
const isArrowKey = event.key === "ArrowDown" || event.key === "ArrowUp";
|
142
204
|
if (!this.open) {
|
143
|
-
this.
|
144
|
-
|
205
|
+
if (this.isExternalFiltering() && (event.key === "Enter" || isArrowKey)) {
|
206
|
+
this.menu.options = this.filteredOptions;
|
207
|
+
}
|
208
|
+
else {
|
209
|
+
this.noOptions = null;
|
210
|
+
this.menu.options = this.options;
|
211
|
+
}
|
145
212
|
}
|
146
213
|
if (this.open && event.key === "Enter") {
|
147
214
|
this.setMenuChange(false);
|
148
215
|
}
|
149
216
|
else {
|
150
|
-
if (!(
|
151
|
-
this.
|
152
|
-
|
153
|
-
|
217
|
+
if (!(isArrowKey && this.noOptions !== null) && this.isMenuEnabled()) {
|
218
|
+
if (!(event.key === " " && this.pressedCharacters.length > 0)) {
|
219
|
+
this.menu.handleKeyboardOpen(event);
|
220
|
+
}
|
221
|
+
this.handleCharacterKeyDown(event.key);
|
154
222
|
}
|
155
223
|
}
|
156
224
|
};
|
@@ -160,25 +228,21 @@ const Select = class {
|
|
160
228
|
this.handleClearButtonBlur = () => {
|
161
229
|
this.clearButtonFocused = false;
|
162
230
|
};
|
163
|
-
this.
|
164
|
-
this.
|
165
|
-
if (this.getValueFromLabel(this.searchableSelectInputValue) === undefined) {
|
166
|
-
this.icChange.emit({ value: null });
|
167
|
-
}
|
168
|
-
if (this.isMenuEnabled()) {
|
169
|
-
this.setMenuChange(true);
|
170
|
-
}
|
171
|
-
else {
|
172
|
-
this.setMenuChange(false);
|
173
|
-
}
|
174
|
-
const options = [...this.options];
|
231
|
+
this.handleFilter = () => {
|
232
|
+
const options = this.searchable ? [...this.options] : this.ungroupedOptions;
|
175
233
|
let isGrouped = false;
|
176
234
|
let newFilteredOptions = [];
|
177
235
|
options.map((option) => {
|
178
236
|
if (option.children)
|
179
237
|
isGrouped = true;
|
180
238
|
});
|
181
|
-
|
239
|
+
let menuOptionsFiltered;
|
240
|
+
if (this.searchable) {
|
241
|
+
menuOptionsFiltered = helpers.getFilteredMenuOptions(options, this.includeDescriptionsInSearch, this.searchableSelectInputValue, this.searchMatchPosition);
|
242
|
+
}
|
243
|
+
else {
|
244
|
+
menuOptionsFiltered = helpers.getFilteredMenuOptions(options, false, this.pressedCharacters, "start");
|
245
|
+
}
|
182
246
|
if (!isGrouped) {
|
183
247
|
newFilteredOptions = menuOptionsFiltered;
|
184
248
|
}
|
@@ -215,24 +279,48 @@ const Select = class {
|
|
215
279
|
this.noOptions = noOptions;
|
216
280
|
this.filteredOptions = this.noOptions;
|
217
281
|
}
|
218
|
-
this.debounceAriaLiveUpdate();
|
219
282
|
};
|
220
|
-
this.
|
221
|
-
|
222
|
-
|
223
|
-
|
283
|
+
this.handleSearchableSelectInput = (event) => {
|
284
|
+
this.searchableSelectInputValue = event.target.value;
|
285
|
+
this.icInput.emit({ value: this.searchableSelectInputValue });
|
286
|
+
if (this.disableFilter) {
|
287
|
+
this.emitIcChange(this.searchableSelectInputValue);
|
288
|
+
}
|
289
|
+
else if (this.getValueFromLabel(this.searchableSelectInputValue) === undefined) {
|
290
|
+
this.emitIcChange(null);
|
291
|
+
}
|
292
|
+
if (this.isMenuEnabled()) {
|
293
|
+
this.setMenuChange(true);
|
224
294
|
}
|
225
295
|
else {
|
226
|
-
|
296
|
+
this.setMenuChange(false);
|
297
|
+
}
|
298
|
+
if (!this.disableFilter) {
|
299
|
+
this.handleFilter();
|
300
|
+
this.debounceAriaLiveUpdate();
|
301
|
+
}
|
302
|
+
};
|
303
|
+
this.updateSearchableSelectResultAriaLive = () => {
|
304
|
+
const searchableSelectResultsStatusEl = this.host.shadowRoot.querySelector(".searchable-select-results-status");
|
305
|
+
if (searchableSelectResultsStatusEl) {
|
306
|
+
if (this.noOptions !== null) {
|
307
|
+
searchableSelectResultsStatusEl.innerText = this.emptyOptionListText;
|
308
|
+
}
|
309
|
+
else {
|
310
|
+
searchableSelectResultsStatusEl.innerText = "";
|
311
|
+
}
|
227
312
|
}
|
228
313
|
};
|
314
|
+
this.getDefaultValue = (value) => this.getLabelFromValue(value) || value || null;
|
229
315
|
this.onFocus = () => {
|
230
316
|
this.icFocus.emit();
|
231
317
|
};
|
232
318
|
this.onBlur = (event) => {
|
233
|
-
|
319
|
+
const isSearchableAndNoFocusedInternalElements = this.searchable &&
|
234
320
|
event.relatedTarget !== this.menu &&
|
235
|
-
!(this.
|
321
|
+
!Array.from(this.menu.querySelectorAll("[role='option']")).includes(event.relatedTarget) &&
|
322
|
+
!(this.clearButton && event.relatedTarget === this.clearButton);
|
323
|
+
if (isSearchableAndNoFocusedInternalElements) {
|
236
324
|
this.setMenuChange(false);
|
237
325
|
this.handleFocusIndicatorDisplay();
|
238
326
|
}
|
@@ -241,7 +329,7 @@ const Select = class {
|
|
241
329
|
this.handleFormReset = () => {
|
242
330
|
this.value = this.initialValue;
|
243
331
|
if (this.searchable) {
|
244
|
-
this.searchableSelectInputValue =
|
332
|
+
this.searchableSelectInputValue = this.getDefaultValue(this.value);
|
245
333
|
}
|
246
334
|
};
|
247
335
|
this.label = undefined;
|
@@ -257,6 +345,7 @@ const Select = class {
|
|
257
345
|
this.validationStatus = "";
|
258
346
|
this.validationText = "";
|
259
347
|
this.value = undefined;
|
348
|
+
this.debounce = 0;
|
260
349
|
this.name = this.inputId;
|
261
350
|
this.showClearButton = false;
|
262
351
|
this.searchable = false;
|
@@ -265,6 +354,7 @@ const Select = class {
|
|
265
354
|
this.searchMatchPosition = "anywhere";
|
266
355
|
this.charactersUntilSuggestions = 0;
|
267
356
|
this.emptyOptionListText = "No results found";
|
357
|
+
this.disableFilter = false;
|
268
358
|
this.open = false;
|
269
359
|
this.clearButtonFocused = false;
|
270
360
|
this.searchableSelectInputValue = null;
|
@@ -272,10 +362,45 @@ const Select = class {
|
|
272
362
|
this.ariaActiveDescendant = undefined;
|
273
363
|
this.noOptions = null;
|
274
364
|
this.initialValue = this.value;
|
365
|
+
this.currDebounce = this.debounce;
|
366
|
+
this.currValue = this.value;
|
367
|
+
this.debounceIcChange = undefined;
|
368
|
+
this.pressedCharacters = "";
|
275
369
|
}
|
276
370
|
watchOptionsHandler() {
|
277
|
-
this.
|
278
|
-
|
371
|
+
if (this.isExternalFiltering()) {
|
372
|
+
if (this.options.length > 0) {
|
373
|
+
this.setOptionsValuesFromLabels();
|
374
|
+
this.noOptions = null;
|
375
|
+
this.filteredOptions = this.options;
|
376
|
+
}
|
377
|
+
else if (this.isMenuEnabled()) {
|
378
|
+
this.noOptions = [{ label: this.emptyOptionListText, value: "" }];
|
379
|
+
this.filteredOptions = this.noOptions;
|
380
|
+
// Will prevent 'No results found' displaying on initial load and setting default value
|
381
|
+
if (!this.initialRender) {
|
382
|
+
this.setMenuChange(true);
|
383
|
+
}
|
384
|
+
}
|
385
|
+
this.updateSearchableSelectResultAriaLive();
|
386
|
+
this.setDefaultValue();
|
387
|
+
}
|
388
|
+
else {
|
389
|
+
this.setOptionsValuesFromLabels();
|
390
|
+
this.filteredOptions = this.options;
|
391
|
+
if (this.initialOptionsEmpty) {
|
392
|
+
this.setDefaultValue();
|
393
|
+
this.initialOptionsEmpty = false;
|
394
|
+
}
|
395
|
+
}
|
396
|
+
}
|
397
|
+
debounceChangedHandler(newValue) {
|
398
|
+
this.updateOnChangeDebounce(newValue);
|
399
|
+
}
|
400
|
+
valueChangedHandler() {
|
401
|
+
if (this.value !== this.currValue) {
|
402
|
+
this.currValue = this.value;
|
403
|
+
}
|
279
404
|
}
|
280
405
|
/**
|
281
406
|
* Sets focus on the input box.
|
@@ -291,12 +416,24 @@ const Select = class {
|
|
291
416
|
this.searchableSelectElement.focus();
|
292
417
|
}
|
293
418
|
}
|
419
|
+
updateOnChangeDebounce(newValue) {
|
420
|
+
if (this.currDebounce !== newValue) {
|
421
|
+
this.currDebounce = newValue;
|
422
|
+
}
|
423
|
+
}
|
294
424
|
debounceAriaLiveUpdate() {
|
295
|
-
clearTimeout(this.
|
425
|
+
clearTimeout(this.debounceAria);
|
296
426
|
window.setTimeout(() => {
|
297
427
|
this.updateSearchableSelectResultAriaLive();
|
298
428
|
}, 800);
|
299
429
|
}
|
430
|
+
setDefaultValue() {
|
431
|
+
if (!this.hasSetDefaultValue && this.currValue) {
|
432
|
+
this.searchableSelectInputValue = this.getDefaultValue(this.currValue);
|
433
|
+
this.initialValue = this.currValue;
|
434
|
+
this.hasSetDefaultValue = true;
|
435
|
+
}
|
436
|
+
}
|
300
437
|
componentWillLoad() {
|
301
438
|
this.inheritedAttributes = helpers.inheritAttributes(this.host, [
|
302
439
|
...helpers.IC_INHERITED_ARIA,
|
@@ -305,12 +442,22 @@ const Select = class {
|
|
305
442
|
]);
|
306
443
|
this.setOptionsValuesFromLabels();
|
307
444
|
helpers.addFormResetListener(this.host, this.handleFormReset);
|
445
|
+
this.initialRender = true;
|
446
|
+
if (!this.options.length) {
|
447
|
+
this.initialOptionsEmpty = true;
|
448
|
+
}
|
449
|
+
else if (!this.disableFilter) {
|
450
|
+
this.setDefaultValue();
|
451
|
+
}
|
308
452
|
}
|
309
453
|
componentDidRender() {
|
310
454
|
if (this.nativeSelectElement && !this.disabled) {
|
311
455
|
this.setTextColor();
|
312
456
|
}
|
313
457
|
}
|
458
|
+
componentWillUpdate() {
|
459
|
+
this.initialRender = false;
|
460
|
+
}
|
314
461
|
componentDidLoad() {
|
315
462
|
helpers.onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Select");
|
316
463
|
}
|
@@ -318,50 +465,52 @@ const Select = class {
|
|
318
465
|
helpers.removeFormResetListener(this.host, this.handleFormReset);
|
319
466
|
}
|
320
467
|
render() {
|
321
|
-
const { small, disabled, fullWidth, helperText, hideLabel, label, menuId, name, options, placeholder, readonly, required, searchable, showClearButton, validationStatus, validationText,
|
322
|
-
helpers.renderHiddenInput(true, this.host, name,
|
468
|
+
const { small, disabled, fullWidth, helperText, hideLabel, label, menuId, name, options, placeholder, readonly, required, searchable, showClearButton, validationStatus, validationText, currValue, } = this;
|
469
|
+
helpers.renderHiddenInput(true, this.host, name, currValue, disabled);
|
323
470
|
const invalid = validationStatus === types.IcInformationStatus.Error ? "true" : "false";
|
324
471
|
const describedBy = helpers.getInputDescribedByText(this.inputId, helperText !== "", helpers.hasValidationStatus(this.validationStatus, this.disabled)).trim();
|
325
|
-
return (index.h(index.Host,
|
472
|
+
return (index.h(index.Host, { class: {
|
473
|
+
disabled: disabled,
|
474
|
+
searchable: searchable,
|
475
|
+
small: small,
|
476
|
+
"full-width": fullWidth,
|
477
|
+
} }, index.h("ic-input-container", { readonly: readonly }, !hideLabel && (index.h("ic-input-label", { for: this.inputId, label: label, helperText: helperText, required: required, disabled: disabled, readonly: readonly })), index.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 ? (index.h("ic-typography", null, index.h("p", null, this.getLabelFromValue(currValue)))) : helpers.isMobileOrTablet() ? (index.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), index.h("option", { value: "", selected: true, disabled: !showClearButton }, placeholder), options.map((option) => {
|
326
478
|
if (option.children) {
|
327
|
-
return (index.h("optgroup", { label: option.label }, option.children.map((option) => (index.h("option", { value: option.value, disabled: option.disabled, selected: option.value ===
|
479
|
+
return (index.h("optgroup", { label: option.label }, option.children.map((option) => (index.h("option", { value: option.value, disabled: option.disabled, selected: option.value === currValue }, option.label)))));
|
328
480
|
}
|
329
481
|
else {
|
330
|
-
return (index.h("option", { value: option.value, disabled: option.disabled, selected: option.value ===
|
482
|
+
return (index.h("option", { value: option.value, disabled: option.disabled, selected: option.value === currValue }, option.label));
|
331
483
|
}
|
332
484
|
}))) : searchable ? (index.h("div", { class: "searchable-select-container" }, index.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 &&
|
333
|
-
(showClearButton || searchable) && (index.h("div", { class: "clear-button-container" }, index.h("ic-button", { id: "clear-button", ref: (el) => (this.clearButton = el), "aria-label": this.searchableSelectInputValue &&
|
485
|
+
(showClearButton || searchable) && (index.h("div", { class: "clear-button-container" }, index.h("ic-button", { id: "clear-button", ref: (el) => (this.clearButton = el), "aria-label": this.searchableSelectInputValue && currValue === null
|
334
486
|
? "Clear input"
|
335
487
|
: "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
|
336
488
|
? types.IcThemeForegroundEnum.Light
|
337
489
|
: types.IcThemeForegroundEnum.Dark }), index.h("div", { class: "divider" }))), index.h("span", { onMouseDown: this.handleExpandIconMouseDown, class: {
|
338
490
|
"expand-icon": true,
|
339
491
|
"expand-icon-open": this.open,
|
340
|
-
"expand-icon-filled": !(
|
341
|
-
|
342
|
-
}, innerHTML: Expand, "aria-hidden": "true" }), index.h("div", { "aria-live": "polite", role: "status", class: "searchable-select-results-status" }))) : (index.h("div", { class: "select-container" }, index.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 }, index.h("ic-typography", { variant: "body", class: {
|
492
|
+
"expand-icon-filled": !(currValue == null || currValue === ""),
|
493
|
+
}, innerHTML: Expand, "aria-hidden": "true" }), index.h("div", { "aria-live": "polite", role: "status", class: "searchable-select-results-status" }))) : (index.h("div", { class: "select-container" }, index.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 }, index.h("ic-typography", { variant: "body", class: {
|
343
494
|
"value-text": true,
|
344
|
-
placeholder: this.getLabelFromValue(
|
345
|
-
} }, index.h("p", null, this.getLabelFromValue(
|
495
|
+
placeholder: this.getLabelFromValue(currValue) === undefined,
|
496
|
+
} }, index.h("p", null, this.getLabelFromValue(currValue) || placeholder)), index.h("div", { class: "select-input-end" }, currValue && showClearButton && (index.h("div", { class: "divider" })), index.h("span", { class: {
|
346
497
|
"expand-icon": true,
|
347
498
|
"expand-icon-open": this.open,
|
348
|
-
"expand-icon-filled": !(
|
349
|
-
}, innerHTML: Expand, "aria-hidden": "true" }))),
|
499
|
+
"expand-icon-filled": !(currValue == null || currValue === ""),
|
500
|
+
}, innerHTML: Expand, "aria-hidden": "true" }))), currValue && showClearButton && (index.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
|
350
501
|
? types.IcThemeForegroundEnum.Light
|
351
502
|
: types.IcThemeForegroundEnum.Dark }))))), !helpers.isMobileOrTablet() && (index.h("ic-menu", { class: {
|
352
|
-
"no-results": this.noOptions !== null,
|
503
|
+
"no-results": this.noOptions !== null && this.searchable,
|
353
504
|
}, ref: (el) => (this.menu = el), inputEl: searchable
|
354
505
|
? this.searchableSelectElement
|
355
|
-
: this.customSelectElement, inputLabel: label, anchorEl: this.anchorEl, small: small, menuId: menuId, open: this.open, options: searchable ? this.filteredOptions : options, value:
|
356
|
-
false
|
357
|
-
? ""
|
358
|
-
: validationStatus, message: helpers.hasValidationStatus(this.validationStatus, this.disabled)
|
359
|
-
? validationText
|
360
|
-
: "", for: this.inputId }))));
|
506
|
+
: 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 })), helpers.hasValidationStatus(this.validationStatus, this.disabled) && (index.h("ic-input-validation", { class: { "menu-open": this.open }, ariaLiveMode: "polite", status: validationStatus, message: validationText, for: this.inputId })))));
|
361
507
|
}
|
508
|
+
static get delegatesFocus() { return true; }
|
362
509
|
get host() { return index.getElement(this); }
|
363
510
|
static get watchers() { return {
|
364
|
-
"options": ["watchOptionsHandler"]
|
511
|
+
"options": ["watchOptionsHandler"],
|
512
|
+
"debounce": ["debounceChangedHandler"],
|
513
|
+
"value": ["valueChangedHandler"]
|
365
514
|
}; }
|
366
515
|
};
|
367
516
|
Select.style = icSelectCss;
|