@ukic/web-components 3.0.0-alpha.13 → 3.0.0-alpha.15
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/app-globals-1608a8a5.js +54 -0
- package/dist/cjs/app-globals-1608a8a5.js.map +1 -0
- package/dist/cjs/core.cjs.js +3 -3
- package/dist/cjs/{helpers-08a9ec1c.js → helpers-7a599012.js} +2 -2
- package/dist/cjs/{helpers-08a9ec1c.js.map → helpers-7a599012.js.map} +1 -1
- package/dist/cjs/ic-accordion-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-accordion.cjs.entry.js +2 -2
- package/dist/cjs/ic-alert.cjs.entry.js +2 -2
- package/dist/cjs/ic-back-to-top.cjs.entry.js +2 -2
- package/dist/cjs/ic-badge.cjs.entry.js +3 -3
- package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
- 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 +61 -3
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card-vertical.cjs.entry.js +3 -3
- package/dist/cjs/ic-card-vertical.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +7 -7
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +3 -3
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-classification-banner.cjs.entry.js +3 -3
- package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-list.cjs.entry.js +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +2 -2
- package/dist/cjs/ic-dialog.cjs.entry.js +38 -47
- package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-divider.cjs.entry.js +2 -2
- package/dist/cjs/ic-empty-state.cjs.entry.js +2 -2
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +2 -2
- package/dist/cjs/ic-footer-link.cjs.entry.js +2 -2
- package/dist/cjs/ic-footer.cjs.entry.js +2 -2
- package/dist/cjs/ic-hero.cjs.entry.js +2 -2
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +2 -2
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +3 -3
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +2 -2
- 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 +3 -3
- package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +2 -2
- package/dist/cjs/ic-navigation-group.cjs.entry.js +23 -17
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +38 -24
- package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +12 -11
- package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination-item.cjs.entry.js +4 -4
- package/dist/cjs/ic-pagination-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination.cjs.entry.js +7 -7
- package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +7 -6
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +7 -7
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +2 -2
- package/dist/cjs/ic-search-bar.cjs.entry.js +3 -3
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-section-container.cjs.entry.js +3 -3
- package/dist/cjs/ic-select.cjs.entry.js +15 -12
- package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +10 -7
- package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-skeleton.cjs.entry.js +3 -3
- package/dist/cjs/ic-skip-link.cjs.entry.js +11 -10
- package/dist/cjs/ic-skip-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +5 -5
- package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +17 -16
- package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +4 -4
- package/dist/cjs/ic-switch.cjs.entry.js +6 -6
- package/dist/cjs/ic-tab-context.cjs.entry.js +2 -2
- package/dist/cjs/ic-tab-group.cjs.entry.js +4 -4
- package/dist/cjs/ic-tab-panel.cjs.entry.js +3 -3
- package/dist/cjs/ic-tab.cjs.entry.js +3 -3
- package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-text-field.cjs.entry.js +33 -15
- package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +3 -3
- package/dist/cjs/ic-toast-region.cjs.entry.js +2 -2
- package/dist/cjs/ic-toast.cjs.entry.js +6 -6
- package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button-group.cjs.entry.js +4 -4
- package/dist/cjs/ic-toggle-button.cjs.entry.js +5 -5
- package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +5 -9
- package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +2 -2
- package/dist/cjs/{index-d337cd8a.js → index-0236cc4b.js} +3 -1
- package/dist/cjs/index-0236cc4b.js.map +1 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/collection/components/ic-badge/ic-badge.css +4 -0
- package/dist/collection/components/ic-button/ic-button.css +29 -13
- package/dist/collection/components/ic-button/ic-button.js +58 -0
- package/dist/collection/components/ic-button/ic-button.js.map +1 -1
- package/dist/collection/components/ic-button/ic-button.stories.js +184 -5
- package/dist/collection/components/ic-card-vertical/ic-card-vertical.css +1 -1
- package/dist/collection/components/ic-checkbox/ic-checkbox.css +5 -0
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +4 -0
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +5 -5
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
- package/dist/collection/components/ic-chip/ic-chip.css +2 -2
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.css +4 -0
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +1 -1
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +1 -1
- package/dist/collection/components/ic-dialog/ic-dialog.js +57 -66
- package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -1
- package/dist/collection/components/ic-dialog/ic-dialog.stories.js +3 -2
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +2 -1
- package/dist/collection/components/ic-menu-item/ic-menu-item.css +1 -0
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +47 -49
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +47 -17
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.types.js.map +1 -1
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +36 -22
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -1
- package/dist/collection/components/ic-page-header/ic-page-header.js +10 -9
- package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
- package/dist/collection/components/ic-pagination/ic-pagination.css +10 -2
- package/dist/collection/components/ic-pagination/ic-pagination.js +4 -4
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.css +19 -3
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +1 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +5 -4
- 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 +70 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +6 -6
- package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.css +6 -13
- package/dist/collection/components/ic-section-container/ic-section-container.js +2 -2
- package/dist/collection/components/ic-select/ic-select.css +11 -1
- package/dist/collection/components/ic-select/ic-select.js +12 -9
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +10 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +7 -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 +57 -36
- package/dist/collection/components/ic-skeleton/ic-skeleton.js +2 -2
- package/dist/collection/components/ic-skip-link/ic-skip-link.css +22 -2
- package/dist/collection/components/ic-skip-link/ic-skip-link.js +13 -12
- package/dist/collection/components/ic-skip-link/ic-skip-link.js.map +1 -1
- package/dist/collection/components/ic-skip-link/ic-skip-link.stories.js +375 -31
- package/dist/collection/components/ic-status-tag/ic-status-tag.css +2 -1
- package/dist/collection/components/ic-status-tag/ic-status-tag.js +2 -2
- package/dist/collection/components/ic-step/ic-step.css +8 -31
- package/dist/collection/components/ic-step/ic-step.js +14 -13
- package/dist/collection/components/ic-step/ic-step.js.map +1 -1
- package/dist/collection/components/ic-stepper/ic-stepper.js +2 -2
- package/dist/collection/components/ic-stepper/ic-stepper.stories.js +5 -1
- package/dist/collection/components/ic-switch/ic-switch.js +4 -4
- package/dist/collection/components/ic-tab/ic-tab.css +13 -3
- 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.css +1 -0
- package/dist/collection/components/ic-text-field/ic-text-field.js +111 -13
- package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
- package/dist/collection/components/ic-text-field/ic-text-field.stories.js +195 -9
- package/dist/collection/components/ic-theme/ic-theme.js +1 -1
- package/dist/collection/components/ic-toast/ic-toast.css +1 -1
- package/dist/collection/components/ic-toast/ic-toast.js +3 -3
- package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
- package/dist/collection/components/ic-toast-region/ic-toast-region.js +1 -1
- package/dist/collection/components/ic-toggle-button/ic-toggle-button.css +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-top-navigation/ic-top-navigation.css +5 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +2 -6
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.stories.js +12 -19
- package/dist/components/helpers.js +1 -1
- package/dist/components/ic-badge.js +1 -1
- package/dist/components/ic-badge.js.map +1 -1
- package/dist/components/ic-button2.js +59 -1
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card-vertical.js +1 -1
- package/dist/components/ic-card-vertical.js.map +1 -1
- package/dist/components/ic-checkbox-group.js +5 -5
- package/dist/components/ic-checkbox-group.js.map +1 -1
- package/dist/components/ic-checkbox.js +1 -1
- package/dist/components/ic-checkbox.js.map +1 -1
- package/dist/components/ic-chip.js +1 -1
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-classification-banner.js +2 -2
- package/dist/components/ic-classification-banner.js.map +1 -1
- package/dist/components/ic-dialog.js +38 -47
- package/dist/components/ic-dialog.js.map +1 -1
- package/dist/components/ic-input-component-container2.js +1 -1
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-menu-item2.js +1 -1
- package/dist/components/ic-menu-item2.js.map +1 -1
- package/dist/components/ic-navigation-group.js +22 -15
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-menu2.js +37 -23
- package/dist/components/ic-navigation-menu2.js.map +1 -1
- package/dist/components/ic-page-header.js +10 -9
- package/dist/components/ic-page-header.js.map +1 -1
- package/dist/components/ic-pagination-item2.js +2 -2
- package/dist/components/ic-pagination-item2.js.map +1 -1
- package/dist/components/ic-pagination.js +5 -5
- package/dist/components/ic-pagination.js.map +1 -1
- package/dist/components/ic-popover-menu.js +5 -4
- 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-search-bar.js +1 -1
- 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 +13 -10
- package/dist/components/ic-select.js.map +1 -1
- package/dist/components/ic-side-navigation.js +8 -5
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-skeleton.js +2 -2
- package/dist/components/ic-skeleton.js.map +1 -1
- package/dist/components/ic-skip-link.js +10 -9
- package/dist/components/ic-skip-link.js.map +1 -1
- package/dist/components/ic-status-tag.js +3 -3
- package/dist/components/ic-status-tag.js.map +1 -1
- package/dist/components/ic-step.js +15 -14
- package/dist/components/ic-step.js.map +1 -1
- 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 +1 -1
- package/dist/components/ic-tab.js.map +1 -1
- package/dist/components/ic-text-field.js +35 -13
- 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 +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 +3 -3
- package/dist/components/ic-toggle-button.js.map +1 -1
- package/dist/components/ic-top-navigation.js +4 -8
- package/dist/components/ic-top-navigation.js.map +1 -1
- package/dist/components/index.js +50 -0
- package/dist/components/index.js.map +1 -1
- package/dist/core/core.css +353 -245
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/p-03248270.entry.js +2 -0
- package/dist/core/p-03248270.entry.js.map +1 -0
- package/dist/core/p-0e5e9a11.entry.js +2 -0
- package/dist/core/p-0e5e9a11.entry.js.map +1 -0
- package/dist/core/{p-0f34465d.entry.js → p-115a684f.entry.js} +2 -2
- package/dist/core/p-1446973e.js +2 -0
- package/dist/core/p-1446973e.js.map +1 -0
- package/dist/core/p-167834c7.entry.js +2 -0
- package/dist/core/p-167834c7.entry.js.map +1 -0
- package/dist/core/{p-4e4014cd.entry.js → p-2180f2d1.entry.js} +2 -2
- package/dist/core/{p-8856dff4.entry.js → p-22eed13e.entry.js} +2 -2
- package/dist/core/p-26c50065.entry.js +2 -0
- package/dist/core/p-26c50065.entry.js.map +1 -0
- package/dist/core/{p-e25feba1.entry.js → p-2af04ace.entry.js} +2 -2
- package/dist/core/{p-e25feba1.entry.js.map → p-2af04ace.entry.js.map} +1 -1
- package/dist/core/{p-196e3d33.entry.js → p-2dd6e5bb.entry.js} +2 -2
- package/dist/core/p-2dd6e5bb.entry.js.map +1 -0
- package/dist/core/{p-fbce5f9a.entry.js → p-2f30c66a.entry.js} +2 -2
- package/dist/core/p-30b56108.entry.js +2 -0
- package/dist/core/p-30b56108.entry.js.map +1 -0
- package/dist/core/p-3373b7c4.entry.js +2 -0
- package/dist/core/p-3373b7c4.entry.js.map +1 -0
- package/dist/core/{p-de7542fa.entry.js → p-33c4851a.entry.js} +2 -2
- package/dist/core/p-33c4851a.entry.js.map +1 -0
- package/dist/core/p-38dfe702.entry.js +2 -0
- package/dist/core/p-38dfe702.entry.js.map +1 -0
- package/dist/core/{p-c19cdc86.entry.js → p-44594b52.entry.js} +2 -2
- package/dist/core/{p-72140621.entry.js → p-4681ab85.entry.js} +2 -2
- package/dist/core/{p-78c3ca49.entry.js → p-51aa5330.entry.js} +2 -2
- package/dist/core/p-54100d6b.entry.js +2 -0
- package/dist/core/p-54100d6b.entry.js.map +1 -0
- package/dist/core/p-54f6ad93.entry.js +2 -0
- package/dist/core/p-54f6ad93.entry.js.map +1 -0
- package/dist/core/p-5537abe7.entry.js +2 -0
- package/dist/core/p-5537abe7.entry.js.map +1 -0
- package/dist/core/{p-1fccec19.entry.js → p-56eb4f02.entry.js} +2 -2
- package/dist/core/p-5af75c16.entry.js +2 -0
- package/dist/core/p-5af75c16.entry.js.map +1 -0
- package/dist/core/p-5d944741.entry.js +2 -0
- package/dist/core/p-5d944741.entry.js.map +1 -0
- package/dist/core/p-5ee41fb7.entry.js +2 -0
- package/dist/core/p-5ee41fb7.entry.js.map +1 -0
- package/dist/core/{p-c3785d57.entry.js → p-5f9a9490.entry.js} +2 -2
- package/dist/core/{p-2cb55e86.entry.js → p-62a3ddd1.entry.js} +2 -2
- package/dist/core/{p-df56bc50.entry.js → p-6ab9a62b.entry.js} +2 -2
- package/dist/core/{p-9206379d.entry.js → p-702166d2.entry.js} +2 -2
- package/dist/core/{p-27de359f.entry.js → p-79e9381d.entry.js} +2 -2
- package/dist/core/p-79fef925.js +3 -0
- package/dist/core/p-79fef925.js.map +1 -0
- package/dist/core/p-7acf9ff5.entry.js +2 -0
- package/dist/core/p-7acf9ff5.entry.js.map +1 -0
- package/dist/core/{p-5fa5ba50.entry.js → p-7b1869e9.entry.js} +2 -2
- package/dist/core/{p-9ee2fe04.entry.js → p-7e243134.entry.js} +2 -2
- package/dist/core/{p-111b3186.entry.js → p-8db464d3.entry.js} +2 -2
- package/dist/core/{p-55eb89cc.entry.js → p-8faa9411.entry.js} +2 -2
- package/dist/core/p-8faa9411.entry.js.map +1 -0
- package/dist/core/{p-8870d5d8.entry.js → p-8fbcf586.entry.js} +2 -2
- package/dist/core/{p-bfee1e84.entry.js → p-9b3be8b9.entry.js} +2 -2
- package/dist/core/{p-5b7d8ee9.entry.js → p-9f6cfe53.entry.js} +2 -2
- package/dist/core/{p-98f906ba.entry.js → p-a3607521.entry.js} +2 -2
- package/dist/core/{p-59fc58e1.entry.js → p-a509a2ac.entry.js} +2 -2
- package/dist/core/p-b34dffde.entry.js +2 -0
- package/dist/core/p-b34dffde.entry.js.map +1 -0
- package/dist/core/{p-1d6638c8.entry.js → p-b504da19.entry.js} +2 -2
- package/dist/core/p-b504da19.entry.js.map +1 -0
- package/dist/core/{p-a56ec6d8.entry.js → p-b8b0146c.entry.js} +2 -2
- package/dist/core/{p-f486d4f4.entry.js → p-b8d90c6d.entry.js} +2 -2
- package/dist/core/p-b9827aa1.entry.js +2 -0
- package/dist/core/p-b9827aa1.entry.js.map +1 -0
- package/dist/core/{p-180ea8ac.entry.js → p-c23d8e7f.entry.js} +2 -2
- package/dist/core/{p-ce0fb53a.entry.js → p-c7321a55.entry.js} +2 -2
- package/dist/core/{p-94748b96.entry.js → p-cb0b0d39.entry.js} +2 -2
- package/dist/core/{p-bd802c2f.entry.js → p-cccf78f3.entry.js} +2 -2
- package/dist/core/{p-144a31ec.entry.js → p-d15aa9a1.entry.js} +2 -2
- package/dist/core/{p-90de3f5d.entry.js → p-d5054edb.entry.js} +2 -2
- package/dist/core/p-d5054edb.entry.js.map +1 -0
- package/dist/core/{p-269f841d.js → p-db4c581c.js} +2 -2
- package/dist/core/p-e3314b15.entry.js +2 -0
- package/dist/core/p-e3314b15.entry.js.map +1 -0
- package/dist/core/{p-47b46637.entry.js → p-e4f34246.entry.js} +2 -2
- package/dist/core/{p-30a262d2.entry.js → p-e54842c7.entry.js} +2 -2
- package/dist/core/p-e54842c7.entry.js.map +1 -0
- package/dist/core/{p-40bc1f3e.entry.js → p-e758962b.entry.js} +2 -2
- package/dist/core/p-e758962b.entry.js.map +1 -0
- package/dist/core/p-e97d282e.entry.js +2 -0
- package/dist/core/p-e97d282e.entry.js.map +1 -0
- package/dist/core/p-ecf68c88.entry.js +2 -0
- package/dist/core/p-ecf68c88.entry.js.map +1 -0
- package/dist/core/{p-999102ee.entry.js → p-f27ae8e6.entry.js} +2 -2
- package/dist/core/{p-78c51cba.entry.js → p-f482f6d9.entry.js} +2 -2
- package/dist/core/{p-4a5ab31e.entry.js → p-f6e19998.entry.js} +2 -2
- package/dist/core/p-f6e19998.entry.js.map +1 -0
- package/dist/core/{p-e30c6d79.entry.js → p-ff6f7f3e.entry.js} +2 -2
- package/dist/core/p-ff6f7f3e.entry.js.map +1 -0
- package/dist/esm/app-globals-85eb2251.js +52 -0
- package/dist/esm/app-globals-85eb2251.js.map +1 -0
- package/dist/esm/core.js +4 -4
- package/dist/esm/{helpers-de6293bf.js → helpers-0bd0d9f3.js} +2 -2
- package/dist/esm/{helpers-de6293bf.js.map → helpers-0bd0d9f3.js.map} +1 -1
- package/dist/esm/ic-accordion-group.entry.js +2 -2
- package/dist/esm/ic-accordion.entry.js +2 -2
- package/dist/esm/ic-alert.entry.js +2 -2
- package/dist/esm/ic-back-to-top.entry.js +2 -2
- package/dist/esm/ic-badge.entry.js +3 -3
- package/dist/esm/ic-badge.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb-group.entry.js +2 -2
- package/dist/esm/ic-breadcrumb.entry.js +2 -2
- package/dist/esm/ic-button_3.entry.js +61 -3
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card-vertical.entry.js +3 -3
- package/dist/esm/ic-card-vertical.entry.js.map +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +7 -7
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ic-checkbox.entry.js +3 -3
- package/dist/esm/ic-checkbox.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +3 -3
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-classification-banner.entry.js +3 -3
- package/dist/esm/ic-classification-banner.entry.js.map +1 -1
- package/dist/esm/ic-data-list.entry.js +1 -1
- package/dist/esm/ic-data-row.entry.js +2 -2
- package/dist/esm/ic-dialog.entry.js +38 -47
- package/dist/esm/ic-dialog.entry.js.map +1 -1
- package/dist/esm/ic-divider.entry.js +2 -2
- package/dist/esm/ic-empty-state.entry.js +2 -2
- package/dist/esm/ic-footer-link-group.entry.js +2 -2
- package/dist/esm/ic-footer-link.entry.js +2 -2
- package/dist/esm/ic-footer.entry.js +2 -2
- package/dist/esm/ic-hero.entry.js +2 -2
- package/dist/esm/ic-horizontal-scroll.entry.js +2 -2
- package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
- package/dist/esm/ic-input-component-container_3.entry.js +3 -3
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +2 -2
- 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 +3 -3
- package/dist/esm/ic-menu-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-button.entry.js +2 -2
- package/dist/esm/ic-navigation-group.entry.js +23 -17
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +2 -2
- package/dist/esm/ic-navigation-menu.entry.js +38 -24
- package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
- package/dist/esm/ic-page-header.entry.js +12 -11
- package/dist/esm/ic-page-header.entry.js.map +1 -1
- package/dist/esm/ic-pagination-item.entry.js +4 -4
- package/dist/esm/ic-pagination-item.entry.js.map +1 -1
- package/dist/esm/ic-pagination.entry.js +7 -7
- package/dist/esm/ic-pagination.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +7 -6
- package/dist/esm/ic-popover-menu.entry.js.map +1 -1
- package/dist/esm/ic-radio-group.entry.js +7 -7
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +2 -2
- package/dist/esm/ic-search-bar.entry.js +3 -3
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-section-container.entry.js +3 -3
- package/dist/esm/ic-select.entry.js +15 -12
- package/dist/esm/ic-select.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +10 -7
- package/dist/esm/ic-side-navigation.entry.js.map +1 -1
- package/dist/esm/ic-skeleton.entry.js +3 -3
- package/dist/esm/ic-skip-link.entry.js +11 -10
- package/dist/esm/ic-skip-link.entry.js.map +1 -1
- package/dist/esm/ic-status-tag.entry.js +5 -5
- package/dist/esm/ic-status-tag.entry.js.map +1 -1
- package/dist/esm/ic-step.entry.js +17 -16
- package/dist/esm/ic-step.entry.js.map +1 -1
- package/dist/esm/ic-stepper.entry.js +4 -4
- package/dist/esm/ic-switch.entry.js +6 -6
- package/dist/esm/ic-tab-context.entry.js +2 -2
- package/dist/esm/ic-tab-group.entry.js +4 -4
- package/dist/esm/ic-tab-panel.entry.js +3 -3
- package/dist/esm/ic-tab.entry.js +3 -3
- package/dist/esm/ic-tab.entry.js.map +1 -1
- package/dist/esm/ic-text-field.entry.js +33 -15
- package/dist/esm/ic-text-field.entry.js.map +1 -1
- package/dist/esm/ic-theme.entry.js +3 -3
- package/dist/esm/ic-toast-region.entry.js +2 -2
- package/dist/esm/ic-toast.entry.js +6 -6
- package/dist/esm/ic-toast.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button-group.entry.js +4 -4
- package/dist/esm/ic-toggle-button.entry.js +5 -5
- package/dist/esm/ic-toggle-button.entry.js.map +1 -1
- package/dist/esm/ic-top-navigation.entry.js +5 -9
- package/dist/esm/ic-top-navigation.entry.js.map +1 -1
- package/dist/esm/ic-typography.entry.js +2 -2
- package/dist/esm/{index-a7a720e7.js → index-0eefab7d.js} +3 -2
- package/dist/esm/index-0eefab7d.js.map +1 -0
- package/dist/esm/loader.js +4 -4
- package/dist/types/components/ic-button/ic-button.d.ts +1 -0
- package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +1 -1
- package/dist/types/components/ic-dialog/ic-dialog.d.ts +4 -4
- package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +9 -4
- package/dist/types/components/ic-navigation-group/ic-navigation-group.types.d.ts +3 -0
- package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +2 -0
- package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +1 -1
- package/dist/types/components/ic-skip-link/ic-skip-link.d.ts +4 -4
- package/dist/types/components/ic-text-field/ic-text-field.d.ts +17 -1
- package/dist/types/components.d.ts +59 -26
- package/hydrate/index.js +358 -211
- package/hydrate/index.mjs +358 -211
- package/package.json +2 -2
- package/vscode-data.json +28 -12
- package/dist/cjs/app-globals-3a1e7e63.js +0 -7
- package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
- package/dist/cjs/index-d337cd8a.js.map +0 -1
- package/dist/core/p-052d1ff0.entry.js +0 -2
- package/dist/core/p-052d1ff0.entry.js.map +0 -1
- package/dist/core/p-08fbea60.entry.js +0 -2
- package/dist/core/p-08fbea60.entry.js.map +0 -1
- package/dist/core/p-0b757d78.entry.js +0 -2
- package/dist/core/p-0b757d78.entry.js.map +0 -1
- package/dist/core/p-196e3d33.entry.js.map +0 -1
- package/dist/core/p-1d6638c8.entry.js.map +0 -1
- package/dist/core/p-1d9a929b.entry.js +0 -2
- package/dist/core/p-1d9a929b.entry.js.map +0 -1
- package/dist/core/p-30a262d2.entry.js.map +0 -1
- package/dist/core/p-40bc1f3e.entry.js.map +0 -1
- package/dist/core/p-4a5ab31e.entry.js.map +0 -1
- package/dist/core/p-55eb89cc.entry.js.map +0 -1
- package/dist/core/p-59287779.entry.js +0 -2
- package/dist/core/p-59287779.entry.js.map +0 -1
- package/dist/core/p-6c8e72b4.entry.js +0 -2
- package/dist/core/p-6c8e72b4.entry.js.map +0 -1
- package/dist/core/p-6fdb8a79.entry.js +0 -2
- package/dist/core/p-6fdb8a79.entry.js.map +0 -1
- package/dist/core/p-76bdbc98.entry.js +0 -2
- package/dist/core/p-76bdbc98.entry.js.map +0 -1
- package/dist/core/p-7ea79205.entry.js +0 -2
- package/dist/core/p-7ea79205.entry.js.map +0 -1
- package/dist/core/p-8577de91.entry.js +0 -2
- package/dist/core/p-8577de91.entry.js.map +0 -1
- package/dist/core/p-8b928cc9.entry.js +0 -2
- package/dist/core/p-8b928cc9.entry.js.map +0 -1
- package/dist/core/p-8d1bee7a.entry.js +0 -2
- package/dist/core/p-8d1bee7a.entry.js.map +0 -1
- package/dist/core/p-8e4e97b4.js +0 -3
- package/dist/core/p-8e4e97b4.js.map +0 -1
- package/dist/core/p-8f319e1e.entry.js +0 -2
- package/dist/core/p-8f319e1e.entry.js.map +0 -1
- package/dist/core/p-90de3f5d.entry.js.map +0 -1
- package/dist/core/p-912c8594.entry.js +0 -2
- package/dist/core/p-912c8594.entry.js.map +0 -1
- package/dist/core/p-9b741f96.entry.js +0 -2
- package/dist/core/p-9b741f96.entry.js.map +0 -1
- package/dist/core/p-9bcd2c77.entry.js +0 -2
- package/dist/core/p-9bcd2c77.entry.js.map +0 -1
- package/dist/core/p-abf767e3.entry.js +0 -2
- package/dist/core/p-abf767e3.entry.js.map +0 -1
- package/dist/core/p-b594bf26.entry.js +0 -2
- package/dist/core/p-b594bf26.entry.js.map +0 -1
- package/dist/core/p-caa46d81.entry.js +0 -2
- package/dist/core/p-caa46d81.entry.js.map +0 -1
- package/dist/core/p-de7542fa.entry.js.map +0 -1
- package/dist/core/p-e1255160.js +0 -2
- package/dist/core/p-e1255160.js.map +0 -1
- package/dist/core/p-e30c6d79.entry.js.map +0 -1
- package/dist/esm/app-globals-0f993ce5.js +0 -5
- package/dist/esm/app-globals-0f993ce5.js.map +0 -1
- package/dist/esm/index-a7a720e7.js.map +0 -1
- /package/dist/core/{p-0f34465d.entry.js.map → p-115a684f.entry.js.map} +0 -0
- /package/dist/core/{p-4e4014cd.entry.js.map → p-2180f2d1.entry.js.map} +0 -0
- /package/dist/core/{p-8856dff4.entry.js.map → p-22eed13e.entry.js.map} +0 -0
- /package/dist/core/{p-fbce5f9a.entry.js.map → p-2f30c66a.entry.js.map} +0 -0
- /package/dist/core/{p-c19cdc86.entry.js.map → p-44594b52.entry.js.map} +0 -0
- /package/dist/core/{p-72140621.entry.js.map → p-4681ab85.entry.js.map} +0 -0
- /package/dist/core/{p-78c3ca49.entry.js.map → p-51aa5330.entry.js.map} +0 -0
- /package/dist/core/{p-1fccec19.entry.js.map → p-56eb4f02.entry.js.map} +0 -0
- /package/dist/core/{p-c3785d57.entry.js.map → p-5f9a9490.entry.js.map} +0 -0
- /package/dist/core/{p-2cb55e86.entry.js.map → p-62a3ddd1.entry.js.map} +0 -0
- /package/dist/core/{p-df56bc50.entry.js.map → p-6ab9a62b.entry.js.map} +0 -0
- /package/dist/core/{p-9206379d.entry.js.map → p-702166d2.entry.js.map} +0 -0
- /package/dist/core/{p-27de359f.entry.js.map → p-79e9381d.entry.js.map} +0 -0
- /package/dist/core/{p-5fa5ba50.entry.js.map → p-7b1869e9.entry.js.map} +0 -0
- /package/dist/core/{p-9ee2fe04.entry.js.map → p-7e243134.entry.js.map} +0 -0
- /package/dist/core/{p-111b3186.entry.js.map → p-8db464d3.entry.js.map} +0 -0
- /package/dist/core/{p-8870d5d8.entry.js.map → p-8fbcf586.entry.js.map} +0 -0
- /package/dist/core/{p-bfee1e84.entry.js.map → p-9b3be8b9.entry.js.map} +0 -0
- /package/dist/core/{p-5b7d8ee9.entry.js.map → p-9f6cfe53.entry.js.map} +0 -0
- /package/dist/core/{p-98f906ba.entry.js.map → p-a3607521.entry.js.map} +0 -0
- /package/dist/core/{p-59fc58e1.entry.js.map → p-a509a2ac.entry.js.map} +0 -0
- /package/dist/core/{p-a56ec6d8.entry.js.map → p-b8b0146c.entry.js.map} +0 -0
- /package/dist/core/{p-f486d4f4.entry.js.map → p-b8d90c6d.entry.js.map} +0 -0
- /package/dist/core/{p-180ea8ac.entry.js.map → p-c23d8e7f.entry.js.map} +0 -0
- /package/dist/core/{p-ce0fb53a.entry.js.map → p-c7321a55.entry.js.map} +0 -0
- /package/dist/core/{p-94748b96.entry.js.map → p-cb0b0d39.entry.js.map} +0 -0
- /package/dist/core/{p-bd802c2f.entry.js.map → p-cccf78f3.entry.js.map} +0 -0
- /package/dist/core/{p-144a31ec.entry.js.map → p-d15aa9a1.entry.js.map} +0 -0
- /package/dist/core/{p-269f841d.js.map → p-db4c581c.js.map} +0 -0
- /package/dist/core/{p-47b46637.entry.js.map → p-e4f34246.entry.js.map} +0 -0
- /package/dist/core/{p-999102ee.entry.js.map → p-f27ae8e6.entry.js.map} +0 -0
- /package/dist/core/{p-78c51cba.entry.js.map → p-f482f6d9.entry.js.map} +0 -0
@@ -7,7 +7,7 @@ export default {
|
|
7
7
|
|
8
8
|
export const Default = {
|
9
9
|
render: () =>
|
10
|
-
html`<ic-skip-link target="
|
10
|
+
html`<ic-skip-link target="page-content"></ic-skip-link>
|
11
11
|
<ic-top-navigation app-title="Application Name">
|
12
12
|
<svg
|
13
13
|
slot="app-icon"
|
@@ -30,7 +30,7 @@ export const Default = {
|
|
30
30
|
|
31
31
|
export const FullWidth = {
|
32
32
|
render: () =>
|
33
|
-
html`<ic-skip-link target="
|
33
|
+
html`<ic-skip-link target="page-content" full-width="true"></ic-skip-link>
|
34
34
|
<ic-top-navigation app-title="Application Name">
|
35
35
|
<svg
|
36
36
|
slot="app-icon"
|
@@ -51,41 +51,385 @@ export const FullWidth = {
|
|
51
51
|
name: "Full width",
|
52
52
|
};
|
53
53
|
|
54
|
-
export const
|
54
|
+
export const CustomTopPosition = {
|
55
55
|
render: () =>
|
56
|
-
html`<
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
viewBox="0 0 24 24"
|
63
|
-
width="24px"
|
64
|
-
fill="#000000"
|
56
|
+
html`<div style="display: flex; flex-direction: column; min-height: 100vh;">
|
57
|
+
<div
|
58
|
+
id="cookie-banner"
|
59
|
+
aria-label="cookies banner"
|
60
|
+
role="region"
|
61
|
+
style="background: var(--ic-architectural-60); box-shadow: var(--ic-elevation-modal); z-index: var(--ic-z-index-classification-banner); position: sticky; top: 0; width: 100%; padding: var(--ic-space-md) 0"
|
65
62
|
>
|
66
|
-
<
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
63
|
+
<ic-section-container full-height aligned="full-width">
|
64
|
+
<ic-typography variant="h2">
|
65
|
+
Cookies and Storage on this site
|
66
|
+
</ic-typography>
|
67
|
+
<ic-typography variant="body">
|
68
|
+
We’d like to use analytics cookies to understand how you use the
|
69
|
+
Design System, so that we can make improvements. Additionally, we
|
70
|
+
use local storage to improve your experience by remembering your
|
71
|
+
preferences.
|
72
|
+
</ic-typography>
|
73
|
+
<div
|
74
|
+
className="buttons"
|
75
|
+
style="display: grid; column-gap: var(--ic-space-md); grid-template-columns: auto auto auto; justify-content: start; align-items: center; padding: var(--ic-space-md) 0 var(--ic-space-xs);"
|
76
|
+
>
|
77
|
+
<ic-button onclick="closeCookieBanner()"> Accept </ic-button>
|
78
|
+
<ic-button variant="secondary" onclick="closeCookieBanner()">
|
79
|
+
Decline
|
80
|
+
</ic-button>
|
81
|
+
<ic-link href=""> Manage preferences </ic-link>
|
82
|
+
</div>
|
83
|
+
</ic-section-container>
|
84
|
+
</div>
|
85
|
+
<ic-skip-link target="page-content"></ic-skip-link>
|
86
|
+
<ic-top-navigation
|
87
|
+
app-title="Application Name"
|
88
|
+
status="alpha"
|
89
|
+
version="v0.0.7"
|
90
|
+
content-aligned="center"
|
91
|
+
>
|
92
|
+
<svg
|
93
|
+
slot="app-icon"
|
94
|
+
xmlns="http://www.w3.org/2000/svg"
|
95
|
+
height="24px"
|
96
|
+
viewBox="0 0 24 24"
|
97
|
+
width="24px"
|
98
|
+
fill="#000000"
|
99
|
+
>
|
100
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
101
|
+
<path
|
102
|
+
d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-5.5-2.5l7.51-3.49L17.5 6.5 9.99 9.99 6.5 17.5zm5.5-6.6c.61 0 1.1.49 1.1 1.1s-.49 1.1-1.1 1.1-1.1-.49-1.1-1.1.49-1.1 1.1-1.1z"
|
103
|
+
/>
|
104
|
+
</svg>
|
105
|
+
<ic-search-bar
|
106
|
+
slot="search"
|
107
|
+
placeholder="Search"
|
108
|
+
label="Search"
|
109
|
+
></ic-search-bar>
|
110
|
+
<ic-navigation-button
|
111
|
+
label="button1"
|
112
|
+
slot="buttons"
|
113
|
+
onclick="alert('test')"
|
114
|
+
>
|
115
|
+
<svg
|
116
|
+
slot="icon"
|
117
|
+
xmlns="http://www.w3.org/2000/svg"
|
118
|
+
height="24px"
|
119
|
+
viewBox="0 0 24 24"
|
120
|
+
width="24px"
|
121
|
+
fill="#000000"
|
122
|
+
>
|
123
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
124
|
+
<path
|
125
|
+
d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-5.5-2.5l7.51-3.49L17.5 6.5 9.99 9.99 6.5 17.5zm5.5-6.6c.61 0 1.1.49 1.1 1.1s-.49 1.1-1.1 1.1-1.1-.49-1.1-1.1.49-1.1 1.1-1.1z"
|
126
|
+
/>
|
127
|
+
</svg>
|
128
|
+
</ic-navigation-button>
|
129
|
+
<ic-navigation-item
|
130
|
+
slot="navigation"
|
131
|
+
label="Navigation"
|
132
|
+
href="/"
|
133
|
+
></ic-navigation-item>
|
134
|
+
<ic-navigation-group
|
135
|
+
slot="navigation"
|
136
|
+
label="Navigation group"
|
137
|
+
expandable="true"
|
138
|
+
>
|
139
|
+
<ic-navigation-item
|
140
|
+
label="Navigation"
|
141
|
+
href="/"
|
142
|
+
></ic-navigation-item>
|
143
|
+
<ic-navigation-item
|
144
|
+
label="Navigation"
|
145
|
+
href="/"
|
146
|
+
></ic-navigation-item>
|
147
|
+
</ic-navigation-group>
|
148
|
+
</ic-top-navigation>
|
149
|
+
<main style="height: 100%">
|
150
|
+
<ic-section-container aligned="center" id="page-content">
|
151
|
+
<ic-typography
|
152
|
+
>Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
153
|
+
Vestibulum pharetra scelerisque arcu, vitae semper nisl rhoncus
|
154
|
+
ut. Vestibulum molestie enim at sollicitudin pellentesque. Proin
|
155
|
+
sit amet augue sit amet dui suscipit lobortis. Nullam at
|
156
|
+
consectetur ante. Suspendisse mollis ultricies porttitor. Nunc
|
157
|
+
laoreet leo tortor, ut tristique odio finibus a. In rutrum
|
158
|
+
convallis purus, vitae tristique tortor sagittis vel. Donec dictum
|
159
|
+
nunc a elit tristique, et facilisis est condimentum. Pellentesque
|
160
|
+
maximus nulla libero, nec auctor urna consequat nec. Class aptent
|
161
|
+
taciti sociosqu ad litora torquent per conubia nostra, per
|
162
|
+
inceptos himenaeos. In maximus velit a erat volutpat, sit amet
|
163
|
+
consequat velit rhoncus. Mauris pretium neque eget ante
|
164
|
+
consectetur consectetur. Morbi a consequat lectus. Donec venenatis
|
165
|
+
ultricies sem nec pulvinar. Fusce lacus augue, laoreet id pretium
|
166
|
+
id, efficitur nec leo.</ic-typography
|
167
|
+
>
|
168
|
+
<br />
|
169
|
+
<ic-skip-link
|
170
|
+
label="Skip to options"
|
171
|
+
target="page-content"
|
172
|
+
inline="true"
|
173
|
+
></ic-skip-link>
|
174
|
+
<br />
|
175
|
+
<ic-typography
|
176
|
+
>Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
177
|
+
Vestibulum pharetra scelerisque arcu, vitae semper nisl rhoncus
|
178
|
+
ut. Vestibulum molestie enim at sollicitudin pellentesque. Proin
|
179
|
+
sit amet augue sit amet dui suscipit lobortis. Nullam at
|
180
|
+
consectetur ante. Suspendisse mollis ultricies porttitor. Nunc
|
181
|
+
laoreet leo tortor, ut tristique odio finibus a. In rutrum
|
182
|
+
convallis purus, vitae tristique tortor sagittis vel. Donec dictum
|
183
|
+
nunc a elit tristique, et facilisis est condimentum. Pellentesque
|
184
|
+
maximus nulla libero, nec auctor urna consequat nec. Class aptent
|
185
|
+
taciti sociosqu ad litora torquent per conubia nostra, per
|
186
|
+
inceptos himenaeos. In maximus velit a erat volutpat, sit amet
|
187
|
+
consequat velit rhoncus. Mauris pretium neque eget ante
|
188
|
+
consectetur consectetur. Morbi a consequat lectus. Donec venenatis
|
189
|
+
ultricies sem nec pulvinar. Fusce lacus augue, laoreet id pretium
|
190
|
+
id, efficitur nec leo.</ic-typography
|
191
|
+
>
|
192
|
+
<div id="options">
|
193
|
+
<ic-checkbox-group label="This is a label" required name="group1">
|
194
|
+
<ic-checkbox
|
195
|
+
value="valueName1"
|
196
|
+
label="Unselected / Default"
|
197
|
+
></ic-checkbox>
|
198
|
+
<ic-checkbox
|
199
|
+
value="valueName2"
|
200
|
+
label="Selected / Default"
|
201
|
+
checked
|
202
|
+
></ic-checkbox>
|
203
|
+
<ic-checkbox
|
204
|
+
value="valueName3"
|
205
|
+
label="Unselected / Disabled"
|
206
|
+
Disabled
|
207
|
+
></ic-checkbox>
|
208
|
+
</ic-checkbox-group>
|
209
|
+
</div>
|
210
|
+
</ic-section-container>
|
211
|
+
</main>
|
212
|
+
<ic-footer
|
213
|
+
aligned="full-width"
|
214
|
+
description="The ICDS is maintained by the Design Practice Team. If you've got a question or want to feedback,
|
215
|
+
please get in touch."
|
216
|
+
caption="All content is available under the Open Government Licence v3.0, except source code and code examples which are available under the MIT Licence."
|
217
|
+
></ic-footer>
|
218
|
+
</div>
|
219
|
+
<script>
|
220
|
+
const debounce = (func, delay) => {
|
221
|
+
let timeout;
|
222
|
+
return (...args) => {
|
223
|
+
clearTimeout(timeout);
|
224
|
+
timeout = setTimeout(() => func(...args), delay);
|
225
|
+
};
|
226
|
+
};
|
227
|
+
const updateSkipLinkPosition = () => {
|
228
|
+
const cookieBanner = document.getElementById("cookie-banner");
|
229
|
+
const skipLink = document.querySelector("ic-skip-link");
|
230
|
+
if (cookieBanner && skipLink) {
|
231
|
+
requestAnimationFrame(() => {
|
232
|
+
const bannerHeight = cookieBanner.offsetHeight;
|
233
|
+
skipLink.style.setProperty(
|
234
|
+
"--ic-skip-link-position-top",
|
235
|
+
bannerHeight + 12 + "px"
|
236
|
+
);
|
237
|
+
});
|
238
|
+
}
|
239
|
+
};
|
240
|
+
const observeHydration = () => {
|
241
|
+
const cookieBanner = document.getElementById("cookie-banner");
|
242
|
+
const sectionContainer = cookieBanner?.querySelector(
|
243
|
+
"ic-section-container"
|
244
|
+
);
|
245
|
+
if (sectionContainer) {
|
246
|
+
const observer = new MutationObserver((mutationsList) => {
|
247
|
+
for (const mutation of mutationsList) {
|
248
|
+
if (
|
249
|
+
mutation.type === "attributes" &&
|
250
|
+
mutation.attributeName === "class" &&
|
251
|
+
sectionContainer.classList.contains("hydrated")
|
252
|
+
) {
|
253
|
+
updateSkipLinkPosition();
|
254
|
+
observer.disconnect();
|
255
|
+
}
|
256
|
+
}
|
257
|
+
});
|
258
|
+
observer.observe(sectionContainer, { attributes: true });
|
259
|
+
}
|
260
|
+
};
|
261
|
+
document.addEventListener("DOMContentLoaded", () => {
|
262
|
+
observeHydration();
|
263
|
+
const debouncedResize = debounce(updateSkipLinkPosition, 100);
|
264
|
+
window.addEventListener("resize", debouncedResize);
|
265
|
+
});
|
266
|
+
const closeCookieBanner = () => {
|
267
|
+
const cookieBanner = document.getElementById("cookie-banner");
|
268
|
+
cookieBanner.style.setProperty("display", "none");
|
269
|
+
updateSkipLinkPosition();
|
270
|
+
};
|
271
|
+
</script>`,
|
272
|
+
|
273
|
+
name: "Custom top position",
|
274
|
+
parameters: {
|
275
|
+
layout: "fullscreen",
|
276
|
+
},
|
277
|
+
};
|
278
|
+
|
279
|
+
export const Inline = {
|
280
|
+
render: () =>
|
281
|
+
html`<ic-skip-link target="page-content"></ic-skip-link>
|
282
|
+
<div>
|
283
|
+
<div style="display: flex; flex-direction: column; min-height: 100vh;">
|
284
|
+
<ic-top-navigation
|
285
|
+
app-title="Application Name"
|
286
|
+
status="alpha"
|
287
|
+
version="v0.0.7"
|
288
|
+
content-aligned="center"
|
289
|
+
>
|
290
|
+
<svg
|
291
|
+
slot="app-icon"
|
292
|
+
xmlns="http://www.w3.org/2000/svg"
|
293
|
+
height="24px"
|
294
|
+
viewBox="0 0 24 24"
|
295
|
+
width="24px"
|
296
|
+
fill="#000000"
|
297
|
+
>
|
298
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
299
|
+
<path
|
300
|
+
d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-5.5-2.5l7.51-3.49L17.5 6.5 9.99 9.99 6.5 17.5zm5.5-6.6c.61 0 1.1.49 1.1 1.1s-.49 1.1-1.1 1.1-1.1-.49-1.1-1.1.49-1.1 1.1-1.1z"
|
301
|
+
/>
|
302
|
+
</svg>
|
303
|
+
<ic-search-bar
|
304
|
+
slot="search"
|
305
|
+
placeholder="Search"
|
306
|
+
label="Search"
|
307
|
+
></ic-search-bar>
|
308
|
+
<ic-navigation-button
|
309
|
+
label="button1"
|
310
|
+
slot="buttons"
|
311
|
+
onclick="alert('test')"
|
312
|
+
>
|
313
|
+
<svg
|
314
|
+
slot="icon"
|
315
|
+
xmlns="http://www.w3.org/2000/svg"
|
316
|
+
height="24px"
|
317
|
+
viewBox="0 0 24 24"
|
318
|
+
width="24px"
|
319
|
+
fill="#000000"
|
320
|
+
>
|
321
|
+
<path d="M0 0h24v24H0V0z" fill="none" />
|
322
|
+
<path
|
323
|
+
d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-5.5-2.5l7.51-3.49L17.5 6.5 9.99 9.99 6.5 17.5zm5.5-6.6c.61 0 1.1.49 1.1 1.1s-.49 1.1-1.1 1.1-1.1-.49-1.1-1.1.49-1.1 1.1-1.1z"
|
324
|
+
/>
|
325
|
+
</svg>
|
326
|
+
</ic-navigation-button>
|
327
|
+
<ic-navigation-item
|
328
|
+
slot="navigation"
|
329
|
+
label="Navigation"
|
330
|
+
href="/"
|
331
|
+
></ic-navigation-item>
|
332
|
+
<ic-navigation-group
|
333
|
+
slot="navigation"
|
334
|
+
label="Navigation group"
|
335
|
+
expandable="true"
|
336
|
+
>
|
337
|
+
<ic-navigation-item
|
338
|
+
label="Navigation"
|
339
|
+
href="/"
|
340
|
+
></ic-navigation-item>
|
341
|
+
<ic-navigation-item
|
342
|
+
label="Navigation"
|
343
|
+
href="/"
|
344
|
+
></ic-navigation-item>
|
345
|
+
</ic-navigation-group>
|
346
|
+
</ic-top-navigation>
|
347
|
+
<main style="height: 100%">
|
348
|
+
<ic-section-container aligned="center" id="page-content">
|
349
|
+
<ic-typography
|
350
|
+
>Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
351
|
+
Vestibulum pharetra scelerisque arcu, vitae semper nisl rhoncus
|
352
|
+
ut. Vestibulum molestie enim at sollicitudin pellentesque. Proin
|
353
|
+
sit amet augue sit amet dui suscipit lobortis. Nullam at
|
354
|
+
consectetur ante. Suspendisse mollis ultricies porttitor. Nunc
|
355
|
+
laoreet leo tortor, ut tristique odio finibus a. In rutrum
|
356
|
+
convallis purus, vitae tristique tortor sagittis vel. Donec
|
357
|
+
dictum nunc a elit tristique, et facilisis est condimentum.
|
358
|
+
Pellentesque maximus nulla libero, nec auctor urna consequat
|
359
|
+
nec. Class aptent taciti sociosqu ad litora torquent per conubia
|
360
|
+
nostra, per inceptos himenaeos. In maximus velit a erat
|
361
|
+
volutpat, sit amet consequat velit rhoncus. Mauris pretium neque
|
362
|
+
eget ante consectetur consectetur. Morbi a consequat lectus.
|
363
|
+
Donec venenatis ultricies sem nec pulvinar. Fusce lacus augue,
|
364
|
+
laoreet id pretium id, efficitur nec leo.</ic-typography
|
365
|
+
>
|
366
|
+
<br />
|
367
|
+
<ic-skip-link
|
368
|
+
label="Skip to options"
|
369
|
+
target="page-content"
|
370
|
+
inline="true"
|
371
|
+
></ic-skip-link>
|
372
|
+
<br />
|
373
|
+
<ic-typography
|
374
|
+
>Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
375
|
+
Vestibulum pharetra scelerisque arcu, vitae semper nisl rhoncus
|
376
|
+
ut. Vestibulum molestie enim at sollicitudin pellentesque. Proin
|
377
|
+
sit amet augue sit amet dui suscipit lobortis. Nullam at
|
378
|
+
consectetur ante. Suspendisse mollis ultricies porttitor. Nunc
|
379
|
+
laoreet leo tortor, ut tristique odio finibus a. In rutrum
|
380
|
+
convallis purus, vitae tristique tortor sagittis vel. Donec
|
381
|
+
dictum nunc a elit tristique, et facilisis est condimentum.
|
382
|
+
Pellentesque maximus nulla libero, nec auctor urna consequat
|
383
|
+
nec. Class aptent taciti sociosqu ad litora torquent per conubia
|
384
|
+
nostra, per inceptos himenaeos. In maximus velit a erat
|
385
|
+
volutpat, sit amet consequat velit rhoncus. Mauris pretium neque
|
386
|
+
eget ante consectetur consectetur. Morbi a consequat lectus.
|
387
|
+
Donec venenatis ultricies sem nec pulvinar. Fusce lacus augue,
|
388
|
+
laoreet id pretium id, efficitur nec leo.</ic-typography
|
389
|
+
>
|
390
|
+
<div id="options">
|
391
|
+
<ic-checkbox-group
|
392
|
+
label="This is a label"
|
393
|
+
required
|
394
|
+
name="group1"
|
395
|
+
>
|
396
|
+
<ic-checkbox
|
397
|
+
value="valueName1"
|
398
|
+
label="Unselected / Default"
|
399
|
+
></ic-checkbox>
|
400
|
+
<ic-checkbox
|
401
|
+
value="valueName2"
|
402
|
+
label="Selected / Default"
|
403
|
+
checked
|
404
|
+
></ic-checkbox>
|
405
|
+
<ic-checkbox
|
406
|
+
value="valueName3"
|
407
|
+
label="Unselected / Disabled"
|
408
|
+
Disabled
|
409
|
+
></ic-checkbox>
|
410
|
+
</ic-checkbox-group>
|
411
|
+
</div>
|
412
|
+
</ic-section-container>
|
413
|
+
</main>
|
414
|
+
</div>
|
415
|
+
<ic-footer
|
416
|
+
aligned="full-width"
|
417
|
+
description="The ICDS is maintained by the Design Practice Team. If you've got a question or want to feedback,
|
418
|
+
please get in touch."
|
419
|
+
caption="All content is available under the Open Government Licence v3.0, except source code and code examples which are available under the MIT Licence."
|
420
|
+
></ic-footer>
|
421
|
+
</div>`,
|
422
|
+
|
82
423
|
name: "Inline",
|
424
|
+
parameters: {
|
425
|
+
layout: "fullscreen",
|
426
|
+
},
|
83
427
|
};
|
84
428
|
|
85
429
|
export const HideBackground = {
|
86
430
|
render: () =>
|
87
431
|
html`<ic-skip-link
|
88
|
-
target="
|
432
|
+
target="page-content"
|
89
433
|
transparent-background="true"
|
90
434
|
></ic-skip-link>
|
91
435
|
<ic-top-navigation app-title="Application Name">
|
@@ -113,7 +457,7 @@ const defaultArgs = {
|
|
113
457
|
inline: false,
|
114
458
|
label: "Skip to main content",
|
115
459
|
monochrome: false,
|
116
|
-
target: "
|
460
|
+
target: "",
|
117
461
|
theme: "inherit",
|
118
462
|
transparentBackground: false,
|
119
463
|
};
|
@@ -144,7 +488,7 @@ export const Playground = {
|
|
144
488
|
/>
|
145
489
|
</svg>
|
146
490
|
</ic-top-navigation>
|
147
|
-
<main id=${args.target
|
491
|
+
<main id=${args.target}>Target element</main>
|
148
492
|
<ic-button>Should receive next focus</ic-button>`,
|
149
493
|
|
150
494
|
args: defaultArgs,
|
@@ -472,7 +472,7 @@ video {
|
|
472
472
|
|
473
473
|
.filled-warning {
|
474
474
|
background-color: var(--ic-status-tag-warning);
|
475
|
-
--ic-typography-color: var(--ic-status-tag-text
|
475
|
+
--ic-typography-color: var(--ic-status-tag-filled-warning-text);
|
476
476
|
}
|
477
477
|
|
478
478
|
.filled-danger {
|
@@ -522,5 +522,6 @@ video {
|
|
522
522
|
border: var(--ic-border-hc);
|
523
523
|
-ms-high-contrast-adjust: none;
|
524
524
|
forced-color-adjust: none;
|
525
|
+
--ic-typography-color: var(--ic-status-tag-text);
|
525
526
|
}
|
526
527
|
}
|
@@ -33,12 +33,12 @@ export class StatusTag {
|
|
33
33
|
}
|
34
34
|
render() {
|
35
35
|
const { label, status, variant, size, announced, theme, uppercase } = this;
|
36
|
-
return (h(Host, { key: '
|
36
|
+
return (h(Host, { key: '2ac2523a20a7520be1219cb32374b08a9bb6db57', class: { [`ic-theme-${theme}`]: theme !== "inherit" }, role: announced ? "status" : null, "aria-label": "Status" }, h("strong", { key: '9098c32e9038dc2eb76ca5425537f0f9e5dc3947', class: {
|
37
37
|
["tag"]: true,
|
38
38
|
[`${variant}-${status}`]: true,
|
39
39
|
["outlined"]: variant === "outlined",
|
40
40
|
[`${size}`]: true,
|
41
|
-
} }, h("ic-typography", { key: '
|
41
|
+
} }, h("ic-typography", { key: 'e54d4ef968acc6ccfa85fca33cb6c76b62c2ce51', variant: uppercase ? "label-uppercase" : "label", "apply-vertical-margins": false }, h("span", { key: '5dae654cf0367927bb3a89fb075dd2b467f66dcf' }, label)))));
|
42
42
|
}
|
43
43
|
static get is() { return "ic-status-tag"; }
|
44
44
|
static get encapsulation() { return "shadow"; }
|
@@ -29,13 +29,17 @@
|
|
29
29
|
|
30
30
|
.visually-hidden {
|
31
31
|
position: absolute;
|
32
|
-
left: -
|
32
|
+
left: -9999px;
|
33
33
|
top: auto;
|
34
34
|
width: 1px;
|
35
35
|
height: 1px;
|
36
36
|
overflow: hidden;
|
37
37
|
}
|
38
38
|
|
39
|
+
.visually-hidden:dir(rtl) {
|
40
|
+
right: -9999px;
|
41
|
+
}
|
42
|
+
|
39
43
|
/* COMPACT STEP STYLING */
|
40
44
|
:host(.ic-step-compact) {
|
41
45
|
-moz-column-gap: var(--ic-space-sm);
|
@@ -80,7 +84,7 @@
|
|
80
84
|
}
|
81
85
|
|
82
86
|
:host(.ic-step-compact) .disabled .heading {
|
83
|
-
color: var(--ic-stepper-compact-step-title);
|
87
|
+
color: var(--ic-stepper-compact-step-title-disabled);
|
84
88
|
}
|
85
89
|
|
86
90
|
.info-line {
|
@@ -157,25 +161,12 @@
|
|
157
161
|
color: var(--ic-status-info-default);
|
158
162
|
}
|
159
163
|
|
160
|
-
:host(.ic-step-default.ic-step-light) .current,
|
161
|
-
:host(.ic-step-default.ic-step-light) .current .heading-area {
|
162
|
-
color: var(--ic-status-info-contrast);
|
163
|
-
}
|
164
|
-
|
165
164
|
:host(.ic-step-default) .heading-area {
|
166
165
|
margin: var(--ic-space-xs) 0;
|
167
166
|
padding-right: var(--ic-space-xs);
|
168
167
|
width: 100%;
|
169
168
|
}
|
170
169
|
|
171
|
-
:host(.ic-step-light) .heading-area {
|
172
|
-
color: var(--ic-architectural-200);
|
173
|
-
}
|
174
|
-
|
175
|
-
:host(.ic-step-compact.ic-step-light) .heading-area {
|
176
|
-
color: var(--ic-architectural-white);
|
177
|
-
}
|
178
|
-
|
179
170
|
:host(.ic-step-default) .heading,
|
180
171
|
.subheading {
|
181
172
|
width: -moz-fit-content;
|
@@ -214,31 +205,17 @@
|
|
214
205
|
color: var(--ic-status-success-default);
|
215
206
|
}
|
216
207
|
|
217
|
-
:host(.ic-step-default.ic-step-light) .completed,
|
218
|
-
:host(.ic-step-default.ic-step-light) .completed .heading-area {
|
219
|
-
color: var(--ic-status-success-contrast);
|
220
|
-
}
|
221
|
-
|
222
208
|
.active .step-icon-inner {
|
223
209
|
box-shadow: inset var(--ic-step-number-inactive-outline) 0 0 0 0.125rem;
|
224
210
|
}
|
225
211
|
|
226
|
-
:host(.ic-step-light) .active .step-icon-inner {
|
227
|
-
color: var(--ic-architectural-white);
|
228
|
-
}
|
229
|
-
|
230
212
|
.current .step-icon-inner {
|
231
213
|
background-color: var(--ic-step-number-background-active);
|
232
|
-
color: var(--ic-step-number-text);
|
214
|
+
color: var(--ic-step-number-text-current);
|
233
215
|
}
|
234
216
|
|
235
217
|
.disabled {
|
236
|
-
color: var(--ic-
|
237
|
-
}
|
238
|
-
|
239
|
-
:host(.ic-step-default.ic-step-light) .disabled,
|
240
|
-
:host(.ic-step-default.ic-step-light) .disabled .heading-area {
|
241
|
-
color: var(--ic-architectural-400);
|
218
|
+
color: var(--ic-color-text-disabled-mid);
|
242
219
|
}
|
243
220
|
|
244
221
|
.disabled .step-icon-inner {
|
@@ -57,28 +57,29 @@ export class Step {
|
|
57
57
|
// STATUS ICON FOR COMPACT STEP
|
58
58
|
let statusIcon;
|
59
59
|
if (this.type === "completed" || this.compactStepStyling === "completed") {
|
60
|
-
statusIcon = (h("span", { key: '
|
60
|
+
statusIcon = (h("span", { key: '037cdd093417bdeff6f9de2795a2c0a29e23db63', class: "check-icon step-icon", "aria-hidden": "true", innerHTML: checkIcon }));
|
61
61
|
}
|
62
62
|
else if (this.type === "disabled" ||
|
63
63
|
this.compactStepStyling === "disabled") {
|
64
|
-
statusIcon = (h("span", { key: '
|
64
|
+
statusIcon = (h("span", { key: '115e2d476464fb4b4c48516e6cfc108928e6ebdc', class: "warning-icon step-icon", "aria-hidden": "true", innerHTML: warningIcon }));
|
65
65
|
}
|
66
66
|
// COMPACT STEP COMPONENT
|
67
|
-
const compactStep = (h("div", { key: '
|
67
|
+
const compactStep = (h("div", { key: 'ff799c9a5ac470cd917ecf47896c07d3e8ad6a55', class: {
|
68
68
|
["step"]: true,
|
69
69
|
["current"]: !!this.current,
|
70
70
|
[`compact-step-${this.compactStepStyling}`]: !!this.compactStepStyling,
|
71
|
-
|
71
|
+
["disabled"]: this.type === "disabled" || this.compactStepStyling === "disabled",
|
72
|
+
} }, h("ic-loading-indicator", { key: 'd96083b68c5bd6c34adb1062ab508adf2f3274c0', class: {
|
72
73
|
"compact-step-progress-indicator": true,
|
73
74
|
"not-required": this.type === "disabled" ||
|
74
75
|
this.compactStepStyling === "disabled",
|
75
|
-
}, "aria-hidden": "true", size: "small", "inner-label": this.stepNum, progress: this.progress }), h("div", { key: '
|
76
|
+
}, "aria-hidden": "true", size: "small", "inner-label": this.stepNum, progress: this.progress }), h("div", { key: '1f6b95b5b99ab252f68e3501f6909b9b8240546b', class: "heading-area" }, h("ic-typography", { key: '8de4cab1512b2406d9d6e38a34026dd786727c56', variant: "h4", class: "heading" }, this.heading), h("div", { key: 'f0aac2d40c6d7c75dba1a8ea061fe70fde1684f8', class: "info-line" }, h("ic-typography", { key: 'd7802839d057c38f72319063302e0f556b4b8799', variant: "caption", class: "step-num" }, `${this.stepNum} of ${this.lastStepNum}`, h("span", { key: 'b1f8716701f30af917c056dea0b77b23cbb86a09', class: "visually-hidden" }, " steps")), (this.subheading ||
|
76
77
|
this.type === "completed" ||
|
77
78
|
this.type === "disabled" ||
|
78
79
|
(this.variant === "compact" &&
|
79
80
|
!!this.compactStepStyling &&
|
80
81
|
this.compactStepStyling !== "active") ||
|
81
|
-
!!this.status) && (h("div", { key: '
|
82
|
+
!!this.status) && (h("div", { key: '230dc72e7a579193f8cf1a8552d1ef5749b1d04c', class: "step-status" }, statusIcon !== undefined && statusIcon, (this.subheading || stepType) && (h("ic-typography", { key: '4a089ec12dc7e4f77d3469e08e4ef77b3d3144a3', variant: "caption" }, this.subheading !== null && isPropDefined(this.subheading)
|
82
83
|
? this.subheading
|
83
84
|
: this.type === "disabled" ||
|
84
85
|
(this.variant === "compact" &&
|
@@ -91,26 +92,26 @@ export class Step {
|
|
91
92
|
// ICON FOR DEFAULT STEP
|
92
93
|
let icon;
|
93
94
|
if (this.type !== "completed") {
|
94
|
-
icon = (h("ic-typography", { key: '
|
95
|
+
icon = (h("ic-typography", { key: '74584e3b8e9d2d3554723b3b7f23ca9fd2637800', variant: "subtitle-small" }, h("span", { key: '60a00009b73f622ff0d040d09d9b569b28be9cde', class: "step-icon-inner", "aria-hidden": "true" }, this.stepNum)));
|
95
96
|
}
|
96
97
|
else {
|
97
|
-
icon = (h("div", { key: '
|
98
|
+
icon = (h("div", { key: 'fae4dd9d0eab63264e9aed6e7b659da9d3ff511e', class: "step-icon-inner", "aria-hidden": "true" }, h("span", { key: '7f83174116e62e676940ca9ec23561250803d15f', class: "check-icon", innerHTML: checkIcon })));
|
98
99
|
}
|
99
100
|
// STEP CONNECT FOR DEFAULT STEP
|
100
|
-
const partialBar = this.type === "current" && (h("div", { key: '
|
101
|
-
const finalStep = !this.lastStep && (h("div", { key: '
|
101
|
+
const partialBar = this.type === "current" && (h("div", { key: 'eb8b63c2d0af8d883c09a56b8d3c47afac3e5f81', class: "step-connect-inner" }));
|
102
|
+
const finalStep = !this.lastStep && (h("div", { key: 'cc6e694712782a11aeccc78a0a4f06f39fec3819', class: {
|
102
103
|
["step-connect"]: true,
|
103
104
|
["aligned-full-width"]: !!(((_a = this.el.parentElement) === null || _a === void 0 ? void 0 : _a.classList.contains("ic-stepper-default")) &&
|
104
105
|
!this.el.parentElement.classList.contains("ic-stepper-aligned-left")),
|
105
106
|
} }, partialBar));
|
106
107
|
// DEFAULT STEP COMPONENT
|
107
|
-
const defaultStep = (h("div", { key: '
|
108
|
+
const defaultStep = (h("div", { key: '91c97641133852cc4a5f4d3b8d1cae4996789cc3', class: {
|
108
109
|
["step"]: true,
|
109
110
|
[`${this.type}`]: true,
|
110
|
-
} }, h("div", { key: '
|
111
|
+
} }, h("div", { key: '6ebf175f84536a4ab79e3a130e952b592ec9e965', class: "step-top" }, h("div", { key: '23f9b5a7cd4fb0908b7f65ea55c192ee3a2964de', class: "step-icon" }, icon), finalStep), (this.heading || this.subheading || this.status) && (h("div", { key: '7be8f0257f73a29c0ff6f6bf31830a40cb3fe81f', class: "heading-area" }, this.heading && (h("ic-typography", { key: 'fd775a67501c4bd5db9498fc8fa57404f2a51163', variant: "subtitle-large", class: "heading" }, this.heading)), this.heading && (this.subheading || this.status) && (h("ic-typography", { key: '2a857f45ff18834e6199a56330e68d40b034afae', variant: "caption", class: "subheading" }, this.subheading !== null && isPropDefined(this.subheading)
|
111
112
|
? this.subheading
|
112
113
|
: stepStatus))))));
|
113
|
-
return (h(Host, { key: '
|
114
|
+
return (h(Host, { key: 'ad0c3301d762c11a2a2c78c3a25b4581dca348e9', role: "listitem", "aria-label": `Step ${this.stepNum}${ariaLabel}`, "aria-current": (this.current || this.type === "current") && "step", class: {
|
114
115
|
["aligned-full-width"]: !!(((_b = this.el.parentElement) === null || _b === void 0 ? void 0 : _b.classList.contains("ic-stepper-default")) &&
|
115
116
|
!this.el.parentElement.classList.contains("ic-stepper-aligned-left")),
|
116
117
|
[`ic-step-${this.variant}`]: true,
|