@ukic/canary-web-components 2.0.0-canary.3 → 2.0.0-canary.5
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +6 -0
- package/dist/cjs/{OpenInNew-d5d30e77.js → OpenInNew-7bac24f7.js} +1 -1
- package/dist/cjs/OpenInNew-7bac24f7.js.map +1 -0
- package/dist/cjs/{check-icon-7225d79b.js → check-icon-dd563898.js} +1 -1
- package/dist/cjs/check-icon-dd563898.js.map +1 -0
- package/dist/cjs/{chevron-icon-3bf07531.js → chevron-icon-3dedd973.js} +1 -1
- package/dist/cjs/chevron-icon-3dedd973.js.map +1 -0
- package/dist/cjs/{close-icon-7f6ef8e4.js → close-icon-d62b369d.js} +1 -1
- package/dist/cjs/close-icon-d62b369d.js.map +1 -0
- package/dist/cjs/core.cjs.js +3 -3
- package/dist/cjs/core.cjs.js.map +1 -1
- package/dist/cjs/helpers-86375e76.js +554 -0
- package/dist/cjs/helpers-86375e76.js.map +1 -0
- package/dist/cjs/ic-accordion-group.cjs.entry.js +94 -0
- package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-accordion.cjs.entry.js +119 -0
- package/dist/cjs/ic-accordion.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-alert.cjs.entry.js +59 -59
- package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +117 -121
- package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-badge.cjs.entry.js +160 -0
- package/dist/cjs/ic-badge.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +172 -164
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +56 -54
- package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +647 -715
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card.cjs.entry.js +107 -107
- package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +61 -54
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +95 -98
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +68 -61
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-classification-banner.cjs.entry.js +23 -23
- package/dist/cjs/ic-classification-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-entity.cjs.entry.js +18 -17
- package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +75 -74
- package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-table.cjs.entry.js +240 -240
- package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-dialog.cjs.entry.js +347 -267
- package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-divider.cjs.entry.js +16 -16
- package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-empty-state.cjs.entry.js +24 -23
- package/dist/cjs/ic-empty-state.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +55 -55
- package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +51 -51
- package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +78 -78
- package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +62 -59
- package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +152 -151
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +677 -657
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +63 -62
- package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-link.cjs.entry.js +56 -59
- package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +12 -10
- package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js +103 -107
- package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +79 -76
- package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +282 -261
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +155 -134
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +106 -103
- package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +97 -90
- package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination-bar.cjs.entry.js +266 -251
- package/dist/cjs/ic-pagination-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination_4.cjs.entry.js +1077 -1074
- package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +232 -261
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +160 -113
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +128 -122
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +475 -470
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-section-container.cjs.entry.js +15 -15
- package/dist/cjs/ic-section-container.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +400 -407
- package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-skeleton.cjs.entry.js +43 -42
- package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +32 -23
- package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +122 -120
- package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +200 -197
- package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +78 -71
- package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-context.cjs.entry.js +252 -252
- package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +24 -25
- package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +31 -30
- package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +86 -86
- package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +51 -51
- package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast-region.cjs.entry.js +47 -34
- package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +143 -145
- package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toggle-button.cjs.entry.js +69 -0
- package/dist/cjs/ic-toggle-button.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-top-navigation.cjs.entry.js +199 -195
- package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +119 -111
- package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
- package/dist/{esm/index-5e4f5b3b.js → cjs/index-4cf27b16.js} +646 -360
- package/dist/cjs/index-4cf27b16.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{popper-31badbf8.js → popper-16968c2e.js} +1 -1
- package/dist/cjs/popper-16968c2e.js.map +1 -0
- package/dist/cjs/types-17dba796.js +16 -0
- package/dist/cjs/types-17dba796.js.map +1 -0
- package/dist/collection/collection-manifest.json +73 -63
- package/dist/collection/components/ic-data-table/ic-data-table.js +523 -523
- package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
- package/dist/collection/components/ic-data-table/story-data.js +511 -511
- package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
- package/dist/collection/components/ic-data-table/test/a11y/ic-data-table.test.a11y.js +6 -5
- package/dist/collection/components/ic-data-table/test/a11y/ic-data-table.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js +412 -412
- package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js.map +1 -1
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +532 -532
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
- package/dist/collection/components/ic-pagination-bar/test/a11y/ic-pagination-bar.test.a11y.js +6 -5
- package/dist/collection/components/ic-pagination-bar/test/a11y/ic-pagination-bar.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-pagination-bar/test/basic/ic-pagination-bar.spec.js +378 -378
- package/dist/collection/components/ic-pagination-bar/test/basic/ic-pagination-bar.spec.js.map +1 -1
- package/dist/collection/testspec.setup.js +35 -34
- package/dist/collection/testspec.setup.js.map +1 -1
- package/dist/collection/utils/helpers.js +12 -445
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/testa11y.helpers.js +2 -2
- package/dist/collection/utils/testa11y.helpers.js.map +1 -1
- package/dist/components/helpers.js +307 -370
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/ic-accordion-group.js +140 -0
- package/dist/components/ic-accordion-group.js.map +1 -0
- package/dist/components/ic-accordion.js +148 -0
- package/dist/components/ic-accordion.js.map +1 -0
- package/dist/components/ic-alert2.js +98 -98
- package/dist/components/ic-alert2.js.map +1 -1
- package/dist/components/ic-back-to-top.js +141 -145
- package/dist/components/ic-back-to-top.js.map +1 -1
- package/dist/components/ic-badge.js +192 -0
- package/dist/components/ic-badge.js.map +1 -0
- package/dist/components/ic-breadcrumb-group.js +200 -191
- package/dist/components/ic-breadcrumb-group.js.map +1 -1
- package/dist/components/ic-breadcrumb2.js +79 -76
- package/dist/components/ic-breadcrumb2.js.map +1 -1
- package/dist/components/ic-button2.js +344 -288
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card.js +156 -156
- package/dist/components/ic-card.js.map +1 -1
- package/dist/components/ic-checkbox-group.js +99 -92
- package/dist/components/ic-checkbox-group.js.map +1 -1
- package/dist/components/ic-checkbox.js +132 -129
- package/dist/components/ic-checkbox.js.map +1 -1
- package/dist/components/ic-chip.js +100 -91
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-classification-banner.js +47 -47
- package/dist/components/ic-classification-banner.js.map +1 -1
- package/dist/components/ic-data-entity.js +40 -38
- package/dist/components/ic-data-entity.js.map +1 -1
- package/dist/components/ic-data-row.js +99 -97
- package/dist/components/ic-data-row.js.map +1 -1
- package/dist/components/ic-data-table.d.ts +2 -2
- package/dist/components/ic-data-table.js +350 -350
- package/dist/components/ic-data-table.js.map +1 -1
- package/dist/components/ic-dialog.js +407 -323
- package/dist/components/ic-dialog.js.map +1 -1
- package/dist/components/ic-divider2.js +29 -29
- package/dist/components/ic-divider2.js.map +1 -1
- package/dist/components/ic-empty-state.js +48 -47
- package/dist/components/ic-empty-state.js.map +1 -1
- package/dist/components/ic-footer-link-group.js +83 -83
- package/dist/components/ic-footer-link-group.js.map +1 -1
- package/dist/components/ic-footer-link.js +72 -72
- package/dist/components/ic-footer-link.js.map +1 -1
- package/dist/components/ic-footer.js +109 -109
- package/dist/components/ic-footer.js.map +1 -1
- package/dist/components/ic-hero.js +99 -95
- package/dist/components/ic-hero.js.map +1 -1
- package/dist/components/ic-horizontal-scroll2.js +191 -189
- package/dist/components/ic-horizontal-scroll2.js.map +1 -1
- package/dist/components/ic-input-component-container2.js +63 -59
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-input-container2.js +28 -28
- package/dist/components/ic-input-container2.js.map +1 -1
- package/dist/components/ic-input-label2.js +63 -61
- package/dist/components/ic-input-label2.js.map +1 -1
- package/dist/components/ic-input-validation2.js +51 -51
- package/dist/components/ic-input-validation2.js.map +1 -1
- package/dist/components/ic-link2.js +76 -79
- package/dist/components/ic-link2.js.map +1 -1
- package/dist/components/ic-loading-indicator2.js +212 -210
- package/dist/components/ic-loading-indicator2.js.map +1 -1
- package/dist/components/ic-menu-group.js +31 -30
- package/dist/components/ic-menu-group.js.map +1 -1
- package/dist/components/ic-menu-item2.js +146 -150
- package/dist/components/ic-menu-item2.js.map +1 -1
- package/dist/components/ic-menu2.js +686 -664
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-button.js +122 -119
- package/dist/components/ic-navigation-button.js.map +1 -1
- package/dist/components/ic-navigation-group.js +309 -288
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js +196 -175
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-navigation-menu2.js +141 -138
- package/dist/components/ic-navigation-menu2.js.map +1 -1
- package/dist/components/ic-page-header.js +152 -144
- package/dist/components/ic-page-header.js.map +1 -1
- package/dist/components/ic-pagination-bar.d.ts +2 -2
- package/dist/components/ic-pagination-bar2.js +364 -348
- package/dist/components/ic-pagination-bar2.js.map +1 -1
- package/dist/components/ic-pagination-item2.js +67 -67
- package/dist/components/ic-pagination-item2.js.map +1 -1
- package/dist/components/ic-pagination2.js +253 -252
- package/dist/components/ic-pagination2.js.map +1 -1
- package/dist/components/ic-popover-menu.js +282 -311
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-radio-group.js +205 -153
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +164 -152
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +582 -576
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-section-container2.js +31 -31
- package/dist/components/ic-section-container2.js.map +1 -1
- package/dist/components/ic-select2.js +753 -734
- package/dist/components/ic-select2.js.map +1 -1
- package/dist/components/ic-side-navigation.js +454 -460
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-skeleton.js +64 -62
- package/dist/components/ic-skeleton.js.map +1 -1
- package/dist/components/ic-status-tag.js +56 -45
- package/dist/components/ic-status-tag.js.map +1 -1
- package/dist/components/ic-step.js +158 -157
- package/dist/components/ic-step.js.map +1 -1
- package/dist/components/ic-stepper.js +224 -221
- package/dist/components/ic-stepper.js.map +1 -1
- package/dist/components/ic-switch.js +116 -106
- package/dist/components/ic-switch.js.map +1 -1
- package/dist/components/ic-tab-context.js +271 -271
- package/dist/components/ic-tab-context.js.map +1 -1
- package/dist/components/ic-tab-group.js +65 -66
- package/dist/components/ic-tab-group.js.map +1 -1
- package/dist/components/ic-tab-panel.js +49 -48
- package/dist/components/ic-tab-panel.js.map +1 -1
- package/dist/components/ic-tab.js +113 -113
- package/dist/components/ic-tab.js.map +1 -1
- package/dist/components/ic-text-field2.js +293 -301
- package/dist/components/ic-text-field2.js.map +1 -1
- package/dist/components/ic-theme.js +66 -66
- package/dist/components/ic-theme.js.map +1 -1
- package/dist/components/ic-toast-region.js +63 -47
- package/dist/components/ic-toast-region.js.map +1 -1
- package/dist/components/ic-toast.js +185 -187
- package/dist/components/ic-toast.js.map +1 -1
- package/dist/components/ic-toggle-button.js +117 -0
- package/dist/components/ic-toggle-button.js.map +1 -0
- package/dist/components/ic-tooltip2.js +217 -336
- package/dist/components/ic-tooltip2.js.map +1 -1
- package/dist/components/ic-top-navigation.js +265 -261
- package/dist/components/ic-top-navigation.js.map +1 -1
- package/dist/components/ic-typography2.js +143 -135
- package/dist/components/ic-typography2.js.map +1 -1
- package/dist/components/types.js +6 -6
- package/dist/components/types.js.map +1 -1
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-e565964f.entry.js → p-010053ab.entry.js} +2 -2
- package/dist/core/p-010053ab.entry.js.map +1 -0
- package/dist/core/p-043e4073.entry.js +2 -0
- package/dist/core/p-043e4073.entry.js.map +1 -0
- package/dist/core/p-0aa1fe4e.entry.js +2 -0
- package/dist/core/p-0aa1fe4e.entry.js.map +1 -0
- package/dist/core/{p-c2e091d7.js → p-0aa9ce8b.js} +1 -1
- package/dist/core/{p-3b185c32.js → p-170ddfc2.js} +1 -1
- package/dist/core/{p-7799016a.entry.js → p-1e9f689b.entry.js} +2 -2
- package/dist/core/p-1e9f689b.entry.js.map +1 -0
- package/dist/core/p-217db3af.entry.js +2 -0
- package/dist/core/p-217db3af.entry.js.map +1 -0
- package/dist/core/p-234edce6.entry.js +2 -0
- package/dist/core/p-234edce6.entry.js.map +1 -0
- package/dist/core/{p-4259972b.entry.js → p-24945ee5.entry.js} +2 -2
- package/dist/core/p-24945ee5.entry.js.map +1 -0
- package/dist/core/p-26ca8030.entry.js +2 -0
- package/dist/core/p-26ca8030.entry.js.map +1 -0
- package/dist/core/p-2addb040.entry.js +2 -0
- package/dist/core/p-2addb040.entry.js.map +1 -0
- package/dist/core/p-3294eba4.entry.js +2 -0
- package/dist/core/p-3294eba4.entry.js.map +1 -0
- package/dist/core/{p-6622567a.entry.js → p-356b8a4c.entry.js} +2 -2
- package/dist/core/p-356b8a4c.entry.js.map +1 -0
- package/dist/core/p-4119a26b.entry.js +2 -0
- package/dist/core/p-4119a26b.entry.js.map +1 -0
- package/dist/core/{p-cda2ecbb.entry.js → p-452be32a.entry.js} +2 -2
- package/dist/core/p-452be32a.entry.js.map +1 -0
- package/dist/core/{p-dcfc7f79.entry.js → p-5332a426.entry.js} +2 -2
- package/dist/core/p-5332a426.entry.js.map +1 -0
- package/dist/core/p-56645c00.entry.js +2 -0
- package/dist/core/p-56645c00.entry.js.map +1 -0
- package/dist/core/p-5f8c4c83.entry.js +2 -0
- package/dist/core/p-5f8c4c83.entry.js.map +1 -0
- package/dist/core/p-61ce24ae.entry.js +2 -0
- package/dist/core/p-61ce24ae.entry.js.map +1 -0
- package/dist/core/{p-932a1a61.entry.js → p-740a39bd.entry.js} +2 -2
- package/dist/core/p-740a39bd.entry.js.map +1 -0
- package/dist/core/p-7492d36e.entry.js +2 -0
- package/dist/core/p-7492d36e.entry.js.map +1 -0
- package/dist/core/p-79b39c8a.entry.js +2 -0
- package/dist/core/p-79b39c8a.entry.js.map +1 -0
- package/dist/core/p-7a0790e4.entry.js +2 -0
- package/dist/core/p-7a0790e4.entry.js.map +1 -0
- package/dist/core/p-7b17f3ce.entry.js +2 -0
- package/dist/core/p-7b17f3ce.entry.js.map +1 -0
- package/dist/core/p-7e0197a4.entry.js +2 -0
- package/dist/core/p-7e0197a4.entry.js.map +1 -0
- package/dist/core/p-8455d1bb.js +3 -0
- package/dist/core/p-8455d1bb.js.map +1 -0
- package/dist/core/p-8cde58bf.entry.js +2 -0
- package/dist/core/p-8cde58bf.entry.js.map +1 -0
- package/dist/core/p-8eaed5b7.entry.js +2 -0
- package/dist/core/p-8eaed5b7.entry.js.map +1 -0
- package/dist/core/{p-90608dc5.entry.js → p-8fa532e0.entry.js} +2 -2
- package/dist/core/p-8fa532e0.entry.js.map +1 -0
- package/dist/core/p-93828f0e.entry.js +2 -0
- package/dist/core/p-93828f0e.entry.js.map +1 -0
- package/dist/core/p-9777ebb1.entry.js +2 -0
- package/dist/core/p-9777ebb1.entry.js.map +1 -0
- package/dist/core/{p-2d1ba7d5.entry.js → p-99a9ce86.entry.js} +2 -2
- package/dist/core/p-99a9ce86.entry.js.map +1 -0
- package/dist/core/{p-fd8780e2.entry.js → p-9c6e48fb.entry.js} +2 -2
- package/dist/core/p-9c6e48fb.entry.js.map +1 -0
- package/dist/core/{p-151cef1f.entry.js → p-9fdd7d73.entry.js} +2 -2
- package/dist/core/p-9fdd7d73.entry.js.map +1 -0
- package/dist/core/{p-9c792bb9.entry.js → p-a048beab.entry.js} +2 -2
- package/dist/core/p-a048beab.entry.js.map +1 -0
- package/dist/core/p-a3ab9f4c.entry.js +2 -0
- package/dist/core/p-a3ab9f4c.entry.js.map +1 -0
- package/dist/core/p-a561980f.entry.js +2 -0
- package/dist/core/p-a561980f.entry.js.map +1 -0
- package/dist/core/p-a6a90c56.entry.js +2 -0
- package/dist/core/p-a6a90c56.entry.js.map +1 -0
- package/dist/core/p-a9a378f8.entry.js +2 -0
- package/dist/core/p-a9a378f8.entry.js.map +1 -0
- package/dist/core/{p-68a5aaff.js → p-aae38bee.js} +1 -1
- package/dist/core/p-aae38bee.js.map +1 -0
- package/dist/core/p-ae337896.entry.js +2 -0
- package/dist/core/p-ae337896.entry.js.map +1 -0
- package/dist/core/p-b2aa3d7c.entry.js +2 -0
- package/dist/core/p-b2aa3d7c.entry.js.map +1 -0
- package/dist/core/{p-8d8ba4d7.entry.js → p-b4591bfe.entry.js} +2 -2
- package/dist/core/p-b4591bfe.entry.js.map +1 -0
- package/dist/core/p-b7d5ced3.entry.js +2 -0
- package/dist/core/p-b7d5ced3.entry.js.map +1 -0
- package/dist/core/{p-517968cb.entry.js → p-baf81f30.entry.js} +2 -2
- package/dist/core/p-baf81f30.entry.js.map +1 -0
- package/dist/core/p-c2884fcd.entry.js +2 -0
- package/dist/core/p-c2884fcd.entry.js.map +1 -0
- package/dist/core/{p-5536d26c.entry.js → p-c2b5e7b1.entry.js} +2 -2
- package/dist/core/p-c2b5e7b1.entry.js.map +1 -0
- package/dist/core/p-cae71c32.entry.js +2 -0
- package/dist/core/p-cae71c32.entry.js.map +1 -0
- package/dist/core/p-cedabab7.entry.js +2 -0
- package/dist/core/p-cedabab7.entry.js.map +1 -0
- package/dist/core/p-da1f0a53.entry.js +2 -0
- package/dist/core/p-da1f0a53.entry.js.map +1 -0
- package/dist/core/{p-ed35b2d0.entry.js → p-dbee31af.entry.js} +2 -2
- package/dist/core/p-dbee31af.entry.js.map +1 -0
- package/dist/core/p-e0102744.js +2 -0
- package/dist/core/p-e0102744.js.map +1 -0
- package/dist/core/{p-f074ef5b.js → p-e081702e.js} +1 -1
- package/dist/core/p-e0d8d7a5.entry.js +2 -0
- package/dist/core/p-e0d8d7a5.entry.js.map +1 -0
- package/dist/core/{p-b4d2d905.entry.js → p-e189f1d0.entry.js} +2 -2
- package/dist/core/p-e189f1d0.entry.js.map +1 -0
- package/dist/core/p-e31125df.entry.js +2 -0
- package/dist/core/p-e31125df.entry.js.map +1 -0
- package/dist/core/{p-426ec638.js → p-ea1ea1b9.js} +1 -1
- package/dist/core/{p-b1568cf3.entry.js → p-f2318ddc.entry.js} +2 -2
- package/dist/core/p-f2318ddc.entry.js.map +1 -0
- package/dist/core/p-f4c11be0.entry.js +2 -0
- package/dist/core/p-f4c11be0.entry.js.map +1 -0
- package/dist/core/p-f4fb15f9.entry.js +2 -0
- package/dist/core/p-f4fb15f9.entry.js.map +1 -0
- package/dist/core/p-faaa06d7.entry.js +2 -0
- package/dist/core/p-faaa06d7.entry.js.map +1 -0
- package/dist/core/p-fc406db5.entry.js +2 -0
- package/dist/core/p-fc406db5.entry.js.map +1 -0
- package/dist/core/{p-613aa265.js → p-fd186591.js} +1 -1
- package/dist/core/p-fd186591.js.map +1 -0
- package/dist/core/{p-ba3f9d1b.entry.js → p-fddc7254.entry.js} +2 -2
- package/dist/core/p-fddc7254.entry.js.map +1 -0
- package/dist/core/p-fff91bd9.entry.js +2 -0
- package/dist/core/p-fff91bd9.entry.js.map +1 -0
- package/dist/esm/{OpenInNew-cdeed5ce.js → OpenInNew-52210a9d.js} +1 -1
- package/dist/esm/OpenInNew-52210a9d.js.map +1 -0
- package/dist/esm/{check-icon-4a9f8371.js → check-icon-f2346e76.js} +1 -1
- package/dist/esm/check-icon-f2346e76.js.map +1 -0
- package/dist/esm/{chevron-icon-589e3b46.js → chevron-icon-875b7af2.js} +1 -1
- package/dist/esm/chevron-icon-875b7af2.js.map +1 -0
- package/dist/esm/{close-icon-539ec8d1.js → close-icon-c9e09475.js} +1 -1
- package/dist/esm/close-icon-c9e09475.js.map +1 -0
- package/dist/esm/core.js +4 -4
- package/dist/esm/core.js.map +1 -1
- package/dist/esm/helpers-229a5574.js +506 -0
- package/dist/esm/helpers-229a5574.js.map +1 -0
- package/dist/esm/ic-accordion-group.entry.js +90 -0
- package/dist/esm/ic-accordion-group.entry.js.map +1 -0
- package/dist/esm/ic-accordion.entry.js +115 -0
- package/dist/esm/ic-accordion.entry.js.map +1 -0
- package/dist/esm/ic-alert.entry.js +59 -59
- package/dist/esm/ic-alert.entry.js.map +1 -1
- package/dist/esm/ic-back-to-top.entry.js +117 -121
- package/dist/esm/ic-back-to-top.entry.js.map +1 -1
- package/dist/esm/ic-badge.entry.js +156 -0
- package/dist/esm/ic-badge.entry.js.map +1 -0
- package/dist/esm/ic-breadcrumb-group.entry.js +172 -164
- package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +56 -54
- package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ic-button_3.entry.js +647 -715
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card.entry.js +107 -107
- package/dist/esm/ic-card.entry.js.map +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +61 -54
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ic-checkbox.entry.js +95 -98
- package/dist/esm/ic-checkbox.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +68 -61
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-classification-banner.entry.js +23 -23
- package/dist/esm/ic-classification-banner.entry.js.map +1 -1
- package/dist/esm/ic-data-entity.entry.js +18 -17
- package/dist/esm/ic-data-entity.entry.js.map +1 -1
- package/dist/esm/ic-data-row.entry.js +75 -74
- package/dist/esm/ic-data-row.entry.js.map +1 -1
- package/dist/esm/ic-data-table.entry.js +240 -240
- package/dist/esm/ic-data-table.entry.js.map +1 -1
- package/dist/esm/ic-dialog.entry.js +347 -267
- package/dist/esm/ic-dialog.entry.js.map +1 -1
- package/dist/esm/ic-divider.entry.js +16 -16
- package/dist/esm/ic-divider.entry.js.map +1 -1
- package/dist/esm/ic-empty-state.entry.js +24 -23
- package/dist/esm/ic-empty-state.entry.js.map +1 -1
- package/dist/esm/ic-footer-link-group.entry.js +55 -55
- package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
- package/dist/esm/ic-footer-link.entry.js +51 -51
- package/dist/esm/ic-footer-link.entry.js.map +1 -1
- package/dist/esm/ic-footer.entry.js +78 -78
- package/dist/esm/ic-footer.entry.js.map +1 -1
- package/dist/esm/ic-hero.entry.js +62 -59
- package/dist/esm/ic-hero.entry.js.map +1 -1
- package/dist/esm/ic-horizontal-scroll.entry.js +152 -151
- package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
- package/dist/esm/ic-input-component-container_3.entry.js +677 -657
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +63 -62
- package/dist/esm/ic-input-label_2.entry.js.map +1 -1
- package/dist/esm/ic-link.entry.js +56 -59
- package/dist/esm/ic-link.entry.js.map +1 -1
- package/dist/esm/ic-menu-group.entry.js +12 -10
- package/dist/esm/ic-menu-group.entry.js.map +1 -1
- package/dist/esm/ic-menu-item.entry.js +103 -107
- package/dist/esm/ic-menu-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-button.entry.js +79 -76
- package/dist/esm/ic-navigation-button.entry.js.map +1 -1
- package/dist/esm/ic-navigation-group.entry.js +282 -261
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +155 -134
- package/dist/esm/ic-navigation-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +106 -103
- package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
- package/dist/esm/ic-page-header.entry.js +97 -90
- package/dist/esm/ic-page-header.entry.js.map +1 -1
- package/dist/esm/ic-pagination-bar.entry.js +266 -251
- package/dist/esm/ic-pagination-bar.entry.js.map +1 -1
- package/dist/esm/ic-pagination_4.entry.js +1077 -1074
- package/dist/esm/ic-pagination_4.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +232 -261
- package/dist/esm/ic-popover-menu.entry.js.map +1 -1
- package/dist/esm/ic-radio-group.entry.js +160 -113
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +128 -122
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +475 -470
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-section-container.entry.js +15 -15
- package/dist/esm/ic-section-container.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +400 -407
- package/dist/esm/ic-side-navigation.entry.js.map +1 -1
- package/dist/esm/ic-skeleton.entry.js +43 -42
- package/dist/esm/ic-skeleton.entry.js.map +1 -1
- package/dist/esm/ic-status-tag.entry.js +32 -23
- package/dist/esm/ic-status-tag.entry.js.map +1 -1
- package/dist/esm/ic-step.entry.js +122 -120
- package/dist/esm/ic-step.entry.js.map +1 -1
- package/dist/esm/ic-stepper.entry.js +200 -197
- package/dist/esm/ic-stepper.entry.js.map +1 -1
- package/dist/esm/ic-switch.entry.js +78 -71
- package/dist/esm/ic-switch.entry.js.map +1 -1
- package/dist/esm/ic-tab-context.entry.js +252 -252
- package/dist/esm/ic-tab-context.entry.js.map +1 -1
- package/dist/esm/ic-tab-group.entry.js +24 -25
- package/dist/esm/ic-tab-group.entry.js.map +1 -1
- package/dist/esm/ic-tab-panel.entry.js +31 -30
- package/dist/esm/ic-tab-panel.entry.js.map +1 -1
- package/dist/esm/ic-tab.entry.js +86 -86
- package/dist/esm/ic-tab.entry.js.map +1 -1
- package/dist/esm/ic-theme.entry.js +51 -51
- package/dist/esm/ic-theme.entry.js.map +1 -1
- package/dist/esm/ic-toast-region.entry.js +47 -34
- package/dist/esm/ic-toast-region.entry.js.map +1 -1
- package/dist/esm/ic-toast.entry.js +143 -145
- package/dist/esm/ic-toast.entry.js.map +1 -1
- package/dist/esm/ic-toggle-button.entry.js +65 -0
- package/dist/esm/ic-toggle-button.entry.js.map +1 -0
- package/dist/esm/ic-top-navigation.entry.js +199 -195
- package/dist/esm/ic-top-navigation.entry.js.map +1 -1
- package/dist/esm/ic-typography.entry.js +119 -111
- package/dist/esm/ic-typography.entry.js.map +1 -1
- package/dist/{cjs/index-990b968b.js → esm/index-93509377.js} +615 -390
- package/dist/esm/index-93509377.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{popper-0fbeff6d.js → popper-b8cc3f16.js} +1 -1
- package/dist/esm/popper-b8cc3f16.js.map +1 -0
- package/dist/esm/types-f605c21c.js +16 -0
- package/dist/esm/types-f605c21c.js.map +1 -0
- package/dist/node.d.ts +12 -0
- package/dist/types/components/ic-data-table/ic-data-table.d.ts +92 -92
- package/dist/types/components/ic-data-table/ic-data-table.types.d.ts +10 -10
- package/dist/types/components/ic-data-table/story-data.d.ts +69 -69
- package/dist/types/components/ic-pagination/ic-pagination.types.d.ts +1 -1
- package/dist/types/components/ic-pagination-bar/ic-pagination-bar.d.ts +99 -99
- package/dist/types/components.d.ts +128 -4642
- package/dist/types/interface.d.ts +0 -13
- package/dist/types/stencil-public-runtime.d.ts +29 -0
- package/dist/types/testspec.setup.d.ts +7 -7
- package/dist/types/utils/helpers.d.ts +8 -120
- package/hydrate/index.d.ts +2 -2
- package/hydrate/index.js +16632 -14199
- package/package.json +29 -19
- package/dist/cjs/OpenInNew-d5d30e77.js.map +0 -1
- package/dist/cjs/check-icon-7225d79b.js.map +0 -1
- package/dist/cjs/chevron-icon-3bf07531.js.map +0 -1
- package/dist/cjs/close-icon-7f6ef8e4.js.map +0 -1
- package/dist/cjs/helpers-d166f875.js +0 -616
- package/dist/cjs/helpers-d166f875.js.map +0 -1
- package/dist/cjs/index-990b968b.js.map +0 -1
- package/dist/cjs/popper-31badbf8.js.map +0 -1
- package/dist/cjs/types-7d67439f.js +0 -16
- package/dist/cjs/types-7d67439f.js.map +0 -1
- package/dist/collection/components/ic-alert/ic-alert.css +0 -616
- package/dist/collection/components/ic-alert/ic-alert.js +0 -244
- package/dist/collection/components/ic-alert/ic-alert.js.map +0 -1
- package/dist/collection/components/ic-alert/test/a11y/ic-alert.test.a11y.js +0 -11
- package/dist/collection/components/ic-alert/test/a11y/ic-alert.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js +0 -16
- package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js.map +0 -1
- package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js +0 -182
- package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js.map +0 -1
- package/dist/collection/components/ic-back-to-top/assets/ArrowUpward.svg +0 -3
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.css +0 -542
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +0 -171
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +0 -1
- package/dist/collection/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.js +0 -28
- package/dist/collection/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js +0 -68
- package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js.map +0 -1
- package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js +0 -123
- package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js.map +0 -1
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.css +0 -100
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +0 -170
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +0 -1
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.types.js +0 -2
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.types.js.map +0 -1
- package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js +0 -118
- package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js.map +0 -1
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.css +0 -36
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +0 -234
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +0 -1
- package/dist/collection/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.js +0 -21
- package/dist/collection/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.js +0 -35
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.js.map +0 -1
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js +0 -41
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js.map +0 -1
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js +0 -181
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js.map +0 -1
- package/dist/collection/components/ic-button/ic-button.css +0 -879
- package/dist/collection/components/ic-button/ic-button.js +0 -769
- package/dist/collection/components/ic-button/ic-button.js.map +0 -1
- package/dist/collection/components/ic-button/ic-button.types.js +0 -2
- package/dist/collection/components/ic-button/ic-button.types.js.map +0 -1
- package/dist/collection/components/ic-button/test/a11y/ic-button.test.a11y.js +0 -11
- package/dist/collection/components/ic-button/test/a11y/ic-button.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js +0 -198
- package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js.map +0 -1
- package/dist/collection/components/ic-button/test/basic/ic-button.spec.js +0 -271
- package/dist/collection/components/ic-button/test/basic/ic-button.spec.js.map +0 -1
- package/dist/collection/components/ic-card/ic-card.css +0 -620
- package/dist/collection/components/ic-card/ic-card.js +0 -402
- package/dist/collection/components/ic-card/ic-card.js.map +0 -1
- package/dist/collection/components/ic-card/test/a11y/ic-card.test.a11y.js +0 -21
- package/dist/collection/components/ic-card/test/a11y/ic-card.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js +0 -23
- package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js.map +0 -1
- package/dist/collection/components/ic-card/test/basic/ic-card.spec.js +0 -152
- package/dist/collection/components/ic-card/test/basic/ic-card.spec.js.map +0 -1
- package/dist/collection/components/ic-checkbox/ic-checkbox.css +0 -675
- package/dist/collection/components/ic-checkbox/ic-checkbox.js +0 -390
- package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +0 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +0 -482
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +0 -298
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +0 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.types.js +0 -2
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.types.js.map +0 -1
- package/dist/collection/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.js +0 -16
- package/dist/collection/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js +0 -201
- package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js.map +0 -1
- package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js +0 -203
- package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +0 -1
- package/dist/collection/components/ic-chip/ic-chip.css +0 -597
- package/dist/collection/components/ic-chip/ic-chip.js +0 -253
- package/dist/collection/components/ic-chip/ic-chip.js.map +0 -1
- package/dist/collection/components/ic-chip/ic-chip.types.js +0 -2
- package/dist/collection/components/ic-chip/ic-chip.types.js.map +0 -1
- package/dist/collection/components/ic-chip/test/a11y/ic-chip.test.a11y.js +0 -11
- package/dist/collection/components/ic-chip/test/a11y/ic-chip.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js +0 -110
- package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +0 -1
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.css +0 -504
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +0 -142
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +0 -1
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.types.js +0 -2
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.types.js.map +0 -1
- package/dist/collection/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.js +0 -11
- package/dist/collection/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js +0 -140
- package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js.map +0 -1
- package/dist/collection/components/ic-data-entity/ic-data-entity.css +0 -474
- package/dist/collection/components/ic-data-entity/ic-data-entity.js +0 -70
- package/dist/collection/components/ic-data-entity/ic-data-entity.js.map +0 -1
- package/dist/collection/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.js +0 -11
- package/dist/collection/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js +0 -161
- package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js.map +0 -1
- package/dist/collection/components/ic-data-row/ic-data-row.css +0 -525
- package/dist/collection/components/ic-data-row/ic-data-row.js +0 -157
- package/dist/collection/components/ic-data-row/ic-data-row.js.map +0 -1
- package/dist/collection/components/ic-data-row/test/a11y/ic-data-row.test.a11y.js +0 -18
- package/dist/collection/components/ic-data-row/test/a11y/ic-data-row.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js +0 -74
- package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js.map +0 -1
- package/dist/collection/components/ic-dialog/ic-dialog.css +0 -592
- package/dist/collection/components/ic-dialog/ic-dialog.js +0 -649
- package/dist/collection/components/ic-dialog/ic-dialog.js.map +0 -1
- package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js +0 -28
- package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js +0 -207
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js.map +0 -1
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js +0 -520
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js.map +0 -1
- package/dist/collection/components/ic-divider/ic-divider.css +0 -11
- package/dist/collection/components/ic-divider/ic-divider.js +0 -44
- package/dist/collection/components/ic-divider/ic-divider.js.map +0 -1
- package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js +0 -24
- package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js.map +0 -1
- package/dist/collection/components/ic-empty-state/ic-empty-state.css +0 -49
- package/dist/collection/components/ic-empty-state/ic-empty-state.js +0 -160
- package/dist/collection/components/ic-empty-state/ic-empty-state.js.map +0 -1
- package/dist/collection/components/ic-empty-state/ic-empty-state.types.js +0 -2
- package/dist/collection/components/ic-empty-state/ic-empty-state.types.js.map +0 -1
- package/dist/collection/components/ic-empty-state/test/a11y/ic-empty-state.test.a11y.js +0 -38
- package/dist/collection/components/ic-empty-state/test/a11y/ic-empty-state.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-empty-state/test/basic/ic-empty-state.spec.js +0 -86
- package/dist/collection/components/ic-empty-state/test/basic/ic-empty-state.spec.js.map +0 -1
- package/dist/collection/components/ic-footer/ic-footer.css +0 -543
- package/dist/collection/components/ic-footer/ic-footer.js +0 -257
- package/dist/collection/components/ic-footer/ic-footer.js.map +0 -1
- package/dist/collection/components/ic-footer/ic-footer.types.js +0 -2
- package/dist/collection/components/ic-footer/ic-footer.types.js.map +0 -1
- package/dist/collection/components/ic-footer/test/a11y/ic-footer.test.a11y.js +0 -21
- package/dist/collection/components/ic-footer/test/a11y/ic-footer.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js +0 -50
- package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js.map +0 -1
- package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js +0 -140
- package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js.map +0 -1
- package/dist/collection/components/ic-footer-link/ic-footer-link.css +0 -612
- package/dist/collection/components/ic-footer-link/ic-footer-link.js +0 -201
- package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +0 -1
- package/dist/collection/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.js +0 -21
- package/dist/collection/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js +0 -62
- package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js.map +0 -1
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.css +0 -522
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +0 -114
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +0 -1
- package/dist/collection/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.js +0 -21
- package/dist/collection/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js +0 -98
- package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js.map +0 -1
- package/dist/collection/components/ic-hero/ic-hero.css +0 -726
- package/dist/collection/components/ic-hero/ic-hero.js +0 -277
- package/dist/collection/components/ic-hero/ic-hero.js.map +0 -1
- package/dist/collection/components/ic-hero/ic-hero.types.js +0 -2
- package/dist/collection/components/ic-hero/ic-hero.types.js.map +0 -1
- package/dist/collection/components/ic-hero/test/a11y/ic-hero.test.a11y.js +0 -11
- package/dist/collection/components/ic-hero/test/a11y/ic-hero.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js +0 -76
- package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +0 -1
- package/dist/collection/components/ic-horizontal-scroll/assets/left-arrow.svg +0 -3
- package/dist/collection/components/ic-horizontal-scroll/assets/right-arrow.svg +0 -3
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.css +0 -535
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +0 -234
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +0 -1
- package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js +0 -34
- package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js +0 -180
- package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js.map +0 -1
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +0 -166
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +0 -209
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +0 -1
- package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js +0 -117
- package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +0 -1
- package/dist/collection/components/ic-input-container/ic-input-container.css +0 -4
- package/dist/collection/components/ic-input-container/ic-input-container.js +0 -66
- package/dist/collection/components/ic-input-container/ic-input-container.js.map +0 -1
- package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js +0 -38
- package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js.map +0 -1
- package/dist/collection/components/ic-input-label/ic-input-label.css +0 -35
- package/dist/collection/components/ic-input-label/ic-input-label.js +0 -194
- package/dist/collection/components/ic-input-label/ic-input-label.js.map +0 -1
- package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js +0 -98
- package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js.map +0 -1
- package/dist/collection/components/ic-input-validation/ic-input-validation.css +0 -34
- package/dist/collection/components/ic-input-validation/ic-input-validation.js +0 -154
- package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +0 -1
- package/dist/collection/components/ic-input-validation/ic-input-validation.types.js +0 -2
- package/dist/collection/components/ic-input-validation/ic-input-validation.types.js.map +0 -1
- package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js +0 -89
- package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js.map +0 -1
- package/dist/collection/components/ic-link/ic-link.css +0 -558
- package/dist/collection/components/ic-link/ic-link.js +0 -267
- package/dist/collection/components/ic-link/ic-link.js.map +0 -1
- package/dist/collection/components/ic-link/test/a11y/ic-link.test.a11y.js +0 -11
- package/dist/collection/components/ic-link/test/a11y/ic-link.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-link/test/basic/ic-link.spec.js +0 -203
- package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +0 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +0 -663
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +0 -426
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +0 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.types.js +0 -2
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.types.js.map +0 -1
- package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js +0 -11
- package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js +0 -34
- package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js.map +0 -1
- package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js +0 -141
- package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js.map +0 -1
- package/dist/collection/components/ic-menu/ic-menu.css +0 -646
- package/dist/collection/components/ic-menu/ic-menu.js +0 -1209
- package/dist/collection/components/ic-menu/ic-menu.js.map +0 -1
- package/dist/collection/components/ic-menu/ic-menu.types.js +0 -2
- package/dist/collection/components/ic-menu/ic-menu.types.js.map +0 -1
- package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js +0 -668
- package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +0 -1
- package/dist/collection/components/ic-menu-group/ic-menu-group.css +0 -465
- package/dist/collection/components/ic-menu-group/ic-menu-group.js +0 -45
- package/dist/collection/components/ic-menu-group/ic-menu-group.js.map +0 -1
- package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js +0 -94
- package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js.map +0 -1
- package/dist/collection/components/ic-menu-item/ic-menu-item.css +0 -628
- package/dist/collection/components/ic-menu-item/ic-menu-item.js +0 -396
- package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +0 -1
- package/dist/collection/components/ic-menu-item/ic-menu-item.types.js +0 -2
- package/dist/collection/components/ic-menu-item/ic-menu-item.types.js.map +0 -1
- package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js +0 -108
- package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js.map +0 -1
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.css +0 -457
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +0 -273
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +0 -1
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.types.js +0 -2
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.types.js.map +0 -1
- package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js +0 -84
- package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +0 -1
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +0 -647
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +0 -380
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +0 -1
- package/dist/collection/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.js +0 -18
- package/dist/collection/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js +0 -309
- package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js.map +0 -1
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +0 -1028
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +0 -446
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +0 -1
- package/dist/collection/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.js +0 -18
- package/dist/collection/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js +0 -118
- package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js.map +0 -1
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +0 -92
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +0 -202
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +0 -1
- package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js +0 -29
- package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js.map +0 -1
- package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js +0 -176
- package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js.map +0 -1
- package/dist/collection/components/ic-page-header/ic-page-header.css +0 -582
- package/dist/collection/components/ic-page-header/ic-page-header.js +0 -273
- package/dist/collection/components/ic-page-header/ic-page-header.js.map +0 -1
- package/dist/collection/components/ic-page-header/test/a11y/ic-page-header.test.a11y.js +0 -13
- package/dist/collection/components/ic-page-header/test/a11y/ic-page-header.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js +0 -177
- package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js.map +0 -1
- package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js +0 -284
- package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js.map +0 -1
- package/dist/collection/components/ic-pagination/ic-pagination.css +0 -486
- package/dist/collection/components/ic-pagination/ic-pagination.js +0 -502
- package/dist/collection/components/ic-pagination/ic-pagination.js.map +0 -1
- package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js +0 -11
- package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js +0 -128
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js.map +0 -1
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js +0 -335
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js.map +0 -1
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.css +0 -581
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +0 -231
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +0 -1
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.types.js +0 -2
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.types.js.map +0 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +0 -548
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +0 -488
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +0 -1
- package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js +0 -13
- package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js +0 -30
- package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js.map +0 -1
- package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js +0 -395
- package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js.map +0 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.css +0 -486
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +0 -366
- package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +0 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.types.js +0 -2
- package/dist/collection/components/ic-radio-group/ic-radio-group.types.js.map +0 -1
- package/dist/collection/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.js +0 -16
- package/dist/collection/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js +0 -343
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js.map +0 -1
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js +0 -303
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +0 -1
- package/dist/collection/components/ic-radio-option/ic-radio-option.css +0 -654
- package/dist/collection/components/ic-radio-option/ic-radio-option.js +0 -388
- package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +0 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.css +0 -560
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +0 -1386
- package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +0 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.types.js +0 -2
- package/dist/collection/components/ic-search-bar/ic-search-bar.types.js.map +0 -1
- package/dist/collection/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.js +0 -11
- package/dist/collection/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js +0 -1118
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js.map +0 -1
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js +0 -584
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js.map +0 -1
- package/dist/collection/components/ic-section-container/ic-section-container.css +0 -514
- package/dist/collection/components/ic-section-container/ic-section-container.js +0 -75
- package/dist/collection/components/ic-section-container/ic-section-container.js.map +0 -1
- package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js +0 -69
- package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js.map +0 -1
- package/dist/collection/components/ic-select/assets/Check.svg +0 -3
- package/dist/collection/components/ic-select/assets/Clear.svg +0 -3
- package/dist/collection/components/ic-select/assets/Expand.svg +0 -3
- package/dist/collection/components/ic-select/ic-select.css +0 -670
- package/dist/collection/components/ic-select/ic-select.js +0 -1348
- package/dist/collection/components/ic-select/ic-select.js.map +0 -1
- package/dist/collection/components/ic-select/test/a11y/ic-select.test.a11y.js +0 -28
- package/dist/collection/components/ic-select/test/a11y/ic-select.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js +0 -1798
- package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js.map +0 -1
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +0 -1344
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +0 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +0 -635
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +0 -638
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +0 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.types.js +0 -2
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.types.js.map +0 -1
- package/dist/collection/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.js +0 -14
- package/dist/collection/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.js +0 -411
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.js.map +0 -1
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js +0 -432
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js.map +0 -1
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js +0 -470
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js.map +0 -1
- package/dist/collection/components/ic-skeleton/ic-skeleton.css +0 -503
- package/dist/collection/components/ic-skeleton/ic-skeleton.js +0 -113
- package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +0 -1
- package/dist/collection/components/ic-skeleton/ic-skeleton.types.js +0 -2
- package/dist/collection/components/ic-skeleton/ic-skeleton.types.js.map +0 -1
- package/dist/collection/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.js +0 -11
- package/dist/collection/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js +0 -89
- package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js.map +0 -1
- package/dist/collection/components/ic-status-tag/ic-status-tag.css +0 -504
- package/dist/collection/components/ic-status-tag/ic-status-tag.js +0 -140
- package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +0 -1
- package/dist/collection/components/ic-status-tag/ic-status-tag.types.js +0 -2
- package/dist/collection/components/ic-status-tag/ic-status-tag.types.js.map +0 -1
- package/dist/collection/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.js +0 -11
- package/dist/collection/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js +0 -43
- package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js.map +0 -1
- package/dist/collection/components/ic-step/ic-step.css +0 -278
- package/dist/collection/components/ic-step/ic-step.js +0 -398
- package/dist/collection/components/ic-step/ic-step.js.map +0 -1
- package/dist/collection/components/ic-step/ic-step.types.js +0 -2
- package/dist/collection/components/ic-step/ic-step.types.js.map +0 -1
- package/dist/collection/components/ic-step/test/basic/ic-step.spec.js +0 -176
- package/dist/collection/components/ic-step/test/basic/ic-step.spec.js.map +0 -1
- package/dist/collection/components/ic-stepper/ic-stepper.css +0 -28
- package/dist/collection/components/ic-stepper/ic-stepper.js +0 -319
- package/dist/collection/components/ic-stepper/ic-stepper.js.map +0 -1
- package/dist/collection/components/ic-stepper/ic-stepper.types.js +0 -2
- package/dist/collection/components/ic-stepper/ic-stepper.types.js.map +0 -1
- package/dist/collection/components/ic-stepper/test/a11y/ic-stepper.test.a11y.js +0 -36
- package/dist/collection/components/ic-stepper/test/a11y/ic-stepper.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js +0 -74
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js.map +0 -1
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js +0 -49
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js.map +0 -1
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js +0 -706
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +0 -1
- package/dist/collection/components/ic-switch/ic-switch.css +0 -656
- package/dist/collection/components/ic-switch/ic-switch.js +0 -331
- package/dist/collection/components/ic-switch/ic-switch.js.map +0 -1
- package/dist/collection/components/ic-switch/ic-switch.types.js +0 -2
- package/dist/collection/components/ic-switch/ic-switch.types.js.map +0 -1
- package/dist/collection/components/ic-switch/test/a11y/ic-switch.test.a11y.js +0 -11
- package/dist/collection/components/ic-switch/test/a11y/ic-switch.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js +0 -104
- package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js.map +0 -1
- package/dist/collection/components/ic-tab/ic-tab.css +0 -521
- package/dist/collection/components/ic-tab/ic-tab.js +0 -366
- package/dist/collection/components/ic-tab/ic-tab.js.map +0 -1
- package/dist/collection/components/ic-tab/ic-tab.types.js +0 -2
- package/dist/collection/components/ic-tab/ic-tab.types.js.map +0 -1
- package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js +0 -32
- package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js.map +0 -1
- package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js +0 -159
- package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js.map +0 -1
- package/dist/collection/components/ic-tab-context/ic-tab-context.js +0 -456
- package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +0 -1
- package/dist/collection/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.js +0 -19
- package/dist/collection/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js +0 -317
- package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js.map +0 -1
- package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js +0 -390
- package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js.map +0 -1
- package/dist/collection/components/ic-tab-group/ic-tab-group.css +0 -25
- package/dist/collection/components/ic-tab-group/ic-tab-group.js +0 -125
- package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +0 -1
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.css +0 -7
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +0 -198
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +0 -1
- package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js +0 -65
- package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js.map +0 -1
- package/dist/collection/components/ic-text-field/ic-text-field.css +0 -558
- package/dist/collection/components/ic-text-field/ic-text-field.js +0 -1120
- package/dist/collection/components/ic-text-field/ic-text-field.js.map +0 -1
- package/dist/collection/components/ic-text-field/ic-text-field.types.js +0 -2
- package/dist/collection/components/ic-text-field/ic-text-field.types.js.map +0 -1
- package/dist/collection/components/ic-text-field/test/a11y/ic-text-field.test.a11y.js +0 -33
- package/dist/collection/components/ic-text-field/test/a11y/ic-text-field.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js +0 -98
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js.map +0 -1
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js +0 -236
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +0 -1
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js +0 -310
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js.map +0 -1
- package/dist/collection/components/ic-theme/ic-theme.js +0 -107
- package/dist/collection/components/ic-theme/ic-theme.js.map +0 -1
- package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js +0 -72
- package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js.map +0 -1
- package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js +0 -77
- package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js.map +0 -1
- package/dist/collection/components/ic-toast/ic-toast.css +0 -602
- package/dist/collection/components/ic-toast/ic-toast.js +0 -390
- package/dist/collection/components/ic-toast/ic-toast.js.map +0 -1
- package/dist/collection/components/ic-toast/ic-toast.types.js +0 -2
- package/dist/collection/components/ic-toast/ic-toast.types.js.map +0 -1
- package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js +0 -16
- package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js +0 -82
- package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js.map +0 -1
- package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js +0 -278
- package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js.map +0 -1
- package/dist/collection/components/ic-toast-region/ic-toast-region.js +0 -83
- package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +0 -1
- package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js +0 -62
- package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js.map +0 -1
- package/dist/collection/components/ic-tooltip/ic-tooltip.css +0 -572
- package/dist/collection/components/ic-tooltip/ic-tooltip.js +0 -472
- package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +0 -1
- package/dist/collection/components/ic-tooltip/ic-tooltip.types.js +0 -2
- package/dist/collection/components/ic-tooltip/ic-tooltip.types.js.map +0 -1
- package/dist/collection/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.js +0 -15
- package/dist/collection/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js +0 -117
- package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js.map +0 -1
- package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js +0 -287
- package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js.map +0 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +0 -737
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +0 -440
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +0 -1
- package/dist/collection/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.js +0 -30
- package/dist/collection/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js +0 -61
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js.map +0 -1
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js +0 -242
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js.map +0 -1
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js +0 -299
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js.map +0 -1
- package/dist/collection/components/ic-typography/ic-typography.css +0 -627
- package/dist/collection/components/ic-typography/ic-typography.js +0 -272
- package/dist/collection/components/ic-typography/ic-typography.js.map +0 -1
- package/dist/collection/components/ic-typography/test/a11y/ic-typography.test.a11y.js +0 -11
- package/dist/collection/components/ic-typography/test/a11y/ic-typography.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js +0 -39
- package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js.map +0 -1
- package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js +0 -324
- package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +0 -1
- package/dist/collection/utils/constants.js +0 -81
- package/dist/collection/utils/constants.js.map +0 -1
- package/dist/collection/utils/types.js +0 -13
- package/dist/collection/utils/types.js.map +0 -1
- package/dist/components/ic-alert.d.ts +0 -11
- package/dist/components/ic-back-to-top.d.ts +0 -11
- package/dist/components/ic-breadcrumb-group.d.ts +0 -11
- package/dist/components/ic-breadcrumb.d.ts +0 -11
- package/dist/components/ic-button.d.ts +0 -11
- package/dist/components/ic-card.d.ts +0 -11
- package/dist/components/ic-checkbox-group.d.ts +0 -11
- package/dist/components/ic-checkbox.d.ts +0 -11
- package/dist/components/ic-chip.d.ts +0 -11
- package/dist/components/ic-classification-banner.d.ts +0 -11
- package/dist/components/ic-data-entity.d.ts +0 -11
- package/dist/components/ic-data-row.d.ts +0 -11
- package/dist/components/ic-dialog.d.ts +0 -11
- package/dist/components/ic-divider.d.ts +0 -11
- package/dist/components/ic-empty-state.d.ts +0 -11
- package/dist/components/ic-footer-link-group.d.ts +0 -11
- package/dist/components/ic-footer-link.d.ts +0 -11
- package/dist/components/ic-footer.d.ts +0 -11
- package/dist/components/ic-hero.d.ts +0 -11
- package/dist/components/ic-horizontal-scroll.d.ts +0 -11
- package/dist/components/ic-input-component-container.d.ts +0 -11
- package/dist/components/ic-input-container.d.ts +0 -11
- package/dist/components/ic-input-label.d.ts +0 -11
- package/dist/components/ic-input-validation.d.ts +0 -11
- package/dist/components/ic-link.d.ts +0 -11
- package/dist/components/ic-loading-indicator.d.ts +0 -11
- package/dist/components/ic-menu-group.d.ts +0 -11
- package/dist/components/ic-menu-item.d.ts +0 -11
- package/dist/components/ic-menu.d.ts +0 -11
- package/dist/components/ic-navigation-button.d.ts +0 -11
- package/dist/components/ic-navigation-group.d.ts +0 -11
- package/dist/components/ic-navigation-item.d.ts +0 -11
- package/dist/components/ic-navigation-menu.d.ts +0 -11
- package/dist/components/ic-page-header.d.ts +0 -11
- package/dist/components/ic-pagination-item.d.ts +0 -11
- package/dist/components/ic-pagination.d.ts +0 -11
- package/dist/components/ic-popover-menu.d.ts +0 -11
- package/dist/components/ic-radio-group.d.ts +0 -11
- package/dist/components/ic-radio-option.d.ts +0 -11
- package/dist/components/ic-search-bar.d.ts +0 -11
- package/dist/components/ic-section-container.d.ts +0 -11
- package/dist/components/ic-select.d.ts +0 -11
- package/dist/components/ic-side-navigation.d.ts +0 -11
- package/dist/components/ic-skeleton.d.ts +0 -11
- package/dist/components/ic-status-tag.d.ts +0 -11
- package/dist/components/ic-step.d.ts +0 -11
- package/dist/components/ic-stepper.d.ts +0 -11
- package/dist/components/ic-switch.d.ts +0 -11
- package/dist/components/ic-tab-context.d.ts +0 -11
- package/dist/components/ic-tab-group.d.ts +0 -11
- package/dist/components/ic-tab-panel.d.ts +0 -11
- package/dist/components/ic-tab.d.ts +0 -11
- package/dist/components/ic-text-field.d.ts +0 -11
- package/dist/components/ic-theme.d.ts +0 -11
- package/dist/components/ic-toast-region.d.ts +0 -11
- package/dist/components/ic-toast.d.ts +0 -11
- package/dist/components/ic-tooltip.d.ts +0 -11
- package/dist/components/ic-top-navigation.d.ts +0 -11
- package/dist/components/ic-typography.d.ts +0 -11
- package/dist/core/p-00f7f8e8.entry.js +0 -2
- package/dist/core/p-00f7f8e8.entry.js.map +0 -1
- package/dist/core/p-03935e89.js +0 -3
- package/dist/core/p-03935e89.js.map +0 -1
- package/dist/core/p-061283d4.entry.js +0 -2
- package/dist/core/p-061283d4.entry.js.map +0 -1
- package/dist/core/p-0729b492.entry.js +0 -2
- package/dist/core/p-0729b492.entry.js.map +0 -1
- package/dist/core/p-0929b7c4.entry.js +0 -2
- package/dist/core/p-0929b7c4.entry.js.map +0 -1
- package/dist/core/p-0eba1ec4.entry.js +0 -2
- package/dist/core/p-0eba1ec4.entry.js.map +0 -1
- package/dist/core/p-12d99423.entry.js +0 -2
- package/dist/core/p-12d99423.entry.js.map +0 -1
- package/dist/core/p-151cef1f.entry.js.map +0 -1
- package/dist/core/p-241baaac.entry.js +0 -2
- package/dist/core/p-241baaac.entry.js.map +0 -1
- package/dist/core/p-2d1ba7d5.entry.js.map +0 -1
- package/dist/core/p-2f737489.entry.js +0 -2
- package/dist/core/p-2f737489.entry.js.map +0 -1
- package/dist/core/p-385ae861.entry.js +0 -2
- package/dist/core/p-385ae861.entry.js.map +0 -1
- package/dist/core/p-3c50e682.entry.js +0 -2
- package/dist/core/p-3c50e682.entry.js.map +0 -1
- package/dist/core/p-3c545222.entry.js +0 -2
- package/dist/core/p-3c545222.entry.js.map +0 -1
- package/dist/core/p-3e3afba6.entry.js +0 -2
- package/dist/core/p-3e3afba6.entry.js.map +0 -1
- package/dist/core/p-4259972b.entry.js.map +0 -1
- package/dist/core/p-4ec6d80b.entry.js +0 -2
- package/dist/core/p-4ec6d80b.entry.js.map +0 -1
- package/dist/core/p-517968cb.entry.js.map +0 -1
- package/dist/core/p-55127131.entry.js +0 -2
- package/dist/core/p-55127131.entry.js.map +0 -1
- package/dist/core/p-5536d26c.entry.js.map +0 -1
- package/dist/core/p-5b39831f.entry.js +0 -2
- package/dist/core/p-5b39831f.entry.js.map +0 -1
- package/dist/core/p-613aa265.js.map +0 -1
- package/dist/core/p-649442b9.entry.js +0 -2
- package/dist/core/p-649442b9.entry.js.map +0 -1
- package/dist/core/p-65a1ff78.entry.js +0 -2
- package/dist/core/p-65a1ff78.entry.js.map +0 -1
- package/dist/core/p-6622567a.entry.js.map +0 -1
- package/dist/core/p-689a5bb3.entry.js +0 -2
- package/dist/core/p-689a5bb3.entry.js.map +0 -1
- package/dist/core/p-68a5aaff.js.map +0 -1
- package/dist/core/p-6da62e08.entry.js +0 -2
- package/dist/core/p-6da62e08.entry.js.map +0 -1
- package/dist/core/p-72815d65.entry.js +0 -2
- package/dist/core/p-72815d65.entry.js.map +0 -1
- package/dist/core/p-7799016a.entry.js.map +0 -1
- package/dist/core/p-786020b0.entry.js +0 -2
- package/dist/core/p-786020b0.entry.js.map +0 -1
- package/dist/core/p-892ddab1.entry.js +0 -2
- package/dist/core/p-892ddab1.entry.js.map +0 -1
- package/dist/core/p-8a4c5eb8.entry.js +0 -2
- package/dist/core/p-8a4c5eb8.entry.js.map +0 -1
- package/dist/core/p-8d8ba4d7.entry.js.map +0 -1
- package/dist/core/p-90608dc5.entry.js.map +0 -1
- package/dist/core/p-932a1a61.entry.js.map +0 -1
- package/dist/core/p-94f255ff.entry.js +0 -2
- package/dist/core/p-94f255ff.entry.js.map +0 -1
- package/dist/core/p-9c792bb9.entry.js.map +0 -1
- package/dist/core/p-a10968a4.entry.js +0 -2
- package/dist/core/p-a10968a4.entry.js.map +0 -1
- package/dist/core/p-a471cf70.entry.js +0 -2
- package/dist/core/p-a471cf70.entry.js.map +0 -1
- package/dist/core/p-a7c7d85a.entry.js +0 -2
- package/dist/core/p-a7c7d85a.entry.js.map +0 -1
- package/dist/core/p-b1568cf3.entry.js.map +0 -1
- package/dist/core/p-b4d2d905.entry.js.map +0 -1
- package/dist/core/p-ba27b1e2.js +0 -2
- package/dist/core/p-ba27b1e2.js.map +0 -1
- package/dist/core/p-ba3f9d1b.entry.js.map +0 -1
- package/dist/core/p-c2281c7d.entry.js +0 -2
- package/dist/core/p-c2281c7d.entry.js.map +0 -1
- package/dist/core/p-c95e4edb.entry.js +0 -2
- package/dist/core/p-c95e4edb.entry.js.map +0 -1
- package/dist/core/p-cda2ecbb.entry.js.map +0 -1
- package/dist/core/p-ced76d36.entry.js +0 -2
- package/dist/core/p-ced76d36.entry.js.map +0 -1
- package/dist/core/p-dcfc7f79.entry.js.map +0 -1
- package/dist/core/p-de37ac0e.entry.js +0 -2
- package/dist/core/p-de37ac0e.entry.js.map +0 -1
- package/dist/core/p-e565964f.entry.js.map +0 -1
- package/dist/core/p-e6028d7a.entry.js +0 -2
- package/dist/core/p-e6028d7a.entry.js.map +0 -1
- package/dist/core/p-ebd83ea6.entry.js +0 -2
- package/dist/core/p-ebd83ea6.entry.js.map +0 -1
- package/dist/core/p-ed35b2d0.entry.js.map +0 -1
- package/dist/core/p-f8d7bda8.entry.js +0 -2
- package/dist/core/p-f8d7bda8.entry.js.map +0 -1
- package/dist/core/p-fd8780e2.entry.js.map +0 -1
- package/dist/esm/OpenInNew-cdeed5ce.js.map +0 -1
- package/dist/esm/check-icon-4a9f8371.js.map +0 -1
- package/dist/esm/chevron-icon-589e3b46.js.map +0 -1
- package/dist/esm/close-icon-539ec8d1.js.map +0 -1
- package/dist/esm/helpers-10f9f399.js +0 -569
- package/dist/esm/helpers-10f9f399.js.map +0 -1
- package/dist/esm/index-5e4f5b3b.js.map +0 -1
- package/dist/esm/popper-0fbeff6d.js.map +0 -1
- package/dist/esm/types-b2398b37.js +0 -16
- package/dist/esm/types-b2398b37.js.map +0 -1
- package/dist/types/components/ic-alert/ic-alert.d.ts +0 -48
- package/dist/types/components/ic-alert/test/a11y/ic-alert.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +0 -25
- package/dist/types/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +0 -30
- package/dist/types/components/ic-breadcrumb/ic-breadcrumb.types.d.ts +0 -1
- package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +0 -40
- package/dist/types/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.d.ts +0 -2
- package/dist/types/components/ic-button/ic-button.d.ts +0 -140
- package/dist/types/components/ic-button/ic-button.types.d.ts +0 -3
- package/dist/types/components/ic-button/test/a11y/ic-button.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-card/ic-card.d.ts +0 -83
- package/dist/types/components/ic-card/test/a11y/ic-card.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +0 -72
- package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +0 -54
- package/dist/types/components/ic-checkbox-group/ic-checkbox-group.types.d.ts +0 -8
- package/dist/types/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-chip/ic-chip.d.ts +0 -50
- package/dist/types/components/ic-chip/ic-chip.types.d.ts +0 -1
- package/dist/types/components/ic-chip/test/a11y/ic-chip.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-classification-banner/ic-classification-banner.d.ts +0 -24
- package/dist/types/components/ic-classification-banner/ic-classification-banner.types.d.ts +0 -1
- package/dist/types/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-data-entity/ic-data-entity.d.ts +0 -12
- package/dist/types/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-data-row/ic-data-row.d.ts +0 -37
- package/dist/types/components/ic-data-row/test/a11y/ic-data-row.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-dialog/ic-dialog.d.ts +0 -123
- package/dist/types/components/ic-dialog/test/a11y/ic-dialog.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-divider/ic-divider.d.ts +0 -6
- package/dist/types/components/ic-empty-state/ic-empty-state.d.ts +0 -35
- package/dist/types/components/ic-empty-state/ic-empty-state.types.d.ts +0 -1
- package/dist/types/components/ic-empty-state/test/a11y/ic-empty-state.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-footer/ic-footer.d.ts +0 -52
- package/dist/types/components/ic-footer/ic-footer.types.d.ts +0 -1
- package/dist/types/components/ic-footer/test/a11y/ic-footer.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +0 -41
- package/dist/types/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +0 -19
- package/dist/types/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-hero/ic-hero.d.ts +0 -57
- package/dist/types/components/ic-hero/ic-hero.types.d.ts +0 -1
- package/dist/types/components/ic-hero/test/a11y/ic-hero.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.d.ts +0 -40
- package/dist/types/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +0 -40
- package/dist/types/components/ic-input-container/ic-input-container.d.ts +0 -11
- package/dist/types/components/ic-input-label/ic-input-label.d.ts +0 -36
- package/dist/types/components/ic-input-validation/ic-input-validation.d.ts +0 -30
- package/dist/types/components/ic-input-validation/ic-input-validation.types.d.ts +0 -1
- package/dist/types/components/ic-link/ic-link.d.ts +0 -50
- package/dist/types/components/ic-link/test/a11y/ic-link.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +0 -80
- package/dist/types/components/ic-loading-indicator/ic-loading-indicator.types.d.ts +0 -7
- package/dist/types/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-menu/ic-menu.d.ts +0 -175
- package/dist/types/components/ic-menu/ic-menu.types.d.ts +0 -12
- package/dist/types/components/ic-menu-group/ic-menu-group.d.ts +0 -8
- package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +0 -74
- package/dist/types/components/ic-menu-item/ic-menu-item.types.d.ts +0 -1
- package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +0 -54
- package/dist/types/components/ic-navigation-button/ic-navigation-button.types.d.ts +0 -1
- package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +0 -63
- package/dist/types/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +0 -85
- package/dist/types/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +0 -36
- package/dist/types/components/ic-page-header/ic-page-header.d.ts +0 -57
- package/dist/types/components/ic-page-header/test/a11y/ic-page-header.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-pagination/ic-pagination.d.ts +0 -82
- package/dist/types/components/ic-pagination/test/a11y/ic-pagination.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-pagination-item/ic-pagination-item.d.ts +0 -47
- package/dist/types/components/ic-pagination-item/ic-pagination-item.types.d.ts +0 -1
- package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +0 -62
- package/dist/types/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +0 -60
- package/dist/types/components/ic-radio-group/ic-radio-group.types.d.ts +0 -7
- package/dist/types/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +0 -70
- package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +0 -251
- package/dist/types/components/ic-search-bar/ic-search-bar.types.d.ts +0 -5
- package/dist/types/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-section-container/ic-section-container.d.ts +0 -12
- package/dist/types/components/ic-select/ic-select.d.ts +0 -240
- package/dist/types/components/ic-select/test/a11y/ic-select.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +0 -101
- package/dist/types/components/ic-side-navigation/ic-side-navigation.types.d.ts +0 -9
- package/dist/types/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.d.ts +0 -6
- package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +0 -18
- package/dist/types/components/ic-skeleton/ic-skeleton.types.d.ts +0 -1
- package/dist/types/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +0 -25
- package/dist/types/components/ic-status-tag/ic-status-tag.types.d.ts +0 -2
- package/dist/types/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-step/ic-step.d.ts +0 -54
- package/dist/types/components/ic-step/ic-step.types.d.ts +0 -3
- package/dist/types/components/ic-stepper/ic-stepper.d.ts +0 -43
- package/dist/types/components/ic-stepper/ic-stepper.types.d.ts +0 -1
- package/dist/types/components/ic-stepper/test/a11y/ic-stepper.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-stepper/test/basic/ic-stepper-test-examples.d.ts +0 -4
- package/dist/types/components/ic-switch/ic-switch.d.ts +0 -75
- package/dist/types/components/ic-switch/ic-switch.types.d.ts +0 -4
- package/dist/types/components/ic-switch/test/a11y/ic-switch.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-tab/ic-tab.d.ts +0 -59
- package/dist/types/components/ic-tab/ic-tab.types.d.ts +0 -8
- package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +0 -64
- package/dist/types/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +0 -23
- package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +0 -37
- package/dist/types/components/ic-text-field/ic-text-field.d.ts +0 -217
- package/dist/types/components/ic-text-field/ic-text-field.types.d.ts +0 -3
- package/dist/types/components/ic-text-field/test/a11y/ic-text-field.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-theme/ic-theme.d.ts +0 -18
- package/dist/types/components/ic-toast/ic-toast.d.ts +0 -66
- package/dist/types/components/ic-toast/ic-toast.types.d.ts +0 -1
- package/dist/types/components/ic-toast/test/a11y/ic-toast.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +0 -12
- package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +0 -60
- package/dist/types/components/ic-tooltip/ic-tooltip.types.d.ts +0 -1
- package/dist/types/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +0 -84
- package/dist/types/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-typography/ic-typography.d.ts +0 -57
- package/dist/types/components/ic-typography/test/a11y/ic-typography.test.a11y.d.ts +0 -1
- package/dist/types/utils/constants.d.ts +0 -38
- package/dist/types/utils/types.d.ts +0 -74
- /package/dist/core/{p-3b185c32.js.map → p-0aa9ce8b.js.map} +0 -0
- /package/dist/core/{p-426ec638.js.map → p-170ddfc2.js.map} +0 -0
- /package/dist/core/{p-c2e091d7.js.map → p-e081702e.js.map} +0 -0
- /package/dist/core/{p-f074ef5b.js.map → p-ea1ea1b9.js.map} +0 -0
@@ -1,28 +0,0 @@
|
|
1
|
-
:host {
|
2
|
-
display: flex;
|
3
|
-
width: 100%;
|
4
|
-
}
|
5
|
-
|
6
|
-
.step-item-list {
|
7
|
-
display: flex;
|
8
|
-
margin: 0;
|
9
|
-
padding: 0;
|
10
|
-
}
|
11
|
-
|
12
|
-
:host(.default:not(.aligned-left)) .step-item-list {
|
13
|
-
flex: auto;
|
14
|
-
}
|
15
|
-
|
16
|
-
:host(.compact) ul ::slotted(ic-step) {
|
17
|
-
display: none;
|
18
|
-
}
|
19
|
-
|
20
|
-
:host(.compact) ul ::slotted(ic-step.show) {
|
21
|
-
display: flex;
|
22
|
-
}
|
23
|
-
|
24
|
-
:host(.compact) ul ::slotted(ic-step.hide) {
|
25
|
-
display: none;
|
26
|
-
opacity: 0;
|
27
|
-
visibility: hidden;
|
28
|
-
}
|
@@ -1,319 +0,0 @@
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
2
|
-
import { checkResizeObserver, pxToRem } from "../../utils/helpers";
|
3
|
-
export class Stepper {
|
4
|
-
constructor() {
|
5
|
-
this.resizeObserver = null;
|
6
|
-
// Get all steps currently within this stepper
|
7
|
-
this.getChildren = () => {
|
8
|
-
this.steps = Array.from(this.el.querySelectorAll("ic-step"));
|
9
|
-
this.stepsWithStepTitles = Array.from(this.el.querySelectorAll("ic-step[step-title]"));
|
10
|
-
};
|
11
|
-
// Inform the user that stepTitles are required on all steps in a compact stepper
|
12
|
-
this.checkStepTitles = () => {
|
13
|
-
if (this.stepsWithStepTitles.length < this.steps.length &&
|
14
|
-
this.variantOverride &&
|
15
|
-
this.variant === "compact") {
|
16
|
-
this.noOfResizes = this.noOfResizes + 1;
|
17
|
-
if (this.noOfResizes === 1) {
|
18
|
-
console.error(`The prop 'step-title' (web components) / 'stepTitle' (react) is required for all steps of the Stepper component (compact variant)`);
|
19
|
-
}
|
20
|
-
}
|
21
|
-
};
|
22
|
-
this.setStepTypes = () => {
|
23
|
-
this.getChildren();
|
24
|
-
this.stepTypes = [];
|
25
|
-
for (let i = 0; i < this.steps.length; i++) {
|
26
|
-
this.stepTypes.push("active");
|
27
|
-
}
|
28
|
-
};
|
29
|
-
this.setStepperWidth = () => {
|
30
|
-
this.alignedFullWidth =
|
31
|
-
this.variant === "default" && this.aligned === "full-width";
|
32
|
-
const lastStep = this.steps[this.steps.length - 1];
|
33
|
-
lastStep.style.maxWidth = "none";
|
34
|
-
if (this.alignedFullWidth) {
|
35
|
-
this.stepperWidth = this.el.offsetWidth;
|
36
|
-
lastStep.style.maxWidth = pxToRem(`${this.stepperWidth / this.steps.length}px`);
|
37
|
-
this.lastStepWidth = lastStep.offsetWidth;
|
38
|
-
}
|
39
|
-
};
|
40
|
-
this.initialiseStepStates = () => {
|
41
|
-
this.steps.forEach((step, index) => {
|
42
|
-
// Set variant
|
43
|
-
step.variant = this.variant;
|
44
|
-
// Assign stepNum to each step
|
45
|
-
step.stepNum = index + 1;
|
46
|
-
// Assign lastStep to final step
|
47
|
-
step.lastStep = index === this.steps.length - 1;
|
48
|
-
step.lastStepNum = this.steps.length;
|
49
|
-
if (step.stepType !== "current") {
|
50
|
-
step.current = false;
|
51
|
-
this.stepTypes[index] = step.stepType;
|
52
|
-
}
|
53
|
-
else {
|
54
|
-
step.current = true;
|
55
|
-
}
|
56
|
-
const stepTitleArea = step.shadowRoot &&
|
57
|
-
step.shadowRoot.querySelector(".step > .step-title-area");
|
58
|
-
if (this.stepsWithStepTitles.length == 0 && this.variantOverride) {
|
59
|
-
if (this.variant === "compact") {
|
60
|
-
this.autoSetStepTitles = true;
|
61
|
-
if (this.autoSetStepTitles) {
|
62
|
-
step.stepTitle = "Step " + step.stepNum;
|
63
|
-
stepTitleArea &&
|
64
|
-
stepTitleArea
|
65
|
-
.querySelector(".step-title")
|
66
|
-
.setAttribute("aria-hidden", "true");
|
67
|
-
}
|
68
|
-
}
|
69
|
-
if (this.variant === "default") {
|
70
|
-
this.autoSetStepTitles = false;
|
71
|
-
if (!this.autoSetStepTitles) {
|
72
|
-
step.stepTitle = undefined;
|
73
|
-
stepTitleArea &&
|
74
|
-
stepTitleArea
|
75
|
-
.querySelector(".step-title")
|
76
|
-
.removeAttribute("aria-hidden");
|
77
|
-
}
|
78
|
-
}
|
79
|
-
}
|
80
|
-
if (this.variant === "compact") {
|
81
|
-
if (step.current === true || step.stepType === "current") {
|
82
|
-
step.classList.remove("hide");
|
83
|
-
step.classList.add("show");
|
84
|
-
}
|
85
|
-
else if (step.classList.contains("show")) {
|
86
|
-
step.classList.remove("show");
|
87
|
-
step.classList.add("hide");
|
88
|
-
}
|
89
|
-
if (!step.lastStep) {
|
90
|
-
step.nextStepTitle = this.steps[index + 1].stepTitle;
|
91
|
-
step.progress = (step.stepNum / this.steps.length) * 100;
|
92
|
-
}
|
93
|
-
else if (step.lastStep && this.stepTypes[index] !== "completed") {
|
94
|
-
step.progress = 95;
|
95
|
-
}
|
96
|
-
else {
|
97
|
-
step.progress = 100;
|
98
|
-
}
|
99
|
-
if (this.hideStepInfo && stepTitleArea !== null) {
|
100
|
-
stepTitleArea.classList.remove("visually-hidden");
|
101
|
-
}
|
102
|
-
step.compactStepStyling = this.stepTypes[index];
|
103
|
-
}
|
104
|
-
if (this.variant === "default") {
|
105
|
-
if (!step.lastStep) {
|
106
|
-
if (this.alignedFullWidth) {
|
107
|
-
step.style.width = pxToRem(`${(this.stepperWidth - this.lastStepWidth) /
|
108
|
-
(this.steps.length - 1)}px`);
|
109
|
-
step.style.minWidth = pxToRem("148px");
|
110
|
-
}
|
111
|
-
}
|
112
|
-
else if (step.lastStep) {
|
113
|
-
step.classList.add("last-step");
|
114
|
-
if (this.alignedFullWidth) {
|
115
|
-
step.style.maxWidth = `${this.lastStepWidth}px`;
|
116
|
-
}
|
117
|
-
else {
|
118
|
-
step.style.maxWidth =
|
119
|
-
this.connectorWidth > 100
|
120
|
-
? pxToRem(`${this.connectorWidth + 48}px`)
|
121
|
-
: pxToRem("148px");
|
122
|
-
}
|
123
|
-
}
|
124
|
-
if (this.aligned === "left") {
|
125
|
-
step.style.width =
|
126
|
-
this.connectorWidth > 100
|
127
|
-
? pxToRem(`${this.connectorWidth + 48}px`)
|
128
|
-
: pxToRem("148px");
|
129
|
-
const stepConnect = step.shadowRoot.querySelector(".step > .step-top > .step-connect");
|
130
|
-
if (stepConnect) {
|
131
|
-
stepConnect.style.width =
|
132
|
-
this.connectorWidth > 100
|
133
|
-
? pxToRem(`${this.connectorWidth}px`)
|
134
|
-
: pxToRem("100px");
|
135
|
-
}
|
136
|
-
}
|
137
|
-
if (this.hideStepInfo && stepTitleArea !== null) {
|
138
|
-
stepTitleArea.classList.add("visually-hidden");
|
139
|
-
}
|
140
|
-
}
|
141
|
-
});
|
142
|
-
};
|
143
|
-
this.overrideVariant = () => {
|
144
|
-
let minDefaultStepperWidth = 148 * this.steps.length;
|
145
|
-
if (this.aligned === "left" && this.connectorWidth > 100) {
|
146
|
-
minDefaultStepperWidth = (this.connectorWidth + 48) * this.steps.length;
|
147
|
-
}
|
148
|
-
if (this.variantOverride) {
|
149
|
-
if (this.el.clientWidth < minDefaultStepperWidth) {
|
150
|
-
this.variant = "compact";
|
151
|
-
this.getChildren();
|
152
|
-
}
|
153
|
-
else {
|
154
|
-
this.variant = "default";
|
155
|
-
this.getChildren();
|
156
|
-
}
|
157
|
-
}
|
158
|
-
};
|
159
|
-
this.resizeObserverCallback = () => {
|
160
|
-
this.getChildren();
|
161
|
-
this.checkStepTitles();
|
162
|
-
this.overrideVariant();
|
163
|
-
this.setStepperWidth();
|
164
|
-
this.initialiseStepStates();
|
165
|
-
};
|
166
|
-
this.runResizeObserver = () => {
|
167
|
-
this.resizeObserver = new ResizeObserver(() => {
|
168
|
-
this.resizeObserverCallback();
|
169
|
-
});
|
170
|
-
this.resizeObserver.observe(this.el);
|
171
|
-
};
|
172
|
-
this.alignedFullWidth = true;
|
173
|
-
this.autoSetStepTitles = true;
|
174
|
-
this.lastStepWidth = 0;
|
175
|
-
this.noOfResizes = 0;
|
176
|
-
this.stepperWidth = document
|
177
|
-
.querySelector("ic-stepper")
|
178
|
-
.getBoundingClientRect().width;
|
179
|
-
this.stepTypes = [];
|
180
|
-
this.variantOverride = this.variant !== "compact";
|
181
|
-
this.aligned = "full-width";
|
182
|
-
this.connectorWidth = 100;
|
183
|
-
this.hideStepInfo = false;
|
184
|
-
this.variant = "default";
|
185
|
-
}
|
186
|
-
disconnectedCallback() {
|
187
|
-
if (this.resizeObserver !== null) {
|
188
|
-
this.resizeObserver.disconnect();
|
189
|
-
}
|
190
|
-
}
|
191
|
-
componentWillLoad() {
|
192
|
-
this.setStepTypes();
|
193
|
-
if (this.variant === "compact") {
|
194
|
-
this.variantOverride = false;
|
195
|
-
}
|
196
|
-
}
|
197
|
-
componentDidLoad() {
|
198
|
-
checkResizeObserver(this.runResizeObserver);
|
199
|
-
}
|
200
|
-
render() {
|
201
|
-
return (h(Host, { class: {
|
202
|
-
[`${this.variant}`]: true,
|
203
|
-
["aligned-left"]: this.variant === "default" && this.aligned === "left",
|
204
|
-
} }, h("ul", { class: "step-item-list" }, h("slot", null))));
|
205
|
-
}
|
206
|
-
static get is() { return "ic-stepper"; }
|
207
|
-
static get encapsulation() { return "shadow"; }
|
208
|
-
static get originalStyleUrls() {
|
209
|
-
return {
|
210
|
-
"$": ["ic-stepper.css"]
|
211
|
-
};
|
212
|
-
}
|
213
|
-
static get styleUrls() {
|
214
|
-
return {
|
215
|
-
"$": ["ic-stepper.css"]
|
216
|
-
};
|
217
|
-
}
|
218
|
-
static get properties() {
|
219
|
-
return {
|
220
|
-
"aligned": {
|
221
|
-
"type": "string",
|
222
|
-
"mutable": false,
|
223
|
-
"complexType": {
|
224
|
-
"original": "IcStepperAlignment",
|
225
|
-
"resolved": "\"full-width\" | \"left\"",
|
226
|
-
"references": {
|
227
|
-
"IcStepperAlignment": {
|
228
|
-
"location": "import",
|
229
|
-
"path": "./ic-stepper.types",
|
230
|
-
"id": "src/components/ic-stepper/ic-stepper.types.ts::IcStepperAlignment"
|
231
|
-
}
|
232
|
-
}
|
233
|
-
},
|
234
|
-
"required": false,
|
235
|
-
"optional": true,
|
236
|
-
"docs": {
|
237
|
-
"tags": [],
|
238
|
-
"text": "The alignment of the default stepper within its container."
|
239
|
-
},
|
240
|
-
"attribute": "aligned",
|
241
|
-
"reflect": false,
|
242
|
-
"defaultValue": "\"full-width\""
|
243
|
-
},
|
244
|
-
"connectorWidth": {
|
245
|
-
"type": "number",
|
246
|
-
"mutable": false,
|
247
|
-
"complexType": {
|
248
|
-
"original": "number",
|
249
|
-
"resolved": "number",
|
250
|
-
"references": {}
|
251
|
-
},
|
252
|
-
"required": false,
|
253
|
-
"optional": true,
|
254
|
-
"docs": {
|
255
|
-
"tags": [],
|
256
|
-
"text": "The length of the connnector between each step in pixels. Minimum length is 100px."
|
257
|
-
},
|
258
|
-
"attribute": "connector-width",
|
259
|
-
"reflect": false,
|
260
|
-
"defaultValue": "100"
|
261
|
-
},
|
262
|
-
"hideStepInfo": {
|
263
|
-
"type": "boolean",
|
264
|
-
"mutable": false,
|
265
|
-
"complexType": {
|
266
|
-
"original": "boolean",
|
267
|
-
"resolved": "boolean",
|
268
|
-
"references": {}
|
269
|
-
},
|
270
|
-
"required": false,
|
271
|
-
"optional": true,
|
272
|
-
"docs": {
|
273
|
-
"tags": [],
|
274
|
-
"text": "If `true`, the information about each step, i.e. step title, step subtitle and step status, will be hidden on all default steps. The information about each step will still be visible in the compact variant of the stepper."
|
275
|
-
},
|
276
|
-
"attribute": "hide-step-info",
|
277
|
-
"reflect": false,
|
278
|
-
"defaultValue": "false"
|
279
|
-
},
|
280
|
-
"variant": {
|
281
|
-
"type": "string",
|
282
|
-
"mutable": true,
|
283
|
-
"complexType": {
|
284
|
-
"original": "IcStepVariants",
|
285
|
-
"resolved": "\"compact\" | \"default\"",
|
286
|
-
"references": {
|
287
|
-
"IcStepVariants": {
|
288
|
-
"location": "import",
|
289
|
-
"path": "../ic-step/ic-step.types",
|
290
|
-
"id": "src/components/ic-step/ic-step.types.ts::IcStepVariants"
|
291
|
-
}
|
292
|
-
}
|
293
|
-
},
|
294
|
-
"required": false,
|
295
|
-
"optional": true,
|
296
|
-
"docs": {
|
297
|
-
"tags": [],
|
298
|
-
"text": "The variant of the stepper."
|
299
|
-
},
|
300
|
-
"attribute": "variant",
|
301
|
-
"reflect": false,
|
302
|
-
"defaultValue": "\"default\""
|
303
|
-
}
|
304
|
-
};
|
305
|
-
}
|
306
|
-
static get states() {
|
307
|
-
return {
|
308
|
-
"alignedFullWidth": {},
|
309
|
-
"autoSetStepTitles": {},
|
310
|
-
"lastStepWidth": {},
|
311
|
-
"noOfResizes": {},
|
312
|
-
"stepperWidth": {},
|
313
|
-
"stepTypes": {},
|
314
|
-
"variantOverride": {}
|
315
|
-
};
|
316
|
-
}
|
317
|
-
static get elementRef() { return "el"; }
|
318
|
-
}
|
319
|
-
//# sourceMappingURL=ic-stepper.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ic-stepper.js","sourceRoot":"","sources":["../../../src/components/ic-stepper/ic-stepper.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, Element, Host, Prop, h, State } from \"@stencil/core\";\nimport { checkResizeObserver, pxToRem } from \"../../utils/helpers\";\nimport { IcStepperAlignment } from \"./ic-stepper.types\";\nimport { IcStepTypes, IcStepVariants } from \"../ic-step/ic-step.types\";\n\n@Component({\n tag: \"ic-stepper\",\n styleUrl: \"ic-stepper.css\",\n shadow: true,\n})\nexport class Stepper {\n private resizeObserver: ResizeObserver = null;\n private steps: HTMLIcStepElement[];\n private stepsWithStepTitles: HTMLIcStepElement[];\n\n @Element() el: HTMLIcStepperElement;\n\n @State() alignedFullWidth: boolean = true;\n @State() autoSetStepTitles: boolean = true;\n @State() lastStepWidth: number = 0;\n @State() noOfResizes?: number = 0;\n @State() stepperWidth: number = document\n .querySelector(\"ic-stepper\")\n .getBoundingClientRect().width;\n @State() stepTypes: IcStepTypes[] = [];\n @State() variantOverride?: boolean = this.variant !== \"compact\";\n\n /**\n * The alignment of the default stepper within its container.\n */\n @Prop() aligned?: IcStepperAlignment = \"full-width\";\n\n /**\n * The length of the connnector between each step in pixels. Minimum length is 100px.\n */\n @Prop() connectorWidth?: number = 100;\n\n /**\n * If `true`, the information about each step, i.e. step title, step subtitle and step status, will be hidden on all default steps. The information about each step will still be visible in the compact variant of the stepper.\n */\n @Prop() hideStepInfo?: boolean = false;\n\n /**\n * The variant of the stepper.\n */\n @Prop({ mutable: true }) variant?: IcStepVariants = \"default\";\n\n disconnectedCallback(): void {\n if (this.resizeObserver !== null) {\n this.resizeObserver.disconnect();\n }\n }\n\n componentWillLoad(): void {\n this.setStepTypes();\n if (this.variant === \"compact\") {\n this.variantOverride = false;\n }\n }\n\n componentDidLoad(): void {\n checkResizeObserver(this.runResizeObserver);\n }\n\n // Get all steps currently within this stepper\n private getChildren = (): void => {\n this.steps = Array.from(this.el.querySelectorAll(\"ic-step\"));\n\n this.stepsWithStepTitles = Array.from(\n this.el.querySelectorAll(\"ic-step[step-title]\")\n );\n };\n\n // Inform the user that stepTitles are required on all steps in a compact stepper\n private checkStepTitles = (): void => {\n if (\n this.stepsWithStepTitles.length < this.steps.length &&\n this.variantOverride &&\n this.variant === \"compact\"\n ) {\n this.noOfResizes = this.noOfResizes + 1;\n if (this.noOfResizes === 1) {\n console.error(\n `The prop 'step-title' (web components) / 'stepTitle' (react) is required for all steps of the Stepper component (compact variant)`\n );\n }\n }\n };\n\n private setStepTypes = (): void => {\n this.getChildren();\n this.stepTypes = [];\n for (let i = 0; i < this.steps.length; i++) {\n this.stepTypes.push(\"active\");\n }\n };\n\n private setStepperWidth = (): void => {\n this.alignedFullWidth =\n this.variant === \"default\" && this.aligned === \"full-width\";\n\n const lastStep = this.steps[this.steps.length - 1];\n lastStep.style.maxWidth = \"none\";\n\n if (this.alignedFullWidth) {\n this.stepperWidth = this.el.offsetWidth;\n lastStep.style.maxWidth = pxToRem(\n `${this.stepperWidth / this.steps.length}px`\n );\n this.lastStepWidth = lastStep.offsetWidth;\n }\n };\n\n private initialiseStepStates = (): void => {\n this.steps.forEach((step, index) => {\n // Set variant\n step.variant = this.variant;\n // Assign stepNum to each step\n step.stepNum = index + 1;\n // Assign lastStep to final step\n step.lastStep = index === this.steps.length - 1;\n step.lastStepNum = this.steps.length;\n\n if (step.stepType !== \"current\") {\n step.current = false;\n this.stepTypes[index] = step.stepType;\n } else {\n step.current = true;\n }\n\n const stepTitleArea =\n step.shadowRoot &&\n step.shadowRoot.querySelector(\".step > .step-title-area\");\n\n if (this.stepsWithStepTitles.length == 0 && this.variantOverride) {\n if (this.variant === \"compact\") {\n this.autoSetStepTitles = true;\n if (this.autoSetStepTitles) {\n step.stepTitle = \"Step \" + step.stepNum;\n stepTitleArea &&\n stepTitleArea\n .querySelector(\".step-title\")\n .setAttribute(\"aria-hidden\", \"true\");\n }\n }\n if (this.variant === \"default\") {\n this.autoSetStepTitles = false;\n if (!this.autoSetStepTitles) {\n step.stepTitle = undefined;\n stepTitleArea &&\n stepTitleArea\n .querySelector(\".step-title\")\n .removeAttribute(\"aria-hidden\");\n }\n }\n }\n\n if (this.variant === \"compact\") {\n if (step.current === true || step.stepType === \"current\") {\n step.classList.remove(\"hide\");\n step.classList.add(\"show\");\n } else if (step.classList.contains(\"show\")) {\n step.classList.remove(\"show\");\n step.classList.add(\"hide\");\n }\n\n if (!step.lastStep) {\n step.nextStepTitle = this.steps[index + 1].stepTitle;\n step.progress = (step.stepNum / this.steps.length) * 100;\n } else if (step.lastStep && this.stepTypes[index] !== \"completed\") {\n step.progress = 95;\n } else {\n step.progress = 100;\n }\n\n if (this.hideStepInfo && stepTitleArea !== null) {\n stepTitleArea.classList.remove(\"visually-hidden\");\n }\n\n step.compactStepStyling = this.stepTypes[index];\n }\n\n if (this.variant === \"default\") {\n if (!step.lastStep) {\n if (this.alignedFullWidth) {\n step.style.width = pxToRem(\n `${\n (this.stepperWidth - this.lastStepWidth) /\n (this.steps.length - 1)\n }px`\n );\n step.style.minWidth = pxToRem(\"148px\");\n }\n } else if (step.lastStep) {\n step.classList.add(\"last-step\");\n if (this.alignedFullWidth) {\n step.style.maxWidth = `${this.lastStepWidth}px`;\n } else {\n step.style.maxWidth =\n this.connectorWidth > 100\n ? pxToRem(`${this.connectorWidth + 48}px`)\n : pxToRem(\"148px\");\n }\n }\n\n if (this.aligned === \"left\") {\n step.style.width =\n this.connectorWidth > 100\n ? pxToRem(`${this.connectorWidth + 48}px`)\n : pxToRem(\"148px\");\n const stepConnect = step.shadowRoot.querySelector(\n \".step > .step-top > .step-connect\"\n ) as HTMLElement;\n\n if (stepConnect) {\n stepConnect.style.width =\n this.connectorWidth > 100\n ? pxToRem(`${this.connectorWidth}px`)\n : pxToRem(\"100px\");\n }\n }\n\n if (this.hideStepInfo && stepTitleArea !== null) {\n stepTitleArea.classList.add(\"visually-hidden\");\n }\n }\n });\n };\n\n private overrideVariant = () => {\n let minDefaultStepperWidth = 148 * this.steps.length;\n\n if (this.aligned === \"left\" && this.connectorWidth > 100) {\n minDefaultStepperWidth = (this.connectorWidth + 48) * this.steps.length;\n }\n\n if (this.variantOverride) {\n if (this.el.clientWidth < minDefaultStepperWidth) {\n this.variant = \"compact\";\n this.getChildren();\n } else {\n this.variant = \"default\";\n this.getChildren();\n }\n }\n };\n\n private resizeObserverCallback = () => {\n this.getChildren();\n this.checkStepTitles();\n this.overrideVariant();\n this.setStepperWidth();\n this.initialiseStepStates();\n };\n\n private runResizeObserver = () => {\n this.resizeObserver = new ResizeObserver(() => {\n this.resizeObserverCallback();\n });\n this.resizeObserver.observe(this.el);\n };\n\n render() {\n return (\n <Host\n class={{\n [`${this.variant}`]: true,\n [\"aligned-left\"]:\n this.variant === \"default\" && this.aligned === \"left\",\n }}\n >\n <ul class=\"step-item-list\">\n <slot></slot>\n </ul>\n </Host>\n );\n }\n}\n"]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ic-stepper.types.js","sourceRoot":"","sources":["../../../src/components/ic-stepper/ic-stepper.types.ts"],"names":[],"mappings":"","sourcesContent":["export type IcStepperAlignment = \"left\" | \"full-width\";\n"]}
|
@@ -1,36 +0,0 @@
|
|
1
|
-
import { fixture } from "@open-wc/testing-helpers";
|
2
|
-
import { axe } from "jest-axe";
|
3
|
-
import { checkShadowElementRendersCorrectly } from "../../../../utils/testa11y.helpers";
|
4
|
-
describe("default variant of stepper component", () => {
|
5
|
-
it("passes accessibility", async () => {
|
6
|
-
const el = await fixture(`<ic-stepper>
|
7
|
-
<ic-step step-title="First"></ic-step>
|
8
|
-
<ic-step
|
9
|
-
step-title="Second With a Very Long Title"
|
10
|
-
step-subtitle="Optional Subtitle"
|
11
|
-
step-type="current"
|
12
|
-
></ic-step>
|
13
|
-
<ic-step step-title="Third" step-type="disabled"></ic-step>
|
14
|
-
<ic-step
|
15
|
-
step-title="Fourth"
|
16
|
-
step-subtitle="Optional Subtitle"
|
17
|
-
step-type="completed"
|
18
|
-
></ic-step>
|
19
|
-
</ic-stepper>`);
|
20
|
-
checkShadowElementRendersCorrectly(el);
|
21
|
-
expect(await axe(el)).toHaveNoViolations();
|
22
|
-
});
|
23
|
-
});
|
24
|
-
describe("compact variant of ic-stepper", () => {
|
25
|
-
it("passes accessibility", async () => {
|
26
|
-
const el = await fixture(`<ic-stepper variant="compact" id="standard-compact-stepper">
|
27
|
-
<ic-step step-title="Create" step-type="completed"></ic-step>
|
28
|
-
<ic-step step-title="Read" step-status="complete" current></ic-step>
|
29
|
-
<ic-step step-title="Update" step-status="not required"></ic-step>
|
30
|
-
<ic-step step-title="Delete" step-status="not required"></ic-step>
|
31
|
-
</ic-stepper>`);
|
32
|
-
checkShadowElementRendersCorrectly(el);
|
33
|
-
expect(await axe(el)).toHaveNoViolations();
|
34
|
-
});
|
35
|
-
});
|
36
|
-
//# sourceMappingURL=ic-stepper.test.a11y.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ic-stepper.test.a11y.js","sourceRoot":"","sources":["../../../../../src/components/ic-stepper/test/a11y/ic-stepper.test.a11y.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,kCAAkC,EAAE,MAAM,oCAAoC,CAAC;AAExF,QAAQ,CAAC,sCAAsC,EAAE,GAAG,EAAE;EACpD,EAAE,CAAC,sBAAsB,EAAE,KAAK,IAAI,EAAE;IACpC,MAAM,EAAE,GAAG,MAAM,OAAO,CAAC;;;;;;;;;;;;;gBAab,CAAC,CAAC;IACd,kCAAkC,CAAC,EAAE,CAAC,CAAC;IACvC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,kBAAkB,EAAE,CAAC;EAC7C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,QAAQ,CAAC,+BAA+B,EAAE,GAAG,EAAE;EAC7C,EAAE,CAAC,sBAAsB,EAAE,KAAK,IAAI,EAAE;IACpC,MAAM,EAAE,GACN,MAAM,OAAO,CAAC;;;;;oBAKA,CAAC,CAAC;IAClB,kCAAkC,CAAC,EAAE,CAAC,CAAC;IACvC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,kBAAkB,EAAE,CAAC;EAC7C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { fixture } from \"@open-wc/testing-helpers\";\nimport { axe } from \"jest-axe\";\nimport { checkShadowElementRendersCorrectly } from \"../../../../utils/testa11y.helpers\";\n\ndescribe(\"default variant of stepper component\", () => {\n it(\"passes accessibility\", async () => {\n const el = await fixture(`<ic-stepper>\n <ic-step step-title=\"First\"></ic-step>\n <ic-step\n step-title=\"Second With a Very Long Title\"\n step-subtitle=\"Optional Subtitle\"\n step-type=\"current\"\n ></ic-step>\n <ic-step step-title=\"Third\" step-type=\"disabled\"></ic-step>\n <ic-step\n step-title=\"Fourth\"\n step-subtitle=\"Optional Subtitle\"\n step-type=\"completed\"\n ></ic-step>\n </ic-stepper>`);\n checkShadowElementRendersCorrectly(el);\n expect(await axe(el)).toHaveNoViolations();\n });\n});\n\ndescribe(\"compact variant of ic-stepper\", () => {\n it(\"passes accessibility\", async () => {\n const el =\n await fixture(`<ic-stepper variant=\"compact\" id=\"standard-compact-stepper\">\n <ic-step step-title=\"Create\" step-type=\"completed\"></ic-step>\n <ic-step step-title=\"Read\" step-status=\"complete\" current></ic-step>\n <ic-step step-title=\"Update\" step-status=\"not required\"></ic-step>\n <ic-step step-title=\"Delete\" step-status=\"not required\"></ic-step>\n </ic-stepper>`);\n checkShadowElementRendersCorrectly(el);\n expect(await axe(el)).toHaveNoViolations();\n });\n});\n"]}
|
@@ -1,74 +0,0 @@
|
|
1
|
-
export const defaultStepper = `
|
2
|
-
<ic-stepper>
|
3
|
-
<ic-step step-title="First"></ic-step>
|
4
|
-
<ic-step
|
5
|
-
step-title="Second With a Very Long Title"
|
6
|
-
step-subtitle="Optional Subtitle"
|
7
|
-
step-type="current"
|
8
|
-
></ic-step>
|
9
|
-
<ic-step step-title="Third" step-type="disabled"></ic-step>
|
10
|
-
<ic-step
|
11
|
-
step-title="Fourth"
|
12
|
-
step-subtitle="Optional Subtitle"
|
13
|
-
step-type="completed"
|
14
|
-
></ic-step>
|
15
|
-
</ic-stepper>`;
|
16
|
-
export const customConnectorWidthStepper = `
|
17
|
-
<ic-stepper aligned="left" connector-width="150">
|
18
|
-
<ic-step step-title="First"></ic-step>
|
19
|
-
<ic-step
|
20
|
-
step-title="Second With a Very Long Title"
|
21
|
-
step-subtitle="Optional Subtitle"
|
22
|
-
step-type="current"
|
23
|
-
></ic-step>
|
24
|
-
<ic-step step-title="Third" step-type="disabled"></ic-step>
|
25
|
-
<ic-step
|
26
|
-
step-title="Fourth"
|
27
|
-
step-subtitle="Optional Subtitle"
|
28
|
-
step-type="completed"
|
29
|
-
></ic-step>
|
30
|
-
</ic-stepper>`;
|
31
|
-
export const invalidConnectorWidthStepper = `
|
32
|
-
<ic-stepper aligned="left" connector-width="96">
|
33
|
-
<ic-step step-title="First"></ic-step>
|
34
|
-
<ic-step
|
35
|
-
step-title="Second With a Very Long Title"
|
36
|
-
step-subtitle="Optional Subtitle"
|
37
|
-
step-type="current"
|
38
|
-
></ic-step>
|
39
|
-
<ic-step step-title="Third" step-type="disabled"></ic-step>
|
40
|
-
<ic-step
|
41
|
-
step-title="Fourth"
|
42
|
-
step-subtitle="Optional Subtitle"
|
43
|
-
step-type="completed"
|
44
|
-
></ic-step>
|
45
|
-
</ic-stepper>`;
|
46
|
-
export const compactStepper = `
|
47
|
-
<ic-stepper variant="compact" id="custom-compact-stepper">
|
48
|
-
<ic-step
|
49
|
-
step-title="First"
|
50
|
-
></ic-step>
|
51
|
-
<ic-step
|
52
|
-
step-title="Second With a Very Long Title"
|
53
|
-
step-subtitle="Optional subtitle that is long and should wrap"
|
54
|
-
current
|
55
|
-
step-type="current"
|
56
|
-
></ic-step>
|
57
|
-
<ic-step
|
58
|
-
step-title="Third"
|
59
|
-
step-type="disabled"
|
60
|
-
></ic-step>
|
61
|
-
<ic-step
|
62
|
-
step-title="Fourth title that is long and should wrap"
|
63
|
-
step-subtitle="Optional Subtitle"
|
64
|
-
step-type="completed"
|
65
|
-
></ic-step>
|
66
|
-
<ic-step
|
67
|
-
step-title="Fifth and final step"
|
68
|
-
step-subtitle="Optional Subtitle"
|
69
|
-
icon
|
70
|
-
step-status="optional"
|
71
|
-
step-type="completed"
|
72
|
-
></ic-step>
|
73
|
-
</ic-stepper>`;
|
74
|
-
//# sourceMappingURL=ic-stepper-test-examples.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ic-stepper-test-examples.js","sourceRoot":"","sources":["../../../../../src/components/ic-stepper/test/basic/ic-stepper-test-examples.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,cAAc,GAAG;;;;;;;;;;;;;;kBAcZ,CAAC;AAEnB,MAAM,CAAC,MAAM,2BAA2B,GAAG;;;;;;;;;;;;;;kBAczB,CAAC;AAEnB,MAAM,CAAC,MAAM,4BAA4B,GAAG;;;;;;;;;;;;;;kBAc1B,CAAC;AAEnB,MAAM,CAAC,MAAM,cAAc,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;oBA2BV,CAAC","sourcesContent":["export const defaultStepper = `\n <ic-stepper>\n <ic-step step-title=\"First\"></ic-step>\n <ic-step\n step-title=\"Second With a Very Long Title\"\n step-subtitle=\"Optional Subtitle\"\n step-type=\"current\"\n ></ic-step>\n <ic-step step-title=\"Third\" step-type=\"disabled\"></ic-step>\n <ic-step\n step-title=\"Fourth\"\n step-subtitle=\"Optional Subtitle\"\n step-type=\"completed\"\n ></ic-step>\n </ic-stepper>`;\n\nexport const customConnectorWidthStepper = `\n <ic-stepper aligned=\"left\" connector-width=\"150\">\n <ic-step step-title=\"First\"></ic-step>\n <ic-step\n step-title=\"Second With a Very Long Title\"\n step-subtitle=\"Optional Subtitle\"\n step-type=\"current\"\n ></ic-step>\n <ic-step step-title=\"Third\" step-type=\"disabled\"></ic-step>\n <ic-step\n step-title=\"Fourth\"\n step-subtitle=\"Optional Subtitle\"\n step-type=\"completed\"\n ></ic-step>\n </ic-stepper>`;\n\nexport const invalidConnectorWidthStepper = `\n <ic-stepper aligned=\"left\" connector-width=\"96\">\n <ic-step step-title=\"First\"></ic-step>\n <ic-step\n step-title=\"Second With a Very Long Title\"\n step-subtitle=\"Optional Subtitle\"\n step-type=\"current\"\n ></ic-step>\n <ic-step step-title=\"Third\" step-type=\"disabled\"></ic-step>\n <ic-step\n step-title=\"Fourth\"\n step-subtitle=\"Optional Subtitle\"\n step-type=\"completed\"\n ></ic-step>\n </ic-stepper>`;\n\nexport const compactStepper = `\n <ic-stepper variant=\"compact\" id=\"custom-compact-stepper\">\n <ic-step \n step-title=\"First\"\n ></ic-step>\n <ic-step\n step-title=\"Second With a Very Long Title\"\n step-subtitle=\"Optional subtitle that is long and should wrap\"\n current\n step-type=\"current\"\n ></ic-step>\n <ic-step\n step-title=\"Third\"\n step-type=\"disabled\"\n ></ic-step>\n <ic-step\n step-title=\"Fourth title that is long and should wrap\"\n step-subtitle=\"Optional Subtitle\"\n step-type=\"completed\"\n ></ic-step>\n <ic-step\n step-title=\"Fifth and final step\"\n step-subtitle=\"Optional Subtitle\"\n icon\n step-status=\"optional\"\n step-type=\"completed\"\n ></ic-step>\n </ic-stepper>`;\n"]}
|
@@ -1,49 +0,0 @@
|
|
1
|
-
import { newE2EPage } from "@stencil/core/testing";
|
2
|
-
import { defaultStepper, invalidConnectorWidthStepper, compactStepper, } from "./ic-stepper-test-examples";
|
3
|
-
beforeAll(() => {
|
4
|
-
jest.spyOn(console, "warn").mockImplementation(jest.fn());
|
5
|
-
});
|
6
|
-
describe("default variant of ic-stepper component", () => {
|
7
|
-
it("should render four steps and three step-connects", async () => {
|
8
|
-
const page = await newE2EPage({ html: defaultStepper });
|
9
|
-
const steps = await page.findAll("ic-step");
|
10
|
-
expect(steps.length).toBe(4);
|
11
|
-
const stepConnects = await page.findAll("ic-step >>> div.step-connect");
|
12
|
-
expect(stepConnects.length).toBe(3);
|
13
|
-
});
|
14
|
-
it("should render the correct number on each step", async () => {
|
15
|
-
const page = await newE2EPage({ html: defaultStepper });
|
16
|
-
const stepInners = await page.findAll("ic-step >>> .step-icon-inner");
|
17
|
-
expect(stepInners[0].innerHTML).toEqual("1");
|
18
|
-
expect(stepInners[1].innerHTML).toEqual("2");
|
19
|
-
expect(stepInners[2].innerHTML).toEqual("3");
|
20
|
-
expect(stepInners[3].innerHTML).toContain("check-icon");
|
21
|
-
});
|
22
|
-
it("should keep the length of the step connect at 100px if a connectorWidth under 100px is given", async () => {
|
23
|
-
const page = await newE2EPage({ html: invalidConnectorWidthStepper });
|
24
|
-
await page.waitForChanges();
|
25
|
-
const connectorWidth = await page.$eval("ic-stepper", (el) => {
|
26
|
-
return el.connectorWidth;
|
27
|
-
});
|
28
|
-
expect(connectorWidth).toBe(96);
|
29
|
-
const steps = await page.evaluate(() => {
|
30
|
-
return Array.from(document.querySelectorAll("ic-step:not(:last-child)")).map((step) => window.getComputedStyle(step).width);
|
31
|
-
});
|
32
|
-
steps.forEach((step) => {
|
33
|
-
expect(step).toMatch(`${148}px`);
|
34
|
-
});
|
35
|
-
});
|
36
|
-
});
|
37
|
-
describe("compact variant of ic-stepper", () => {
|
38
|
-
it("only shows the current step", async () => {
|
39
|
-
const page = await newE2EPage({ html: compactStepper });
|
40
|
-
await page.waitForChanges();
|
41
|
-
const currentStep = await page.find("ic-step[current='']");
|
42
|
-
expect(currentStep.isVisible()).toBeTruthy();
|
43
|
-
const notCurrentSteps = await page.findAll("ic-step:not([current=''])");
|
44
|
-
notCurrentSteps.forEach(async (el) => {
|
45
|
-
expect(await el.isVisible()).toBeFalsy();
|
46
|
-
});
|
47
|
-
});
|
48
|
-
});
|
49
|
-
//# sourceMappingURL=ic-stepper.e2e.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ic-stepper.e2e.js","sourceRoot":"","sources":["../../../../../src/components/ic-stepper/test/basic/ic-stepper.e2e.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EACL,cAAc,EACd,4BAA4B,EAC5B,cAAc,GACf,MAAM,4BAA4B,CAAC;AAEpC,SAAS,CAAC,GAAG,EAAE;EACb,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC;AAC5D,CAAC,CAAC,CAAC;AAEH,QAAQ,CAAC,yCAAyC,EAAE,GAAG,EAAE;EACvD,EAAE,CAAC,kDAAkD,EAAE,KAAK,IAAI,EAAE;IAChE,MAAM,IAAI,GAAG,MAAM,UAAU,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC,CAAC;IACxD,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAC5C,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAC7B,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,8BAA8B,CAAC,CAAC;IACxE,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;EACtC,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,+CAA+C,EAAE,KAAK,IAAI,EAAE;IAC7D,MAAM,IAAI,GAAG,MAAM,UAAU,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC,CAAC;IACxD,MAAM,UAAU,GAAiB,MAAM,IAAI,CAAC,OAAO,CACjD,8BAA8B,CAC/B,CAAC;IACF,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAC7C,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAC7C,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAC7C,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC;EAC1D,CAAC,CAAC,CAAC;EAEH,EAAE,CAAC,8FAA8F,EAAE,KAAK,IAAI,EAAE;IAC5G,MAAM,IAAI,GAAG,MAAM,UAAU,CAAC,EAAE,IAAI,EAAE,4BAA4B,EAAE,CAAC,CAAC;IAEtE,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;IAE5B,MAAM,cAAc,GAAG,MAAM,IAAI,CAAC,KAAK,CACrC,YAAY,EACZ,CAAC,EAAwB,EAAE,EAAE;MAC3B,OAAO,EAAE,CAAC,cAAc,CAAC;IAC3B,CAAC,CACF,CAAC;IAEF,MAAM,CAAC,cAAc,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAEhC,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE;MACrC,OAAO,KAAK,CAAC,IAAI,CACf,QAAQ,CAAC,gBAAgB,CAAC,0BAA0B,CAAC,CACtD,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,gBAAgB,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC;IACvD,CAAC,CAAC,CAAC;IAEH,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;MACrB,MAAM,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,GAAG,GAAG,IAAI,CAAC,CAAC;IACnC,CAAC,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,QAAQ,CAAC,+BAA+B,EAAE,GAAG,EAAE;EAC7C,EAAE,CAAC,6BAA6B,EAAE,KAAK,IAAI,EAAE;IAC3C,MAAM,IAAI,GAAG,MAAM,UAAU,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC,CAAC;IAExD,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;IAE5B,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;IAE3D,MAAM,CAAC,WAAW,CAAC,SAAS,EAAE,CAAC,CAAC,UAAU,EAAE,CAAC;IAE7C,MAAM,eAAe,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,2BAA2B,CAAC,CAAC;IAExE,eAAe,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,EAAE,EAAE;MACnC,MAAM,CAAC,MAAM,EAAE,CAAC,SAAS,EAAE,CAAC,CAAC,SAAS,EAAE,CAAC;IAC3C,CAAC,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { E2EElement, newE2EPage } from \"@stencil/core/testing\";\nimport {\n defaultStepper,\n invalidConnectorWidthStepper,\n compactStepper,\n} from \"./ic-stepper-test-examples\";\n\nbeforeAll(() => {\n jest.spyOn(console, \"warn\").mockImplementation(jest.fn());\n});\n\ndescribe(\"default variant of ic-stepper component\", () => {\n it(\"should render four steps and three step-connects\", async () => {\n const page = await newE2EPage({ html: defaultStepper });\n const steps = await page.findAll(\"ic-step\");\n expect(steps.length).toBe(4);\n const stepConnects = await page.findAll(\"ic-step >>> div.step-connect\");\n expect(stepConnects.length).toBe(3);\n });\n\n it(\"should render the correct number on each step\", async () => {\n const page = await newE2EPage({ html: defaultStepper });\n const stepInners: E2EElement[] = await page.findAll(\n \"ic-step >>> .step-icon-inner\"\n );\n expect(stepInners[0].innerHTML).toEqual(\"1\");\n expect(stepInners[1].innerHTML).toEqual(\"2\");\n expect(stepInners[2].innerHTML).toEqual(\"3\");\n expect(stepInners[3].innerHTML).toContain(\"check-icon\");\n });\n\n it(\"should keep the length of the step connect at 100px if a connectorWidth under 100px is given\", async () => {\n const page = await newE2EPage({ html: invalidConnectorWidthStepper });\n\n await page.waitForChanges();\n\n const connectorWidth = await page.$eval(\n \"ic-stepper\",\n (el: HTMLIcStepperElement) => {\n return el.connectorWidth;\n }\n );\n\n expect(connectorWidth).toBe(96);\n\n const steps = await page.evaluate(() => {\n return Array.from(\n document.querySelectorAll(\"ic-step:not(:last-child)\")\n ).map((step) => window.getComputedStyle(step).width);\n });\n\n steps.forEach((step) => {\n expect(step).toMatch(`${148}px`);\n });\n });\n});\n\ndescribe(\"compact variant of ic-stepper\", () => {\n it(\"only shows the current step\", async () => {\n const page = await newE2EPage({ html: compactStepper });\n\n await page.waitForChanges();\n\n const currentStep = await page.find(\"ic-step[current='']\");\n\n expect(currentStep.isVisible()).toBeTruthy();\n\n const notCurrentSteps = await page.findAll(\"ic-step:not([current=''])\");\n\n notCurrentSteps.forEach(async (el) => {\n expect(await el.isVisible()).toBeFalsy();\n });\n });\n});\n"]}
|