@ukic/web-components 2.18.0 → 2.19.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-d52cddc1.js → helpers-88e018cf.js} +27 -4
- package/dist/cjs/helpers-88e018cf.js.map +1 -0
- package/dist/cjs/ic-accordion-group.cjs.entry.js +11 -2
- 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-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 +18 -17
- package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +41 -86
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card.cjs.entry.js +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +25 -2
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
- package/dist/cjs/ic-dialog.cjs.entry.js +14 -4
- package/dist/cjs/ic-dialog.cjs.entry.js.map +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 +4 -4
- 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 +33 -15
- package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +26 -5
- package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +16 -13
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +29 -33
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +1 -1
- package/dist/cjs/ic-pagination-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-pagination.cjs.entry.js +5 -5
- package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +40 -26
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +9 -4
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +1 -1
- package/dist/cjs/ic-select.cjs.entry.js +24 -6
- package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +2 -2
- package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +5 -2
- package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +2 -1
- package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab-context.cjs.entry.js +18 -2
- package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +1 -1
- package/dist/cjs/ic-text-field.cjs.entry.js +26 -7
- package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +3 -10
- package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +1 -1
- package/dist/cjs/ic-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +46 -60
- package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +11 -35
- package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/types-dc22e301.js.map +1 -1
- package/dist/collection/components/ic-accordion-group/ic-accordion-group.js +32 -2
- package/dist/collection/components/ic-accordion-group/ic-accordion-group.js.map +1 -1
- package/dist/collection/components/ic-badge/ic-badge.js +20 -19
- package/dist/collection/components/ic-badge/ic-badge.js.map +1 -1
- package/dist/collection/components/ic-badge/ic-badge.types.js.map +1 -1
- package/dist/collection/components/ic-badge/test/basic/ic-badge.spec.js +2 -2
- package/dist/collection/components/ic-badge/test/basic/ic-badge.spec.js.map +1 -1
- package/dist/collection/components/ic-button/ic-button.css +2 -1
- package/dist/collection/components/ic-button/ic-button.js +41 -83
- package/dist/collection/components/ic-button/ic-button.js.map +1 -1
- package/dist/collection/components/ic-chip/ic-chip.css +4 -3
- package/dist/collection/components/ic-chip/ic-chip.js +51 -1
- package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
- package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js +44 -0
- package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +1 -1
- package/dist/collection/components/ic-dialog/ic-dialog.js +13 -3
- package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -1
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js +50 -0
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js.map +1 -1
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +1 -1
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
- package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js +16 -3
- package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +1 -1
- package/dist/collection/components/ic-link/ic-link.js +33 -15
- package/dist/collection/components/ic-link/ic-link.js.map +1 -1
- package/dist/collection/components/ic-link/test/basic/ic-link.spec.js +12 -0
- package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +1 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +6 -2
- package/dist/collection/components/ic-menu/ic-menu.js +2 -2
- package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +26 -5
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
- package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js +11 -0
- package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +1 -1
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +1 -0
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +14 -11
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +1 -0
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +28 -32
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
- package/dist/collection/components/ic-pagination/ic-pagination.js +4 -4
- package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +39 -25
- package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js +30 -0
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +1 -1
- package/dist/collection/components/ic-radio-option/ic-radio-option.js +32 -3
- package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
- package/dist/collection/components/ic-select/ic-select.js +24 -6
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +37 -0
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +2 -2
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
- package/dist/collection/components/ic-step/ic-step.css +93 -1
- package/dist/collection/components/ic-step/ic-step.js +3 -0
- package/dist/collection/components/ic-step/ic-step.js.map +1 -1
- package/dist/collection/components/ic-stepper/ic-stepper.js +19 -0
- package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js +18 -0
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +1 -1
- package/dist/collection/components/ic-tab/ic-tab.types.js.map +1 -1
- package/dist/collection/components/ic-tab-context/ic-tab-context.js +18 -2
- package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
- package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js +2 -0
- package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js.map +1 -1
- package/dist/collection/components/ic-text-field/ic-text-field.js +26 -7
- package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js +12 -0
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js.map +1 -1
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js +11 -0
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +1 -1
- package/dist/collection/components/ic-theme/ic-theme.js +3 -10
- package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +21 -24
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +68 -59
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
- package/dist/collection/components/ic-typography/ic-typography.css +1 -4
- package/dist/collection/components/ic-typography/ic-typography.js +10 -113
- package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
- package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js +0 -25
- package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +1 -1
- package/dist/collection/utils/helpers.js +55 -2
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/helpers.js +26 -3
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/ic-accordion-group.js +14 -4
- package/dist/components/ic-accordion-group.js.map +1 -1
- package/dist/components/ic-badge.js +18 -17
- package/dist/components/ic-badge.js.map +1 -1
- package/dist/components/ic-button2.js +43 -86
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card.js +1 -1
- package/dist/components/ic-checkbox-group.js +1 -1
- package/dist/components/ic-checkbox.js +1 -1
- package/dist/components/ic-chip.js +29 -3
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-dialog.js +13 -3
- package/dist/components/ic-dialog.js.map +1 -1
- package/dist/components/ic-input-component-container2.js +1 -1
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-link2.js +34 -16
- package/dist/components/ic-link2.js.map +1 -1
- package/dist/components/ic-loading-indicator2.js +1 -1
- package/dist/components/ic-loading-indicator2.js.map +1 -1
- package/dist/components/ic-menu-item2.js +1 -1
- package/dist/components/ic-menu2.js +2 -2
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-button.js +26 -5
- package/dist/components/ic-navigation-button.js.map +1 -1
- package/dist/components/ic-navigation-group.js +15 -12
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js +29 -33
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-pagination-item2.js +1 -1
- package/dist/components/ic-pagination.js +5 -5
- package/dist/components/ic-pagination.js.map +1 -1
- package/dist/components/ic-radio-group.js +40 -26
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +11 -5
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +1 -1
- package/dist/components/ic-select.js +25 -7
- package/dist/components/ic-select.js.map +1 -1
- package/dist/components/ic-side-navigation.js +1 -1
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-step.js +4 -1
- package/dist/components/ic-step.js.map +1 -1
- package/dist/components/ic-stepper.js +2 -0
- package/dist/components/ic-stepper.js.map +1 -1
- package/dist/components/ic-switch.js +1 -1
- package/dist/components/ic-tab-context.js +18 -2
- package/dist/components/ic-tab-context.js.map +1 -1
- package/dist/components/ic-tab.js +1 -1
- package/dist/components/ic-text-field2.js +27 -8
- package/dist/components/ic-text-field2.js.map +1 -1
- package/dist/components/ic-theme.js +3 -10
- package/dist/components/ic-theme.js.map +1 -1
- package/dist/components/ic-toggle-button.js +1 -1
- package/dist/components/ic-top-navigation.js +47 -61
- package/dist/components/ic-top-navigation.js.map +1 -1
- package/dist/components/ic-typography2.js +12 -38
- package/dist/components/ic-typography2.js.map +1 -1
- package/dist/components/types.js.map +1 -1
- package/dist/core/core.css +1 -1
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-0e2628eb.entry.js → p-00c21dd7.entry.js} +2 -2
- package/dist/core/p-00c21dd7.entry.js.map +1 -0
- package/dist/core/{p-d5f721ca.entry.js → p-02ad4585.entry.js} +2 -2
- package/dist/core/{p-fce3e1aa.entry.js → p-03796d51.entry.js} +2 -2
- package/dist/core/p-04cc2b25.entry.js +2 -0
- package/dist/core/p-04cc2b25.entry.js.map +1 -0
- package/dist/core/p-051583a5.entry.js +2 -0
- package/dist/core/p-051583a5.entry.js.map +1 -0
- package/dist/core/p-078f7f23.entry.js +2 -0
- package/dist/core/p-078f7f23.entry.js.map +1 -0
- package/dist/core/p-0c097626.entry.js +2 -0
- package/dist/core/p-0c097626.entry.js.map +1 -0
- package/dist/core/{p-04506779.entry.js → p-1197f0d4.entry.js} +2 -2
- package/dist/core/{p-0038a8fd.entry.js → p-1a6fab3e.entry.js} +2 -2
- package/dist/core/p-1b1270a1.entry.js +2 -0
- package/dist/core/p-1b1270a1.entry.js.map +1 -0
- package/dist/core/{p-2680b736.entry.js → p-1c3b619f.entry.js} +2 -2
- package/dist/core/p-24bed047.entry.js +2 -0
- package/dist/core/{p-916f4265.entry.js.map → p-24bed047.entry.js.map} +1 -1
- package/dist/core/p-26b7b18f.js.map +1 -1
- package/dist/core/{p-123b9306.entry.js → p-2b326b17.entry.js} +2 -2
- package/dist/core/{p-9c18f048.entry.js → p-2d4e7985.entry.js} +2 -2
- package/dist/core/p-2d4e7985.entry.js.map +1 -0
- package/dist/core/p-2f91e86a.entry.js +2 -0
- package/dist/core/p-2f91e86a.entry.js.map +1 -0
- package/dist/core/{p-296b7d74.entry.js → p-328bc6a2.entry.js} +2 -2
- package/dist/core/{p-c7c2aa3c.entry.js → p-32e2ae6f.entry.js} +2 -2
- package/dist/core/{p-4641518f.entry.js → p-346578e4.entry.js} +2 -2
- package/dist/core/p-3f53446c.entry.js +2 -0
- package/dist/core/p-3f53446c.entry.js.map +1 -0
- package/dist/core/p-44ea7a6d.entry.js +2 -0
- package/dist/core/p-44ea7a6d.entry.js.map +1 -0
- package/dist/core/{p-c053230d.entry.js → p-498273cb.entry.js} +2 -2
- package/dist/core/{p-35b8923f.entry.js → p-4f3fe190.entry.js} +2 -2
- package/dist/core/{p-46ecc4c5.entry.js → p-52a4c223.entry.js} +2 -2
- package/dist/core/p-52a4c223.entry.js.map +1 -0
- package/dist/core/{p-47a9dca9.entry.js → p-5481b048.entry.js} +2 -2
- package/dist/core/p-5481b048.entry.js.map +1 -0
- package/dist/core/{p-1d352487.entry.js → p-692ccc73.entry.js} +2 -2
- package/dist/core/{p-80c3424f.entry.js → p-6f9dcfb5.entry.js} +2 -2
- package/dist/core/{p-95d6f3ed.entry.js → p-731515cf.entry.js} +2 -2
- package/dist/core/p-74f9082d.entry.js +2 -0
- package/dist/core/{p-2f462ec5.entry.js.map → p-74f9082d.entry.js.map} +1 -1
- package/dist/core/{p-1ce0d16e.entry.js → p-8153def1.entry.js} +2 -2
- package/dist/core/{p-a98f57cf.entry.js → p-8b65be1e.entry.js} +2 -2
- package/dist/core/{p-166861e8.entry.js → p-8bc2a670.entry.js} +2 -2
- package/dist/core/p-8bc2a670.entry.js.map +1 -0
- package/dist/core/{p-dbbea7fa.entry.js → p-8e37e832.entry.js} +2 -2
- package/dist/core/p-8ed04819.entry.js +2 -0
- package/dist/core/p-8ed04819.entry.js.map +1 -0
- package/dist/core/{p-6a9ddb8a.entry.js → p-8fe2b073.entry.js} +2 -2
- package/dist/core/{p-d319ddce.entry.js → p-9f29ab99.entry.js} +2 -2
- package/dist/core/p-a13236ef.entry.js +2 -0
- package/dist/core/{p-a9e1966f.entry.js.map → p-a13236ef.entry.js.map} +1 -1
- package/dist/core/{p-8aa9aa25.entry.js → p-adf468f4.entry.js} +2 -2
- package/dist/core/{p-b98ce745.entry.js → p-af5eacc1.entry.js} +2 -2
- package/dist/core/{p-e4863c93.entry.js → p-b451f27c.entry.js} +2 -2
- package/dist/core/{p-5603eec3.entry.js → p-ba1c3cf7.entry.js} +2 -2
- package/dist/core/p-ba40f44a.entry.js +2 -0
- package/dist/core/p-ba40f44a.entry.js.map +1 -0
- package/dist/core/p-bceaf300.entry.js +2 -0
- package/dist/core/p-bceaf300.entry.js.map +1 -0
- package/dist/core/p-c3acbefe.entry.js +2 -0
- package/dist/core/p-c3acbefe.entry.js.map +1 -0
- package/dist/core/p-c6ac1a01.entry.js +2 -0
- package/dist/core/p-c6ac1a01.entry.js.map +1 -0
- package/dist/core/{p-22a682e8.entry.js → p-c919c571.entry.js} +2 -2
- package/dist/core/p-d19d157d.entry.js +2 -0
- package/dist/core/p-d19d157d.entry.js.map +1 -0
- package/dist/core/{p-bc7f99b8.entry.js → p-d7f4779d.entry.js} +2 -2
- package/dist/core/p-e4d0d1fb.js +2 -0
- package/dist/core/p-e4d0d1fb.js.map +1 -0
- package/dist/core/{p-a4e7d123.entry.js → p-e5957ce0.entry.js} +2 -2
- package/dist/core/p-e68485ee.entry.js +2 -0
- package/dist/core/p-e68485ee.entry.js.map +1 -0
- package/dist/core/{p-d9329191.entry.js → p-e8e0fa96.entry.js} +2 -2
- package/dist/core/p-f50a57f3.entry.js +2 -0
- package/dist/core/p-f50a57f3.entry.js.map +1 -0
- package/dist/core/p-f8df0716.entry.js +2 -0
- package/dist/core/{p-b781b691.entry.js.map → p-f8df0716.entry.js.map} +1 -1
- package/dist/core/p-fd737b7e.entry.js +2 -0
- package/dist/core/p-fd737b7e.entry.js.map +1 -0
- package/dist/esm/core.js +1 -1
- package/dist/esm/{helpers-f1ca9908.js → helpers-24ba0b83.js} +27 -4
- package/dist/esm/helpers-24ba0b83.js.map +1 -0
- package/dist/esm/ic-accordion-group.entry.js +11 -2
- package/dist/esm/ic-accordion-group.entry.js.map +1 -1
- package/dist/esm/ic-accordion.entry.js +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 +18 -17
- package/dist/esm/ic-badge.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +1 -1
- package/dist/esm/ic-button_3.entry.js +41 -86
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card.entry.js +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +1 -1
- package/dist/esm/ic-checkbox.entry.js +1 -1
- package/dist/esm/ic-chip.entry.js +25 -2
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-data-row.entry.js +1 -1
- package/dist/esm/ic-dialog.entry.js +14 -4
- package/dist/esm/ic-dialog.entry.js.map +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 +4 -4
- 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 +34 -16
- package/dist/esm/ic-link.entry.js.map +1 -1
- package/dist/esm/ic-menu-group.entry.js +1 -1
- package/dist/esm/ic-menu-item.entry.js +1 -1
- package/dist/esm/ic-navigation-button.entry.js +27 -6
- package/dist/esm/ic-navigation-button.entry.js.map +1 -1
- package/dist/esm/ic-navigation-group.entry.js +16 -13
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +29 -33
- package/dist/esm/ic-navigation-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +1 -1
- package/dist/esm/ic-page-header.entry.js +1 -1
- package/dist/esm/ic-pagination-item.entry.js +1 -1
- package/dist/esm/ic-pagination.entry.js +5 -5
- package/dist/esm/ic-pagination.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +1 -1
- package/dist/esm/ic-radio-group.entry.js +40 -26
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +9 -4
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +1 -1
- package/dist/esm/ic-select.entry.js +25 -7
- package/dist/esm/ic-select.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +2 -2
- package/dist/esm/ic-side-navigation.entry.js.map +1 -1
- package/dist/esm/ic-status-tag.entry.js +1 -1
- package/dist/esm/ic-step.entry.js +5 -2
- package/dist/esm/ic-step.entry.js.map +1 -1
- package/dist/esm/ic-stepper.entry.js +2 -1
- package/dist/esm/ic-stepper.entry.js.map +1 -1
- package/dist/esm/ic-switch.entry.js +1 -1
- package/dist/esm/ic-tab-context.entry.js +18 -2
- package/dist/esm/ic-tab-context.entry.js.map +1 -1
- package/dist/esm/ic-tab-group.entry.js +1 -1
- package/dist/esm/ic-tab-panel.entry.js +1 -1
- package/dist/esm/ic-tab.entry.js +1 -1
- package/dist/esm/ic-text-field.entry.js +27 -8
- package/dist/esm/ic-text-field.entry.js.map +1 -1
- package/dist/esm/ic-theme.entry.js +3 -10
- package/dist/esm/ic-theme.entry.js.map +1 -1
- package/dist/esm/ic-toast.entry.js +1 -1
- package/dist/esm/ic-toggle-button.entry.js +1 -1
- package/dist/esm/ic-top-navigation.entry.js +46 -60
- package/dist/esm/ic-top-navigation.entry.js.map +1 -1
- package/dist/esm/ic-typography.entry.js +12 -36
- package/dist/esm/ic-typography.entry.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/types-6f6b41a5.js.map +1 -1
- package/dist/types/components/ic-accordion-group/ic-accordion-group.d.ts +6 -0
- package/dist/types/components/ic-badge/ic-badge.d.ts +3 -2
- package/dist/types/components/ic-badge/ic-badge.types.d.ts +0 -5
- package/dist/types/components/ic-button/ic-button.d.ts +3 -10
- package/dist/types/components/ic-chip/ic-chip.d.ts +8 -1
- package/dist/types/components/ic-dialog/ic-dialog.d.ts +1 -0
- package/dist/types/components/ic-link/ic-link.d.ts +6 -2
- package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +3 -0
- package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +2 -2
- package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +3 -0
- package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +4 -0
- package/dist/types/components/ic-select/ic-select.d.ts +2 -0
- package/dist/types/components/ic-stepper/ic-stepper.d.ts +4 -0
- package/dist/types/components/ic-tab/ic-tab.types.d.ts +1 -0
- package/dist/types/components/ic-text-field/ic-text-field.d.ts +3 -1
- package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +10 -5
- package/dist/types/components/ic-typography/ic-typography.d.ts +1 -18
- package/dist/types/components.d.ts +33 -31
- package/dist/types/interface.d.ts +0 -1
- package/dist/types/utils/helpers.d.ts +18 -7
- package/dist/types/utils/types.d.ts +6 -0
- package/hydrate/index.js +402 -330
- package/package.json +3 -2
- package/vscode-data.json +20 -0
- package/dist/cjs/helpers-d52cddc1.js.map +0 -1
- package/dist/collection/components/ic-page-header/test/a11y/ic-page-header.test.a11y.js +0 -13
- package/dist/collection/components/ic-page-header/test/a11y/ic-page-header.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js +0 -177
- package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js.map +0 -1
- package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js +0 -18
- package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js +0 -128
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js.map +0 -1
- package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js +0 -13
- package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js +0 -33
- package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js.map +0 -1
- package/dist/collection/components/ic-typography/ic-typography.types.js +0 -2
- package/dist/collection/components/ic-typography/ic-typography.types.js.map +0 -1
- package/dist/core/p-0e2628eb.entry.js.map +0 -1
- package/dist/core/p-1183031f.entry.js +0 -2
- package/dist/core/p-1183031f.entry.js.map +0 -1
- package/dist/core/p-166861e8.entry.js.map +0 -1
- package/dist/core/p-210412e4.entry.js +0 -2
- package/dist/core/p-210412e4.entry.js.map +0 -1
- package/dist/core/p-2f462ec5.entry.js +0 -2
- package/dist/core/p-46ecc4c5.entry.js.map +0 -1
- package/dist/core/p-477cf469.entry.js +0 -2
- package/dist/core/p-477cf469.entry.js.map +0 -1
- package/dist/core/p-47a9dca9.entry.js.map +0 -1
- package/dist/core/p-47d39ce7.entry.js +0 -2
- package/dist/core/p-47d39ce7.entry.js.map +0 -1
- package/dist/core/p-4ce5abd7.entry.js +0 -2
- package/dist/core/p-4ce5abd7.entry.js.map +0 -1
- package/dist/core/p-53f2fc84.js +0 -2
- package/dist/core/p-53f2fc84.js.map +0 -1
- package/dist/core/p-5e729e99.entry.js +0 -2
- package/dist/core/p-5e729e99.entry.js.map +0 -1
- package/dist/core/p-64705a03.entry.js +0 -2
- package/dist/core/p-64705a03.entry.js.map +0 -1
- package/dist/core/p-76ee6107.entry.js +0 -2
- package/dist/core/p-76ee6107.entry.js.map +0 -1
- package/dist/core/p-7b0397ea.entry.js +0 -2
- package/dist/core/p-7b0397ea.entry.js.map +0 -1
- package/dist/core/p-916f4265.entry.js +0 -2
- package/dist/core/p-91768ddf.entry.js +0 -2
- package/dist/core/p-91768ddf.entry.js.map +0 -1
- package/dist/core/p-9c18f048.entry.js.map +0 -1
- package/dist/core/p-a9e1966f.entry.js +0 -2
- package/dist/core/p-aa777792.entry.js +0 -2
- package/dist/core/p-aa777792.entry.js.map +0 -1
- package/dist/core/p-aa878a3c.entry.js +0 -2
- package/dist/core/p-aa878a3c.entry.js.map +0 -1
- package/dist/core/p-b781b691.entry.js +0 -2
- package/dist/core/p-cf798ea7.entry.js +0 -2
- package/dist/core/p-cf798ea7.entry.js.map +0 -1
- package/dist/core/p-df090fc1.entry.js +0 -2
- package/dist/core/p-df090fc1.entry.js.map +0 -1
- package/dist/core/p-e68e31ec.entry.js +0 -2
- package/dist/core/p-e68e31ec.entry.js.map +0 -1
- package/dist/core/p-fbcb77a3.entry.js +0 -2
- package/dist/core/p-fbcb77a3.entry.js.map +0 -1
- package/dist/core/p-fea1d095.entry.js +0 -2
- package/dist/core/p-fea1d095.entry.js.map +0 -1
- package/dist/esm/helpers-f1ca9908.js.map +0 -1
- package/dist/types/components/ic-page-header/test/a11y/ic-page-header.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-pagination/test/a11y/ic-pagination.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-typography/ic-typography.types.d.ts +0 -4
- /package/dist/core/{p-d5f721ca.entry.js.map → p-02ad4585.entry.js.map} +0 -0
- /package/dist/core/{p-fce3e1aa.entry.js.map → p-03796d51.entry.js.map} +0 -0
- /package/dist/core/{p-04506779.entry.js.map → p-1197f0d4.entry.js.map} +0 -0
- /package/dist/core/{p-0038a8fd.entry.js.map → p-1a6fab3e.entry.js.map} +0 -0
- /package/dist/core/{p-2680b736.entry.js.map → p-1c3b619f.entry.js.map} +0 -0
- /package/dist/core/{p-123b9306.entry.js.map → p-2b326b17.entry.js.map} +0 -0
- /package/dist/core/{p-296b7d74.entry.js.map → p-328bc6a2.entry.js.map} +0 -0
- /package/dist/core/{p-c7c2aa3c.entry.js.map → p-32e2ae6f.entry.js.map} +0 -0
- /package/dist/core/{p-4641518f.entry.js.map → p-346578e4.entry.js.map} +0 -0
- /package/dist/core/{p-c053230d.entry.js.map → p-498273cb.entry.js.map} +0 -0
- /package/dist/core/{p-35b8923f.entry.js.map → p-4f3fe190.entry.js.map} +0 -0
- /package/dist/core/{p-1d352487.entry.js.map → p-692ccc73.entry.js.map} +0 -0
- /package/dist/core/{p-80c3424f.entry.js.map → p-6f9dcfb5.entry.js.map} +0 -0
- /package/dist/core/{p-95d6f3ed.entry.js.map → p-731515cf.entry.js.map} +0 -0
- /package/dist/core/{p-1ce0d16e.entry.js.map → p-8153def1.entry.js.map} +0 -0
- /package/dist/core/{p-a98f57cf.entry.js.map → p-8b65be1e.entry.js.map} +0 -0
- /package/dist/core/{p-dbbea7fa.entry.js.map → p-8e37e832.entry.js.map} +0 -0
- /package/dist/core/{p-6a9ddb8a.entry.js.map → p-8fe2b073.entry.js.map} +0 -0
- /package/dist/core/{p-d319ddce.entry.js.map → p-9f29ab99.entry.js.map} +0 -0
- /package/dist/core/{p-8aa9aa25.entry.js.map → p-adf468f4.entry.js.map} +0 -0
- /package/dist/core/{p-b98ce745.entry.js.map → p-af5eacc1.entry.js.map} +0 -0
- /package/dist/core/{p-e4863c93.entry.js.map → p-b451f27c.entry.js.map} +0 -0
- /package/dist/core/{p-5603eec3.entry.js.map → p-ba1c3cf7.entry.js.map} +0 -0
- /package/dist/core/{p-22a682e8.entry.js.map → p-c919c571.entry.js.map} +0 -0
- /package/dist/core/{p-bc7f99b8.entry.js.map → p-d7f4779d.entry.js.map} +0 -0
- /package/dist/core/{p-a4e7d123.entry.js.map → p-e5957ce0.entry.js.map} +0 -0
- /package/dist/core/{p-d9329191.entry.js.map → p-e8e0fa96.entry.js.map} +0 -0
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
1
|
import { IcTypographyVariants } from "../../utils/types";
|
|
3
|
-
import { IcExpandEventDetail } from "./ic-typography.types";
|
|
4
2
|
export declare class Typography {
|
|
5
3
|
private focusBtnFromKeyboard;
|
|
6
4
|
private lastMarkerTop;
|
|
@@ -43,26 +41,11 @@ export declare class Typography {
|
|
|
43
41
|
*/
|
|
44
42
|
variant?: IcTypographyVariants;
|
|
45
43
|
expanded: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Emitted when the See More/See Less button is clicked.
|
|
48
|
-
*/
|
|
49
|
-
icExpand?: EventEmitter<IcExpandEventDetail>;
|
|
50
44
|
watchExpandedHandler(): void;
|
|
51
45
|
disconnectedCallback(): void;
|
|
52
46
|
componentDidLoad(): void;
|
|
53
|
-
/**
|
|
54
|
-
* Truncate the text in ic-typography by adding a line-clamp css property.
|
|
55
|
-
* @param height Used to calculate whether the element has exceeded the maximum number of lines.
|
|
56
|
-
*
|
|
57
|
-
*/
|
|
58
|
-
checkMaxLines(height: number): Promise<void>;
|
|
59
|
-
/**
|
|
60
|
-
* @internal Truncate the text in ic-typography by adding a line-clamp css property. This method is specific to ic-data-table.
|
|
61
|
-
* height - used to calculate whether the element has exceeded the maximum number of lines.
|
|
62
|
-
* typographyHeight - the scroll height of the typography element. Used as another way to calculate whether the element has exceeded the maximum number of lines.
|
|
63
|
-
*/
|
|
64
|
-
checkCellTextMaxLines(height: number, typographyHeight?: number): Promise<void>;
|
|
65
47
|
private toggleExpanded;
|
|
48
|
+
private checkMaxLines;
|
|
66
49
|
private checkMarkerPosition;
|
|
67
50
|
private getElementTop;
|
|
68
51
|
private runResizeObserver;
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
-
import { IcActivationTypes, IcAdditionalFieldTypes, IcAlignment, IcAutocompleteTypes, IcAutocorrectStates, IcBlurEventDetail, IcEmphasisType, IcInformationStatusOrEmpty, IcMenuOption, IcOrientation, IcSearchMatchPositions, IcSelectMethodTypes, IcSelectTypes, IcSizes, IcSizesNoLarge, IcStatusVariants, IcTheme, IcThemeForeground, IcThemeForegroundNoDefault, IcTypographyVariants, IcValueEventDetail } from "./utils/types";
|
|
9
|
-
import { IcBadgePositions, IcBadgeTypes, IcBadgeVariants
|
|
8
|
+
import { IcActivationTypes, IcAdditionalFieldTypes, IcAlignment, IcAutocompleteTypes, IcAutocorrectStates, IcBlurEventDetail, IcColor, IcDeviceSizes, IcEmphasisType, IcInformationStatusOrEmpty, IcMenuOption, IcOrientation, IcSearchMatchPositions, IcSelectMethodTypes, IcSelectTypes, IcSizes, IcSizesNoLarge, IcStatusVariants, IcTheme, IcThemeForeground, IcThemeForegroundNoDefault, IcTypographyVariants, IcValueEventDetail } from "./utils/types";
|
|
9
|
+
import { IcBadgePositions, IcBadgeTypes, IcBadgeVariants } from "./components/ic-badge/ic-badge.types";
|
|
10
10
|
import { IcButtonTooltipPlacement, IcButtonTypes, IcButtonVariants } from "./components/ic-button/ic-button.types";
|
|
11
11
|
import { IcChangeEventDetail } from "./components/ic-checkbox-group/ic-checkbox-group.types";
|
|
12
12
|
import { IcChipAppearance } from "./components/ic-chip/ic-chip.types";
|
|
@@ -32,9 +32,8 @@ import { IcTabClickEventDetail, IcTabSelectEventDetail } from "./components/ic-t
|
|
|
32
32
|
import { IcAriaAutocompleteTypes, IcTextFieldInputModes, IcTextFieldTypes } from "./components/ic-text-field/ic-text-field.types";
|
|
33
33
|
import { IcChangeEventDetail as IcChangeEventDetail3 } from "./components/ic-toggle-button-group/ic-toggle-button-group.types";
|
|
34
34
|
import { IcTooltipPlacements } from "./components/ic-tooltip/ic-tooltip.types";
|
|
35
|
-
|
|
36
|
-
export {
|
|
37
|
-
export { IcBadgePositions, IcBadgeTypes, IcBadgeVariants, IcColor } from "./components/ic-badge/ic-badge.types";
|
|
35
|
+
export { IcActivationTypes, IcAdditionalFieldTypes, IcAlignment, IcAutocompleteTypes, IcAutocorrectStates, IcBlurEventDetail, IcColor, IcDeviceSizes, IcEmphasisType, IcInformationStatusOrEmpty, IcMenuOption, IcOrientation, IcSearchMatchPositions, IcSelectMethodTypes, IcSelectTypes, IcSizes, IcSizesNoLarge, IcStatusVariants, IcTheme, IcThemeForeground, IcThemeForegroundNoDefault, IcTypographyVariants, IcValueEventDetail } from "./utils/types";
|
|
36
|
+
export { IcBadgePositions, IcBadgeTypes, IcBadgeVariants } from "./components/ic-badge/ic-badge.types";
|
|
38
37
|
export { IcButtonTooltipPlacement, IcButtonTypes, IcButtonVariants } from "./components/ic-button/ic-button.types";
|
|
39
38
|
export { IcChangeEventDetail } from "./components/ic-checkbox-group/ic-checkbox-group.types";
|
|
40
39
|
export { IcChipAppearance } from "./components/ic-chip/ic-chip.types";
|
|
@@ -60,7 +59,6 @@ export { IcTabClickEventDetail, IcTabSelectEventDetail } from "./components/ic-t
|
|
|
60
59
|
export { IcAriaAutocompleteTypes, IcTextFieldInputModes, IcTextFieldTypes } from "./components/ic-text-field/ic-text-field.types";
|
|
61
60
|
export { IcChangeEventDetail as IcChangeEventDetail3 } from "./components/ic-toggle-button-group/ic-toggle-button-group.types";
|
|
62
61
|
export { IcTooltipPlacements } from "./components/ic-tooltip/ic-tooltip.types";
|
|
63
|
-
export { IcExpandEventDetail } from "./components/ic-typography/ic-typography.types";
|
|
64
62
|
export namespace Components {
|
|
65
63
|
interface IcAccordion {
|
|
66
64
|
"appearance"?: IcThemeForeground;
|
|
@@ -106,6 +104,10 @@ export namespace Components {
|
|
|
106
104
|
* The header for the accordion group.
|
|
107
105
|
*/
|
|
108
106
|
"groupTitle": string;
|
|
107
|
+
/**
|
|
108
|
+
* Sets the focus on first focusable element in the accordion group. If the "See/Hide all" button is present, it will be focused. Otherwise, the first accordion will be focused.
|
|
109
|
+
*/
|
|
110
|
+
"setFocus": () => Promise<void>;
|
|
109
111
|
/**
|
|
110
112
|
* If `true`, only one accordion will open at a time.
|
|
111
113
|
*/
|
|
@@ -526,6 +528,10 @@ export namespace Components {
|
|
|
526
528
|
* @deprecated This prop should not be used anymore. Use variant prop instead.
|
|
527
529
|
*/
|
|
528
530
|
"appearance"?: IcChipAppearance;
|
|
531
|
+
/**
|
|
532
|
+
* The custom chip colour. This prop will be applied to the chip component if `dismissible` is set to `false`. Can be a hex value e.g. "#ff0000", RGB e.g. "rgb(255, 0, 0)", or RGBA e.g. "rgba(255, 0, 0, 1)".
|
|
533
|
+
*/
|
|
534
|
+
"customColor"?: IcColor;
|
|
529
535
|
/**
|
|
530
536
|
* If `true`, the chip will appear disabled.
|
|
531
537
|
*/
|
|
@@ -1481,6 +1487,7 @@ export namespace Components {
|
|
|
1481
1487
|
* Sets focus on the radio option.
|
|
1482
1488
|
*/
|
|
1483
1489
|
"setFocus": () => Promise<void>;
|
|
1490
|
+
"setTabIndex": (value: number) => Promise<void>;
|
|
1484
1491
|
/**
|
|
1485
1492
|
* The value for the radio option.
|
|
1486
1493
|
*/
|
|
@@ -1890,6 +1897,10 @@ export namespace Components {
|
|
|
1890
1897
|
* The alignment of the default stepper within its container.
|
|
1891
1898
|
*/
|
|
1892
1899
|
"aligned"?: IcStepperAlignment;
|
|
1900
|
+
/**
|
|
1901
|
+
* The appearance of the stepper.
|
|
1902
|
+
*/
|
|
1903
|
+
"appearance"?: "light" | "default";
|
|
1893
1904
|
/**
|
|
1894
1905
|
* The length of the connnector between each step in pixels. Minimum length is 100px.
|
|
1895
1906
|
*/
|
|
@@ -2320,6 +2331,10 @@ export namespace Components {
|
|
|
2320
2331
|
* The alignment of the top navigation content.
|
|
2321
2332
|
*/
|
|
2322
2333
|
"contentAligned": IcAlignment;
|
|
2334
|
+
/**
|
|
2335
|
+
* Can set a custom breakpoint for the top navigation to switch to mobile mode. Must be one of our specified breakpoints in px: `0`, `576`, `768`, `992`, `1200`.
|
|
2336
|
+
*/
|
|
2337
|
+
"customMobileBreakpoint": IcDeviceSizes;
|
|
2323
2338
|
/**
|
|
2324
2339
|
* The URL to navigate to when the app title is clicked.
|
|
2325
2340
|
*/
|
|
@@ -2350,12 +2365,6 @@ export namespace Components {
|
|
|
2350
2365
|
* If `true`, the typography will have a bold font weight. Note: This will have no impact on variants that already use an equivalent or higher font weight (h1, h2, and subtitle-large).
|
|
2351
2366
|
*/
|
|
2352
2367
|
"bold"?: boolean;
|
|
2353
|
-
"checkCellTextMaxLines": (height: number, typographyHeight?: number) => Promise<void>;
|
|
2354
|
-
/**
|
|
2355
|
-
* Truncate the text in ic-typography by adding a line-clamp css property.
|
|
2356
|
-
* @param height Used to calculate whether the element has exceeded the maximum number of lines.
|
|
2357
|
-
*/
|
|
2358
|
-
"checkMaxLines": (height: number) => Promise<void>;
|
|
2359
2368
|
/**
|
|
2360
2369
|
* If `true`, the typography will have an italic font style.
|
|
2361
2370
|
*/
|
|
@@ -2498,10 +2507,6 @@ export interface IcTopNavigationCustomEvent<T> extends CustomEvent<T> {
|
|
|
2498
2507
|
detail: T;
|
|
2499
2508
|
target: HTMLIcTopNavigationElement;
|
|
2500
2509
|
}
|
|
2501
|
-
export interface IcTypographyCustomEvent<T> extends CustomEvent<T> {
|
|
2502
|
-
detail: T;
|
|
2503
|
-
target: HTMLIcTypographyElement;
|
|
2504
|
-
}
|
|
2505
2510
|
declare global {
|
|
2506
2511
|
interface HTMLIcAccordionElementEventMap {
|
|
2507
2512
|
"accordionClicked": { id: string };
|
|
@@ -3271,18 +3276,7 @@ declare global {
|
|
|
3271
3276
|
prototype: HTMLIcTopNavigationElement;
|
|
3272
3277
|
new (): HTMLIcTopNavigationElement;
|
|
3273
3278
|
};
|
|
3274
|
-
interface HTMLIcTypographyElementEventMap {
|
|
3275
|
-
"icExpand": IcExpandEventDetail;
|
|
3276
|
-
}
|
|
3277
3279
|
interface HTMLIcTypographyElement extends Components.IcTypography, HTMLStencilElement {
|
|
3278
|
-
addEventListener<K extends keyof HTMLIcTypographyElementEventMap>(type: K, listener: (this: HTMLIcTypographyElement, ev: IcTypographyCustomEvent<HTMLIcTypographyElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3279
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3280
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3281
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3282
|
-
removeEventListener<K extends keyof HTMLIcTypographyElementEventMap>(type: K, listener: (this: HTMLIcTypographyElement, ev: IcTypographyCustomEvent<HTMLIcTypographyElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
3283
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3284
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3285
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3286
3280
|
}
|
|
3287
3281
|
var HTMLIcTypographyElement: {
|
|
3288
3282
|
prototype: HTMLIcTypographyElement;
|
|
@@ -3819,6 +3813,10 @@ declare namespace LocalJSX {
|
|
|
3819
3813
|
* @deprecated This prop should not be used anymore. Use variant prop instead.
|
|
3820
3814
|
*/
|
|
3821
3815
|
"appearance"?: IcChipAppearance;
|
|
3816
|
+
/**
|
|
3817
|
+
* The custom chip colour. This prop will be applied to the chip component if `dismissible` is set to `false`. Can be a hex value e.g. "#ff0000", RGB e.g. "rgb(255, 0, 0)", or RGBA e.g. "rgba(255, 0, 0, 1)".
|
|
3818
|
+
*/
|
|
3819
|
+
"customColor"?: IcColor;
|
|
3822
3820
|
/**
|
|
3823
3821
|
* If `true`, the chip will appear disabled.
|
|
3824
3822
|
*/
|
|
@@ -5231,6 +5229,10 @@ declare namespace LocalJSX {
|
|
|
5231
5229
|
* The alignment of the default stepper within its container.
|
|
5232
5230
|
*/
|
|
5233
5231
|
"aligned"?: IcStepperAlignment;
|
|
5232
|
+
/**
|
|
5233
|
+
* The appearance of the stepper.
|
|
5234
|
+
*/
|
|
5235
|
+
"appearance"?: "light" | "default";
|
|
5234
5236
|
/**
|
|
5235
5237
|
* The length of the connnector between each step in pixels. Minimum length is 100px.
|
|
5236
5238
|
*/
|
|
@@ -5667,6 +5669,10 @@ declare namespace LocalJSX {
|
|
|
5667
5669
|
* The alignment of the top navigation content.
|
|
5668
5670
|
*/
|
|
5669
5671
|
"contentAligned"?: IcAlignment;
|
|
5672
|
+
/**
|
|
5673
|
+
* Can set a custom breakpoint for the top navigation to switch to mobile mode. Must be one of our specified breakpoints in px: `0`, `576`, `768`, `992`, `1200`.
|
|
5674
|
+
*/
|
|
5675
|
+
"customMobileBreakpoint"?: IcDeviceSizes;
|
|
5670
5676
|
/**
|
|
5671
5677
|
* The URL to navigate to when the app title is clicked.
|
|
5672
5678
|
*/
|
|
@@ -5709,10 +5715,6 @@ declare namespace LocalJSX {
|
|
|
5709
5715
|
* The number of lines to display before truncating the text, only used for the 'body' variant.
|
|
5710
5716
|
*/
|
|
5711
5717
|
"maxLines"?: number;
|
|
5712
|
-
/**
|
|
5713
|
-
* Emitted when the See More/See Less button is clicked.
|
|
5714
|
-
*/
|
|
5715
|
-
"onIcExpand"?: (event: IcTypographyCustomEvent<IcExpandEventDetail>) => void;
|
|
5716
5718
|
/**
|
|
5717
5719
|
* If `true`, the typography will have a line through it.
|
|
5718
5720
|
*/
|
|
@@ -15,4 +15,3 @@ export * from "./components/ic-status-tag/ic-status-tag.types";
|
|
|
15
15
|
export * from "./components/ic-step/ic-step.types";
|
|
16
16
|
export * from "./components/ic-text-field/ic-text-field.types";
|
|
17
17
|
export * from "./components/ic-tooltip/ic-tooltip.types";
|
|
18
|
-
export * from "./components/ic-typography/ic-typography.types";
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { EventEmitter } from "../stencil-public-runtime";
|
|
2
|
-
import { IcCallbackFunctionNoReturn, IcInformationStatusOrEmpty, IcNavParentDetails, IcPropObject, IcSearchMatchPositions, IcColorRGBA } from "./types";
|
|
2
|
+
import { IcCallbackFunctionNoReturn, IcInformationStatusOrEmpty, IcNavParentDetails, IcPropObject, IcSearchMatchPositions, IcColorRGBA, IcDeviceSizes, IcColor } from "./types";
|
|
3
3
|
import { IcMenuOption, IcThemeForeground } from "../utils/types";
|
|
4
|
+
/**
|
|
5
|
+
* converts an enum of strings into an array of strings
|
|
6
|
+
*/
|
|
7
|
+
export declare const stringEnumToArray: (theEnum: Record<string, string | number>) => string[];
|
|
4
8
|
/**
|
|
5
9
|
* Used to inherit global attributes set on the host. Called in componentWillLoad and assigned
|
|
6
10
|
* to a variable that is later used in the render function.
|
|
@@ -25,7 +29,7 @@ export declare const debounce: (func: (...args: unknown[]) => void, wait?: numbe
|
|
|
25
29
|
* @param value The value of the input
|
|
26
30
|
* @param disabled If true, the input is disabled
|
|
27
31
|
*/
|
|
28
|
-
export declare const renderHiddenInput: (always: boolean, container: HTMLElement, name: string, value: string | undefined | null, disabled: boolean) => void;
|
|
32
|
+
export declare const renderHiddenInput: (always: boolean, container: HTMLElement, name: string, value: string | Date | undefined | null, disabled: boolean) => void;
|
|
29
33
|
/**
|
|
30
34
|
* This method is used to add a hidden file input to a host element that contains
|
|
31
35
|
* a Shadow DOM. It does not add the input inside of the Shadow root which
|
|
@@ -59,6 +63,10 @@ export declare const getInputDescribedByText: (inputId: string, helperText: bool
|
|
|
59
63
|
* @returns IcThemeForeground depending on the context
|
|
60
64
|
*/
|
|
61
65
|
export declare const getThemeFromContext: (el: Element, themeFromEvent?: IcThemeForeground) => IcThemeForeground;
|
|
66
|
+
/**
|
|
67
|
+
* Checks if the current device is a mobile or tablet device.
|
|
68
|
+
* @returns {boolean} Returns true if the device is a mobile or tablet device, otherwise returns false.
|
|
69
|
+
*/
|
|
62
70
|
export declare const isMobileOrTablet: () => boolean;
|
|
63
71
|
/**
|
|
64
72
|
* Will create a button within the lightDOM which interacts with the parent form.
|
|
@@ -108,11 +116,11 @@ export declare const getSlotContent: (element: HTMLElement, name: string) => Ele
|
|
|
108
116
|
export declare const getSlotElements: (slot: Element) => NodeListOf<ChildNode> | Element[];
|
|
109
117
|
export declare const getNavItemParentDetails: (el: HTMLElement) => IcNavParentDetails;
|
|
110
118
|
export declare const DEVICE_SIZES: {
|
|
111
|
-
XS:
|
|
112
|
-
S:
|
|
113
|
-
M:
|
|
114
|
-
L:
|
|
115
|
-
XL:
|
|
119
|
+
XS: IcDeviceSizes;
|
|
120
|
+
S: IcDeviceSizes;
|
|
121
|
+
M: IcDeviceSizes;
|
|
122
|
+
L: IcDeviceSizes;
|
|
123
|
+
XL: IcDeviceSizes;
|
|
116
124
|
UNDEFINED: number;
|
|
117
125
|
};
|
|
118
126
|
export declare const hasValidationStatus: (status: IcInformationStatusOrEmpty, disabled: boolean) => boolean;
|
|
@@ -138,3 +146,6 @@ export declare const removeFormResetListener: (el: HTMLElement, callbackFn: IcCa
|
|
|
138
146
|
export declare const pxToRem: (px: string, base?: number) => string;
|
|
139
147
|
export declare const removeDisabledFalse: (disabled: boolean, element: HTMLElement) => void;
|
|
140
148
|
export declare const isMacDevice: () => boolean;
|
|
149
|
+
export declare const isNumeric: (value: string) => boolean;
|
|
150
|
+
export declare function waitForHydration(): Promise<boolean>;
|
|
151
|
+
export declare const convertToRGBA: (color: IcColor | string) => IcColorRGBA;
|
|
@@ -76,3 +76,9 @@ export interface IcBlurEventDetail {
|
|
|
76
76
|
}
|
|
77
77
|
export type IcSelectTypes = "single" | "multi";
|
|
78
78
|
export type IcSelectMethodTypes = "auto" | "manual";
|
|
79
|
+
export type IcDeviceSizes = 0 | 576 | 768 | 992 | 1200;
|
|
80
|
+
type RGB = `rgb(${string})`;
|
|
81
|
+
type RGBA = `rgba(${string})`;
|
|
82
|
+
type HEX = `#${string}`;
|
|
83
|
+
export type IcColor = RGB | RGBA | HEX;
|
|
84
|
+
export {};
|