@ukic/web-components 3.6.0 → 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/ic-action-chip.cjs.entry.js +116 -0
- package/dist/cjs/ic-action-chip.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-back-to-top.cjs.entry.js +3 -3
- package/dist/cjs/ic-badge.cjs.entry.js +2 -2
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/ic-button_3.cjs.entry.js +41 -86
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card-vertical.cjs.entry.js +4 -4
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-checkbox.cjs.entry.js +4 -4
- package/dist/cjs/ic-chip.cjs.entry.js +11 -3
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-classification-banner.cjs.entry.js +2 -2
- package/dist/cjs/ic-data-list.cjs.entry.js +2 -2
- package/dist/cjs/ic-data-row.cjs.entry.js +2 -2
- package/dist/cjs/ic-dialog.cjs.entry.js +1 -1
- package/dist/cjs/ic-empty-state.cjs.entry.js +2 -2
- package/dist/cjs/ic-footer-link.cjs.entry.js +2 -2
- package/dist/cjs/ic-footer.cjs.entry.js +3 -3
- package/dist/cjs/ic-hero.cjs.entry.js +4 -4
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +5 -5
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +44 -52
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +5 -5
- 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-navigation-button.cjs.entry.js +2 -2
- package/dist/cjs/ic-navigation-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +3 -10
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +4 -4
- package/dist/cjs/ic-page-header.cjs.entry.js +6 -6
- package/dist/cjs/ic-pagination-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-pagination.cjs.entry.js +4 -4
- package/dist/cjs/ic-popover-menu.cjs.entry.js +4 -4
- package/dist/cjs/ic-radio-group.cjs.entry.js +4 -4
- package/dist/cjs/ic-radio-option.cjs.entry.js +4 -4
- package/dist/cjs/ic-search-bar.cjs.entry.js +9 -9
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
- package/dist/cjs/ic-select.cjs.entry.js +6 -6
- package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +4 -4
- package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-skeleton.cjs.entry.js +2 -2
- package/dist/cjs/ic-skip-link.cjs.entry.js +2 -2
- package/dist/cjs/ic-status-tag.cjs.entry.js +2 -2
- package/dist/cjs/ic-step.cjs.entry.js +13 -13
- package/dist/cjs/ic-stepper.cjs.entry.js +2 -2
- package/dist/cjs/ic-switch.cjs.entry.js +4 -4
- package/dist/cjs/ic-tab-context.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/ic-tab.cjs.entry.js +2 -2
- package/dist/cjs/ic-text-field.cjs.entry.js +6 -6
- package/dist/cjs/ic-theme.cjs.entry.js +1 -1
- package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +3 -3
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js +15 -4
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button.cjs.entry.js +13 -4
- package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +4 -4
- package/dist/cjs/ic-typography.cjs.entry.js +2 -2
- package/dist/cjs/index-d337cd8a.js +4 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/ic-action-chip/ic-action-chip.css +644 -0
- package/dist/collection/components/ic-action-chip/ic-action-chip.js +564 -0
- package/dist/collection/components/ic-action-chip/ic-action-chip.js.map +1 -0
- package/dist/collection/components/ic-action-chip/ic-action-chip.stories.js +386 -0
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +3 -3
- package/dist/collection/components/ic-badge/ic-badge.js +2 -2
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +2 -2
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +2 -2
- package/dist/collection/components/ic-button/ic-button.css +3 -11
- package/dist/collection/components/ic-button/ic-button.js +2 -2
- package/dist/collection/components/ic-card-vertical/ic-card-vertical.js +4 -4
- package/dist/collection/components/ic-checkbox/ic-checkbox.js +4 -4
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +2 -2
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.stories.js +5 -3
- package/dist/collection/components/ic-chip/ic-chip.js +12 -4
- package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +2 -2
- package/dist/collection/components/ic-data-list/ic-data-list.js +2 -2
- package/dist/collection/components/ic-data-row/ic-data-row.js +2 -2
- package/dist/collection/components/ic-dialog/ic-dialog.js +1 -1
- package/dist/collection/components/ic-dialog/ic-dialog.stories.js +31 -4
- package/dist/collection/components/ic-empty-state/ic-empty-state.js +2 -2
- package/dist/collection/components/ic-footer/ic-footer.js +3 -3
- package/dist/collection/components/ic-footer-link/ic-footer-link.js +2 -2
- package/dist/collection/components/ic-hero/ic-hero.js +4 -4
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +5 -5
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +3 -3
- package/dist/collection/components/ic-input-container/ic-input-container.js +2 -2
- package/dist/collection/components/ic-input-label/ic-input-label.js +2 -2
- package/dist/collection/components/ic-input-validation/ic-input-validation.js +3 -3
- package/dist/collection/components/ic-link/ic-link.js +1 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +5 -0
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +5 -5
- package/dist/collection/components/ic-menu/ic-menu.js +108 -47
- package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
- package/dist/collection/components/ic-menu-group/ic-menu-group.js +1 -1
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +2 -2
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +1 -1
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +3 -10
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +4 -4
- package/dist/collection/components/ic-page-header/ic-page-header.js +6 -6
- package/dist/collection/components/ic-pagination/ic-pagination.js +4 -4
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +1 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +4 -4
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +4 -4
- package/dist/collection/components/ic-radio-group/ic-radio-group.stories.js +5 -3
- package/dist/collection/components/ic-radio-option/ic-radio-option.js +4 -4
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +9 -9
- package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
- package/dist/collection/components/ic-section-container/ic-section-container.js +2 -2
- package/dist/collection/components/ic-select/ic-select.js +6 -6
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-select/ic-select_(multi).stories.js +7 -5
- package/dist/collection/components/ic-select/ic-select_(searchable).stories.js +7 -5
- package/dist/collection/components/ic-select/ic-select_(single).stories.js +7 -5
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +4 -4
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.stories.js +31 -4
- package/dist/collection/components/ic-skeleton/ic-skeleton.js +2 -2
- package/dist/collection/components/ic-skip-link/ic-skip-link.js +2 -2
- package/dist/collection/components/ic-status-tag/ic-status-tag.js +2 -2
- package/dist/collection/components/ic-step/ic-step.js +13 -13
- package/dist/collection/components/ic-stepper/ic-stepper.js +2 -2
- package/dist/collection/components/ic-switch/ic-switch.js +4 -4
- package/dist/collection/components/ic-tab/ic-tab.js +2 -2
- package/dist/collection/components/ic-tab-context/ic-tab-context.js +1 -1
- package/dist/collection/components/ic-tab-group/ic-tab-group.js +2 -2
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +2 -2
- package/dist/collection/components/ic-text-field/ic-text-field.js +6 -6
- package/dist/collection/components/ic-text-field/ic-text-field.stories.js +5 -10
- package/dist/collection/components/ic-theme/ic-theme.js +1 -1
- package/dist/collection/components/ic-toast/ic-toast.js +3 -3
- package/dist/collection/components/ic-toast-region/ic-toast-region.js +1 -1
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.css +17 -0
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +32 -3
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.js.map +1 -1
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.stories.js +7 -0
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.css +7 -0
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +36 -3
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js.map +1 -1
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.stories.js +17 -0
- package/dist/collection/components/ic-tooltip/ic-tooltip.css +2 -5
- package/dist/collection/components/ic-tooltip/ic-tooltip.js +32 -77
- package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +4 -4
- package/dist/collection/components/ic-typography/ic-typography.js +2 -2
- package/dist/components/ic-action-chip.d.ts +11 -0
- package/dist/components/ic-action-chip.js +160 -0
- package/dist/components/ic-action-chip.js.map +1 -0
- package/dist/components/ic-back-to-top.js +3 -3
- package/dist/components/ic-badge.js +2 -2
- package/dist/components/ic-breadcrumb-group.js +2 -2
- package/dist/components/ic-breadcrumb2.js +2 -2
- package/dist/components/ic-button2.js +3 -3
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card-vertical.js +4 -4
- package/dist/components/ic-checkbox-group.js +2 -2
- package/dist/components/ic-checkbox.js +4 -4
- package/dist/components/ic-chip.js +12 -4
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-classification-banner.js +2 -2
- package/dist/components/ic-data-list.js +2 -2
- package/dist/components/ic-data-row.js +2 -2
- package/dist/components/ic-dialog.js +1 -1
- package/dist/components/ic-empty-state.js +2 -2
- package/dist/components/ic-footer-link.js +2 -2
- package/dist/components/ic-footer.js +3 -3
- package/dist/components/ic-hero.js +4 -4
- package/dist/components/ic-horizontal-scroll2.js +5 -5
- package/dist/components/ic-input-component-container2.js +3 -3
- package/dist/components/ic-input-container2.js +2 -2
- package/dist/components/ic-input-label2.js +2 -2
- package/dist/components/ic-input-validation2.js +3 -3
- package/dist/components/ic-link2.js +1 -1
- package/dist/components/ic-loading-indicator2.js +6 -6
- package/dist/components/ic-loading-indicator2.js.map +1 -1
- package/dist/components/ic-menu-group.js +1 -1
- package/dist/components/ic-menu2.js +42 -47
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-button.js +2 -2
- package/dist/components/ic-navigation-group.js +1 -1
- package/dist/components/ic-navigation-item.js +3 -10
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-navigation-menu2.js +4 -4
- package/dist/components/ic-page-header.js +6 -6
- package/dist/components/ic-pagination-item2.js +1 -1
- package/dist/components/ic-pagination.js +4 -4
- package/dist/components/ic-popover-menu.js +4 -4
- package/dist/components/ic-radio-group.js +4 -4
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +4 -4
- package/dist/components/ic-search-bar.js +9 -9
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-section-container2.js +2 -2
- package/dist/components/ic-select.js +6 -6
- package/dist/components/ic-select.js.map +1 -1
- package/dist/components/ic-side-navigation.js +4 -4
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-skeleton.js +2 -2
- package/dist/components/ic-skip-link.js +2 -2
- package/dist/components/ic-status-tag.js +2 -2
- package/dist/components/ic-step.js +13 -13
- package/dist/components/ic-stepper.js +2 -2
- package/dist/components/ic-switch.js +4 -4
- package/dist/components/ic-tab-context.js +1 -1
- package/dist/components/ic-tab-group.js +2 -2
- package/dist/components/ic-tab-panel.js +2 -2
- package/dist/components/ic-tab-panel.js.map +1 -1
- package/dist/components/ic-tab.js +2 -2
- package/dist/components/ic-text-field.js +6 -6
- package/dist/components/ic-text-field.js.map +1 -1
- package/dist/components/ic-theme.js +1 -1
- package/dist/components/ic-toast-region.js +1 -1
- package/dist/components/ic-toast.js +3 -3
- package/dist/components/ic-toggle-button-group.js +17 -4
- package/dist/components/ic-toggle-button-group.js.map +1 -1
- package/dist/components/ic-toggle-button.js +14 -4
- package/dist/components/ic-toggle-button.js.map +1 -1
- package/dist/components/ic-tooltip2.js +33 -78
- package/dist/components/ic-tooltip2.js.map +1 -1
- package/dist/components/ic-top-navigation.js +4 -4
- package/dist/components/ic-typography2.js +2 -2
- package/dist/core/core.css +227 -7
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-5fb58cc8.entry.js → p-03a2fa83.entry.js} +2 -2
- package/dist/core/{p-ba89fa16.entry.js → p-04c36b23.entry.js} +2 -2
- package/dist/core/{p-7b9e10a0.entry.js → p-0a8140ef.entry.js} +2 -2
- package/dist/core/p-0a8140ef.entry.js.map +1 -0
- package/dist/core/{p-f4ee5fbb.entry.js → p-0c095f5b.entry.js} +2 -2
- package/dist/core/{p-50d13439.entry.js → p-0eaa2904.entry.js} +2 -2
- package/dist/core/p-1829c1a9.entry.js +2 -0
- package/dist/core/p-1829c1a9.entry.js.map +1 -0
- package/dist/core/{p-b730963a.entry.js → p-19680887.entry.js} +2 -2
- package/dist/core/p-19680887.entry.js.map +1 -0
- package/dist/core/{p-4b6818d9.entry.js → p-1cc402b8.entry.js} +2 -2
- package/dist/core/p-1f913ba3.entry.js +2 -0
- package/dist/core/{p-627f7172.entry.js.map → p-1f913ba3.entry.js.map} +1 -1
- package/dist/core/{p-0549305b.entry.js → p-2394346c.entry.js} +2 -2
- package/dist/core/p-280e7874.entry.js +2 -0
- package/dist/core/p-280e7874.entry.js.map +1 -0
- package/dist/core/{p-77750efc.entry.js → p-2c2c752d.entry.js} +2 -2
- package/dist/core/{p-9ed5f11d.entry.js → p-32c030b1.entry.js} +2 -2
- package/dist/core/{p-afde0edc.entry.js → p-3aa7f724.entry.js} +2 -2
- package/dist/core/{p-b83cca09.entry.js → p-3eef02dd.entry.js} +2 -2
- package/dist/core/p-3f9ff1cb.entry.js +2 -0
- package/dist/core/p-3f9ff1cb.entry.js.map +1 -0
- package/dist/core/p-4345907a.entry.js +2 -0
- package/dist/core/{p-ec1657fc.entry.js.map → p-4345907a.entry.js.map} +1 -1
- package/dist/core/p-46a0a40b.entry.js +2 -0
- package/dist/core/p-46a0a40b.entry.js.map +1 -0
- package/dist/core/{p-3448c713.entry.js → p-48db785a.entry.js} +2 -2
- package/dist/core/{p-29468171.entry.js → p-4c336217.entry.js} +2 -2
- package/dist/core/{p-98869fe7.entry.js → p-51bff253.entry.js} +2 -2
- package/dist/core/p-57644340.entry.js +2 -0
- package/dist/core/p-57644340.entry.js.map +1 -0
- package/dist/core/{p-2ec0d11c.entry.js → p-60ff225d.entry.js} +2 -2
- package/dist/core/{p-0179fbd3.entry.js → p-682a9365.entry.js} +2 -2
- package/dist/core/{p-43b98687.entry.js → p-68f55187.entry.js} +2 -2
- package/dist/core/{p-7cada631.entry.js → p-69aad690.entry.js} +2 -2
- package/dist/core/{p-08567369.entry.js → p-750d5536.entry.js} +2 -2
- package/dist/core/{p-97f67617.entry.js → p-7ac5a271.entry.js} +2 -2
- package/dist/core/p-7cd6487e.entry.js +2 -0
- package/dist/core/{p-ff47772c.entry.js.map → p-7cd6487e.entry.js.map} +1 -1
- package/dist/core/{p-056be0df.entry.js → p-8557fa1e.entry.js} +2 -2
- package/dist/core/{p-4b8bfb59.entry.js → p-874f7e8d.entry.js} +2 -2
- package/dist/core/{p-421b5f2d.entry.js → p-88b516d6.entry.js} +2 -2
- package/dist/core/{p-939adcae.entry.js → p-903f9c7f.entry.js} +2 -2
- package/dist/core/{p-bb21268f.entry.js → p-918af357.entry.js} +2 -2
- package/dist/core/{p-a2ae5d9e.entry.js → p-998dfae0.entry.js} +2 -2
- package/dist/core/{p-8a5b0fb0.entry.js → p-9d78ef89.entry.js} +2 -2
- package/dist/core/{p-ae2ea264.entry.js → p-9e177686.entry.js} +2 -2
- package/dist/core/{p-0f86ea09.entry.js → p-9f792a31.entry.js} +2 -2
- package/dist/core/{p-70abcb2b.js → p-9f8acb5f.js} +2 -2
- package/dist/core/{p-4935b899.entry.js → p-a082d978.entry.js} +2 -2
- package/dist/core/{p-4935b899.entry.js.map → p-a082d978.entry.js.map} +1 -1
- package/dist/core/{p-b1b27b7e.entry.js → p-b3ac38c5.entry.js} +2 -2
- package/dist/core/{p-e29ba8bd.entry.js → p-b3d3ee50.entry.js} +2 -2
- package/dist/core/p-b3d3ee50.entry.js.map +1 -0
- package/dist/core/p-b5c72b06.entry.js +2 -0
- package/dist/core/p-b5c72b06.entry.js.map +1 -0
- package/dist/core/p-b94d404b.entry.js +2 -0
- package/dist/core/{p-773ded36.entry.js.map → p-b94d404b.entry.js.map} +1 -1
- package/dist/core/{p-91f6884a.entry.js → p-bf5653c0.entry.js} +2 -2
- package/dist/core/{p-fb6e6ac4.entry.js → p-c63ae7d0.entry.js} +2 -2
- package/dist/core/{p-a591ef38.entry.js → p-c9c6d63b.entry.js} +2 -2
- package/dist/core/{p-ce916f35.entry.js → p-d1b7b839.entry.js} +2 -2
- package/dist/core/{p-4301e11e.entry.js → p-d2f1beb6.entry.js} +2 -2
- package/dist/core/{p-d281c3cf.entry.js → p-d47acbd4.entry.js} +2 -2
- package/dist/core/{p-fc5661ac.entry.js → p-de43d375.entry.js} +2 -2
- package/dist/core/p-e0485462.entry.js +2 -0
- package/dist/core/p-e9b6b600.entry.js +2 -0
- package/dist/core/{p-6dd73165.entry.js → p-ee6caf27.entry.js} +2 -2
- package/dist/core/{p-06e80441.entry.js → p-ef357622.entry.js} +2 -2
- package/dist/core/{p-9e051db4.entry.js → p-f34eee68.entry.js} +2 -2
- package/dist/core/{p-948086f4.entry.js → p-f46fd0e7.entry.js} +2 -2
- package/dist/core/{p-f9491692.entry.js → p-f643ae2b.entry.js} +2 -2
- package/dist/core/p-fbaf0301.entry.js +2 -0
- package/dist/core/{p-3194e46c.entry.js.map → p-fbaf0301.entry.js.map} +1 -1
- package/dist/core/{p-9d5e4b62.entry.js → p-fc933fc3.entry.js} +2 -2
- package/dist/core/p-fd421f11.entry.js +2 -0
- package/dist/core/{p-554c555f.entry.js.map → p-fd421f11.entry.js.map} +1 -1
- package/dist/core/{p-cd8dab55.entry.js → p-fee854f5.entry.js} +2 -2
- package/dist/esm/core.js +1 -1
- package/dist/esm/{helpers-f5ff3b42.js → helpers-2e75abf4.js} +2 -2
- package/dist/esm/{helpers-f5ff3b42.js.map → helpers-2e75abf4.js.map} +1 -1
- package/dist/esm/ic-accordion-group.entry.js +1 -1
- package/dist/esm/ic-accordion.entry.js +1 -1
- package/dist/esm/ic-action-chip.entry.js +112 -0
- package/dist/esm/ic-action-chip.entry.js.map +1 -0
- package/dist/esm/ic-alert.entry.js +1 -1
- package/dist/esm/ic-back-to-top.entry.js +4 -4
- package/dist/esm/ic-badge.entry.js +3 -3
- package/dist/esm/ic-breadcrumb-group.entry.js +3 -3
- package/dist/esm/ic-breadcrumb.entry.js +3 -3
- package/dist/esm/ic-button_3.entry.js +42 -87
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card-vertical.entry.js +5 -5
- package/dist/esm/ic-checkbox-group.entry.js +3 -3
- package/dist/esm/ic-checkbox.entry.js +5 -5
- package/dist/esm/ic-chip.entry.js +12 -4
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-classification-banner.entry.js +2 -2
- package/dist/esm/ic-data-list.entry.js +2 -2
- package/dist/esm/ic-data-row.entry.js +3 -3
- package/dist/esm/ic-dialog.entry.js +2 -2
- package/dist/esm/ic-divider.entry.js +1 -1
- package/dist/esm/ic-empty-state.entry.js +3 -3
- package/dist/esm/ic-footer-link-group.entry.js +1 -1
- package/dist/esm/ic-footer-link.entry.js +3 -3
- package/dist/esm/ic-footer.entry.js +4 -4
- package/dist/esm/ic-hero.entry.js +5 -5
- package/dist/esm/ic-horizontal-scroll.entry.js +6 -6
- package/dist/esm/ic-input-component-container_3.entry.js +45 -53
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +6 -6
- package/dist/esm/ic-link.entry.js +2 -2
- package/dist/esm/ic-menu-group.entry.js +2 -2
- package/dist/esm/ic-menu-item.entry.js +1 -1
- package/dist/esm/ic-navigation-button.entry.js +3 -3
- package/dist/esm/ic-navigation-group.entry.js +2 -2
- package/dist/esm/ic-navigation-item.entry.js +4 -11
- package/dist/esm/ic-navigation-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +5 -5
- package/dist/esm/ic-page-header.entry.js +7 -7
- package/dist/esm/ic-pagination-item.entry.js +2 -2
- package/dist/esm/ic-pagination.entry.js +5 -5
- package/dist/esm/ic-popover-menu.entry.js +5 -5
- package/dist/esm/ic-radio-group.entry.js +5 -5
- package/dist/esm/ic-radio-option.entry.js +5 -5
- package/dist/esm/ic-search-bar.entry.js +10 -10
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-section-container.entry.js +2 -2
- package/dist/esm/ic-select.entry.js +7 -7
- package/dist/esm/ic-select.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +5 -5
- package/dist/esm/ic-side-navigation.entry.js.map +1 -1
- package/dist/esm/ic-skeleton.entry.js +2 -2
- package/dist/esm/ic-skip-link.entry.js +2 -2
- package/dist/esm/ic-status-tag.entry.js +3 -3
- package/dist/esm/ic-step.entry.js +14 -14
- package/dist/esm/ic-stepper.entry.js +3 -3
- package/dist/esm/ic-switch.entry.js +5 -5
- package/dist/esm/ic-tab-context.entry.js +1 -1
- package/dist/esm/ic-tab-group.entry.js +3 -3
- package/dist/esm/ic-tab-panel.entry.js +2 -2
- package/dist/esm/ic-tab.entry.js +3 -3
- package/dist/esm/ic-text-field.entry.js +7 -7
- package/dist/esm/ic-theme.entry.js +2 -2
- package/dist/esm/ic-toast-region.entry.js +1 -1
- package/dist/esm/ic-toast.entry.js +4 -4
- package/dist/esm/ic-toggle-button-group.entry.js +16 -5
- package/dist/esm/ic-toggle-button-group.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button.entry.js +14 -5
- package/dist/esm/ic-toggle-button.entry.js.map +1 -1
- package/dist/esm/ic-top-navigation.entry.js +5 -5
- package/dist/esm/ic-typography.entry.js +3 -3
- package/dist/esm/index-a7a720e7.js +4 -0
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/ic-action-chip/ic-action-chip.d.ts +100 -0
- package/dist/types/components/ic-chip/ic-chip.d.ts +2 -0
- package/dist/types/components/ic-menu/ic-menu.d.ts +12 -4
- package/dist/types/components/ic-toggle-button/ic-toggle-button.d.ts +4 -0
- package/dist/types/components/ic-toggle-button-group/ic-toggle-button-group.d.ts +5 -0
- package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +1 -4
- package/dist/types/components.d.ts +198 -2
- package/hydrate/index.js +424 -311
- package/hydrate/index.mjs +424 -311
- package/package.json +2 -2
- package/vscode-data.json +164 -0
- package/dist/core/p-06b0d0f6.entry.js +0 -2
- package/dist/core/p-3194e46c.entry.js +0 -2
- package/dist/core/p-4cd83bfe.entry.js +0 -2
- package/dist/core/p-4cd83bfe.entry.js.map +0 -1
- package/dist/core/p-554c555f.entry.js +0 -2
- package/dist/core/p-57309502.entry.js +0 -2
- package/dist/core/p-57309502.entry.js.map +0 -1
- package/dist/core/p-627f7172.entry.js +0 -2
- package/dist/core/p-773ded36.entry.js +0 -2
- package/dist/core/p-7b9e10a0.entry.js.map +0 -1
- package/dist/core/p-9caa9e7b.entry.js +0 -2
- package/dist/core/p-9caa9e7b.entry.js.map +0 -1
- package/dist/core/p-b730963a.entry.js.map +0 -1
- package/dist/core/p-c100724d.entry.js +0 -2
- package/dist/core/p-cd42b7c0.entry.js +0 -2
- package/dist/core/p-cd42b7c0.entry.js.map +0 -1
- package/dist/core/p-d7c8f10d.entry.js +0 -2
- package/dist/core/p-d7c8f10d.entry.js.map +0 -1
- package/dist/core/p-e29ba8bd.entry.js.map +0 -1
- package/dist/core/p-ec1657fc.entry.js +0 -2
- package/dist/core/p-ff47772c.entry.js +0 -2
- /package/dist/core/{p-5fb58cc8.entry.js.map → p-03a2fa83.entry.js.map} +0 -0
- /package/dist/core/{p-ba89fa16.entry.js.map → p-04c36b23.entry.js.map} +0 -0
- /package/dist/core/{p-f4ee5fbb.entry.js.map → p-0c095f5b.entry.js.map} +0 -0
- /package/dist/core/{p-50d13439.entry.js.map → p-0eaa2904.entry.js.map} +0 -0
- /package/dist/core/{p-4b6818d9.entry.js.map → p-1cc402b8.entry.js.map} +0 -0
- /package/dist/core/{p-0549305b.entry.js.map → p-2394346c.entry.js.map} +0 -0
- /package/dist/core/{p-77750efc.entry.js.map → p-2c2c752d.entry.js.map} +0 -0
- /package/dist/core/{p-9ed5f11d.entry.js.map → p-32c030b1.entry.js.map} +0 -0
- /package/dist/core/{p-afde0edc.entry.js.map → p-3aa7f724.entry.js.map} +0 -0
- /package/dist/core/{p-b83cca09.entry.js.map → p-3eef02dd.entry.js.map} +0 -0
- /package/dist/core/{p-3448c713.entry.js.map → p-48db785a.entry.js.map} +0 -0
- /package/dist/core/{p-29468171.entry.js.map → p-4c336217.entry.js.map} +0 -0
- /package/dist/core/{p-98869fe7.entry.js.map → p-51bff253.entry.js.map} +0 -0
- /package/dist/core/{p-2ec0d11c.entry.js.map → p-60ff225d.entry.js.map} +0 -0
- /package/dist/core/{p-0179fbd3.entry.js.map → p-682a9365.entry.js.map} +0 -0
- /package/dist/core/{p-43b98687.entry.js.map → p-68f55187.entry.js.map} +0 -0
- /package/dist/core/{p-7cada631.entry.js.map → p-69aad690.entry.js.map} +0 -0
- /package/dist/core/{p-08567369.entry.js.map → p-750d5536.entry.js.map} +0 -0
- /package/dist/core/{p-97f67617.entry.js.map → p-7ac5a271.entry.js.map} +0 -0
- /package/dist/core/{p-056be0df.entry.js.map → p-8557fa1e.entry.js.map} +0 -0
- /package/dist/core/{p-4b8bfb59.entry.js.map → p-874f7e8d.entry.js.map} +0 -0
- /package/dist/core/{p-421b5f2d.entry.js.map → p-88b516d6.entry.js.map} +0 -0
- /package/dist/core/{p-939adcae.entry.js.map → p-903f9c7f.entry.js.map} +0 -0
- /package/dist/core/{p-bb21268f.entry.js.map → p-918af357.entry.js.map} +0 -0
- /package/dist/core/{p-a2ae5d9e.entry.js.map → p-998dfae0.entry.js.map} +0 -0
- /package/dist/core/{p-8a5b0fb0.entry.js.map → p-9d78ef89.entry.js.map} +0 -0
- /package/dist/core/{p-ae2ea264.entry.js.map → p-9e177686.entry.js.map} +0 -0
- /package/dist/core/{p-0f86ea09.entry.js.map → p-9f792a31.entry.js.map} +0 -0
- /package/dist/core/{p-70abcb2b.js.map → p-9f8acb5f.js.map} +0 -0
- /package/dist/core/{p-b1b27b7e.entry.js.map → p-b3ac38c5.entry.js.map} +0 -0
- /package/dist/core/{p-91f6884a.entry.js.map → p-bf5653c0.entry.js.map} +0 -0
- /package/dist/core/{p-fb6e6ac4.entry.js.map → p-c63ae7d0.entry.js.map} +0 -0
- /package/dist/core/{p-a591ef38.entry.js.map → p-c9c6d63b.entry.js.map} +0 -0
- /package/dist/core/{p-ce916f35.entry.js.map → p-d1b7b839.entry.js.map} +0 -0
- /package/dist/core/{p-4301e11e.entry.js.map → p-d2f1beb6.entry.js.map} +0 -0
- /package/dist/core/{p-d281c3cf.entry.js.map → p-d47acbd4.entry.js.map} +0 -0
- /package/dist/core/{p-fc5661ac.entry.js.map → p-de43d375.entry.js.map} +0 -0
- /package/dist/core/{p-c100724d.entry.js.map → p-e0485462.entry.js.map} +0 -0
- /package/dist/core/{p-06b0d0f6.entry.js.map → p-e9b6b600.entry.js.map} +0 -0
- /package/dist/core/{p-6dd73165.entry.js.map → p-ee6caf27.entry.js.map} +0 -0
- /package/dist/core/{p-06e80441.entry.js.map → p-ef357622.entry.js.map} +0 -0
- /package/dist/core/{p-9e051db4.entry.js.map → p-f34eee68.entry.js.map} +0 -0
- /package/dist/core/{p-948086f4.entry.js.map → p-f46fd0e7.entry.js.map} +0 -0
- /package/dist/core/{p-f9491692.entry.js.map → p-f643ae2b.entry.js.map} +0 -0
- /package/dist/core/{p-9d5e4b62.entry.js.map → p-fc933fc3.entry.js.map} +0 -0
- /package/dist/core/{p-cd8dab55.entry.js.map → p-fee854f5.entry.js.map} +0 -0
@@ -0,0 +1,386 @@
|
|
1
|
+
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
|
2
|
+
import { html } from "lit-html";
|
3
|
+
|
4
|
+
export default {
|
5
|
+
title: "Web Components/Action chip",
|
6
|
+
component: "ic-action-chip",
|
7
|
+
};
|
8
|
+
|
9
|
+
export const Sizes = {
|
10
|
+
render: () => html`<ic-action-chip
|
11
|
+
label="Small"
|
12
|
+
size="small"
|
13
|
+
></ic-action-chip>
|
14
|
+
<ic-action-chip label="Medium"></ic-action-chip>
|
15
|
+
<ic-action-chip label="Large" size="large"></ic-action-chip>`,
|
16
|
+
|
17
|
+
name: "Sizes",
|
18
|
+
};
|
19
|
+
|
20
|
+
export const Outlined = {
|
21
|
+
render: () =>
|
22
|
+
html`<ic-action-chip label="Outlined" variant="outlined"></ic-action-chip
|
23
|
+
><ic-action-chip
|
24
|
+
label="Non transparent"
|
25
|
+
variant="outlined"
|
26
|
+
transparent-background="false"
|
27
|
+
></ic-action-chip>`,
|
28
|
+
|
29
|
+
name: "Outlined",
|
30
|
+
};
|
31
|
+
|
32
|
+
export const Disabled = {
|
33
|
+
render: () => html`<ic-action-chip
|
34
|
+
label="Default"
|
35
|
+
disabled="true"
|
36
|
+
></ic-action-chip>
|
37
|
+
<ic-action-chip label="Outlined" variant="outlined" disabled="true">
|
38
|
+
</ic-action-chip>
|
39
|
+
<ic-action-chip
|
40
|
+
label="Non transparent"
|
41
|
+
variant="outlined"
|
42
|
+
transparent-background="false"
|
43
|
+
disabled="true"
|
44
|
+
>
|
45
|
+
</ic-action-chip>`,
|
46
|
+
|
47
|
+
name: "Disabled",
|
48
|
+
};
|
49
|
+
|
50
|
+
export const Icon = {
|
51
|
+
render: () => html` <ic-action-chip label="With icon">
|
52
|
+
<svg
|
53
|
+
slot="icon"
|
54
|
+
width="20"
|
55
|
+
height="20"
|
56
|
+
viewBox="0 0 20 20"
|
57
|
+
fill="currentColor"
|
58
|
+
xmlns="http://www.w3.org/2000/svg"
|
59
|
+
aria-label="account"
|
60
|
+
>
|
61
|
+
<path
|
62
|
+
d="M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM10 3C11.66 3 13 4.34 13 6C13 7.66 11.66 9 10 9C8.34 9 7 7.66 7 6C7 4.34 8.34 3 10 3ZM10 17.2C7.5 17.2 5.29 15.92 4 13.98C4.03 11.99 8 10.9 10 10.9C11.99 10.9 15.97 11.99 16 13.98C14.71 15.92 12.5 17.2 10 17.2Z"
|
63
|
+
/>
|
64
|
+
</svg>
|
65
|
+
</ic-action-chip>`,
|
66
|
+
|
67
|
+
name: "Icon",
|
68
|
+
};
|
69
|
+
|
70
|
+
export const Badge = {
|
71
|
+
render: () => html` <ic-action-chip label="With badge" variant="outlined"
|
72
|
+
><ic-badge
|
73
|
+
label="1"
|
74
|
+
slot="badge"
|
75
|
+
position="near"
|
76
|
+
variant="success"
|
77
|
+
></ic-badge>
|
78
|
+
</ic-action-chip>`,
|
79
|
+
|
80
|
+
name: "Badge",
|
81
|
+
};
|
82
|
+
|
83
|
+
export const Link = {
|
84
|
+
render: () =>
|
85
|
+
html`<ic-action-chip
|
86
|
+
label="Link"
|
87
|
+
href="#"
|
88
|
+
target="_blank"
|
89
|
+
></ic-action-chip>`,
|
90
|
+
|
91
|
+
name: "Link",
|
92
|
+
};
|
93
|
+
|
94
|
+
export const ThemeMonochrome = {
|
95
|
+
render: () => html`<div style="display: flex; flex-direction: column;">
|
96
|
+
<div style="background-color: white; padding: 8px">
|
97
|
+
<ic-theme theme="light">
|
98
|
+
<ic-typography variant="body">Light</ic-typography>
|
99
|
+
<ic-action-chip label="Default">
|
100
|
+
<svg
|
101
|
+
slot="icon"
|
102
|
+
width="20"
|
103
|
+
height="20"
|
104
|
+
viewBox="0 0 20 20"
|
105
|
+
fill="currentColor"
|
106
|
+
xmlns="http://www.w3.org/2000/svg"
|
107
|
+
aria-label="account"
|
108
|
+
>
|
109
|
+
<path
|
110
|
+
d="M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM10 3C11.66 3 13 4.34 13 6C13 7.66 11.66 9 10 9C8.34 9 7 7.66 7 6C7 4.34 8.34 3 10 3ZM10 17.2C7.5 17.2 5.29 15.92 4 13.98C4.03 11.99 8 10.9 10 10.9C11.99 10.9 15.97 11.99 16 13.98C14.71 15.92 12.5 17.2 10 17.2Z"
|
111
|
+
/>
|
112
|
+
</svg>
|
113
|
+
</ic-action-chip>
|
114
|
+
<ic-action-chip label="Outlined" variant="outlined">
|
115
|
+
<svg
|
116
|
+
slot="icon"
|
117
|
+
width="20"
|
118
|
+
height="20"
|
119
|
+
viewBox="0 0 20 20"
|
120
|
+
fill="currentColor"
|
121
|
+
xmlns="http://www.w3.org/2000/svg"
|
122
|
+
aria-label="account"
|
123
|
+
>
|
124
|
+
<path
|
125
|
+
d="M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM10 3C11.66 3 13 4.34 13 6C13 7.66 11.66 9 10 9C8.34 9 7 7.66 7 6C7 4.34 8.34 3 10 3ZM10 17.2C7.5 17.2 5.29 15.92 4 13.98C4.03 11.99 8 10.9 10 10.9C11.99 10.9 15.97 11.99 16 13.98C14.71 15.92 12.5 17.2 10 17.2Z"
|
126
|
+
/>
|
127
|
+
</svg>
|
128
|
+
</ic-action-chip>
|
129
|
+
<ic-action-chip
|
130
|
+
label="Non transparent"
|
131
|
+
variant="outlined"
|
132
|
+
transparent-background="false"
|
133
|
+
>
|
134
|
+
<svg
|
135
|
+
slot="icon"
|
136
|
+
width="20"
|
137
|
+
height="20"
|
138
|
+
viewBox="0 0 20 20"
|
139
|
+
fill="currentColor"
|
140
|
+
xmlns="http://www.w3.org/2000/svg"
|
141
|
+
aria-label="account"
|
142
|
+
>
|
143
|
+
<path
|
144
|
+
d="M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM10 3C11.66 3 13 4.34 13 6C13 7.66 11.66 9 10 9C8.34 9 7 7.66 7 6C7 4.34 8.34 3 10 3ZM10 17.2C7.5 17.2 5.29 15.92 4 13.98C4.03 11.99 8 10.9 10 10.9C11.99 10.9 15.97 11.99 16 13.98C14.71 15.92 12.5 17.2 10 17.2Z"
|
145
|
+
/>
|
146
|
+
</svg>
|
147
|
+
</ic-action-chip>
|
148
|
+
<ic-action-chip label="Monochrome" monochrome="true">
|
149
|
+
<svg
|
150
|
+
slot="icon"
|
151
|
+
width="20"
|
152
|
+
height="20"
|
153
|
+
viewBox="0 0 20 20"
|
154
|
+
fill="currentColor"
|
155
|
+
xmlns="http://www.w3.org/2000/svg"
|
156
|
+
aria-label="account"
|
157
|
+
>
|
158
|
+
<path
|
159
|
+
d="M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM10 3C11.66 3 13 4.34 13 6C13 7.66 11.66 9 10 9C8.34 9 7 7.66 7 6C7 4.34 8.34 3 10 3ZM10 17.2C7.5 17.2 5.29 15.92 4 13.98C4.03 11.99 8 10.9 10 10.9C11.99 10.9 15.97 11.99 16 13.98C14.71 15.92 12.5 17.2 10 17.2Z"
|
160
|
+
/>
|
161
|
+
</svg>
|
162
|
+
</ic-action-chip>
|
163
|
+
<ic-action-chip
|
164
|
+
label="Outlined monochrome"
|
165
|
+
variant="outlined"
|
166
|
+
monochrome="true"
|
167
|
+
>
|
168
|
+
<svg
|
169
|
+
slot="icon"
|
170
|
+
width="20"
|
171
|
+
height="20"
|
172
|
+
viewBox="0 0 20 20"
|
173
|
+
fill="currentColor"
|
174
|
+
xmlns="http://www.w3.org/2000/svg"
|
175
|
+
aria-label="account"
|
176
|
+
>
|
177
|
+
<path
|
178
|
+
d="M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM10 3C11.66 3 13 4.34 13 6C13 7.66 11.66 9 10 9C8.34 9 7 7.66 7 6C7 4.34 8.34 3 10 3ZM10 17.2C7.5 17.2 5.29 15.92 4 13.98C4.03 11.99 8 10.9 10 10.9C11.99 10.9 15.97 11.99 16 13.98C14.71 15.92 12.5 17.2 10 17.2Z"
|
179
|
+
/>
|
180
|
+
</svg>
|
181
|
+
</ic-action-chip>
|
182
|
+
<ic-action-chip
|
183
|
+
label="Non transparent monochrome"
|
184
|
+
variant="outlined"
|
185
|
+
transparent-background="false"
|
186
|
+
monochrome="true"
|
187
|
+
>
|
188
|
+
<svg
|
189
|
+
slot="icon"
|
190
|
+
width="20"
|
191
|
+
height="20"
|
192
|
+
viewBox="0 0 20 20"
|
193
|
+
fill="currentColor"
|
194
|
+
xmlns="http://www.w3.org/2000/svg"
|
195
|
+
aria-label="account"
|
196
|
+
>
|
197
|
+
<path
|
198
|
+
d="M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM10 3C11.66 3 13 4.34 13 6C13 7.66 11.66 9 10 9C8.34 9 7 7.66 7 6C7 4.34 8.34 3 10 3ZM10 17.2C7.5 17.2 5.29 15.92 4 13.98C4.03 11.99 8 10.9 10 10.9C11.99 10.9 15.97 11.99 16 13.98C14.71 15.92 12.5 17.2 10 17.2Z"
|
199
|
+
/>
|
200
|
+
</svg>
|
201
|
+
</ic-action-chip>
|
202
|
+
</ic-theme>
|
203
|
+
</div>
|
204
|
+
<div style="background-color: black; padding: 8px">
|
205
|
+
<ic-theme theme="dark">
|
206
|
+
<ic-typography variant="body">Dark</ic-typography>
|
207
|
+
<ic-action-chip label="Default">
|
208
|
+
<svg
|
209
|
+
slot="icon"
|
210
|
+
width="20"
|
211
|
+
height="20"
|
212
|
+
viewBox="0 0 20 20"
|
213
|
+
fill="currentColor"
|
214
|
+
xmlns="http://www.w3.org/2000/svg"
|
215
|
+
aria-label="account"
|
216
|
+
>
|
217
|
+
<path
|
218
|
+
d="M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM10 3C11.66 3 13 4.34 13 6C13 7.66 11.66 9 10 9C8.34 9 7 7.66 7 6C7 4.34 8.34 3 10 3ZM10 17.2C7.5 17.2 5.29 15.92 4 13.98C4.03 11.99 8 10.9 10 10.9C11.99 10.9 15.97 11.99 16 13.98C14.71 15.92 12.5 17.2 10 17.2Z"
|
219
|
+
/>
|
220
|
+
</svg>
|
221
|
+
</ic-action-chip>
|
222
|
+
<ic-action-chip label="Outlined" variant="outlined">
|
223
|
+
<svg
|
224
|
+
slot="icon"
|
225
|
+
width="20"
|
226
|
+
height="20"
|
227
|
+
viewBox="0 0 20 20"
|
228
|
+
fill="currentColor"
|
229
|
+
xmlns="http://www.w3.org/2000/svg"
|
230
|
+
aria-label="account"
|
231
|
+
>
|
232
|
+
<path
|
233
|
+
d="M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM10 3C11.66 3 13 4.34 13 6C13 7.66 11.66 9 10 9C8.34 9 7 7.66 7 6C7 4.34 8.34 3 10 3ZM10 17.2C7.5 17.2 5.29 15.92 4 13.98C4.03 11.99 8 10.9 10 10.9C11.99 10.9 15.97 11.99 16 13.98C14.71 15.92 12.5 17.2 10 17.2Z"
|
234
|
+
/>
|
235
|
+
</svg>
|
236
|
+
</ic-action-chip>
|
237
|
+
<ic-action-chip
|
238
|
+
label="Non transparent"
|
239
|
+
variant="outlined"
|
240
|
+
transparent-background="false"
|
241
|
+
>
|
242
|
+
<svg
|
243
|
+
slot="icon"
|
244
|
+
width="20"
|
245
|
+
height="20"
|
246
|
+
viewBox="0 0 20 20"
|
247
|
+
fill="currentColor"
|
248
|
+
xmlns="http://www.w3.org/2000/svg"
|
249
|
+
aria-label="account"
|
250
|
+
>
|
251
|
+
<path
|
252
|
+
d="M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM10 3C11.66 3 13 4.34 13 6C13 7.66 11.66 9 10 9C8.34 9 7 7.66 7 6C7 4.34 8.34 3 10 3ZM10 17.2C7.5 17.2 5.29 15.92 4 13.98C4.03 11.99 8 10.9 10 10.9C11.99 10.9 15.97 11.99 16 13.98C14.71 15.92 12.5 17.2 10 17.2Z"
|
253
|
+
/>
|
254
|
+
</svg>
|
255
|
+
</ic-action-chip>
|
256
|
+
<ic-action-chip label="Monochrome" monochrome="true">
|
257
|
+
<svg
|
258
|
+
slot="icon"
|
259
|
+
width="20"
|
260
|
+
height="20"
|
261
|
+
viewBox="0 0 20 20"
|
262
|
+
fill="currentColor"
|
263
|
+
xmlns="http://www.w3.org/2000/svg"
|
264
|
+
aria-label="account"
|
265
|
+
>
|
266
|
+
<path
|
267
|
+
d="M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM10 3C11.66 3 13 4.34 13 6C13 7.66 11.66 9 10 9C8.34 9 7 7.66 7 6C7 4.34 8.34 3 10 3ZM10 17.2C7.5 17.2 5.29 15.92 4 13.98C4.03 11.99 8 10.9 10 10.9C11.99 10.9 15.97 11.99 16 13.98C14.71 15.92 12.5 17.2 10 17.2Z"
|
268
|
+
/>
|
269
|
+
</svg>
|
270
|
+
</ic-action-chip>
|
271
|
+
<ic-action-chip
|
272
|
+
label="Outlined monochrome"
|
273
|
+
variant="outlined"
|
274
|
+
monochrome="true"
|
275
|
+
>
|
276
|
+
<svg
|
277
|
+
slot="icon"
|
278
|
+
width="20"
|
279
|
+
height="20"
|
280
|
+
viewBox="0 0 20 20"
|
281
|
+
fill="currentColor"
|
282
|
+
xmlns="http://www.w3.org/2000/svg"
|
283
|
+
aria-label="account"
|
284
|
+
>
|
285
|
+
<path
|
286
|
+
d="M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM10 3C11.66 3 13 4.34 13 6C13 7.66 11.66 9 10 9C8.34 9 7 7.66 7 6C7 4.34 8.34 3 10 3ZM10 17.2C7.5 17.2 5.29 15.92 4 13.98C4.03 11.99 8 10.9 10 10.9C11.99 10.9 15.97 11.99 16 13.98C14.71 15.92 12.5 17.2 10 17.2Z"
|
287
|
+
/>
|
288
|
+
</svg>
|
289
|
+
</ic-action-chip>
|
290
|
+
<ic-action-chip
|
291
|
+
label="Non transparent monochrome"
|
292
|
+
variant="outlined"
|
293
|
+
transparent-background="false"
|
294
|
+
monochrome="true"
|
295
|
+
>
|
296
|
+
<svg
|
297
|
+
slot="icon"
|
298
|
+
width="20"
|
299
|
+
height="20"
|
300
|
+
viewBox="0 0 20 20"
|
301
|
+
fill="currentColor"
|
302
|
+
xmlns="http://www.w3.org/2000/svg"
|
303
|
+
aria-label="account"
|
304
|
+
>
|
305
|
+
<path
|
306
|
+
d="M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM10 3C11.66 3 13 4.34 13 6C13 7.66 11.66 9 10 9C8.34 9 7 7.66 7 6C7 4.34 8.34 3 10 3ZM10 17.2C7.5 17.2 5.29 15.92 4 13.98C4.03 11.99 8 10.9 10 10.9C11.99 10.9 15.97 11.99 16 13.98C14.71 15.92 12.5 17.2 10 17.2Z"
|
307
|
+
/>
|
308
|
+
</svg>
|
309
|
+
</ic-action-chip>
|
310
|
+
</ic-theme>
|
311
|
+
</div>
|
312
|
+
</div>`,
|
313
|
+
|
314
|
+
name: "Theme and monochrome",
|
315
|
+
};
|
316
|
+
|
317
|
+
const inlineRadioSelector = "inline-radio";
|
318
|
+
|
319
|
+
export const Playground = {
|
320
|
+
render: (args) => html`<ic-action-chip
|
321
|
+
label=${args.label}
|
322
|
+
disabled=${args.disabled}
|
323
|
+
href=${args.href}
|
324
|
+
monochrome=${args.monochrome}
|
325
|
+
size=${args.size}
|
326
|
+
target=${args.target}
|
327
|
+
theme=${args.theme}
|
328
|
+
transparent-background=${args.transparentBackground}
|
329
|
+
variant=${args.variant}
|
330
|
+
>
|
331
|
+
<svg
|
332
|
+
slot="icon"
|
333
|
+
width="20"
|
334
|
+
height="20"
|
335
|
+
viewBox="0 0 20 20"
|
336
|
+
fill="currentColor"
|
337
|
+
xmlns="http://www.w3.org/2000/svg"
|
338
|
+
aria-label="account"
|
339
|
+
>
|
340
|
+
<path
|
341
|
+
d="M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM10 3C11.66 3 13 4.34 13 6C13 7.66 11.66 9 10 9C8.34 9 7 7.66 7 6C7 4.34 8.34 3 10 3ZM10 17.2C7.5 17.2 5.29 15.92 4 13.98C4.03 11.99 8 10.9 10 10.9C11.99 10.9 15.97 11.99 16 13.98C14.71 15.92 12.5 17.2 10 17.2Z"
|
342
|
+
/>
|
343
|
+
</svg>
|
344
|
+
<ic-badge label="1" slot="badge" variant="success"></ic-badge>
|
345
|
+
</ic-action-chip>`,
|
346
|
+
|
347
|
+
name: "Playground",
|
348
|
+
|
349
|
+
args: {
|
350
|
+
label: "Label",
|
351
|
+
disabled: false,
|
352
|
+
href: "",
|
353
|
+
monochrome: false,
|
354
|
+
size: "medium",
|
355
|
+
target: "",
|
356
|
+
theme: "inherit",
|
357
|
+
transparentBackground: true,
|
358
|
+
variant: "filled",
|
359
|
+
},
|
360
|
+
|
361
|
+
argTypes: {
|
362
|
+
size: {
|
363
|
+
options: ["small", "medium", "large"],
|
364
|
+
|
365
|
+
control: {
|
366
|
+
type: inlineRadioSelector,
|
367
|
+
},
|
368
|
+
},
|
369
|
+
|
370
|
+
theme: {
|
371
|
+
options: ["inherit", "light", "dark"],
|
372
|
+
|
373
|
+
control: {
|
374
|
+
type: inlineRadioSelector,
|
375
|
+
},
|
376
|
+
},
|
377
|
+
|
378
|
+
variant: {
|
379
|
+
options: ["filled", "outlined"],
|
380
|
+
|
381
|
+
control: {
|
382
|
+
type: inlineRadioSelector,
|
383
|
+
},
|
384
|
+
},
|
385
|
+
},
|
386
|
+
};
|
@@ -131,15 +131,15 @@ export class BackToTop {
|
|
131
131
|
const btnVariant = variant === "icon" ? "icon-secondary" : "secondary";
|
132
132
|
const size = variant === "icon" ? "large" : "medium";
|
133
133
|
const label = variant === "icon" ? "" : backToTopLabel;
|
134
|
-
return (h(Host, { key: '
|
134
|
+
return (h(Host, { key: '11f790112cc8047ab6b35459de506f6dc6a85c5f', class: {
|
135
135
|
[`ic-theme-${this.theme}`]: this.theme !== "inherit",
|
136
136
|
[`ic-back-to-top-${this.position}`]: true,
|
137
|
-
} }, h("ic-button", { key: '
|
137
|
+
} }, h("ic-button", { key: '670015cd630e897033a440ff4846d475c113a453', "aria-label": backToTopLabel, variant: btnVariant, size: size, onClick: this.handleClick, class: {
|
138
138
|
["offset-banner"]: bannerOffset,
|
139
139
|
["show"]: !targetElVisible,
|
140
140
|
["by-footer"]: footerVisible,
|
141
141
|
["icon-only"]: variant === "icon",
|
142
|
-
}, theme: this.theme }, h("span", { key: '
|
142
|
+
}, theme: this.theme }, h("span", { key: 'e56c7a48a8226d1f471fc9a953851d27f4a6504c', class: "ic-back-to-top-icon", innerHTML: ArrowUpward }), label)));
|
143
143
|
}
|
144
144
|
static get is() { return "ic-back-to-top"; }
|
145
145
|
static get encapsulation() { return "shadow"; }
|
@@ -154,7 +154,7 @@ export class Badge {
|
|
154
154
|
}
|
155
155
|
render() {
|
156
156
|
const { ariaLabel, el, foregroundColour, getLabel, position, size, label, type, variant, visible, theme, } = this;
|
157
|
-
return (h(Host, { key: '
|
157
|
+
return (h(Host, { key: '43b8e638c7b0965ad3591f8b306637b7b5aeea58', class: {
|
158
158
|
[`ic-badge-${position}`]: true,
|
159
159
|
[`ic-badge-${size}`]: true,
|
160
160
|
[`ic-badge-${variant}`]: true,
|
@@ -162,7 +162,7 @@ export class Badge {
|
|
162
162
|
[`ic-badge-foreground-${foregroundColour}`]: foregroundColour !== null && variant === "custom",
|
163
163
|
[`${visible ? "ic-badge-show" : "ic-badge-hide"}`]: true,
|
164
164
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
165
|
-
}, id: el.id || null, "aria-label": ariaLabel, role: "status" }, type === "icon" && h("slot", { key: '
|
165
|
+
}, id: el.id || null, "aria-label": ariaLabel, role: "status" }, type === "icon" && h("slot", { key: '7f8a72f58bc485b3bfe69ef67d4e43d75a995f1f', name: "badge-icon" }), type === "text" && label && (h("ic-typography", { key: 'fe925213d388d0b3be444b9ab16a2a9a4cbc2649', variant: size === "small" ? "badge-small" : "badge" }, getLabel())), type === "dot" && h("span", { key: 'e6e8d7092112d105fb3914002b53a083c540fe47', class: "sr-only" }, "badge")));
|
166
166
|
}
|
167
167
|
static get is() { return "ic-badge"; }
|
168
168
|
static get encapsulation() { return "shadow"; }
|
@@ -88,11 +88,11 @@ export class Breadcrumb {
|
|
88
88
|
render() {
|
89
89
|
const { current, href, monochrome, pageTitle, showBackIcon, theme } = this;
|
90
90
|
const describedById = `${pageTitle === null || pageTitle === void 0 ? void 0 : pageTitle.toLowerCase().replace(" ", "-")}-describedby`;
|
91
|
-
return (h(Host, { key: '
|
91
|
+
return (h(Host, { key: '2c1131138a8be3af8ee344e0fbff5594fbcc2d77', class: {
|
92
92
|
"ic-breadcrumb-back": showBackIcon,
|
93
93
|
"ic-breadcrumb-monochrome": monochrome,
|
94
94
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
95
|
-
}, "aria-current": current && "page", role: "listitem" }, h("div", { key: '
|
95
|
+
}, "aria-current": current && "page", role: "listitem" }, h("div", { key: 'ee77a3aeced7063c4dbab6e1641daf11242d63ca', class: "breadcrumb" }, h("span", { key: '1c2dc66e95e0676a381ab25769aa1b735ee5b9c5', innerHTML: chevronIcon, class: "chevron", "aria-hidden": "true" }), showBackIcon && (h("span", { key: '3857c2967dd82b45a2400107e50d6f03bc65cdde', id: describedById, class: "hide" }, `Back to ${pageTitle}`)), !href ? (h("div", { class: "slotted-link-container" }, showBackIcon && this.renderBackIcon(), h("span", { class: "link-wrapper" }, h("slot", null)))) : current ? (h("span", { class: "current-page-container" }, isSlotUsed(this.el, "icon") && h("slot", { name: "icon" }), pageTitle)) : (h("ic-link", { theme: theme, monochrome: monochrome, href: href, class: "breadcrumb-link", "aria-describedby": showBackIcon && describedById }, showBackIcon && this.renderBackIcon(), isSlotUsed(this.el, "icon") && h("slot", { name: "icon" }), pageTitle)))));
|
96
96
|
}
|
97
97
|
static get is() { return "ic-breadcrumb"; }
|
98
98
|
static get encapsulation() { return "shadow"; }
|
@@ -212,11 +212,11 @@ export class BreadcrumbGroup {
|
|
212
212
|
}
|
213
213
|
render() {
|
214
214
|
const { backBreadcrumbOnly, collapsed, theme } = this;
|
215
|
-
return (h(Host, { key: '
|
215
|
+
return (h(Host, { key: 'e9547e6fce74b57f2a3d7904bdca580c59abf881', class: {
|
216
216
|
"ic-breadcrumb-group-back": backBreadcrumbOnly,
|
217
217
|
"ic-breadcrumb-group-collapsed": collapsed,
|
218
218
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
219
|
-
} }, h("nav", { key: '
|
219
|
+
} }, h("nav", { key: '56fd90771323680169a7e2ff757c534f499bda48', "aria-label": "breadcrumbs" }, h("ol", { key: '2817e0c715c94937436a41222f86a0e5e6b9cc92' }, h("slot", { key: '137e284689752e6256c39ecc19988aafd3e49942' })))));
|
220
220
|
}
|
221
221
|
static get is() { return "ic-breadcrumb-group"; }
|
222
222
|
static get encapsulation() { return "shadow"; }
|
@@ -1478,11 +1478,13 @@ div.right-icon {
|
|
1478
1478
|
}
|
1479
1479
|
|
1480
1480
|
:host(.clear-button) {
|
1481
|
+
color: var(--ic-atoms-input-clear-button);
|
1481
1482
|
margin: 0 var(--ic-space-xxs);
|
1482
1483
|
}
|
1483
1484
|
|
1484
1485
|
:host(.clear-button) .button:focus,
|
1485
|
-
:host(.calendar-button) .button:focus
|
1486
|
+
:host(.calendar-button) .button:focus,
|
1487
|
+
:host(.clock-button) .button:focus {
|
1486
1488
|
box-shadow: none;
|
1487
1489
|
}
|
1488
1490
|
|
@@ -1497,16 +1499,6 @@ div.right-icon {
|
|
1497
1499
|
color: var(--ic-atoms-input-clear-button);
|
1498
1500
|
}
|
1499
1501
|
|
1500
|
-
:host(.clear-button) {
|
1501
|
-
color: var(--ic-atoms-input-clear-button);
|
1502
|
-
margin: 0 var(--ic-space-xxs);
|
1503
|
-
}
|
1504
|
-
|
1505
|
-
:host(.clear-button) .button:focus,
|
1506
|
-
:host(.calendar-button) .button:focus {
|
1507
|
-
box-shadow: none;
|
1508
|
-
}
|
1509
|
-
|
1510
1502
|
:host(.clear-button) .button:not(:active):focus ::slotted(svg) {
|
1511
1503
|
background-color: var(--ic-atoms-input-clear-button-focus-inner);
|
1512
1504
|
color: var(--ic-button-primary-text);
|
@@ -372,7 +372,7 @@ export class Button {
|
|
372
372
|
variant !== "destructive" && (h("span", { class: dropdownExpanded
|
373
373
|
? "dropdown-expanded"
|
374
374
|
: "arrow-dropdown", innerHTML: arrowDropdown }))))));
|
375
|
-
return (h(Host, { key: '
|
375
|
+
return (h(Host, { key: '7ec6ab29cee9c1d669ffb4d181291ac2767cbbec', class: {
|
376
376
|
"ic-button-disabled": disabled && !loading,
|
377
377
|
"ic-button-full-width": fullWidth,
|
378
378
|
"ic-button-loading": loading,
|
@@ -388,7 +388,7 @@ export class Button {
|
|
388
388
|
monochrome,
|
389
389
|
"top-icon": isSlotUsed(this.el, "top-icon"),
|
390
390
|
"with-badge": isSlotUsed(this.el, "badge"),
|
391
|
-
}, onClick: handleClick, onKeyDown: handleKeyDown, "aria-owns": ariaOwnsId, "aria-controls": ariaControlsId, "aria-expanded": dropdown && `${dropdownExpanded}` }, hasTooltip && (h("ic-tooltip", { key: '
|
391
|
+
}, onClick: handleClick, onKeyDown: handleKeyDown, "aria-owns": ariaOwnsId, "aria-controls": ariaControlsId, "aria-expanded": dropdown && `${dropdownExpanded}` }, hasTooltip && (h("ic-tooltip", { key: 'b9b1e24da3a9ca2e9aa33edf0dfde63f82473057', id: describedby, label: title || ariaLabel, target: buttonId, placement: tooltipPlacement, silent: isIconVariant() && !!ariaLabel }, h(ButtonContent, { key: 'e2655f2e1623bb7a6177e8404a68ab1ab9c868a6' }))), isSlotUsed(this.el, "badge") && h("slot", { key: 'ca43b11aeff88a1c9a46ae22cd8836405f96753e', name: "badge" }), !hasTooltip && h(ButtonContent, { key: '3dd73eb3d140dd26aee9f245166142094762bc5c' }), describedByContent && (h("span", { key: 'a38105ef6599d3b251b8528446db9f700982681e', id: describedby, class: "ic-button-describedby" }, describedByContent))));
|
392
392
|
}
|
393
393
|
static get is() { return "ic-button"; }
|
394
394
|
static get encapsulation() { return "shadow"; }
|
@@ -150,19 +150,19 @@ export class CardVertical {
|
|
150
150
|
rel: rel,
|
151
151
|
target: target,
|
152
152
|
};
|
153
|
-
return (h(Host, { key: '
|
153
|
+
return (h(Host, { key: '2dc8070692fc796401c84c6156d1f66c8053310a', class: {
|
154
154
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
155
|
-
} }, h(Component, Object.assign({ key: '
|
155
|
+
} }, h(Component, Object.assign({ key: 'a1a8763990ed7e5ac5eecfc69e4b29ab184b9e6e', class: {
|
156
156
|
card: true,
|
157
157
|
clickable: !!clickable && !disabled,
|
158
158
|
disabled: !!disabled,
|
159
159
|
fullwidth: !!fullWidth,
|
160
160
|
focussed: isFocussed,
|
161
161
|
monochrome: monochrome,
|
162
|
-
}, tabindex: clickable && !parentIsAnchorTag ? 0 : undefined, "aria-disabled": disabled ? "true" : null, disabled: disabled }, attrs), isSlotUsed(this.el, "image-top") && (h("div", { key: '
|
162
|
+
}, tabindex: clickable && !parentIsAnchorTag ? 0 : undefined, "aria-disabled": disabled ? "true" : null, disabled: disabled }, attrs), isSlotUsed(this.el, "image-top") && (h("div", { key: '2c12f461a8b8972d8a4de1a6560a2c52ecadc36f', class: "image-top" }, h("slot", { key: '9afec40e5ef6b57a10ca922d7f3da378f962200f', name: "image-top" }))), h("div", { key: 'bb92939da24dbfa2fb2e4bc2606d4f7ef9d2ba37', class: "card-header" }, isSlotUsed(this.el, "icon") && (h("div", { key: '165af9342325b430548209cf2bcd5b9781b752fd', class: "icon" }, h("slot", { key: '4b2cdd47b1f2abfc16097dee848b630c93c1b835', name: "icon" }))), h("div", { key: '02f1b6357a696bc43b9d5cc7c8030647b52e311c', class: "card-title" }, h("slot", { key: 'b71ca0fa6a4aeb1cf75579920a66f58abe11d5ae', name: "heading" }, h("ic-typography", { key: '63f9c6478987888f41a53d5beadec2b3deaa52ae', variant: "h4" }, h("p", { key: '6d642c20d4656a408cf439c969a1895cb834c15e' }, heading)))), isSlotUsed(this.el, "interaction-button") && (h("div", { key: '7a44d7d2c17cd980fa14da2a65aa68ddd8832f77', class: "interaction-button" }, h("slot", { key: '6a9e0f0ca96125d94d39b31474c82ffe088ea475', name: "interaction-button" })))), (subheading || isSlotUsed(this.el, "subheading")) && (h("div", { key: 'dc19ca8ae488c30aa1fc58e56db23fc0dc2a2c0f', class: "subheading" }, h("slot", { key: 'bae9a057f813ef5c5df04befed60d09ccb106857', name: "subheading" }, h("ic-typography", { key: '13a32e2d9bc3258b65edf8a5c385f181f39a2c8d', variant: "subtitle-small" }, subheading)))), isSlotUsed(this.el, "adornment") && (h("div", { key: 'c359631c9d1ed0643290e1db2a5e521d6702b29d', class: "adornment" }, h("slot", { key: '398a65927df066f96bffc5b59b95fd27ec558c12', name: "adornment" }))), isSlotUsed(this.el, "image-mid") && (h("div", { key: '463a2495779d1faca6efd98a3e1425e3486fc0d1', class: "image-mid" }, h("slot", { key: '049daa3cbf2542b0a47951a8758bb50a1ad699e2', name: "image-mid" }))), (message || isSlotUsed(this.el, "message")) && (h("div", { key: '9f6b4ea8e3a8cfa0e8ad58366f4e2a198cb0f8f6', class: "card-message" }, message && (h("ic-typography", { key: '1a32ff3958de50ea5732a0fb52616d04c6ebedcc', variant: "body" }, message)), isSlotUsed(this.el, "message") && h("slot", { key: '0dabb8f6ed9bd42a0982284fa4976734c0d5e16f', name: "message" }))), (isSlotUsed(this.el, "interaction-controls") || expandable) && (h("div", { key: '2d6292c895df325c53cffc72a330720855644c59', class: "interaction-area" }, h("div", { key: 'a8c4c10d85a5608f49dbccb8cb65443d56d64a3f', class: "interaction-controls" }, h("slot", { key: '5caebe86117ec6ef31d096a284aa035153e02a56', name: "interaction-controls" })), expandable && (h("ic-tooltip", { key: '1d66d84f3181cc1694cdf779befca1610c538f71', id: "ic-tooltip-expand-button", label: "Toggle expandable area", silent: true }, h("button", { key: 'eaa2b9484428dab89fb67677b80a09a6174b011b', class: {
|
163
163
|
"toggle-button": true,
|
164
164
|
[`toggle-button-${this.areaExpanded ? "expanded" : "closed"}`]: true,
|
165
|
-
}, "aria-label": "Toggle expandable area", "aria-expanded": `${this.areaExpanded}`, "aria-controls": this.areaExpanded ? "expanded-content-area" : null, onClick: this.toggleExpanded, innerHTML: chevronIcon }))))), isSlotUsed(this.el, "expanded-content") && this.areaExpanded && (h("div", { key: '
|
165
|
+
}, "aria-label": "Toggle expandable area", "aria-expanded": `${this.areaExpanded}`, "aria-controls": this.areaExpanded ? "expanded-content-area" : null, onClick: this.toggleExpanded, innerHTML: chevronIcon }))))), isSlotUsed(this.el, "expanded-content") && this.areaExpanded && (h("div", { key: 'd896c331bad9e027c4b56dd1fce75bc530218516', class: "expanded-content", id: "expanded-content-area" }, h("slot", { key: '7fc81de39ef8a949674f22089d413bf946befdd7', name: "expanded-content" }))), isSlotUsed(this.el, "badge") && h("slot", { key: '283bff90fab9be3b640ab7d04384d7ce2873bad8', name: "badge" }))));
|
166
166
|
}
|
167
167
|
static get is() { return "ic-card-vertical"; }
|
168
168
|
static get encapsulation() { return "shadow"; }
|
@@ -106,17 +106,17 @@ export class Checkbox {
|
|
106
106
|
checked
|
107
107
|
? renderHiddenInput(el, value, name, disabled)
|
108
108
|
: removeHiddenInput(el);
|
109
|
-
return (h(Host, { key: '
|
109
|
+
return (h(Host, { key: '153b0b333ca1d0755d4e52dd9119d48cd1c246cc', class: {
|
110
110
|
"ic-checkbox-disabled": disabled,
|
111
111
|
[`ic-checkbox-${size}`]: !!size,
|
112
112
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
113
|
-
} }, h("div", { key: '
|
113
|
+
} }, h("div", { key: 'c0f56ee4fbbdd38fea208d133cdd1fa91a41d6c7', class: "container" }, displayIndeterminate ? (h("div", { class: "indeterminate-symbol" })) : (checked && (h("svg", { class: "checkmark", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "fill-rule": "evenodd", "clip-rule": "evenodd" }, h("title", null, "checkmark icon"), h("path", { d: "M21 6.285l-11.16 12.733-6.84-6.018 1.319-1.49 5.341 4.686 9.865-11.196 1.475 1.285z" })))), h("input", { key: 'f8335e54b2f765591b3781d76a01632c34065855', role: "checkbox", class: {
|
114
114
|
checkbox: true,
|
115
115
|
checked,
|
116
116
|
indeterminate: displayIndeterminate,
|
117
|
-
}, ref: (el) => (this.checkboxEl = el), type: "checkbox", name: name, id: id, value: value, disabled: disabled, checked: checked, indeterminate: displayIndeterminate, onClick: handleClick, form: form, "aria-label": hideLabel ? label : undefined }), !hideLabel && (h("ic-typography", { key: '
|
117
|
+
}, ref: (el) => (this.checkboxEl = el), type: "checkbox", name: name, id: id, value: value, disabled: disabled, checked: checked, indeterminate: displayIndeterminate, onClick: handleClick, form: form, "aria-label": hideLabel ? label : undefined }), !hideLabel && (h("ic-typography", { key: '2ba4862a349e6b3f34c050c434ce247687f0dfd8', class: "checkbox-label", variant: "body" }, h("label", { key: 'a3f3c733b5dc0a0acdf89d3b7db603e965102618', htmlFor: id }, label)))), isSlotUsed(el, "additional-field") && (h("div", { key: 'ad38f0547dda8ce82cd107fec3f3ff9d555cc1e8', class: "dynamic-container", ref: (el) => (this.additionalFieldContainer = el) }, isDynamicAdditionalField && h("div", { key: 'd2c8566cada65dbd60546873ccbfedb33ec0e093', class: "branch-corner" }), h("div", { key: '05489504f66d7f6e79bbbf18302dd63348f2f4a7', class: "dynamic-field-container" }, isDynamicAdditionalField && (h("ic-typography", { key: 'eb397dc91080f791a4fd13e3c1815fad70c7cb87', variant: "caption" }, h("p", { key: '49633d6c0806655957055fbef51688bfdeb11411', class: "dynamic-text", "aria-live": "polite" }, dynamicText))), h("div", { key: '916e20f79f80cd7ff0fb5c4b030caf07f146ffcc', class: {
|
118
118
|
"additional-field-wrapper": !isDynamicAdditionalField,
|
119
|
-
} }, h("slot", { key: '
|
119
|
+
} }, h("slot", { key: '5783108ca7c6edb7c55dad2cc9469549e31d7cd3', name: "additional-field" })))))));
|
120
120
|
}
|
121
121
|
static get is() { return "ic-checkbox"; }
|
122
122
|
static get encapsulation() { return "shadow"; }
|
@@ -93,11 +93,11 @@ export class CheckboxGroup {
|
|
93
93
|
const { disabled, helperText, hideLabel, label, name, required, size, theme, validationStatus, validationText, } = this;
|
94
94
|
const describedBy = getInputDescribedByText(this.el, name, helperText !== "", validationStatus !== "");
|
95
95
|
const renderSRText = validationStatus === "error" || required || hideLabel;
|
96
|
-
return (h(Host, { key: '
|
96
|
+
return (h(Host, { key: '977492f0ca432ab5dc9d7435c66cf6aafa8c44f1', class: {
|
97
97
|
"ic-checkbox-group-disabled": !!disabled,
|
98
98
|
[`ic-checkbox-group-${size}`]: true,
|
99
99
|
[`ic-theme-${theme}`]: theme !== "inherit",
|
100
|
-
} }, renderSRText && (h("span", { key: '
|
100
|
+
} }, renderSRText && (h("span", { key: '5a9d1c9fcf5f1b837e4f6ff3ae516db0b105e1ac', id: "screenReaderOnlyText", class: "screen-reader-only-text", "aria-hidden": "true" }, label, " ", validationStatus === "error" ? "invalid data " : null, " ", required ? "required" : null)), h("fieldset", { key: 'c3afb98a671db4dba8229d461c33d4b5a69d5e31', id: name, "aria-labelledby": `${renderSRText ? "screenReaderOnlyText" : ""} ${describedBy}`.trim(), disabled: disabled }, !hideLabel && (h("legend", { key: 'bc4e450767c3fb6f7deb01370d9d1599d4515417' }, h("ic-input-label", { key: '7c0c76b80d4b89673495b56a79cf8a05f0a224f3', class: { [`${validationStatus}`]: true }, label: label, helperText: helperText, required: required, disabled: disabled, useLabelTag: false }, h("slot", { key: '348730e9c8ffbd0701a00e9380a11e403957604b', name: "helper-text", slot: "helper-text" })))), h("div", { key: 'c4065c98766a8447ed51c0a84f953cc70c529d2c', class: "checkboxes-container" }, h("slot", { key: 'cadbff332d84cf70bbbb42f1c40f4cb0bc705e38' }))), hasValidationStatus(validationStatus, disabled) && (h("ic-input-validation", { key: '0259abfb51282b2dfc8ed9aed0a2b97ccb769ac2', for: name, ariaLiveMode: "polite", status: validationStatus, message: validationText }))));
|
101
101
|
}
|
102
102
|
static get is() { return "ic-checkbox-group"; }
|
103
103
|
static get encapsulation() { return "shadow"; }
|
@@ -16,7 +16,7 @@ const defaultArgs = {
|
|
16
16
|
nativeIndeterminateBehaviour: false,
|
17
17
|
required: false,
|
18
18
|
size: "medium",
|
19
|
-
validationStatus: "",
|
19
|
+
validationStatus: "no status",
|
20
20
|
validationText: "",
|
21
21
|
value: "checkbox-value",
|
22
22
|
theme: "inherit",
|
@@ -675,7 +675,9 @@ export const Playground = {
|
|
675
675
|
helper-text=${args.helperText}
|
676
676
|
hide-label=${args.hideGroupLabel}
|
677
677
|
required=${args.required}
|
678
|
-
validation-status=${args.validationStatus
|
678
|
+
validation-status=${args.validationStatus === "no status"
|
679
|
+
? ""
|
680
|
+
: args.validationStatus}
|
679
681
|
validation-text=${args.validationText}
|
680
682
|
theme=${args.theme}
|
681
683
|
>
|
@@ -728,7 +730,7 @@ export const Playground = {
|
|
728
730
|
},
|
729
731
|
|
730
732
|
validationStatus: {
|
731
|
-
options: ["
|
733
|
+
options: ["no status", "warning", "error", "success"],
|
732
734
|
|
733
735
|
control: {
|
734
736
|
type: "select",
|