@ukic/canary-web-components 3.0.0-canary.15 → 3.0.0-canary.17
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/README.md +20 -1
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/{helpers-d01564f7.js → helpers-6f33d131.js} +31 -33
- package/dist/cjs/helpers-6f33d131.js.map +1 -0
- package/dist/cjs/{helpers-bec0dbd4.js → helpers-e2bbcec9.js} +56 -37
- package/dist/cjs/helpers-e2bbcec9.js.map +1 -0
- package/dist/cjs/ic-accordion-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
- package/dist/cjs/ic-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-alert.cjs.entry.js +63 -36
- package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +4 -4
- package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-badge.cjs.entry.js +40 -16
- package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +32 -7
- 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 +6 -6
- package/dist/cjs/ic-card-vertical.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +4 -4
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox_3.cjs.entry.js +9 -9
- package/dist/cjs/ic-checkbox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +4 -4
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-classification-banner.cjs.entry.js +2 -2
- package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-list.cjs.entry.js +2 -2
- package/dist/cjs/ic-data-list.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +3 -3
- package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-table-title-bar.cjs.entry.js +1 -1
- package/dist/cjs/ic-data-table.cjs.entry.js +14 -18
- package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-date-input.cjs.entry.js +1 -1
- package/dist/cjs/ic-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/ic-dialog.cjs.entry.js +3 -3
- package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-divider.cjs.entry.js +2 -2
- package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +3 -3
- package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +4 -4
- package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +5 -5
- package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +6 -6
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +9 -9
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +8 -8
- package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-link.cjs.entry.js +2 -2
- package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +3 -3
- package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +13 -13
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +12 -7
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +6 -6
- package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +7 -7
- package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination_4.cjs.entry.js +63 -61
- package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +5 -5
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +5 -5
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +6 -6
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +10 -10
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
- package/dist/cjs/ic-section-container.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +5 -5
- package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-skip-link.cjs.entry.js +10 -3
- package/dist/cjs/ic-skip-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +3 -3
- package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +15 -15
- package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
- 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-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-context.cjs.entry.js +1 -1
- 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-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +3 -3
- package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +4 -2
- package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
- package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +4 -4
- 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-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button.cjs.entry.js +4 -4
- package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +5 -5
- package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tree-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-tree-view.cjs.entry.js +7 -6
- package/dist/cjs/ic-tree-view.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +4 -4
- package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/ic-data-table/ic-data-table.js +13 -17
- package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
- package/dist/collection/components/ic-data-table/story-data.js +8 -7
- package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
- package/dist/collection/components/ic-tree-view/ic-tree-view.js +6 -5
- package/dist/collection/components/ic-tree-view/ic-tree-view.js.map +1 -1
- package/dist/collection/utils/constants.js +40 -1
- package/dist/collection/utils/constants.js.map +1 -1
- package/dist/collection/utils/helpers.js +177 -135
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/helpers.js +55 -37
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/helpers2.js +30 -32
- package/dist/components/helpers2.js.map +1 -1
- package/dist/components/ic-accordion-group.js.map +1 -1
- package/dist/components/ic-accordion.js.map +1 -1
- package/dist/components/ic-alert.js +66 -37
- package/dist/components/ic-alert.js.map +1 -1
- package/dist/components/ic-back-to-top.js +3 -3
- package/dist/components/ic-back-to-top.js.map +1 -1
- package/dist/components/ic-badge.js +39 -15
- package/dist/components/ic-badge.js.map +1 -1
- package/dist/components/ic-breadcrumb-group.js +2 -2
- package/dist/components/ic-breadcrumb-group.js.map +1 -1
- package/dist/components/ic-breadcrumb2.js +2 -2
- package/dist/components/ic-breadcrumb2.js.map +1 -1
- package/dist/components/ic-button2.js +1 -1
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card-vertical.js +5 -5
- package/dist/components/ic-card-vertical.js.map +1 -1
- package/dist/components/ic-checkbox-group.js +4 -4
- package/dist/components/ic-checkbox-group.js.map +1 -1
- package/dist/components/ic-checkbox2.js +6 -6
- package/dist/components/ic-checkbox2.js.map +1 -1
- package/dist/components/ic-chip.js +3 -3
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-classification-banner.js +2 -2
- package/dist/components/ic-classification-banner.js.map +1 -1
- package/dist/components/ic-data-list.js +2 -2
- package/dist/components/ic-data-list.js.map +1 -1
- package/dist/components/ic-data-row.js +3 -3
- package/dist/components/ic-data-row.js.map +1 -1
- package/dist/components/ic-data-table.js +13 -17
- package/dist/components/ic-data-table.js.map +1 -1
- package/dist/components/ic-dialog.js +2 -2
- package/dist/components/ic-dialog.js.map +1 -1
- package/dist/components/ic-divider2.js +2 -2
- package/dist/components/ic-divider2.js.map +1 -1
- package/dist/components/ic-empty-state2.js +2 -2
- package/dist/components/ic-empty-state2.js.map +1 -1
- package/dist/components/ic-footer-link-group.js +1 -1
- package/dist/components/ic-footer-link-group.js.map +1 -1
- package/dist/components/ic-footer-link.js +2 -2
- package/dist/components/ic-footer-link.js.map +1 -1
- package/dist/components/ic-footer.js +4 -4
- package/dist/components/ic-footer.js.map +1 -1
- package/dist/components/ic-hero.js +5 -5
- package/dist/components/ic-hero.js.map +1 -1
- package/dist/components/ic-horizontal-scroll2.js +6 -6
- package/dist/components/ic-horizontal-scroll2.js.map +1 -1
- package/dist/components/ic-input-component-container2.js +4 -4
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-input-container2.js +2 -2
- package/dist/components/ic-input-container2.js.map +1 -1
- package/dist/components/ic-input-label2.js +5 -5
- package/dist/components/ic-input-label2.js.map +1 -1
- package/dist/components/ic-input-validation2.js +4 -4
- package/dist/components/ic-input-validation2.js.map +1 -1
- package/dist/components/ic-link2.js +1 -1
- package/dist/components/ic-link2.js.map +1 -1
- package/dist/components/ic-loading-indicator2.js +3 -3
- package/dist/components/ic-loading-indicator2.js.map +1 -1
- package/dist/components/ic-menu-group.js +1 -1
- package/dist/components/ic-menu-group.js.map +1 -1
- package/dist/components/ic-menu-item2.js.map +1 -1
- package/dist/components/ic-menu2.js +4 -4
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-button.js +2 -2
- package/dist/components/ic-navigation-button.js.map +1 -1
- package/dist/components/ic-navigation-group.js +13 -13
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js +12 -7
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-navigation-menu2.js +6 -6
- package/dist/components/ic-navigation-menu2.js.map +1 -1
- package/dist/components/ic-page-header.js +6 -6
- package/dist/components/ic-page-header.js.map +1 -1
- package/dist/components/ic-pagination-item2.js +2 -2
- package/dist/components/ic-pagination-item2.js.map +1 -1
- package/dist/components/ic-pagination2.js +4 -4
- package/dist/components/ic-pagination2.js.map +1 -1
- 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 +5 -5
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +6 -6
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +10 -10
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-section-container2.js +2 -2
- package/dist/components/ic-section-container2.js.map +1 -1
- package/dist/components/ic-select2.js +46 -49
- package/dist/components/ic-select2.js.map +1 -1
- package/dist/components/ic-side-navigation.js +5 -5
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-skeleton.js +2 -2
- package/dist/components/ic-skeleton.js.map +1 -1
- package/dist/components/ic-skip-link.js +12 -4
- package/dist/components/ic-skip-link.js.map +1 -1
- package/dist/components/ic-status-tag.js +2 -2
- package/dist/components/ic-status-tag.js.map +1 -1
- package/dist/components/ic-step.js +14 -14
- package/dist/components/ic-step.js.map +1 -1
- package/dist/components/ic-stepper.js +3 -3
- package/dist/components/ic-stepper.js.map +1 -1
- package/dist/components/ic-switch.js +5 -5
- package/dist/components/ic-switch.js.map +1 -1
- package/dist/components/ic-tab-context.js +1 -1
- package/dist/components/ic-tab-context.js.map +1 -1
- package/dist/components/ic-tab-group.js +2 -2
- package/dist/components/ic-tab-group.js.map +1 -1
- package/dist/components/ic-tab-panel.js +2 -2
- package/dist/components/ic-tab-panel.js.map +1 -1
- package/dist/components/ic-tab.js +2 -2
- package/dist/components/ic-tab.js.map +1 -1
- package/dist/components/ic-text-field2.js +13 -8
- package/dist/components/ic-text-field2.js.map +1 -1
- package/dist/components/ic-theme.js +4 -2
- package/dist/components/ic-theme.js.map +1 -1
- package/dist/components/ic-toast-region.js +1 -1
- package/dist/components/ic-toast-region.js.map +1 -1
- package/dist/components/ic-toast.js +4 -4
- 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-group.js.map +1 -1
- package/dist/components/ic-toggle-button.js +4 -4
- package/dist/components/ic-toggle-button.js.map +1 -1
- package/dist/components/ic-tooltip2.js +30 -2
- package/dist/components/ic-tooltip2.js.map +1 -1
- package/dist/components/ic-top-navigation.js +5 -5
- package/dist/components/ic-top-navigation.js.map +1 -1
- package/dist/components/ic-tree-view.js +6 -5
- package/dist/components/ic-tree-view.js.map +1 -1
- package/dist/components/ic-typography2.js +3 -3
- package/dist/components/ic-typography2.js.map +1 -1
- package/dist/core/core.css +14 -8
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/p-00df60bd.entry.js +2 -0
- package/dist/core/p-00df60bd.entry.js.map +1 -0
- package/dist/core/{p-d0768256.entry.js → p-02cee2a0.entry.js} +2 -2
- package/dist/core/{p-d0768256.entry.js.map → p-02cee2a0.entry.js.map} +1 -1
- package/dist/core/{p-5796b6cd.entry.js → p-0725255c.entry.js} +2 -2
- package/dist/core/{p-5796b6cd.entry.js.map → p-0725255c.entry.js.map} +1 -1
- package/dist/core/{p-57c80527.entry.js → p-09472c5e.entry.js} +2 -2
- package/dist/core/{p-57c80527.entry.js.map → p-09472c5e.entry.js.map} +1 -1
- package/dist/core/{p-f5e9c8c8.entry.js → p-0a0b25c5.entry.js} +2 -2
- package/dist/core/{p-a2fcea60.entry.js → p-0e3a62cc.entry.js} +2 -2
- package/dist/core/p-1024726b.entry.js +2 -0
- package/dist/core/p-1024726b.entry.js.map +1 -0
- package/dist/core/{p-60d15d35.entry.js → p-112d96ce.entry.js} +2 -2
- package/dist/core/{p-60d15d35.entry.js.map → p-112d96ce.entry.js.map} +1 -1
- package/dist/core/p-1a76b6b4.entry.js +2 -0
- package/dist/core/p-1a76b6b4.entry.js.map +1 -0
- package/dist/core/{p-9cf7494c.entry.js → p-23665b88.entry.js} +2 -2
- package/dist/core/p-23665b88.entry.js.map +1 -0
- package/dist/core/{p-071f4748.entry.js → p-23ed8b99.entry.js} +2 -2
- package/dist/core/{p-071f4748.entry.js.map → p-23ed8b99.entry.js.map} +1 -1
- package/dist/core/{p-50324682.entry.js → p-27780b85.entry.js} +2 -2
- package/dist/core/{p-50324682.entry.js.map → p-27780b85.entry.js.map} +1 -1
- package/dist/core/p-29f472ab.entry.js +2 -0
- package/dist/core/p-29f472ab.entry.js.map +1 -0
- package/dist/core/p-30bcc30c.entry.js +2 -0
- package/dist/core/{p-cea17764.entry.js.map → p-30bcc30c.entry.js.map} +1 -1
- package/dist/core/{p-d4628704.entry.js → p-315ac907.entry.js} +2 -2
- package/dist/core/{p-d4628704.entry.js.map → p-315ac907.entry.js.map} +1 -1
- package/dist/core/{p-3955fa94.entry.js → p-3a9d2c5c.entry.js} +2 -2
- package/dist/core/{p-3955fa94.entry.js.map → p-3a9d2c5c.entry.js.map} +1 -1
- package/dist/core/{p-d2d6f1eb.entry.js → p-3ddf2dc7.entry.js} +2 -2
- package/dist/core/{p-d2d6f1eb.entry.js.map → p-3ddf2dc7.entry.js.map} +1 -1
- package/dist/core/{p-a88369e1.entry.js → p-3ec9c8c2.entry.js} +2 -2
- package/dist/core/{p-a88369e1.entry.js.map → p-3ec9c8c2.entry.js.map} +1 -1
- package/dist/core/{p-110486f0.entry.js → p-40f2f58e.entry.js} +2 -2
- package/dist/core/{p-110486f0.entry.js.map → p-40f2f58e.entry.js.map} +1 -1
- package/dist/core/p-423c721c.entry.js +2 -0
- package/dist/core/p-423c721c.entry.js.map +1 -0
- package/dist/core/{p-20bd48cf.entry.js → p-45dbbdcb.entry.js} +2 -2
- package/dist/core/p-45dbbdcb.entry.js.map +1 -0
- package/dist/core/{p-19ecd2a6.entry.js → p-4933549f.entry.js} +2 -2
- package/dist/core/p-4b601e06.entry.js +2 -0
- package/dist/core/p-4b601e06.entry.js.map +1 -0
- package/dist/core/{p-fa02a267.entry.js → p-4b6818d9.entry.js} +2 -2
- package/dist/core/{p-fa02a267.entry.js.map → p-4b6818d9.entry.js.map} +1 -1
- package/dist/core/{p-4d39cab8.entry.js → p-4c77e828.entry.js} +2 -2
- package/dist/core/{p-4d39cab8.entry.js.map → p-4c77e828.entry.js.map} +1 -1
- package/dist/core/{p-0616dfbe.entry.js → p-4f2391ec.entry.js} +2 -2
- package/dist/core/{p-0616dfbe.entry.js.map → p-4f2391ec.entry.js.map} +1 -1
- package/dist/core/{p-44ac8f8a.entry.js → p-513619d5.entry.js} +2 -2
- package/dist/core/{p-44ac8f8a.entry.js.map → p-513619d5.entry.js.map} +1 -1
- package/dist/core/p-5aab7bb1.entry.js +2 -0
- package/dist/core/p-5aab7bb1.entry.js.map +1 -0
- package/dist/core/{p-858dd362.entry.js → p-5c363e21.entry.js} +2 -2
- package/dist/core/p-657321ee.entry.js +2 -0
- package/dist/core/p-657321ee.entry.js.map +1 -0
- package/dist/core/{p-6e0f93c5.entry.js → p-661f22bd.entry.js} +2 -2
- package/dist/core/p-661f22bd.entry.js.map +1 -0
- package/dist/core/p-6634052e.entry.js +2 -0
- package/dist/core/p-6634052e.entry.js.map +1 -0
- package/dist/core/{p-73e41eac.entry.js → p-71166167.entry.js} +2 -2
- package/dist/core/{p-73e41eac.entry.js.map → p-71166167.entry.js.map} +1 -1
- package/dist/core/{p-1bbae4b3.entry.js → p-74e0aa60.entry.js} +2 -2
- package/dist/core/{p-1bbae4b3.entry.js.map → p-74e0aa60.entry.js.map} +1 -1
- package/dist/core/{p-af405fc0.entry.js → p-75061bd0.entry.js} +2 -2
- package/dist/core/{p-af405fc0.entry.js.map → p-75061bd0.entry.js.map} +1 -1
- package/dist/core/{p-ce83c802.entry.js → p-7656c88f.entry.js} +2 -2
- package/dist/core/p-7656c88f.entry.js.map +1 -0
- package/dist/core/p-78709ece.entry.js +2 -0
- package/dist/core/p-78709ece.entry.js.map +1 -0
- package/dist/core/p-789f423c.entry.js +2 -0
- package/dist/core/p-789f423c.entry.js.map +1 -0
- package/dist/core/{p-30a5b319.entry.js → p-7c819f45.entry.js} +2 -2
- package/dist/core/{p-30a5b319.entry.js.map → p-7c819f45.entry.js.map} +1 -1
- package/dist/core/p-7d9ab461.entry.js +2 -0
- package/dist/core/p-7d9ab461.entry.js.map +1 -0
- package/dist/core/{p-21193099.entry.js → p-9689784b.entry.js} +2 -2
- package/dist/core/p-9689784b.entry.js.map +1 -0
- package/dist/core/{p-8c5a23b4.entry.js → p-9e4a0c01.entry.js} +2 -2
- package/dist/core/p-9e4a0c01.entry.js.map +1 -0
- package/dist/core/p-aa83f828.entry.js +2 -0
- package/dist/core/p-aa83f828.entry.js.map +1 -0
- package/dist/core/{p-bb9142fe.entry.js → p-af1d6e41.entry.js} +2 -2
- package/dist/core/{p-37df68fe.entry.js → p-b3ac38c5.entry.js} +2 -2
- package/dist/core/{p-37df68fe.entry.js.map → p-b3ac38c5.entry.js.map} +1 -1
- package/dist/core/{p-e4fa4ee5.entry.js → p-b4168d61.entry.js} +2 -2
- package/dist/core/{p-e4fa4ee5.entry.js.map → p-b4168d61.entry.js.map} +1 -1
- package/dist/core/{p-a2671eb0.entry.js → p-ba444517.entry.js} +2 -2
- package/dist/core/{p-a2671eb0.entry.js.map → p-ba444517.entry.js.map} +1 -1
- package/dist/core/{p-e8bb1522.entry.js → p-bcf8c3d9.entry.js} +2 -2
- package/dist/core/{p-e8bb1522.entry.js.map → p-bcf8c3d9.entry.js.map} +1 -1
- package/dist/core/p-bdbd185c.js +2 -0
- package/dist/core/p-bdbd185c.js.map +1 -0
- package/dist/core/{p-401f0043.entry.js → p-bf903faa.entry.js} +2 -2
- package/dist/core/{p-401f0043.entry.js.map → p-bf903faa.entry.js.map} +1 -1
- package/dist/core/{p-857c46c0.entry.js → p-c3ba79d7.entry.js} +2 -2
- package/dist/core/{p-857c46c0.entry.js.map → p-c3ba79d7.entry.js.map} +1 -1
- package/dist/core/p-c7080f8d.entry.js +2 -0
- package/dist/core/p-c7080f8d.entry.js.map +1 -0
- package/dist/core/{p-701696aa.entry.js → p-de43d375.entry.js} +2 -2
- package/dist/core/{p-701696aa.entry.js.map → p-de43d375.entry.js.map} +1 -1
- package/dist/core/p-e01ffbb8.entry.js +2 -0
- package/dist/core/p-e01ffbb8.entry.js.map +1 -0
- package/dist/core/{p-06bf2cea.entry.js → p-e185bfa7.entry.js} +2 -2
- package/dist/core/{p-06bf2cea.entry.js.map → p-e185bfa7.entry.js.map} +1 -1
- package/dist/core/{p-f42ca69f.entry.js → p-e6d3cd31.entry.js} +2 -2
- package/dist/core/{p-f42ca69f.entry.js.map → p-e6d3cd31.entry.js.map} +1 -1
- package/dist/core/{p-39269b62.entry.js → p-eb4add0d.entry.js} +2 -2
- package/dist/core/{p-39269b62.entry.js.map → p-eb4add0d.entry.js.map} +1 -1
- package/dist/core/p-ed542433.js +2 -0
- package/dist/core/p-ed542433.js.map +1 -0
- package/dist/core/{p-50f4d151.entry.js → p-f34eee68.entry.js} +2 -2
- package/dist/core/{p-50f4d151.entry.js.map → p-f34eee68.entry.js.map} +1 -1
- package/dist/core/p-f35d81cb.entry.js +2 -0
- package/dist/core/p-f35d81cb.entry.js.map +1 -0
- package/dist/core/{p-e6779171.entry.js → p-f39cf9b1.entry.js} +2 -2
- package/dist/core/p-f39cf9b1.entry.js.map +1 -0
- package/dist/core/{p-8856dff4.entry.js → p-f815f8c9.entry.js} +2 -2
- package/dist/core/{p-8856dff4.entry.js.map → p-f815f8c9.entry.js.map} +1 -1
- package/dist/core/p-fa08e75c.entry.js +2 -0
- package/dist/core/{p-4e187a11.entry.js.map → p-fa08e75c.entry.js.map} +1 -1
- package/dist/core/{p-91dc6ad3.entry.js → p-fc852e9b.entry.js} +2 -2
- package/dist/core/p-fc852e9b.entry.js.map +1 -0
- package/dist/core/{p-264335c5.entry.js → p-fe85b5b2.entry.js} +2 -2
- package/dist/core/{p-264335c5.entry.js.map → p-fe85b5b2.entry.js.map} +1 -1
- package/dist/esm/core.js +1 -1
- package/dist/esm/{helpers-ddc2008a.js → helpers-0bb68835.js} +31 -33
- package/dist/esm/helpers-0bb68835.js.map +1 -0
- package/dist/esm/{helpers-bf471ace.js → helpers-fb59efa8.js} +56 -38
- package/dist/esm/helpers-fb59efa8.js.map +1 -0
- package/dist/esm/ic-accordion-group.entry.js +1 -1
- package/dist/esm/ic-accordion-group.entry.js.map +1 -1
- package/dist/esm/ic-accordion.entry.js +1 -1
- package/dist/esm/ic-accordion.entry.js.map +1 -1
- package/dist/esm/ic-alert.entry.js +63 -36
- package/dist/esm/ic-alert.entry.js.map +1 -1
- package/dist/esm/ic-back-to-top.entry.js +4 -4
- package/dist/esm/ic-back-to-top.entry.js.map +1 -1
- package/dist/esm/ic-badge.entry.js +40 -16
- package/dist/esm/ic-badge.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb-group.entry.js +3 -3
- package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +3 -3
- package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ic-button_3.entry.js +32 -7
- 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 +6 -6
- package/dist/esm/ic-card-vertical.entry.js.map +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +4 -4
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ic-checkbox_3.entry.js +9 -9
- package/dist/esm/ic-checkbox_3.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +4 -4
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-classification-banner.entry.js +2 -2
- package/dist/esm/ic-classification-banner.entry.js.map +1 -1
- package/dist/esm/ic-data-list.entry.js +2 -2
- package/dist/esm/ic-data-list.entry.js.map +1 -1
- package/dist/esm/ic-data-row.entry.js +3 -3
- package/dist/esm/ic-data-row.entry.js.map +1 -1
- package/dist/esm/ic-data-table-title-bar.entry.js +1 -1
- package/dist/esm/ic-data-table.entry.js +14 -18
- package/dist/esm/ic-data-table.entry.js.map +1 -1
- package/dist/esm/ic-date-input.entry.js +1 -1
- package/dist/esm/ic-date-picker.entry.js +1 -1
- package/dist/esm/ic-dialog.entry.js +3 -3
- package/dist/esm/ic-dialog.entry.js.map +1 -1
- package/dist/esm/ic-divider.entry.js +2 -2
- package/dist/esm/ic-divider.entry.js.map +1 -1
- package/dist/esm/ic-footer-link-group.entry.js +2 -2
- package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
- package/dist/esm/ic-footer-link.entry.js +3 -3
- package/dist/esm/ic-footer-link.entry.js.map +1 -1
- package/dist/esm/ic-footer.entry.js +4 -4
- package/dist/esm/ic-footer.entry.js.map +1 -1
- package/dist/esm/ic-hero.entry.js +5 -5
- package/dist/esm/ic-hero.entry.js.map +1 -1
- package/dist/esm/ic-horizontal-scroll.entry.js +6 -6
- package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
- package/dist/esm/ic-input-component-container_3.entry.js +9 -9
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +8 -8
- package/dist/esm/ic-input-label_2.entry.js.map +1 -1
- package/dist/esm/ic-link.entry.js +2 -2
- package/dist/esm/ic-link.entry.js.map +1 -1
- package/dist/esm/ic-menu-group.entry.js +2 -2
- package/dist/esm/ic-menu-group.entry.js.map +1 -1
- package/dist/esm/ic-menu-item.entry.js +1 -1
- package/dist/esm/ic-menu-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-button.entry.js +3 -3
- package/dist/esm/ic-navigation-button.entry.js.map +1 -1
- package/dist/esm/ic-navigation-group.entry.js +13 -13
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +12 -7
- package/dist/esm/ic-navigation-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +6 -6
- package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
- package/dist/esm/ic-page-header.entry.js +7 -7
- package/dist/esm/ic-page-header.entry.js.map +1 -1
- package/dist/esm/ic-pagination_4.entry.js +63 -61
- package/dist/esm/ic-pagination_4.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +5 -5
- package/dist/esm/ic-popover-menu.entry.js.map +1 -1
- package/dist/esm/ic-radio-group.entry.js +5 -5
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +6 -6
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +10 -10
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-section-container.entry.js +2 -2
- package/dist/esm/ic-section-container.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +5 -5
- package/dist/esm/ic-side-navigation.entry.js.map +1 -1
- package/dist/esm/ic-skeleton.entry.js +2 -2
- package/dist/esm/ic-skeleton.entry.js.map +1 -1
- package/dist/esm/ic-skip-link.entry.js +10 -3
- package/dist/esm/ic-skip-link.entry.js.map +1 -1
- package/dist/esm/ic-status-tag.entry.js +3 -3
- package/dist/esm/ic-status-tag.entry.js.map +1 -1
- package/dist/esm/ic-step.entry.js +15 -15
- package/dist/esm/ic-step.entry.js.map +1 -1
- 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-switch.entry.js.map +1 -1
- package/dist/esm/ic-tab-context.entry.js +1 -1
- 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-group.entry.js.map +1 -1
- package/dist/esm/ic-tab-panel.entry.js +2 -2
- package/dist/esm/ic-tab-panel.entry.js.map +1 -1
- package/dist/esm/ic-tab.entry.js +3 -3
- package/dist/esm/ic-tab.entry.js.map +1 -1
- package/dist/esm/ic-theme.entry.js +4 -2
- package/dist/esm/ic-theme.entry.js.map +1 -1
- package/dist/esm/ic-toast-region.entry.js +1 -1
- package/dist/esm/ic-toast-region.entry.js.map +1 -1
- package/dist/esm/ic-toast.entry.js +4 -4
- 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-group.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button.entry.js +4 -4
- package/dist/esm/ic-toggle-button.entry.js.map +1 -1
- package/dist/esm/ic-top-navigation.entry.js +5 -5
- package/dist/esm/ic-top-navigation.entry.js.map +1 -1
- package/dist/esm/ic-tree-item.entry.js +1 -1
- package/dist/esm/ic-tree-view.entry.js +7 -6
- package/dist/esm/ic-tree-view.entry.js.map +1 -1
- package/dist/esm/ic-typography.entry.js +4 -4
- package/dist/esm/ic-typography.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-data-table/ic-data-table.d.ts +0 -1
- package/dist/types/components/ic-data-table/story-data.d.ts +4 -4
- package/dist/types/utils/constants.d.ts +1 -0
- package/dist/types/utils/helpers.d.ts +72 -46
- package/dist/types/utils/types.d.ts +32 -7
- package/hydrate/index.js +496 -390
- package/hydrate/index.mjs +496 -390
- package/package.json +4 -4
- package/dist/cjs/helpers-bec0dbd4.js.map +0 -1
- package/dist/cjs/helpers-d01564f7.js.map +0 -1
- package/dist/core/p-09e8b002.entry.js +0 -2
- package/dist/core/p-09e8b002.entry.js.map +0 -1
- package/dist/core/p-1a2b4803.entry.js +0 -2
- package/dist/core/p-1a2b4803.entry.js.map +0 -1
- package/dist/core/p-1f415138.entry.js +0 -2
- package/dist/core/p-1f415138.entry.js.map +0 -1
- package/dist/core/p-20bd48cf.entry.js.map +0 -1
- package/dist/core/p-21193099.entry.js.map +0 -1
- package/dist/core/p-3244a174.entry.js +0 -2
- package/dist/core/p-3244a174.entry.js.map +0 -1
- package/dist/core/p-3f185257.entry.js +0 -2
- package/dist/core/p-3f185257.entry.js.map +0 -1
- package/dist/core/p-4e187a11.entry.js +0 -2
- package/dist/core/p-59aed40c.entry.js +0 -2
- package/dist/core/p-59aed40c.entry.js.map +0 -1
- package/dist/core/p-65d3a515.entry.js +0 -2
- package/dist/core/p-65d3a515.entry.js.map +0 -1
- package/dist/core/p-6aa1e928.entry.js +0 -2
- package/dist/core/p-6aa1e928.entry.js.map +0 -1
- package/dist/core/p-6e0f93c5.entry.js.map +0 -1
- package/dist/core/p-6f6d793f.entry.js +0 -2
- package/dist/core/p-6f6d793f.entry.js.map +0 -1
- package/dist/core/p-7bbd9fcb.entry.js +0 -2
- package/dist/core/p-7bbd9fcb.entry.js.map +0 -1
- package/dist/core/p-7d054704.js +0 -2
- package/dist/core/p-7d054704.js.map +0 -1
- package/dist/core/p-8c5a23b4.entry.js.map +0 -1
- package/dist/core/p-91dc6ad3.entry.js.map +0 -1
- package/dist/core/p-94427b50.entry.js +0 -2
- package/dist/core/p-94427b50.entry.js.map +0 -1
- package/dist/core/p-9cf7494c.entry.js.map +0 -1
- package/dist/core/p-a5ee9c8d.entry.js +0 -2
- package/dist/core/p-a5ee9c8d.entry.js.map +0 -1
- package/dist/core/p-b953b22f.entry.js +0 -2
- package/dist/core/p-b953b22f.entry.js.map +0 -1
- package/dist/core/p-bfdefe7a.entry.js +0 -2
- package/dist/core/p-bfdefe7a.entry.js.map +0 -1
- package/dist/core/p-c4baa405.entry.js +0 -2
- package/dist/core/p-c4baa405.entry.js.map +0 -1
- package/dist/core/p-cda2a461.entry.js +0 -2
- package/dist/core/p-cda2a461.entry.js.map +0 -1
- package/dist/core/p-ce83c802.entry.js.map +0 -1
- package/dist/core/p-cea17764.entry.js +0 -2
- package/dist/core/p-e246d84b.js +0 -2
- package/dist/core/p-e246d84b.js.map +0 -1
- package/dist/core/p-e6779171.entry.js.map +0 -1
- package/dist/esm/helpers-bf471ace.js.map +0 -1
- package/dist/esm/helpers-ddc2008a.js.map +0 -1
- /package/dist/core/{p-f5e9c8c8.entry.js.map → p-0a0b25c5.entry.js.map} +0 -0
- /package/dist/core/{p-a2fcea60.entry.js.map → p-0e3a62cc.entry.js.map} +0 -0
- /package/dist/core/{p-19ecd2a6.entry.js.map → p-4933549f.entry.js.map} +0 -0
- /package/dist/core/{p-858dd362.entry.js.map → p-5c363e21.entry.js.map} +0 -0
- /package/dist/core/{p-bb9142fe.entry.js.map → p-af1d6e41.entry.js.map} +0 -0
@@ -4,7 +4,7 @@
|
|
4
4
|
* from @ukic/web-components in the same file. Why?
|
5
5
|
*/
|
6
6
|
import { EventEmitter } from "../stencil-public-runtime";
|
7
|
-
import {
|
7
|
+
import { IcCallbackFunctionNoReturn, IcInformationStatusOrEmpty, IcNavParentDetails, IcPropObject, IcSearchMatchPositions, IcColorRGBA, IcDeviceSizes, IcColor, IcBrandForegroundNoDefault, IcBrandForeground, IcMenuOption } from "@ukic/web-components";
|
8
8
|
import { IcDataTableDataType } from "../interface";
|
9
9
|
/**
|
10
10
|
* converts an enum of strings into an array of strings
|
@@ -35,8 +35,27 @@ export declare const dynamicDebounce: (func: (...args: unknown[]) => void, getDe
|
|
35
35
|
* @param value The value of the input
|
36
36
|
* @param disabled If true, the input is disabled
|
37
37
|
*/
|
38
|
-
export declare const renderHiddenInput: (always: boolean, container: HTMLElement, name: string, value: string | Date | undefined | null, disabled: boolean) => void;
|
38
|
+
export declare const renderHiddenInput: (always: boolean, container: HTMLElement, name: string, value: string | Date | undefined | null, disabled: boolean | undefined) => void;
|
39
|
+
/**
|
40
|
+
* This method is used to add a hidden file input to a host element that contains
|
41
|
+
* a Shadow DOM. It does not add the input inside of the Shadow root which
|
42
|
+
* allows it to be picked up inside of forms. It should contain the same
|
43
|
+
* values as the host element.
|
44
|
+
*
|
45
|
+
* @param event: The event that is emitted once a file is selected.
|
46
|
+
* @param container The element where the input will be added
|
47
|
+
* @param multiple If true, multiple files can be selected
|
48
|
+
* @param name The name of the input
|
49
|
+
* @param value The value of the input
|
50
|
+
* @param disabled If true, the input is disabled
|
51
|
+
* @param accept A string of the accepted files
|
52
|
+
*/
|
53
|
+
export declare const renderFileHiddenInput: (event: EventEmitter, container: HTMLElement, multiple: boolean, name: string, value: FileList | undefined | null, disabled: boolean, accept: string | undefined | null) => void;
|
39
54
|
export declare const removeHiddenInput: (container: HTMLElement) => void;
|
55
|
+
export declare const hasShadowDom: (el: HTMLElement | null | undefined) => boolean;
|
56
|
+
export declare const getInputHelperTextID: (id: string) => string;
|
57
|
+
export declare const getInputValidationTextID: (id: string) => string;
|
58
|
+
export declare const getInputDescribedByText: (inputId: string, helperText: boolean, validationText: boolean) => string;
|
40
59
|
/**
|
41
60
|
* This method helps to understand the context in which a component exists,
|
42
61
|
* to assist with choosing appropriate foreground colours to use. For example,
|
@@ -50,6 +69,11 @@ export declare const removeHiddenInput: (container: HTMLElement) => void;
|
|
50
69
|
* @returns IcBrandForeground depending on the context
|
51
70
|
*/
|
52
71
|
export declare const getBrandFromContext: (el: Element, brandFromEvent?: IcBrandForeground | null) => IcBrandForeground;
|
72
|
+
/**
|
73
|
+
* Checks if the current device is a mobile or tablet device.
|
74
|
+
* @returns {boolean} Returns true if the device is a mobile or tablet device, otherwise returns false.
|
75
|
+
*/
|
76
|
+
export declare const isMobileOrTablet: () => boolean;
|
53
77
|
/**
|
54
78
|
* Will create a button within the lightDOM which interacts with the parent form.
|
55
79
|
* This is required as buttons within the shadowDOM will not invoke a submit or reset
|
@@ -60,6 +84,29 @@ export declare const getBrandFromContext: (el: Element, brandFromEvent?: IcBrand
|
|
60
84
|
export declare const handleHiddenFormButtonClick: (form: HTMLFormElement, button: HTMLIcButtonElement | HTMLButtonElement) => void;
|
61
85
|
export declare const isEmptyString: (value: string | null) => boolean;
|
62
86
|
export declare const isPropDefined: (prop: string) => string | null;
|
87
|
+
/**
|
88
|
+
* Extracts the label using the value from an object. Requires the object to have a label and value property.
|
89
|
+
* @param value - value from object
|
90
|
+
* @param options - list of menu items
|
91
|
+
* @returns - label corresponding to value
|
92
|
+
*/
|
93
|
+
export declare const getLabelFromValue: (value: string, options: IcMenuOption[], valueField?: string, labelField?: string) => string | undefined;
|
94
|
+
/**
|
95
|
+
* Filters the options based on the search string.
|
96
|
+
* @param options - array of options
|
97
|
+
* @param includeDescriptions - determines whether option descriptions are included when filtering options
|
98
|
+
* @param searchString - string used to filter the options
|
99
|
+
* @param position - whether the search string matches the start of or anywhere in the options
|
100
|
+
* @returns filtered array of options
|
101
|
+
*/
|
102
|
+
export declare const getFilteredMenuOptions: (options: IcMenuOption[], includeDescriptions: boolean, searchString: string, position?: IcSearchMatchPositions, labelField?: string) => IcMenuOption[];
|
103
|
+
/**
|
104
|
+
* Gets count of options where only group title "parent" options have been removed.
|
105
|
+
* Disabled options are included in the count.
|
106
|
+
* @param options - array of options
|
107
|
+
* @returns number of options not including group titles
|
108
|
+
*/
|
109
|
+
export declare const getOptionsWithoutGroupTitlesCount: (options: IcMenuOption[]) => number;
|
63
110
|
export declare const deviceSizeMatches: (size: number) => boolean;
|
64
111
|
export declare const getCurrentDeviceSize: () => number;
|
65
112
|
export declare const getCssProperty: (cssVar: string) => string;
|
@@ -74,68 +121,47 @@ export declare const getBrandColorBrightness: () => number;
|
|
74
121
|
/**
|
75
122
|
* Returns if dark or light foreground colors should be used for color contrast reasons
|
76
123
|
* @returns "dark" or "light"
|
124
|
+
* @param brightness - Optional custom brightness value. Defaults to `getBrandColorBrightness`
|
77
125
|
*/
|
78
|
-
export declare const getBrandForegroundAppearance: () =>
|
79
|
-
export declare const getSlot: (element: HTMLElement, name: string) => Element | null;
|
126
|
+
export declare const getBrandForegroundAppearance: (brightness?: number) => IcBrandForegroundNoDefault;
|
127
|
+
export declare const getSlot: (element: HTMLElement | undefined, name: string) => Element | null;
|
80
128
|
export declare const slotHasContent: (element: HTMLElement, name: string) => boolean;
|
81
129
|
export declare const getSlotContent: (element: HTMLElement, name: string) => Element[] | NodeListOf<ChildNode> | null;
|
82
130
|
export declare const getSlotElements: (slot: Element) => NodeListOf<ChildNode> | Element[] | null;
|
83
131
|
export declare const getNavItemParentDetails: ({ parentElement, }: HTMLElement) => IcNavParentDetails;
|
84
132
|
export declare const DEVICE_SIZES: {
|
85
|
-
XS:
|
86
|
-
S:
|
87
|
-
M:
|
88
|
-
L:
|
89
|
-
XL:
|
133
|
+
XS: IcDeviceSizes;
|
134
|
+
S: IcDeviceSizes;
|
135
|
+
M: IcDeviceSizes;
|
136
|
+
L: IcDeviceSizes;
|
137
|
+
XL: IcDeviceSizes;
|
90
138
|
UNDEFINED: number;
|
91
139
|
};
|
92
|
-
export declare const
|
140
|
+
export declare const hasValidationStatus: (status?: IcInformationStatusOrEmpty, disabled?: boolean) => boolean;
|
141
|
+
export declare const isSlotUsed: ({ children }: HTMLElement, slotName: string) => boolean;
|
93
142
|
export declare const onComponentPropUndefinedChange: (oldValue: string | undefined, newValue: string | undefined, callback: IcCallbackFunctionNoReturn) => void;
|
94
|
-
export declare const hasShadowDom: (el: HTMLElement) => boolean;
|
95
|
-
export declare const getInputHelperTextID: (id: string) => string;
|
96
|
-
export declare const getInputValidationTextID: (id: string) => string;
|
97
|
-
export declare const getInputDescribedByText: (inputId: string, helperText: boolean, validationText: boolean) => string;
|
98
|
-
export declare const isMobileOrTablet: () => boolean;
|
99
|
-
/**
|
100
|
-
* Extracts the label using the value from an object. Requires the object to have a label and value property.
|
101
|
-
* @param value - value from object
|
102
|
-
* @param options - list of menu items
|
103
|
-
* @returns - label corresponding to value
|
104
|
-
*/
|
105
|
-
export declare const getLabelFromValue: (value: string, options: IcMenuOption[], valueField?: string, labelField?: string) => string | undefined;
|
106
|
-
/**
|
107
|
-
* Filters the options based on the search string.
|
108
|
-
* @param options - array of options
|
109
|
-
* @param includeDescriptions - determines whether option descriptions are included when filtering options
|
110
|
-
* @param searchString - string used to filter the options
|
111
|
-
* @param position - whether the search string matches the start of or anywhere in the options
|
112
|
-
* @returns filtered array of options
|
113
|
-
*/
|
114
|
-
export declare const getFilteredMenuOptions: (options: IcMenuOption[], includeDescriptions: boolean, searchString: string, position: IcSearchMatchPositions, labelField?: string) => IcMenuOption[];
|
115
|
-
/**
|
116
|
-
* Gets count of options where only group title "parent" options have been removed.
|
117
|
-
* Disabled options are included in the count.
|
118
|
-
* @param options - array of options
|
119
|
-
* @returns number of options not including group titles
|
120
|
-
*/
|
121
|
-
export declare const getOptionsWithoutGroupTitlesCount: (options: IcMenuOption[]) => number;
|
122
|
-
export declare const hexToRgba: (hex: string) => IcColorRGBA;
|
123
|
-
export declare const rgbaStrToObj: (rgbaStr: string) => IcColorRGBA;
|
124
|
-
export declare const elementOverflowsX: (element: HTMLElement) => boolean;
|
125
|
-
export declare const hasClassificationBanner: () => boolean;
|
126
|
-
export declare const pxToRem: (px: string, base?: number) => string;
|
127
|
-
export declare const isNumeric: (value: string) => boolean;
|
128
|
-
export declare const hasValidationStatus: (status: IcInformationStatusOrEmpty, disabled: boolean) => boolean;
|
129
143
|
export declare const onComponentRequiredPropUndefined: (props: IcPropObject[], component: string) => void;
|
130
144
|
export declare const kebabToCamelCase: (kebabCase: string) => string;
|
131
145
|
export declare const checkResizeObserver: (callbackFn: IcCallbackFunctionNoReturn) => void;
|
146
|
+
export declare const hexToRgba: (hex: string) => IcColorRGBA;
|
147
|
+
export declare const rgbaStrToObj: (rgbaStr: string) => IcColorRGBA;
|
148
|
+
export declare const elementOverflowsX: ({ scrollWidth, clientWidth, }: HTMLElement) => boolean;
|
149
|
+
export declare const hasClassificationBanner: () => boolean;
|
132
150
|
export declare const addFormResetListener: (el: HTMLElement, callbackFn: IcCallbackFunctionNoReturn) => void;
|
133
151
|
export declare const removeFormResetListener: (el: HTMLElement, callbackFn: IcCallbackFunctionNoReturn) => void;
|
134
|
-
export declare const
|
152
|
+
export declare const pxToRem: (px: string, base?: number) => string;
|
153
|
+
/**
|
154
|
+
* Removes the disabled attribute from the provided element when its value is set to false.
|
155
|
+
* This effectively makes it null, to not confuse screen readers that cannot interpret the false value
|
156
|
+
*/
|
157
|
+
export declare const removeDisabledFalse: (disabled: boolean | undefined, element: HTMLElement) => void;
|
135
158
|
export declare const isMacDevice: () => boolean;
|
159
|
+
export declare const isNumeric: (value: string) => boolean;
|
136
160
|
export declare function waitForHydration(): Promise<boolean>;
|
161
|
+
export declare const convertToRGBA: (color: IcColor) => IcColorRGBA | null;
|
137
162
|
export declare const capitalize: (text: string) => string;
|
138
163
|
export declare const checkSlotInChildMutations: (addedNodes: NodeList, removedNodes: NodeList, slotName: string | string[]) => boolean;
|
164
|
+
export declare const isElInAGGrid: (el: HTMLElement) => boolean;
|
139
165
|
export declare const addDataToPosition: (dataObject: IcDataTableDataType, newKeys: {
|
140
166
|
key: string;
|
141
167
|
index: number;
|
@@ -17,13 +17,13 @@ export declare enum IcBrandForegroundEnum {
|
|
17
17
|
Dark = "dark",
|
18
18
|
Light = "light"
|
19
19
|
}
|
20
|
+
export type IcThemeMode = "dark" | "light" | "inherit";
|
20
21
|
export type IcBrandForeground = "default" | "dark" | "light";
|
21
22
|
export type IcBrandForegroundNoDefault = "dark" | "light";
|
22
23
|
export type IcBrand = {
|
23
24
|
mode: IcBrandForeground;
|
24
25
|
color: IcColorRGB;
|
25
26
|
};
|
26
|
-
export type IcThemeMode = "dark" | "light" | "inherit";
|
27
27
|
export type IcAdditionalFieldTypes = "static" | "dynamic";
|
28
28
|
export type IcColorRGB = {
|
29
29
|
r: number;
|
@@ -37,7 +37,7 @@ export type IcActivationTypes = "automatic" | "manual";
|
|
37
37
|
export type IcAutocorrectStates = "on" | "off";
|
38
38
|
export type IcNavParentDetails = {
|
39
39
|
navType: IcNavType | "";
|
40
|
-
parent: HTMLElement;
|
40
|
+
parent: HTMLElement | null;
|
41
41
|
};
|
42
42
|
export type IcTypographyVariants = "h1" | "h2" | "h3" | "h4" | "subtitle-large" | "subtitle-small" | "body" | "label" | "label-uppercase" | "caption" | "caption-uppercase" | "code-large" | "code-small" | "code-extra-small" | "badge" | "badge-small";
|
43
43
|
/**
|
@@ -60,6 +60,35 @@ export interface IcMenuOption {
|
|
60
60
|
icon?: any;
|
61
61
|
}
|
62
62
|
export type IcSearchMatchPositions = "start" | "anywhere";
|
63
|
+
export type IcCallbackFunctionNoReturn = (...args: unknown[]) => void;
|
64
|
+
export type IcRequiredPropsTypes = string | boolean | number | HTMLElement | IcMenuOption[] | undefined;
|
65
|
+
export type IcPropObject = {
|
66
|
+
prop: IcRequiredPropsTypes;
|
67
|
+
propName: string;
|
68
|
+
};
|
69
|
+
export type IcRelatedTarget = EventTarget | undefined;
|
70
|
+
export type IcOrientation = "horizontal" | "vertical";
|
71
|
+
export type IcEmphasisType = "filled" | "outlined";
|
72
|
+
export interface IcValueEventDetail {
|
73
|
+
value: string;
|
74
|
+
keyPressed?: string;
|
75
|
+
}
|
76
|
+
export interface IcMultiValueEventDetail {
|
77
|
+
value: string | string[] | null;
|
78
|
+
keyPressed?: string;
|
79
|
+
}
|
80
|
+
export interface IcBlurEventDetail {
|
81
|
+
relatedTarget: IcRelatedTarget | null;
|
82
|
+
}
|
83
|
+
export type IcSelectTypes = "single" | "multi";
|
84
|
+
export type IcSelectMethodTypes = "auto" | "manual";
|
85
|
+
export type IcDeviceSizes = 0 | 576 | 768 | 992 | 1200;
|
86
|
+
type RGB = `rgb(${string})`;
|
87
|
+
type RGBA = `rgba(${string})`;
|
88
|
+
type HEX = `#${string}`;
|
89
|
+
export type IcColor = RGB | RGBA | HEX;
|
90
|
+
export type IcIconPlacementOptions = "left" | "right" | "top";
|
91
|
+
export type IcButtonTooltipPlacement = "top" | "right" | "bottom" | "left";
|
63
92
|
export interface IcPaginationBarOptions {
|
64
93
|
alignment?: IcPaginationAlignmentOptions;
|
65
94
|
hideAllFromItemsPerPage?: boolean;
|
@@ -79,7 +108,6 @@ export interface IcPaginationBarOptions {
|
|
79
108
|
theme?: IcThemeMode;
|
80
109
|
type?: IcPaginationTypes;
|
81
110
|
}
|
82
|
-
export type IcCallbackFunctionNoReturn = (...args: unknown[]) => void;
|
83
111
|
export type IcDateFormat = "DD/MM/YYYY" | "MM/DD/YYYY" | "YYYY/MM/DD";
|
84
112
|
export declare enum IcDateInputMonths {
|
85
113
|
"January" = 0,
|
@@ -122,7 +150,4 @@ export declare enum IcWeekDays {
|
|
122
150
|
Friday = 5,
|
123
151
|
Saturday = 6
|
124
152
|
}
|
125
|
-
export
|
126
|
-
value: string | string[];
|
127
|
-
keyPressed?: string;
|
128
|
-
}
|
153
|
+
export {};
|