@ukic/web-components 2.1.0-beta.6 → 2.1.0-beta.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/{check-icon-999d9877.js → check-icon-b2f60716.js} +2 -2
- package/dist/cjs/check-icon-b2f60716.js.map +1 -0
- package/dist/cjs/{chevron-icon-d175fe66.js → chevron-icon-2645d6b0.js} +2 -2
- package/dist/cjs/chevron-icon-2645d6b0.js.map +1 -0
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/{error-icon-99504103.js → error-icon-9af90abc.js} +7 -5
- package/dist/cjs/error-icon-9af90abc.js.map +1 -0
- package/dist/cjs/{helpers-81484ceb.js → helpers-5f391578.js} +7 -2
- package/dist/cjs/helpers-5f391578.js.map +1 -0
- package/dist/cjs/ic-alert.cjs.entry.js +10 -8
- package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +5 -4
- package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +11 -3
- package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +6 -19
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card.cjs.entry.js +14 -3
- package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +12 -3
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +11 -3
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-classification-banner.cjs.entry.js +1 -1
- package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-entity.cjs.entry.js +1 -1
- package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +13 -11
- package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-divider.cjs.entry.js +2 -2
- package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +2 -2
- package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +2 -2
- package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +2 -2
- package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +43 -27
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +4 -4
- package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-link.cjs.entry.js +10 -4
- package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +2 -2
- package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +4 -4
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +4 -4
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +2 -2
- package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +3 -3
- package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +12 -3
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +12 -4
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +16 -20
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-select.cjs.entry.js +131 -59
- package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +16 -8
- package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +2 -2
- package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +2 -2
- package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +12 -9
- package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +10 -2
- package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +4 -4
- package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +9 -1
- package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-text-field.cjs.entry.js +4 -4
- package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +10 -5
- package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{success-icon-887b2097.js → success-icon-c8fec63d.js} +4 -3
- package/dist/cjs/success-icon-c8fec63d.js.map +1 -0
- 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 +1 -1
- package/dist/collection/assets/error-icon.svg +2 -2
- package/dist/collection/assets/info-icon.svg +2 -2
- package/dist/collection/assets/neutral-icon.svg +2 -2
- package/dist/collection/assets/success-icon.svg +2 -2
- package/dist/collection/assets/warning-icon.svg +2 -2
- package/dist/collection/components/ic-alert/ic-alert.css +13 -13
- 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 +12 -6
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +28 -0
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
- package/dist/collection/components/ic-button/ic-button.css +16 -15
- package/dist/collection/components/ic-button/ic-button.js +3 -19
- package/dist/collection/components/ic-button/ic-button.js.map +1 -1
- package/dist/collection/components/ic-card/ic-card.css +4 -4
- package/dist/collection/components/ic-card/ic-card.js +32 -1
- 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 +33 -1
- 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 +1 -1
- 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 +11 -10
- package/dist/collection/components/ic-chip/ic-chip.js +28 -0
- package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.css +1 -1
- package/dist/collection/components/ic-data-entity/ic-data-entity.css +1 -1
- package/dist/collection/components/ic-data-row/ic-data-row.css +7 -7
- package/dist/collection/components/ic-data-row/ic-data-row.js +11 -9
- 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-footer/ic-footer.css +4 -4
- package/dist/collection/components/ic-footer-link/ic-footer-link.css +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.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-input-component-container/ic-input-component-container.css +16 -15
- package/dist/collection/components/ic-input-container/ic-input-container.css +0 -1
- package/dist/collection/components/ic-input-validation/ic-input-validation.css +4 -5
- package/dist/collection/components/ic-link/ic-link.css +0 -9
- package/dist/collection/components/ic-link/ic-link.js +29 -3
- package/dist/collection/components/ic-link/ic-link.js.map +1 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +5 -5
- package/dist/collection/components/ic-menu/ic-menu.css +14 -13
- package/dist/collection/components/ic-menu/ic-menu.js +71 -44
- package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +2 -2
- 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 +8 -6
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +2 -2
- 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 +20 -12
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +2 -2
- 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 +10 -10
- package/dist/collection/components/ic-page-header/ic-page-header.css +5 -5
- package/dist/collection/components/ic-page-header/ic-page-header.js +1 -1
- package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.css +32 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +34 -2
- 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 +25 -34
- package/dist/collection/components/ic-radio-option/ic-radio-option.js +30 -2
- 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 +12 -14
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +15 -31
- package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
- package/dist/collection/components/ic-select/assets/Expand.svg +1 -1
- package/dist/collection/components/ic-select/ic-select.css +27 -15
- package/dist/collection/components/ic-select/ic-select.js +226 -62
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +37 -25
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +16 -7
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.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.map +1 -1
- package/dist/collection/components/ic-step/ic-step.css +11 -10
- package/dist/collection/components/ic-stepper/ic-stepper.js +12 -9
- package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
- package/dist/collection/components/ic-switch/ic-switch.css +19 -19
- package/dist/collection/components/ic-switch/ic-switch.js +28 -0
- 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 +28 -0
- package/dist/collection/components/ic-tab/ic-tab.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 +5 -5
- package/dist/collection/components/ic-tab-group/ic-tab-group.js +3 -3
- 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-text-field/ic-text-field.css +6 -7
- package/dist/collection/components/ic-text-field/ic-text-field.js +4 -4
- package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
- package/dist/collection/components/ic-tooltip/ic-tooltip.css +3 -3
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +23 -17
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +11 -5
- 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/utils/helpers.js +5 -1
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/check-icon.js +1 -1
- package/dist/components/chevron-icon.js +1 -1
- package/dist/components/error-icon.js +6 -4
- package/dist/components/error-icon.js.map +1 -1
- package/dist/components/helpers.js +6 -2
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/ic-alert.js +7 -5
- package/dist/components/ic-alert.js.map +1 -1
- package/dist/components/ic-back-to-top.js +4 -3
- package/dist/components/ic-back-to-top.js.map +1 -1
- package/dist/components/ic-breadcrumb2.js +11 -2
- package/dist/components/ic-breadcrumb2.js.map +1 -1
- package/dist/components/ic-button2.js +3 -16
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card.js +14 -2
- package/dist/components/ic-card.js.map +1 -1
- package/dist/components/ic-checkbox-group.js +2 -2
- package/dist/components/ic-checkbox-group.js.map +1 -1
- package/dist/components/ic-checkbox.js +13 -3
- package/dist/components/ic-checkbox.js.map +1 -1
- package/dist/components/ic-chip.js +12 -3
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-classification-banner.js +1 -1
- 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 +1 -1
- package/dist/components/ic-divider2.js.map +1 -1
- package/dist/components/ic-footer-link-group.js +1 -1
- package/dist/components/ic-footer-link-group.js.map +1 -1
- package/dist/components/ic-footer-link.js +1 -1
- package/dist/components/ic-footer-link.js.map +1 -1
- package/dist/components/ic-footer.js +1 -1
- package/dist/components/ic-footer.js.map +1 -1
- package/dist/components/ic-hero.js +1 -1
- package/dist/components/ic-hero.js.map +1 -1
- package/dist/components/ic-input-component-container2.js +1 -1
- 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-validation2.js +2 -2
- package/dist/components/ic-input-validation2.js.map +1 -1
- package/dist/components/ic-link2.js +11 -4
- package/dist/components/ic-link2.js.map +1 -1
- package/dist/components/ic-loading-indicator2.js +1 -1
- package/dist/components/ic-loading-indicator2.js.map +1 -1
- package/dist/components/ic-menu2.js +39 -23
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-button.js +1 -1
- package/dist/components/ic-navigation-button.js.map +1 -1
- package/dist/components/ic-navigation-group.js +2 -2
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js +2 -2
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-navigation-menu2.js +2 -2
- package/dist/components/ic-navigation-menu2.js.map +1 -1
- package/dist/components/ic-page-header.js +3 -3
- package/dist/components/ic-page-header.js.map +1 -1
- package/dist/components/ic-radio-group.js +13 -3
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +13 -4
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +16 -20
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-select.js +134 -58
- package/dist/components/ic-select.js.map +1 -1
- package/dist/components/ic-side-navigation.js +14 -6
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-status-tag.js +1 -1
- package/dist/components/ic-status-tag.js.map +1 -1
- package/dist/components/ic-step.js +1 -1
- package/dist/components/ic-step.js.map +1 -1
- package/dist/components/ic-stepper.js +12 -9
- package/dist/components/ic-stepper.js.map +1 -1
- package/dist/components/ic-switch.js +11 -2
- package/dist/components/ic-switch.js.map +1 -1
- package/dist/components/ic-tab-group.js +4 -4
- 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 +4 -4
- package/dist/components/ic-text-field2.js.map +1 -1
- package/dist/components/ic-theme.js +1 -1
- package/dist/components/ic-tooltip2.js +1 -1
- package/dist/components/ic-tooltip2.js.map +1 -1
- package/dist/components/ic-top-navigation.js +10 -5
- package/dist/components/ic-top-navigation.js.map +1 -1
- package/dist/components/success-icon.js +3 -2
- package/dist/components/success-icon.js.map +1 -1
- package/dist/components/types.js.map +1 -1
- package/dist/core/core.css +1 -1
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/p-01ebd24d.entry.js +2 -0
- package/dist/core/p-01ebd24d.entry.js.map +1 -0
- package/dist/core/p-02a6562c.entry.js +2 -0
- package/dist/core/p-02a6562c.entry.js.map +1 -0
- package/dist/core/p-03a4d9dc.entry.js +2 -0
- package/dist/core/p-03a4d9dc.entry.js.map +1 -0
- package/dist/core/p-04cf6fab.entry.js +2 -0
- package/dist/core/p-04cf6fab.entry.js.map +1 -0
- package/dist/core/{p-e93e9aa3.entry.js → p-0672c783.entry.js} +2 -2
- package/dist/core/p-0672c783.entry.js.map +1 -0
- package/dist/core/p-0f773f37.entry.js +2 -0
- package/dist/core/p-0f773f37.entry.js.map +1 -0
- package/dist/core/p-0fc9d5c8.entry.js +2 -0
- package/dist/core/p-0fc9d5c8.entry.js.map +1 -0
- package/dist/core/p-10a672d4.entry.js +2 -0
- package/dist/core/p-10a672d4.entry.js.map +1 -0
- package/dist/core/p-24240e11.js +2 -0
- package/dist/core/p-26fd7d7c.entry.js +2 -0
- package/dist/core/p-26fd7d7c.entry.js.map +1 -0
- package/dist/core/p-2961c45f.entry.js +2 -0
- package/dist/core/p-2961c45f.entry.js.map +1 -0
- package/dist/core/p-2a40f189.entry.js +2 -0
- package/dist/core/p-2a40f189.entry.js.map +1 -0
- package/dist/core/p-2e318c95.entry.js +2 -0
- package/dist/core/p-2e318c95.entry.js.map +1 -0
- package/dist/core/{p-f760198e.entry.js → p-2ed06031.entry.js} +2 -2
- package/dist/core/p-30ff49be.entry.js +2 -0
- package/dist/core/{p-c320fa70.entry.js.map → p-30ff49be.entry.js.map} +1 -1
- package/dist/core/{p-a8ac8f72.js → p-3c75ed36.js} +2 -2
- package/dist/core/p-3c75ed36.js.map +1 -0
- package/dist/core/p-3f0232f6.entry.js +2 -0
- package/dist/core/p-3f0232f6.entry.js.map +1 -0
- package/dist/core/p-3f0ac826.entry.js +2 -0
- package/dist/core/p-3f0ac826.entry.js.map +1 -0
- package/dist/core/p-454a7f3d.entry.js +2 -0
- package/dist/core/p-454a7f3d.entry.js.map +1 -0
- package/dist/core/p-48f99591.entry.js +2 -0
- package/dist/core/p-48f99591.entry.js.map +1 -0
- package/dist/core/p-4a8c0c58.entry.js +2 -0
- package/dist/core/p-4a8c0c58.entry.js.map +1 -0
- package/dist/core/{p-cadb531f.entry.js → p-5368bcff.entry.js} +2 -2
- package/dist/core/p-5368bcff.entry.js.map +1 -0
- package/dist/core/p-662d5b43.entry.js +2 -0
- package/dist/core/p-662d5b43.entry.js.map +1 -0
- package/dist/core/p-69512d85.entry.js +2 -0
- package/dist/core/p-69512d85.entry.js.map +1 -0
- package/dist/core/p-6bbc0cf5.entry.js +2 -0
- package/dist/core/p-6bbc0cf5.entry.js.map +1 -0
- package/dist/core/p-6f57b13c.js.map +1 -1
- package/dist/core/{p-23bf0b7a.entry.js → p-86098b7e.entry.js} +2 -2
- package/dist/core/p-86098b7e.entry.js.map +1 -0
- package/dist/core/p-8b383c23.entry.js +2 -0
- package/dist/core/p-8b383c23.entry.js.map +1 -0
- package/dist/core/p-8c7f4343.js +2 -0
- package/dist/core/p-97d4b6cd.entry.js +2 -0
- package/dist/core/p-97d4b6cd.entry.js.map +1 -0
- package/dist/core/p-a472db51.entry.js +2 -0
- package/dist/core/p-a472db51.entry.js.map +1 -0
- package/dist/core/p-a6a77e5c.js +2 -0
- package/dist/core/p-add01f10.entry.js +2 -0
- package/dist/core/p-add01f10.entry.js.map +1 -0
- package/dist/core/p-b29f210b.entry.js +2 -0
- package/dist/core/p-b29f210b.entry.js.map +1 -0
- package/dist/core/p-c2710b13.entry.js +2 -0
- package/dist/core/p-c2710b13.entry.js.map +1 -0
- package/dist/core/p-c6764827.entry.js +2 -0
- package/dist/core/p-c6764827.entry.js.map +1 -0
- package/dist/core/{p-9b4022d7.entry.js → p-ccd078a6.entry.js} +2 -2
- package/dist/core/p-ccd078a6.entry.js.map +1 -0
- package/dist/core/p-d4f7a3e4.entry.js +2 -0
- package/dist/core/p-d4f7a3e4.entry.js.map +1 -0
- package/dist/core/p-d5e0c02a.js +2 -0
- package/dist/core/p-d77f57d9.entry.js +2 -0
- package/dist/core/p-d77f57d9.entry.js.map +1 -0
- package/dist/core/p-dd194ba9.entry.js +2 -0
- package/dist/core/{p-3f9cdcdd.entry.js.map → p-dd194ba9.entry.js.map} +1 -1
- package/dist/core/p-de19fed4.entry.js +2 -0
- package/dist/core/p-de19fed4.entry.js.map +1 -0
- package/dist/core/p-e5e885b1.entry.js +2 -0
- package/dist/core/p-e5e885b1.entry.js.map +1 -0
- package/dist/core/p-e94dfa43.entry.js +2 -0
- package/dist/core/p-e94dfa43.entry.js.map +1 -0
- package/dist/core/{p-4f1a7195.entry.js → p-eaf714a3.entry.js} +2 -2
- package/dist/core/p-f51f4d34.entry.js +2 -0
- package/dist/core/p-f51f4d34.entry.js.map +1 -0
- package/dist/esm/{check-icon-53f1d9e5.js → check-icon-abb210ec.js} +2 -2
- package/dist/esm/check-icon-abb210ec.js.map +1 -0
- package/dist/esm/chevron-icon-98c98242.js +8 -0
- package/dist/esm/chevron-icon-98c98242.js.map +1 -0
- package/dist/esm/core.js +1 -1
- package/dist/esm/{error-icon-6046a380.js → error-icon-1dc70ca0.js} +7 -5
- package/dist/esm/error-icon-1dc70ca0.js.map +1 -0
- package/dist/esm/{helpers-46e5291b.js → helpers-3aa2f5a5.js} +7 -3
- package/dist/esm/helpers-3aa2f5a5.js.map +1 -0
- package/dist/esm/ic-alert.entry.js +10 -8
- package/dist/esm/ic-alert.entry.js.map +1 -1
- package/dist/esm/ic-back-to-top.entry.js +5 -4
- package/dist/esm/ic-back-to-top.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +11 -3
- package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ic-button_3.entry.js +6 -19
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card.entry.js +14 -3
- package/dist/esm/ic-card.entry.js.map +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +3 -3
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ic-checkbox.entry.js +12 -3
- package/dist/esm/ic-checkbox.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +11 -3
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-classification-banner.entry.js +1 -1
- package/dist/esm/ic-classification-banner.entry.js.map +1 -1
- package/dist/esm/ic-data-entity.entry.js +1 -1
- package/dist/esm/ic-data-entity.entry.js.map +1 -1
- package/dist/esm/ic-data-row.entry.js +13 -11
- package/dist/esm/ic-data-row.entry.js.map +1 -1
- package/dist/esm/ic-divider.entry.js +2 -2
- package/dist/esm/ic-divider.entry.js.map +1 -1
- package/dist/esm/ic-footer-link-group.entry.js +2 -2
- package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
- package/dist/esm/ic-footer-link.entry.js +2 -2
- package/dist/esm/ic-footer-link.entry.js.map +1 -1
- package/dist/esm/ic-footer.entry.js +2 -2
- package/dist/esm/ic-footer.entry.js.map +1 -1
- package/dist/esm/ic-hero.entry.js +2 -2
- package/dist/esm/ic-hero.entry.js.map +1 -1
- package/dist/esm/ic-input-component-container_3.entry.js +43 -27
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +4 -4
- package/dist/esm/ic-input-label_2.entry.js.map +1 -1
- package/dist/esm/ic-link.entry.js +10 -4
- package/dist/esm/ic-link.entry.js.map +1 -1
- package/dist/esm/ic-navigation-button.entry.js +2 -2
- package/dist/esm/ic-navigation-button.entry.js.map +1 -1
- package/dist/esm/ic-navigation-group.entry.js +4 -4
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +4 -4
- package/dist/esm/ic-navigation-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +2 -2
- package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
- package/dist/esm/ic-page-header.entry.js +3 -3
- package/dist/esm/ic-page-header.entry.js.map +1 -1
- package/dist/esm/ic-radio-group.entry.js +12 -3
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +12 -4
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +16 -20
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-select.entry.js +131 -59
- package/dist/esm/ic-select.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +16 -8
- package/dist/esm/ic-side-navigation.entry.js.map +1 -1
- package/dist/esm/ic-status-tag.entry.js +2 -2
- package/dist/esm/ic-status-tag.entry.js.map +1 -1
- package/dist/esm/ic-step.entry.js +2 -2
- package/dist/esm/ic-step.entry.js.map +1 -1
- package/dist/esm/ic-stepper.entry.js +12 -9
- package/dist/esm/ic-stepper.entry.js.map +1 -1
- package/dist/esm/ic-switch.entry.js +10 -2
- package/dist/esm/ic-switch.entry.js.map +1 -1
- package/dist/esm/ic-tab-group.entry.js +4 -4
- package/dist/esm/ic-tab-group.entry.js.map +1 -1
- package/dist/esm/ic-tab-panel.entry.js +1 -1
- package/dist/esm/ic-tab-panel.entry.js.map +1 -1
- package/dist/esm/ic-tab.entry.js +9 -1
- package/dist/esm/ic-tab.entry.js.map +1 -1
- package/dist/esm/ic-text-field.entry.js +4 -4
- package/dist/esm/ic-text-field.entry.js.map +1 -1
- package/dist/esm/ic-theme.entry.js +1 -1
- package/dist/esm/ic-top-navigation.entry.js +10 -5
- package/dist/esm/ic-top-navigation.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{success-icon-2f71b115.js → success-icon-75b04341.js} +4 -3
- package/dist/esm/success-icon-75b04341.js.map +1 -0
- package/dist/esm/types-dd515332.js.map +1 -1
- package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +4 -0
- package/dist/types/components/ic-button/ic-button.d.ts +1 -4
- package/dist/types/components/ic-card/ic-card.d.ts +4 -0
- package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +4 -0
- package/dist/types/components/ic-chip/ic-chip.d.ts +4 -0
- package/dist/types/components/ic-link/ic-link.d.ts +4 -1
- package/dist/types/components/ic-menu/ic-menu.d.ts +16 -7
- package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +1 -1
- package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +1 -1
- package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +1 -1
- package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +5 -1
- package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +4 -0
- package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +1 -3
- package/dist/types/components/ic-select/ic-select.d.ts +36 -7
- package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +2 -1
- package/dist/types/components/ic-switch/ic-switch.d.ts +4 -0
- package/dist/types/components/ic-tab/ic-tab.d.ts +4 -0
- package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +1 -1
- package/dist/types/components/ic-text-field/ic-text-field.d.ts +1 -1
- package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +2 -1
- package/dist/types/components.d.ts +90 -33
- package/dist/types/utils/helpers.d.ts +1 -0
- package/dist/types/utils/types.d.ts +1 -0
- package/hydrate/index.js +407 -218
- package/package.json +3 -3
- package/dist/cjs/check-icon-999d9877.js.map +0 -1
- package/dist/cjs/chevron-icon-d175fe66.js.map +0 -1
- package/dist/cjs/error-icon-99504103.js.map +0 -1
- package/dist/cjs/helpers-81484ceb.js.map +0 -1
- package/dist/cjs/success-icon-887b2097.js.map +0 -1
- package/dist/core/p-01e8bd4a.entry.js +0 -2
- package/dist/core/p-01e8bd4a.entry.js.map +0 -1
- package/dist/core/p-050e1e7b.entry.js +0 -2
- package/dist/core/p-050e1e7b.entry.js.map +0 -1
- package/dist/core/p-09592918.entry.js +0 -2
- package/dist/core/p-09592918.entry.js.map +0 -1
- package/dist/core/p-0b00f848.entry.js +0 -2
- package/dist/core/p-0b00f848.entry.js.map +0 -1
- package/dist/core/p-16698d3e.entry.js +0 -2
- package/dist/core/p-16698d3e.entry.js.map +0 -1
- package/dist/core/p-18a9beea.entry.js +0 -2
- package/dist/core/p-18a9beea.entry.js.map +0 -1
- package/dist/core/p-1da1f2f3.entry.js +0 -2
- package/dist/core/p-1da1f2f3.entry.js.map +0 -1
- package/dist/core/p-1e7b4310.js +0 -2
- package/dist/core/p-204f6315.entry.js +0 -2
- package/dist/core/p-204f6315.entry.js.map +0 -1
- package/dist/core/p-217fa7de.entry.js +0 -2
- package/dist/core/p-217fa7de.entry.js.map +0 -1
- package/dist/core/p-23bf0b7a.entry.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-27554319.entry.js +0 -2
- package/dist/core/p-27554319.entry.js.map +0 -1
- package/dist/core/p-3efa7f8b.entry.js +0 -2
- package/dist/core/p-3efa7f8b.entry.js.map +0 -1
- package/dist/core/p-3f4d632c.entry.js +0 -2
- package/dist/core/p-3f4d632c.entry.js.map +0 -1
- package/dist/core/p-3f9cdcdd.entry.js +0 -2
- package/dist/core/p-5616cfb8.entry.js +0 -2
- package/dist/core/p-5616cfb8.entry.js.map +0 -1
- package/dist/core/p-66cad84e.entry.js +0 -2
- package/dist/core/p-66cad84e.entry.js.map +0 -1
- package/dist/core/p-6cb276c6.entry.js +0 -2
- package/dist/core/p-6cb276c6.entry.js.map +0 -1
- package/dist/core/p-6f442942.entry.js +0 -2
- package/dist/core/p-6f442942.entry.js.map +0 -1
- package/dist/core/p-7ba184da.entry.js +0 -2
- package/dist/core/p-7ba184da.entry.js.map +0 -1
- package/dist/core/p-80cd0a2d.entry.js +0 -2
- package/dist/core/p-80cd0a2d.entry.js.map +0 -1
- package/dist/core/p-8470c255.entry.js +0 -2
- package/dist/core/p-8470c255.entry.js.map +0 -1
- package/dist/core/p-89a925f8.entry.js +0 -2
- package/dist/core/p-89a925f8.entry.js.map +0 -1
- package/dist/core/p-930cd4cc.entry.js +0 -2
- package/dist/core/p-930cd4cc.entry.js.map +0 -1
- package/dist/core/p-9b4022d7.entry.js.map +0 -1
- package/dist/core/p-9fbceeb2.entry.js +0 -2
- package/dist/core/p-9fbceeb2.entry.js.map +0 -1
- package/dist/core/p-a8ac8f72.js.map +0 -1
- package/dist/core/p-ae02b008.entry.js +0 -2
- package/dist/core/p-ae02b008.entry.js.map +0 -1
- package/dist/core/p-ae6aa67f.js +0 -2
- package/dist/core/p-bb106092.entry.js +0 -2
- package/dist/core/p-bb106092.entry.js.map +0 -1
- package/dist/core/p-bbe00cb1.entry.js +0 -2
- package/dist/core/p-bbe00cb1.entry.js.map +0 -1
- package/dist/core/p-bf5717ca.js +0 -2
- package/dist/core/p-c1d78a64.entry.js +0 -2
- package/dist/core/p-c1d78a64.entry.js.map +0 -1
- package/dist/core/p-c320fa70.entry.js +0 -2
- package/dist/core/p-cadb531f.entry.js.map +0 -1
- package/dist/core/p-d599cf4f.entry.js +0 -2
- package/dist/core/p-d599cf4f.entry.js.map +0 -1
- package/dist/core/p-e192e25d.entry.js +0 -2
- package/dist/core/p-e192e25d.entry.js.map +0 -1
- package/dist/core/p-e28af65b.js +0 -2
- package/dist/core/p-e810f48c.entry.js +0 -2
- package/dist/core/p-e810f48c.entry.js.map +0 -1
- package/dist/core/p-e93e9aa3.entry.js.map +0 -1
- package/dist/core/p-eaea567e.entry.js +0 -2
- package/dist/core/p-eaea567e.entry.js.map +0 -1
- package/dist/core/p-fd0c6039.entry.js +0 -2
- package/dist/core/p-fd0c6039.entry.js.map +0 -1
- package/dist/esm/check-icon-53f1d9e5.js.map +0 -1
- package/dist/esm/chevron-icon-5b38c60a.js +0 -8
- package/dist/esm/chevron-icon-5b38c60a.js.map +0 -1
- package/dist/esm/error-icon-6046a380.js.map +0 -1
- package/dist/esm/helpers-46e5291b.js.map +0 -1
- package/dist/esm/success-icon-2f71b115.js.map +0 -1
- /package/dist/core/{p-1e7b4310.js.map → p-24240e11.js.map} +0 -0
- /package/dist/core/{p-f760198e.entry.js.map → p-2ed06031.entry.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-a6a77e5c.js.map} +0 -0
- /package/dist/core/{p-e28af65b.js.map → p-d5e0c02a.js.map} +0 -0
- /package/dist/core/{p-4f1a7195.entry.js.map → p-eaf714a3.entry.js.map} +0 -0
@@ -1,7 +1,6 @@
|
|
1
1
|
ic-input-validation {
|
2
|
-
|
3
|
-
|
4
|
-
margin-top: var(--ic-space-xxxs);
|
2
|
+
width: var(--input-width, 20rem);
|
3
|
+
margin-top: var(--ic-space-xs);
|
5
4
|
display: flex;
|
6
5
|
}
|
7
6
|
|
@@ -22,8 +21,8 @@ ic-input-validation span.status-icon {
|
|
22
21
|
}
|
23
22
|
|
24
23
|
ic-input-validation span.status-icon > svg {
|
25
|
-
height:
|
26
|
-
width:
|
24
|
+
height: 1.25rem;
|
25
|
+
width: 1.25rem;
|
27
26
|
}
|
28
27
|
|
29
28
|
ic-input-validation span.icon-success > svg {
|
@@ -471,18 +471,9 @@ video {
|
|
471
471
|
text-decoration-line: underline;
|
472
472
|
text-decoration-thickness: 25%;
|
473
473
|
text-underline-offset: 25%;
|
474
|
-
}
|
475
|
-
|
476
|
-
:host(.link) .ic-link:hover,
|
477
|
-
:host(.link) ::slotted(a:hover) {
|
478
474
|
outline: none;
|
479
475
|
}
|
480
476
|
|
481
|
-
:host(.link) .ic-link:focus,
|
482
|
-
:host(.link) ::slotted(a:focus) {
|
483
|
-
outline: var(--ic-hc-focus-outline);
|
484
|
-
}
|
485
|
-
|
486
477
|
:host(.link) .ic-link:active,
|
487
478
|
:host(.link) .ic-link:focus:active,
|
488
479
|
:host(.link) .ic-link:visited:active,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { h, Host } from "@stencil/core";
|
1
|
+
import { h, Host, } from "@stencil/core";
|
2
2
|
import OpenInNew from "./assets/OpenInNew.svg";
|
3
3
|
import { getThemeFromContext, inheritAttributes } from "../../utils/helpers";
|
4
4
|
import { IC_INHERITED_ARIA } from "../../utils/constants";
|
@@ -33,13 +33,19 @@ export class Link {
|
|
33
33
|
break;
|
34
34
|
}
|
35
35
|
}
|
36
|
+
/**
|
37
|
+
* Sets focus on the link.
|
38
|
+
*/
|
39
|
+
async setFocus() {
|
40
|
+
if (this.el.shadowRoot.querySelector("a")) {
|
41
|
+
this.el.shadowRoot.querySelector("a").focus();
|
42
|
+
}
|
43
|
+
}
|
36
44
|
componentWillLoad() {
|
37
45
|
this.inheritedAttributes = inheritAttributes(this.el, [
|
38
46
|
...IC_INHERITED_ARIA,
|
39
47
|
"aria-expanded",
|
40
48
|
]);
|
41
|
-
}
|
42
|
-
componentDidLoad() {
|
43
49
|
this.updateTheme();
|
44
50
|
}
|
45
51
|
hasRouterSlot() {
|
@@ -220,6 +226,26 @@ export class Link {
|
|
220
226
|
}
|
221
227
|
};
|
222
228
|
}
|
229
|
+
static get methods() {
|
230
|
+
return {
|
231
|
+
"setFocus": {
|
232
|
+
"complexType": {
|
233
|
+
"signature": "() => Promise<void>",
|
234
|
+
"parameters": [],
|
235
|
+
"references": {
|
236
|
+
"Promise": {
|
237
|
+
"location": "global"
|
238
|
+
}
|
239
|
+
},
|
240
|
+
"return": "Promise<void>"
|
241
|
+
},
|
242
|
+
"docs": {
|
243
|
+
"text": "Sets focus on the link.",
|
244
|
+
"tags": []
|
245
|
+
}
|
246
|
+
}
|
247
|
+
};
|
248
|
+
}
|
223
249
|
static get elementRef() { return "el"; }
|
224
250
|
static get listeners() {
|
225
251
|
return [{
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ic-link.js","sourceRoot":"","sources":["../../../src/components/ic-link/ic-link.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"ic-link.js","sourceRoot":"","sources":["../../../src/components/ic-link/ic-link.tsx"],"names":[],"mappings":"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","sourcesContent":["import {\n Component,\n Element,\n Prop,\n h,\n Host,\n Listen,\n Method,\n} from \"@stencil/core\";\n\nimport OpenInNew from \"./assets/OpenInNew.svg\";\nimport { getThemeFromContext, inheritAttributes } from \"../../utils/helpers\";\nimport { IC_INHERITED_ARIA } from \"../../utils/constants\";\nimport {\n IcTheme,\n IcThemeForeground,\n IcThemeForegroundEnum,\n} from \"../../utils/types\";\n\n/**\n * @slot router-item - Handle routing by nesting your routes in this slot.\n */\n\n@Component({\n tag: \"ic-link\",\n styleUrl: \"ic-link.css\",\n shadow: true,\n})\nexport class Link {\n private inheritedAttributes: { [k: string]: unknown } = {};\n private routerSlot: HTMLElement;\n\n @Element() el: HTMLIcLinkElement;\n\n /**\n * If `true`, the user can save the linked URL instead of navigating to it.\n */\n @Prop() download?: string | boolean = false;\n\n /**\n * The URL that the link points to.\n */\n @Prop() href?: string = null;\n\n /**\n * The human language of the linked URL.\n */\n @Prop() hreflang?: string;\n\n /**\n * How much of the referrer to send when following the link.\n */\n @Prop() referrerpolicy?: ReferrerPolicy;\n\n /**\n * The relationship of the linked URL as space-separated link types.\n */\n @Prop() rel?: string;\n\n /**\n * The place to display the linked URL, as the name for a browsing context (a tab, window, or iframe).\n */\n @Prop() target?: string;\n\n /**\n * If `true`, the 'open in new tab/window' icon will be displayed.\n */\n @Prop() showIcon?: boolean;\n\n /**\n * The appearance of the link, e.g. dark, light, or default.\n */\n @Prop({ mutable: true }) appearance?: IcThemeForeground = \"default\";\n\n @Listen(\"themeChange\", { target: \"document\" })\n themeChangeHandler(ev: CustomEvent): void {\n const theme: IcTheme = ev.detail;\n this.updateTheme(theme.mode);\n }\n\n private updateTheme(newTheme: IcThemeForeground = null): void {\n const theme = getThemeFromContext(this.el, newTheme || null);\n\n switch (theme) {\n case IcThemeForegroundEnum.Light:\n this.appearance = IcThemeForegroundEnum.Light;\n break;\n case IcThemeForegroundEnum.Dark:\n this.appearance = IcThemeForegroundEnum.Dark;\n break;\n }\n }\n\n /**\n * Sets focus on the link.\n */\n @Method()\n async setFocus(): Promise<void> {\n if (this.el.shadowRoot.querySelector(\"a\")) {\n this.el.shadowRoot.querySelector(\"a\").focus();\n }\n }\n\n componentWillLoad(): void {\n this.inheritedAttributes = inheritAttributes(this.el, [\n ...IC_INHERITED_ARIA,\n \"aria-expanded\",\n ]);\n\n this.updateTheme();\n }\n\n private hasRouterSlot(): boolean {\n this.routerSlot = this.el.querySelector('[slot=\"router-item\"]');\n if (this.routerSlot) {\n this.routerSlot.ariaLabel = this.routerSlot.textContent;\n }\n return !!this.routerSlot;\n }\n\n render() {\n const {\n download,\n href,\n hreflang,\n referrerpolicy,\n rel,\n target,\n showIcon,\n appearance,\n } = this;\n\n return (\n <Host class={{ [\"link\"]: true, [`${appearance}`]: true }}>\n {this.hasRouterSlot() ? (\n <slot name=\"router-item\"></slot>\n ) : (\n <a\n class={{\n [\"ic-link\"]: href !== null,\n [`${appearance}`]: href !== null,\n }}\n download={download !== false ? download : null}\n href={href}\n hrefLang={hreflang}\n referrerPolicy={referrerpolicy}\n rel={rel}\n target={target}\n tabindex={href !== null ? \"0\" : \"-1\"}\n {...this.inheritedAttributes}\n >\n <slot />\n {showIcon && (\n <span class=\"ic-link-open-in-new-icon\" innerHTML={OpenInNew} />\n )}\n </a>\n )}\n </Host>\n );\n }\n}\n"]}
|
@@ -448,7 +448,7 @@ video {
|
|
448
448
|
|
449
449
|
display: block;
|
450
450
|
|
451
|
-
--linear-border-radius:
|
451
|
+
--linear-border-radius: 0.25rem;
|
452
452
|
--inner-color: var(--ic-action-default);
|
453
453
|
--outer-color: var(--ic-architectural-100);
|
454
454
|
--label-color: var(--ic-color-primary-text);
|
@@ -470,23 +470,23 @@ video {
|
|
470
470
|
}
|
471
471
|
|
472
472
|
:host([size="small"]) {
|
473
|
-
--circular-diameter:
|
473
|
+
--circular-diameter: 2.5rem;
|
474
474
|
--linear-line-height: var(--ic-space-xxs);
|
475
475
|
}
|
476
476
|
|
477
477
|
:host([size="default"]) {
|
478
|
-
--circular-diameter:
|
478
|
+
--circular-diameter: 5rem;
|
479
479
|
}
|
480
480
|
|
481
481
|
:host([size="large"]) {
|
482
|
-
--circular-diameter:
|
482
|
+
--circular-diameter: 7.5rem;
|
483
483
|
}
|
484
484
|
|
485
485
|
:host([size="icon"]) {
|
486
486
|
display: inline-block;
|
487
487
|
|
488
488
|
--margin: var(--ic-space-xxxs);
|
489
|
-
--circular-diameter:
|
489
|
+
--circular-diameter: 1.25rem;
|
490
490
|
}
|
491
491
|
|
492
492
|
:host([label]) {
|
@@ -450,7 +450,7 @@ video {
|
|
450
450
|
:host {
|
451
451
|
border-radius: var(--ic-border-radius);
|
452
452
|
max-height: 0;
|
453
|
-
width: var(--input-width,
|
453
|
+
width: var(--input-width, 20rem);
|
454
454
|
color: var(--ic-color-primary-text);
|
455
455
|
background-color: var(--ic-architectural-white);
|
456
456
|
position: relative;
|
@@ -466,7 +466,7 @@ video {
|
|
466
466
|
.menu {
|
467
467
|
text-decoration: none;
|
468
468
|
list-style-type: none;
|
469
|
-
border:
|
469
|
+
border: 0.063rem solid var(--ic-architectural-400);
|
470
470
|
border-radius: var(--ic-border-radius);
|
471
471
|
background-color: var(--ic-architectural-white);
|
472
472
|
visibility: hidden;
|
@@ -489,7 +489,7 @@ video {
|
|
489
489
|
|
490
490
|
:host([open]) .menu {
|
491
491
|
visibility: visible;
|
492
|
-
max-height:
|
492
|
+
max-height: 20.125rem;
|
493
493
|
}
|
494
494
|
|
495
495
|
:host(.full-width) {
|
@@ -497,7 +497,7 @@ video {
|
|
497
497
|
}
|
498
498
|
|
499
499
|
.option {
|
500
|
-
padding:
|
500
|
+
padding: 0.5rem 0.438rem;
|
501
501
|
cursor: pointer;
|
502
502
|
display: flex;
|
503
503
|
justify-content: space-between;
|
@@ -505,15 +505,15 @@ video {
|
|
505
505
|
}
|
506
506
|
|
507
507
|
:host([small]) .option {
|
508
|
-
padding:
|
508
|
+
padding: 0.25rem 0.438rem;
|
509
509
|
}
|
510
510
|
|
511
511
|
.option:last-child {
|
512
|
-
border-radius: 0 0
|
512
|
+
border-radius: 0 0 0.063rem 0.063rem;
|
513
513
|
}
|
514
514
|
|
515
515
|
.option:first-child {
|
516
|
-
border-radius:
|
516
|
+
border-radius: 0.063rem 0.063rem 0 0;
|
517
517
|
}
|
518
518
|
|
519
519
|
.option:not(.disabled-option):hover {
|
@@ -537,8 +537,9 @@ video {
|
|
537
537
|
}
|
538
538
|
|
539
539
|
.check-icon {
|
540
|
-
height:
|
541
|
-
|
540
|
+
height: var(--ic-space-lg);
|
541
|
+
width: var(--ic-space-lg);
|
542
|
+
margin-left: 0.5rem;
|
542
543
|
pointer-events: none;
|
543
544
|
}
|
544
545
|
|
@@ -547,16 +548,16 @@ video {
|
|
547
548
|
}
|
548
549
|
|
549
550
|
.option-group-title {
|
550
|
-
padding:
|
551
|
+
padding: 1.5rem 0.438rem 0.5rem;
|
551
552
|
color: var(--ic-color-tertiary-text);
|
552
553
|
}
|
553
554
|
|
554
555
|
:host([small]) .option-group-title {
|
555
|
-
padding:
|
556
|
+
padding: 0.75rem 0.438rem 0.25rem;
|
556
557
|
}
|
557
558
|
|
558
559
|
.last-recommended-option {
|
559
|
-
border-bottom:
|
560
|
+
border-bottom: 0.063rem solid var(--ic-architectural-400);
|
560
561
|
}
|
561
562
|
|
562
563
|
.disabled-option {
|
@@ -582,6 +583,6 @@ video {
|
|
582
583
|
@media (forced-colors: active) {
|
583
584
|
.focused-option:focus {
|
584
585
|
outline: none;
|
585
|
-
border:
|
586
|
+
border: 0.125rem solid transparent;
|
586
587
|
}
|
587
588
|
}
|
@@ -4,6 +4,13 @@ import Check from "../../assets/check-icon.svg";
|
|
4
4
|
import { onComponentRequiredPropUndefined } from "../../utils/helpers";
|
5
5
|
export class Menu {
|
6
6
|
constructor() {
|
7
|
+
this.handleClearListener = () => {
|
8
|
+
this.optionHighlighted = "";
|
9
|
+
};
|
10
|
+
this.handleSubmitSearch = () => {
|
11
|
+
const highlightedOptionIndex = this.options.findIndex((option) => option.value === this.optionHighlighted);
|
12
|
+
this.setInputValue(highlightedOptionIndex);
|
13
|
+
};
|
7
14
|
this.ungroupedOptions = [];
|
8
15
|
// Prevents menu re-opening immediately after it is closed on blur when clicking input
|
9
16
|
this.preventClickOpen = false;
|
@@ -11,7 +18,7 @@ export class Menu {
|
|
11
18
|
this.handleMenuChange = (open, focusInput) => {
|
12
19
|
if (!open)
|
13
20
|
this.popperInstance.destroy();
|
14
|
-
this.
|
21
|
+
this.menuStateChange.emit({ open, focusInput });
|
15
22
|
if (!open && focusInput !== false) {
|
16
23
|
this.inputEl.focus();
|
17
24
|
this.preventClickOpen = false;
|
@@ -19,13 +26,13 @@ export class Menu {
|
|
19
26
|
};
|
20
27
|
this.setNextOptionValue = (selectedOptionIndex) => {
|
21
28
|
if (this.ungroupedOptions[selectedOptionIndex + 1]) {
|
22
|
-
this.
|
29
|
+
this.menuOptionSelect.emit({
|
23
30
|
value: this.ungroupedOptions[selectedOptionIndex + 1].value,
|
24
31
|
optionId: this.getOptionId(this.ungroupedOptions[selectedOptionIndex + 1].value),
|
25
32
|
});
|
26
33
|
}
|
27
34
|
else {
|
28
|
-
this.
|
35
|
+
this.menuOptionSelect.emit({
|
29
36
|
value: this.ungroupedOptions[0].value,
|
30
37
|
optionId: this.getOptionId(this.ungroupedOptions[0].value),
|
31
38
|
});
|
@@ -33,13 +40,13 @@ export class Menu {
|
|
33
40
|
};
|
34
41
|
this.setPreviousOptionValue = (selectedOptionIndex) => {
|
35
42
|
if (this.ungroupedOptions[selectedOptionIndex - 1]) {
|
36
|
-
this.
|
43
|
+
this.menuOptionSelect.emit({
|
37
44
|
value: this.ungroupedOptions[selectedOptionIndex - 1].value,
|
38
45
|
optionId: this.getOptionId(this.ungroupedOptions[selectedOptionIndex - 1].value),
|
39
46
|
});
|
40
47
|
}
|
41
48
|
else {
|
42
|
-
this.
|
49
|
+
this.menuOptionSelect.emit({
|
43
50
|
value: this.ungroupedOptions[this.ungroupedOptions.length - 1].value,
|
44
51
|
optionId: this.getOptionId(this.ungroupedOptions[this.ungroupedOptions.length - 1].value),
|
45
52
|
});
|
@@ -55,6 +62,7 @@ export class Menu {
|
|
55
62
|
this.autoSetInputValueKeyboardOpen = (event) => {
|
56
63
|
var _a;
|
57
64
|
const selectedOptionIndex = this.ungroupedOptions.findIndex((option) => option.value === this.value);
|
65
|
+
this.keyboardNav = false;
|
58
66
|
const isSearchableSelect = ((_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.tagName) === "INPUT";
|
59
67
|
switch (event.key) {
|
60
68
|
case "ArrowDown":
|
@@ -155,7 +163,7 @@ export class Menu {
|
|
155
163
|
this.setInputValue = (highlightedOptionIndex) => {
|
156
164
|
var _a;
|
157
165
|
if (this.options[highlightedOptionIndex]) {
|
158
|
-
this.
|
166
|
+
this.menuOptionSelect.emit({
|
159
167
|
value: (_a = this.options[highlightedOptionIndex]) === null || _a === void 0 ? void 0 : _a.value,
|
160
168
|
});
|
161
169
|
this.optionHighlighted = undefined;
|
@@ -165,7 +173,7 @@ export class Menu {
|
|
165
173
|
};
|
166
174
|
this.handleOptionClick = (event) => {
|
167
175
|
const { value, label } = event.target.dataset;
|
168
|
-
this.
|
176
|
+
this.menuOptionSelect.emit({ value, label });
|
169
177
|
this.handleMenuChange(false);
|
170
178
|
};
|
171
179
|
this.handleBlur = (event) => {
|
@@ -179,15 +187,22 @@ export class Menu {
|
|
179
187
|
this.preventClickOpen = true;
|
180
188
|
}
|
181
189
|
};
|
190
|
+
this.handleMouseDown = (event) => {
|
191
|
+
event.preventDefault();
|
192
|
+
};
|
182
193
|
this.handleMenuKeyDown = (event) => {
|
183
194
|
if (this.activationType === "automatic") {
|
184
195
|
this.autoSetValueOnMenuKeyDown(event);
|
185
196
|
}
|
186
197
|
};
|
198
|
+
this.emitMenuKeyPress = (isNavKey) => {
|
199
|
+
this.menuKeyPress.emit({ isNavKey: isNavKey });
|
200
|
+
};
|
187
201
|
this.autoSetValueOnMenuKeyDown = (event) => {
|
188
202
|
event.cancelBubble = true;
|
189
203
|
const selectedOptionIndex = this.ungroupedOptions.findIndex((option) => option.value === this.value);
|
190
204
|
const isSearchableSelect = this.inputEl.tagName === "INPUT";
|
205
|
+
this.keyboardNav = false;
|
191
206
|
switch (event.key) {
|
192
207
|
case "ArrowUp":
|
193
208
|
event.preventDefault();
|
@@ -200,13 +215,13 @@ export class Menu {
|
|
200
215
|
this.keyboardNav = true;
|
201
216
|
break;
|
202
217
|
case "Home":
|
203
|
-
this.
|
218
|
+
this.menuOptionSelect.emit({
|
204
219
|
value: this.ungroupedOptions[0].value,
|
205
220
|
});
|
206
221
|
this.keyboardNav = true;
|
207
222
|
break;
|
208
223
|
case "End":
|
209
|
-
this.
|
224
|
+
this.menuOptionSelect.emit({
|
210
225
|
value: this.ungroupedOptions[this.ungroupedOptions.length - 1].value,
|
211
226
|
});
|
212
227
|
this.keyboardNav = true;
|
@@ -229,6 +244,7 @@ export class Menu {
|
|
229
244
|
}
|
230
245
|
break;
|
231
246
|
}
|
247
|
+
this.emitMenuKeyPress(this.keyboardNav);
|
232
248
|
};
|
233
249
|
this.handleMenuKeyUp = (event) => {
|
234
250
|
if (event.key === "Tab" && event.shiftKey) {
|
@@ -294,7 +310,7 @@ export class Menu {
|
|
294
310
|
(option.value === value || option.value === this.optionHighlighted) &&
|
295
311
|
this.keyboardNav
|
296
312
|
? "0"
|
297
|
-
: "-1", "aria-label": this.getOptionAriaLabel(option, parentOption), "aria-selected": option.value === value, "aria-disabled": option.disabled ? "true" : "false", onClick: this.handleOptionClick, onBlur: this.handleBlur, onMouseDown:
|
313
|
+
: "-1", "aria-label": this.getOptionAriaLabel(option, parentOption), "aria-selected": option.value === value, "aria-disabled": option.disabled ? "true" : "false", onClick: this.handleOptionClick, onBlur: this.handleBlur, onMouseDown: this.handleMouseDown, "data-value": option.value, "data-label": option.label }, h("div", { class: "option-text-container" }, h("ic-typography", { variant: "body", "aria-hidden": "true" }, h("p", null, option.label)), option.description && (h("ic-typography", { id: `${this.getOptionId(option.value)}-description`, class: "option-description", variant: "caption", "aria-hidden": "true" }, h("p", null, option.description)))), option.value === value &&
|
298
314
|
this.parentEl.tagName !== "IC-SEARCH-BAR" && (h("span", { class: "check-icon", innerHTML: Check }))));
|
299
315
|
};
|
300
316
|
this.open = undefined;
|
@@ -319,19 +335,12 @@ export class Menu {
|
|
319
335
|
this.ungroupedOptions = [];
|
320
336
|
this.loadUngroupedOptions();
|
321
337
|
}
|
322
|
-
handleClearListener() {
|
323
|
-
this.optionHighlighted = "";
|
324
|
-
}
|
325
|
-
handleSubmitSearch() {
|
326
|
-
const highlightedOptionIndex = this.options.findIndex((option) => option.value === this.optionHighlighted);
|
327
|
-
this.setInputValue(highlightedOptionIndex);
|
328
|
-
}
|
329
338
|
/**
|
330
|
-
* If menu is opened with the mouse, emit
|
339
|
+
* @internal If menu is opened with the mouse, emit menuStateChange custom event.
|
331
340
|
*/
|
332
341
|
async handleClickOpen() {
|
333
342
|
if (!this.preventClickOpen) {
|
334
|
-
this.
|
343
|
+
this.menuStateChange.emit({ open: !this.open });
|
335
344
|
this.keyboardNav = false;
|
336
345
|
}
|
337
346
|
this.preventClickOpen = false;
|
@@ -367,6 +376,8 @@ export class Menu {
|
|
367
376
|
componentWillLoad() {
|
368
377
|
this.loadUngroupedOptions();
|
369
378
|
this.isSearchBar = this.parentEl.tagName === "IC-SEARCH-BAR";
|
379
|
+
this.parentEl.addEventListener("icClear", this.handleClearListener);
|
380
|
+
this.parentEl.addEventListener("icSubmitSearch", this.handleSubmitSearch);
|
370
381
|
}
|
371
382
|
componentDidLoad() {
|
372
383
|
if (this.isSearchBar &&
|
@@ -436,6 +447,10 @@ export class Menu {
|
|
436
447
|
}
|
437
448
|
}
|
438
449
|
}
|
450
|
+
disconnectedCallback() {
|
451
|
+
this.parentEl.removeEventListener("icClear", this.handleClearListener);
|
452
|
+
this.parentEl.removeEventListener("icSubmitSearch", this.handleSubmitSearch);
|
453
|
+
}
|
439
454
|
render() {
|
440
455
|
var _a, _b;
|
441
456
|
const { inputLabel, options, menuId, value, fullWidth } = this;
|
@@ -713,14 +728,17 @@ export class Menu {
|
|
713
728
|
}
|
714
729
|
static get events() {
|
715
730
|
return [{
|
716
|
-
"method": "
|
717
|
-
"name": "
|
731
|
+
"method": "menuOptionSelect",
|
732
|
+
"name": "menuOptionSelect",
|
718
733
|
"bubbles": true,
|
719
734
|
"cancelable": true,
|
720
735
|
"composed": true,
|
721
736
|
"docs": {
|
722
|
-
"tags": [
|
723
|
-
|
737
|
+
"tags": [{
|
738
|
+
"name": "internal",
|
739
|
+
"text": "Emitted when an option is selected."
|
740
|
+
}],
|
741
|
+
"text": ""
|
724
742
|
},
|
725
743
|
"complexType": {
|
726
744
|
"original": "IcOptionSelectEventDetail",
|
@@ -733,14 +751,17 @@ export class Menu {
|
|
733
751
|
}
|
734
752
|
}
|
735
753
|
}, {
|
736
|
-
"method": "
|
737
|
-
"name": "
|
754
|
+
"method": "menuStateChange",
|
755
|
+
"name": "menuStateChange",
|
738
756
|
"bubbles": true,
|
739
757
|
"cancelable": true,
|
740
758
|
"composed": true,
|
741
759
|
"docs": {
|
742
|
-
"tags": [
|
743
|
-
|
760
|
+
"tags": [{
|
761
|
+
"name": "internal",
|
762
|
+
"text": "Emitted when state of menu changes (i.e. open or close)."
|
763
|
+
}],
|
764
|
+
"text": ""
|
744
765
|
},
|
745
766
|
"complexType": {
|
746
767
|
"original": "IcMenuChangeEventDetail",
|
@@ -775,6 +796,24 @@ export class Menu {
|
|
775
796
|
}
|
776
797
|
}
|
777
798
|
}
|
799
|
+
}, {
|
800
|
+
"method": "menuKeyPress",
|
801
|
+
"name": "menuKeyPress",
|
802
|
+
"bubbles": true,
|
803
|
+
"cancelable": true,
|
804
|
+
"composed": true,
|
805
|
+
"docs": {
|
806
|
+
"tags": [{
|
807
|
+
"name": "internal",
|
808
|
+
"text": "Emitted when key is pressed while menu is open"
|
809
|
+
}],
|
810
|
+
"text": ""
|
811
|
+
},
|
812
|
+
"complexType": {
|
813
|
+
"original": "{ isNavKey: boolean }",
|
814
|
+
"resolved": "{ isNavKey: boolean; }",
|
815
|
+
"references": {}
|
816
|
+
}
|
778
817
|
}];
|
779
818
|
}
|
780
819
|
static get methods() {
|
@@ -791,8 +830,11 @@ export class Menu {
|
|
791
830
|
"return": "Promise<void>"
|
792
831
|
},
|
793
832
|
"docs": {
|
794
|
-
"text": "
|
795
|
-
"tags": [
|
833
|
+
"text": "",
|
834
|
+
"tags": [{
|
835
|
+
"name": "internal",
|
836
|
+
"text": "If menu is opened with the mouse, emit menuStateChange custom event."
|
837
|
+
}]
|
796
838
|
}
|
797
839
|
},
|
798
840
|
"handleKeyboardOpen": {
|
@@ -851,20 +893,5 @@ export class Menu {
|
|
851
893
|
"methodName": "watchOptionsHandler"
|
852
894
|
}];
|
853
895
|
}
|
854
|
-
static get listeners() {
|
855
|
-
return [{
|
856
|
-
"name": "icClear",
|
857
|
-
"method": "handleClearListener",
|
858
|
-
"target": "document",
|
859
|
-
"capture": false,
|
860
|
-
"passive": false
|
861
|
-
}, {
|
862
|
-
"name": "icSubmitSearch",
|
863
|
-
"method": "handleSubmitSearch",
|
864
|
-
"target": "document",
|
865
|
-
"capture": false,
|
866
|
-
"passive": false
|
867
|
-
}];
|
868
|
-
}
|
869
896
|
}
|
870
897
|
//# sourceMappingURL=ic-menu.js.map
|