@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
@@ -459,7 +459,8 @@ video {
|
|
459
459
|
--icon-height: 100%;
|
460
460
|
}
|
461
461
|
|
462
|
-
.button
|
462
|
+
.button,
|
463
|
+
::slotted(a) {
|
463
464
|
font-family: var(--ic-font-body-family);
|
464
465
|
text-decoration: none;
|
465
466
|
font-weight: 600;
|
@@ -482,21 +483,25 @@ video {
|
|
482
483
|
border-radius: 0.2188rem;
|
483
484
|
}
|
484
485
|
|
485
|
-
.button:hover
|
486
|
+
.button:hover,
|
487
|
+
::slotted(a:hover) {
|
486
488
|
cursor: pointer;
|
487
489
|
}
|
488
490
|
|
489
491
|
.button:focus,
|
490
492
|
:host .button:focus,
|
491
|
-
:host(.light) .button:focus
|
493
|
+
:host(.light) .button:focus,
|
494
|
+
::slotted(a:focus) {
|
492
495
|
box-shadow: var(--ic-border-focus);
|
493
496
|
}
|
494
497
|
|
495
|
-
.button:focus-visible
|
498
|
+
.button:focus-visible,
|
499
|
+
::slotted(a:focus-visible) {
|
496
500
|
outline: var(--ic-hc-focus-outline);
|
497
501
|
}
|
498
502
|
|
499
|
-
:host(.dark) .button
|
503
|
+
:host(.dark) .button,
|
504
|
+
:host(.dark) ::slotted(a) {
|
500
505
|
--button-default: var(--ic-action-dark);
|
501
506
|
--button-default-hover: var(--ic-action-dark);
|
502
507
|
--button-default-active: var(--ic-action-dark);
|
@@ -504,7 +509,8 @@ video {
|
|
504
509
|
--button-default-background-active: var(--ic-action-dark-bg-active);
|
505
510
|
}
|
506
511
|
|
507
|
-
:host(.light) .button
|
512
|
+
:host(.light) .button,
|
513
|
+
:host(.light) ::slotted(a) {
|
508
514
|
--button-default: var(--ic-action-light);
|
509
515
|
--button-default-hover: var(--ic-action-light);
|
510
516
|
--button-default-active: var(--ic-action-light);
|
@@ -512,7 +518,8 @@ video {
|
|
512
518
|
--button-default-background-active: var(--ic-action-light-bg-active);
|
513
519
|
}
|
514
520
|
|
515
|
-
:host(.white-background) .button
|
521
|
+
:host(.white-background) .button,
|
522
|
+
:host(.white-background) ::slotted(a) {
|
516
523
|
--button-default-background-hover: var(--ic-action-default-bg-hover-no-alpha);
|
517
524
|
--button-default-background-active: var(
|
518
525
|
--ic-action-default-bg-active-no-alpha
|
@@ -521,25 +528,29 @@ video {
|
|
521
528
|
background-color: var(--ic-architectural-white);
|
522
529
|
}
|
523
530
|
|
524
|
-
:host(.white-background.dark) .button
|
531
|
+
:host(.white-background.dark) .button,
|
532
|
+
:host(.white-background.dark) ::slotted(a) {
|
525
533
|
--button-default-background-hover: var(--ic-action-dark-bg-hover-no-alpha);
|
526
534
|
--button-default-background-active: var(--ic-action-dark-bg-active-no-alpha);
|
527
535
|
}
|
528
536
|
|
529
|
-
:host(.button-variant-primary.light) .button
|
537
|
+
:host(.button-variant-primary.light) .button,
|
538
|
+
:host(.button-variant-primary.light) ::slotted(a) {
|
530
539
|
color: var(--ic-color-primary-text);
|
531
540
|
|
532
541
|
--button-default-hover: var(--ic-action-light-hover);
|
533
542
|
--button-default-active: var(--ic-action-light-active);
|
534
543
|
}
|
535
544
|
|
536
|
-
:host(.button-variant-primary.dark) .button
|
545
|
+
:host(.button-variant-primary.dark) .button,
|
546
|
+
:host(.button-variant-primary.dark) ::slotted(a) {
|
537
547
|
--button-default-hover: var(--ic-action-dark-hover);
|
538
548
|
--button-default-active: var(--ic-action-dark-active);
|
539
549
|
}
|
540
550
|
|
541
551
|
:host(.disabled),
|
542
552
|
:host(.disabled) .button,
|
553
|
+
:host(.disabled) ::slotted(a),
|
543
554
|
:host(.loading),
|
544
555
|
:host(.loading) .button {
|
545
556
|
pointer-events: none;
|
@@ -558,7 +569,8 @@ video {
|
|
558
569
|
|
559
570
|
/* Primary */
|
560
571
|
|
561
|
-
:host(.button-variant-primary) .button
|
572
|
+
:host(.button-variant-primary) .button,
|
573
|
+
:host(.button-variant-primary) ::slotted(a) {
|
562
574
|
color: var(--ic-architectural-white);
|
563
575
|
background-color: var(--button-default);
|
564
576
|
}
|
@@ -572,7 +584,8 @@ video {
|
|
572
584
|
border-color: var(--button-default-hover);
|
573
585
|
}
|
574
586
|
|
575
|
-
:host(.button-variant-primary:not(.light)) .button:hover:focus
|
587
|
+
:host(.button-variant-primary:not(.light)) .button:hover:focus,
|
588
|
+
:host(.button-variant-primary:not(.light)) ::slotted(a:hover:focus) {
|
576
589
|
color: var(--ic-architectural-white);
|
577
590
|
}
|
578
591
|
|
@@ -589,29 +602,35 @@ video {
|
|
589
602
|
background-color: var(--button-default-active);
|
590
603
|
}
|
591
604
|
|
592
|
-
:host(.button-variant-primary:not(.light)) .button:active
|
605
|
+
:host(.button-variant-primary:not(.light)) .button:active,
|
606
|
+
:host(.button-variant-primary:not(.light)) ::slotted(a:active) {
|
593
607
|
color: var(--ic-architectural-white);
|
594
608
|
}
|
595
609
|
|
596
|
-
:host(.button-variant-primary.disabled) .button
|
610
|
+
:host(.button-variant-primary.disabled) .button,
|
611
|
+
:host(.button-variant-primary.disabled) ::slotted(a) {
|
597
612
|
background: var(--ic-architectural-200);
|
598
613
|
color: var(--ic-architectural-300);
|
599
614
|
}
|
600
615
|
|
601
|
-
:host(.button-variant-primary.light.disabled) .button
|
616
|
+
:host(.button-variant-primary.light.disabled) .button,
|
617
|
+
:host(.button-variant-primary.light.disabled) ::slotted(a) {
|
602
618
|
background: var(--ic-architectural-600);
|
603
619
|
color: var(--ic-architectural-500);
|
604
620
|
}
|
605
621
|
|
606
622
|
/* Secondary */
|
607
623
|
|
608
|
-
:host(.button-variant-secondary) .button
|
624
|
+
:host(.button-variant-secondary) .button,
|
625
|
+
:host(.button-variant-secondary) ::slotted(a) {
|
609
626
|
border: var(--ic-border-width) solid var(--button-default);
|
610
627
|
color: var(--button-default);
|
611
628
|
}
|
612
629
|
|
613
630
|
:host(.button-variant-secondary) .button:hover:not(:focus),
|
614
|
-
:host(.button-variant-secondary) .button:hover:focus
|
631
|
+
:host(.button-variant-secondary) .button:hover:focus,
|
632
|
+
:host(.button-variant-secondary) ::slotted(a:hover:not(:focus)),
|
633
|
+
:host(.button-variant-secondary) ::slotted(a:hover:focus) {
|
615
634
|
background-color: var(--button-default-background-hover);
|
616
635
|
border-color: var(--button-default-hover);
|
617
636
|
color: var(--button-default-hover);
|
@@ -619,7 +638,10 @@ video {
|
|
619
638
|
|
620
639
|
:host(.button-variant-secondary) .button:active:not(:focus),
|
621
640
|
:host(.button-variant-secondary) .button:active:focus,
|
622
|
-
:host(.button-variant-secondary) .button:active
|
641
|
+
:host(.button-variant-secondary) .button:active,
|
642
|
+
:host(.button-variant-secondary) ::slotted(a:active:not(:focus)),
|
643
|
+
:host(.button-variant-secondary) ::slotted(a:active:focus),
|
644
|
+
:host(.button-variant-secondary) ::slotted(a:active) {
|
623
645
|
border-color: var(--button-default-active);
|
624
646
|
background-color: var(--button-default-background-active);
|
625
647
|
color: var(--button-default-active);
|
@@ -633,7 +655,10 @@ video {
|
|
633
655
|
|
634
656
|
:host(.button-variant-secondary.disabled) .button,
|
635
657
|
:host(.button-variant-secondary.disabled) .button:hover,
|
636
|
-
:host(.button-variant-secondary.disabled) .button:active
|
658
|
+
:host(.button-variant-secondary.disabled) .button:active,
|
659
|
+
:host(.button-variant-secondary.disabled) ::slotted(a),
|
660
|
+
:host(.button-variant-secondary.disabled) ::slotted(a:hover),
|
661
|
+
:host(.button-variant-secondary.disabled) ::slotted(a:active) {
|
637
662
|
border-color: var(--ic-architectural-300);
|
638
663
|
color: var(--ic-architectural-300);
|
639
664
|
background: none;
|
@@ -641,7 +666,10 @@ video {
|
|
641
666
|
|
642
667
|
:host(.button-variant-secondary.light.disabled) .button,
|
643
668
|
:host(.button-variant-secondary.light.disabled) .button:hover,
|
644
|
-
:host(.button-variant-secondary.light.disabled) .button:active
|
669
|
+
:host(.button-variant-secondary.light.disabled) .button:active,
|
670
|
+
:host(.button-variant-secondary.light.disabled) ::slotted(a),
|
671
|
+
:host(.button-variant-secondary.light.disabled) ::slotted(a:hover),
|
672
|
+
:host(.button-variant-secondary.light.disabled) ::slotted(a:active) {
|
645
673
|
border-color: var(--ic-architectural-500);
|
646
674
|
color: var(--ic-architectural-500);
|
647
675
|
background: none;
|
@@ -649,12 +677,15 @@ video {
|
|
649
677
|
|
650
678
|
/* Tertiary */
|
651
679
|
|
652
|
-
:host(.button-variant-tertiary) .button
|
680
|
+
:host(.button-variant-tertiary) .button,
|
681
|
+
:host(.button-variant-tertiary) ::slotted(a) {
|
653
682
|
color: var(--button-default);
|
654
683
|
}
|
655
684
|
|
656
685
|
:host(.button-variant-tertiary) .button:hover:not(:focus),
|
657
|
-
:host(.button-variant-tertiary) .button:hover:focus
|
686
|
+
:host(.button-variant-tertiary) .button:hover:focus,
|
687
|
+
:host(.button-variant-tertiary) ::slotted(a:hover:not(:focus)),
|
688
|
+
:host(.button-variant-tertiary) ::slotted(a:hover:focus) {
|
658
689
|
background-color: var(--button-default-background-hover);
|
659
690
|
color: var(--button-default-hover);
|
660
691
|
}
|
@@ -662,6 +693,9 @@ video {
|
|
662
693
|
:host(.button-variant-tertiary) .button:active:not(:focus),
|
663
694
|
:host(.button-variant-tertiary) .button:active:focus,
|
664
695
|
:host(.button-variant-tertiary) .button:active,
|
696
|
+
:host(.button-variant-tertiary) ::slotted(a:active:not(:focus)),
|
697
|
+
:host(.button-variant-tertiary) ::slotted(a:active:focus),
|
698
|
+
:host(.button-variant-tertiary) ::slotted(a:active),
|
665
699
|
:host(.button-variant-tertiary.loading) .button {
|
666
700
|
background-color: var(--button-default-background-active);
|
667
701
|
color: var(--button-default-active);
|
@@ -669,7 +703,10 @@ video {
|
|
669
703
|
|
670
704
|
:host(.button-variant-tertiary.disabled) .button,
|
671
705
|
:host(.button-variant-tertiary.disabled) .button:hover,
|
672
|
-
:host(.button-variant-tertiary.disabled) .button:active
|
706
|
+
:host(.button-variant-tertiary.disabled) .button:active,
|
707
|
+
:host(.button-variant-tertiary.disabled) ::slotted(a),
|
708
|
+
:host(.button-variant-tertiary.disabled) ::slotted(a:hover),
|
709
|
+
:host(.button-variant-tertiary.disabled) ::slotted(a:active) {
|
673
710
|
border-color: var(--ic-architectural-300);
|
674
711
|
color: var(--ic-architectural-300);
|
675
712
|
background: none;
|
@@ -677,7 +714,10 @@ video {
|
|
677
714
|
|
678
715
|
:host(.button-variant-tertiary.light.disabled) .button,
|
679
716
|
:host(.button-variant-tertiary.light.disabled) .button:hover,
|
680
|
-
:host(.button-variant-tertiary.light.disabled) .button:active
|
717
|
+
:host(.button-variant-tertiary.light.disabled) .button:active,
|
718
|
+
:host(.button-variant-tertiary.light.disabled) ::slotted(a),
|
719
|
+
:host(.button-variant-tertiary.light.disabled) ::slotted(a:hover),
|
720
|
+
:host(.button-variant-tertiary.light.disabled) ::slotted(a:active) {
|
681
721
|
border-color: var(--ic-architectural-500);
|
682
722
|
color: var(--ic-architectural-500);
|
683
723
|
background: none;
|
@@ -685,7 +725,8 @@ video {
|
|
685
725
|
|
686
726
|
/* Icon */
|
687
727
|
|
688
|
-
:host(.button-variant-icon) .button
|
728
|
+
:host(.button-variant-icon) .button,
|
729
|
+
:host(.button-variant-icon) ::slotted(a) {
|
689
730
|
color: var(--button-default);
|
690
731
|
min-width: 0;
|
691
732
|
gap: var(--ic-space-xs);
|
@@ -698,12 +739,15 @@ video {
|
|
698
739
|
}
|
699
740
|
|
700
741
|
:host(.button-variant-icon) .button:hover:not(:focus),
|
701
|
-
:host(.button-variant-icon) .button:hover:focus
|
742
|
+
:host(.button-variant-icon) .button:hover:focus,
|
743
|
+
:host(.button-variant-icon) ::slotted(a:hover:not(:focus)),
|
744
|
+
:host(.button-variant-icon) ::slotted(a:hover:focus) {
|
702
745
|
background-color: var(--button-default-background-hover);
|
703
746
|
color: var(--button-default-hover);
|
704
747
|
}
|
705
748
|
|
706
749
|
:host(.button-variant-icon) .button:active:not(:focus),
|
750
|
+
:host(.button-variant-icon) ::slotted(a:active:not(:focus)),
|
707
751
|
:host(.button-variant-icon.loading) .button {
|
708
752
|
background-color: var(--button-default-background-active);
|
709
753
|
color: var(--button-default-active);
|
@@ -711,14 +755,18 @@ video {
|
|
711
755
|
|
712
756
|
:host(.button-variant-icon.disabled) .button,
|
713
757
|
:host(.button-variant-icon.disabled) .button:hover,
|
714
|
-
:host(.button-variant-icon.disabled) .button:active
|
758
|
+
:host(.button-variant-icon.disabled) .button:active,
|
759
|
+
:host(.button-variant-icon.disabled) ::slotted(a),
|
760
|
+
:host(.button-variant-icon.disabled) ::slotted(a:hover),
|
761
|
+
:host(.button-variant-icon.disabled) ::slotted(a:active) {
|
715
762
|
color: var(--ic-architectural-300);
|
716
763
|
background: none;
|
717
764
|
}
|
718
765
|
|
719
766
|
/* Destructive */
|
720
767
|
|
721
|
-
:host(.button-variant-destructive) .button
|
768
|
+
:host(.button-variant-destructive) .button,
|
769
|
+
:host(.button-variant-destructive) ::slotted(a) {
|
722
770
|
color: var(--ic-architectural-white);
|
723
771
|
background-color: var(--ic-action-destructive);
|
724
772
|
text-transform: uppercase;
|
@@ -735,7 +783,8 @@ video {
|
|
735
783
|
background-color: var(--ic-action-destructive-active);
|
736
784
|
}
|
737
785
|
|
738
|
-
:host(.button-variant-destructive.disabled) .button
|
786
|
+
:host(.button-variant-destructive.disabled) .button,
|
787
|
+
:host(.button-variant-destructive.disabled) ::slotted(a) {
|
739
788
|
background: var(--ic-architectural-200);
|
740
789
|
color: var(--ic-architectural-300);
|
741
790
|
}
|
@@ -757,19 +806,22 @@ video {
|
|
757
806
|
padding: var(--ic-space-sm) var(--ic-space-md);
|
758
807
|
}
|
759
808
|
|
760
|
-
:host(.button-size-default.button-variant-icon) .button
|
809
|
+
:host(.button-size-default.button-variant-icon) .button,
|
810
|
+
:host(.button-size-default.button-variant-icon) ::slotted(a) {
|
761
811
|
height: var(--height, var(--ic-space-xl));
|
762
812
|
width: var(--ic-space-xl);
|
763
813
|
padding: 0.375rem;
|
764
814
|
}
|
765
815
|
|
766
|
-
:host(.button-size-small.button-variant-icon) .button
|
816
|
+
:host(.button-size-small.button-variant-icon) .button,
|
817
|
+
:host(.button-size-small.button-variant-icon) ::slotted(a) {
|
767
818
|
height: var(--height, var(--ic-space-lg));
|
768
819
|
width: var(--ic-space-lg);
|
769
820
|
padding: var(--ic-space-xxs);
|
770
821
|
}
|
771
822
|
|
772
|
-
:host(.button-size-large.button-variant-icon) .button
|
823
|
+
:host(.button-size-large.button-variant-icon) .button,
|
824
|
+
:host(.button-size-large.button-variant-icon) ::slotted(a) {
|
773
825
|
height: var(--height, 2.5rem);
|
774
826
|
width: 2.5rem;
|
775
827
|
padding: var(--ic-space-xs);
|
@@ -777,7 +829,8 @@ video {
|
|
777
829
|
|
778
830
|
/* Width */
|
779
831
|
:host(.full-width),
|
780
|
-
:host(.full-width) .button
|
832
|
+
:host(.full-width) .button,
|
833
|
+
:host(.full-width) ::slotted(a) {
|
781
834
|
width: 100%;
|
782
835
|
}
|
783
836
|
|
@@ -868,7 +921,8 @@ div.right-icon {
|
|
868
921
|
margin: 0 var(--ic-space-xxs);
|
869
922
|
}
|
870
923
|
|
871
|
-
:host(.clear-button) .button:focus
|
924
|
+
:host(.clear-button) .button:focus,
|
925
|
+
:host(.calendar-button) .button:focus {
|
872
926
|
box-shadow: none;
|
873
927
|
}
|
874
928
|
|
@@ -931,10 +985,149 @@ div.right-icon {
|
|
931
985
|
padding-right: var(--ic-space-xs);
|
932
986
|
}
|
933
987
|
|
988
|
+
/** Slotted router item **/
|
989
|
+
slot[name="router-item"]::slotted(a) {
|
990
|
+
pointer-events: all;
|
991
|
+
}
|
992
|
+
|
993
|
+
::slotted(a) {
|
994
|
+
font-size: 0.875rem !important;
|
995
|
+
border: none !important;
|
996
|
+
vertical-align: middle !important;
|
997
|
+
}
|
998
|
+
|
999
|
+
:host(.white-background) ::slotted(a) {
|
1000
|
+
background-color: var(--ic-architectural-white) !important;
|
1001
|
+
}
|
1002
|
+
|
1003
|
+
:host(.button-variant-primary) ::slotted(a) {
|
1004
|
+
background-color: var(--button-default) !important;
|
1005
|
+
}
|
1006
|
+
|
1007
|
+
:host(.button-variant-primary) ::slotted(a:hover:not(:focus)),
|
1008
|
+
:host(.button-variant-primary) ::slotted(a:hover:focus) {
|
1009
|
+
background-color: var(--button-default-hover) !important;
|
1010
|
+
}
|
1011
|
+
|
1012
|
+
:host(.button-variant-primary) ::slotted(a:active:not(:focus)),
|
1013
|
+
:host(.button-variant-primary) ::slotted(a:active),
|
1014
|
+
:host(.button-variant-primary) ::sloted(a:active:focus) {
|
1015
|
+
background-color: var(--button-default-active) !important;
|
1016
|
+
}
|
1017
|
+
|
1018
|
+
:host(.button-variant-primary.disabled) ::slotted(a),
|
1019
|
+
:host(.button-variant-destructive.disabled) ::slotted(a) {
|
1020
|
+
background: var(--ic-architectural-200) !important;
|
1021
|
+
}
|
1022
|
+
|
1023
|
+
:host(.button-variant-primary.light.disabled) ::slotted(a) {
|
1024
|
+
background: var(--ic-architectural-600) !important;
|
1025
|
+
}
|
1026
|
+
|
1027
|
+
:host(.button-variant-secondary) ::slotted(a) {
|
1028
|
+
border: var(--ic-border-width) solid var(--button-default) !important;
|
1029
|
+
}
|
1030
|
+
|
1031
|
+
:host(.button-variant-secondary) ::slotted(a:hover:not(:focus)),
|
1032
|
+
:host(.button-variant-secondary) ::slotted(a:hover:focus) {
|
1033
|
+
background-color: var(--button-default-background-hover) !important;
|
1034
|
+
border-color: var(--button-default-hover) !important;
|
1035
|
+
}
|
1036
|
+
|
1037
|
+
:host(.button-variant-secondary) ::slotted(a:active:not(:focus)),
|
1038
|
+
:host(.button-variant-secondary) ::slotted(a:active:focus),
|
1039
|
+
:host(.button-variant-secondary) ::slotted(a:active) {
|
1040
|
+
border-color: var(--button-default-active) !important;
|
1041
|
+
background-color: var(--button-default-background-active) !important;
|
1042
|
+
}
|
1043
|
+
|
1044
|
+
:host(.button-variant-secondary.disabled) ::slotted(a),
|
1045
|
+
:host(.button-variant-secondary.disabled) ::slotted(a:hover),
|
1046
|
+
:host(.button-variant-secondary.disabled) ::slotted(a:active),
|
1047
|
+
:host(.button-variant-tertiary.disabled) ::slotted(a),
|
1048
|
+
:host(.button-variant-tertiary.disabled) ::slotted(a:hover),
|
1049
|
+
:host(.button-variant-tertiary.disabled) ::slotted(a:active) {
|
1050
|
+
border-color: var(--ic-architectural-300) !important;
|
1051
|
+
background: none !important;
|
1052
|
+
}
|
1053
|
+
|
1054
|
+
:host(.button-variant-secondary.light.disabled) ::slotted(a),
|
1055
|
+
:host(.button-variant-secondary.light.disabled) ::slotted(a:hover),
|
1056
|
+
:host(.button-variant-secondary.light.disabled) ::slotted(a:active),
|
1057
|
+
:host(.button-variant-tertiary.light.disabled) ::slotted(a),
|
1058
|
+
:host(.button-variant-tertiary.light.disabled) ::slotted(a:hover),
|
1059
|
+
:host(.button-variant-tertiary.light.disabled) ::slotted(a:active) {
|
1060
|
+
border-color: var(--ic-architectural-500) !important;
|
1061
|
+
background: none !important;
|
1062
|
+
}
|
1063
|
+
|
1064
|
+
:host(.button-variant-tertiary) ::slotted(a:hover:not(:focus)),
|
1065
|
+
:host(.button-variant-tertiary) ::slotted(a:hover:focus),
|
1066
|
+
:host(.button-variant-icon) ::slotted(a:hover:not(:focus)),
|
1067
|
+
:host(.button-variant-icon) ::slotted(a:hover:focus) {
|
1068
|
+
background-color: var(--button-default-background-hover) !important;
|
1069
|
+
}
|
1070
|
+
|
1071
|
+
:host(.button-variant-tertiary) ::slotted(a:active:not(:focus)),
|
1072
|
+
:host(.button-variant-tertiary) ::slotted(a:active:focus),
|
1073
|
+
:host(.button-variant-tertiary) ::slotted(a:active),
|
1074
|
+
:host(.button-variant-icon) ::slotted(a:active:not(:focus)) {
|
1075
|
+
background-color: var(--button-default-background-active) !important;
|
1076
|
+
}
|
1077
|
+
|
1078
|
+
:host(.button-variant-icon.disabled) ::slotted(a),
|
1079
|
+
:host(.button-variant-icon.disabled) ::slotted(a:hover),
|
1080
|
+
:host(.button-variant-icon.disabled) ::slotted(a:active) {
|
1081
|
+
background: none !important;
|
1082
|
+
}
|
1083
|
+
|
1084
|
+
:host(.button-variant-destructive) ::slotted(a) {
|
1085
|
+
background-color: var(--ic-action-destructive) !important;
|
1086
|
+
}
|
1087
|
+
|
1088
|
+
:host(.button-variant-destructive) ::slotted(a:hover:not(:focus)),
|
1089
|
+
:host(.button-variant-destructive) ::slotted(a:hover:focus) {
|
1090
|
+
background-color: var(--ic-action-destructive-hover) !important;
|
1091
|
+
}
|
1092
|
+
|
1093
|
+
:host(.button-variant-destructive) ::slotted(a:active:not(:focus)),
|
1094
|
+
:host(.button-variant-destructive) ::slotted(a:active:focus) {
|
1095
|
+
background-color: var(--ic-action-destructive-active) !important;
|
1096
|
+
}
|
1097
|
+
|
1098
|
+
:host(.button-size-default) ::slotted(a) {
|
1099
|
+
height: var(--height, 2.5rem) !important;
|
1100
|
+
padding: var(--ic-space-xs) var(--ic-space-md) !important;
|
1101
|
+
}
|
1102
|
+
|
1103
|
+
:host(.button-size-small) ::slotted(a) {
|
1104
|
+
height: var(--height, var(--ic-space-xl)) !important;
|
1105
|
+
padding: var(--ic-space-xxs) var(--ic-space-md) !important;
|
1106
|
+
}
|
1107
|
+
|
1108
|
+
:host(.button-size-large) ::slotted(a) {
|
1109
|
+
height: var(--height, var(--ic-space-xxl)) !important;
|
1110
|
+
padding: var(--ic-space-sm) var(--ic-space-md) !important;
|
1111
|
+
}
|
1112
|
+
|
1113
|
+
:host(.button-size-default.button-variant-icon) ::slotted(a) {
|
1114
|
+
height: var(--height, var(--ic-space-xl)) !important;
|
1115
|
+
padding: 0.375rem !important;
|
1116
|
+
}
|
1117
|
+
|
1118
|
+
:host(.button-size-small.button-variant-icon) ::slotted(a) {
|
1119
|
+
padding: var(--ic-space-xxs) !important;
|
1120
|
+
}
|
1121
|
+
|
1122
|
+
:host(.button-size-large.button-variant-icon) ::slotted(a) {
|
1123
|
+
padding: var(--ic-space-xs) !important;
|
1124
|
+
}
|
1125
|
+
|
934
1126
|
/** High Contrast **/
|
935
1127
|
@media (forced-colors: active) {
|
936
|
-
.button
|
937
|
-
|
1128
|
+
.button,
|
1129
|
+
::slotted(a) {
|
1130
|
+
border: 0.125rem solid transparent !important;
|
938
1131
|
}
|
939
1132
|
}
|
940
1133
|
|
@@ -22,6 +22,7 @@ let buttonIds = 0;
|
|
22
22
|
* @slot right-icon - Content will be placed to the right of the button label.
|
23
23
|
* @slot top-icon - Content will be placed above the button label.
|
24
24
|
* @slot badge - Badge component overlaying the top right of the button.
|
25
|
+
* @slot router-item - Handle routing by nesting your routes in this slot. Setting loading to true will have no impact on this slot.
|
25
26
|
*/
|
26
27
|
export class Button {
|
27
28
|
constructor() {
|
@@ -47,6 +48,7 @@ export class Button {
|
|
47
48
|
};
|
48
49
|
this.handleClick = () => {
|
49
50
|
if ((this.el.type === "submit" || this.el.type === "reset") &&
|
51
|
+
!this.hasRouterSlot() &&
|
50
52
|
!!this.el.closest("FORM")) {
|
51
53
|
this.handleHiddenFormButtonClick(this.el.closest("FORM"));
|
52
54
|
}
|
@@ -140,6 +142,9 @@ export class Button {
|
|
140
142
|
this.type = "button";
|
141
143
|
this.variant = "primary";
|
142
144
|
}
|
145
|
+
watchDisabledHandler() {
|
146
|
+
removeDisabledFalse(this.disabled, this.el);
|
147
|
+
}
|
143
148
|
disconnectedCallback() {
|
144
149
|
if (this.mutationObserver !== null && this.mutationObserver !== undefined) {
|
145
150
|
this.mutationObserver.disconnect();
|
@@ -201,14 +206,16 @@ export class Button {
|
|
201
206
|
(_a = this.setViewBox()) === null || _a === void 0 ? void 0 : _a.setAttribute("viewBox", "0 0 24 24");
|
202
207
|
}
|
203
208
|
handleHostClick(event) {
|
204
|
-
if (this.
|
205
|
-
this.
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
this.
|
209
|
+
if (!this.hasRouterSlot()) {
|
210
|
+
if (this.fileUpload) {
|
211
|
+
this.openFileExplorer();
|
212
|
+
}
|
213
|
+
if (this.disabled || this.loading) {
|
214
|
+
event.stopImmediatePropagation();
|
215
|
+
}
|
216
|
+
if (this.dropdown) {
|
217
|
+
this.dropdownExpanded = !this.dropdownExpanded;
|
218
|
+
}
|
212
219
|
}
|
213
220
|
}
|
214
221
|
themeChangeHandler(ev) {
|
@@ -239,6 +246,13 @@ export class Button {
|
|
239
246
|
const iconEl = this.el.querySelector(`[slot="right-icon"]`);
|
240
247
|
return iconEl !== null;
|
241
248
|
}
|
249
|
+
hasRouterSlot() {
|
250
|
+
this.routerSlot = this.el.querySelector('[slot="router-item"]');
|
251
|
+
if (this.routerSlot) {
|
252
|
+
this.routerSlot.ariaLabel = this.routerSlot.textContent;
|
253
|
+
}
|
254
|
+
return !!this.routerSlot;
|
255
|
+
}
|
242
256
|
handleHiddenFormButtonClick(form) {
|
243
257
|
const hiddenFormButton = document.createElement("button");
|
244
258
|
hiddenFormButton.setAttribute("type", this.el.type);
|
@@ -291,7 +305,7 @@ export class Button {
|
|
291
305
|
describedBy = this.describedById;
|
292
306
|
}
|
293
307
|
const ButtonContent = () => {
|
294
|
-
return (h(TagType, Object.assign({ class: "button", "aria-disabled": this.loading || this.disabled ? "true" : null, "aria-label": this.loading ? "Loading" : ariaLabel }, buttonAttrs, inheritedAttributes, { onFocus: this.onFocus, onBlur: this.onBlur, ref: (el) => (this.buttonEl = el), "aria-describedby": describedBy, part: "button" }), this.hasIconSlot() && !this.loading && (h("div", { class: "icon-container" }, h("slot", { name: "icon" }))), this.hasLeftIconSlot() && !this.loading && (h("div", { class: "icon-container" }, h("slot", { name: "left-icon" }))), this.hasTopIconSlot() &&
|
308
|
+
return (h(TagType, Object.assign({ class: "button", "aria-disabled": this.loading || this.disabled ? "true" : null, "aria-label": this.loading ? "Loading" : ariaLabel, "aria-expanded": this.dropdown && `${this.dropdownExpanded}` }, buttonAttrs, inheritedAttributes, { onFocus: this.onFocus, onBlur: this.onBlur, ref: (el) => (this.buttonEl = el), "aria-describedby": describedBy, part: "button" }), this.hasIconSlot() && !this.loading && (h("div", { class: "icon-container" }, h("slot", { name: "icon" }))), this.hasLeftIconSlot() && !this.loading && (h("div", { class: "icon-container" }, h("slot", { name: "left-icon" }))), this.hasTopIconSlot() &&
|
295
309
|
!this.hasLeftIconSlot() &&
|
296
310
|
!this.hasRightIconSlot() &&
|
297
311
|
!this.loading && (h("div", { class: "icon-container" }, h("slot", { name: "top-icon" }))), this.loading ? (h("div", { class: "loading-container" }, h("ic-loading-indicator", { type: "linear", appearance: this.variant === "primary" ||
|
@@ -323,7 +337,8 @@ export class Button {
|
|
323
337
|
["white-background"]: this.variant === "secondary" &&
|
324
338
|
!this.transparentBackground &&
|
325
339
|
this.appearance !== "light",
|
326
|
-
}, onClick: this.handleClick, "aria-owns": this.ariaOwnsId, "aria-controls": this.ariaControlsId, "aria-expanded": this.dropdown && `${this.dropdownExpanded}` }, this.hasTooltip && (h("ic-tooltip", { id: describedBy, label: title || ariaLabel, target: buttonId, placement: this.tooltipPlacement, silent: this.isTooltipSilent() },
|
340
|
+
}, onClick: this.handleClick, "aria-owns": this.ariaOwnsId, "aria-controls": this.ariaControlsId, "aria-expanded": this.dropdown && `${this.dropdownExpanded}` }, this.hasTooltip && (h("ic-tooltip", { id: describedBy, label: title || ariaLabel, target: buttonId, placement: this.tooltipPlacement, silent: this.isTooltipSilent() }, this.hasRouterSlot() ? (h("slot", { name: "router-item" })) : (h(ButtonContent, null)))), isSlotUsed(this.el, "badge") && h("slot", { name: "badge" }), !this.hasTooltip &&
|
341
|
+
(this.hasRouterSlot() ? (h("slot", { name: "router-item" })) : (h(ButtonContent, null))), this.describedByContent && (h("span", { id: describedBy, class: "ic-button-describedby" }, this.describedByContent))));
|
327
342
|
}
|
328
343
|
static get is() { return "ic-button"; }
|
329
344
|
static get encapsulation() { return "shadow"; }
|
@@ -1012,6 +1027,12 @@ export class Button {
|
|
1012
1027
|
};
|
1013
1028
|
}
|
1014
1029
|
static get elementRef() { return "el"; }
|
1030
|
+
static get watchers() {
|
1031
|
+
return [{
|
1032
|
+
"propName": "disabled",
|
1033
|
+
"methodName": "watchDisabledHandler"
|
1034
|
+
}];
|
1035
|
+
}
|
1015
1036
|
static get listeners() {
|
1016
1037
|
return [{
|
1017
1038
|
"name": "click",
|