@ukic/web-components 3.7.0 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/core.cjs.js +1 -1
- package/dist/cjs/{helpers-8217daf4.js → helpers-a0e78e2e.js} +31 -7
- package/dist/cjs/helpers-a0e78e2e.js.map +1 -0
- package/dist/cjs/ic-accordion-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-accordion.cjs.entry.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-alert.cjs.entry.js +2 -2
- package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +4 -4
- package/dist/cjs/ic-badge.cjs.entry.js +4 -4
- package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/ic-button_3.cjs.entry.js +56 -96
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card-vertical.cjs.entry.js +5 -5
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-checkbox.cjs.entry.js +6 -6
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +13 -5
- 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 +3 -3
- package/dist/cjs/ic-data-list.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +4 -4
- package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-dialog.cjs.entry.js +2 -2
- package/dist/cjs/ic-divider.cjs.entry.js +1 -1
- package/dist/cjs/ic-empty-state.cjs.entry.js +3 -3
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +3 -3
- package/dist/cjs/ic-footer.cjs.entry.js +4 -4
- package/dist/cjs/ic-hero.cjs.entry.js +5 -5
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +6 -6
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +9 -9
- package/dist/cjs/ic-input-label_2.cjs.entry.js +6 -6
- package/dist/cjs/ic-layout-grid-item.cjs.entry.js +70 -0
- package/dist/cjs/ic-layout-grid-item.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-layout-grid.cjs.entry.js +156 -0
- package/dist/cjs/ic-layout-grid.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-link.cjs.entry.js +2 -2
- package/dist/cjs/ic-menu-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +3 -3
- package/dist/cjs/ic-navigation-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +5 -5
- package/dist/cjs/ic-page-header.cjs.entry.js +7 -7
- package/dist/cjs/ic-pagination-item.cjs.entry.js +2 -2
- package/dist/cjs/ic-pagination.cjs.entry.js +5 -5
- package/dist/cjs/ic-popover-menu.cjs.entry.js +10 -6
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +5 -5
- package/dist/cjs/ic-radio-option.cjs.entry.js +5 -5
- package/dist/cjs/ic-search-bar.cjs.entry.js +10 -10
- package/dist/cjs/ic-section-container.cjs.entry.js +2 -2
- package/dist/cjs/ic-select.cjs.entry.js +7 -7
- package/dist/cjs/ic-side-navigation.cjs.entry.js +5 -5
- 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 +3 -3
- package/dist/cjs/ic-step.cjs.entry.js +14 -14
- package/dist/cjs/ic-stepper.cjs.entry.js +3 -3
- package/dist/cjs/ic-switch.cjs.entry.js +5 -5
- package/dist/cjs/ic-tab-context.cjs.entry.js +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/ic-tab.cjs.entry.js +3 -3
- package/dist/cjs/ic-text-field.cjs.entry.js +7 -7
- package/dist/cjs/ic-theme.cjs.entry.js +2 -2
- package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +5 -5
- package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-toggle-button.cjs.entry.js +3 -3
- package/dist/cjs/ic-top-navigation.cjs.entry.js +5 -5
- package/dist/cjs/ic-typography.cjs.entry.js +3 -3
- package/dist/cjs/index-d337cd8a.js +12 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/ai-icon.svg +11 -0
- package/dist/collection/collection-manifest.json +3 -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-alert/ic-alert.css +13 -0
- package/dist/collection/components/ic-alert/ic-alert.js +1 -1
- package/dist/collection/components/ic-alert/ic-alert.stories.js +7 -2
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +3 -3
- package/dist/collection/components/ic-badge/ic-badge.css +4 -0
- package/dist/collection/components/ic-badge/ic-badge.js +3 -3
- package/dist/collection/components/ic-badge/ic-badge.stories.js +98 -0
- 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 +33 -12
- package/dist/collection/components/ic-button/ic-button.js.map +1 -1
- package/dist/collection/components/ic-button/ic-button.stories.js +181 -2
- package/dist/collection/components/ic-card-vertical/ic-card-vertical.js +4 -4
- package/dist/collection/components/ic-checkbox/ic-checkbox.css +1 -0
- 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-chip/ic-chip.css +3 -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.css +5 -0
- package/dist/collection/components/ic-data-list/ic-data-list.js +2 -2
- package/dist/collection/components/ic-data-list/ic-data-list.stories.js +50 -0
- package/dist/collection/components/ic-data-row/ic-data-row.css +3 -1
- 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-layout-grid/ic-layout-grid.css +540 -0
- package/dist/collection/components/ic-layout-grid/ic-layout-grid.js +377 -0
- package/dist/collection/components/ic-layout-grid/ic-layout-grid.js.map +1 -0
- package/dist/collection/components/ic-layout-grid/ic-layout-grid.stories.js +429 -0
- package/dist/collection/components/ic-layout-grid/ic-layout-grid.types.js +2 -0
- package/dist/collection/components/ic-layout-grid/ic-layout-grid.types.js.map +1 -0
- package/dist/collection/components/ic-layout-grid-item/ic-layout-grid-item.css +12 -0
- package/dist/collection/components/ic-layout-grid-item/ic-layout-grid-item.js +182 -0
- package/dist/collection/components/ic-layout-grid-item/ic-layout-grid-item.js.map +1 -0
- package/dist/collection/components/ic-link/ic-link.js +1 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +5 -5
- package/dist/collection/components/ic-menu/ic-menu.js +3 -3
- 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.css +2 -0
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +1 -1
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +2 -2
- 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 +29 -5
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.stories.js +94 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +4 -4
- 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-section-container/ic-section-container.js +2 -2
- package/dist/collection/components/ic-select/ic-select.js +6 -6
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +4 -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-theme/ic-theme.js +1 -1
- package/dist/collection/components/ic-toast/ic-toast.css +8 -0
- package/dist/collection/components/ic-toast/ic-toast.js +4 -4
- package/dist/collection/components/ic-toast/ic-toast.stories.js +2 -2
- package/dist/collection/components/ic-toast-region/ic-toast-region.js +1 -1
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.js +2 -2
- package/dist/collection/components/ic-toggle-button-group/ic-toggle-button-group.js +2 -2
- package/dist/collection/components/ic-tooltip/ic-tooltip.css +2 -5
- package/dist/collection/components/ic-tooltip/ic-tooltip.js +57 -78
- package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
- package/dist/collection/components/ic-tooltip/ic-tooltip.stories.js +38 -0
- 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/collection/utils/constants.js +5 -0
- package/dist/collection/utils/constants.js.map +1 -1
- package/dist/collection/utils/helpers.js +14 -6
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/helpers.js +31 -7
- package/dist/components/helpers.js.map +1 -1
- 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-alert.js +1 -1
- package/dist/components/ic-alert.js.map +1 -1
- package/dist/components/ic-back-to-top.js +4 -4
- package/dist/components/ic-back-to-top.js.map +1 -1
- package/dist/components/ic-badge.js +4 -4
- package/dist/components/ic-badge.js.map +1 -1
- package/dist/components/ic-breadcrumb-group.js +3 -3
- package/dist/components/ic-breadcrumb2.js +3 -3
- package/dist/components/ic-button2.js +15 -13
- 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 +3 -3
- package/dist/components/ic-checkbox.js +6 -6
- package/dist/components/ic-checkbox.js.map +1 -1
- package/dist/components/ic-chip.js +13 -5
- 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 +3 -3
- package/dist/components/ic-data-list.js.map +1 -1
- package/dist/components/ic-data-row.js +4 -4
- package/dist/components/ic-data-row.js.map +1 -1
- package/dist/components/ic-dialog.js +2 -2
- package/dist/components/ic-divider2.js +1 -1
- package/dist/components/ic-empty-state.js +2 -2
- package/dist/components/ic-footer-link-group.js +1 -1
- package/dist/components/ic-footer-link.js +3 -3
- package/dist/components/ic-footer.js +4 -4
- package/dist/components/ic-hero.js +5 -5
- package/dist/components/ic-horizontal-scroll2.js +6 -6
- package/dist/components/ic-input-component-container2.js +4 -4
- package/dist/components/ic-input-container2.js +2 -2
- package/dist/components/ic-input-label2.js +3 -3
- package/dist/components/ic-input-validation2.js +4 -4
- package/dist/components/ic-layout-grid-item.d.ts +11 -0
- package/dist/components/ic-layout-grid-item.js +95 -0
- package/dist/components/ic-layout-grid-item.js.map +1 -0
- package/dist/components/ic-layout-grid.d.ts +11 -0
- package/dist/components/ic-layout-grid.js +188 -0
- package/dist/components/ic-layout-grid.js.map +1 -0
- package/dist/components/ic-link2.js +1 -1
- package/dist/components/ic-loading-indicator2.js +5 -5
- package/dist/components/ic-menu-group.js +2 -2
- package/dist/components/ic-menu-item2.js +1 -1
- package/dist/components/ic-menu2.js +4 -4
- package/dist/components/ic-navigation-button.js +3 -3
- package/dist/components/ic-navigation-group.js +3 -3
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js +3 -3
- package/dist/components/ic-navigation-menu2.js +5 -5
- package/dist/components/ic-page-header.js +7 -7
- package/dist/components/ic-pagination-item2.js +2 -2
- package/dist/components/ic-pagination.js +4 -4
- package/dist/components/ic-pagination.js.map +1 -1
- package/dist/components/ic-popover-menu.js +11 -6
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-radio-group.js +5 -5
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +5 -5
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +10 -10
- package/dist/components/ic-section-container2.js +2 -2
- package/dist/components/ic-select.js +7 -7
- package/dist/components/ic-side-navigation.js +5 -5
- 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-status-tag.js.map +1 -1
- package/dist/components/ic-step.js +14 -14
- package/dist/components/ic-stepper.js +2 -2
- package/dist/components/ic-switch.js +5 -5
- 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.js +2 -2
- package/dist/components/ic-tab.js.map +1 -1
- package/dist/components/ic-text-field.js +7 -7
- package/dist/components/ic-theme.js +2 -2
- package/dist/components/ic-toast-region.js +1 -1
- package/dist/components/ic-toast.js +5 -5
- package/dist/components/ic-toast.js.map +1 -1
- package/dist/components/ic-toggle-button-group.js +2 -2
- package/dist/components/ic-toggle-button.js +2 -2
- package/dist/components/ic-tooltip2.js +39 -79
- package/dist/components/ic-tooltip2.js.map +1 -1
- package/dist/components/ic-top-navigation.js +5 -5
- package/dist/components/ic-typography2.js +2 -2
- package/dist/core/core.css +236 -16
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/p-0d680d19.entry.js +2 -0
- package/dist/core/p-0d680d19.entry.js.map +1 -0
- package/dist/core/{p-06e80441.entry.js → p-15dbccc2.entry.js} +2 -2
- package/dist/core/{p-91f6884a.entry.js → p-19cf2327.entry.js} +2 -2
- package/dist/core/{p-4b6818d9.entry.js → p-1cc402b8.entry.js} +2 -2
- package/dist/core/p-1d37ac1c.entry.js +2 -0
- package/dist/core/p-1d37ac1c.entry.js.map +1 -0
- package/dist/core/{p-182b7037.entry.js → p-1e2f40b0.entry.js} +2 -2
- package/dist/core/{p-9d5e4b62.entry.js → p-21cf2beb.entry.js} +2 -2
- package/dist/core/p-25007ec9.js +2 -0
- package/dist/core/p-25007ec9.js.map +1 -0
- package/dist/core/{p-fc5661ac.entry.js → p-287e5c17.entry.js} +2 -2
- package/dist/core/{p-543b90c5.entry.js → p-28efe829.entry.js} +2 -2
- package/dist/core/{p-fb6e6ac4.entry.js → p-2f4f392f.entry.js} +2 -2
- package/dist/core/{p-4301e11e.entry.js → p-313a8a2f.entry.js} +2 -2
- package/dist/core/p-317e005f.entry.js +2 -0
- package/dist/core/{p-ff47772c.entry.js.map → p-317e005f.entry.js.map} +1 -1
- package/dist/core/{p-f4ee5fbb.entry.js → p-3dc54847.entry.js} +2 -2
- package/dist/core/{p-0549305b.entry.js → p-3e5d7a3d.entry.js} +2 -2
- package/dist/core/p-41ef74a7.entry.js +2 -0
- package/dist/core/p-41ef74a7.entry.js.map +1 -0
- package/dist/core/{p-ae2ea264.entry.js → p-41f92698.entry.js} +2 -2
- package/dist/core/p-43324339.entry.js +2 -0
- package/dist/core/p-43324339.entry.js.map +1 -0
- package/dist/core/{p-9e051db4.entry.js → p-45dd12ee.entry.js} +2 -2
- package/dist/core/{p-018eaee0.entry.js → p-493eaabb.entry.js} +2 -2
- package/dist/core/{p-a591ef38.entry.js → p-4ca782eb.entry.js} +2 -2
- package/dist/core/{p-056be0df.entry.js → p-4d1a3036.entry.js} +2 -2
- package/dist/core/p-52748d5c.entry.js +2 -0
- package/dist/core/p-52748d5c.entry.js.map +1 -0
- package/dist/core/p-595a4d06.entry.js +2 -0
- package/dist/core/p-595a4d06.entry.js.map +1 -0
- package/dist/core/p-5daa7915.entry.js +2 -0
- package/dist/core/{p-02132a4c.entry.js.map → p-5daa7915.entry.js.map} +1 -1
- package/dist/core/{p-421b5f2d.entry.js → p-5f68f62b.entry.js} +2 -2
- package/dist/core/{p-d281c3cf.entry.js → p-5fbc8e62.entry.js} +2 -2
- package/dist/core/{p-06b0d0f6.entry.js → p-6014ab64.entry.js} +2 -2
- package/dist/core/{p-afde0edc.entry.js → p-661ae402.entry.js} +2 -2
- package/dist/core/{p-a2ae5d9e.entry.js → p-6a576a8b.entry.js} +2 -2
- package/dist/core/{p-b1b27b7e.entry.js → p-6e8ef73c.entry.js} +2 -2
- package/dist/core/p-6ed0ac48.entry.js +2 -0
- package/dist/core/{p-3194e46c.entry.js.map → p-6ed0ac48.entry.js.map} +1 -1
- package/dist/core/p-711bfeed.entry.js +2 -0
- package/dist/core/p-711bfeed.entry.js.map +1 -0
- package/dist/core/{p-2ec0d11c.entry.js → p-72a9909c.entry.js} +2 -2
- package/dist/core/{p-f9491692.entry.js → p-742a9181.entry.js} +2 -2
- package/dist/core/p-7cd4f6a6.entry.js +2 -0
- package/dist/core/{p-773ded36.entry.js.map → p-7cd4f6a6.entry.js.map} +1 -1
- package/dist/core/{p-152ddde9.entry.js → p-8a4b12e4.entry.js} +2 -2
- package/dist/core/{p-3448c713.entry.js → p-8b5022bc.entry.js} +2 -2
- package/dist/core/{p-ce916f35.entry.js → p-9323c234.entry.js} +2 -2
- package/dist/core/{p-50d13439.entry.js → p-948f89a0.entry.js} +2 -2
- package/dist/core/p-97b93ddf.entry.js +2 -0
- package/dist/core/p-97b93ddf.entry.js.map +1 -0
- package/dist/core/{p-0f86ea09.entry.js → p-999f0a5d.entry.js} +2 -2
- package/dist/core/p-999f0a5d.entry.js.map +1 -0
- package/dist/core/{p-ba89fa16.entry.js → p-9c013333.entry.js} +2 -2
- package/dist/core/{p-b83cca09.entry.js → p-9eeb5e85.entry.js} +2 -2
- package/dist/core/{p-0179fbd3.entry.js → p-9f36791b.entry.js} +2 -2
- package/dist/core/{p-8a5b0fb0.entry.js → p-a602a8e1.entry.js} +2 -2
- package/dist/core/{p-98869fe7.entry.js → p-a77364f5.entry.js} +2 -2
- package/dist/core/{p-6b52e47f.entry.js → p-af9c391d.entry.js} +2 -2
- package/dist/core/{p-77750efc.entry.js → p-b0d488d0.entry.js} +2 -2
- package/dist/core/p-b25d33d8.entry.js +2 -0
- package/dist/core/{p-627f7172.entry.js.map → p-b25d33d8.entry.js.map} +1 -1
- package/dist/core/{p-cd8dab55.entry.js → p-b52000d9.entry.js} +2 -2
- package/dist/core/p-cbe0d1bb.entry.js +2 -0
- package/dist/core/{p-ec1657fc.entry.js.map → p-cbe0d1bb.entry.js.map} +1 -1
- package/dist/core/p-ceea1712.entry.js +2 -0
- package/dist/core/p-ceea1712.entry.js.map +1 -0
- package/dist/core/p-cf631191.entry.js +2 -0
- package/dist/core/{p-6dd73165.entry.js → p-df88ff5b.entry.js} +2 -2
- package/dist/core/{p-bb21268f.entry.js → p-e652ab09.entry.js} +2 -2
- package/dist/core/{p-29468171.entry.js → p-e876e47c.entry.js} +2 -2
- package/dist/core/p-ea061ccf.entry.js +2 -0
- package/dist/core/p-ea061ccf.entry.js.map +1 -0
- package/dist/core/{p-ab1103e1.entry.js → p-ea778379.entry.js} +2 -2
- package/dist/core/{p-948086f4.entry.js → p-ef4b5469.entry.js} +2 -2
- package/dist/core/p-f309d3af.entry.js +2 -0
- package/dist/core/{p-554c555f.entry.js.map → p-f309d3af.entry.js.map} +1 -1
- package/dist/core/{p-9ed5f11d.entry.js → p-f6a02202.entry.js} +2 -2
- package/dist/core/p-fc3b1155.entry.js +2 -0
- package/dist/core/p-fc3b1155.entry.js.map +1 -0
- package/dist/core/p-ffac41d6.entry.js +2 -0
- package/dist/core/p-ffac41d6.entry.js.map +1 -0
- package/dist/esm/core.js +1 -1
- package/dist/esm/{helpers-f5ff3b42.js → helpers-56631aa0.js} +32 -8
- package/dist/esm/helpers-56631aa0.js.map +1 -0
- 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 +2 -2
- package/dist/esm/ic-alert.entry.js.map +1 -1
- package/dist/esm/ic-back-to-top.entry.js +4 -4
- package/dist/esm/ic-badge.entry.js +4 -4
- package/dist/esm/ic-badge.entry.js.map +1 -1
- 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 +56 -96
- 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 +6 -6
- package/dist/esm/ic-checkbox.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +13 -5
- 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 +3 -3
- package/dist/esm/ic-data-list.entry.js.map +1 -1
- package/dist/esm/ic-data-row.entry.js +4 -4
- package/dist/esm/ic-data-row.entry.js.map +1 -1
- 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 +9 -9
- package/dist/esm/ic-input-label_2.entry.js +6 -6
- package/dist/esm/ic-layout-grid-item.entry.js +66 -0
- package/dist/esm/ic-layout-grid-item.entry.js.map +1 -0
- package/dist/esm/ic-layout-grid.entry.js +152 -0
- package/dist/esm/ic-layout-grid.entry.js.map +1 -0
- 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 +3 -3
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +3 -3
- 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 +10 -6
- package/dist/esm/ic-popover-menu.entry.js.map +1 -1
- 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-section-container.entry.js +2 -2
- package/dist/esm/ic-select.entry.js +7 -7
- package/dist/esm/ic-side-navigation.entry.js +5 -5
- 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 +5 -5
- package/dist/esm/ic-toast.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button-group.entry.js +3 -3
- package/dist/esm/ic-toggle-button.entry.js +3 -3
- 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 +12 -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-button/ic-button.d.ts +4 -0
- package/dist/types/components/ic-chip/ic-chip.d.ts +2 -0
- package/dist/types/components/ic-layout-grid/ic-layout-grid.d.ts +56 -0
- package/dist/types/components/ic-layout-grid/ic-layout-grid.types.d.ts +8 -0
- package/dist/types/components/ic-layout-grid-item/ic-layout-grid-item.d.ts +29 -0
- package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +4 -0
- package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +5 -4
- package/dist/types/components.d.ts +343 -2
- package/dist/types/utils/constants.d.ts +4 -0
- package/dist/types/utils/helpers.d.ts +3 -3
- package/dist/types/utils/types.d.ts +1 -1
- package/hydrate/index.js +659 -278
- package/hydrate/index.mjs +659 -278
- package/package.json +2 -2
- package/vscode-data.json +270 -0
- package/dist/cjs/helpers-8217daf4.js.map +0 -1
- package/dist/core/p-02132a4c.entry.js +0 -2
- package/dist/core/p-08567369.entry.js +0 -2
- package/dist/core/p-08567369.entry.js.map +0 -1
- package/dist/core/p-0f86ea09.entry.js.map +0 -1
- package/dist/core/p-3194e46c.entry.js +0 -2
- package/dist/core/p-43b98687.entry.js +0 -2
- package/dist/core/p-43b98687.entry.js.map +0 -1
- package/dist/core/p-4b8bfb59.entry.js +0 -2
- package/dist/core/p-4b8bfb59.entry.js.map +0 -1
- 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-5fb58cc8.entry.js +0 -2
- package/dist/core/p-5fb58cc8.entry.js.map +0 -1
- package/dist/core/p-627f7172.entry.js +0 -2
- package/dist/core/p-70abcb2b.js +0 -2
- package/dist/core/p-70abcb2b.js.map +0 -1
- package/dist/core/p-773ded36.entry.js +0 -2
- package/dist/core/p-7cada631.entry.js +0 -2
- package/dist/core/p-7cada631.entry.js.map +0 -1
- package/dist/core/p-939adcae.entry.js +0 -2
- package/dist/core/p-939adcae.entry.js.map +0 -1
- package/dist/core/p-97f67617.entry.js +0 -2
- package/dist/core/p-97f67617.entry.js.map +0 -1
- package/dist/core/p-c100724d.entry.js +0 -2
- package/dist/core/p-d85b438a.entry.js +0 -2
- package/dist/core/p-d85b438a.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/esm/helpers-f5ff3b42.js.map +0 -1
- /package/dist/core/{p-06e80441.entry.js.map → p-15dbccc2.entry.js.map} +0 -0
- /package/dist/core/{p-91f6884a.entry.js.map → p-19cf2327.entry.js.map} +0 -0
- /package/dist/core/{p-4b6818d9.entry.js.map → p-1cc402b8.entry.js.map} +0 -0
- /package/dist/core/{p-182b7037.entry.js.map → p-1e2f40b0.entry.js.map} +0 -0
- /package/dist/core/{p-9d5e4b62.entry.js.map → p-21cf2beb.entry.js.map} +0 -0
- /package/dist/core/{p-fc5661ac.entry.js.map → p-287e5c17.entry.js.map} +0 -0
- /package/dist/core/{p-543b90c5.entry.js.map → p-28efe829.entry.js.map} +0 -0
- /package/dist/core/{p-fb6e6ac4.entry.js.map → p-2f4f392f.entry.js.map} +0 -0
- /package/dist/core/{p-4301e11e.entry.js.map → p-313a8a2f.entry.js.map} +0 -0
- /package/dist/core/{p-f4ee5fbb.entry.js.map → p-3dc54847.entry.js.map} +0 -0
- /package/dist/core/{p-0549305b.entry.js.map → p-3e5d7a3d.entry.js.map} +0 -0
- /package/dist/core/{p-ae2ea264.entry.js.map → p-41f92698.entry.js.map} +0 -0
- /package/dist/core/{p-9e051db4.entry.js.map → p-45dd12ee.entry.js.map} +0 -0
- /package/dist/core/{p-018eaee0.entry.js.map → p-493eaabb.entry.js.map} +0 -0
- /package/dist/core/{p-a591ef38.entry.js.map → p-4ca782eb.entry.js.map} +0 -0
- /package/dist/core/{p-056be0df.entry.js.map → p-4d1a3036.entry.js.map} +0 -0
- /package/dist/core/{p-421b5f2d.entry.js.map → p-5f68f62b.entry.js.map} +0 -0
- /package/dist/core/{p-d281c3cf.entry.js.map → p-5fbc8e62.entry.js.map} +0 -0
- /package/dist/core/{p-06b0d0f6.entry.js.map → p-6014ab64.entry.js.map} +0 -0
- /package/dist/core/{p-afde0edc.entry.js.map → p-661ae402.entry.js.map} +0 -0
- /package/dist/core/{p-a2ae5d9e.entry.js.map → p-6a576a8b.entry.js.map} +0 -0
- /package/dist/core/{p-b1b27b7e.entry.js.map → p-6e8ef73c.entry.js.map} +0 -0
- /package/dist/core/{p-2ec0d11c.entry.js.map → p-72a9909c.entry.js.map} +0 -0
- /package/dist/core/{p-f9491692.entry.js.map → p-742a9181.entry.js.map} +0 -0
- /package/dist/core/{p-152ddde9.entry.js.map → p-8a4b12e4.entry.js.map} +0 -0
- /package/dist/core/{p-3448c713.entry.js.map → p-8b5022bc.entry.js.map} +0 -0
- /package/dist/core/{p-ce916f35.entry.js.map → p-9323c234.entry.js.map} +0 -0
- /package/dist/core/{p-50d13439.entry.js.map → p-948f89a0.entry.js.map} +0 -0
- /package/dist/core/{p-ba89fa16.entry.js.map → p-9c013333.entry.js.map} +0 -0
- /package/dist/core/{p-b83cca09.entry.js.map → p-9eeb5e85.entry.js.map} +0 -0
- /package/dist/core/{p-0179fbd3.entry.js.map → p-9f36791b.entry.js.map} +0 -0
- /package/dist/core/{p-8a5b0fb0.entry.js.map → p-a602a8e1.entry.js.map} +0 -0
- /package/dist/core/{p-98869fe7.entry.js.map → p-a77364f5.entry.js.map} +0 -0
- /package/dist/core/{p-6b52e47f.entry.js.map → p-af9c391d.entry.js.map} +0 -0
- /package/dist/core/{p-77750efc.entry.js.map → p-b0d488d0.entry.js.map} +0 -0
- /package/dist/core/{p-cd8dab55.entry.js.map → p-b52000d9.entry.js.map} +0 -0
- /package/dist/core/{p-c100724d.entry.js.map → p-cf631191.entry.js.map} +0 -0
- /package/dist/core/{p-6dd73165.entry.js.map → p-df88ff5b.entry.js.map} +0 -0
- /package/dist/core/{p-bb21268f.entry.js.map → p-e652ab09.entry.js.map} +0 -0
- /package/dist/core/{p-29468171.entry.js.map → p-e876e47c.entry.js.map} +0 -0
- /package/dist/core/{p-ab1103e1.entry.js.map → p-ea778379.entry.js.map} +0 -0
- /package/dist/core/{p-948086f4.entry.js.map → p-ef4b5469.entry.js.map} +0 -0
- /package/dist/core/{p-9ed5f11d.entry.js.map → p-f6a02202.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
|
+
};
|
@@ -483,6 +483,11 @@ video {
|
|
483
483
|
border: var(--ic-space-xxxs) solid var(--ic-alert-border-success);
|
484
484
|
}
|
485
485
|
|
486
|
+
.container-ai {
|
487
|
+
background-color: var(--ic-alert-background-ai);
|
488
|
+
border: var(--ic-space-xxxs) solid var(--ic-alert-border-ai);
|
489
|
+
}
|
490
|
+
|
486
491
|
.alert-icon-container {
|
487
492
|
height: 100%;
|
488
493
|
display: flex;
|
@@ -516,6 +521,10 @@ video {
|
|
516
521
|
background-color: var(--ic-alert-status-type-success);
|
517
522
|
}
|
518
523
|
|
524
|
+
.divider-ai {
|
525
|
+
background-color: var(--ic-alert-status-type-ai);
|
526
|
+
}
|
527
|
+
|
519
528
|
.alert-icon {
|
520
529
|
height: var(--ic-space-lg);
|
521
530
|
width: 1.375rem;
|
@@ -563,6 +572,10 @@ video {
|
|
563
572
|
fill: var(--ic-alert-icon-success);
|
564
573
|
}
|
565
574
|
|
575
|
+
:host([variant="ai"]) .alert-icon svg {
|
576
|
+
fill: var(--ic-alert-icon-ai);
|
577
|
+
}
|
578
|
+
|
566
579
|
.alert-content {
|
567
580
|
display: flex;
|
568
581
|
align-items: center;
|
@@ -282,7 +282,7 @@ export class Alert {
|
|
282
282
|
"mutable": false,
|
283
283
|
"complexType": {
|
284
284
|
"original": "IcStatusVariants",
|
285
|
-
"resolved": "\"error\" | \"info\" | \"neutral\" | \"success\" | \"warning\"",
|
285
|
+
"resolved": "\"ai\" | \"error\" | \"info\" | \"neutral\" | \"success\" | \"warning\"",
|
286
286
|
"references": {
|
287
287
|
"IcStatusVariants": {
|
288
288
|
"location": "import",
|
@@ -43,6 +43,11 @@ export const Variants = {
|
|
43
43
|
heading="Success"
|
44
44
|
message="This alert is for displaying success messages. It has a very long message with lots of text which goes over multiple
|
45
45
|
lines so the alert should expand as well to make sure it doesn't overflow"
|
46
|
+
></ic-alert>
|
47
|
+
<ic-alert
|
48
|
+
variant="ai"
|
49
|
+
heading="Artificial Intelligence (AI)"
|
50
|
+
message="This alert is for displaying AI-related messages"
|
46
51
|
></ic-alert>`,
|
47
52
|
|
48
53
|
name: "Variants",
|
@@ -251,10 +256,10 @@ export const Playground = {
|
|
251
256
|
|
252
257
|
argTypes: {
|
253
258
|
variant: {
|
254
|
-
options: ["neutral", "info", "warning", "error", "success"],
|
259
|
+
options: ["neutral", "info", "warning", "error", "success", "ai"],
|
255
260
|
|
256
261
|
control: {
|
257
|
-
type: "
|
262
|
+
type: "inline-radio",
|
258
263
|
},
|
259
264
|
},
|
260
265
|
|
@@ -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"; }
|
@@ -370,7 +370,7 @@ export class Badge {
|
|
370
370
|
"mutable": false,
|
371
371
|
"complexType": {
|
372
372
|
"original": "IcBadgeVariants",
|
373
|
-
"resolved": "\"custom\" | \"error\" | \"info\" | \"light\" | \"neutral\" | \"success\" | \"warning\" | undefined",
|
373
|
+
"resolved": "\"ai\" | \"custom\" | \"error\" | \"info\" | \"light\" | \"neutral\" | \"success\" | \"warning\" | undefined",
|
374
374
|
"references": {
|
375
375
|
"IcBadgeVariants": {
|
376
376
|
"location": "import",
|
@@ -651,6 +651,103 @@ export const Info = {
|
|
651
651
|
name: "Info",
|
652
652
|
};
|
653
653
|
|
654
|
+
export const AI = {
|
655
|
+
render: () =>
|
656
|
+
html`<div style="padding:16px;">
|
657
|
+
<ic-button variant="secondary" style="margin-right:16px"
|
658
|
+
><ic-badge label="1" slot="badge" variant="ai" size="small"></ic-badge
|
659
|
+
>Small</ic-button
|
660
|
+
>
|
661
|
+
<ic-button variant="secondary" style="margin-right:16px"
|
662
|
+
><ic-badge label="1" slot="badge" variant="ai"></ic-badge
|
663
|
+
>Default</ic-button
|
664
|
+
>
|
665
|
+
<ic-button variant="secondary"
|
666
|
+
><ic-badge label="1" slot="badge" variant="ai" size="large"></ic-badge
|
667
|
+
>Large</ic-button
|
668
|
+
>
|
669
|
+
</div>
|
670
|
+
<div style="padding:16px">
|
671
|
+
<ic-button variant="secondary" style="margin-right:16px"
|
672
|
+
><ic-badge
|
673
|
+
type="dot"
|
674
|
+
slot="badge"
|
675
|
+
variant="ai"
|
676
|
+
size="small"
|
677
|
+
></ic-badge
|
678
|
+
>Small Dot</ic-button
|
679
|
+
>
|
680
|
+
<ic-button variant="secondary" style="margin-right:16px"
|
681
|
+
><ic-badge type="dot" slot="badge" variant="ai"></ic-badge>Default
|
682
|
+
Dot</ic-button
|
683
|
+
>
|
684
|
+
<ic-button variant="secondary"
|
685
|
+
><ic-badge
|
686
|
+
type="dot"
|
687
|
+
slot="badge"
|
688
|
+
variant="ai"
|
689
|
+
size="large"
|
690
|
+
></ic-badge
|
691
|
+
>Large Dot</ic-button
|
692
|
+
>
|
693
|
+
</div>
|
694
|
+
<div style="padding:16px">
|
695
|
+
<ic-button variant="secondary" style="margin-right:16px">
|
696
|
+
<ic-badge type="icon" slot="badge" variant="ai" size="small">
|
697
|
+
<svg
|
698
|
+
slot="badge-icon"
|
699
|
+
xmlns="http://www.w3.org/2000/svg"
|
700
|
+
height="24px"
|
701
|
+
viewBox="0 0 24 24"
|
702
|
+
width="24px"
|
703
|
+
aria-label="Artificial Intelligence (AI)"
|
704
|
+
>
|
705
|
+
<path
|
706
|
+
d="M19,1L17.74,3.75L15,5L17.74,6.26L19,9L20.25,6.26L23,5L20.25,3.75M9,4L6.5,9.5L1,12L6.5,14.5L9,20L11.5,14.5L17,12L11.5,9.5M19,15L17.74,17.74L15,19L17.74,20.25L19,23L20.25,20.25L23,19L20.25,17.74"
|
707
|
+
/>
|
708
|
+
</svg>
|
709
|
+
</ic-badge>
|
710
|
+
Small Icon
|
711
|
+
</ic-button>
|
712
|
+
<ic-button variant="secondary" style="margin-right:16px">
|
713
|
+
<ic-badge type="icon" slot="badge" variant="ai">
|
714
|
+
<svg
|
715
|
+
slot="badge-icon"
|
716
|
+
xmlns="http://www.w3.org/2000/svg"
|
717
|
+
height="24px"
|
718
|
+
viewBox="0 0 24 24"
|
719
|
+
width="24px"
|
720
|
+
aria-label="Artificial Intelligence (AI)"
|
721
|
+
>
|
722
|
+
<path
|
723
|
+
d="M19,1L17.74,3.75L15,5L17.74,6.26L19,9L20.25,6.26L23,5L20.25,3.75M9,4L6.5,9.5L1,12L6.5,14.5L9,20L11.5,14.5L17,12L11.5,9.5M19,15L17.74,17.74L15,19L17.74,20.25L19,23L20.25,20.25L23,19L20.25,17.74"
|
724
|
+
/>
|
725
|
+
</svg>
|
726
|
+
</ic-badge>
|
727
|
+
Default Icon
|
728
|
+
</ic-button>
|
729
|
+
<ic-button variant="secondary">
|
730
|
+
<ic-badge type="icon" slot="badge" variant="ai" size="large">
|
731
|
+
<svg
|
732
|
+
slot="badge-icon"
|
733
|
+
xmlns="http://www.w3.org/2000/svg"
|
734
|
+
height="24px"
|
735
|
+
viewBox="0 0 24 24"
|
736
|
+
width="24px"
|
737
|
+
aria-label="Artificial Intelligence (AI)"
|
738
|
+
>
|
739
|
+
<path
|
740
|
+
d="M19,1L17.74,3.75L15,5L17.74,6.26L19,9L20.25,6.26L23,5L20.25,3.75M9,4L6.5,9.5L1,12L6.5,14.5L9,20L11.5,14.5L17,12L11.5,9.5M19,15L17.74,17.74L15,19L17.74,20.25L19,23L20.25,20.25L23,19L20.25,17.74"
|
741
|
+
/>
|
742
|
+
</svg>
|
743
|
+
</ic-badge>
|
744
|
+
Large Icon
|
745
|
+
</ic-button>
|
746
|
+
</div>`,
|
747
|
+
|
748
|
+
name: "AI",
|
749
|
+
};
|
750
|
+
|
654
751
|
export const Custom = {
|
655
752
|
render: () =>
|
656
753
|
html`<div style="padding:16px;">
|
@@ -1070,6 +1167,7 @@ export const Playground = {
|
|
1070
1167
|
"warning",
|
1071
1168
|
"error",
|
1072
1169
|
"info",
|
1170
|
+
"ai",
|
1073
1171
|
"light",
|
1074
1172
|
"custom",
|
1075
1173
|
],
|
@@ -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"; }
|