@ukic/web-components 2.13.0 → 2.15.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/{helpers-81e0057b.js → helpers-3d0705ed.js} +8 -3
- package/dist/cjs/helpers-3d0705ed.js.map +1 -0
- package/dist/cjs/ic-accordion-group.cjs.entry.js +6 -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 +4 -3
- 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 +29 -12
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card.cjs.entry.js +5 -6
- package/dist/cjs/ic-card.cjs.entry.js.map +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 +1 -1
- package/dist/cjs/ic-data-entity.cjs.entry.js +3 -6
- package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +21 -35
- package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-dialog.cjs.entry.js +1 -1
- package/dist/cjs/ic-divider.cjs.entry.js +1 -1
- package/dist/cjs/ic-empty-state.cjs.entry.js +1 -1
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +1 -1
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +1 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +13 -11
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +1 -1
- package/dist/cjs/ic-link.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +1 -1
- package/dist/cjs/ic-pagination-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-pagination.cjs.entry.js +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-select.cjs.entry.js +21 -13
- package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +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 +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +1 -1
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js +184 -0
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-toggle-button.cjs.entry.js +6 -3
- package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +1 -1
- package/dist/cjs/index-f982899d.js +4 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/types-dc22e301.js.map +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/ic-accordion-group/ic-accordion-group.js +24 -2
- package/dist/collection/components/ic-accordion-group/ic-accordion-group.js.map +1 -1
- package/dist/collection/components/ic-badge/ic-badge.js +3 -2
- package/dist/collection/components/ic-badge/ic-badge.js.map +1 -1
- package/dist/collection/components/ic-button/ic-button.css +229 -36
- package/dist/collection/components/ic-button/ic-button.js +31 -10
- package/dist/collection/components/ic-button/ic-button.js.map +1 -1
- package/dist/collection/components/ic-card/ic-card.css +44 -0
- package/dist/collection/components/ic-card/ic-card.js +3 -4
- package/dist/collection/components/ic-card/ic-card.js.map +1 -1
- package/dist/collection/components/ic-data-entity/ic-data-entity.js +3 -6
- package/dist/collection/components/ic-data-entity/ic-data-entity.js.map +1 -1
- package/dist/collection/components/ic-data-row/ic-data-row.js +20 -34
- package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -1
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +4 -0
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +10 -9
- 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 +22 -9
- package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +1 -1
- package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js +7 -0
- package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js.map +1 -1
- package/dist/collection/components/ic-menu/ic-menu.css +13 -7
- package/dist/collection/components/ic-menu/ic-menu.js +8 -7
- package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +1 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
- package/dist/collection/components/ic-select/ic-select.js +54 -17
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +23 -1
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -1
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.css +62 -2
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +4 -1
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.js.map +1 -1
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.css +516 -0
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +431 -0
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js.map +1 -0
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.types.js +2 -0
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.types.js.map +1 -0
- package/dist/collection/components/ic-toggle-button-group/test/ic-toggle-button-group.spec.js +150 -0
- package/dist/collection/components/ic-toggle-button-group/test/ic-toggle-button-group.spec.js.map +1 -0
- package/dist/collection/utils/helpers.js +26 -2
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/helpers.js +8 -3
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/ic-accordion-group.js +7 -2
- package/dist/components/ic-accordion-group.js.map +1 -1
- package/dist/components/ic-badge.js +3 -2
- package/dist/components/ic-badge.js.map +1 -1
- package/dist/components/ic-button2.js +32 -13
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card.js +6 -19
- package/dist/components/ic-card.js.map +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 +1 -1
- package/dist/components/ic-data-entity.js +3 -6
- package/dist/components/ic-data-entity.js.map +1 -1
- package/dist/components/ic-data-row.js +20 -34
- package/dist/components/ic-data-row.js.map +1 -1
- package/dist/components/ic-input-component-container2.js +7 -6
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-link2.js +1 -1
- package/dist/components/ic-menu-item2.js +1 -1
- package/dist/components/ic-menu2.js +5 -4
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-button.js +1 -1
- package/dist/components/ic-pagination-item2.js +1 -1
- package/dist/components/ic-pagination.js +1 -1
- package/dist/components/ic-popover-menu.js +1 -1
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-radio-group.js +1 -1
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +1 -1
- package/dist/components/ic-search-bar.js +1 -1
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-select.js +23 -14
- package/dist/components/ic-select.js.map +1 -1
- package/dist/components/ic-switch.js +1 -1
- package/dist/components/ic-tab.js +1 -1
- package/dist/components/ic-text-field2.js +1 -1
- package/dist/components/ic-toggle-button-group.d.ts +11 -0
- package/dist/components/ic-toggle-button-group.js +210 -0
- package/dist/components/ic-toggle-button-group.js.map +1 -0
- package/dist/components/ic-toggle-button.js +6 -3
- package/dist/components/ic-toggle-button.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-42f5f86d.entry.js → p-04d2f198.entry.js} +2 -2
- package/dist/core/p-04d2f198.entry.js.map +1 -0
- package/dist/core/{p-10448c8d.entry.js → p-04dd9fe8.entry.js} +2 -2
- package/dist/core/{p-4cf909ad.entry.js → p-14ea9cc7.entry.js} +2 -2
- package/dist/core/{p-4421203e.entry.js → p-166861e8.entry.js} +2 -2
- package/dist/core/p-166861e8.entry.js.map +1 -0
- package/dist/core/{p-2fbb52cd.entry.js → p-18137908.entry.js} +2 -2
- package/dist/core/{p-5bce919a.entry.js → p-1e84a765.entry.js} +2 -2
- package/dist/core/{p-50df74fb.entry.js → p-22cbe39b.entry.js} +2 -2
- package/dist/core/p-22cbe39b.entry.js.map +1 -0
- package/dist/core/p-268355c1.js +2 -0
- package/dist/core/p-268355c1.js.map +1 -0
- package/dist/core/p-26b7b18f.js.map +1 -1
- package/dist/core/p-2e3845be.entry.js +2 -0
- package/dist/core/p-2e3845be.entry.js.map +1 -0
- package/dist/core/{p-8b9d5e1f.entry.js → p-2edbdbaf.entry.js} +2 -2
- package/dist/core/p-2edbdbaf.entry.js.map +1 -0
- package/dist/core/{p-911592a7.entry.js → p-4e3d46f2.entry.js} +2 -2
- package/dist/core/{p-c73081df.entry.js → p-5421ceb4.entry.js} +2 -2
- package/dist/core/{p-dce01eea.entry.js → p-5479d3e5.entry.js} +2 -2
- package/dist/core/p-563c2522.entry.js +2 -0
- package/dist/core/p-563c2522.entry.js.map +1 -0
- package/dist/core/{p-77a9c4fd.entry.js → p-65d3c0f1.entry.js} +2 -2
- package/dist/core/p-6fae929c.entry.js +2 -0
- package/dist/core/p-6fae929c.entry.js.map +1 -0
- package/dist/core/{p-b7a2e604.entry.js → p-7438ab1f.entry.js} +2 -2
- package/dist/core/p-7438ab1f.entry.js.map +1 -0
- package/dist/core/{p-89a4057e.entry.js → p-77503f4f.entry.js} +2 -2
- package/dist/core/{p-d3059083.entry.js → p-77a00075.entry.js} +2 -2
- package/dist/core/{p-daf7e227.entry.js → p-7cdea5bf.entry.js} +2 -2
- package/dist/core/{p-e8d77f95.entry.js → p-8352d752.entry.js} +2 -2
- package/dist/core/{p-9d66dd4c.entry.js → p-880bcf91.entry.js} +2 -2
- package/dist/core/p-880bcf91.entry.js.map +1 -0
- package/dist/core/p-8841668b.entry.js +2 -0
- package/dist/core/p-8841668b.entry.js.map +1 -0
- package/dist/core/{p-5a243837.entry.js → p-8a77a417.entry.js} +2 -2
- package/dist/core/{p-6724e9fd.entry.js → p-8cbbe579.entry.js} +2 -2
- package/dist/core/{p-7ef4f806.entry.js → p-917b15da.entry.js} +2 -2
- package/dist/core/{p-83f58174.entry.js → p-934c2a94.entry.js} +2 -2
- package/dist/core/{p-bfbf4c5b.entry.js → p-9b4fd843.entry.js} +2 -2
- package/dist/core/{p-b723f883.entry.js → p-9c157974.entry.js} +2 -2
- package/dist/core/{p-7a62bb2f.entry.js → p-a222554a.entry.js} +2 -2
- package/dist/core/{p-0df94b9d.entry.js → p-aac0195e.entry.js} +2 -2
- package/dist/core/p-aac0195e.entry.js.map +1 -0
- package/dist/core/{p-263da6f8.entry.js → p-ab14339d.entry.js} +2 -2
- package/dist/core/{p-231a7230.entry.js → p-b1e74a89.entry.js} +2 -2
- package/dist/core/{p-792d194d.entry.js → p-b7bf772b.entry.js} +2 -2
- package/dist/core/{p-45fb7128.entry.js → p-ba31ee69.entry.js} +2 -2
- package/dist/core/{p-87933302.entry.js → p-ba8d968c.entry.js} +2 -2
- package/dist/core/{p-85601b9f.entry.js → p-c0525936.entry.js} +2 -2
- package/dist/core/{p-4ece659b.entry.js → p-c1bb5018.entry.js} +2 -2
- package/dist/core/{p-eadb62d5.entry.js → p-c2173562.entry.js} +2 -2
- package/dist/core/{p-584f15f9.entry.js → p-c43946b0.entry.js} +2 -2
- package/dist/core/p-c43946b0.entry.js.map +1 -0
- package/dist/core/{p-2db45025.entry.js → p-cc0ab439.entry.js} +2 -2
- package/dist/core/{p-3784f352.entry.js → p-cd2d2141.entry.js} +2 -2
- package/dist/core/{p-898a35c5.entry.js → p-cdb51adf.entry.js} +2 -2
- package/dist/core/{p-c0e003dc.entry.js → p-d5cadfa1.entry.js} +2 -2
- package/dist/core/{p-596c702b.entry.js → p-dfef57d3.entry.js} +2 -2
- package/dist/core/{p-9c835bd7.entry.js → p-e47f887a.entry.js} +2 -2
- package/dist/core/{p-c5e71983.entry.js → p-e7483ee5.entry.js} +2 -2
- package/dist/core/{p-881be3d5.entry.js → p-e7b676fc.entry.js} +2 -2
- package/dist/core/{p-8c0f0a88.entry.js → p-f026466e.entry.js} +2 -2
- package/dist/core/p-f026466e.entry.js.map +1 -0
- package/dist/core/{p-dae0cfd0.entry.js → p-f24084fa.entry.js} +2 -2
- package/dist/core/{p-77b56204.entry.js → p-f58da6ae.entry.js} +2 -2
- package/dist/core/{p-7384a191.entry.js → p-f7019830.entry.js} +2 -2
- package/dist/core/{p-d01d69a3.entry.js → p-f926174d.entry.js} +2 -2
- package/dist/core/{p-5bbbb507.entry.js → p-fc83d8d7.entry.js} +2 -2
- package/dist/core/{p-8c55b011.entry.js → p-fc91292d.entry.js} +2 -2
- package/dist/esm/core.js +1 -1
- package/dist/esm/{helpers-5c2846f4.js → helpers-4262def4.js} +8 -3
- package/dist/esm/helpers-4262def4.js.map +1 -0
- package/dist/esm/ic-accordion-group.entry.js +6 -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 +4 -3
- 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 +29 -12
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card.entry.js +5 -6
- package/dist/esm/ic-card.entry.js.map +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 +1 -1
- package/dist/esm/ic-data-entity.entry.js +3 -6
- package/dist/esm/ic-data-entity.entry.js.map +1 -1
- package/dist/esm/ic-data-row.entry.js +21 -35
- package/dist/esm/ic-data-row.entry.js.map +1 -1
- package/dist/esm/ic-dialog.entry.js +1 -1
- package/dist/esm/ic-divider.entry.js +1 -1
- package/dist/esm/ic-empty-state.entry.js +1 -1
- package/dist/esm/ic-footer-link-group.entry.js +1 -1
- package/dist/esm/ic-footer-link.entry.js +1 -1
- package/dist/esm/ic-footer.entry.js +1 -1
- package/dist/esm/ic-hero.entry.js +1 -1
- package/dist/esm/ic-horizontal-scroll.entry.js +1 -1
- package/dist/esm/ic-input-component-container_3.entry.js +13 -11
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +1 -1
- package/dist/esm/ic-link.entry.js +1 -1
- package/dist/esm/ic-menu-group.entry.js +1 -1
- package/dist/esm/ic-menu-item.entry.js +1 -1
- package/dist/esm/ic-navigation-button.entry.js +1 -1
- package/dist/esm/ic-navigation-group.entry.js +1 -1
- package/dist/esm/ic-navigation-item.entry.js +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +1 -1
- package/dist/esm/ic-page-header.entry.js +1 -1
- package/dist/esm/ic-pagination-item.entry.js +1 -1
- package/dist/esm/ic-pagination.entry.js +1 -1
- package/dist/esm/ic-popover-menu.entry.js +1 -1
- package/dist/esm/ic-popover-menu.entry.js.map +1 -1
- package/dist/esm/ic-radio-group.entry.js +1 -1
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +1 -1
- package/dist/esm/ic-search-bar.entry.js +1 -1
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-select.entry.js +21 -13
- package/dist/esm/ic-select.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +1 -1
- package/dist/esm/ic-status-tag.entry.js +1 -1
- package/dist/esm/ic-step.entry.js +1 -1
- package/dist/esm/ic-stepper.entry.js +1 -1
- package/dist/esm/ic-switch.entry.js +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 +1 -1
- package/dist/esm/ic-theme.entry.js +1 -1
- package/dist/esm/ic-toast.entry.js +1 -1
- package/dist/esm/ic-toggle-button-group.entry.js +180 -0
- package/dist/esm/ic-toggle-button-group.entry.js.map +1 -0
- package/dist/esm/ic-toggle-button.entry.js +6 -3
- package/dist/esm/ic-toggle-button.entry.js.map +1 -1
- package/dist/esm/ic-top-navigation.entry.js +1 -1
- package/dist/esm/ic-typography.entry.js +1 -1
- package/dist/esm/index-d1d2c456.js +4 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/types-6f6b41a5.js.map +1 -1
- package/dist/types/components/ic-accordion-group/ic-accordion-group.d.ts +5 -0
- package/dist/types/components/ic-button/ic-button.d.ts +4 -0
- package/dist/types/components/ic-data-row/ic-data-row.d.ts +1 -6
- package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +2 -2
- package/dist/types/components/ic-menu/ic-menu.d.ts +2 -2
- package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +1 -1
- package/dist/types/components/ic-select/ic-select.d.ts +12 -3
- package/dist/types/components/ic-toggle-button/ic-toggle-button.d.ts +1 -0
- package/dist/types/components/ic-toggle-button-group/ic-toggle-button-group.d.ts +68 -0
- package/dist/types/components/ic-toggle-button-group/ic-toggle-button-group.types.d.ts +7 -0
- package/dist/types/components.d.ts +144 -12
- package/dist/types/utils/helpers.d.ts +8 -2
- package/dist/types/utils/types.d.ts +2 -0
- package/hydrate/index.js +307 -88
- package/package.json +3 -3
- package/vscode-data.json +121 -2
- package/dist/cjs/helpers-81e0057b.js.map +0 -1
- package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js +0 -11
- package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js +0 -34
- package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.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/core/p-0df94b9d.entry.js.map +0 -1
- package/dist/core/p-42f5f86d.entry.js.map +0 -1
- package/dist/core/p-4421203e.entry.js.map +0 -1
- package/dist/core/p-50df74fb.entry.js.map +0 -1
- package/dist/core/p-56c41889.entry.js +0 -2
- package/dist/core/p-56c41889.entry.js.map +0 -1
- package/dist/core/p-573322c6.entry.js +0 -2
- package/dist/core/p-573322c6.entry.js.map +0 -1
- package/dist/core/p-584f15f9.entry.js.map +0 -1
- package/dist/core/p-8b9d5e1f.entry.js.map +0 -1
- package/dist/core/p-8c0f0a88.entry.js.map +0 -1
- package/dist/core/p-9d66dd4c.entry.js.map +0 -1
- package/dist/core/p-a741d16f.entry.js +0 -2
- package/dist/core/p-a741d16f.entry.js.map +0 -1
- package/dist/core/p-b34eb829.js +0 -2
- package/dist/core/p-b34eb829.js.map +0 -1
- package/dist/core/p-b7a2e604.entry.js.map +0 -1
- package/dist/esm/helpers-5c2846f4.js.map +0 -1
- package/dist/types/components/ic-loading-indicator/test/a11y/ic-loading-indicator.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/core/{p-10448c8d.entry.js.map → p-04dd9fe8.entry.js.map} +0 -0
- /package/dist/core/{p-4cf909ad.entry.js.map → p-14ea9cc7.entry.js.map} +0 -0
- /package/dist/core/{p-2fbb52cd.entry.js.map → p-18137908.entry.js.map} +0 -0
- /package/dist/core/{p-5bce919a.entry.js.map → p-1e84a765.entry.js.map} +0 -0
- /package/dist/core/{p-911592a7.entry.js.map → p-4e3d46f2.entry.js.map} +0 -0
- /package/dist/core/{p-c73081df.entry.js.map → p-5421ceb4.entry.js.map} +0 -0
- /package/dist/core/{p-dce01eea.entry.js.map → p-5479d3e5.entry.js.map} +0 -0
- /package/dist/core/{p-77a9c4fd.entry.js.map → p-65d3c0f1.entry.js.map} +0 -0
- /package/dist/core/{p-89a4057e.entry.js.map → p-77503f4f.entry.js.map} +0 -0
- /package/dist/core/{p-d3059083.entry.js.map → p-77a00075.entry.js.map} +0 -0
- /package/dist/core/{p-daf7e227.entry.js.map → p-7cdea5bf.entry.js.map} +0 -0
- /package/dist/core/{p-e8d77f95.entry.js.map → p-8352d752.entry.js.map} +0 -0
- /package/dist/core/{p-5a243837.entry.js.map → p-8a77a417.entry.js.map} +0 -0
- /package/dist/core/{p-6724e9fd.entry.js.map → p-8cbbe579.entry.js.map} +0 -0
- /package/dist/core/{p-7ef4f806.entry.js.map → p-917b15da.entry.js.map} +0 -0
- /package/dist/core/{p-83f58174.entry.js.map → p-934c2a94.entry.js.map} +0 -0
- /package/dist/core/{p-bfbf4c5b.entry.js.map → p-9b4fd843.entry.js.map} +0 -0
- /package/dist/core/{p-b723f883.entry.js.map → p-9c157974.entry.js.map} +0 -0
- /package/dist/core/{p-7a62bb2f.entry.js.map → p-a222554a.entry.js.map} +0 -0
- /package/dist/core/{p-263da6f8.entry.js.map → p-ab14339d.entry.js.map} +0 -0
- /package/dist/core/{p-231a7230.entry.js.map → p-b1e74a89.entry.js.map} +0 -0
- /package/dist/core/{p-792d194d.entry.js.map → p-b7bf772b.entry.js.map} +0 -0
- /package/dist/core/{p-45fb7128.entry.js.map → p-ba31ee69.entry.js.map} +0 -0
- /package/dist/core/{p-87933302.entry.js.map → p-ba8d968c.entry.js.map} +0 -0
- /package/dist/core/{p-85601b9f.entry.js.map → p-c0525936.entry.js.map} +0 -0
- /package/dist/core/{p-4ece659b.entry.js.map → p-c1bb5018.entry.js.map} +0 -0
- /package/dist/core/{p-eadb62d5.entry.js.map → p-c2173562.entry.js.map} +0 -0
- /package/dist/core/{p-2db45025.entry.js.map → p-cc0ab439.entry.js.map} +0 -0
- /package/dist/core/{p-3784f352.entry.js.map → p-cd2d2141.entry.js.map} +0 -0
- /package/dist/core/{p-898a35c5.entry.js.map → p-cdb51adf.entry.js.map} +0 -0
- /package/dist/core/{p-c0e003dc.entry.js.map → p-d5cadfa1.entry.js.map} +0 -0
- /package/dist/core/{p-596c702b.entry.js.map → p-dfef57d3.entry.js.map} +0 -0
- /package/dist/core/{p-9c835bd7.entry.js.map → p-e47f887a.entry.js.map} +0 -0
- /package/dist/core/{p-c5e71983.entry.js.map → p-e7483ee5.entry.js.map} +0 -0
- /package/dist/core/{p-881be3d5.entry.js.map → p-e7b676fc.entry.js.map} +0 -0
- /package/dist/core/{p-dae0cfd0.entry.js.map → p-f24084fa.entry.js.map} +0 -0
- /package/dist/core/{p-77b56204.entry.js.map → p-f58da6ae.entry.js.map} +0 -0
- /package/dist/core/{p-7384a191.entry.js.map → p-f7019830.entry.js.map} +0 -0
- /package/dist/core/{p-d01d69a3.entry.js.map → p-f926174d.entry.js.map} +0 -0
- /package/dist/core/{p-5bbbb507.entry.js.map → p-fc83d8d7.entry.js.map} +0 -0
- /package/dist/core/{p-8c55b011.entry.js.map → p-fc91292d.entry.js.map} +0 -0
@@ -1 +1 @@
|
|
1
|
-
{"file":"types-6f6b41a5.js","mappings":"IAwBY;AAAZ,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,sCAAe,CAAA;IACf,0CAAmB,CAAA;AACrB,CAAC,EAJW,mBAAmB,KAAnB,mBAAmB,QAI9B;IAsEW;AAAZ,WAAY,qBAAqB;IAC/B,4CAAmB,CAAA;IACnB,sCAAa,CAAA;IACb,wCAAe,CAAA;AACjB,CAAC,EAJW,qBAAqB,KAArB,qBAAqB;;;;","names":[],"sources":["src/utils/types.ts"],"sourcesContent":["export type IcFocusableComponents =\n | HTMLIcBreadcrumbElement\n | HTMLIcButtonElement\n | HTMLIcCardElement\n | HTMLIcCheckboxElement\n | HTMLIcChipElement\n | HTMLIcLinkElement\n | HTMLIcNavigationButtonElement\n | HTMLIcNavigationGroupElement\n | HTMLIcNavigationItemElement\n | HTMLIcRadioOptionElement\n | HTMLIcSearchBarElement\n | HTMLIcSelectElement\n | HTMLIcSwitchElement\n | HTMLIcTabElement\n | HTMLIcTextFieldElement;\n\nexport type IcStatusVariants =\n | \"neutral\"\n | \"info\"\n | \"warning\"\n | \"error\"\n | \"success\";\n\nexport enum IcInformationStatus {\n Warning = \"warning\",\n Error = \"error\",\n Success = \"success\",\n}\n\nexport type IcSizes = \"default\" | \"large\" | \"small\";\n\nexport type IcSizesNoLarge = \"default\" | \"small\";\n\nexport type IcInformationStatusOrEmpty = \"warning\" | \"error\" | \"success\" | \"\";\n\nexport type IcNavType = \"side\" | \"top\" | \"page-header\";\n\n// From: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete\nexport type IcAutocompleteTypes =\n | \"on\"\n | \"off\"\n | \"name\"\n | \"honorific-prefix\"\n | \"given-name\"\n | \"additional-name\"\n | \"family-name\"\n | \"honorific-suffix\"\n | \"nickname\"\n | \"email\"\n | \"username\"\n | \"new-password\"\n | \"current-password\"\n | \"one-time-code\"\n | \"organization-title\"\n | \"organization\"\n | \"street-address\"\n | \"address-line1\"\n | \"address-line2\"\n | \"address-line3\"\n | \"address-level4\"\n | \"address-level3\"\n | \"address-level2\"\n | \"address-level1\"\n | \"country\"\n | \"country-name\"\n | \"postal-code\"\n | \"cc-name\"\n | \"cc-given-name\"\n | \"cc-additional-name\"\n | \"cc-family-name\"\n | \"cc-family-name\"\n | \"cc-number\"\n | \"cc-exp\"\n | \"cc-exp-month\"\n | \"cc-exp-year\"\n | \"cc-csc\"\n | \"cc-type\"\n | \"transaction-currency\"\n | \"transaction-amount\"\n | \"language\"\n | \"bday\"\n | \"bday-day\"\n | \"bday-month\"\n | \"bday-year\"\n | \"sex\"\n | \"tel\"\n | \"tel-country-code\"\n | \"tel-national\"\n | \"tel-area-code\"\n | \"tel-local\"\n | \"tel-extension\"\n | \"impp\"\n | \"url\"\n | \"photo\";\n\nexport type IcAlignment = \"left\" | \"center\" | \"full-width\";\n\nexport enum IcThemeForegroundEnum {\n Default = \"default\",\n Dark = \"dark\",\n Light = \"light\",\n}\n\nexport type IcThemeForeground = \"default\" | \"dark\" | \"light\";\n\nexport type IcThemeForegroundNoDefault = \"dark\" | \"light\";\n\nexport type IcTheme = {\n mode: IcThemeForeground;\n color: IcColorRGB;\n};\n\nexport type IcAdditionalFieldTypes = \"static\" | \"dynamic\";\n\nexport type IcColorRGB = {\n r: number;\n g: number;\n b: number;\n};\n\nexport type IcColorRGBA = IcColorRGB & {\n a: number;\n};\n\nexport type IcActivationTypes = \"automatic\" | \"manual\";\n\nexport type IcAutocorrectStates = \"on\" | \"off\";\n\nexport type IcNavParentDetails = {\n navType: IcNavType | \"\";\n parent: HTMLElement;\n};\n\nexport type IcTypographyVariants =\n | \"h1\"\n | \"h2\"\n | \"h3\"\n | \"h4\"\n | \"subtitle-large\"\n | \"subtitle-small\"\n | \"body\"\n | \"label\"\n | \"label-uppercase\"\n | \"caption\"\n | \"caption-uppercase\"\n | \"code-large\"\n | \"code-small\"\n | \"code-extra-small\"\n | \"badge\"\n | \"badge-small\";\n\n/**\n * @interface IcMenuOption\n * @field {string} A label field to options. Defaults to \"label\", but can have any custom name.\n * @field {string} A value field to options. Defaults to \"value\", but can have any custom name.\n */\nexport interface IcMenuOption {\n description?: string;\n disabled?: boolean;\n recommended?: boolean;\n children?: IcMenuOption[];\n loading?: boolean;\n timedOut?: boolean;\n [key: string]: any;\n element?: {\n component: any;\n ariaLabel: string;\n };\n icon?: any;\n}\n\nexport type IcSearchMatchPositions = \"start\" | \"anywhere\";\n\nexport type IcCallbackFunctionNoReturn = (...args: unknown[]) => void;\n\nexport type IcRequiredPropsTypes =\n | string\n | boolean\n | number\n | HTMLElement\n | IcMenuOption[];\n\nexport type IcPropObject = { prop: IcRequiredPropsTypes; propName: string };\n\nexport type IcRelatedTarget = EventTarget | undefined;\n\nexport type IcOrientation = \"horizontal\" | \"vertical\";\n\nexport type IcEmphasisType = \"filled\" | \"outlined\";\n\nexport interface IcValueEventDetail {\n value: string;\n keyPressed?: string;\n}\nexport interface IcBlurEventDetail {\n relatedTarget: IcRelatedTarget;\n}\n"],"version":3}
|
1
|
+
{"file":"types-6f6b41a5.js","mappings":"IAwBY;AAAZ,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,sCAAe,CAAA;IACf,0CAAmB,CAAA;AACrB,CAAC,EAJW,mBAAmB,KAAnB,mBAAmB,QAI9B;IAsEW;AAAZ,WAAY,qBAAqB;IAC/B,4CAAmB,CAAA;IACnB,sCAAa,CAAA;IACb,wCAAe,CAAA;AACjB,CAAC,EAJW,qBAAqB,KAArB,qBAAqB;;;;","names":[],"sources":["src/utils/types.ts"],"sourcesContent":["export type IcFocusableComponents =\n | HTMLIcBreadcrumbElement\n | HTMLIcButtonElement\n | HTMLIcCardElement\n | HTMLIcCheckboxElement\n | HTMLIcChipElement\n | HTMLIcLinkElement\n | HTMLIcNavigationButtonElement\n | HTMLIcNavigationGroupElement\n | HTMLIcNavigationItemElement\n | HTMLIcRadioOptionElement\n | HTMLIcSearchBarElement\n | HTMLIcSelectElement\n | HTMLIcSwitchElement\n | HTMLIcTabElement\n | HTMLIcTextFieldElement;\n\nexport type IcStatusVariants =\n | \"neutral\"\n | \"info\"\n | \"warning\"\n | \"error\"\n | \"success\";\n\nexport enum IcInformationStatus {\n Warning = \"warning\",\n Error = \"error\",\n Success = \"success\",\n}\n\nexport type IcSizes = \"default\" | \"large\" | \"small\";\n\nexport type IcSizesNoLarge = \"default\" | \"small\";\n\nexport type IcInformationStatusOrEmpty = \"warning\" | \"error\" | \"success\" | \"\";\n\nexport type IcNavType = \"side\" | \"top\" | \"page-header\";\n\n// From: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete\nexport type IcAutocompleteTypes =\n | \"on\"\n | \"off\"\n | \"name\"\n | \"honorific-prefix\"\n | \"given-name\"\n | \"additional-name\"\n | \"family-name\"\n | \"honorific-suffix\"\n | \"nickname\"\n | \"email\"\n | \"username\"\n | \"new-password\"\n | \"current-password\"\n | \"one-time-code\"\n | \"organization-title\"\n | \"organization\"\n | \"street-address\"\n | \"address-line1\"\n | \"address-line2\"\n | \"address-line3\"\n | \"address-level4\"\n | \"address-level3\"\n | \"address-level2\"\n | \"address-level1\"\n | \"country\"\n | \"country-name\"\n | \"postal-code\"\n | \"cc-name\"\n | \"cc-given-name\"\n | \"cc-additional-name\"\n | \"cc-family-name\"\n | \"cc-family-name\"\n | \"cc-number\"\n | \"cc-exp\"\n | \"cc-exp-month\"\n | \"cc-exp-year\"\n | \"cc-csc\"\n | \"cc-type\"\n | \"transaction-currency\"\n | \"transaction-amount\"\n | \"language\"\n | \"bday\"\n | \"bday-day\"\n | \"bday-month\"\n | \"bday-year\"\n | \"sex\"\n | \"tel\"\n | \"tel-country-code\"\n | \"tel-national\"\n | \"tel-area-code\"\n | \"tel-local\"\n | \"tel-extension\"\n | \"impp\"\n | \"url\"\n | \"photo\";\n\nexport type IcAlignment = \"left\" | \"center\" | \"full-width\";\n\nexport enum IcThemeForegroundEnum {\n Default = \"default\",\n Dark = \"dark\",\n Light = \"light\",\n}\n\nexport type IcThemeForeground = \"default\" | \"dark\" | \"light\";\n\nexport type IcThemeForegroundNoDefault = \"dark\" | \"light\";\n\nexport type IcTheme = {\n mode: IcThemeForeground;\n color: IcColorRGB;\n};\n\nexport type IcAdditionalFieldTypes = \"static\" | \"dynamic\";\n\nexport type IcColorRGB = {\n r: number;\n g: number;\n b: number;\n};\n\nexport type IcColorRGBA = IcColorRGB & {\n a: number;\n};\n\nexport type IcActivationTypes = \"automatic\" | \"manual\";\n\nexport type IcAutocorrectStates = \"on\" | \"off\";\n\nexport type IcNavParentDetails = {\n navType: IcNavType | \"\";\n parent: HTMLElement;\n};\n\nexport type IcTypographyVariants =\n | \"h1\"\n | \"h2\"\n | \"h3\"\n | \"h4\"\n | \"subtitle-large\"\n | \"subtitle-small\"\n | \"body\"\n | \"label\"\n | \"label-uppercase\"\n | \"caption\"\n | \"caption-uppercase\"\n | \"code-large\"\n | \"code-small\"\n | \"code-extra-small\"\n | \"badge\"\n | \"badge-small\";\n\n/**\n * @interface IcMenuOption\n * @field {string} A label field to options. Defaults to \"label\", but can have any custom name.\n * @field {string} A value field to options. Defaults to \"value\", but can have any custom name.\n */\nexport interface IcMenuOption {\n description?: string;\n disabled?: boolean;\n recommended?: boolean;\n children?: IcMenuOption[];\n loading?: boolean;\n timedOut?: boolean;\n [key: string]: any;\n element?: {\n component: any;\n ariaLabel: string;\n };\n icon?: any;\n}\n\nexport type IcSearchMatchPositions = \"start\" | \"anywhere\";\n\nexport type IcCallbackFunctionNoReturn = (...args: unknown[]) => void;\n\nexport type IcRequiredPropsTypes =\n | string\n | boolean\n | number\n | HTMLElement\n | IcMenuOption[];\n\nexport type IcPropObject = { prop: IcRequiredPropsTypes; propName: string };\n\nexport type IcRelatedTarget = EventTarget | undefined;\n\nexport type IcOrientation = \"horizontal\" | \"vertical\";\n\nexport type IcEmphasisType = \"filled\" | \"outlined\";\n\nexport interface IcValueEventDetail {\n value: string;\n keyPressed?: string;\n}\nexport interface IcBlurEventDetail {\n relatedTarget: IcRelatedTarget;\n}\n\nexport type IcSelectTypes = \"single\" | \"multi\";\n\nexport type IcSelectMethodTypes = \"auto\" | \"manual\";\n"],"version":3}
|
@@ -4,6 +4,10 @@ export declare class AccordionGroup {
|
|
4
4
|
el: HTMLIcAccordionGroupElement;
|
5
5
|
accordions: HTMLIcAccordionElement[];
|
6
6
|
areAllAccordionsOpen: boolean;
|
7
|
+
/**
|
8
|
+
* The accessible button label to provide more context to the 'See all/Hide all' button for screen reader users.
|
9
|
+
*/
|
10
|
+
accessibleButtonLabel: string;
|
7
11
|
/**
|
8
12
|
* The appearance of the accordion group, e.g dark, or light.
|
9
13
|
*/
|
@@ -29,5 +33,6 @@ export declare class AccordionGroup {
|
|
29
33
|
private handleExpanded;
|
30
34
|
private linkAccordions;
|
31
35
|
private setExpandedToAreAllAccordionsOpen;
|
36
|
+
private accordionOpenBtnText;
|
32
37
|
render(): any;
|
33
38
|
}
|
@@ -7,6 +7,7 @@ import { IcSizes, IcThemeForeground } from "../../utils/types";
|
|
7
7
|
* @slot right-icon - Content will be placed to the right of the button label.
|
8
8
|
* @slot top-icon - Content will be placed above the button label.
|
9
9
|
* @slot badge - Badge component overlaying the top right of the button.
|
10
|
+
* @slot router-item - Handle routing by nesting your routes in this slot. Setting loading to true will have no impact on this slot.
|
10
11
|
*/
|
11
12
|
export declare class Button {
|
12
13
|
private buttonEl;
|
@@ -18,6 +19,7 @@ export declare class Button {
|
|
18
19
|
private describedById;
|
19
20
|
private mutationObserver;
|
20
21
|
private hostMutationObserver;
|
22
|
+
private routerSlot;
|
21
23
|
el: HTMLIcButtonElement;
|
22
24
|
ariaLabel: string;
|
23
25
|
describedByContent: string;
|
@@ -42,6 +44,7 @@ export declare class Button {
|
|
42
44
|
* If `true`, the button will be in disabled state.
|
43
45
|
*/
|
44
46
|
disabled?: boolean;
|
47
|
+
watchDisabledHandler(): void;
|
45
48
|
/**
|
46
49
|
* If `true`, the ic-tooltip which is shown for icon variant will be disabled. Title or aria-label must be set if this prop is not applied.
|
47
50
|
*/
|
@@ -173,6 +176,7 @@ export declare class Button {
|
|
173
176
|
private hasLeftIconSlot;
|
174
177
|
private hasTopIconSlot;
|
175
178
|
private hasRightIconSlot;
|
179
|
+
private hasRouterSlot;
|
176
180
|
private setViewBox;
|
177
181
|
private handleHiddenFormButtonClick;
|
178
182
|
private handleClick;
|
@@ -31,12 +31,7 @@ export declare class DataRow {
|
|
31
31
|
componentDidLoad(): void;
|
32
32
|
private runResizeObserver;
|
33
33
|
private checkLabelAbove;
|
34
|
-
|
35
|
-
* Renders the label either as a ic-typography or slot. Slotted content takes precedence.
|
36
|
-
* @param label string - label of value
|
37
|
-
* @returns HTMLDivElement - returns label as slot or ic-typography with label as textContent
|
38
|
-
*/
|
39
|
-
private renderLabel;
|
34
|
+
private renderCellContent;
|
40
35
|
private labelEndComponent;
|
41
36
|
render(): any;
|
42
37
|
}
|
package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { IcInformationStatusOrEmpty,
|
1
|
+
import { IcInformationStatusOrEmpty, IcSizes } from "../../utils/types";
|
2
2
|
/**
|
3
3
|
* @slot left-icon - Content will be placed to the left of the input.
|
4
4
|
*/
|
@@ -31,7 +31,7 @@ export declare class InputComponentContainer {
|
|
31
31
|
/**
|
32
32
|
* The size of the input component container component.
|
33
33
|
*/
|
34
|
-
size?:
|
34
|
+
size?: IcSizes;
|
35
35
|
/**
|
36
36
|
* @deprecated This prop should not be used anymore. Set prop `size` to "small" instead.
|
37
37
|
*/
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
2
|
-
import { IcActivationTypes, IcMenuOption,
|
2
|
+
import { IcActivationTypes, IcMenuOption, IcSizes, IcValueEventDetail } from "../../utils/types";
|
3
3
|
import { IcOptionSelectEventDetail, IcMenuChangeEventDetail, IcMenuOptionIdEventDetail } from "./ic-menu.types";
|
4
4
|
import { IcSearchBarSearchModes } from "../ic-search-bar/ic-search-bar.types";
|
5
5
|
export declare class Menu {
|
@@ -71,7 +71,7 @@ export declare class Menu {
|
|
71
71
|
/**
|
72
72
|
* The size of the menu component.
|
73
73
|
*/
|
74
|
-
size?:
|
74
|
+
size?: IcSizes;
|
75
75
|
/**
|
76
76
|
* @deprecated This prop should not be used anymore. Set prop `size` to "small" instead.
|
77
77
|
*/
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
2
|
-
import { IcInformationStatusOrEmpty, IcMenuOption, IcSearchMatchPositions, IcValueEventDetail,
|
2
|
+
import { IcInformationStatusOrEmpty, IcMenuOption, IcSearchMatchPositions, IcValueEventDetail, IcSizes } from "../../utils/types";
|
3
3
|
import { IcOptionSelectEventDetail } from "../ic-menu/ic-menu.types";
|
4
4
|
export declare class Select {
|
5
5
|
private anchorEl;
|
@@ -139,7 +139,7 @@ export declare class Select {
|
|
139
139
|
/**
|
140
140
|
* The size of the select component.
|
141
141
|
*/
|
142
|
-
size?:
|
142
|
+
size?: IcSizes;
|
143
143
|
/**
|
144
144
|
* @deprecated This prop should not be used anymore. Set prop `size` to "small" instead.
|
145
145
|
*/
|
@@ -157,7 +157,7 @@ export declare class Select {
|
|
157
157
|
*/
|
158
158
|
validationText?: string;
|
159
159
|
/**
|
160
|
-
* If `true`, the loading state will be triggered when fetching options
|
160
|
+
* If `true`, the loading state will be triggered when fetching options asynchronously.
|
161
161
|
*/
|
162
162
|
loading?: boolean;
|
163
163
|
loadingHandler(newValue: boolean): void;
|
@@ -182,6 +182,7 @@ export declare class Select {
|
|
182
182
|
inputValueToFilter: string;
|
183
183
|
currValue: string;
|
184
184
|
valueChangedHandler(): void;
|
185
|
+
openChangedHandler(): void;
|
185
186
|
/**
|
186
187
|
* Emitted when the select loses focus.
|
187
188
|
*/
|
@@ -194,6 +195,10 @@ export declare class Select {
|
|
194
195
|
* Emitted when the clear button is clicked.
|
195
196
|
*/
|
196
197
|
icClear: EventEmitter<void>;
|
198
|
+
/**
|
199
|
+
* Emitted when the select options menu is closed.
|
200
|
+
*/
|
201
|
+
icClose: EventEmitter<void>;
|
197
202
|
/**
|
198
203
|
* Emitted when the select gains focus.
|
199
204
|
*/
|
@@ -202,6 +207,10 @@ export declare class Select {
|
|
202
207
|
* Emitted when a keyboard input occurred.
|
203
208
|
*/
|
204
209
|
icInput: EventEmitter<IcValueEventDetail>;
|
210
|
+
/**
|
211
|
+
* Emitted when the select options menu is opened.
|
212
|
+
*/
|
213
|
+
icOpen: EventEmitter<void>;
|
205
214
|
/**
|
206
215
|
* Emitted when an option is highlighted within the menu.
|
207
216
|
* Highlighting a menu item will also trigger an `icChange/onIcChange` due to the value being updated.
|
@@ -0,0 +1,68 @@
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
2
|
+
import { IcSizes, IcThemeForeground, IcSelectTypes, IcSelectMethodTypes } from "../../utils/types";
|
3
|
+
import { IcChangeEventDetail } from "./ic-toggle-button-group.types";
|
4
|
+
interface lastKey {
|
5
|
+
key: string | null;
|
6
|
+
shift: boolean;
|
7
|
+
}
|
8
|
+
export declare class ToggleButtonGroup {
|
9
|
+
el: HTMLIcToggleButtonGroupElement;
|
10
|
+
lastKeyPressed: lastKey;
|
11
|
+
/**
|
12
|
+
* The accessible label of the toggle button group component to provide context for screen reader users.
|
13
|
+
*/
|
14
|
+
accessibleLabel?: string;
|
15
|
+
/**
|
16
|
+
* The appearance of the toggle button group, e.g dark, or light.
|
17
|
+
*/
|
18
|
+
appearance: IcThemeForeground;
|
19
|
+
/**
|
20
|
+
* If `true`, the toggle button group will be set to the disabled state.
|
21
|
+
*/
|
22
|
+
disabled: boolean;
|
23
|
+
/**
|
24
|
+
* If `true`, the toggle button group will fill the width of the container.
|
25
|
+
*/
|
26
|
+
fullWidth?: boolean;
|
27
|
+
/**
|
28
|
+
* The placement of the icons in relation to the toggle button labels.
|
29
|
+
*/
|
30
|
+
iconPlacement?: "left" | "right" | "top";
|
31
|
+
/**
|
32
|
+
* If `true`, the toggle button group will be in loading state.
|
33
|
+
*/
|
34
|
+
loading?: boolean;
|
35
|
+
/**
|
36
|
+
* If `auto`, controls are toggled automatically when navigated to. If `manual`, the controls must be actioned to change their toggled state. The value of this prop is ignored if `selectType` is set to`multi`.
|
37
|
+
*/
|
38
|
+
selectMethod?: IcSelectMethodTypes;
|
39
|
+
/**
|
40
|
+
* Sets whether single or multiple options can be toggled. If `multi`, then the `selectMethod` is always `manual`.
|
41
|
+
*/
|
42
|
+
selectType?: IcSelectTypes;
|
43
|
+
/**
|
44
|
+
* The size of the toggle buttons to be displayed. This does not affect the font size of the accessible label.
|
45
|
+
*/
|
46
|
+
size?: IcSizes;
|
47
|
+
/**
|
48
|
+
* The variant of the toggle button.
|
49
|
+
*/
|
50
|
+
variant: "default" | "icon";
|
51
|
+
/**
|
52
|
+
* Emitted when a toggle button is selected.
|
53
|
+
*/
|
54
|
+
icChange: EventEmitter<IcChangeEventDetail>;
|
55
|
+
selectHandler(ev: CustomEvent, tabTarget?: HTMLIcToggleButtonElement): void;
|
56
|
+
componentWillLoad(): void;
|
57
|
+
componentDidLoad(): void;
|
58
|
+
disconnectedCallback(): void;
|
59
|
+
private keyListener;
|
60
|
+
private setSlottedAria;
|
61
|
+
private handleHostFocus;
|
62
|
+
private proxySelectHandler;
|
63
|
+
private handleKeyDown;
|
64
|
+
private getNextItemToSelect;
|
65
|
+
private getAllToggleButtons;
|
66
|
+
render(): any;
|
67
|
+
}
|
68
|
+
export {};
|
@@ -5,7 +5,7 @@
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
6
6
|
*/
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
8
|
-
import { IcActivationTypes, IcAdditionalFieldTypes, IcAlignment, IcAutocompleteTypes, IcAutocorrectStates, IcBlurEventDetail, IcEmphasisType, IcInformationStatusOrEmpty, IcMenuOption, IcOrientation, IcSearchMatchPositions, IcSizes, IcSizesNoLarge, IcStatusVariants, IcTheme, IcThemeForeground, IcThemeForegroundNoDefault, IcTypographyVariants, IcValueEventDetail } from "./utils/types";
|
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
9
|
import { IcBadgePositions, IcBadgeTypes, IcBadgeVariants, IcColor } 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";
|
@@ -30,8 +30,9 @@ import { IcStepperAlignment } from "./components/ic-stepper/ic-stepper.types";
|
|
30
30
|
import { IcSwitchChangeEventDetail } from "./components/ic-switch/ic-switch.types";
|
31
31
|
import { IcTabClickEventDetail, IcTabSelectEventDetail } from "./components/ic-tab/ic-tab.types";
|
32
32
|
import { IcAriaAutocompleteTypes, IcTextFieldInputModes, IcTextFieldTypes } from "./components/ic-text-field/ic-text-field.types";
|
33
|
+
import { IcChangeEventDetail as IcChangeEventDetail3 } from "./components/ic-toggle-button-group/ic-toggle-button-group.types";
|
33
34
|
import { IcTooltipPlacements } from "./components/ic-tooltip/ic-tooltip.types";
|
34
|
-
export { IcActivationTypes, IcAdditionalFieldTypes, IcAlignment, IcAutocompleteTypes, IcAutocorrectStates, IcBlurEventDetail, IcEmphasisType, IcInformationStatusOrEmpty, IcMenuOption, IcOrientation, IcSearchMatchPositions, IcSizes, IcSizesNoLarge, IcStatusVariants, IcTheme, IcThemeForeground, IcThemeForegroundNoDefault, IcTypographyVariants, IcValueEventDetail } from "./utils/types";
|
35
|
+
export { IcActivationTypes, IcAdditionalFieldTypes, IcAlignment, IcAutocompleteTypes, IcAutocorrectStates, IcBlurEventDetail, IcEmphasisType, IcInformationStatusOrEmpty, IcMenuOption, IcOrientation, IcSearchMatchPositions, IcSelectMethodTypes, IcSelectTypes, IcSizes, IcSizesNoLarge, IcStatusVariants, IcTheme, IcThemeForeground, IcThemeForegroundNoDefault, IcTypographyVariants, IcValueEventDetail } from "./utils/types";
|
35
36
|
export { IcBadgePositions, IcBadgeTypes, IcBadgeVariants, IcColor } from "./components/ic-badge/ic-badge.types";
|
36
37
|
export { IcButtonTooltipPlacement, IcButtonTypes, IcButtonVariants } from "./components/ic-button/ic-button.types";
|
37
38
|
export { IcChangeEventDetail } from "./components/ic-checkbox-group/ic-checkbox-group.types";
|
@@ -56,6 +57,7 @@ export { IcStepperAlignment } from "./components/ic-stepper/ic-stepper.types";
|
|
56
57
|
export { IcSwitchChangeEventDetail } from "./components/ic-switch/ic-switch.types";
|
57
58
|
export { IcTabClickEventDetail, IcTabSelectEventDetail } from "./components/ic-tab/ic-tab.types";
|
58
59
|
export { IcAriaAutocompleteTypes, IcTextFieldInputModes, IcTextFieldTypes } from "./components/ic-text-field/ic-text-field.types";
|
60
|
+
export { IcChangeEventDetail as IcChangeEventDetail3 } from "./components/ic-toggle-button-group/ic-toggle-button-group.types";
|
59
61
|
export { IcTooltipPlacements } from "./components/ic-tooltip/ic-tooltip.types";
|
60
62
|
export namespace Components {
|
61
63
|
interface IcAccordion {
|
@@ -86,6 +88,10 @@ export namespace Components {
|
|
86
88
|
"size"?: IcSizes;
|
87
89
|
}
|
88
90
|
interface IcAccordionGroup {
|
91
|
+
/**
|
92
|
+
* The accessible button label to provide more context to the 'See all/Hide all' button for screen reader users.
|
93
|
+
*/
|
94
|
+
"accessibleButtonLabel": string;
|
89
95
|
/**
|
90
96
|
* The appearance of the accordion group, e.g dark, or light.
|
91
97
|
*/
|
@@ -843,7 +849,7 @@ export namespace Components {
|
|
843
849
|
/**
|
844
850
|
* The size of the input component container component.
|
845
851
|
*/
|
846
|
-
"size"?:
|
852
|
+
"size"?: IcSizes;
|
847
853
|
/**
|
848
854
|
* @deprecated This prop should not be used anymore. Set prop `size` to "small" instead.
|
849
855
|
*/
|
@@ -1063,7 +1069,7 @@ export namespace Components {
|
|
1063
1069
|
/**
|
1064
1070
|
* The size of the menu component.
|
1065
1071
|
*/
|
1066
|
-
"size"?:
|
1072
|
+
"size"?: IcSizes;
|
1067
1073
|
/**
|
1068
1074
|
* @deprecated This prop should not be used anymore. Set prop `size` to "small" instead.
|
1069
1075
|
*/
|
@@ -1544,7 +1550,7 @@ export namespace Components {
|
|
1544
1550
|
*/
|
1545
1551
|
"labelField"?: string;
|
1546
1552
|
/**
|
1547
|
-
* Trigger loading state when fetching options
|
1553
|
+
* Trigger loading state when fetching options asynchronously
|
1548
1554
|
*/
|
1549
1555
|
"loading"?: boolean;
|
1550
1556
|
/**
|
@@ -1688,7 +1694,7 @@ export namespace Components {
|
|
1688
1694
|
*/
|
1689
1695
|
"label": string;
|
1690
1696
|
/**
|
1691
|
-
* If `true`, the loading state will be triggered when fetching options
|
1697
|
+
* If `true`, the loading state will be triggered when fetching options asynchronously.
|
1692
1698
|
*/
|
1693
1699
|
"loading"?: boolean;
|
1694
1700
|
/**
|
@@ -1742,7 +1748,7 @@ export namespace Components {
|
|
1742
1748
|
/**
|
1743
1749
|
* The size of the select component.
|
1744
1750
|
*/
|
1745
|
-
"size"?:
|
1751
|
+
"size"?: IcSizes;
|
1746
1752
|
/**
|
1747
1753
|
* @deprecated This prop should not be used anymore. Set prop `size` to "small" instead.
|
1748
1754
|
*/
|
@@ -2231,6 +2237,48 @@ export namespace Components {
|
|
2231
2237
|
*/
|
2232
2238
|
"variant": "default" | "icon";
|
2233
2239
|
}
|
2240
|
+
interface IcToggleButtonGroup {
|
2241
|
+
/**
|
2242
|
+
* The accessible label of the toggle button group component to provide context for screen reader users.
|
2243
|
+
*/
|
2244
|
+
"accessibleLabel"?: string;
|
2245
|
+
/**
|
2246
|
+
* The appearance of the toggle button group, e.g dark, or light.
|
2247
|
+
*/
|
2248
|
+
"appearance": IcThemeForeground;
|
2249
|
+
/**
|
2250
|
+
* If `true`, the toggle button group will be set to the disabled state.
|
2251
|
+
*/
|
2252
|
+
"disabled": boolean;
|
2253
|
+
/**
|
2254
|
+
* If `true`, the toggle button group will fill the width of the container.
|
2255
|
+
*/
|
2256
|
+
"fullWidth"?: boolean;
|
2257
|
+
/**
|
2258
|
+
* The placement of the icons in relation to the toggle button labels.
|
2259
|
+
*/
|
2260
|
+
"iconPlacement"?: "left" | "right" | "top";
|
2261
|
+
/**
|
2262
|
+
* If `true`, the toggle button group will be in loading state.
|
2263
|
+
*/
|
2264
|
+
"loading"?: boolean;
|
2265
|
+
/**
|
2266
|
+
* If `auto`, controls are toggled automatically when navigated to. If `manual`, the controls must be actioned to change their toggled state. The value of this prop is ignored if `selectType` is set to`multi`.
|
2267
|
+
*/
|
2268
|
+
"selectMethod"?: IcSelectMethodTypes;
|
2269
|
+
/**
|
2270
|
+
* Sets whether single or multiple options can be toggled. If `multi`, then the `selectMethod` is always `manual`.
|
2271
|
+
*/
|
2272
|
+
"selectType"?: IcSelectTypes;
|
2273
|
+
/**
|
2274
|
+
* The size of the toggle buttons to be displayed. This does not affect the font size of the accessible label.
|
2275
|
+
*/
|
2276
|
+
"size"?: IcSizes;
|
2277
|
+
/**
|
2278
|
+
* The variant of the toggle button.
|
2279
|
+
*/
|
2280
|
+
"variant": "default" | "icon";
|
2281
|
+
}
|
2234
2282
|
interface IcTooltip {
|
2235
2283
|
"disableClick"?: boolean;
|
2236
2284
|
/**
|
@@ -2434,6 +2482,10 @@ export interface IcToggleButtonCustomEvent<T> extends CustomEvent<T> {
|
|
2434
2482
|
detail: T;
|
2435
2483
|
target: HTMLIcToggleButtonElement;
|
2436
2484
|
}
|
2485
|
+
export interface IcToggleButtonGroupCustomEvent<T> extends CustomEvent<T> {
|
2486
|
+
detail: T;
|
2487
|
+
target: HTMLIcToggleButtonGroupElement;
|
2488
|
+
}
|
2437
2489
|
export interface IcTopNavigationCustomEvent<T> extends CustomEvent<T> {
|
2438
2490
|
detail: T;
|
2439
2491
|
target: HTMLIcTopNavigationElement;
|
@@ -2940,8 +2992,10 @@ declare global {
|
|
2940
2992
|
"icBlur": void;
|
2941
2993
|
"icChange": IcValueEventDetail;
|
2942
2994
|
"icClear": void;
|
2995
|
+
"icClose": void;
|
2943
2996
|
"icFocus": void;
|
2944
2997
|
"icInput": IcValueEventDetail;
|
2998
|
+
"icOpen": void;
|
2945
2999
|
"icOptionSelect": IcOptionSelectEventDetail;
|
2946
3000
|
"icRetryLoad": IcValueEventDetail;
|
2947
3001
|
}
|
@@ -3163,6 +3217,23 @@ declare global {
|
|
3163
3217
|
prototype: HTMLIcToggleButtonElement;
|
3164
3218
|
new (): HTMLIcToggleButtonElement;
|
3165
3219
|
};
|
3220
|
+
interface HTMLIcToggleButtonGroupElementEventMap {
|
3221
|
+
"icChange": IcChangeEventDetail3;
|
3222
|
+
}
|
3223
|
+
interface HTMLIcToggleButtonGroupElement extends Components.IcToggleButtonGroup, HTMLStencilElement {
|
3224
|
+
addEventListener<K extends keyof HTMLIcToggleButtonGroupElementEventMap>(type: K, listener: (this: HTMLIcToggleButtonGroupElement, ev: IcToggleButtonGroupCustomEvent<HTMLIcToggleButtonGroupElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
3225
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
3226
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
3227
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
3228
|
+
removeEventListener<K extends keyof HTMLIcToggleButtonGroupElementEventMap>(type: K, listener: (this: HTMLIcToggleButtonGroupElement, ev: IcToggleButtonGroupCustomEvent<HTMLIcToggleButtonGroupElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
3229
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
3230
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
3231
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
3232
|
+
}
|
3233
|
+
var HTMLIcToggleButtonGroupElement: {
|
3234
|
+
prototype: HTMLIcToggleButtonGroupElement;
|
3235
|
+
new (): HTMLIcToggleButtonGroupElement;
|
3236
|
+
};
|
3166
3237
|
interface HTMLIcTooltipElement extends Components.IcTooltip, HTMLStencilElement {
|
3167
3238
|
}
|
3168
3239
|
var HTMLIcTooltipElement: {
|
@@ -3255,6 +3326,7 @@ declare global {
|
|
3255
3326
|
"ic-toast": HTMLIcToastElement;
|
3256
3327
|
"ic-toast-region": HTMLIcToastRegionElement;
|
3257
3328
|
"ic-toggle-button": HTMLIcToggleButtonElement;
|
3329
|
+
"ic-toggle-button-group": HTMLIcToggleButtonGroupElement;
|
3258
3330
|
"ic-tooltip": HTMLIcTooltipElement;
|
3259
3331
|
"ic-top-navigation": HTMLIcTopNavigationElement;
|
3260
3332
|
"ic-typography": HTMLIcTypographyElement;
|
@@ -3284,6 +3356,10 @@ declare namespace LocalJSX {
|
|
3284
3356
|
"size"?: IcSizes;
|
3285
3357
|
}
|
3286
3358
|
interface IcAccordionGroup {
|
3359
|
+
/**
|
3360
|
+
* The accessible button label to provide more context to the 'See all/Hide all' button for screen reader users.
|
3361
|
+
*/
|
3362
|
+
"accessibleButtonLabel"?: string;
|
3287
3363
|
/**
|
3288
3364
|
* The appearance of the accordion group, e.g dark, or light.
|
3289
3365
|
*/
|
@@ -4047,7 +4123,7 @@ declare namespace LocalJSX {
|
|
4047
4123
|
/**
|
4048
4124
|
* The size of the input component container component.
|
4049
4125
|
*/
|
4050
|
-
"size"?:
|
4126
|
+
"size"?: IcSizes;
|
4051
4127
|
/**
|
4052
4128
|
* @deprecated This prop should not be used anymore. Set prop `size` to "small" instead.
|
4053
4129
|
*/
|
@@ -4251,7 +4327,7 @@ declare namespace LocalJSX {
|
|
4251
4327
|
/**
|
4252
4328
|
* The size of the menu component.
|
4253
4329
|
*/
|
4254
|
-
"size"?:
|
4330
|
+
"size"?: IcSizes;
|
4255
4331
|
/**
|
4256
4332
|
* @deprecated This prop should not be used anymore. Set prop `size` to "small" instead.
|
4257
4333
|
*/
|
@@ -4727,7 +4803,7 @@ declare namespace LocalJSX {
|
|
4727
4803
|
*/
|
4728
4804
|
"labelField"?: string;
|
4729
4805
|
/**
|
4730
|
-
* Trigger loading state when fetching options
|
4806
|
+
* Trigger loading state when fetching options asynchronously
|
4731
4807
|
*/
|
4732
4808
|
"loading"?: boolean;
|
4733
4809
|
/**
|
@@ -4911,7 +4987,7 @@ declare namespace LocalJSX {
|
|
4911
4987
|
*/
|
4912
4988
|
"label": string;
|
4913
4989
|
/**
|
4914
|
-
* If `true`, the loading state will be triggered when fetching options
|
4990
|
+
* If `true`, the loading state will be triggered when fetching options asynchronously.
|
4915
4991
|
*/
|
4916
4992
|
"loading"?: boolean;
|
4917
4993
|
/**
|
@@ -4938,6 +5014,10 @@ declare namespace LocalJSX {
|
|
4938
5014
|
* Emitted when the clear button is clicked.
|
4939
5015
|
*/
|
4940
5016
|
"onIcClear"?: (event: IcSelectCustomEvent<void>) => void;
|
5017
|
+
/**
|
5018
|
+
* Emitted when the select options menu is closed.
|
5019
|
+
*/
|
5020
|
+
"onIcClose"?: (event: IcSelectCustomEvent<void>) => void;
|
4941
5021
|
/**
|
4942
5022
|
* Emitted when the select gains focus.
|
4943
5023
|
*/
|
@@ -4946,6 +5026,10 @@ declare namespace LocalJSX {
|
|
4946
5026
|
* Emitted when a keyboard input occurred.
|
4947
5027
|
*/
|
4948
5028
|
"onIcInput"?: (event: IcSelectCustomEvent<IcValueEventDetail>) => void;
|
5029
|
+
/**
|
5030
|
+
* Emitted when the select options menu is opened.
|
5031
|
+
*/
|
5032
|
+
"onIcOpen"?: (event: IcSelectCustomEvent<void>) => void;
|
4949
5033
|
/**
|
4950
5034
|
* Emitted when an option is highlighted within the menu. Highlighting a menu item will also trigger an `icChange/onIcChange` due to the value being updated.
|
4951
5035
|
*/
|
@@ -4989,7 +5073,7 @@ declare namespace LocalJSX {
|
|
4989
5073
|
/**
|
4990
5074
|
* The size of the select component.
|
4991
5075
|
*/
|
4992
|
-
"size"?:
|
5076
|
+
"size"?: IcSizes;
|
4993
5077
|
/**
|
4994
5078
|
* @deprecated This prop should not be used anymore. Set prop `size` to "small" instead.
|
4995
5079
|
*/
|
@@ -5483,6 +5567,52 @@ declare namespace LocalJSX {
|
|
5483
5567
|
*/
|
5484
5568
|
"variant"?: "default" | "icon";
|
5485
5569
|
}
|
5570
|
+
interface IcToggleButtonGroup {
|
5571
|
+
/**
|
5572
|
+
* The accessible label of the toggle button group component to provide context for screen reader users.
|
5573
|
+
*/
|
5574
|
+
"accessibleLabel"?: string;
|
5575
|
+
/**
|
5576
|
+
* The appearance of the toggle button group, e.g dark, or light.
|
5577
|
+
*/
|
5578
|
+
"appearance"?: IcThemeForeground;
|
5579
|
+
/**
|
5580
|
+
* If `true`, the toggle button group will be set to the disabled state.
|
5581
|
+
*/
|
5582
|
+
"disabled"?: boolean;
|
5583
|
+
/**
|
5584
|
+
* If `true`, the toggle button group will fill the width of the container.
|
5585
|
+
*/
|
5586
|
+
"fullWidth"?: boolean;
|
5587
|
+
/**
|
5588
|
+
* The placement of the icons in relation to the toggle button labels.
|
5589
|
+
*/
|
5590
|
+
"iconPlacement"?: "left" | "right" | "top";
|
5591
|
+
/**
|
5592
|
+
* If `true`, the toggle button group will be in loading state.
|
5593
|
+
*/
|
5594
|
+
"loading"?: boolean;
|
5595
|
+
/**
|
5596
|
+
* Emitted when a toggle button is selected.
|
5597
|
+
*/
|
5598
|
+
"onIcChange"?: (event: IcToggleButtonGroupCustomEvent<IcChangeEventDetail3>) => void;
|
5599
|
+
/**
|
5600
|
+
* If `auto`, controls are toggled automatically when navigated to. If `manual`, the controls must be actioned to change their toggled state. The value of this prop is ignored if `selectType` is set to`multi`.
|
5601
|
+
*/
|
5602
|
+
"selectMethod"?: IcSelectMethodTypes;
|
5603
|
+
/**
|
5604
|
+
* Sets whether single or multiple options can be toggled. If `multi`, then the `selectMethod` is always `manual`.
|
5605
|
+
*/
|
5606
|
+
"selectType"?: IcSelectTypes;
|
5607
|
+
/**
|
5608
|
+
* The size of the toggle buttons to be displayed. This does not affect the font size of the accessible label.
|
5609
|
+
*/
|
5610
|
+
"size"?: IcSizes;
|
5611
|
+
/**
|
5612
|
+
* The variant of the toggle button.
|
5613
|
+
*/
|
5614
|
+
"variant"?: "default" | "icon";
|
5615
|
+
}
|
5486
5616
|
interface IcTooltip {
|
5487
5617
|
/**
|
5488
5618
|
* If `true`, the tooltip will not be displayed on hover, it will require a click.
|
@@ -5630,6 +5760,7 @@ declare namespace LocalJSX {
|
|
5630
5760
|
"ic-toast": IcToast;
|
5631
5761
|
"ic-toast-region": IcToastRegion;
|
5632
5762
|
"ic-toggle-button": IcToggleButton;
|
5763
|
+
"ic-toggle-button-group": IcToggleButtonGroup;
|
5633
5764
|
"ic-tooltip": IcTooltip;
|
5634
5765
|
"ic-top-navigation": IcTopNavigation;
|
5635
5766
|
"ic-typography": IcTypography;
|
@@ -5699,6 +5830,7 @@ declare module "@stencil/core" {
|
|
5699
5830
|
"ic-toast": LocalJSX.IcToast & JSXBase.HTMLAttributes<HTMLIcToastElement>;
|
5700
5831
|
"ic-toast-region": LocalJSX.IcToastRegion & JSXBase.HTMLAttributes<HTMLIcToastRegionElement>;
|
5701
5832
|
"ic-toggle-button": LocalJSX.IcToggleButton & JSXBase.HTMLAttributes<HTMLIcToggleButtonElement>;
|
5833
|
+
"ic-toggle-button-group": LocalJSX.IcToggleButtonGroup & JSXBase.HTMLAttributes<HTMLIcToggleButtonGroupElement>;
|
5702
5834
|
"ic-tooltip": LocalJSX.IcTooltip & JSXBase.HTMLAttributes<HTMLIcTooltipElement>;
|
5703
5835
|
"ic-top-navigation": LocalJSX.IcTopNavigation & JSXBase.HTMLAttributes<HTMLIcTopNavigationElement>;
|
5704
5836
|
"ic-typography": LocalJSX.IcTypography & JSXBase.HTMLAttributes<HTMLIcTypographyElement>;
|
@@ -1,6 +1,10 @@
|
|
1
1
|
import { EventEmitter } from "../stencil-public-runtime";
|
2
2
|
import { IcCallbackFunctionNoReturn, IcInformationStatusOrEmpty, IcNavParentDetails, IcPropObject, IcSearchMatchPositions, IcColorRGBA } 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.
|
@@ -9,7 +13,7 @@ import { IcMenuOption, IcThemeForeground } from "../utils/types";
|
|
9
13
|
* does not trigger a re-render.
|
10
14
|
*/
|
11
15
|
export declare const inheritAttributes: (element: HTMLElement, attributes?: string[]) => {
|
12
|
-
[key: string]:
|
16
|
+
[key: string]: string;
|
13
17
|
};
|
14
18
|
export declare const debounceEvent: (event: EventEmitter, wait: number) => EventEmitter;
|
15
19
|
export declare const debounce: (func: (...args: unknown[]) => void, wait?: number) => unknown;
|
@@ -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
|
@@ -137,3 +141,5 @@ export declare const addFormResetListener: (el: HTMLElement, callbackFn: IcCallb
|
|
137
141
|
export declare const removeFormResetListener: (el: HTMLElement, callbackFn: IcCallbackFunctionNoReturn) => void;
|
138
142
|
export declare const pxToRem: (px: string, base?: number) => string;
|
139
143
|
export declare const removeDisabledFalse: (disabled: boolean, element: HTMLElement) => void;
|
144
|
+
export declare const isMacDevice: () => boolean;
|
145
|
+
export declare const isNumeric: (value: string) => boolean;
|