@ukic/web-components 2.13.0 → 2.14.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-d52cddc1.js} +2 -2
- package/dist/cjs/helpers-d52cddc1.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 +23 -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 +12 -10
- 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 +227 -35
- package/dist/collection/components/ic-button/ic-button.js +22 -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 +9 -8
- 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 +8 -8
- 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 +4 -1
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/helpers.js +1 -1
- 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 +22 -11
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card.js +5 -18
- package/dist/components/ic-card.js.map +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 +6 -5
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-menu2.js +5 -4
- package/dist/components/ic-menu2.js.map +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.map +1 -1
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-select.js +22 -13
- package/dist/components/ic-select.js.map +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 +5 -2
- 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-c5e71983.entry.js → p-0038a8fd.entry.js} +2 -2
- package/dist/core/{p-dce01eea.entry.js → p-04506779.entry.js} +2 -2
- package/dist/core/p-0d0070b3.entry.js +2 -0
- package/dist/core/p-0d0070b3.entry.js.map +1 -0
- package/dist/core/{p-50df74fb.entry.js → p-0e2628eb.entry.js} +2 -2
- package/dist/core/p-0e2628eb.entry.js.map +1 -0
- package/dist/core/{p-0df94b9d.entry.js → p-1183031f.entry.js} +2 -2
- package/dist/core/p-1183031f.entry.js.map +1 -0
- package/dist/core/{p-2fbb52cd.entry.js → p-123b9306.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-77a9c4fd.entry.js → p-1ce0d16e.entry.js} +2 -2
- package/dist/core/{p-9c835bd7.entry.js → p-1d352487.entry.js} +2 -2
- package/dist/core/{p-7ef4f806.entry.js → p-210412e4.entry.js} +2 -2
- package/dist/core/{p-596c702b.entry.js → p-22a682e8.entry.js} +2 -2
- package/dist/core/{p-8b9d5e1f.entry.js → p-2680b736.entry.js} +2 -2
- package/dist/core/p-2680b736.entry.js.map +1 -0
- package/dist/core/p-26b7b18f.js.map +1 -1
- package/dist/core/{p-898a35c5.entry.js → p-296b7d74.entry.js} +2 -2
- package/dist/core/{p-45fb7128.entry.js → p-2f462ec5.entry.js} +2 -2
- package/dist/core/{p-85601b9f.entry.js → p-35b8923f.entry.js} +2 -2
- package/dist/core/{p-5bbbb507.entry.js → p-4641518f.entry.js} +2 -2
- package/dist/core/{p-911592a7.entry.js → p-46ecc4c5.entry.js} +2 -2
- package/dist/core/{p-8c55b011.entry.js → p-47a9dca9.entry.js} +2 -2
- package/dist/core/p-47d39ce7.entry.js +2 -0
- package/dist/core/p-47d39ce7.entry.js.map +1 -0
- package/dist/core/{p-dae0cfd0.entry.js → p-4ce5abd7.entry.js} +2 -2
- package/dist/core/p-53f2fc84.js +2 -0
- package/dist/core/p-53f2fc84.js.map +1 -0
- package/dist/core/{p-5bce919a.entry.js → p-5603eec3.entry.js} +2 -2
- package/dist/core/{p-584f15f9.entry.js → p-5e729e99.entry.js} +2 -2
- package/dist/core/p-5e729e99.entry.js.map +1 -0
- package/dist/core/{p-daf7e227.entry.js → p-64705a03.entry.js} +2 -2
- package/dist/core/{p-bfbf4c5b.entry.js → p-6a9ddb8a.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-d3059083.entry.js → p-7606c930.entry.js} +2 -2
- package/dist/core/{p-231a7230.entry.js → p-76ee6107.entry.js} +2 -2
- package/dist/core/{p-77b56204.entry.js → p-7b0397ea.entry.js} +2 -2
- package/dist/core/{p-e8d77f95.entry.js → p-80c3424f.entry.js} +2 -2
- package/dist/core/{p-3784f352.entry.js → p-8aa9aa25.entry.js} +2 -2
- package/dist/core/p-916f4265.entry.js +2 -0
- package/dist/core/p-916f4265.entry.js.map +1 -0
- package/dist/core/{p-7384a191.entry.js → p-91768ddf.entry.js} +2 -2
- package/dist/core/{p-10448c8d.entry.js → p-95d6f3ed.entry.js} +2 -2
- package/dist/core/{p-4ece659b.entry.js → p-9c18f048.entry.js} +2 -2
- package/dist/core/{p-881be3d5.entry.js → p-a4e7d123.entry.js} +2 -2
- package/dist/core/{p-c0e003dc.entry.js → p-a98f57cf.entry.js} +2 -2
- package/dist/core/{p-2db45025.entry.js → p-a9e1966f.entry.js} +2 -2
- package/dist/core/{p-7a62bb2f.entry.js → p-aa878a3c.entry.js} +2 -2
- package/dist/core/{p-4cf909ad.entry.js → p-b781b691.entry.js} +2 -2
- package/dist/core/{p-792d194d.entry.js → p-b98ce745.entry.js} +2 -2
- package/dist/core/{p-8c0f0a88.entry.js → p-bc7f99b8.entry.js} +2 -2
- package/dist/core/p-bc7f99b8.entry.js.map +1 -0
- package/dist/core/{p-9d66dd4c.entry.js → p-c053230d.entry.js} +2 -2
- package/dist/core/p-c053230d.entry.js.map +1 -0
- package/dist/core/{p-89a4057e.entry.js → p-c2789113.entry.js} +2 -2
- package/dist/core/{p-6724e9fd.entry.js → p-c7c2aa3c.entry.js} +2 -2
- package/dist/core/{p-d01d69a3.entry.js → p-d319ddce.entry.js} +2 -2
- package/dist/core/{p-5a243837.entry.js → p-d5f721ca.entry.js} +2 -2
- package/dist/core/{p-83f58174.entry.js → p-d9329191.entry.js} +2 -2
- package/dist/core/{p-42f5f86d.entry.js → p-dbbea7fa.entry.js} +2 -2
- package/dist/core/p-dbbea7fa.entry.js.map +1 -0
- package/dist/core/{p-b723f883.entry.js → p-e4863c93.entry.js} +2 -2
- package/dist/core/{p-87933302.entry.js → p-e68e31ec.entry.js} +2 -2
- package/dist/core/{p-263da6f8.entry.js → p-fbcb77a3.entry.js} +2 -2
- package/dist/core/{p-c73081df.entry.js → p-fce3e1aa.entry.js} +2 -2
- package/dist/core/{p-eadb62d5.entry.js → p-fea1d095.entry.js} +2 -2
- package/dist/esm/core.js +1 -1
- package/dist/esm/{helpers-5c2846f4.js → helpers-f1ca9908.js} +2 -2
- package/dist/esm/helpers-f1ca9908.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 +23 -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 +12 -10
- 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 +3 -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 +2 -1
- package/dist/types/utils/types.d.ts +2 -0
- package/hydrate/index.js +294 -86
- 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/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/core/{p-c5e71983.entry.js.map → p-0038a8fd.entry.js.map} +0 -0
- /package/dist/core/{p-dce01eea.entry.js.map → p-04506779.entry.js.map} +0 -0
- /package/dist/core/{p-2fbb52cd.entry.js.map → p-123b9306.entry.js.map} +0 -0
- /package/dist/core/{p-77a9c4fd.entry.js.map → p-1ce0d16e.entry.js.map} +0 -0
- /package/dist/core/{p-9c835bd7.entry.js.map → p-1d352487.entry.js.map} +0 -0
- /package/dist/core/{p-7ef4f806.entry.js.map → p-210412e4.entry.js.map} +0 -0
- /package/dist/core/{p-596c702b.entry.js.map → p-22a682e8.entry.js.map} +0 -0
- /package/dist/core/{p-898a35c5.entry.js.map → p-296b7d74.entry.js.map} +0 -0
- /package/dist/core/{p-45fb7128.entry.js.map → p-2f462ec5.entry.js.map} +0 -0
- /package/dist/core/{p-85601b9f.entry.js.map → p-35b8923f.entry.js.map} +0 -0
- /package/dist/core/{p-5bbbb507.entry.js.map → p-4641518f.entry.js.map} +0 -0
- /package/dist/core/{p-911592a7.entry.js.map → p-46ecc4c5.entry.js.map} +0 -0
- /package/dist/core/{p-8c55b011.entry.js.map → p-47a9dca9.entry.js.map} +0 -0
- /package/dist/core/{p-dae0cfd0.entry.js.map → p-4ce5abd7.entry.js.map} +0 -0
- /package/dist/core/{p-5bce919a.entry.js.map → p-5603eec3.entry.js.map} +0 -0
- /package/dist/core/{p-daf7e227.entry.js.map → p-64705a03.entry.js.map} +0 -0
- /package/dist/core/{p-bfbf4c5b.entry.js.map → p-6a9ddb8a.entry.js.map} +0 -0
- /package/dist/core/{p-d3059083.entry.js.map → p-7606c930.entry.js.map} +0 -0
- /package/dist/core/{p-231a7230.entry.js.map → p-76ee6107.entry.js.map} +0 -0
- /package/dist/core/{p-77b56204.entry.js.map → p-7b0397ea.entry.js.map} +0 -0
- /package/dist/core/{p-e8d77f95.entry.js.map → p-80c3424f.entry.js.map} +0 -0
- /package/dist/core/{p-3784f352.entry.js.map → p-8aa9aa25.entry.js.map} +0 -0
- /package/dist/core/{p-7384a191.entry.js.map → p-91768ddf.entry.js.map} +0 -0
- /package/dist/core/{p-10448c8d.entry.js.map → p-95d6f3ed.entry.js.map} +0 -0
- /package/dist/core/{p-4ece659b.entry.js.map → p-9c18f048.entry.js.map} +0 -0
- /package/dist/core/{p-881be3d5.entry.js.map → p-a4e7d123.entry.js.map} +0 -0
- /package/dist/core/{p-c0e003dc.entry.js.map → p-a98f57cf.entry.js.map} +0 -0
- /package/dist/core/{p-2db45025.entry.js.map → p-a9e1966f.entry.js.map} +0 -0
- /package/dist/core/{p-7a62bb2f.entry.js.map → p-aa878a3c.entry.js.map} +0 -0
- /package/dist/core/{p-4cf909ad.entry.js.map → p-b781b691.entry.js.map} +0 -0
- /package/dist/core/{p-792d194d.entry.js.map → p-b98ce745.entry.js.map} +0 -0
- /package/dist/core/{p-89a4057e.entry.js.map → p-c2789113.entry.js.map} +0 -0
- /package/dist/core/{p-6724e9fd.entry.js.map → p-c7c2aa3c.entry.js.map} +0 -0
- /package/dist/core/{p-d01d69a3.entry.js.map → p-d319ddce.entry.js.map} +0 -0
- /package/dist/core/{p-5a243837.entry.js.map → p-d5f721ca.entry.js.map} +0 -0
- /package/dist/core/{p-83f58174.entry.js.map → p-d9329191.entry.js.map} +0 -0
- /package/dist/core/{p-b723f883.entry.js.map → p-e4863c93.entry.js.map} +0 -0
- /package/dist/core/{p-87933302.entry.js.map → p-e68e31ec.entry.js.map} +0 -0
- /package/dist/core/{p-263da6f8.entry.js.map → p-fbcb77a3.entry.js.map} +0 -0
- /package/dist/core/{p-c73081df.entry.js.map → p-fce3e1aa.entry.js.map} +0 -0
- /package/dist/core/{p-eadb62d5.entry.js.map → p-fea1d095.entry.js.map} +0 -0
@@ -441,6 +441,66 @@ video {
|
|
441
441
|
}
|
442
442
|
|
443
443
|
|
444
|
+
/* VARIABLES FOR IC-TOGGLE-BUTTON-GROUP */
|
445
|
+
:host {
|
446
|
+
--button-border: var(
|
447
|
+
--toggle-button-border,
|
448
|
+
var(--ic-border-width) solid var(--ic-action-default)
|
449
|
+
);
|
450
|
+
}
|
451
|
+
|
452
|
+
:host(.dark) {
|
453
|
+
--button-border: var(
|
454
|
+
--toggle-button-border,
|
455
|
+
var(--ic-border-width) solid var(--ic-action-dark)
|
456
|
+
);
|
457
|
+
}
|
458
|
+
|
459
|
+
:host(.light) {
|
460
|
+
--button-border: var(
|
461
|
+
--toggle-button-border,
|
462
|
+
var(--ic-border-width) solid var(--ic-action-light)
|
463
|
+
);
|
464
|
+
}
|
465
|
+
|
466
|
+
:host(.disabled) {
|
467
|
+
--button-border: var(--toggle-button-border, var(--ic-border-disabled));
|
468
|
+
}
|
469
|
+
|
470
|
+
:host(.expand-toggle-group-child) ::part(button) {
|
471
|
+
width: 100%;
|
472
|
+
min-height: inherit;
|
473
|
+
white-space: inherit;
|
474
|
+
height: inherit;
|
475
|
+
}
|
476
|
+
|
477
|
+
:host(.expand-toggle-group-child) ic-button {
|
478
|
+
min-width: 100%;
|
479
|
+
min-height: 100%;
|
480
|
+
white-space: normal;
|
481
|
+
height: 100%;
|
482
|
+
}
|
483
|
+
|
484
|
+
:host(.expand-toggle-group-child) ::part(button):focus,
|
485
|
+
:host(.expand-toggle-group-child.checked) ::part(button):focus {
|
486
|
+
box-shadow: inset 0 0 0 var(--ic-space-xxxs) var(--ic-action-default),
|
487
|
+
var(--ic-border-focus);
|
488
|
+
}
|
489
|
+
|
490
|
+
:host(.expand-toggle-group-child.light) ::part(button):focus,
|
491
|
+
:host(.expand-toggle-group-child.dark) ::part(button):focus {
|
492
|
+
box-shadow: inset 0 0 0 var(--ic-space-xxxs) var(--ic-action-dark),
|
493
|
+
var(--ic-border-focus);
|
494
|
+
}
|
495
|
+
|
496
|
+
:host(:focus) {
|
497
|
+
z-index: 1;
|
498
|
+
}
|
499
|
+
|
500
|
+
:host ::part(button) {
|
501
|
+
border: var(--button-border);
|
502
|
+
}
|
503
|
+
|
444
504
|
:host(.checked) ::part(button) {
|
445
505
|
background-color: var(--ic-action-default);
|
446
506
|
color: var(--ic-architectural-white);
|
@@ -496,7 +556,7 @@ video {
|
|
496
556
|
|
497
557
|
:host(.disabled) ::part(button),
|
498
558
|
:host(.icon.disabled) ::part(button) {
|
499
|
-
border: var(--
|
559
|
+
border: var(--button-border);
|
500
560
|
}
|
501
561
|
|
502
562
|
:host(.disabled.checked) ::part(button),
|
@@ -511,7 +571,7 @@ video {
|
|
511
571
|
}
|
512
572
|
|
513
573
|
:host(.icon) ::part(button) {
|
514
|
-
border: var(--
|
574
|
+
border: var(--button-border);
|
515
575
|
height: calc(var(--ic-space-xl) + var(--ic-space-xs));
|
516
576
|
width: calc(var(--ic-space-xl) + var(--ic-space-xs));
|
517
577
|
}
|
@@ -6,6 +6,9 @@ import { isSlotUsed, onComponentRequiredPropUndefined, removeDisabledFalse, } fr
|
|
6
6
|
*/
|
7
7
|
export class ToggleButton {
|
8
8
|
constructor() {
|
9
|
+
this.handleFocus = (ev) => {
|
10
|
+
ev.stopImmediatePropagation();
|
11
|
+
};
|
9
12
|
this.handleClick = () => {
|
10
13
|
!this.loading &&
|
11
14
|
!this.disabled &&
|
@@ -51,7 +54,7 @@ export class ToggleButton {
|
|
51
54
|
["icon"]: this.variant === "icon",
|
52
55
|
[`${this.size}`]: true,
|
53
56
|
["loading"]: this.loading,
|
54
|
-
} }, h("ic-button", {
|
57
|
+
}, onFocus: this.handleFocus }, h("ic-button", { "aria-pressed": this.toggleChecked.toString(), variant: this.variant === "icon" ? "icon" : "secondary", onClick: this.handleClick, title: this.accessibleLabel, "aria-label": `${this.accessibleLabel ? this.accessibleLabel : this.label}, ${this.toggleChecked ? "ticked" : "unticked"}`, disabled: this.disabled, appearance: this.appearance, size: this.size, fullWidth: this.fullWidth, loading: this.loading, "aria-disabled": `${this.disabled}` }, this.variant !== "icon" && this.label, h("slot", null), isSlotUsed(this.el, "icon") && (h("slot", { name: "icon", slot: `${this.iconPlacement ? `${this.iconPlacement}-icon` : "icon"}` })), isSlotUsed(this.el, "badge") && (h("slot", { name: "badge", slot: "badge" })))));
|
55
58
|
}
|
56
59
|
static get is() { return "ic-toggle-button"; }
|
57
60
|
static get encapsulation() { return "shadow"; }
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ic-toggle-button.js","sourceRoot":"","sources":["../../../src/components/ic-toggle-button/ic-toggle-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,KAAK,EAEL,MAAM,EACN,CAAC,GACF,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,UAAU,EACV,gCAAgC,EAChC,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAG7B;;;GAGG;AASH,MAAM,OAAO,YAAY;;QAqFf,gBAAW,GAAG,GAAS,EAAE;YAC/B,CAAC,IAAI,CAAC,OAAO;gBACX,CAAC,IAAI,CAAC,QAAQ;gBACd,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC;oBACxB,OAAO,EAAE,IAAI,CAAC,aAAa;iBAC5B,CAAC,CAAC;QACP,CAAC,CAAC;;
|
1
|
+
{"version":3,"file":"ic-toggle-button.js","sourceRoot":"","sources":["../../../src/components/ic-toggle-button/ic-toggle-button.tsx"],"names":[],"mappings":"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","sourcesContent":["import {\n Component,\n Element,\n Host,\n Prop,\n Event,\n EventEmitter,\n Listen,\n h,\n} from \"@stencil/core\";\nimport {\n isSlotUsed,\n onComponentRequiredPropUndefined,\n removeDisabledFalse,\n} from \"../../utils/helpers\";\nimport { IcSizes, IcThemeForeground } from \"../../utils/types\";\n\n/**\n * @slot icon - Content will be displayed alongside the toggle button label.\n * @slot badge - Badge component overlaying the top right of the toggle button.\n */\n\n@Component({\n tag: \"ic-toggle-button\",\n styleUrl: \"ic-toggle-button.css\",\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class ToggleButton {\n @Element() el: HTMLIcToggleButtonElement;\n\n /**\n * The accessible label that will be applied to the toggle button. This is required for the icon variant of toggle buttons.\n */\n @Prop() accessibleLabel?: string;\n\n /**\n * The appearance of the toggle button.\n */\n @Prop() appearance?: IcThemeForeground = \"default\";\n\n /**\n * If `true`, the toggle button will be in disabled state.\n */\n @Prop() disabled?: boolean = false;\n\n /**\n * If `true`, the toggle button will fill the width of the container.\n */\n @Prop() fullWidth?: boolean = false;\n\n /**\n * The placement of the icon in relation to the toggle button label.\n */\n @Prop() iconPlacement?: \"left\" | \"right\" | \"top\";\n\n /**\n * The label to display in the toggle button. This is required for the default variant of toggle buttons.\n */\n @Prop() label?: string;\n\n /**\n * If `true`, the toggle button will be in loading state.\n */\n @Prop() loading?: boolean = false;\n\n /**\n * The size of the toggle button to be displayed.\n */\n @Prop() size?: IcSizes = \"default\";\n\n /**\n * If `true`, the toggle button will be in a checked state.\n */\n @Prop({ mutable: true, reflect: true }) toggleChecked: boolean = false;\n\n /**\n * The variant of the toggle button.\n */\n @Prop({ reflect: true }) variant: \"default\" | \"icon\" = \"default\";\n\n /**\n * Emitted when the user clicks a toggle button.\n */\n @Event() icToggleChecked: EventEmitter<{\n checked: boolean;\n }>;\n\n componentWillLoad(): void {\n removeDisabledFalse(this.disabled, this.el);\n }\n\n componentDidLoad(): void {\n onComponentRequiredPropUndefined(\n [\n {\n prop: this.variant === \"icon\" ? this.accessibleLabel : this.label,\n propName: this.variant === \"icon\" ? \"accessible-label\" : \"label\",\n },\n ],\n \"Toggle button\"\n );\n }\n\n @Listen(\"click\", { capture: true })\n handleHostClick(e: Event): void {\n if (this.disabled) {\n e.stopImmediatePropagation();\n } else if (!this.loading) {\n this.toggleChecked = !this.toggleChecked;\n }\n }\n\n private handleFocus = (ev: FocusEvent) => {\n ev.stopImmediatePropagation();\n };\n\n private handleClick = (): void => {\n !this.loading &&\n !this.disabled &&\n this.icToggleChecked.emit({\n checked: this.toggleChecked,\n });\n };\n\n render() {\n return (\n <Host\n class={{\n [\"disabled\"]: this.disabled,\n [\"checked\"]: this.toggleChecked,\n [`${this.appearance}`]: true,\n [\"icon\"]: this.variant === \"icon\",\n [`${this.size}`]: true,\n [\"loading\"]: this.loading,\n }}\n onFocus={this.handleFocus}\n >\n <ic-button\n aria-pressed={this.toggleChecked.toString()}\n variant={this.variant === \"icon\" ? \"icon\" : \"secondary\"}\n onClick={this.handleClick}\n title={this.accessibleLabel}\n aria-label={`${\n this.accessibleLabel ? this.accessibleLabel : this.label\n }, ${this.toggleChecked ? \"ticked\" : \"unticked\"}`}\n disabled={this.disabled}\n appearance={this.appearance}\n size={this.size}\n fullWidth={this.fullWidth}\n loading={this.loading}\n aria-disabled={`${this.disabled}`}\n >\n {this.variant !== \"icon\" && this.label}\n <slot />\n {isSlotUsed(this.el, \"icon\") && (\n <slot\n name=\"icon\"\n slot={`${\n this.iconPlacement ? `${this.iconPlacement}-icon` : \"icon\"\n }`}\n ></slot>\n )}\n {isSlotUsed(this.el, \"badge\") && (\n <slot name=\"badge\" slot=\"badge\"></slot>\n )}\n </ic-button>\n </Host>\n );\n }\n}\n"]}
|
@@ -0,0 +1,516 @@
|
|
1
|
+
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
2
|
+
|
3
|
+
/* Document
|
4
|
+
========================================================================== */
|
5
|
+
|
6
|
+
/**
|
7
|
+
* 1. Correct the line height in all browsers.
|
8
|
+
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
9
|
+
*/
|
10
|
+
|
11
|
+
html {
|
12
|
+
line-height: 1.15; /* 1 */
|
13
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
14
|
+
}
|
15
|
+
|
16
|
+
/* Sections
|
17
|
+
========================================================================== */
|
18
|
+
|
19
|
+
/**
|
20
|
+
* Remove the margin in all browsers.
|
21
|
+
*/
|
22
|
+
|
23
|
+
body {
|
24
|
+
margin: 0;
|
25
|
+
}
|
26
|
+
|
27
|
+
/**
|
28
|
+
* Render the `main` element consistently in IE.
|
29
|
+
*/
|
30
|
+
|
31
|
+
main {
|
32
|
+
display: block;
|
33
|
+
}
|
34
|
+
|
35
|
+
/**
|
36
|
+
* Correct the font size and margin on `h1` elements within `section` and
|
37
|
+
* `article` contexts in Chrome, Firefox, and Safari.
|
38
|
+
*/
|
39
|
+
|
40
|
+
h1 {
|
41
|
+
font-size: 2em;
|
42
|
+
margin: 0.67em 0;
|
43
|
+
}
|
44
|
+
|
45
|
+
/* Grouping content
|
46
|
+
========================================================================== */
|
47
|
+
|
48
|
+
/**
|
49
|
+
* 1. Add the correct box sizing in Firefox.
|
50
|
+
* 2. Show the overflow in Edge and IE.
|
51
|
+
*/
|
52
|
+
|
53
|
+
hr {
|
54
|
+
box-sizing: content-box; /* 1 */
|
55
|
+
height: 0; /* 1 */
|
56
|
+
overflow: visible; /* 2 */
|
57
|
+
}
|
58
|
+
|
59
|
+
/**
|
60
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
61
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
62
|
+
*/
|
63
|
+
|
64
|
+
pre {
|
65
|
+
font-family: monospace, monospace; /* 1 */
|
66
|
+
font-size: 1em; /* 2 */
|
67
|
+
}
|
68
|
+
|
69
|
+
/* Text-level semantics
|
70
|
+
========================================================================== */
|
71
|
+
|
72
|
+
/**
|
73
|
+
* Remove the gray background on active links in IE 10.
|
74
|
+
*/
|
75
|
+
|
76
|
+
a {
|
77
|
+
background-color: transparent;
|
78
|
+
}
|
79
|
+
|
80
|
+
/**
|
81
|
+
* 1. Remove the bottom border in Chrome 57-
|
82
|
+
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
83
|
+
*/
|
84
|
+
|
85
|
+
abbr[title] {
|
86
|
+
border-bottom: none; /* 1 */
|
87
|
+
text-decoration: underline; /* 2 */
|
88
|
+
-webkit-text-decoration: underline dotted;
|
89
|
+
text-decoration: underline dotted; /* 2 */
|
90
|
+
}
|
91
|
+
|
92
|
+
/**
|
93
|
+
* Add the correct font weight in Chrome, Edge, and Safari.
|
94
|
+
*/
|
95
|
+
|
96
|
+
b,
|
97
|
+
strong {
|
98
|
+
font-weight: bolder;
|
99
|
+
}
|
100
|
+
|
101
|
+
/**
|
102
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
103
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
104
|
+
*/
|
105
|
+
|
106
|
+
code,
|
107
|
+
kbd,
|
108
|
+
samp {
|
109
|
+
font-family: monospace, monospace; /* 1 */
|
110
|
+
font-size: 1em; /* 2 */
|
111
|
+
}
|
112
|
+
|
113
|
+
/**
|
114
|
+
* Add the correct font size in all browsers.
|
115
|
+
*/
|
116
|
+
|
117
|
+
small {
|
118
|
+
font-size: 80%;
|
119
|
+
}
|
120
|
+
|
121
|
+
/**
|
122
|
+
* Prevent `sub` and `sup` elements from affecting the line height in
|
123
|
+
* all browsers.
|
124
|
+
*/
|
125
|
+
|
126
|
+
sub,
|
127
|
+
sup {
|
128
|
+
font-size: 75%;
|
129
|
+
line-height: 0;
|
130
|
+
position: relative;
|
131
|
+
vertical-align: baseline;
|
132
|
+
}
|
133
|
+
|
134
|
+
sub {
|
135
|
+
bottom: -0.25em;
|
136
|
+
}
|
137
|
+
|
138
|
+
sup {
|
139
|
+
top: -0.5em;
|
140
|
+
}
|
141
|
+
|
142
|
+
/* Embedded content
|
143
|
+
========================================================================== */
|
144
|
+
|
145
|
+
/**
|
146
|
+
* Remove the border on images inside links in IE 10.
|
147
|
+
*/
|
148
|
+
|
149
|
+
img {
|
150
|
+
border-style: none;
|
151
|
+
}
|
152
|
+
|
153
|
+
/* Forms
|
154
|
+
========================================================================== */
|
155
|
+
|
156
|
+
/**
|
157
|
+
* 1. Change the font styles in all browsers.
|
158
|
+
* 2. Remove the margin in Firefox and Safari.
|
159
|
+
*/
|
160
|
+
|
161
|
+
button,
|
162
|
+
input,
|
163
|
+
optgroup,
|
164
|
+
select,
|
165
|
+
textarea {
|
166
|
+
font-family: inherit; /* 1 */
|
167
|
+
font-size: 100%; /* 1 */
|
168
|
+
line-height: 1.15; /* 1 */
|
169
|
+
margin: 0; /* 2 */
|
170
|
+
}
|
171
|
+
|
172
|
+
/**
|
173
|
+
* Show the overflow in IE.
|
174
|
+
* 1. Show the overflow in Edge.
|
175
|
+
*/
|
176
|
+
|
177
|
+
button,
|
178
|
+
input {
|
179
|
+
/* 1 */
|
180
|
+
overflow: visible;
|
181
|
+
}
|
182
|
+
|
183
|
+
/**
|
184
|
+
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
185
|
+
* 1. Remove the inheritance of text transform in Firefox.
|
186
|
+
*/
|
187
|
+
|
188
|
+
button,
|
189
|
+
select {
|
190
|
+
/* 1 */
|
191
|
+
text-transform: none;
|
192
|
+
}
|
193
|
+
|
194
|
+
/**
|
195
|
+
* Correct the inability to style clickable types in iOS and Safari.
|
196
|
+
*/
|
197
|
+
|
198
|
+
button,
|
199
|
+
[type="button"],
|
200
|
+
[type="reset"],
|
201
|
+
[type="submit"] {
|
202
|
+
-webkit-appearance: button;
|
203
|
+
}
|
204
|
+
|
205
|
+
/**
|
206
|
+
* Remove the inner border and padding in Firefox.
|
207
|
+
*/
|
208
|
+
|
209
|
+
button::-moz-focus-inner,
|
210
|
+
[type="button"]::-moz-focus-inner,
|
211
|
+
[type="reset"]::-moz-focus-inner,
|
212
|
+
[type="submit"]::-moz-focus-inner {
|
213
|
+
border-style: none;
|
214
|
+
padding: 0;
|
215
|
+
}
|
216
|
+
|
217
|
+
/**
|
218
|
+
* Restore the focus styles unset by the previous rule.
|
219
|
+
*/
|
220
|
+
|
221
|
+
button:-moz-focusring,
|
222
|
+
[type="button"]:-moz-focusring,
|
223
|
+
[type="reset"]:-moz-focusring,
|
224
|
+
[type="submit"]:-moz-focusring {
|
225
|
+
outline: 1px dotted ButtonText;
|
226
|
+
}
|
227
|
+
|
228
|
+
/**
|
229
|
+
* Correct the padding in Firefox.
|
230
|
+
*/
|
231
|
+
|
232
|
+
fieldset {
|
233
|
+
padding: 0.35em 0.75em 0.625em;
|
234
|
+
}
|
235
|
+
|
236
|
+
/**
|
237
|
+
* 1. Correct the text wrapping in Edge and IE.
|
238
|
+
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
239
|
+
* 3. Remove the padding so developers are not caught out when they zero out
|
240
|
+
* `fieldset` elements in all browsers.
|
241
|
+
*/
|
242
|
+
|
243
|
+
legend {
|
244
|
+
box-sizing: border-box; /* 1 */
|
245
|
+
color: inherit; /* 2 */
|
246
|
+
display: table; /* 1 */
|
247
|
+
max-width: 100%; /* 1 */
|
248
|
+
padding: 0; /* 3 */
|
249
|
+
white-space: normal; /* 1 */
|
250
|
+
}
|
251
|
+
|
252
|
+
/**
|
253
|
+
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
254
|
+
*/
|
255
|
+
|
256
|
+
progress {
|
257
|
+
vertical-align: baseline;
|
258
|
+
}
|
259
|
+
|
260
|
+
/**
|
261
|
+
* Remove the default vertical scrollbar in IE 10+.
|
262
|
+
*/
|
263
|
+
|
264
|
+
textarea {
|
265
|
+
overflow: auto;
|
266
|
+
}
|
267
|
+
|
268
|
+
/**
|
269
|
+
* 1. Add the correct box sizing in IE 10.
|
270
|
+
* 2. Remove the padding in IE 10.
|
271
|
+
*/
|
272
|
+
|
273
|
+
[type="checkbox"],
|
274
|
+
[type="radio"] {
|
275
|
+
box-sizing: border-box; /* 1 */
|
276
|
+
padding: 0; /* 2 */
|
277
|
+
}
|
278
|
+
|
279
|
+
/**
|
280
|
+
* Correct the cursor style of increment and decrement buttons in Chrome.
|
281
|
+
*/
|
282
|
+
|
283
|
+
[type="number"]::-webkit-inner-spin-button,
|
284
|
+
[type="number"]::-webkit-outer-spin-button {
|
285
|
+
height: auto;
|
286
|
+
}
|
287
|
+
|
288
|
+
/**
|
289
|
+
* 1. Correct the odd appearance in Chrome and Safari.
|
290
|
+
* 2. Correct the outline style in Safari.
|
291
|
+
*/
|
292
|
+
|
293
|
+
[type="search"] {
|
294
|
+
-webkit-appearance: textfield; /* 1 */
|
295
|
+
outline-offset: -2px; /* 2 */
|
296
|
+
}
|
297
|
+
|
298
|
+
/**
|
299
|
+
* Remove the inner padding in Chrome and Safari on macOS.
|
300
|
+
*/
|
301
|
+
|
302
|
+
[type="search"]::-webkit-search-decoration {
|
303
|
+
-webkit-appearance: none;
|
304
|
+
}
|
305
|
+
|
306
|
+
/**
|
307
|
+
* 1. Correct the inability to style clickable types in iOS and Safari.
|
308
|
+
* 2. Change font properties to `inherit` in Safari.
|
309
|
+
*/
|
310
|
+
|
311
|
+
::-webkit-file-upload-button {
|
312
|
+
-webkit-appearance: button; /* 1 */
|
313
|
+
font: inherit; /* 2 */
|
314
|
+
}
|
315
|
+
|
316
|
+
/* Interactive
|
317
|
+
========================================================================== */
|
318
|
+
|
319
|
+
/*
|
320
|
+
* Add the correct display in Edge, IE 10+, and Firefox.
|
321
|
+
*/
|
322
|
+
|
323
|
+
details {
|
324
|
+
display: block;
|
325
|
+
}
|
326
|
+
|
327
|
+
/*
|
328
|
+
* Add the correct display in all browsers.
|
329
|
+
*/
|
330
|
+
|
331
|
+
summary {
|
332
|
+
display: list-item;
|
333
|
+
}
|
334
|
+
|
335
|
+
/* Misc
|
336
|
+
========================================================================== */
|
337
|
+
|
338
|
+
/**
|
339
|
+
* Add the correct display in IE 10+.
|
340
|
+
*/
|
341
|
+
|
342
|
+
template {
|
343
|
+
display: none;
|
344
|
+
}
|
345
|
+
|
346
|
+
/**
|
347
|
+
* Add the correct display in IE 10.
|
348
|
+
*/
|
349
|
+
|
350
|
+
[hidden] {
|
351
|
+
display: none;
|
352
|
+
}
|
353
|
+
|
354
|
+
html,
|
355
|
+
body,
|
356
|
+
div,
|
357
|
+
span,
|
358
|
+
applet,
|
359
|
+
object,
|
360
|
+
iframe,
|
361
|
+
h1,
|
362
|
+
h2,
|
363
|
+
h3,
|
364
|
+
h4,
|
365
|
+
h5,
|
366
|
+
h6,
|
367
|
+
p,
|
368
|
+
blockquote,
|
369
|
+
pre,
|
370
|
+
a,
|
371
|
+
abbr,
|
372
|
+
acronym,
|
373
|
+
address,
|
374
|
+
big,
|
375
|
+
cite,
|
376
|
+
code,
|
377
|
+
del,
|
378
|
+
dfn,
|
379
|
+
em,
|
380
|
+
img,
|
381
|
+
ins,
|
382
|
+
kbd,
|
383
|
+
q,
|
384
|
+
s,
|
385
|
+
samp,
|
386
|
+
small,
|
387
|
+
strike,
|
388
|
+
strong,
|
389
|
+
sub,
|
390
|
+
sup,
|
391
|
+
tt,
|
392
|
+
var,
|
393
|
+
b,
|
394
|
+
u,
|
395
|
+
i,
|
396
|
+
center,
|
397
|
+
dl,
|
398
|
+
dt,
|
399
|
+
dd,
|
400
|
+
ol,
|
401
|
+
ul,
|
402
|
+
li,
|
403
|
+
fieldset,
|
404
|
+
form,
|
405
|
+
label,
|
406
|
+
legend,
|
407
|
+
table,
|
408
|
+
caption,
|
409
|
+
tbody,
|
410
|
+
tfoot,
|
411
|
+
thead,
|
412
|
+
tr,
|
413
|
+
th,
|
414
|
+
td,
|
415
|
+
article,
|
416
|
+
aside,
|
417
|
+
canvas,
|
418
|
+
details,
|
419
|
+
embed,
|
420
|
+
figure,
|
421
|
+
figcaption,
|
422
|
+
footer,
|
423
|
+
header,
|
424
|
+
hgroup,
|
425
|
+
menu,
|
426
|
+
nav,
|
427
|
+
output,
|
428
|
+
ruby,
|
429
|
+
section,
|
430
|
+
summary,
|
431
|
+
time,
|
432
|
+
mark,
|
433
|
+
audio,
|
434
|
+
video {
|
435
|
+
margin: 0;
|
436
|
+
padding: 0;
|
437
|
+
border: 0;
|
438
|
+
font-size: 100%;
|
439
|
+
font-style: inherit;
|
440
|
+
vertical-align: baseline;
|
441
|
+
}
|
442
|
+
|
443
|
+
|
444
|
+
/* PARENT HOST */
|
445
|
+
|
446
|
+
:root {
|
447
|
+
display: block;
|
448
|
+
}
|
449
|
+
|
450
|
+
:host {
|
451
|
+
display: flex;
|
452
|
+
flex-direction: row;
|
453
|
+
width: -moz-fit-content;
|
454
|
+
width: fit-content;
|
455
|
+
min-width: -moz-min-content;
|
456
|
+
min-width: min-content;
|
457
|
+
border: var(--ic-border-width) solid var(--ic-action-default);
|
458
|
+
border-radius: var(--ic-border-radius);
|
459
|
+
}
|
460
|
+
|
461
|
+
:host(.full-width) {
|
462
|
+
width: 100%;
|
463
|
+
max-width: 100%;
|
464
|
+
}
|
465
|
+
|
466
|
+
:host(.loading) {
|
467
|
+
min-width: -moz-max-content;
|
468
|
+
min-width: max-content;
|
469
|
+
}
|
470
|
+
|
471
|
+
:host(:focus) {
|
472
|
+
box-shadow: var(--ic-border-focus);
|
473
|
+
border-radius: var(--ic-border-radius);
|
474
|
+
transition: var(--ic-transition-duration-fast);
|
475
|
+
outline: none;
|
476
|
+
}
|
477
|
+
|
478
|
+
/* CHILDREN SLOTTED */
|
479
|
+
|
480
|
+
::slotted(ic-toggle-button) {
|
481
|
+
flex-grow: 1;
|
482
|
+
--toggle-button-border: none;
|
483
|
+
width: -moz-min-content;
|
484
|
+
width: min-content;
|
485
|
+
}
|
486
|
+
|
487
|
+
::slotted(ic-toggle-button:not(:last-of-type)) {
|
488
|
+
border-right: var(--ic-border-width) solid var(--ic-action-default);
|
489
|
+
}
|
490
|
+
|
491
|
+
/* DISABLED */
|
492
|
+
:host(.disabled) {
|
493
|
+
border: var(--ic-border-disabled);
|
494
|
+
pointer-events: none;
|
495
|
+
}
|
496
|
+
:host(.disabled) ::slotted(ic-toggle-button:not(:last-of-type)) {
|
497
|
+
border-right: var(--ic-border-disabled);
|
498
|
+
}
|
499
|
+
|
500
|
+
/* DARK */
|
501
|
+
:host(.dark) {
|
502
|
+
border: var(--ic-border-width) solid var(--ic-action-dark);
|
503
|
+
}
|
504
|
+
|
505
|
+
:host(.dark) ::slotted(ic-toggle-button:not(:last-of-type)) {
|
506
|
+
border-right: var(--ic-border-width) solid var(--ic-action-dark);
|
507
|
+
}
|
508
|
+
|
509
|
+
/* LIGHT */
|
510
|
+
:host(.light) ::slotted(ic-toggle-button:not(:last-of-type)) {
|
511
|
+
border-right: var(--ic-border-width) solid var(--ic-action-light);
|
512
|
+
}
|
513
|
+
|
514
|
+
:host(.light) {
|
515
|
+
border: var(--ic-border-width) solid var(--ic-action-light);
|
516
|
+
}
|