@ukic/web-components 3.0.0-alpha.5 → 3.0.0-alpha.7
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +4 -4
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/{helpers-529aaa3a.js → helpers-50fa27f6.js} +46 -29
- package/dist/cjs/helpers-50fa27f6.js.map +1 -0
- package/dist/cjs/ic-accordion-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-accordion.cjs.entry.js +8 -1
- package/dist/cjs/ic-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-alert.cjs.entry.js +3 -10
- package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
- package/dist/cjs/ic-badge.cjs.entry.js +2 -2
- package/dist/cjs/ic-badge.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 +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +10 -7
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card-vertical.cjs.entry.js +26 -24
- package/dist/cjs/ic-card-vertical.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +5 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +5 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +9 -4
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
- package/dist/cjs/ic-dialog.cjs.entry.js +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-empty-state.cjs.entry.js +2 -12
- package/dist/cjs/ic-empty-state.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +4 -5
- package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +4 -5
- package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +24 -14
- package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +7 -15
- package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +3 -3
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +39 -24
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +1 -1
- package/dist/cjs/ic-link.cjs.entry.js +9 -6
- package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js +7 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +6 -7
- package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +5 -6
- 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 +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +1 -1
- package/dist/cjs/ic-pagination-item.cjs.entry.js +5 -1
- package/dist/cjs/ic-pagination-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination.cjs.entry.js +5 -1
- package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +9 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +5 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +37 -29
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-select.cjs.entry.js +52 -34
- package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +5 -5
- package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +6 -2
- package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +5 -2
- package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-text-field.cjs.entry.js +26 -9
- package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +20 -20
- package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +1 -1
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js +3 -0
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button.cjs.entry.js +7 -1
- package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +10 -6
- 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/index-f982899d.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/ag-theme-icds.css +32 -31
- package/dist/collection/components/ic-accordion/ic-accordion.js +10 -1
- package/dist/collection/components/ic-accordion/ic-accordion.js.map +1 -1
- package/dist/collection/components/ic-accordion/test/basic/ic-accordion.spec.js +3 -0
- package/dist/collection/components/ic-accordion/test/basic/ic-accordion.spec.js.map +1 -1
- package/dist/collection/components/ic-alert/ic-alert.js +5 -12
- package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
- package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js +21 -3
- package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js.map +1 -1
- package/dist/collection/components/ic-badge/ic-badge.js +2 -2
- package/dist/collection/components/ic-badge/ic-badge.js.map +1 -1
- package/dist/collection/components/ic-button/ic-button.css +40 -0
- package/dist/collection/components/ic-button/ic-button.js +12 -9
- package/dist/collection/components/ic-button/ic-button.js.map +1 -1
- package/dist/collection/components/ic-button/test/basic/ic-button.spec.js +7 -7
- package/dist/collection/components/ic-button/test/basic/ic-button.spec.js.map +1 -1
- package/dist/collection/components/ic-card-vertical/ic-card-vertical.js +33 -28
- package/dist/collection/components/ic-card-vertical/ic-card-vertical.js.map +1 -1
- package/dist/collection/components/ic-card-vertical/test/basic/ic-card-vertical.spec.js +44 -3
- package/dist/collection/components/ic-card-vertical/test/basic/ic-card-vertical.spec.js.map +1 -1
- package/dist/collection/components/ic-checkbox/ic-checkbox.js +6 -0
- package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +6 -0
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js +3 -0
- package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +1 -1
- package/dist/collection/components/ic-chip/ic-chip.js +27 -2
- package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
- package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js +3 -0
- package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +1 -1
- package/dist/collection/components/ic-divider/ic-divider.js +8 -8
- package/dist/collection/components/ic-divider/ic-divider.js.map +1 -1
- package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js +4 -4
- package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js.map +1 -1
- package/dist/collection/components/ic-empty-state/ic-empty-state.js +3 -13
- package/dist/collection/components/ic-empty-state/ic-empty-state.js.map +1 -1
- package/dist/collection/components/ic-footer/ic-footer.css +2 -2
- package/dist/collection/components/ic-footer/ic-footer.js +26 -16
- package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
- package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js +43 -2
- package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js.map +1 -1
- package/dist/collection/components/ic-footer-link/ic-footer-link.js +6 -7
- package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
- package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js +1 -1
- package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js.map +1 -1
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +6 -7
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -1
- package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js +1 -1
- package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js.map +1 -1
- package/dist/collection/components/ic-hero/ic-hero.css +3 -3
- package/dist/collection/components/ic-hero/ic-hero.js +10 -18
- package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
- package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js +23 -5
- package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +1 -1
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +6 -6
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -1
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +16 -11
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
- package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js +30 -3
- package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +1 -1
- package/dist/collection/components/ic-link/ic-link.js +12 -9
- package/dist/collection/components/ic-link/ic-link.js.map +1 -1
- package/dist/collection/components/ic-link/test/basic/ic-link.spec.js +5 -5
- package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +1 -1
- package/dist/collection/components/ic-menu/ic-menu.css +6 -0
- package/dist/collection/components/ic-menu/ic-menu.js +42 -15
- package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
- package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js +9 -9
- package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +1 -1
- package/dist/collection/components/ic-menu-item/ic-menu-item.js +9 -0
- package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -1
- package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js +13 -0
- package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js.map +1 -1
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +9 -10
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
- package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js +2 -2
- package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +1 -1
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +1 -1
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +6 -7
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
- package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js +3 -3
- package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js.map +1 -1
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +9 -9
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +5 -5
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
- package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js +3 -3
- package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js.map +1 -1
- package/dist/collection/components/ic-pagination/ic-pagination.js +6 -0
- package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -1
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js +10 -0
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js.map +1 -1
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +6 -0
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +1 -1
- package/dist/collection/components/ic-pagination-item/test/basic/ic-pagination-item.spec.js +3 -0
- package/dist/collection/components/ic-pagination-item/test/basic/ic-pagination-item.spec.js.map +1 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +8 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js +6 -0
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +1 -1
- package/dist/collection/components/ic-radio-option/ic-radio-option.js +6 -0
- 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 +66 -4
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +60 -29
- package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js +63 -94
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js.map +1 -1
- package/dist/collection/components/ic-select/ic-select.js +56 -36
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +74 -0
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +2 -2
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +7 -7
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.types.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js +3 -3
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js.map +1 -1
- package/dist/collection/components/ic-switch/ic-switch.js +6 -0
- package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
- package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js +3 -0
- package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js.map +1 -1
- package/dist/collection/components/ic-tab/ic-tab.js +6 -0
- package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
- package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js +16 -0
- package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js.map +1 -1
- package/dist/collection/components/ic-text-field/ic-text-field.js +30 -11
- package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js +26 -12
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +1 -1
- package/dist/collection/components/ic-theme/ic-theme.js +31 -31
- package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
- package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js +7 -7
- package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js.map +1 -1
- package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js +11 -11
- package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js.map +1 -1
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +9 -0
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.js.map +1 -1
- package/dist/collection/components/ic-toggle-button/test/basic/ic-toggle-button.spec.js +10 -0
- package/dist/collection/components/ic-toggle-button/test/basic/ic-toggle-button.spec.js.map +1 -1
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +3 -0
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js.map +1 -1
- package/dist/collection/components/ic-toggle-button-group/test/ic-toggle-button-group.spec.js +104 -0
- package/dist/collection/components/ic-toggle-button-group/test/ic-toggle-button-group.spec.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +6 -2
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +12 -8
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js +3 -3
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js.map +1 -1
- package/dist/collection/testspec.setup.js +14 -0
- package/dist/collection/testspec.setup.js.map +1 -1
- package/dist/collection/utils/helpers.js +35 -20
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/types.js +6 -6
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/helpers.js +42 -26
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/ic-accordion.js +9 -1
- package/dist/components/ic-accordion.js.map +1 -1
- package/dist/components/ic-alert.js +4 -11
- package/dist/components/ic-alert.js.map +1 -1
- package/dist/components/ic-badge.js +2 -2
- package/dist/components/ic-badge.js.map +1 -1
- package/dist/components/ic-button2.js +11 -8
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card-vertical.js +30 -26
- package/dist/components/ic-card-vertical.js.map +1 -1
- package/dist/components/ic-checkbox-group.js +5 -0
- package/dist/components/ic-checkbox-group.js.map +1 -1
- package/dist/components/ic-checkbox.js +5 -0
- package/dist/components/ic-checkbox.js.map +1 -1
- package/dist/components/ic-chip.js +11 -4
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-divider2.js +4 -4
- package/dist/components/ic-divider2.js.map +1 -1
- package/dist/components/ic-empty-state.js +3 -13
- package/dist/components/ic-empty-state.js.map +1 -1
- package/dist/components/ic-footer-link-group.js +5 -6
- package/dist/components/ic-footer-link-group.js.map +1 -1
- package/dist/components/ic-footer-link.js +5 -6
- package/dist/components/ic-footer-link.js.map +1 -1
- package/dist/components/ic-footer.js +25 -15
- package/dist/components/ic-footer.js.map +1 -1
- package/dist/components/ic-hero.js +9 -17
- package/dist/components/ic-hero.js.map +1 -1
- package/dist/components/ic-horizontal-scroll2.js +3 -3
- package/dist/components/ic-horizontal-scroll2.js.map +1 -1
- package/dist/components/ic-input-component-container2.js +15 -11
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-link2.js +10 -7
- package/dist/components/ic-link2.js.map +1 -1
- package/dist/components/ic-menu-item2.js +9 -1
- package/dist/components/ic-menu-item2.js.map +1 -1
- package/dist/components/ic-menu2.js +28 -15
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-button.js +7 -8
- package/dist/components/ic-navigation-button.js.map +1 -1
- package/dist/components/ic-navigation-group.js +6 -7
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js +5 -5
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-pagination-item2.js +6 -1
- package/dist/components/ic-pagination-item2.js.map +1 -1
- package/dist/components/ic-pagination.js +5 -0
- package/dist/components/ic-pagination.js.map +1 -1
- package/dist/components/ic-radio-group.js +8 -0
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +6 -1
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +52 -54
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-select.js +54 -35
- package/dist/components/ic-select.js.map +1 -1
- package/dist/components/ic-side-navigation.js +6 -6
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-stepper.js +1 -1
- package/dist/components/ic-switch.js +8 -3
- package/dist/components/ic-switch.js.map +1 -1
- package/dist/components/ic-tab.js +5 -2
- package/dist/components/ic-tab.js.map +1 -1
- package/dist/components/ic-text-field.js +371 -1
- package/dist/components/ic-text-field.js.map +1 -1
- package/dist/components/ic-theme.js +22 -22
- package/dist/components/ic-theme.js.map +1 -1
- package/dist/components/ic-toggle-button-group.js +3 -0
- package/dist/components/ic-toggle-button-group.js.map +1 -1
- package/dist/components/ic-toggle-button.js +9 -1
- package/dist/components/ic-toggle-button.js.map +1 -1
- package/dist/components/ic-top-navigation.js +11 -7
- package/dist/components/ic-top-navigation.js.map +1 -1
- package/dist/core/ag-theme-icds.css +32 -31
- package/dist/core/core.css +78 -46
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/p-050e3e36.entry.js +2 -0
- package/dist/core/p-050e3e36.entry.js.map +1 -0
- package/dist/core/{p-f580f0ce.entry.js → p-08a82b71.entry.js} +2 -2
- package/dist/core/p-08a82b71.entry.js.map +1 -0
- package/dist/core/p-12bd8ade.entry.js +2 -0
- package/dist/core/p-12bd8ade.entry.js.map +1 -0
- package/dist/core/{p-d3263ed9.entry.js → p-13637d3f.entry.js} +2 -2
- package/dist/core/p-13637d3f.entry.js.map +1 -0
- package/dist/core/{p-ba37e169.entry.js → p-1425c78b.entry.js} +2 -2
- package/dist/core/p-1425c78b.entry.js.map +1 -0
- package/dist/core/{p-48463a79.entry.js → p-16df8bcf.entry.js} +2 -2
- package/dist/core/p-16df8bcf.entry.js.map +1 -0
- package/dist/core/{p-e107f362.entry.js → p-1b1f7523.entry.js} +2 -2
- package/dist/core/{p-12f72d83.entry.js → p-2179e015.entry.js} +2 -2
- package/dist/core/p-273f9b03.entry.js +2 -0
- package/dist/core/p-273f9b03.entry.js.map +1 -0
- package/dist/core/{p-b06939fa.entry.js → p-27933dfe.entry.js} +2 -2
- package/dist/core/{p-98816f52.entry.js → p-2aca1bac.entry.js} +2 -2
- package/dist/core/p-30f91e2e.entry.js +2 -0
- package/dist/core/p-30f91e2e.entry.js.map +1 -0
- package/dist/core/p-3361ac8f.entry.js +2 -0
- package/dist/core/p-3361ac8f.entry.js.map +1 -0
- package/dist/core/{p-a91b0212.entry.js → p-34e89ebf.entry.js} +2 -2
- package/dist/core/p-353893b7.entry.js +2 -0
- package/dist/core/p-353893b7.entry.js.map +1 -0
- package/dist/core/p-3645c4e6.entry.js +2 -0
- package/dist/core/p-3645c4e6.entry.js.map +1 -0
- package/dist/core/p-369ff74c.entry.js +2 -0
- package/dist/core/p-369ff74c.entry.js.map +1 -0
- package/dist/core/p-46dd7413.entry.js +2 -0
- package/dist/core/p-46dd7413.entry.js.map +1 -0
- package/dist/core/{p-7cba80ac.entry.js → p-4e57c7ba.entry.js} +2 -2
- package/dist/core/p-4e57c7ba.entry.js.map +1 -0
- package/dist/core/p-51990f23.entry.js +2 -0
- package/dist/core/p-51990f23.entry.js.map +1 -0
- package/dist/core/{p-15fd6539.entry.js → p-5347f687.entry.js} +2 -2
- package/dist/core/{p-6bb3ef22.entry.js → p-538f1bb9.entry.js} +2 -2
- package/dist/core/p-538f1bb9.entry.js.map +1 -0
- package/dist/core/{p-60d458e5.entry.js → p-5479be2b.entry.js} +2 -2
- package/dist/core/p-5479be2b.entry.js.map +1 -0
- package/dist/core/{p-d987bdc0.entry.js → p-5801598f.entry.js} +2 -2
- package/dist/core/p-5801598f.entry.js.map +1 -0
- package/dist/core/{p-c7e01fcd.entry.js → p-5b118dec.entry.js} +2 -2
- package/dist/core/p-5b118dec.entry.js.map +1 -0
- package/dist/core/p-5d89525e.entry.js +2 -0
- package/dist/core/p-5d89525e.entry.js.map +1 -0
- package/dist/core/{p-81f80487.entry.js → p-5dcafe90.entry.js} +2 -2
- package/dist/core/p-5dcafe90.entry.js.map +1 -0
- package/dist/core/{p-c4f32f77.entry.js → p-5e694b17.entry.js} +2 -2
- package/dist/core/{p-c4f32f77.entry.js.map → p-5e694b17.entry.js.map} +1 -1
- package/dist/core/{p-2223c7ee.entry.js → p-6331782f.entry.js} +2 -2
- package/dist/core/{p-c5d3c71e.entry.js → p-6a5d58bc.entry.js} +2 -2
- package/dist/core/p-6d0c5a77.entry.js +2 -0
- package/dist/core/p-6d0c5a77.entry.js.map +1 -0
- package/dist/core/p-6f16a69e.entry.js +2 -0
- package/dist/core/p-6f16a69e.entry.js.map +1 -0
- package/dist/core/{p-85d33e38.entry.js → p-7a16046a.entry.js} +2 -2
- package/dist/core/p-7a16046a.entry.js.map +1 -0
- package/dist/core/p-7c0ff8cf.entry.js +2 -0
- package/dist/core/p-7c0ff8cf.entry.js.map +1 -0
- package/dist/core/p-7c39afb5.entry.js +2 -0
- package/dist/core/p-7c39afb5.entry.js.map +1 -0
- package/dist/core/{p-f069f50e.entry.js → p-7e546e88.entry.js} +2 -2
- package/dist/core/{p-3a4000d8.entry.js → p-8dda6121.entry.js} +2 -2
- package/dist/core/{p-c43d676b.entry.js → p-9505b0f1.entry.js} +2 -2
- package/dist/core/{p-685d6aa9.entry.js → p-a25d535a.entry.js} +2 -2
- package/dist/core/p-a519e9a6.entry.js +2 -0
- package/dist/core/p-a519e9a6.entry.js.map +1 -0
- package/dist/core/p-b052e67a.entry.js +2 -0
- package/dist/core/p-b052e67a.entry.js.map +1 -0
- package/dist/core/p-bafcbecc.entry.js +2 -0
- package/dist/core/p-bafcbecc.entry.js.map +1 -0
- package/dist/core/{p-c82240b7.entry.js → p-bdbce1a0.entry.js} +2 -2
- package/dist/core/p-c68d98f8.entry.js +2 -0
- package/dist/core/p-c68d98f8.entry.js.map +1 -0
- package/dist/core/{p-c563d479.entry.js → p-cae08ac2.entry.js} +2 -2
- package/dist/core/p-cae08ac2.entry.js.map +1 -0
- package/dist/core/{p-cdbc3414.entry.js → p-d6ce4473.entry.js} +2 -2
- package/dist/core/{p-78f46cf8.entry.js → p-dcdfe5f9.entry.js} +2 -2
- package/dist/core/{p-4fea4610.entry.js → p-e9c078fa.entry.js} +2 -2
- package/dist/core/p-e9c078fa.entry.js.map +1 -0
- package/dist/core/p-eafa4df2.js +2 -0
- package/dist/core/p-eafa4df2.js.map +1 -0
- package/dist/core/p-eb132c44.entry.js +2 -0
- package/dist/core/p-eb132c44.entry.js.map +1 -0
- package/dist/core/p-ebf2b874.entry.js +2 -0
- package/dist/core/p-ebf2b874.entry.js.map +1 -0
- package/dist/core/{p-97e8246c.entry.js → p-eec110a7.entry.js} +2 -2
- package/dist/core/{p-03dc6b93.entry.js → p-f1b7e4f4.entry.js} +2 -2
- package/dist/core/{p-175baf98.entry.js → p-f8890135.entry.js} +2 -2
- package/dist/esm/core.js +1 -1
- package/dist/esm/{helpers-7bf8c67f.js → helpers-8565b5c5.js} +43 -27
- package/dist/esm/helpers-8565b5c5.js.map +1 -0
- package/dist/esm/ic-accordion-group.entry.js +1 -1
- package/dist/esm/ic-accordion.entry.js +8 -1
- package/dist/esm/ic-accordion.entry.js.map +1 -1
- package/dist/esm/ic-alert.entry.js +4 -11
- package/dist/esm/ic-alert.entry.js.map +1 -1
- package/dist/esm/ic-back-to-top.entry.js +1 -1
- package/dist/esm/ic-badge.entry.js +2 -2
- package/dist/esm/ic-badge.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +1 -1
- package/dist/esm/ic-button_3.entry.js +10 -7
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card-vertical.entry.js +27 -25
- package/dist/esm/ic-card-vertical.entry.js.map +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +5 -1
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ic-checkbox.entry.js +5 -1
- package/dist/esm/ic-checkbox.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +9 -4
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-data-row.entry.js +1 -1
- package/dist/esm/ic-dialog.entry.js +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-empty-state.entry.js +3 -13
- package/dist/esm/ic-empty-state.entry.js.map +1 -1
- package/dist/esm/ic-footer-link-group.entry.js +4 -5
- package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
- package/dist/esm/ic-footer-link.entry.js +4 -5
- package/dist/esm/ic-footer-link.entry.js.map +1 -1
- package/dist/esm/ic-footer.entry.js +24 -14
- package/dist/esm/ic-footer.entry.js.map +1 -1
- package/dist/esm/ic-hero.entry.js +8 -16
- package/dist/esm/ic-hero.entry.js.map +1 -1
- package/dist/esm/ic-horizontal-scroll.entry.js +3 -3
- package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
- package/dist/esm/ic-input-component-container_3.entry.js +40 -25
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +1 -1
- package/dist/esm/ic-link.entry.js +9 -6
- package/dist/esm/ic-link.entry.js.map +1 -1
- package/dist/esm/ic-menu-group.entry.js +1 -1
- package/dist/esm/ic-menu-item.entry.js +7 -1
- package/dist/esm/ic-menu-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-button.entry.js +6 -7
- package/dist/esm/ic-navigation-button.entry.js.map +1 -1
- package/dist/esm/ic-navigation-group.entry.js +5 -6
- 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 +1 -1
- package/dist/esm/ic-page-header.entry.js +1 -1
- package/dist/esm/ic-pagination-item.entry.js +5 -1
- package/dist/esm/ic-pagination-item.entry.js.map +1 -1
- package/dist/esm/ic-pagination.entry.js +5 -1
- package/dist/esm/ic-pagination.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +1 -1
- package/dist/esm/ic-radio-group.entry.js +9 -1
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +5 -1
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +37 -29
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-select.entry.js +52 -34
- package/dist/esm/ic-select.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +5 -5
- package/dist/esm/ic-side-navigation.entry.js.map +1 -1
- package/dist/esm/ic-status-tag.entry.js +1 -1
- package/dist/esm/ic-step.entry.js +1 -1
- package/dist/esm/ic-stepper.entry.js +1 -1
- package/dist/esm/ic-switch.entry.js +6 -2
- package/dist/esm/ic-switch.entry.js.map +1 -1
- package/dist/esm/ic-tab-group.entry.js +1 -1
- package/dist/esm/ic-tab-panel.entry.js +1 -1
- package/dist/esm/ic-tab.entry.js +5 -2
- package/dist/esm/ic-tab.entry.js.map +1 -1
- package/dist/esm/ic-text-field.entry.js +26 -9
- package/dist/esm/ic-text-field.entry.js.map +1 -1
- package/dist/esm/ic-theme.entry.js +20 -20
- package/dist/esm/ic-theme.entry.js.map +1 -1
- package/dist/esm/ic-toast.entry.js +1 -1
- package/dist/esm/ic-toggle-button-group.entry.js +3 -0
- package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button.entry.js +7 -1
- package/dist/esm/ic-toggle-button.entry.js.map +1 -1
- package/dist/esm/ic-top-navigation.entry.js +10 -6
- package/dist/esm/ic-top-navigation.entry.js.map +1 -1
- package/dist/esm/ic-typography.entry.js +1 -1
- package/dist/esm/index-d1d2c456.js +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-accordion/ic-accordion.d.ts +2 -0
- package/dist/types/components/ic-alert/ic-alert.d.ts +0 -1
- package/dist/types/components/ic-button/ic-button.d.ts +2 -2
- package/dist/types/components/ic-card-vertical/ic-card-vertical.d.ts +3 -3
- package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +1 -0
- package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +1 -0
- package/dist/types/components/ic-chip/ic-chip.d.ts +5 -0
- package/dist/types/components/ic-divider/ic-divider.d.ts +4 -4
- package/dist/types/components/ic-empty-state/ic-empty-state.d.ts +0 -1
- package/dist/types/components/ic-footer/ic-footer.d.ts +4 -3
- package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +3 -3
- package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +3 -3
- package/dist/types/components/ic-hero/ic-hero.d.ts +3 -4
- package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.d.ts +2 -2
- package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +2 -1
- package/dist/types/components/ic-link/ic-link.d.ts +2 -2
- package/dist/types/components/ic-menu/ic-menu.d.ts +7 -2
- package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +1 -0
- package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +3 -3
- 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 +3 -3
- package/dist/types/components/ic-pagination/ic-pagination.d.ts +1 -0
- package/dist/types/components/ic-pagination-item/ic-pagination-item.d.ts +1 -0
- package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +1 -0
- package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +10 -2
- package/dist/types/components/ic-select/ic-select.d.ts +6 -4
- package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +3 -3
- package/dist/types/components/ic-side-navigation/ic-side-navigation.types.d.ts +2 -2
- package/dist/types/components/ic-switch/ic-switch.d.ts +1 -0
- package/dist/types/components/ic-tab/ic-tab.d.ts +1 -0
- package/dist/types/components/ic-text-field/ic-text-field.d.ts +5 -1
- package/dist/types/components/ic-theme/ic-theme.d.ts +8 -8
- package/dist/types/components/ic-toggle-button/ic-toggle-button.d.ts +1 -0
- package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +3 -3
- package/dist/types/components.d.ts +41 -23
- package/dist/types/testspec.setup.d.ts +9 -0
- package/dist/types/utils/helpers.d.ts +14 -8
- package/dist/types/utils/types.d.ts +5 -5
- package/hydrate/index.js +401 -266
- package/package.json +4 -9
- package/vscode-data.json +11 -7
- package/dist/cjs/helpers-529aaa3a.js.map +0 -1
- package/dist/components/ic-text-field2.js +0 -357
- package/dist/components/ic-text-field2.js.map +0 -1
- package/dist/core/p-04339c98.entry.js +0 -2
- package/dist/core/p-04339c98.entry.js.map +0 -1
- package/dist/core/p-0aec7fab.entry.js +0 -2
- package/dist/core/p-0aec7fab.entry.js.map +0 -1
- package/dist/core/p-0cef50b7.entry.js +0 -2
- package/dist/core/p-0cef50b7.entry.js.map +0 -1
- package/dist/core/p-274b1ed7.entry.js +0 -2
- package/dist/core/p-274b1ed7.entry.js.map +0 -1
- package/dist/core/p-2a300ec7.entry.js +0 -2
- package/dist/core/p-2a300ec7.entry.js.map +0 -1
- package/dist/core/p-303307bb.entry.js +0 -2
- package/dist/core/p-303307bb.entry.js.map +0 -1
- package/dist/core/p-3317f083.entry.js +0 -2
- package/dist/core/p-3317f083.entry.js.map +0 -1
- package/dist/core/p-35bd9d76.entry.js +0 -2
- package/dist/core/p-35bd9d76.entry.js.map +0 -1
- package/dist/core/p-36f4e0bd.entry.js +0 -2
- package/dist/core/p-36f4e0bd.entry.js.map +0 -1
- package/dist/core/p-48463a79.entry.js.map +0 -1
- package/dist/core/p-4fea4610.entry.js.map +0 -1
- package/dist/core/p-60d458e5.entry.js.map +0 -1
- package/dist/core/p-6bb3ef22.entry.js.map +0 -1
- package/dist/core/p-6cb1f1da.entry.js +0 -2
- package/dist/core/p-6cb1f1da.entry.js.map +0 -1
- package/dist/core/p-79c132e3.entry.js +0 -2
- package/dist/core/p-79c132e3.entry.js.map +0 -1
- package/dist/core/p-7cba80ac.entry.js.map +0 -1
- package/dist/core/p-81f80487.entry.js.map +0 -1
- package/dist/core/p-85be0268.entry.js +0 -2
- package/dist/core/p-85be0268.entry.js.map +0 -1
- package/dist/core/p-85d33e38.entry.js.map +0 -1
- package/dist/core/p-88810080.entry.js +0 -2
- package/dist/core/p-88810080.entry.js.map +0 -1
- package/dist/core/p-a01841e2.entry.js +0 -2
- package/dist/core/p-a01841e2.entry.js.map +0 -1
- package/dist/core/p-a6be333f.entry.js +0 -2
- package/dist/core/p-a6be333f.entry.js.map +0 -1
- package/dist/core/p-ae42affc.entry.js +0 -2
- package/dist/core/p-ae42affc.entry.js.map +0 -1
- package/dist/core/p-ba37e169.entry.js.map +0 -1
- package/dist/core/p-ba55afea.entry.js +0 -2
- package/dist/core/p-ba55afea.entry.js.map +0 -1
- package/dist/core/p-bbd2febe.entry.js +0 -2
- package/dist/core/p-bbd2febe.entry.js.map +0 -1
- package/dist/core/p-c0d5043e.entry.js +0 -2
- package/dist/core/p-c0d5043e.entry.js.map +0 -1
- package/dist/core/p-c563d479.entry.js.map +0 -1
- package/dist/core/p-c7e01fcd.entry.js.map +0 -1
- package/dist/core/p-d3263ed9.entry.js.map +0 -1
- package/dist/core/p-d43e0f4b.entry.js +0 -2
- package/dist/core/p-d43e0f4b.entry.js.map +0 -1
- package/dist/core/p-d987bdc0.entry.js.map +0 -1
- package/dist/core/p-ec097c1f.entry.js +0 -2
- package/dist/core/p-ec097c1f.entry.js.map +0 -1
- package/dist/core/p-f580f0ce.entry.js.map +0 -1
- package/dist/core/p-f99576e0.js +0 -2
- package/dist/core/p-f99576e0.js.map +0 -1
- package/dist/esm/helpers-7bf8c67f.js.map +0 -1
- /package/dist/core/{p-e107f362.entry.js.map → p-1b1f7523.entry.js.map} +0 -0
- /package/dist/core/{p-12f72d83.entry.js.map → p-2179e015.entry.js.map} +0 -0
- /package/dist/core/{p-b06939fa.entry.js.map → p-27933dfe.entry.js.map} +0 -0
- /package/dist/core/{p-98816f52.entry.js.map → p-2aca1bac.entry.js.map} +0 -0
- /package/dist/core/{p-a91b0212.entry.js.map → p-34e89ebf.entry.js.map} +0 -0
- /package/dist/core/{p-15fd6539.entry.js.map → p-5347f687.entry.js.map} +0 -0
- /package/dist/core/{p-2223c7ee.entry.js.map → p-6331782f.entry.js.map} +0 -0
- /package/dist/core/{p-c5d3c71e.entry.js.map → p-6a5d58bc.entry.js.map} +0 -0
- /package/dist/core/{p-f069f50e.entry.js.map → p-7e546e88.entry.js.map} +0 -0
- /package/dist/core/{p-3a4000d8.entry.js.map → p-8dda6121.entry.js.map} +0 -0
- /package/dist/core/{p-c43d676b.entry.js.map → p-9505b0f1.entry.js.map} +0 -0
- /package/dist/core/{p-685d6aa9.entry.js.map → p-a25d535a.entry.js.map} +0 -0
- /package/dist/core/{p-c82240b7.entry.js.map → p-bdbce1a0.entry.js.map} +0 -0
- /package/dist/core/{p-cdbc3414.entry.js.map → p-d6ce4473.entry.js.map} +0 -0
- /package/dist/core/{p-78f46cf8.entry.js.map → p-dcdfe5f9.entry.js.map} +0 -0
- /package/dist/core/{p-97e8246c.entry.js.map → p-eec110a7.entry.js.map} +0 -0
- /package/dist/core/{p-03dc6b93.entry.js.map → p-f1b7e4f4.entry.js.map} +0 -0
- /package/dist/core/{p-175baf98.entry.js.map → p-f8890135.entry.js.map} +0 -0
@@ -53,6 +53,7 @@ export declare class SearchBar {
|
|
53
53
|
* If `true`, the disabled state will be set.
|
54
54
|
*/
|
55
55
|
disabled?: boolean;
|
56
|
+
watchDisabledHandler(): void;
|
56
57
|
/**
|
57
58
|
* Specify whether to disable the built in filtering. For example, if options will already be filtered from external source.
|
58
59
|
* If `true`, all options provided will be displayed.
|
@@ -62,6 +63,7 @@ export declare class SearchBar {
|
|
62
63
|
* The amount of time, in milliseconds, to wait to trigger the `icChange` event after each keystroke.
|
63
64
|
*/
|
64
65
|
debounce?: number;
|
66
|
+
private debounceChanged;
|
65
67
|
/**
|
66
68
|
* The text displayed when there are no options in the option list.
|
67
69
|
*/
|
@@ -210,11 +212,18 @@ export declare class SearchBar {
|
|
210
212
|
* Emitted when focus is invoked from ic-search-bar
|
211
213
|
*/
|
212
214
|
icSearchBarFocus: EventEmitter<IcValueEventDetail>;
|
215
|
+
/**
|
216
|
+
* Emitted when a keydown event occurred.
|
217
|
+
*/
|
218
|
+
icKeydown: EventEmitter<{
|
219
|
+
event: KeyboardEvent;
|
220
|
+
}>;
|
221
|
+
connectedCallback(): void;
|
213
222
|
disconnectedCallback(): void;
|
214
223
|
componentWillLoad(): void;
|
215
224
|
componentDidLoad(): void;
|
216
225
|
componentWillRender(): void;
|
217
|
-
handleKeyDown(
|
226
|
+
handleKeyDown(event: KeyboardEvent): void;
|
218
227
|
handleKeyUp(ev: KeyboardEvent): void;
|
219
228
|
/**
|
220
229
|
* Sets focus on the native `input`.
|
@@ -235,7 +244,6 @@ export declare class SearchBar {
|
|
235
244
|
private handleHostBlur;
|
236
245
|
private handleShowClearButton;
|
237
246
|
private handleFocusClearButton;
|
238
|
-
private handleMenuCloseFromMenuChange;
|
239
247
|
private handleTruncateValue;
|
240
248
|
private renderAssistiveHintEl;
|
241
249
|
private updateSearchResultAriaLive;
|
@@ -28,7 +28,7 @@ export declare class Select {
|
|
28
28
|
el: HTMLIcSelectElement;
|
29
29
|
ariaActiveDescendant: string;
|
30
30
|
clearButtonFocused: boolean;
|
31
|
-
|
31
|
+
debounceIcInput: number;
|
32
32
|
hiddenInputValue: string;
|
33
33
|
noOptions: IcMenuOption[];
|
34
34
|
open: boolean;
|
@@ -38,6 +38,7 @@ export declare class Select {
|
|
38
38
|
* If `true`, the disabled state will be set.
|
39
39
|
*/
|
40
40
|
disabled?: boolean;
|
41
|
+
watchDisabledHandler(): void;
|
41
42
|
/**
|
42
43
|
* If `true`, the built in filtering will be disabled for a searchable variant. For example, if options will already be filtered from external source.
|
43
44
|
*/
|
@@ -151,7 +152,7 @@ export declare class Select {
|
|
151
152
|
uniqueOptions: IcMenuOption[];
|
152
153
|
watchOptionsHandler(): void;
|
153
154
|
/**
|
154
|
-
* The amount of time, in milliseconds, to wait to trigger the `
|
155
|
+
* The amount of time, in milliseconds, to wait to trigger the `icInput` event after each keystroke.
|
155
156
|
*/
|
156
157
|
debounce?: number;
|
157
158
|
currDebounce: number;
|
@@ -176,7 +177,7 @@ export declare class Select {
|
|
176
177
|
*/
|
177
178
|
icChange: EventEmitter<IcValueEventDetail>;
|
178
179
|
/**
|
179
|
-
* Emitted when the clear button is clicked.
|
180
|
+
* Emitted when the clear or clear all button is clicked.
|
180
181
|
*/
|
181
182
|
icClear: EventEmitter<void>;
|
182
183
|
/**
|
@@ -220,7 +221,7 @@ export declare class Select {
|
|
220
221
|
private handleRetry;
|
221
222
|
private updateOnChangeDebounce;
|
222
223
|
private emitIcChange;
|
223
|
-
private
|
224
|
+
private emitIcInput;
|
224
225
|
/**
|
225
226
|
* Processes the provided array of IcMenuOptions, removing duplicates and reporting them with a console.warn
|
226
227
|
* @param options array of IcMenuOptions
|
@@ -272,5 +273,6 @@ export declare class Select {
|
|
272
273
|
private onBlur;
|
273
274
|
private onTimeoutBlur;
|
274
275
|
private handleFormReset;
|
276
|
+
private clearInput;
|
275
277
|
render(): any;
|
276
278
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
2
|
-
import {
|
2
|
+
import { IcBrand, IcBrandForeground } from "../../utils/types";
|
3
3
|
import { IcExpandedDetail } from "./ic-side-navigation.types";
|
4
4
|
/**
|
5
5
|
* @slot app-icon - Content will be rendered adjacent to the app title at the very top of the side navigation.
|
@@ -17,7 +17,7 @@ export declare class SideNavigation {
|
|
17
17
|
el: HTMLIcSideNavigationElement;
|
18
18
|
deviceSize: number;
|
19
19
|
deviceSizeAppTitle: number;
|
20
|
-
foregroundColor:
|
20
|
+
foregroundColor: IcBrandForeground;
|
21
21
|
hasSecondaryNavigation: boolean;
|
22
22
|
menuExpanded: boolean;
|
23
23
|
menuOpen: boolean;
|
@@ -73,7 +73,7 @@ export declare class SideNavigation {
|
|
73
73
|
componentWillLoad(): void;
|
74
74
|
componentDidLoad(): void;
|
75
75
|
disconnectedCallback(): void;
|
76
|
-
|
76
|
+
brandChangeHandler({ detail }: CustomEvent<IcBrand>): void;
|
77
77
|
private emitSideNavigationExpanded;
|
78
78
|
private toggleMenu;
|
79
79
|
private setToggleMenuFlyoutMenuVisibility;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { IcBrandForeground } from "../../utils/types";
|
2
2
|
export interface IcTopBar {
|
3
3
|
isSDevice: boolean;
|
4
|
-
foregroundColor:
|
4
|
+
foregroundColor: IcBrandForeground;
|
5
5
|
menuOpen: boolean;
|
6
6
|
href: string;
|
7
7
|
isAppNameSubtitleVariant: boolean;
|
@@ -16,6 +16,7 @@ export declare class Tab {
|
|
16
16
|
* If `true`, the disabled state will be set.
|
17
17
|
*/
|
18
18
|
disabled?: boolean;
|
19
|
+
watchDisabledHandler(): void;
|
19
20
|
/** @internal Determines whether black variant of the tabs should be displayed. */
|
20
21
|
monochrome?: boolean;
|
21
22
|
/** @internal If `true`, the tab will display with a selected indicator and tabIndex will be set. */
|
@@ -8,6 +8,7 @@ export declare class TextField {
|
|
8
8
|
private inheritedAttributes;
|
9
9
|
private inputEl;
|
10
10
|
private hostMutationObserver;
|
11
|
+
private interval;
|
11
12
|
el: HTMLIcTextFieldElement;
|
12
13
|
numChars: number;
|
13
14
|
maxCharactersReached: boolean;
|
@@ -52,11 +53,12 @@ export declare class TextField {
|
|
52
53
|
/**
|
53
54
|
* If `true`, the form control will have input focus when the page loads.
|
54
55
|
*/
|
55
|
-
|
56
|
+
autofocus: boolean;
|
56
57
|
/**
|
57
58
|
* If `true`, the disabled state will be set.
|
58
59
|
*/
|
59
60
|
disabled: boolean;
|
61
|
+
watchDisabledHandler(): void;
|
60
62
|
/**
|
61
63
|
* Specify whether the text field fills the full width of the container.
|
62
64
|
* If `true`, this overrides the --input-width CSS variable.
|
@@ -213,11 +215,13 @@ export declare class TextField {
|
|
213
215
|
disconnectedCallback(): void;
|
214
216
|
componentWillLoad(): void;
|
215
217
|
componentDidLoad(): void;
|
218
|
+
private checkChildHydration;
|
216
219
|
handleKeyDown(ev: KeyboardEvent): void;
|
217
220
|
/**
|
218
221
|
* Sets focus on the native `input`.
|
219
222
|
*/
|
220
223
|
setFocus(): Promise<void>;
|
224
|
+
private getNumberOfCharacters;
|
221
225
|
private getMaxValueExceeded;
|
222
226
|
private getMaxCharactersReached;
|
223
227
|
private onInput;
|
@@ -1,24 +1,24 @@
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
2
|
-
import { IcColor,
|
2
|
+
import { IcColor, IcBrand } from "../../utils/types";
|
3
3
|
export declare class Theme {
|
4
4
|
themeClass: string;
|
5
5
|
/**
|
6
|
-
* The
|
6
|
+
* The brand colour. Can be a hex value e.g. "#ff0000", RGB e.g. "rgb(255, 0, 0)", or RGBA e.g. "rgba(255, 0, 0, 1)".
|
7
7
|
*/
|
8
|
-
|
9
|
-
|
8
|
+
brandColor?: IcColor;
|
9
|
+
watchBrandColorPropHandler(): void;
|
10
10
|
/**
|
11
11
|
* The theme mode. Can be "dark", "light", or "system". "system" will use the device or browser settings.
|
12
12
|
*/
|
13
13
|
theme: "dark" | "light" | "system";
|
14
14
|
watchThemePropHandler(): void;
|
15
15
|
/**
|
16
|
-
* @internal Emitted when the
|
16
|
+
* @internal Emitted when the brand color is changed.
|
17
17
|
*/
|
18
|
-
|
18
|
+
brandChange: EventEmitter<IcBrand>;
|
19
19
|
componentWillLoad(): void;
|
20
20
|
private darkModeChangeHandler;
|
21
|
-
private
|
22
|
-
private
|
21
|
+
private checkBrandColorContrast;
|
22
|
+
private setBrandColor;
|
23
23
|
render(): any;
|
24
24
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
2
|
-
import { IcAlignment,
|
2
|
+
import { IcAlignment, IcBrandForeground, IcBrand, IcDeviceSizes, IcValueEventDetail, IcThemeMode } from "../../utils/types";
|
3
3
|
import { IcSearchBarBlurEventDetail } from "../ic-search-bar/ic-search-bar.types";
|
4
4
|
/**
|
5
5
|
* @slot app-icon - Content will be rendered to left of app title. Anything that is slotted here will be hidden from screen readers.
|
@@ -20,7 +20,7 @@ export declare class TopNavigation {
|
|
20
20
|
private searchBar;
|
21
21
|
el: HTMLIcTopNavigationElement;
|
22
22
|
deviceSize: number;
|
23
|
-
foregroundColor:
|
23
|
+
foregroundColor: IcBrandForeground;
|
24
24
|
hasFullWidthSearchBar: boolean;
|
25
25
|
mobileSearchBarVisible: boolean;
|
26
26
|
mobileSearchHiddenOnBlur: boolean;
|
@@ -86,7 +86,7 @@ export declare class TopNavigation {
|
|
86
86
|
navBarMenuCloseHandler(): void;
|
87
87
|
searchInputBlurHandler({ detail, }: CustomEvent<IcSearchBarBlurEventDetail>): void;
|
88
88
|
searchValueChangeHandler({ detail }: CustomEvent<IcValueEventDetail>): void;
|
89
|
-
|
89
|
+
brandChangeHandler({ detail }: CustomEvent<IcBrand>): void;
|
90
90
|
private checkSlots;
|
91
91
|
private initialiseSearchBar;
|
92
92
|
private toggleSearchBar;
|
@@ -5,7 +5,7 @@
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
6
6
|
*/
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
8
|
-
import { IcActivationTypes, IcAdditionalFieldTypes, IcAlignment, IcAutocompleteTypes, IcAutocorrectStates, IcBlurEventDetail, IcColor, IcDeviceSizes, IcEmphasisType, IcInformationStatusOrEmpty, IcMenuOption, IcOrientation, IcSearchMatchPositions, IcSelectMethodTypes, IcSelectTypes, IcSizes, IcSizesNoLarge, IcStatusVariants,
|
8
|
+
import { IcActivationTypes, IcAdditionalFieldTypes, IcAlignment, IcAutocompleteTypes, IcAutocorrectStates, IcBlurEventDetail, IcBrand, IcBrandForeground, IcColor, IcDeviceSizes, IcEmphasisType, IcInformationStatusOrEmpty, IcMenuOption, IcOrientation, IcSearchMatchPositions, IcSelectMethodTypes, IcSelectTypes, IcSizes, IcSizesNoLarge, IcStatusVariants, IcThemeMode, IcTypographyVariants, IcValueEventDetail } from "./utils/types";
|
9
9
|
import { IcBackToTopVariants } from "./components/ic-back-to-top/ic-back-to-top.types";
|
10
10
|
import { IcBadgePositions, IcBadgeTypes, IcBadgeVariants } from "./components/ic-badge/ic-badge.types";
|
11
11
|
import { IcButtonTooltipPlacement, IcButtonTypes, IcButtonVariants } from "./components/ic-button/ic-button.types";
|
@@ -34,7 +34,7 @@ import { IcAriaAutocompleteTypes, IcTextFieldInputModes, IcTextFieldTypes } from
|
|
34
34
|
import { IcChangeEventDetail as IcChangeEventDetail3 } from "./components/ic-toggle-button-group/ic-toggle-button-group.types";
|
35
35
|
import { IcTooltipPlacements } from "./components/ic-tooltip/ic-tooltip.types";
|
36
36
|
import { Options } from "@popperjs/core";
|
37
|
-
export { IcActivationTypes, IcAdditionalFieldTypes, IcAlignment, IcAutocompleteTypes, IcAutocorrectStates, IcBlurEventDetail, IcColor, IcDeviceSizes, IcEmphasisType, IcInformationStatusOrEmpty, IcMenuOption, IcOrientation, IcSearchMatchPositions, IcSelectMethodTypes, IcSelectTypes, IcSizes, IcSizesNoLarge, IcStatusVariants,
|
37
|
+
export { IcActivationTypes, IcAdditionalFieldTypes, IcAlignment, IcAutocompleteTypes, IcAutocorrectStates, IcBlurEventDetail, IcBrand, IcBrandForeground, IcColor, IcDeviceSizes, IcEmphasisType, IcInformationStatusOrEmpty, IcMenuOption, IcOrientation, IcSearchMatchPositions, IcSelectMethodTypes, IcSelectTypes, IcSizes, IcSizesNoLarge, IcStatusVariants, IcThemeMode, IcTypographyVariants, IcValueEventDetail } from "./utils/types";
|
38
38
|
export { IcBackToTopVariants } from "./components/ic-back-to-top/ic-back-to-top.types";
|
39
39
|
export { IcBadgePositions, IcBadgeTypes, IcBadgeVariants } from "./components/ic-badge/ic-badge.types";
|
40
40
|
export { IcButtonTooltipPlacement, IcButtonTypes, IcButtonVariants } from "./components/ic-button/ic-button.types";
|
@@ -552,6 +552,10 @@ export namespace Components {
|
|
552
552
|
* If `true`, the chip will appear disabled.
|
553
553
|
*/
|
554
554
|
"disabled"?: boolean;
|
555
|
+
/**
|
556
|
+
* The text in the dismiss button tooltip and aria label.
|
557
|
+
*/
|
558
|
+
"dismissLabel"?: string;
|
555
559
|
/**
|
556
560
|
* If `true`, the chip will have a close button at the end to dismiss it.
|
557
561
|
*/
|
@@ -717,7 +721,7 @@ export namespace Components {
|
|
717
721
|
/**
|
718
722
|
* Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
|
719
723
|
*/
|
720
|
-
"theme"?: IcThemeMode |
|
724
|
+
"theme"?: IcThemeMode | IcBrandForeground;
|
721
725
|
/**
|
722
726
|
* The thickness of the divider.
|
723
727
|
*/
|
@@ -849,7 +853,7 @@ export namespace Components {
|
|
849
853
|
/**
|
850
854
|
* The appearance of the horizontal scroll, e.g. dark, light or the default.
|
851
855
|
*/
|
852
|
-
"appearance"?:
|
856
|
+
"appearance"?: IcBrandForeground;
|
853
857
|
"focusTrigger"?: string;
|
854
858
|
"monochrome"?: boolean;
|
855
859
|
"scrollItemIntoView": (itemPosition: number) => Promise<void>;
|
@@ -1046,7 +1050,7 @@ export namespace Components {
|
|
1046
1050
|
* The reference to an anchor element the menu will position itself from when rendered.
|
1047
1051
|
*/
|
1048
1052
|
"anchorEl": HTMLElement;
|
1049
|
-
"
|
1053
|
+
"autofocusOnSelected": boolean;
|
1050
1054
|
/**
|
1051
1055
|
* If `true`, the menu will close when an option is selected.
|
1052
1056
|
*/
|
@@ -1662,7 +1666,7 @@ export namespace Components {
|
|
1662
1666
|
}
|
1663
1667
|
interface IcSelect {
|
1664
1668
|
/**
|
1665
|
-
* The amount of time, in milliseconds, to wait to trigger the `
|
1669
|
+
* The amount of time, in milliseconds, to wait to trigger the `icInput` event after each keystroke.
|
1666
1670
|
*/
|
1667
1671
|
"debounce"?: number;
|
1668
1672
|
/**
|
@@ -2027,10 +2031,6 @@ export namespace Components {
|
|
2027
2031
|
"ariaAutocomplete": IcAriaAutocompleteTypes;
|
2028
2032
|
"ariaExpanded": string;
|
2029
2033
|
"ariaOwns": string;
|
2030
|
-
/**
|
2031
|
-
* If `true`, the form control will have input focus when the page loads.
|
2032
|
-
*/
|
2033
|
-
"autoFocus": boolean;
|
2034
2034
|
/**
|
2035
2035
|
* The automatic capitalisation of the text value as it is entered/edited by the user. Available options: "off", "none", "on", "sentences", "words", "characters".
|
2036
2036
|
*/
|
@@ -2043,6 +2043,10 @@ export namespace Components {
|
|
2043
2043
|
* The state of autocorrection the browser can apply when the user is entering/editing the text value.
|
2044
2044
|
*/
|
2045
2045
|
"autocorrect": IcAutocorrectStates;
|
2046
|
+
/**
|
2047
|
+
* If `true`, the form control will have input focus when the page loads.
|
2048
|
+
*/
|
2049
|
+
"autofocus": boolean;
|
2046
2050
|
/**
|
2047
2051
|
* The amount of time, in milliseconds, to wait to trigger the `icChange` event after each keystroke.
|
2048
2052
|
*/
|
@@ -2162,9 +2166,9 @@ export namespace Components {
|
|
2162
2166
|
}
|
2163
2167
|
interface IcTheme {
|
2164
2168
|
/**
|
2165
|
-
* The
|
2169
|
+
* The brand colour. Can be a hex value e.g. "#ff0000", RGB e.g. "rgb(255, 0, 0)", or RGBA e.g. "rgba(255, 0, 0, 1)".
|
2166
2170
|
*/
|
2167
|
-
"
|
2171
|
+
"brandColor"?: IcColor;
|
2168
2172
|
/**
|
2169
2173
|
* The theme mode. Can be "dark", "light", or "system". "system" will use the device or browser settings.
|
2170
2174
|
*/
|
@@ -2813,6 +2817,7 @@ declare global {
|
|
2813
2817
|
new (): HTMLIcLoadingIndicatorElement;
|
2814
2818
|
};
|
2815
2819
|
interface HTMLIcMenuElementEventMap {
|
2820
|
+
"icClear": void;
|
2816
2821
|
"menuKeyPress": { isNavKey: boolean; key: string };
|
2817
2822
|
"menuOptionId": IcMenuOptionIdEventDetail;
|
2818
2823
|
"menuOptionSelect": IcOptionSelectEventDetail;
|
@@ -3015,6 +3020,7 @@ declare global {
|
|
3015
3020
|
"icSubmitSearchBlur": IcBlurEventDetail;
|
3016
3021
|
"icSearchBarBlur": IcSearchBarBlurEventDetail;
|
3017
3022
|
"icSearchBarFocus": IcValueEventDetail;
|
3023
|
+
"icKeydown": { event: KeyboardEvent };
|
3018
3024
|
}
|
3019
3025
|
interface HTMLIcSearchBarElement extends Components.IcSearchBar, HTMLStencilElement {
|
3020
3026
|
addEventListener<K extends keyof HTMLIcSearchBarElementEventMap>(type: K, listener: (this: HTMLIcSearchBarElement, ev: IcSearchBarCustomEvent<HTMLIcSearchBarElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
@@ -3207,7 +3213,7 @@ declare global {
|
|
3207
3213
|
new (): HTMLIcTextFieldElement;
|
3208
3214
|
};
|
3209
3215
|
interface HTMLIcThemeElementEventMap {
|
3210
|
-
"
|
3216
|
+
"brandChange": IcBrand;
|
3211
3217
|
}
|
3212
3218
|
interface HTMLIcThemeElement extends Components.IcTheme, HTMLStencilElement {
|
3213
3219
|
addEventListener<K extends keyof HTMLIcThemeElementEventMap>(type: K, listener: (this: HTMLIcThemeElement, ev: IcThemeCustomEvent<HTMLIcThemeElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
@@ -3878,6 +3884,10 @@ declare namespace LocalJSX {
|
|
3878
3884
|
* If `true`, the chip will appear disabled.
|
3879
3885
|
*/
|
3880
3886
|
"disabled"?: boolean;
|
3887
|
+
/**
|
3888
|
+
* The text in the dismiss button tooltip and aria label.
|
3889
|
+
*/
|
3890
|
+
"dismissLabel"?: string;
|
3881
3891
|
/**
|
3882
3892
|
* If `true`, the chip will have a close button at the end to dismiss it.
|
3883
3893
|
*/
|
@@ -4051,7 +4061,7 @@ declare namespace LocalJSX {
|
|
4051
4061
|
/**
|
4052
4062
|
* Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component.
|
4053
4063
|
*/
|
4054
|
-
"theme"?: IcThemeMode |
|
4064
|
+
"theme"?: IcThemeMode | IcBrandForeground;
|
4055
4065
|
/**
|
4056
4066
|
* The thickness of the divider.
|
4057
4067
|
*/
|
@@ -4183,7 +4193,7 @@ declare namespace LocalJSX {
|
|
4183
4193
|
/**
|
4184
4194
|
* The appearance of the horizontal scroll, e.g. dark, light or the default.
|
4185
4195
|
*/
|
4186
|
-
"appearance"?:
|
4196
|
+
"appearance"?: IcBrandForeground;
|
4187
4197
|
}
|
4188
4198
|
interface IcInputComponentContainer {
|
4189
4199
|
/**
|
@@ -4394,6 +4404,10 @@ declare namespace LocalJSX {
|
|
4394
4404
|
* The ID of the menu.
|
4395
4405
|
*/
|
4396
4406
|
"menuId": string;
|
4407
|
+
/**
|
4408
|
+
* Emitted when the clear all button is clicked.
|
4409
|
+
*/
|
4410
|
+
"onIcClear"?: (event: IcMenuCustomEvent<void>) => void;
|
4397
4411
|
/**
|
4398
4412
|
* If `true`, the menu will be displayed open.
|
4399
4413
|
*/
|
@@ -4918,6 +4932,10 @@ declare namespace LocalJSX {
|
|
4918
4932
|
* Emitted when a keyboard input occurred.
|
4919
4933
|
*/
|
4920
4934
|
"onIcInput"?: (event: IcSearchBarCustomEvent<IcValueEventDetail>) => void;
|
4935
|
+
/**
|
4936
|
+
* Emitted when a keydown event occurred.
|
4937
|
+
*/
|
4938
|
+
"onIcKeydown"?: (event: IcSearchBarCustomEvent<{ event: KeyboardEvent }>) => void;
|
4921
4939
|
/**
|
4922
4940
|
* Emitted when the state of the menu changes (i.e. open or close)
|
4923
4941
|
*/
|
@@ -4999,7 +5017,7 @@ declare namespace LocalJSX {
|
|
4999
5017
|
}
|
5000
5018
|
interface IcSelect {
|
5001
5019
|
/**
|
5002
|
-
* The amount of time, in milliseconds, to wait to trigger the `
|
5020
|
+
* The amount of time, in milliseconds, to wait to trigger the `icInput` event after each keystroke.
|
5003
5021
|
*/
|
5004
5022
|
"debounce"?: number;
|
5005
5023
|
/**
|
@@ -5071,7 +5089,7 @@ declare namespace LocalJSX {
|
|
5071
5089
|
*/
|
5072
5090
|
"onIcChange"?: (event: IcSelectCustomEvent<IcValueEventDetail>) => void;
|
5073
5091
|
/**
|
5074
|
-
* Emitted when the clear button is clicked.
|
5092
|
+
* Emitted when the clear or clear all button is clicked.
|
5075
5093
|
*/
|
5076
5094
|
"onIcClear"?: (event: IcSelectCustomEvent<void>) => void;
|
5077
5095
|
/**
|
@@ -5384,10 +5402,6 @@ declare namespace LocalJSX {
|
|
5384
5402
|
interface IcTabPanel {
|
5385
5403
|
}
|
5386
5404
|
interface IcTextField {
|
5387
|
-
/**
|
5388
|
-
* If `true`, the form control will have input focus when the page loads.
|
5389
|
-
*/
|
5390
|
-
"autoFocus"?: boolean;
|
5391
5405
|
/**
|
5392
5406
|
* The automatic capitalisation of the text value as it is entered/edited by the user. Available options: "off", "none", "on", "sentences", "words", "characters".
|
5393
5407
|
*/
|
@@ -5400,6 +5414,10 @@ declare namespace LocalJSX {
|
|
5400
5414
|
* The state of autocorrection the browser can apply when the user is entering/editing the text value.
|
5401
5415
|
*/
|
5402
5416
|
"autocorrect"?: IcAutocorrectStates;
|
5417
|
+
/**
|
5418
|
+
* If `true`, the form control will have input focus when the page loads.
|
5419
|
+
*/
|
5420
|
+
"autofocus"?: boolean;
|
5403
5421
|
/**
|
5404
5422
|
* The amount of time, in milliseconds, to wait to trigger the `icChange` event after each keystroke.
|
5405
5423
|
*/
|
@@ -5531,9 +5549,9 @@ declare namespace LocalJSX {
|
|
5531
5549
|
}
|
5532
5550
|
interface IcTheme {
|
5533
5551
|
/**
|
5534
|
-
* The
|
5552
|
+
* The brand colour. Can be a hex value e.g. "#ff0000", RGB e.g. "rgb(255, 0, 0)", or RGBA e.g. "rgba(255, 0, 0, 1)".
|
5535
5553
|
*/
|
5536
|
-
"
|
5554
|
+
"brandColor"?: IcColor;
|
5537
5555
|
/**
|
5538
5556
|
* The theme mode. Can be "dark", "light", or "system". "system" will use the device or browser settings.
|
5539
5557
|
*/
|
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="jest" />
|
1
2
|
type TestKeyboardEvent = {
|
2
3
|
key: string;
|
3
4
|
preventDefault: () => void;
|
@@ -7,6 +8,14 @@ type TestKeyboardEvent = {
|
|
7
8
|
id: string;
|
8
9
|
};
|
9
10
|
};
|
11
|
+
export declare const mockMutationObserverImplementation: jest.SpyInstance<MutationObserver, [callback: MutationCallback]>;
|
12
|
+
export type MockMutationRecord = {
|
13
|
+
addedNodes?: Node[];
|
14
|
+
removedNodes?: Node[];
|
15
|
+
target?: Node;
|
16
|
+
};
|
17
|
+
export declare const mockRenderDynamicChildSlots: jest.SpyInstance<void, [mutationList: MutationRecord[], slotNames: string | string[], ref: any]>;
|
18
|
+
export declare const mockHasDynamicChildSlots: jest.SpyInstance<boolean, [mutationList: MutationRecord[], slotNames: string | string[]]>;
|
10
19
|
export declare const waitForTimeout: (ms: number) => Promise<void>;
|
11
20
|
export declare const mockDeviceSize: (size: number) => void;
|
12
21
|
export declare const waitForNavGroupLoad: () => Promise<void>;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { EventEmitter } from "../stencil-public-runtime";
|
2
|
-
import { IcCallbackFunctionNoReturn, IcInformationStatusOrEmpty, IcNavParentDetails, IcPropObject, IcSearchMatchPositions, IcColorRGBA, IcDeviceSizes, IcColor,
|
3
|
-
import { IcMenuOption,
|
2
|
+
import { IcCallbackFunctionNoReturn, IcInformationStatusOrEmpty, IcNavParentDetails, IcPropObject, IcSearchMatchPositions, IcColorRGBA, IcDeviceSizes, IcColor, IcBrandForegroundNoDefault } from "./types";
|
3
|
+
import { IcMenuOption, IcBrandForeground } from "../utils/types";
|
4
4
|
/**
|
5
5
|
* converts an enum of strings into an array of strings
|
6
6
|
*/
|
@@ -60,9 +60,9 @@ export declare const getInputDescribedByText: (inputId: string, helperText: bool
|
|
60
60
|
* are part of an IC component.
|
61
61
|
*
|
62
62
|
* ""
|
63
|
-
* @returns
|
63
|
+
* @returns IcBrandForeground depending on the context
|
64
64
|
*/
|
65
|
-
export declare const
|
65
|
+
export declare const getBrandFromContext: (el: Element, brandFromEvent?: IcBrandForeground) => IcBrandForeground;
|
66
66
|
/**
|
67
67
|
* Checks if the current device is a mobile or tablet device.
|
68
68
|
* @returns {boolean} Returns true if the device is a mobile or tablet device, otherwise returns false.
|
@@ -108,16 +108,16 @@ export declare const getCssProperty: (cssVar: string) => string;
|
|
108
108
|
* Returns the brightness of the theme colour, calculated by using the theme RGB CSS values by:
|
109
109
|
* - Multiplying each RGB value by a set number: https://www.w3.org/TR/AERT/#color-contrast
|
110
110
|
* - Adding them together and dividing by 1000
|
111
|
-
* This is a similar calculation to its CSS counterpart: "--ic-
|
111
|
+
* This is a similar calculation to its CSS counterpart: "--ic-brand-text-color"
|
112
112
|
* @returns number representing the brightness of the theme colour
|
113
113
|
*/
|
114
|
-
export declare const
|
114
|
+
export declare const getBrandColorBrightness: () => number;
|
115
115
|
/**
|
116
116
|
* Returns if dark or light foreground colors should be used for color contrast reasons
|
117
117
|
* @returns "dark" or "light"
|
118
|
-
* @param brightness - Optional custom brightness value. Defaults to `
|
118
|
+
* @param brightness - Optional custom brightness value. Defaults to `getBrandColorBrightness`
|
119
119
|
*/
|
120
|
-
export declare const
|
120
|
+
export declare const getBrandForegroundAppearance: (brightness?: number) => IcBrandForegroundNoDefault;
|
121
121
|
export declare const getSlot: (element: HTMLElement, name: string) => Element | null;
|
122
122
|
export declare const slotHasContent: (element: HTMLElement, name: string) => boolean;
|
123
123
|
export declare const getSlotContent: (element: HTMLElement, name: string) => Element[] | NodeListOf<ChildNode> | null;
|
@@ -144,6 +144,10 @@ export declare const hasClassificationBanner: () => boolean;
|
|
144
144
|
export declare const addFormResetListener: (el: HTMLElement, callbackFn: IcCallbackFunctionNoReturn) => void;
|
145
145
|
export declare const removeFormResetListener: (el: HTMLElement, callbackFn: IcCallbackFunctionNoReturn) => void;
|
146
146
|
export declare const pxToRem: (px: string, base?: number) => string;
|
147
|
+
/**
|
148
|
+
* Removes the disabled attribute from the provided element when its value is set to false.
|
149
|
+
* This effectively makes it null, to not confuse screen readers that cannot interpret the false value
|
150
|
+
*/
|
147
151
|
export declare const removeDisabledFalse: (disabled: boolean, element: HTMLElement) => void;
|
148
152
|
export declare const isMacDevice: () => boolean;
|
149
153
|
export declare const isNumeric: (value: string) => boolean;
|
@@ -152,3 +156,5 @@ export declare const convertToRGBA: (color: IcColor) => IcColorRGBA | null;
|
|
152
156
|
export declare const capitalize: (text: string) => string;
|
153
157
|
export declare const checkSlotInChildMutations: (addedNodes: NodeList, removedNodes: NodeList, slotName: string | string[]) => boolean;
|
154
158
|
export declare const isElInAGGrid: (el: HTMLElement) => boolean;
|
159
|
+
export declare const hasDynamicChildSlots: (mutationList: MutationRecord[], slotNames: string | string[]) => boolean;
|
160
|
+
export declare const renderDynamicChildSlots: (mutationList: MutationRecord[], slotNames: string | string[], ref: any) => void;
|
@@ -11,16 +11,16 @@ export type IcInformationStatusOrEmpty = "warning" | "error" | "success" | "";
|
|
11
11
|
export type IcNavType = "side" | "top" | "page-header";
|
12
12
|
export type IcAutocompleteTypes = "on" | "off" | "name" | "honorific-prefix" | "given-name" | "additional-name" | "family-name" | "honorific-suffix" | "nickname" | "email" | "username" | "new-password" | "current-password" | "one-time-code" | "organization-title" | "organization" | "street-address" | "address-line1" | "address-line2" | "address-line3" | "address-level4" | "address-level3" | "address-level2" | "address-level1" | "country" | "country-name" | "postal-code" | "cc-name" | "cc-given-name" | "cc-additional-name" | "cc-family-name" | "cc-family-name" | "cc-number" | "cc-exp" | "cc-exp-month" | "cc-exp-year" | "cc-csc" | "cc-type" | "transaction-currency" | "transaction-amount" | "language" | "bday" | "bday-day" | "bday-month" | "bday-year" | "sex" | "tel" | "tel-country-code" | "tel-national" | "tel-area-code" | "tel-local" | "tel-extension" | "impp" | "url" | "photo";
|
13
13
|
export type IcAlignment = "left" | "center" | "full-width";
|
14
|
-
export declare enum
|
14
|
+
export declare enum IcBrandForegroundEnum {
|
15
15
|
Default = "default",
|
16
16
|
Dark = "dark",
|
17
17
|
Light = "light"
|
18
18
|
}
|
19
19
|
export type IcThemeMode = "dark" | "light" | "inherit";
|
20
|
-
export type
|
21
|
-
export type
|
22
|
-
export type
|
23
|
-
mode:
|
20
|
+
export type IcBrandForeground = "default" | "dark" | "light";
|
21
|
+
export type IcBrandForegroundNoDefault = "dark" | "light";
|
22
|
+
export type IcBrand = {
|
23
|
+
mode: IcBrandForeground;
|
24
24
|
color: IcColorRGB;
|
25
25
|
};
|
26
26
|
export type IcAdditionalFieldTypes = "static" | "dynamic";
|