@ukic/web-components 3.21.0 → 3.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/{helpers-3a796e7a.js → helpers-81cd6930.js} +3 -16
- package/dist/cjs/helpers-81cd6930.js.map +1 -0
- package/dist/cjs/ic-accordion-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
- package/dist/cjs/ic-action-chip.cjs.entry.js +7 -3
- package/dist/cjs/ic-action-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-alert.cjs.entry.js +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
- package/dist/cjs/ic-badge.cjs.entry.js +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 +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card-horizontal.cjs.entry.js +1 -1
- package/dist/cjs/ic-card-vertical.cjs.entry.js +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +7 -3
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-classification-banner.cjs.entry.js +13 -5
- package/dist/cjs/ic-classification-banner.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 +1 -1
- package/dist/cjs/ic-empty-state.cjs.entry.js +1 -1
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +1 -1
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +1 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +212 -80
- 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 +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +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-bar.cjs.entry.js +389 -0
- package/dist/cjs/ic-pagination-bar.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-pagination-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-pagination_3.cjs.entry.js +1412 -0
- package/dist/cjs/ic-pagination_3.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-popover-menu.cjs.entry.js +5 -5
- package/dist/cjs/ic-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +11 -11
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
- package/dist/cjs/ic-side-navigation.cjs.entry.js +18 -9
- package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/ic-skip-link.cjs.entry.js +2 -2
- package/dist/cjs/ic-status-tag.cjs.entry.js +3 -3
- package/dist/cjs/ic-step.cjs.entry.js +14 -14
- package/dist/cjs/ic-stepper.cjs.entry.js +3 -3
- package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +5 -5
- package/dist/cjs/ic-tab-context.cjs.entry.js +1 -2
- package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/ic-tab.cjs.entry.js +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +2 -2
- package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +8 -7
- package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-toggle-button.cjs.entry.js +3 -3
- package/dist/cjs/ic-top-navigation.cjs.entry.js +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +1 -1
- package/dist/cjs/index-d337cd8a.js +12 -16
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/ic-action-chip/ic-action-chip.css +15 -2
- package/dist/collection/components/ic-action-chip/ic-action-chip.js +5 -1
- package/dist/collection/components/ic-action-chip/ic-action-chip.js.map +1 -1
- package/dist/collection/components/ic-checkbox/ic-checkbox.js +4 -5
- package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
- package/dist/collection/components/ic-chip/ic-chip.css +15 -3
- package/dist/collection/components/ic-chip/ic-chip.js +5 -1
- package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +33 -5
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +1 -1
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.stories.js +32 -0
- package/dist/collection/components/ic-menu/ic-menu.css +6 -1
- package/dist/collection/components/ic-menu/ic-menu.js +184 -53
- package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.css +104 -0
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +895 -0
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -0
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.stories.js +215 -0
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.types.js +2 -0
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.types.js.map +1 -0
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +4 -4
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +10 -11
- package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
- package/dist/collection/components/ic-section-container/ic-section-container.js +2 -2
- package/dist/collection/components/ic-select/ic-select.css +1 -2
- package/dist/collection/components/ic-select/ic-select.js +414 -589
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-select/ic-select.types.js +2 -0
- package/dist/collection/components/ic-select/ic-select.types.js.map +1 -0
- package/dist/collection/components/ic-select/ic-select_(searchable).stories.js +26 -21
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +18 -9
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
- package/dist/collection/components/ic-skeleton/ic-skeleton.js +2 -2
- package/dist/collection/components/ic-skip-link/ic-skip-link.js +2 -2
- package/dist/collection/components/ic-status-tag/ic-status-tag.js +2 -2
- package/dist/collection/components/ic-step/ic-step.js +13 -13
- package/dist/collection/components/ic-stepper/ic-stepper.js +2 -2
- package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
- package/dist/collection/components/ic-switch/ic-switch.js +4 -4
- package/dist/collection/components/ic-tab-context/ic-tab-context.js +1 -2
- package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
- package/dist/collection/components/ic-tab-group/ic-tab-group.js +2 -2
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +2 -2
- package/dist/collection/components/ic-theme/ic-theme.js +1 -1
- package/dist/collection/components/ic-toast/ic-toast.js +7 -6
- package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
- package/dist/collection/components/ic-toast-region/ic-toast-region.js +1 -1
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +2 -2
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +2 -2
- package/dist/collection/utils/helpers.js +2 -15
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/components/helpers.js +3 -16
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/ic-action-chip.js +6 -2
- package/dist/components/ic-action-chip.js.map +1 -1
- package/dist/components/ic-card-vertical.js.map +1 -1
- package/dist/components/ic-checkbox.js +4 -4
- package/dist/components/ic-checkbox.js.map +1 -1
- package/dist/components/ic-chip.js +6 -2
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-classification-banner.js +14 -5
- package/dist/components/ic-classification-banner.js.map +1 -1
- package/dist/components/ic-menu2.js +213 -79
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-pagination-bar.d.ts +11 -0
- package/dist/components/ic-pagination-bar.js +523 -0
- package/dist/components/ic-pagination-bar.js.map +1 -0
- package/dist/components/ic-pagination.js +1 -375
- package/dist/components/ic-pagination.js.map +1 -1
- package/dist/{esm/ic-pagination.entry.js → components/ic-pagination2.js} +82 -11
- package/dist/components/ic-pagination2.js.map +1 -0
- package/dist/components/ic-popover-menu.js +4 -4
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +11 -11
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-section-container2.js +2 -2
- package/dist/components/ic-select.js +1 -994
- package/dist/components/ic-select.js.map +1 -1
- package/dist/components/ic-select2.js +804 -0
- package/dist/components/ic-select2.js.map +1 -0
- package/dist/components/ic-side-navigation.js +18 -9
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-skeleton.js +2 -2
- package/dist/components/ic-skip-link.js +2 -2
- package/dist/components/ic-status-tag.js +2 -2
- package/dist/components/ic-step.js +13 -13
- package/dist/components/ic-stepper.js +2 -2
- package/dist/components/ic-stepper.js.map +1 -1
- package/dist/components/ic-switch.js +4 -4
- package/dist/components/ic-switch.js.map +1 -1
- package/dist/components/ic-tab-context.js +1 -2
- package/dist/components/ic-tab-context.js.map +1 -1
- package/dist/components/ic-tab-group.js +2 -2
- package/dist/components/ic-tab-panel.js +2 -2
- package/dist/components/ic-tab-panel.js.map +1 -1
- package/dist/components/ic-text-field.js +1 -528
- package/dist/components/ic-text-field.js.map +1 -1
- package/dist/{esm/ic-text-field.entry.js → components/ic-text-field2.js} +114 -11
- package/dist/components/ic-text-field2.js.map +1 -0
- package/dist/components/ic-theme.js +1 -1
- package/dist/components/ic-toast-region.js +1 -1
- package/dist/components/ic-toast.js +7 -6
- package/dist/components/ic-toast.js.map +1 -1
- package/dist/components/ic-toggle-button-group.js +2 -2
- package/dist/components/ic-toggle-button.js +2 -2
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-0a24c536.entry.js → p-05fd2707.entry.js} +2 -2
- package/dist/core/{p-85e15d01.entry.js → p-09505807.entry.js} +2 -2
- package/dist/core/{p-96bc7d24.entry.js → p-09caf7ed.entry.js} +2 -2
- package/dist/core/p-09caf7ed.entry.js.map +1 -0
- package/dist/core/{p-9057a186.entry.js → p-0b728f50.entry.js} +2 -2
- package/dist/core/{p-9057a186.entry.js.map → p-0b728f50.entry.js.map} +1 -1
- package/dist/core/p-0fb7f915.entry.js +2 -0
- package/dist/core/p-0fb7f915.entry.js.map +1 -0
- package/dist/core/{p-41a5da12.entry.js → p-1b81ec88.entry.js} +2 -2
- package/dist/core/{p-99951365.entry.js → p-2691cc80.entry.js} +2 -2
- package/dist/core/{p-94916588.entry.js → p-2a124daf.entry.js} +2 -2
- package/dist/core/{p-04c77b2d.entry.js → p-2b87c592.entry.js} +2 -2
- package/dist/core/{p-4aa56990.entry.js → p-2bd80913.entry.js} +2 -2
- package/dist/core/{p-aed1c7e7.entry.js → p-347cc084.entry.js} +2 -2
- package/dist/core/p-393af2bc.entry.js +2 -0
- package/dist/core/p-393af2bc.entry.js.map +1 -0
- package/dist/core/{p-a3dea729.entry.js → p-3aed13ba.entry.js} +2 -2
- package/dist/core/{p-8da90b72.entry.js → p-46fd555f.entry.js} +2 -2
- package/dist/core/{p-43cc0f1d.entry.js → p-48a628f0.entry.js} +2 -2
- package/dist/core/{p-9a4e067f.entry.js → p-4f56acff.entry.js} +2 -2
- package/dist/core/{p-3021290f.entry.js → p-506d428a.entry.js} +2 -2
- package/dist/core/{p-a1b2f483.entry.js → p-50dca790.entry.js} +2 -2
- package/dist/core/p-53ab3c0f.entry.js +2 -0
- package/dist/core/p-53ab3c0f.entry.js.map +1 -0
- package/dist/core/{p-feef7c2c.entry.js → p-56de4f4b.entry.js} +2 -2
- package/dist/core/{p-b4e322fe.entry.js → p-5900cb65.entry.js} +2 -2
- package/dist/core/{p-78a54069.entry.js → p-5976de6e.entry.js} +2 -2
- package/dist/core/{p-2af89564.entry.js → p-61d79fc6.entry.js} +2 -2
- package/dist/core/{p-2af89564.entry.js.map → p-61d79fc6.entry.js.map} +1 -1
- package/dist/core/p-659d048d.entry.js +2 -0
- package/dist/core/{p-1edf2689.entry.js → p-67de1290.entry.js} +2 -2
- package/dist/core/p-6b4ec95f.entry.js +3 -0
- package/dist/core/p-6b4ec95f.entry.js.map +1 -0
- package/dist/core/{p-f700b759.entry.js → p-73043f57.entry.js} +2 -2
- package/dist/core/{p-7b8e5926.entry.js → p-735d3096.entry.js} +2 -2
- package/dist/core/{p-07075461.entry.js → p-7b538fd1.entry.js} +2 -2
- package/dist/core/{p-cfd43558.entry.js → p-80d85403.entry.js} +2 -2
- package/dist/core/{p-7f279c8a.entry.js → p-83578f1d.entry.js} +2 -2
- package/dist/core/{p-7f279c8a.entry.js.map → p-83578f1d.entry.js.map} +1 -1
- package/dist/core/{p-b8c0c142.entry.js → p-880f7548.entry.js} +2 -2
- package/dist/core/p-880f7548.entry.js.map +1 -0
- package/dist/core/{p-79949920.entry.js → p-8a833e82.entry.js} +2 -2
- package/dist/core/{p-0aba9e31.entry.js → p-90678e67.entry.js} +2 -2
- package/dist/core/{p-a851eb65.entry.js → p-9502fb86.entry.js} +2 -2
- package/dist/core/{p-2ca7f050.entry.js → p-99433296.entry.js} +2 -2
- package/dist/core/p-99433296.entry.js.map +1 -0
- package/dist/core/{p-f6de08fb.entry.js → p-9c2b2cb9.entry.js} +2 -2
- package/dist/core/{p-949d08d3.entry.js → p-9cb83a2e.entry.js} +2 -2
- package/dist/core/{p-f0ecb80b.entry.js → p-a08d6b46.entry.js} +2 -2
- package/dist/core/p-a321feee.entry.js +2 -0
- package/dist/core/p-a321feee.entry.js.map +1 -0
- package/dist/core/{p-208f470f.entry.js → p-a780a34b.entry.js} +2 -2
- package/dist/core/{p-387b7bca.entry.js → p-aad03a3c.entry.js} +2 -2
- package/dist/core/{p-ec14c783.entry.js → p-aaf4e367.entry.js} +2 -2
- package/dist/core/{p-707ae6e9.entry.js → p-b52c44eb.entry.js} +2 -2
- package/dist/core/{p-716e7eaf.entry.js → p-b777f0a1.entry.js} +2 -2
- package/dist/core/p-b777f0a1.entry.js.map +1 -0
- package/dist/core/p-b77b1e1f.js +2 -0
- package/dist/core/p-b77b1e1f.js.map +1 -0
- package/dist/core/{p-780babc0.entry.js → p-b997ad5e.entry.js} +2 -2
- package/dist/core/{p-a0af1b0a.entry.js → p-bb7652cd.entry.js} +2 -2
- package/dist/core/{p-ded4cd76.entry.js → p-cbca04bb.entry.js} +2 -2
- package/dist/core/{p-99687bce.entry.js → p-cc64e5ef.entry.js} +2 -2
- package/dist/core/{p-812c5e61.entry.js → p-cfbacca1.entry.js} +2 -2
- package/dist/core/{p-0da2caa2.entry.js → p-daec7e69.entry.js} +2 -2
- package/dist/core/{p-1590fd69.entry.js → p-e7767c0d.entry.js} +2 -2
- package/dist/core/p-e938eb31.entry.js +2 -0
- package/dist/core/p-e938eb31.entry.js.map +1 -0
- package/dist/core/{p-dce11b9d.entry.js → p-ea7a3d30.entry.js} +2 -2
- package/dist/core/{p-880afd4b.entry.js → p-ebd688b9.entry.js} +2 -2
- package/dist/core/p-ebd688b9.entry.js.map +1 -0
- package/dist/core/{p-a674b13b.entry.js → p-ef70ea50.entry.js} +2 -2
- package/dist/core/{p-d25d0aad.entry.js → p-f64996f1.entry.js} +2 -2
- package/dist/core/{p-db17a793.entry.js → p-f661ba76.entry.js} +2 -2
- package/dist/core/{p-a03bb31c.entry.js → p-f84ac9c6.entry.js} +2 -2
- package/dist/core/{p-f3406b42.entry.js → p-fb9376f0.entry.js} +2 -2
- package/dist/esm/core.js +1 -1
- package/dist/esm/{helpers-0f85537f.js → helpers-66681c73.js} +4 -17
- package/dist/esm/helpers-66681c73.js.map +1 -0
- package/dist/esm/ic-accordion-group.entry.js +1 -1
- package/dist/esm/ic-accordion.entry.js +1 -1
- package/dist/esm/ic-action-chip.entry.js +7 -3
- package/dist/esm/ic-action-chip.entry.js.map +1 -1
- package/dist/esm/ic-alert.entry.js +1 -1
- package/dist/esm/ic-back-to-top.entry.js +1 -1
- package/dist/esm/ic-badge.entry.js +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 +1 -1
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card-horizontal.entry.js +1 -1
- package/dist/esm/ic-card-vertical.entry.js +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +1 -1
- package/dist/esm/ic-checkbox.entry.js +5 -5
- package/dist/esm/ic-checkbox.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +7 -3
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-classification-banner.entry.js +13 -5
- package/dist/esm/ic-classification-banner.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 +1 -1
- package/dist/esm/ic-empty-state.entry.js +1 -1
- package/dist/esm/ic-footer-link-group.entry.js +1 -1
- package/dist/esm/ic-footer-link.entry.js +1 -1
- package/dist/esm/ic-footer.entry.js +1 -1
- package/dist/esm/ic-hero.entry.js +1 -1
- package/dist/esm/ic-horizontal-scroll.entry.js +1 -1
- package/dist/esm/ic-input-component-container_3.entry.js +212 -80
- 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 +1 -1
- package/dist/esm/ic-menu-group.entry.js +1 -1
- package/dist/esm/ic-menu-item.entry.js +1 -1
- package/dist/esm/ic-navigation-button.entry.js +1 -1
- package/dist/esm/ic-navigation-group.entry.js +1 -1
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +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-bar.entry.js +385 -0
- package/dist/esm/ic-pagination-bar.entry.js.map +1 -0
- package/dist/esm/ic-pagination-item.entry.js +1 -1
- package/dist/esm/ic-pagination_3.entry.js +1406 -0
- package/dist/esm/ic-pagination_3.entry.js.map +1 -0
- package/dist/esm/ic-popover-menu.entry.js +5 -5
- package/dist/esm/ic-radio-group.entry.js +1 -1
- package/dist/esm/ic-radio-option.entry.js +1 -1
- package/dist/esm/ic-search-bar.entry.js +11 -11
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-section-container.entry.js +2 -2
- package/dist/esm/ic-side-navigation.entry.js +18 -9
- package/dist/esm/ic-side-navigation.entry.js.map +1 -1
- package/dist/esm/ic-skeleton.entry.js +2 -2
- package/dist/esm/ic-skip-link.entry.js +2 -2
- package/dist/esm/ic-status-tag.entry.js +3 -3
- package/dist/esm/ic-step.entry.js +14 -14
- package/dist/esm/ic-stepper.entry.js +3 -3
- package/dist/esm/ic-stepper.entry.js.map +1 -1
- package/dist/esm/ic-switch.entry.js +5 -5
- package/dist/esm/ic-tab-context.entry.js +1 -2
- package/dist/esm/ic-tab-context.entry.js.map +1 -1
- package/dist/esm/ic-tab-group.entry.js +3 -3
- package/dist/esm/ic-tab-panel.entry.js +2 -2
- package/dist/esm/ic-tab.entry.js +1 -1
- package/dist/esm/ic-theme.entry.js +2 -2
- package/dist/esm/ic-toast-region.entry.js +1 -1
- package/dist/esm/ic-toast.entry.js +8 -7
- package/dist/esm/ic-toast.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button-group.entry.js +3 -3
- package/dist/esm/ic-toggle-button.entry.js +3 -3
- package/dist/esm/ic-top-navigation.entry.js +1 -1
- package/dist/esm/ic-typography.entry.js +1 -1
- package/dist/esm/index-a7a720e7.js +12 -16
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-classification-banner/ic-classification-banner.d.ts +4 -0
- package/dist/types/components/ic-menu/ic-menu.d.ts +11 -1
- package/dist/types/components/ic-pagination-bar/ic-pagination-bar.d.ts +162 -0
- package/dist/types/components/ic-pagination-bar/ic-pagination-bar.types.d.ts +8 -0
- package/dist/types/components/ic-select/ic-select.d.ts +53 -80
- package/dist/types/components/ic-select/ic-select.types.d.ts +43 -0
- package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +3 -2
- package/dist/types/components.d.ts +234 -5
- package/dist/types/utils/helpers.d.ts +2 -4
- package/hydrate/index.js +1141 -771
- package/hydrate/index.mjs +1141 -771
- package/package.json +2 -2
- package/vscode-data.json +131 -0
- package/dist/cjs/helpers-3a796e7a.js.map +0 -1
- package/dist/cjs/ic-pagination.cjs.entry.js +0 -312
- package/dist/cjs/ic-pagination.cjs.entry.js.map +0 -1
- package/dist/cjs/ic-select.cjs.entry.js +0 -879
- package/dist/cjs/ic-select.cjs.entry.js.map +0 -1
- package/dist/cjs/ic-text-field.cjs.entry.js +0 -433
- package/dist/cjs/ic-text-field.cjs.entry.js.map +0 -1
- package/dist/core/p-0d7fd892.entry.js +0 -2
- package/dist/core/p-29b61bb5.entry.js +0 -3
- package/dist/core/p-29b61bb5.entry.js.map +0 -1
- package/dist/core/p-2ca7f050.entry.js.map +0 -1
- package/dist/core/p-4aadabc8.entry.js +0 -2
- package/dist/core/p-4aadabc8.entry.js.map +0 -1
- package/dist/core/p-716e7eaf.entry.js.map +0 -1
- package/dist/core/p-808e1ef5.entry.js +0 -2
- package/dist/core/p-808e1ef5.entry.js.map +0 -1
- package/dist/core/p-880afd4b.entry.js.map +0 -1
- package/dist/core/p-8fe4e0ad.entry.js +0 -2
- package/dist/core/p-8fe4e0ad.entry.js.map +0 -1
- package/dist/core/p-96bc7d24.entry.js.map +0 -1
- package/dist/core/p-b8c0c142.entry.js.map +0 -1
- package/dist/core/p-c5b9519d.entry.js +0 -2
- package/dist/core/p-c5b9519d.entry.js.map +0 -1
- package/dist/core/p-d1730d4d.entry.js +0 -2
- package/dist/core/p-d1730d4d.entry.js.map +0 -1
- package/dist/core/p-dbc8bf0c.js +0 -2
- package/dist/core/p-dbc8bf0c.js.map +0 -1
- package/dist/core/p-fdb587ab.entry.js +0 -2
- package/dist/core/p-fdb587ab.entry.js.map +0 -1
- package/dist/esm/helpers-0f85537f.js.map +0 -1
- package/dist/esm/ic-pagination.entry.js.map +0 -1
- package/dist/esm/ic-select.entry.js +0 -875
- package/dist/esm/ic-select.entry.js.map +0 -1
- package/dist/esm/ic-text-field.entry.js.map +0 -1
- /package/dist/core/{p-0a24c536.entry.js.map → p-05fd2707.entry.js.map} +0 -0
- /package/dist/core/{p-85e15d01.entry.js.map → p-09505807.entry.js.map} +0 -0
- /package/dist/core/{p-41a5da12.entry.js.map → p-1b81ec88.entry.js.map} +0 -0
- /package/dist/core/{p-99951365.entry.js.map → p-2691cc80.entry.js.map} +0 -0
- /package/dist/core/{p-94916588.entry.js.map → p-2a124daf.entry.js.map} +0 -0
- /package/dist/core/{p-04c77b2d.entry.js.map → p-2b87c592.entry.js.map} +0 -0
- /package/dist/core/{p-4aa56990.entry.js.map → p-2bd80913.entry.js.map} +0 -0
- /package/dist/core/{p-aed1c7e7.entry.js.map → p-347cc084.entry.js.map} +0 -0
- /package/dist/core/{p-a3dea729.entry.js.map → p-3aed13ba.entry.js.map} +0 -0
- /package/dist/core/{p-8da90b72.entry.js.map → p-46fd555f.entry.js.map} +0 -0
- /package/dist/core/{p-43cc0f1d.entry.js.map → p-48a628f0.entry.js.map} +0 -0
- /package/dist/core/{p-9a4e067f.entry.js.map → p-4f56acff.entry.js.map} +0 -0
- /package/dist/core/{p-3021290f.entry.js.map → p-506d428a.entry.js.map} +0 -0
- /package/dist/core/{p-a1b2f483.entry.js.map → p-50dca790.entry.js.map} +0 -0
- /package/dist/core/{p-feef7c2c.entry.js.map → p-56de4f4b.entry.js.map} +0 -0
- /package/dist/core/{p-b4e322fe.entry.js.map → p-5900cb65.entry.js.map} +0 -0
- /package/dist/core/{p-78a54069.entry.js.map → p-5976de6e.entry.js.map} +0 -0
- /package/dist/core/{p-0d7fd892.entry.js.map → p-659d048d.entry.js.map} +0 -0
- /package/dist/core/{p-1edf2689.entry.js.map → p-67de1290.entry.js.map} +0 -0
- /package/dist/core/{p-f700b759.entry.js.map → p-73043f57.entry.js.map} +0 -0
- /package/dist/core/{p-7b8e5926.entry.js.map → p-735d3096.entry.js.map} +0 -0
- /package/dist/core/{p-07075461.entry.js.map → p-7b538fd1.entry.js.map} +0 -0
- /package/dist/core/{p-cfd43558.entry.js.map → p-80d85403.entry.js.map} +0 -0
- /package/dist/core/{p-79949920.entry.js.map → p-8a833e82.entry.js.map} +0 -0
- /package/dist/core/{p-0aba9e31.entry.js.map → p-90678e67.entry.js.map} +0 -0
- /package/dist/core/{p-a851eb65.entry.js.map → p-9502fb86.entry.js.map} +0 -0
- /package/dist/core/{p-f6de08fb.entry.js.map → p-9c2b2cb9.entry.js.map} +0 -0
- /package/dist/core/{p-949d08d3.entry.js.map → p-9cb83a2e.entry.js.map} +0 -0
- /package/dist/core/{p-f0ecb80b.entry.js.map → p-a08d6b46.entry.js.map} +0 -0
- /package/dist/core/{p-208f470f.entry.js.map → p-a780a34b.entry.js.map} +0 -0
- /package/dist/core/{p-387b7bca.entry.js.map → p-aad03a3c.entry.js.map} +0 -0
- /package/dist/core/{p-ec14c783.entry.js.map → p-aaf4e367.entry.js.map} +0 -0
- /package/dist/core/{p-707ae6e9.entry.js.map → p-b52c44eb.entry.js.map} +0 -0
- /package/dist/core/{p-780babc0.entry.js.map → p-b997ad5e.entry.js.map} +0 -0
- /package/dist/core/{p-a0af1b0a.entry.js.map → p-bb7652cd.entry.js.map} +0 -0
- /package/dist/core/{p-ded4cd76.entry.js.map → p-cbca04bb.entry.js.map} +0 -0
- /package/dist/core/{p-99687bce.entry.js.map → p-cc64e5ef.entry.js.map} +0 -0
- /package/dist/core/{p-812c5e61.entry.js.map → p-cfbacca1.entry.js.map} +0 -0
- /package/dist/core/{p-0da2caa2.entry.js.map → p-daec7e69.entry.js.map} +0 -0
- /package/dist/core/{p-1590fd69.entry.js.map → p-e7767c0d.entry.js.map} +0 -0
- /package/dist/core/{p-dce11b9d.entry.js.map → p-ea7a3d30.entry.js.map} +0 -0
- /package/dist/core/{p-a674b13b.entry.js.map → p-ef70ea50.entry.js.map} +0 -0
- /package/dist/core/{p-d25d0aad.entry.js.map → p-f64996f1.entry.js.map} +0 -0
- /package/dist/core/{p-db17a793.entry.js.map → p-f661ba76.entry.js.map} +0 -0
- /package/dist/core/{p-a03bb31c.entry.js.map → p-f84ac9c6.entry.js.map} +0 -0
- /package/dist/core/{p-f3406b42.entry.js.map → p-fb9376f0.entry.js.map} +0 -0
|
@@ -1,40 +1,35 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
-
import { IcAriaLive, IcInformationStatusOrEmpty,
|
|
2
|
+
import { IcAriaLive, IcInformationStatusOrEmpty, IcSearchMatchPositions, IcMultiValueEventDetail, IcSizes, IcThemeMode } from "../../utils/types";
|
|
3
|
+
import { IcSelectOption, IcSelectOptionFlat } from "./ic-select.types";
|
|
3
4
|
import { IcOptionSelectEventDetail } from "../ic-menu/ic-menu.types";
|
|
4
5
|
/**
|
|
5
6
|
* @slot helper-text - Content is set as the helper text for the select.
|
|
6
7
|
* @slot icon - Content will be placed to the left of the select text input.
|
|
7
8
|
*/
|
|
8
9
|
export declare class Select {
|
|
9
|
-
private anchorEl?;
|
|
10
|
-
private blurredBecauseButtonPressed;
|
|
11
|
-
private characterKeyPressTimer?;
|
|
12
|
-
private clearButton?;
|
|
13
|
-
private customSelectElement?;
|
|
14
|
-
private debounceAria?;
|
|
15
|
-
private hasSetDefaultValue;
|
|
16
|
-
private hasTimedOut;
|
|
17
|
-
private inheritedAttributes;
|
|
18
|
-
private initialOptionsEmpty;
|
|
19
10
|
private inputId;
|
|
20
11
|
private menu?;
|
|
21
12
|
private menuId;
|
|
13
|
+
private inheritedAttributes;
|
|
14
|
+
private anchorEl?;
|
|
22
15
|
private nativeSelectElement?;
|
|
23
|
-
private retryButtonClick;
|
|
24
|
-
private searchableMenuItemSelected;
|
|
25
|
-
private searchableSelectElement?;
|
|
26
|
-
private timeoutTimer?;
|
|
27
|
-
private ungroupedOptions;
|
|
28
16
|
private hostMutationObserver;
|
|
17
|
+
private clearButton?;
|
|
18
|
+
private searchableSelectElement?;
|
|
19
|
+
private timeoutTimer;
|
|
20
|
+
private hasTimedOut;
|
|
21
|
+
private selectElement?;
|
|
22
|
+
private initialRender;
|
|
23
|
+
private characterKeyPressTimer?;
|
|
24
|
+
private pressedCharacters;
|
|
29
25
|
el: HTMLIcSelectElement;
|
|
30
26
|
ariaActiveDescendant?: string;
|
|
31
|
-
clearButtonFocused: boolean;
|
|
32
27
|
debounceIcInput?: number;
|
|
33
28
|
hiddenInputValue: string | null;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
29
|
+
hasError: boolean;
|
|
30
|
+
searchableSelectInputValue: string;
|
|
31
|
+
selectButtonAriaLiveText: string;
|
|
32
|
+
selectInputAriaLiveText: string;
|
|
38
33
|
/**
|
|
39
34
|
* If `true`, the disabled state will be set.
|
|
40
35
|
*/
|
|
@@ -144,18 +139,22 @@ export declare class Select {
|
|
|
144
139
|
* The text to display as the validation message.
|
|
145
140
|
*/
|
|
146
141
|
validationText: string;
|
|
142
|
+
/**
|
|
143
|
+
* If `true` and on a mobile or tablet device, the native select element will be used instead of the custom select component for better usability.
|
|
144
|
+
*/
|
|
145
|
+
useNativeSelectOnMobile: boolean;
|
|
147
146
|
/**
|
|
148
147
|
* If `true`, the loading state will be triggered when fetching options asynchronously.
|
|
149
148
|
*/
|
|
150
149
|
loading: boolean;
|
|
151
150
|
loadingHandler(newValue: boolean): void;
|
|
151
|
+
private clearTimer;
|
|
152
152
|
/**
|
|
153
153
|
* The possible selection options.
|
|
154
154
|
*/
|
|
155
|
-
options:
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
watchOptionsHandler(): void;
|
|
155
|
+
options: IcSelectOption[];
|
|
156
|
+
flatOptions: IcSelectOptionFlat[];
|
|
157
|
+
optionsChangedHandler(): void;
|
|
159
158
|
/**
|
|
160
159
|
* The amount of time, in milliseconds, to wait to trigger the `icInput` event after each keystroke.
|
|
161
160
|
*/
|
|
@@ -169,9 +168,8 @@ export declare class Select {
|
|
|
169
168
|
*/
|
|
170
169
|
value: string | string[] | null;
|
|
171
170
|
initialValue: string | string[] | null;
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
valueChangedHandler(): void;
|
|
171
|
+
valueChangedHandler(newValue: string | string[] | null): void;
|
|
172
|
+
open: boolean;
|
|
175
173
|
openChangedHandler(): void;
|
|
176
174
|
/**
|
|
177
175
|
* Emitted when the select loses focus.
|
|
@@ -214,69 +212,44 @@ export declare class Select {
|
|
|
214
212
|
* Emitted when the 'retry loading' button is clicked for a searchable variant.
|
|
215
213
|
*/
|
|
216
214
|
icRetryLoad: EventEmitter<IcMultiValueEventDetail>;
|
|
217
|
-
disconnectedCallback(): void;
|
|
218
|
-
componentWillLoad(): void;
|
|
219
|
-
componentDidLoad(): void;
|
|
220
|
-
componentDidRender(): void;
|
|
221
215
|
/**
|
|
222
|
-
* Sets focus on the
|
|
216
|
+
* Sets focus on the select component.
|
|
223
217
|
*/
|
|
224
218
|
setFocus(): Promise<void>;
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
private
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
*/
|
|
235
|
-
private deduplicateOptions;
|
|
236
|
-
/**
|
|
237
|
-
* Loop through options array and for all options with no value, infer it from the label
|
|
238
|
-
*/
|
|
239
|
-
private setOptionsValuesFromLabels;
|
|
240
|
-
private setUngroupedOptions;
|
|
241
|
-
private setTextColor;
|
|
242
|
-
private setMenuChange;
|
|
219
|
+
componentDidRender(): void;
|
|
220
|
+
disconnectedCallback(): void;
|
|
221
|
+
componentDidLoad(): void;
|
|
222
|
+
private getValidatedValue;
|
|
223
|
+
componentWillLoad(): void;
|
|
224
|
+
private getFilteredOptions;
|
|
225
|
+
private getOptions;
|
|
226
|
+
private getFlatOptions;
|
|
227
|
+
private unflattenOptions;
|
|
243
228
|
private getLabelFromValue;
|
|
244
|
-
private
|
|
245
|
-
private getFilteredChildMenuOptions;
|
|
246
|
-
private getValueSortedByOptions;
|
|
247
|
-
private handleNativeSelectChange;
|
|
248
|
-
private handleCustomSelectChange;
|
|
249
|
-
private handleSelectAllChange;
|
|
250
|
-
private handleMenuChange;
|
|
251
|
-
private handleMenuKeyPress;
|
|
252
|
-
private handleFocusIndicatorDisplay;
|
|
253
|
-
private handleMouseDown;
|
|
254
|
-
private isExternalFiltering;
|
|
229
|
+
private getLabelString;
|
|
255
230
|
private handleClick;
|
|
256
231
|
private handleExpandIconMouseDown;
|
|
232
|
+
private handleBlur;
|
|
233
|
+
private handleTimeoutBlur;
|
|
234
|
+
private handleFocus;
|
|
257
235
|
private handleClear;
|
|
236
|
+
private setTextColor;
|
|
237
|
+
private handleNativeSelectChange;
|
|
238
|
+
private handleFocusIndicatorDisplay;
|
|
239
|
+
private handleKeyDown;
|
|
258
240
|
private handleCharacterKeyDown;
|
|
259
241
|
private handleNativeSelectKeyDown;
|
|
260
|
-
private
|
|
261
|
-
private
|
|
262
|
-
private
|
|
263
|
-
private
|
|
264
|
-
/**
|
|
265
|
-
* Put the select component into loading state.
|
|
266
|
-
* Replace options with the loading message. If timeout is enabled, set the timeout and once passed, replace options with the loading error message
|
|
267
|
-
*/
|
|
268
|
-
private triggerLoading;
|
|
269
|
-
private getValueFromLabel;
|
|
242
|
+
private handleSelectChange;
|
|
243
|
+
private handleSelectAllChange;
|
|
244
|
+
private handleFormReset;
|
|
245
|
+
private handleRetry;
|
|
270
246
|
private handleSearchableSelectInput;
|
|
247
|
+
private hostMutationCallback;
|
|
248
|
+
private updateSelectButtonAriaLive;
|
|
271
249
|
private updateSearchableSelectResultAriaLive;
|
|
272
|
-
private
|
|
273
|
-
private
|
|
274
|
-
private
|
|
275
|
-
private onFocus;
|
|
276
|
-
private onBlur;
|
|
277
|
-
private onTimeoutBlur;
|
|
278
|
-
private handleFormReset;
|
|
279
|
-
private clearInput;
|
|
250
|
+
private updateAriaActiveDescendant;
|
|
251
|
+
private handleMenuChange;
|
|
252
|
+
private getDeduplicatedOptions;
|
|
280
253
|
private renderNativeOption;
|
|
281
254
|
render(): any;
|
|
282
255
|
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export type IcSelectOption = IcSelectOptionBase | IcSelectOptionGroup | IcSelectOptionLoading | IcSelectOptionTimedOut;
|
|
2
|
+
type IcSelectOptionElement = {
|
|
3
|
+
component: any;
|
|
4
|
+
ariaLabel: string;
|
|
5
|
+
};
|
|
6
|
+
export type IcSelectOptionBase = {
|
|
7
|
+
label: string;
|
|
8
|
+
value: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
recommended?: boolean;
|
|
12
|
+
icon?: string;
|
|
13
|
+
hideLabel?: boolean;
|
|
14
|
+
htmlProps?: Record<string, string>;
|
|
15
|
+
element?: IcSelectOptionElement;
|
|
16
|
+
};
|
|
17
|
+
export type IcSelectOptionGroup = {
|
|
18
|
+
label: string;
|
|
19
|
+
children: IcSelectOptionBase[];
|
|
20
|
+
};
|
|
21
|
+
type IcSelectOptionLoading = {
|
|
22
|
+
label: string;
|
|
23
|
+
value: "";
|
|
24
|
+
loading: true;
|
|
25
|
+
};
|
|
26
|
+
type IcSelectOptionTimedOut = {
|
|
27
|
+
label: string;
|
|
28
|
+
value: "";
|
|
29
|
+
timedOut: true;
|
|
30
|
+
};
|
|
31
|
+
export type IcSelectOptionFlat = {
|
|
32
|
+
label: string;
|
|
33
|
+
value: string;
|
|
34
|
+
description?: string;
|
|
35
|
+
disabled?: boolean;
|
|
36
|
+
recommended?: boolean;
|
|
37
|
+
icon?: string;
|
|
38
|
+
hideLabel?: boolean;
|
|
39
|
+
htmlProps?: Record<string, string>;
|
|
40
|
+
element?: IcSelectOptionElement;
|
|
41
|
+
group?: string;
|
|
42
|
+
};
|
|
43
|
+
export {};
|
|
@@ -9,11 +9,12 @@ import { IcExpandedDetail } from "./ic-side-navigation.types";
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class SideNavigation {
|
|
11
11
|
private ANIMATION_DURATION;
|
|
12
|
-
private IC_NAVIGATION_ITEM;
|
|
13
|
-
private resizeObserver;
|
|
14
12
|
private COLLAPSED_ICON_LABELS_END;
|
|
15
13
|
private COLLAPSED_ICON_LABELS_START;
|
|
14
|
+
private IC_NAVIGATION_ITEM;
|
|
16
15
|
private menuButton?;
|
|
16
|
+
private hostMutationObserver;
|
|
17
|
+
private resizeObserver;
|
|
17
18
|
el: HTMLIcSideNavigationElement;
|
|
18
19
|
deviceSize: number;
|
|
19
20
|
deviceSizeAppTitle: number;
|
|
@@ -22,9 +22,11 @@ import { IcMenuChangeEventDetail, IcMenuOptionIdEventDetail, IcOptionSelectEvent
|
|
|
22
22
|
import { Options } from "@popperjs/core";
|
|
23
23
|
import { IcMenuItemVariants } from "./components/ic-menu-item/ic-menu-item.types";
|
|
24
24
|
import { IcNavigationExpandEventDetail, IcNavigationOpenEventDetail } from "./components/ic-navigation-group/ic-navigation-group.types";
|
|
25
|
-
import { IcChangeEventDetail as IcChangeEventDetail1, IcPaginationTypes } from "./components/ic-pagination/ic-pagination.types";
|
|
25
|
+
import { IcChangeEventDetail as IcChangeEventDetail1, IcPaginationAlignmentOptions, IcPaginationLabelTypes, IcPaginationTypes } from "./components/ic-pagination/ic-pagination.types";
|
|
26
|
+
import { IcItemsPerPageChangeEventDetail, IcPageChangeEventDetail } from "./components/ic-pagination-bar/ic-pagination-bar.types";
|
|
26
27
|
import { IcPaginationItemType } from "./components/ic-pagination-item/ic-pagination-item.types";
|
|
27
28
|
import { IcChangeEventDetail as IcChangeEventDetail2 } from "./components/ic-radio-group/ic-radio-group.types";
|
|
29
|
+
import { IcSelectOption } from "./components/ic-select/ic-select.types";
|
|
28
30
|
import { IcExpandedDetail } from "./components/ic-side-navigation/ic-side-navigation.types";
|
|
29
31
|
import { IcSkeletonVariants } from "./components/ic-skeleton/ic-skeleton.types";
|
|
30
32
|
import { IcStatusTagStatuses } from "./components/ic-status-tag/ic-status-tag.types";
|
|
@@ -52,9 +54,11 @@ export { IcMenuChangeEventDetail, IcMenuOptionIdEventDetail, IcOptionSelectEvent
|
|
|
52
54
|
export { Options } from "@popperjs/core";
|
|
53
55
|
export { IcMenuItemVariants } from "./components/ic-menu-item/ic-menu-item.types";
|
|
54
56
|
export { IcNavigationExpandEventDetail, IcNavigationOpenEventDetail } from "./components/ic-navigation-group/ic-navigation-group.types";
|
|
55
|
-
export { IcChangeEventDetail as IcChangeEventDetail1, IcPaginationTypes } from "./components/ic-pagination/ic-pagination.types";
|
|
57
|
+
export { IcChangeEventDetail as IcChangeEventDetail1, IcPaginationAlignmentOptions, IcPaginationLabelTypes, IcPaginationTypes } from "./components/ic-pagination/ic-pagination.types";
|
|
58
|
+
export { IcItemsPerPageChangeEventDetail, IcPageChangeEventDetail } from "./components/ic-pagination-bar/ic-pagination-bar.types";
|
|
56
59
|
export { IcPaginationItemType } from "./components/ic-pagination-item/ic-pagination-item.types";
|
|
57
60
|
export { IcChangeEventDetail as IcChangeEventDetail2 } from "./components/ic-radio-group/ic-radio-group.types";
|
|
61
|
+
export { IcSelectOption } from "./components/ic-select/ic-select.types";
|
|
58
62
|
export { IcExpandedDetail } from "./components/ic-side-navigation/ic-side-navigation.types";
|
|
59
63
|
export { IcSkeletonVariants } from "./components/ic-skeleton/ic-skeleton.types";
|
|
60
64
|
export { IcStatusTagStatuses } from "./components/ic-status-tag/ic-status-tag.types";
|
|
@@ -764,6 +768,10 @@ export namespace Components {
|
|
|
764
768
|
* The optional text that will be displayed before classification to specify relevant country/countries.
|
|
765
769
|
*/
|
|
766
770
|
"country"?: string;
|
|
771
|
+
/**
|
|
772
|
+
* The custom text that will appear on the banner. If set, the `additionalSelectors`, `country` and `upTo` props are ignored.
|
|
773
|
+
*/
|
|
774
|
+
"customClassificationText"?: string;
|
|
767
775
|
/**
|
|
768
776
|
* If `true`, the banner will appear inline with the page, instead of sticking to the bottom of the page.
|
|
769
777
|
*/
|
|
@@ -1284,6 +1292,7 @@ export namespace Components {
|
|
|
1284
1292
|
* Determines whether options manually set as values (by pressing 'Enter') when they receive focus using keyboard navigation.
|
|
1285
1293
|
*/
|
|
1286
1294
|
"activationType": IcActivationTypes;
|
|
1295
|
+
"allowMenuFocus": boolean;
|
|
1287
1296
|
/**
|
|
1288
1297
|
* The reference to an anchor element the menu will position itself from when rendered.
|
|
1289
1298
|
*/
|
|
@@ -1303,6 +1312,11 @@ export namespace Components {
|
|
|
1303
1312
|
* @param event The keyboard event which is available when handleKeyboardOpen is invoked.
|
|
1304
1313
|
*/
|
|
1305
1314
|
"handleKeyboardOpen": (event: KeyboardEvent) => Promise<void>;
|
|
1315
|
+
/**
|
|
1316
|
+
* Used alongside activationType If menu is open and user navigates options via keyboard, emit optionSelect custom event.
|
|
1317
|
+
* @param event The keyboard event which is available when handleMenuKeydown is invoked.
|
|
1318
|
+
*/
|
|
1319
|
+
"handleMenuKeyDown": (event: KeyboardEvent) => Promise<void>;
|
|
1306
1320
|
"handleSetFirstOption": () => Promise<void>;
|
|
1307
1321
|
"initPopperJs": (anchor: HTMLElement) => Promise<void>;
|
|
1308
1322
|
/**
|
|
@@ -1627,6 +1641,91 @@ export namespace Components {
|
|
|
1627
1641
|
*/
|
|
1628
1642
|
"type"?: IcPaginationTypes;
|
|
1629
1643
|
}
|
|
1644
|
+
interface IcPaginationBar {
|
|
1645
|
+
/**
|
|
1646
|
+
* The accessible label passed down to the pagination component to provide context for screen reader users.
|
|
1647
|
+
*/
|
|
1648
|
+
"accessibleLabel"?: string;
|
|
1649
|
+
/**
|
|
1650
|
+
* Sets the alignment of the items in the pagination bar.
|
|
1651
|
+
*/
|
|
1652
|
+
"alignment"?: IcPaginationAlignmentOptions;
|
|
1653
|
+
/**
|
|
1654
|
+
* The current page number to be displayed on the pagination bar.
|
|
1655
|
+
*/
|
|
1656
|
+
"currentPage"?: number;
|
|
1657
|
+
/**
|
|
1658
|
+
* If `true`, the 'All' option will be hidden from the 'items per page' select input.
|
|
1659
|
+
*/
|
|
1660
|
+
"hideAllFromItemsPerPage"?: boolean;
|
|
1661
|
+
/**
|
|
1662
|
+
* If `true`, the current page of the simple pagination will not be displayed.
|
|
1663
|
+
*/
|
|
1664
|
+
"hideCurrentPage"?: boolean;
|
|
1665
|
+
/**
|
|
1666
|
+
* If `true`, the first and last page buttons will not be displayed.
|
|
1667
|
+
*/
|
|
1668
|
+
"hideFirstAndLastPageButton"?: boolean;
|
|
1669
|
+
/**
|
|
1670
|
+
* If `true`, the number of total items and current item range or number of total pages and current page will be hidden.
|
|
1671
|
+
*/
|
|
1672
|
+
"hideRangeLabel"?: boolean;
|
|
1673
|
+
/**
|
|
1674
|
+
* The text which will be used in place of 'Item' on the pagination bar.
|
|
1675
|
+
*/
|
|
1676
|
+
"itemLabel"?: string;
|
|
1677
|
+
/**
|
|
1678
|
+
* The options which will be displayed for 'items per page' select input.
|
|
1679
|
+
*/
|
|
1680
|
+
"itemsPerPageOptions"?: {
|
|
1681
|
+
label: string;
|
|
1682
|
+
value: string;
|
|
1683
|
+
}[];
|
|
1684
|
+
/**
|
|
1685
|
+
* If `true`, the pagination bar will display as black in the light theme, and white in dark theme.
|
|
1686
|
+
*/
|
|
1687
|
+
"monochrome"?: boolean;
|
|
1688
|
+
/**
|
|
1689
|
+
* The text which will be used in place of 'Page' on the pagination bar.
|
|
1690
|
+
*/
|
|
1691
|
+
"pageLabel"?: string;
|
|
1692
|
+
/**
|
|
1693
|
+
* Whether total number of items and current item range or total number of pages and current page is displayed.
|
|
1694
|
+
*/
|
|
1695
|
+
"rangeLabelType"?: IcPaginationLabelTypes;
|
|
1696
|
+
/**
|
|
1697
|
+
* If `false`, the value in the items per page control will be set immediately on ArrowUp and ArrowDown instead of when Enter is pressed.
|
|
1698
|
+
*/
|
|
1699
|
+
"selectItemsPerPageOnEnter": boolean;
|
|
1700
|
+
/**
|
|
1701
|
+
* The items per page option to be selected.
|
|
1702
|
+
*/
|
|
1703
|
+
"selectedItemsPerPage"?: number;
|
|
1704
|
+
/**
|
|
1705
|
+
* If `true`, the pagination bar is set to the first page when the 'items per page' changes
|
|
1706
|
+
*/
|
|
1707
|
+
"setToFirstPageOnPaginationChange"?: boolean;
|
|
1708
|
+
/**
|
|
1709
|
+
* If `true`, the 'go to page' control should be displayed.
|
|
1710
|
+
*/
|
|
1711
|
+
"showGoToPageControl"?: boolean;
|
|
1712
|
+
/**
|
|
1713
|
+
* If `true`, the select input to control 'items per page' should be displayed.
|
|
1714
|
+
*/
|
|
1715
|
+
"showItemsPerPageControl"?: boolean;
|
|
1716
|
+
/**
|
|
1717
|
+
* 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.
|
|
1718
|
+
*/
|
|
1719
|
+
"theme"?: IcThemeMode;
|
|
1720
|
+
/**
|
|
1721
|
+
* Total number of items to be displayed across all pages.
|
|
1722
|
+
*/
|
|
1723
|
+
"totalItems": number;
|
|
1724
|
+
/**
|
|
1725
|
+
* Whether the displayed pagination is simple or complex.
|
|
1726
|
+
*/
|
|
1727
|
+
"type"?: IcPaginationTypes;
|
|
1728
|
+
}
|
|
1630
1729
|
interface IcPaginationItem {
|
|
1631
1730
|
/**
|
|
1632
1731
|
* If `true`, the pagination item will be disabled.
|
|
@@ -2001,7 +2100,7 @@ export namespace Components {
|
|
|
2001
2100
|
/**
|
|
2002
2101
|
* The possible selection options.
|
|
2003
2102
|
*/
|
|
2004
|
-
"options":
|
|
2103
|
+
"options": IcSelectOption[];
|
|
2005
2104
|
/**
|
|
2006
2105
|
* The placeholder value to be displayed.
|
|
2007
2106
|
*/
|
|
@@ -2027,7 +2126,7 @@ export namespace Components {
|
|
|
2027
2126
|
*/
|
|
2028
2127
|
"selectOnEnter": boolean;
|
|
2029
2128
|
/**
|
|
2030
|
-
* Sets focus on the
|
|
2129
|
+
* Sets focus on the select component.
|
|
2031
2130
|
*/
|
|
2032
2131
|
"setFocus": () => Promise<void>;
|
|
2033
2132
|
/**
|
|
@@ -2046,6 +2145,10 @@ export namespace Components {
|
|
|
2046
2145
|
* If using external filtering, set a timeout for when loading takes too long.
|
|
2047
2146
|
*/
|
|
2048
2147
|
"timeout"?: number;
|
|
2148
|
+
/**
|
|
2149
|
+
* If `true` and on a mobile or tablet device, the native select element will be used instead of the custom select component for better usability.
|
|
2150
|
+
*/
|
|
2151
|
+
"useNativeSelectOnMobile": boolean;
|
|
2049
2152
|
/**
|
|
2050
2153
|
* The value of the `aria-live` attribute on the validation message.
|
|
2051
2154
|
*/
|
|
@@ -2856,6 +2959,10 @@ export interface IcPaginationCustomEvent<T> extends CustomEvent<T> {
|
|
|
2856
2959
|
detail: T;
|
|
2857
2960
|
target: HTMLIcPaginationElement;
|
|
2858
2961
|
}
|
|
2962
|
+
export interface IcPaginationBarCustomEvent<T> extends CustomEvent<T> {
|
|
2963
|
+
detail: T;
|
|
2964
|
+
target: HTMLIcPaginationBarElement;
|
|
2965
|
+
}
|
|
2859
2966
|
export interface IcPaginationItemCustomEvent<T> extends CustomEvent<T> {
|
|
2860
2967
|
detail: T;
|
|
2861
2968
|
target: HTMLIcPaginationItemElement;
|
|
@@ -3355,6 +3462,24 @@ declare global {
|
|
|
3355
3462
|
prototype: HTMLIcPaginationElement;
|
|
3356
3463
|
new (): HTMLIcPaginationElement;
|
|
3357
3464
|
};
|
|
3465
|
+
interface HTMLIcPaginationBarElementEventMap {
|
|
3466
|
+
"icPageChange": IcPageChangeEventDetail;
|
|
3467
|
+
"icItemsPerPageChange": IcItemsPerPageChangeEventDetail;
|
|
3468
|
+
}
|
|
3469
|
+
interface HTMLIcPaginationBarElement extends Components.IcPaginationBar, HTMLStencilElement {
|
|
3470
|
+
addEventListener<K extends keyof HTMLIcPaginationBarElementEventMap>(type: K, listener: (this: HTMLIcPaginationBarElement, ev: IcPaginationBarCustomEvent<HTMLIcPaginationBarElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3471
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3472
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3473
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3474
|
+
removeEventListener<K extends keyof HTMLIcPaginationBarElementEventMap>(type: K, listener: (this: HTMLIcPaginationBarElement, ev: IcPaginationBarCustomEvent<HTMLIcPaginationBarElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
3475
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3476
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3477
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3478
|
+
}
|
|
3479
|
+
var HTMLIcPaginationBarElement: {
|
|
3480
|
+
prototype: HTMLIcPaginationBarElement;
|
|
3481
|
+
new (): HTMLIcPaginationBarElement;
|
|
3482
|
+
};
|
|
3358
3483
|
interface HTMLIcPaginationItemElementEventMap {
|
|
3359
3484
|
"paginationItemClick": { page: number | null };
|
|
3360
3485
|
}
|
|
@@ -3800,6 +3925,7 @@ declare global {
|
|
|
3800
3925
|
"ic-navigation-menu": HTMLIcNavigationMenuElement;
|
|
3801
3926
|
"ic-page-header": HTMLIcPageHeaderElement;
|
|
3802
3927
|
"ic-pagination": HTMLIcPaginationElement;
|
|
3928
|
+
"ic-pagination-bar": HTMLIcPaginationBarElement;
|
|
3803
3929
|
"ic-pagination-item": HTMLIcPaginationItemElement;
|
|
3804
3930
|
"ic-popover-menu": HTMLIcPopoverMenuElement;
|
|
3805
3931
|
"ic-radio-group": HTMLIcRadioGroupElement;
|
|
@@ -4515,6 +4641,10 @@ declare namespace LocalJSX {
|
|
|
4515
4641
|
* The optional text that will be displayed before classification to specify relevant country/countries.
|
|
4516
4642
|
*/
|
|
4517
4643
|
"country"?: string;
|
|
4644
|
+
/**
|
|
4645
|
+
* The custom text that will appear on the banner. If set, the `additionalSelectors`, `country` and `upTo` props are ignored.
|
|
4646
|
+
*/
|
|
4647
|
+
"customClassificationText"?: string;
|
|
4518
4648
|
/**
|
|
4519
4649
|
* If `true`, the banner will appear inline with the page, instead of sticking to the bottom of the page.
|
|
4520
4650
|
*/
|
|
@@ -5352,6 +5482,99 @@ declare namespace LocalJSX {
|
|
|
5352
5482
|
*/
|
|
5353
5483
|
"type"?: IcPaginationTypes;
|
|
5354
5484
|
}
|
|
5485
|
+
interface IcPaginationBar {
|
|
5486
|
+
/**
|
|
5487
|
+
* The accessible label passed down to the pagination component to provide context for screen reader users.
|
|
5488
|
+
*/
|
|
5489
|
+
"accessibleLabel"?: string;
|
|
5490
|
+
/**
|
|
5491
|
+
* Sets the alignment of the items in the pagination bar.
|
|
5492
|
+
*/
|
|
5493
|
+
"alignment"?: IcPaginationAlignmentOptions;
|
|
5494
|
+
/**
|
|
5495
|
+
* The current page number to be displayed on the pagination bar.
|
|
5496
|
+
*/
|
|
5497
|
+
"currentPage"?: number;
|
|
5498
|
+
/**
|
|
5499
|
+
* If `true`, the 'All' option will be hidden from the 'items per page' select input.
|
|
5500
|
+
*/
|
|
5501
|
+
"hideAllFromItemsPerPage"?: boolean;
|
|
5502
|
+
/**
|
|
5503
|
+
* If `true`, the current page of the simple pagination will not be displayed.
|
|
5504
|
+
*/
|
|
5505
|
+
"hideCurrentPage"?: boolean;
|
|
5506
|
+
/**
|
|
5507
|
+
* If `true`, the first and last page buttons will not be displayed.
|
|
5508
|
+
*/
|
|
5509
|
+
"hideFirstAndLastPageButton"?: boolean;
|
|
5510
|
+
/**
|
|
5511
|
+
* If `true`, the number of total items and current item range or number of total pages and current page will be hidden.
|
|
5512
|
+
*/
|
|
5513
|
+
"hideRangeLabel"?: boolean;
|
|
5514
|
+
/**
|
|
5515
|
+
* The text which will be used in place of 'Item' on the pagination bar.
|
|
5516
|
+
*/
|
|
5517
|
+
"itemLabel"?: string;
|
|
5518
|
+
/**
|
|
5519
|
+
* The options which will be displayed for 'items per page' select input.
|
|
5520
|
+
*/
|
|
5521
|
+
"itemsPerPageOptions"?: {
|
|
5522
|
+
label: string;
|
|
5523
|
+
value: string;
|
|
5524
|
+
}[];
|
|
5525
|
+
/**
|
|
5526
|
+
* If `true`, the pagination bar will display as black in the light theme, and white in dark theme.
|
|
5527
|
+
*/
|
|
5528
|
+
"monochrome"?: boolean;
|
|
5529
|
+
/**
|
|
5530
|
+
* Emitted when the items per page option is changed.
|
|
5531
|
+
*/
|
|
5532
|
+
"onIcItemsPerPageChange"?: (event: IcPaginationBarCustomEvent<IcItemsPerPageChangeEventDetail>) => void;
|
|
5533
|
+
/**
|
|
5534
|
+
* Emitted when a page is navigated to via the 'go to' input. The `detail` property contains `value` (i.e. the page number) and a `fromItemsPerPage` flag to indicate if the event was triggered by the `icItemsPerPageChange` event also occurring.
|
|
5535
|
+
*/
|
|
5536
|
+
"onIcPageChange"?: (event: IcPaginationBarCustomEvent<IcPageChangeEventDetail>) => void;
|
|
5537
|
+
/**
|
|
5538
|
+
* The text which will be used in place of 'Page' on the pagination bar.
|
|
5539
|
+
*/
|
|
5540
|
+
"pageLabel"?: string;
|
|
5541
|
+
/**
|
|
5542
|
+
* Whether total number of items and current item range or total number of pages and current page is displayed.
|
|
5543
|
+
*/
|
|
5544
|
+
"rangeLabelType"?: IcPaginationLabelTypes;
|
|
5545
|
+
/**
|
|
5546
|
+
* If `false`, the value in the items per page control will be set immediately on ArrowUp and ArrowDown instead of when Enter is pressed.
|
|
5547
|
+
*/
|
|
5548
|
+
"selectItemsPerPageOnEnter"?: boolean;
|
|
5549
|
+
/**
|
|
5550
|
+
* The items per page option to be selected.
|
|
5551
|
+
*/
|
|
5552
|
+
"selectedItemsPerPage"?: number;
|
|
5553
|
+
/**
|
|
5554
|
+
* If `true`, the pagination bar is set to the first page when the 'items per page' changes
|
|
5555
|
+
*/
|
|
5556
|
+
"setToFirstPageOnPaginationChange"?: boolean;
|
|
5557
|
+
/**
|
|
5558
|
+
* If `true`, the 'go to page' control should be displayed.
|
|
5559
|
+
*/
|
|
5560
|
+
"showGoToPageControl"?: boolean;
|
|
5561
|
+
/**
|
|
5562
|
+
* If `true`, the select input to control 'items per page' should be displayed.
|
|
5563
|
+
*/
|
|
5564
|
+
"showItemsPerPageControl"?: boolean;
|
|
5565
|
+
/**
|
|
5566
|
+
* 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.
|
|
5567
|
+
*/
|
|
5568
|
+
"theme"?: IcThemeMode;
|
|
5569
|
+
/**
|
|
5570
|
+
* Total number of items to be displayed across all pages.
|
|
5571
|
+
*/
|
|
5572
|
+
"totalItems": number;
|
|
5573
|
+
/**
|
|
5574
|
+
* Whether the displayed pagination is simple or complex.
|
|
5575
|
+
*/
|
|
5576
|
+
"type"?: IcPaginationTypes;
|
|
5577
|
+
}
|
|
5355
5578
|
interface IcPaginationItem {
|
|
5356
5579
|
/**
|
|
5357
5580
|
* If `true`, the pagination item will be disabled.
|
|
@@ -5800,7 +6023,7 @@ declare namespace LocalJSX {
|
|
|
5800
6023
|
/**
|
|
5801
6024
|
* The possible selection options.
|
|
5802
6025
|
*/
|
|
5803
|
-
"options"?:
|
|
6026
|
+
"options"?: IcSelectOption[];
|
|
5804
6027
|
/**
|
|
5805
6028
|
* The placeholder value to be displayed.
|
|
5806
6029
|
*/
|
|
@@ -5841,6 +6064,10 @@ declare namespace LocalJSX {
|
|
|
5841
6064
|
* If using external filtering, set a timeout for when loading takes too long.
|
|
5842
6065
|
*/
|
|
5843
6066
|
"timeout"?: number;
|
|
6067
|
+
/**
|
|
6068
|
+
* If `true` and on a mobile or tablet device, the native select element will be used instead of the custom select component for better usability.
|
|
6069
|
+
*/
|
|
6070
|
+
"useNativeSelectOnMobile"?: boolean;
|
|
5844
6071
|
/**
|
|
5845
6072
|
* The value of the `aria-live` attribute on the validation message.
|
|
5846
6073
|
*/
|
|
@@ -6627,6 +6854,7 @@ declare namespace LocalJSX {
|
|
|
6627
6854
|
"ic-navigation-menu": IcNavigationMenu;
|
|
6628
6855
|
"ic-page-header": IcPageHeader;
|
|
6629
6856
|
"ic-pagination": IcPagination;
|
|
6857
|
+
"ic-pagination-bar": IcPaginationBar;
|
|
6630
6858
|
"ic-pagination-item": IcPaginationItem;
|
|
6631
6859
|
"ic-popover-menu": IcPopoverMenu;
|
|
6632
6860
|
"ic-radio-group": IcRadioGroup;
|
|
@@ -6702,6 +6930,7 @@ declare module "@stencil/core" {
|
|
|
6702
6930
|
"ic-navigation-menu": LocalJSX.IcNavigationMenu & JSXBase.HTMLAttributes<HTMLIcNavigationMenuElement>;
|
|
6703
6931
|
"ic-page-header": LocalJSX.IcPageHeader & JSXBase.HTMLAttributes<HTMLIcPageHeaderElement>;
|
|
6704
6932
|
"ic-pagination": LocalJSX.IcPagination & JSXBase.HTMLAttributes<HTMLIcPaginationElement>;
|
|
6933
|
+
"ic-pagination-bar": LocalJSX.IcPaginationBar & JSXBase.HTMLAttributes<HTMLIcPaginationBarElement>;
|
|
6705
6934
|
"ic-pagination-item": LocalJSX.IcPaginationItem & JSXBase.HTMLAttributes<HTMLIcPaginationItemElement>;
|
|
6706
6935
|
"ic-popover-menu": LocalJSX.IcPopoverMenu & JSXBase.HTMLAttributes<HTMLIcPopoverMenuElement>;
|
|
6707
6936
|
"ic-radio-group": LocalJSX.IcRadioGroup & JSXBase.HTMLAttributes<HTMLIcRadioGroupElement>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from "../stencil-public-runtime";
|
|
2
|
-
import { IcBrandForeground, IcBrandForegroundNoDefault, IcCallbackFunctionNoReturn, IcInformationStatusOrEmpty, IcMenuOption, IcNavParentDetails, IcPropObject,
|
|
2
|
+
import { IcBrandForeground, IcBrandForegroundNoDefault, IcCallbackFunctionNoReturn, IcInformationStatusOrEmpty, IcMenuOption, IcNavParentDetails, IcPropObject, IcColorRGBA, IcDeviceSizes, IcColor, IcThemeMode } from "./types";
|
|
3
3
|
/**
|
|
4
4
|
* converts an enum of strings into an array of strings
|
|
5
5
|
*/
|
|
@@ -87,12 +87,10 @@ export declare const getLabelFromValue: (value: string, options: IcMenuOption[],
|
|
|
87
87
|
/**
|
|
88
88
|
* Filters the options based on the search string.
|
|
89
89
|
* @param options - array of options
|
|
90
|
-
* @param includeDescriptions - determines whether option descriptions are included when filtering options
|
|
91
90
|
* @param searchString - string used to filter the options
|
|
92
|
-
* @param position - whether the search string matches the start of or anywhere in the options
|
|
93
91
|
* @returns filtered array of options
|
|
94
92
|
*/
|
|
95
|
-
export declare const getFilteredMenuOptions: (options: IcMenuOption[],
|
|
93
|
+
export declare const getFilteredMenuOptions: (options: IcMenuOption[], searchString: string, labelField?: string) => IcMenuOption[];
|
|
96
94
|
/**
|
|
97
95
|
* Gets count of options where only group title "parent" options have been removed.
|
|
98
96
|
* Disabled options are included in the count.
|