@ukic/canary-web-components 2.0.0-canary.3 → 2.0.0-canary.4
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-bbe55215.js +554 -0
- package/dist/cjs/helpers-bbe55215.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 +121 -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 +634 -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 +102 -106
- 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 +285 -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 +96 -89
- 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 +428 -406
- 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 +31 -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 +146 -145
- package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +198 -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} +642 -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 +72 -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 +145 -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 +336 -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 +145 -149
- 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 +312 -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 +151 -143
- 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 +482 -459
- 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 +55 -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 +188 -187
- package/dist/components/ic-toast.js.map +1 -1
- package/dist/components/ic-tooltip2.js +212 -336
- package/dist/components/ic-tooltip2.js.map +1 -1
- package/dist/components/ic-top-navigation.js +264 -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-0083465b.entry.js +2 -0
- package/dist/core/p-0083465b.entry.js.map +1 -0
- package/dist/core/{p-ba3f9d1b.entry.js → p-03487f12.entry.js} +2 -2
- package/dist/core/p-03487f12.entry.js.map +1 -0
- package/dist/core/p-03f8fa1a.entry.js +2 -0
- package/dist/core/p-03f8fa1a.entry.js.map +1 -0
- package/dist/core/{p-c2e091d7.js → p-0aa9ce8b.js} +1 -1
- package/dist/core/{p-90608dc5.entry.js → p-0c18b6a0.entry.js} +2 -2
- package/dist/core/p-0c18b6a0.entry.js.map +1 -0
- package/dist/core/{p-3b185c32.js → p-170ddfc2.js} +1 -1
- package/dist/core/p-1bc034aa.entry.js +2 -0
- package/dist/core/p-1bc034aa.entry.js.map +1 -0
- package/dist/core/{p-fd8780e2.entry.js → p-20a76d1d.entry.js} +2 -2
- package/dist/core/p-20a76d1d.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-2dc35696.entry.js +2 -0
- package/dist/core/p-2dc35696.entry.js.map +1 -0
- package/dist/core/p-2e9e8e7c.entry.js +2 -0
- package/dist/core/p-2e9e8e7c.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-e565964f.entry.js → p-39e20b87.entry.js} +2 -2
- package/dist/core/p-39e20b87.entry.js.map +1 -0
- package/dist/core/{p-cda2ecbb.entry.js → p-3d618bc2.entry.js} +2 -2
- package/dist/core/p-3d618bc2.entry.js.map +1 -0
- package/dist/core/{p-2d1ba7d5.entry.js → p-3ee25a6d.entry.js} +2 -2
- package/dist/core/p-3ee25a6d.entry.js.map +1 -0
- package/dist/core/p-41aa0ed3.entry.js +2 -0
- package/dist/core/p-41aa0ed3.entry.js.map +1 -0
- package/dist/core/p-4314aa0e.entry.js +2 -0
- package/dist/core/p-4314aa0e.entry.js.map +1 -0
- package/dist/core/{p-8d8ba4d7.entry.js → p-4409f656.entry.js} +2 -2
- package/dist/core/p-4409f656.entry.js.map +1 -0
- package/dist/core/p-47abbd06.entry.js +2 -0
- package/dist/core/p-47abbd06.entry.js.map +1 -0
- package/dist/core/{p-9c792bb9.entry.js → p-485823b6.entry.js} +2 -2
- package/dist/core/p-485823b6.entry.js.map +1 -0
- package/dist/core/p-4ee59448.entry.js +2 -0
- package/dist/core/p-4ee59448.entry.js.map +1 -0
- package/dist/core/p-5157cfab.entry.js +2 -0
- package/dist/core/p-5157cfab.entry.js.map +1 -0
- package/dist/core/p-53083575.entry.js +2 -0
- package/dist/core/p-53083575.entry.js.map +1 -0
- package/dist/core/p-55d5541f.entry.js +2 -0
- package/dist/core/p-55d5541f.entry.js.map +1 -0
- package/dist/core/p-5bb32ee6.entry.js +2 -0
- package/dist/core/p-5bb32ee6.entry.js.map +1 -0
- package/dist/core/{p-932a1a61.entry.js → p-67eea079.entry.js} +2 -2
- package/dist/core/p-67eea079.entry.js.map +1 -0
- package/dist/core/p-6bd0e984.entry.js +2 -0
- package/dist/core/p-6bd0e984.entry.js.map +1 -0
- package/dist/core/p-75bf6162.entry.js +2 -0
- package/dist/core/p-75bf6162.entry.js.map +1 -0
- package/dist/core/p-76959313.entry.js +2 -0
- package/dist/core/p-76959313.entry.js.map +1 -0
- package/dist/core/p-7de813a3.entry.js +2 -0
- package/dist/core/p-7de813a3.entry.js.map +1 -0
- package/dist/core/p-7eae5f70.entry.js +2 -0
- package/dist/core/p-7eae5f70.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-dcfc7f79.entry.js → p-85508347.entry.js} +2 -2
- package/dist/core/p-85508347.entry.js.map +1 -0
- package/dist/core/p-8da152c4.entry.js +2 -0
- package/dist/core/p-8da152c4.entry.js.map +1 -0
- package/dist/core/p-8fd4ca0a.js +2 -0
- package/dist/core/p-8fd4ca0a.js.map +1 -0
- package/dist/core/{p-ed35b2d0.entry.js → p-939baa93.entry.js} +2 -2
- package/dist/core/p-939baa93.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-9c27b73e.entry.js +2 -0
- package/dist/core/p-9c27b73e.entry.js.map +1 -0
- package/dist/core/p-9fa6844f.entry.js +2 -0
- package/dist/core/p-9fa6844f.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-a3ab9f4c.entry.js +2 -0
- package/dist/core/p-a3ab9f4c.entry.js.map +1 -0
- package/dist/core/p-a51e5c7c.entry.js +2 -0
- package/dist/core/p-a51e5c7c.entry.js.map +1 -0
- package/dist/core/p-a7481232.entry.js +2 -0
- package/dist/core/p-a7481232.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-ab9f8a3f.entry.js +2 -0
- package/dist/core/p-ab9f8a3f.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-b5cf6d65.entry.js +2 -0
- package/dist/core/p-b5cf6d65.entry.js.map +1 -0
- package/dist/core/p-b97dc365.entry.js +2 -0
- package/dist/core/p-b97dc365.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-bc187bb5.entry.js +2 -0
- package/dist/core/p-bc187bb5.entry.js.map +1 -0
- package/dist/core/p-bd9cecce.entry.js +2 -0
- package/dist/core/p-bd9cecce.entry.js.map +1 -0
- package/dist/core/{p-7799016a.entry.js → p-be980606.entry.js} +2 -2
- package/dist/core/p-be980606.entry.js.map +1 -0
- package/dist/core/p-c1256810.entry.js +2 -0
- package/dist/core/p-c1256810.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-3c545222.entry.js → p-d76cfa5a.entry.js} +2 -2
- package/dist/core/p-d76cfa5a.entry.js.map +1 -0
- package/dist/core/p-d77960f6.entry.js +2 -0
- package/dist/core/p-d77960f6.entry.js.map +1 -0
- package/dist/core/{p-f074ef5b.js → p-e081702e.js} +1 -1
- 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-e9e145aa.entry.js +2 -0
- package/dist/core/p-e9e145aa.entry.js.map +1 -0
- package/dist/core/{p-426ec638.js → p-ea1ea1b9.js} +1 -1
- package/dist/core/p-f0e9a83f.entry.js +2 -0
- package/dist/core/p-f0e9a83f.entry.js.map +1 -0
- package/dist/core/p-f23d2102.entry.js +2 -0
- package/dist/core/p-f23d2102.entry.js.map +1 -0
- package/dist/core/p-f87e8411.entry.js +2 -0
- package/dist/core/p-f87e8411.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/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-268c2b7f.js +506 -0
- package/dist/esm/helpers-268c2b7f.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 +121 -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 +634 -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 +102 -106
- 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 +285 -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 +96 -89
- 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 +428 -406
- 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 +31 -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 +146 -145
- package/dist/esm/ic-toast.entry.js.map +1 -1
- package/dist/esm/ic-top-navigation.entry.js +198 -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} +611 -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 +16587 -14213
- package/package.json +10 -8
- 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.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 +0 -2
- 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,696 +1,716 @@
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent, F as Fragment } from './index-
|
2
|
-
import { a as IcInformationStatus } from './types-
|
3
|
-
import { i as isSlotUsed,
|
4
|
-
import { C as Check } from './check-icon-
|
5
|
-
import { c as createPopper } from './popper-
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent, F as Fragment } from './index-93509377.js';
|
2
|
+
import { a as IcInformationStatus } from './types-f605c21c.js';
|
3
|
+
import { i as isSlotUsed, O as successIcon, a as onComponentRequiredPropUndefined } from './helpers-268c2b7f.js';
|
4
|
+
import { C as Check } from './check-icon-f2346e76.js';
|
5
|
+
import { c as createPopper } from './popper-b8cc3f16.js';
|
6
6
|
|
7
|
-
const icInputComponentContainerCss = "ic-input-component-container{display:flex;border:var(--ic-
|
7
|
+
const icInputComponentContainerCss = "ic-input-component-container{display:flex;border:var(--ic-border-width) solid\n var(--border-color, var(--ic-architectural-400));border-radius:var(--ic-border-radius);transition:var(--ic-easing-transition-slow);height:2.5rem;width:var(--input-width, 20rem);padding:var(--ic-space-1px);background-color:var(--ic-architectural-white);box-sizing:border-box;fill:var(--ic-architectural-400);outline:none}ic-input-component-container.fullwidth{width:100%}ic-input-component-container.disabled,ic-input-component-container.disabled:hover{border:var(--ic-border-width) dashed var(--ic-architectural-200)}ic-input-component-container.readonly,ic-input-component-container.readonly:hover{border:none;padding:0}ic-input-component-container.error{border:var(--ic-error-border-default);padding:0}ic-input-component-container.error:hover{border:var(--ic-error-border-hover)}ic-input-component-container.error:focus-within{border:var(--ic-error-border-pressed)}ic-input-component-container.warning{border:var(--ic-warning-border-default);padding:0}ic-input-component-container.warning:hover{border:var(--ic-warning-border-hover)}ic-input-component-container.warning:focus-within{border:var(--ic-warning-border-pressed)}ic-input-component-container.success{border:var(--ic-success-border-default);padding:0}ic-input-component-container.success:hover{border:var(--ic-success-border-hover)}ic-input-component-container.success:focus-within{border:var(--ic-success-border-pressed)}ic-input-component-container.small{height:var(--ic-space-xl)}ic-input-component-container.multiline{height:auto}ic-input-component-container .icon-container{margin-top:var(--ic-space-xxs);margin-left:0.438rem;display:flex;align-items:center}ic-input-component-container.multiline .icon-container,ic-input-component-container.multiline.small .icon-container{margin-top:0.375rem;display:block}ic-input-component-container.readonly .icon-container{margin-left:-0.313rem}ic-input-component-container.disabled ::-moz-placeholder{display:none}ic-input-component-container.disabled ::placeholder{display:none}ic-input-component-container .inline-success{margin:var(--ic-space-xs) 0.375rem;display:flex;align-items:center}ic-input-component-container.dark:hover{--border-color:var(--ic-architectural-400)}ic-input-component-container .inline-success>svg{fill:var(--ic-status-success);height:1.25rem;width:1.25rem}ic-input-component-container:hover{border:var(--ic-border-hover);color:var(--ic-action-dark-hover)}ic-input-component-container:focus{border:var(--ic-border-pressed)}.focus-indicator{display:flex;width:100%;margin:-0.125rem;padding:0.125rem;border-radius:var(--ic-border-radius);transition:var(--ic-easing-transition-fast)}.focus-indicator:focus-within,.focus-indicator-enabled{box-shadow:var(--ic-border-focus)}.focus-indicator.dark:focus-within{box-shadow:var(--ic-border-focus)}@media (forced-colors: active){ic-input-component-container,.focus-indicator{transition:none}ic-input-component-container:focus-within{border:var(--ic-border-width) solid Highlight;outline:0.125rem solid Highlight}ic-input-component-container.disabled,ic-input-component-container.disabled:hover{border:var(--ic-border-width) dashed GrayText}}";
|
8
8
|
|
9
9
|
const InputComponentContainer = class {
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
10
|
+
constructor(hostRef) {
|
11
|
+
registerInstance(this, hostRef);
|
12
|
+
this.appearance = "default";
|
13
|
+
this.dark = false;
|
14
|
+
this.disabled = false;
|
15
|
+
this.fullWidth = false;
|
16
|
+
this.multiLine = false;
|
17
|
+
this.readonly = false;
|
18
|
+
this.size = "default";
|
19
|
+
this.small = false;
|
20
|
+
this.validationInline = false;
|
21
|
+
this.validationStatus = "";
|
22
|
+
}
|
23
|
+
render() {
|
24
|
+
const { small, size, validationStatus, disabled, readonly, multiLine, fullWidth, dark, appearance, validationInline, } = this;
|
25
|
+
const hasValidationStatus = this.validationStatus !== "" && !this.disabled && !this.readonly
|
26
|
+
? true
|
27
|
+
: false;
|
28
|
+
return (h(Host, { class: {
|
29
|
+
["small"]: small || size === "small",
|
30
|
+
[validationStatus]: hasValidationStatus,
|
31
|
+
["disabled"]: disabled,
|
32
|
+
["readonly"]: readonly,
|
33
|
+
["multiline"]: multiLine,
|
34
|
+
["fullwidth"]: fullWidth,
|
35
|
+
["dark"]: dark || appearance === "dark",
|
36
|
+
} }, h("div", { class: {
|
37
|
+
"focus-indicator": true,
|
38
|
+
dark: dark || appearance === "dark",
|
39
|
+
} }, isSlotUsed(this.el, "left-icon") && (h("div", { class: {
|
40
|
+
["icon-container"]: true,
|
41
|
+
} }, h("slot", { name: "left-icon" }))), h("slot", null), validationInline &&
|
42
|
+
validationStatus === IcInformationStatus.Success && (h("span", { class: {
|
43
|
+
["inline-success"]: true,
|
44
|
+
}, innerHTML: successIcon })))));
|
45
|
+
}
|
46
|
+
get el() { return getElement(this); }
|
45
47
|
};
|
46
48
|
InputComponentContainer.style = icInputComponentContainerCss;
|
47
49
|
|
48
50
|
const icInputContainerCss = "ic-input-container .component-container{display:flex;flex-direction:column}";
|
49
51
|
|
50
52
|
const InputContainer = class {
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
53
|
+
constructor(hostRef) {
|
54
|
+
registerInstance(this, hostRef);
|
55
|
+
this.disabled = false;
|
56
|
+
this.readonly = false;
|
57
|
+
}
|
58
|
+
render() {
|
59
|
+
return (h(Host, null, h("div", { class: {
|
60
|
+
["component-container"]: true,
|
61
|
+
["disabled"]: this.disabled,
|
62
|
+
["readonly"]: this.readonly,
|
63
|
+
} }, h("slot", null))));
|
64
|
+
}
|
63
65
|
};
|
64
66
|
InputContainer.style = icInputContainerCss;
|
65
67
|
|
66
|
-
const icMenuCss = "html.sc-ic-menu{line-height:1.15;-webkit-text-size-adjust:100%}body.sc-ic-menu{margin:0}main.sc-ic-menu{display:block}h1.sc-ic-menu{font-size:2em;margin:0.67em 0}hr.sc-ic-menu{box-sizing:content-box;height:0;overflow:visible}pre.sc-ic-menu{font-family:monospace, monospace;font-size:1em}a.sc-ic-menu{background-color:transparent}abbr[title].sc-ic-menu{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b.sc-ic-menu,strong.sc-ic-menu{font-weight:bolder}code.sc-ic-menu,kbd.sc-ic-menu,samp.sc-ic-menu{font-family:monospace, monospace;font-size:1em}small.sc-ic-menu{font-size:80%}sub.sc-ic-menu,sup.sc-ic-menu{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub.sc-ic-menu{bottom:-0.25em}sup.sc-ic-menu{top:-0.5em}img.sc-ic-menu{border-style:none}button.sc-ic-menu,input.sc-ic-menu,optgroup.sc-ic-menu,select.sc-ic-menu,textarea.sc-ic-menu{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button.sc-ic-menu,input.sc-ic-menu{overflow:visible}button.sc-ic-menu,select.sc-ic-menu{text-transform:none}button.sc-ic-menu,[type=\"button\"].sc-ic-menu,[type=\"reset\"].sc-ic-menu,[type=\"submit\"].sc-ic-menu{-webkit-appearance:button}button.sc-ic-menu::-moz-focus-inner,[type=\"button\"].sc-ic-menu::-moz-focus-inner,[type=\"reset\"].sc-ic-menu::-moz-focus-inner,[type=\"submit\"].sc-ic-menu::-moz-focus-inner{border-style:none;padding:0}button.sc-ic-menu:-moz-focusring,[type=\"button\"].sc-ic-menu:-moz-focusring,[type=\"reset\"].sc-ic-menu:-moz-focusring,[type=\"submit\"].sc-ic-menu:-moz-focusring{outline:1px dotted ButtonText}fieldset.sc-ic-menu{padding:0.35em 0.75em 0.625em}legend.sc-ic-menu{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress.sc-ic-menu{vertical-align:baseline}textarea.sc-ic-menu{overflow:auto}[type=\"checkbox\"].sc-ic-menu,[type=\"radio\"].sc-ic-menu{box-sizing:border-box;padding:0}[type=\"number\"].sc-ic-menu::-webkit-inner-spin-button,[type=\"number\"].sc-ic-menu::-webkit-outer-spin-button{height:auto}[type=\"search\"].sc-ic-menu{-webkit-appearance:textfield;outline-offset:-2px}[type=\"search\"].sc-ic-menu::-webkit-search-decoration{-webkit-appearance:none}.sc-ic-menu::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details.sc-ic-menu{display:block}summary.sc-ic-menu{display:list-item}template.sc-ic-menu{display:none}[hidden].sc-ic-menu{display:none}html.sc-ic-menu,body.sc-ic-menu,div.sc-ic-menu,span.sc-ic-menu,applet.sc-ic-menu,object.sc-ic-menu,iframe.sc-ic-menu,h1.sc-ic-menu,h2.sc-ic-menu,h3.sc-ic-menu,h4.sc-ic-menu,h5.sc-ic-menu,h6.sc-ic-menu,p.sc-ic-menu,blockquote.sc-ic-menu,pre.sc-ic-menu,a.sc-ic-menu,abbr.sc-ic-menu,acronym.sc-ic-menu,address.sc-ic-menu,big.sc-ic-menu,cite.sc-ic-menu,code.sc-ic-menu,del.sc-ic-menu,dfn.sc-ic-menu,em.sc-ic-menu,img.sc-ic-menu,ins.sc-ic-menu,kbd.sc-ic-menu,q.sc-ic-menu,s.sc-ic-menu,samp.sc-ic-menu,small.sc-ic-menu,strike.sc-ic-menu,strong.sc-ic-menu,sub.sc-ic-menu,sup.sc-ic-menu,tt.sc-ic-menu,var.sc-ic-menu,b.sc-ic-menu,u.sc-ic-menu,i.sc-ic-menu,center.sc-ic-menu,dl.sc-ic-menu,dt.sc-ic-menu,dd.sc-ic-menu,ol.sc-ic-menu,ul.sc-ic-menu,li.sc-ic-menu,fieldset.sc-ic-menu,form.sc-ic-menu,label.sc-ic-menu,legend.sc-ic-menu,table.sc-ic-menu,caption.sc-ic-menu,tbody.sc-ic-menu,tfoot.sc-ic-menu,thead.sc-ic-menu,tr.sc-ic-menu,th.sc-ic-menu,td.sc-ic-menu,article.sc-ic-menu,aside.sc-ic-menu,canvas.sc-ic-menu,details.sc-ic-menu,embed.sc-ic-menu,figure.sc-ic-menu,figcaption.sc-ic-menu,footer.sc-ic-menu,header.sc-ic-menu,hgroup.sc-ic-menu,menu.sc-ic-menu,nav.sc-ic-menu,output.sc-ic-menu,ruby.sc-ic-menu,section.sc-ic-menu,summary.sc-ic-menu,time.sc-ic-menu,mark.sc-ic-menu,audio.sc-ic-menu,video.sc-ic-menu{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}@media (prefers-reduced-motion: no-preference){.open.sc-ic-menu-h .menu.sc-ic-menu{transition:max-height var(--ic-transition-duration-slow)}}.sc-ic-menu-h{border-radius:var(--ic-border-radius);max-height:0;width:var(--input-width, 20rem);color:var(--ic-color-primary-text);background-color:var(--ic-architectural-white);position:relative;z-index:var(--ic-z-index-menu);box-sizing:border-box;box-shadow:var(--ic-elevation-overlay)}.sc-ic-menu-h:not(.no-focus):focus-within{box-shadow:var(--ic-border-focus)}#retry-button.sc-ic-menu::part(button){height:var(--ic-space-lg)}.small.sc-ic-menu #retry-button.sc-ic-menu::part(button){height:var(--ic-space-md)}.on-dialog.sc-ic-menu-h{inset:auto !important}.
|
68
|
+
const icMenuCss = "html.sc-ic-menu{line-height:1.15;-webkit-text-size-adjust:100%}body.sc-ic-menu{margin:0}main.sc-ic-menu{display:block}h1.sc-ic-menu{font-size:2em;margin:0.67em 0}hr.sc-ic-menu{box-sizing:content-box;height:0;overflow:visible}pre.sc-ic-menu{font-family:monospace, monospace;font-size:1em}a.sc-ic-menu{background-color:transparent}abbr[title].sc-ic-menu{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b.sc-ic-menu,strong.sc-ic-menu{font-weight:bolder}code.sc-ic-menu,kbd.sc-ic-menu,samp.sc-ic-menu{font-family:monospace, monospace;font-size:1em}small.sc-ic-menu{font-size:80%}sub.sc-ic-menu,sup.sc-ic-menu{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub.sc-ic-menu{bottom:-0.25em}sup.sc-ic-menu{top:-0.5em}img.sc-ic-menu{border-style:none}button.sc-ic-menu,input.sc-ic-menu,optgroup.sc-ic-menu,select.sc-ic-menu,textarea.sc-ic-menu{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button.sc-ic-menu,input.sc-ic-menu{overflow:visible}button.sc-ic-menu,select.sc-ic-menu{text-transform:none}button.sc-ic-menu,[type=\"button\"].sc-ic-menu,[type=\"reset\"].sc-ic-menu,[type=\"submit\"].sc-ic-menu{-webkit-appearance:button}button.sc-ic-menu::-moz-focus-inner,[type=\"button\"].sc-ic-menu::-moz-focus-inner,[type=\"reset\"].sc-ic-menu::-moz-focus-inner,[type=\"submit\"].sc-ic-menu::-moz-focus-inner{border-style:none;padding:0}button.sc-ic-menu:-moz-focusring,[type=\"button\"].sc-ic-menu:-moz-focusring,[type=\"reset\"].sc-ic-menu:-moz-focusring,[type=\"submit\"].sc-ic-menu:-moz-focusring{outline:1px dotted ButtonText}fieldset.sc-ic-menu{padding:0.35em 0.75em 0.625em}legend.sc-ic-menu{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress.sc-ic-menu{vertical-align:baseline}textarea.sc-ic-menu{overflow:auto}[type=\"checkbox\"].sc-ic-menu,[type=\"radio\"].sc-ic-menu{box-sizing:border-box;padding:0}[type=\"number\"].sc-ic-menu::-webkit-inner-spin-button,[type=\"number\"].sc-ic-menu::-webkit-outer-spin-button{height:auto}[type=\"search\"].sc-ic-menu{-webkit-appearance:textfield;outline-offset:-2px}[type=\"search\"].sc-ic-menu::-webkit-search-decoration{-webkit-appearance:none}.sc-ic-menu::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details.sc-ic-menu{display:block}summary.sc-ic-menu{display:list-item}template.sc-ic-menu{display:none}[hidden].sc-ic-menu{display:none}html.sc-ic-menu,body.sc-ic-menu,div.sc-ic-menu,span.sc-ic-menu,applet.sc-ic-menu,object.sc-ic-menu,iframe.sc-ic-menu,h1.sc-ic-menu,h2.sc-ic-menu,h3.sc-ic-menu,h4.sc-ic-menu,h5.sc-ic-menu,h6.sc-ic-menu,p.sc-ic-menu,blockquote.sc-ic-menu,pre.sc-ic-menu,a.sc-ic-menu,abbr.sc-ic-menu,acronym.sc-ic-menu,address.sc-ic-menu,big.sc-ic-menu,cite.sc-ic-menu,code.sc-ic-menu,del.sc-ic-menu,dfn.sc-ic-menu,em.sc-ic-menu,img.sc-ic-menu,ins.sc-ic-menu,kbd.sc-ic-menu,q.sc-ic-menu,s.sc-ic-menu,samp.sc-ic-menu,small.sc-ic-menu,strike.sc-ic-menu,strong.sc-ic-menu,sub.sc-ic-menu,sup.sc-ic-menu,tt.sc-ic-menu,var.sc-ic-menu,b.sc-ic-menu,u.sc-ic-menu,i.sc-ic-menu,center.sc-ic-menu,dl.sc-ic-menu,dt.sc-ic-menu,dd.sc-ic-menu,ol.sc-ic-menu,ul.sc-ic-menu,li.sc-ic-menu,fieldset.sc-ic-menu,form.sc-ic-menu,label.sc-ic-menu,legend.sc-ic-menu,table.sc-ic-menu,caption.sc-ic-menu,tbody.sc-ic-menu,tfoot.sc-ic-menu,thead.sc-ic-menu,tr.sc-ic-menu,th.sc-ic-menu,td.sc-ic-menu,article.sc-ic-menu,aside.sc-ic-menu,canvas.sc-ic-menu,details.sc-ic-menu,embed.sc-ic-menu,figure.sc-ic-menu,figcaption.sc-ic-menu,footer.sc-ic-menu,header.sc-ic-menu,hgroup.sc-ic-menu,menu.sc-ic-menu,nav.sc-ic-menu,output.sc-ic-menu,ruby.sc-ic-menu,section.sc-ic-menu,summary.sc-ic-menu,time.sc-ic-menu,mark.sc-ic-menu,audio.sc-ic-menu,video.sc-ic-menu{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}@media (prefers-reduced-motion: no-preference){.open.sc-ic-menu-h .menu.sc-ic-menu{transition:max-height var(--ic-transition-duration-slow)}}.sc-ic-menu-h{border-radius:var(--ic-border-radius);max-height:0;width:var(--input-width, 20rem);color:var(--ic-color-primary-text);background-color:var(--ic-architectural-white);position:relative;z-index:var(--ic-z-index-menu);box-sizing:border-box;box-shadow:var(--ic-elevation-overlay)}.sc-ic-menu-h:not(.no-focus):focus-within{box-shadow:var(--ic-border-focus)}#retry-button.sc-ic-menu::part(button){height:var(--ic-space-lg)}.small.sc-ic-menu #retry-button.sc-ic-menu::part(button){height:var(--ic-space-md)}.on-dialog.sc-ic-menu-h{inset:auto !important}.menu.sc-ic-menu{text-decoration:none;list-style-type:none;border:var(--ic-border-width) solid var(--ic-architectural-400);border-radius:var(--ic-border-radius);background-color:var(--ic-architectural-white);visibility:hidden;max-height:0;overflow-y:hidden}.menu-scroll.sc-ic-menu{overflow-y:auto}.menu.sc-ic-menu:focus-visible{outline:none}.open.sc-ic-menu-h{max-height:none;display:block}.open.sc-ic-menu-h .menu.sc-ic-menu{visibility:visible;max-height:20.125rem}.full-width.sc-ic-menu-h{width:100%}.option.sc-ic-menu{padding:0.5rem 0.438rem;cursor:pointer;display:flex;align-items:center}.option.sc-ic-menu:not(.loading-option){justify-content:space-between}.small.sc-ic-menu-h .option.sc-ic-menu{padding:0.25rem 0.438rem}.option.sc-ic-menu:last-child{border-radius:0 0 var(--ic-space-1px) var(--ic-space-1px)}.option.sc-ic-menu:first-child{border-radius:var(--ic-space-1px) var(--ic-space-1px) 0 0}.option.sc-ic-menu:not(.disabled-option):hover{background-color:var(--ic-action-dark-bg-hover)}.option.sc-ic-menu:not(.disabled-option):active{background-color:var(--ic-action-dark-bg-active)}.option.sc-ic-menu:focus-visible{outline:var(--ic-hc-focus-outline)}.option.sc-ic-menu:not(.disabled-option) .option-description.sc-ic-menu{color:var(--ic-color-secondary-text)}.option.sc-ic-menu .option-label.sc-ic-menu{display:flex;flex-direction:row;align-items:top}.option.sc-ic-menu .option-element.sc-ic-menu{margin-top:var(--ic-space-xxs)}.option.sc-ic-menu .option-icon.sc-ic-menu{height:var(--ic-space-md);width:var(--ic-space-md);margin-top:var(--ic-space-xxs);margin-right:var(--ic-space-xxxs)}.option-text-container.sc-ic-menu{pointer-events:none}.option.loading-option.sc-ic-menu .option-text-container.sc-ic-menu{margin-left:0.625rem;color:var(--ic-color-secondary-text)}.error-icon-svg.sc-ic-menu{height:var(--ic-space-md);width:var(--ic-space-md);fill:var(--ic-status-error);align-self:center;display:flex;margin-right:calc(var(--ic-space-xxs) * 1.2)}.loading-error-info.sc-ic-menu{display:flex}.check-icon.sc-ic-menu{height:var(--ic-space-lg);width:var(--ic-space-lg);margin-left:0.5rem;pointer-events:none}.focused-option.sc-ic-menu .check-icon.sc-ic-menu *.sc-ic-menu{fill:currentcolor}.option-group-title.sc-ic-menu{padding:1.5rem 0.438rem 0.5rem;color:var(--ic-color-tertiary-text)}.small.sc-ic-menu-h .option-group-title.sc-ic-menu{padding:0.75rem 0.438rem 0.25rem}.last-recommended-option.sc-ic-menu{border-bottom:var(--ic-border-default)}.disabled-option.sc-ic-menu{color:var(--ic-architectural-200);cursor:default;pointer-events:none}.focused-option.sc-ic-menu,.focused-option.sc-ic-menu .option-description.sc-ic-menu{background-color:var(--ic-focus-blue) !important;color:var(--ic-color-white-text) !important}.no-results.sc-ic-menu-h li.sc-ic-menu{cursor:no-drop}.no-results.sc-ic-menu-h li.sc-ic-menu:hover{background-color:transparent}@media (forced-colors: active){.focused-option.sc-ic-menu:focus{outline:none;border:0.125rem solid transparent}}";
|
67
69
|
|
68
70
|
const Menu = class {
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
this.preventClickOpen = false;
|
87
|
-
this.ungroupedOptions = [];
|
88
|
-
this.handleClearListener = () => {
|
89
|
-
this.optionHighlighted = "";
|
90
|
-
};
|
91
|
-
this.handleSubmitSearch = () => {
|
92
|
-
const highlightedOptionIndex = this.options.findIndex((option) => option[this.valueField] === this.optionHighlighted);
|
93
|
-
this.setInputValue(highlightedOptionIndex);
|
94
|
-
};
|
95
|
-
this.handleMenuChange = (open, focusInput) => {
|
96
|
-
this.menuStateChange.emit({ open, focusInput });
|
97
|
-
if (!open && focusInput !== false) {
|
98
|
-
this.inputEl.focus();
|
71
|
+
constructor(hostRef) {
|
72
|
+
registerInstance(this, hostRef);
|
73
|
+
this.menuKeyPress = createEvent(this, "menuKeyPress", 7);
|
74
|
+
this.menuOptionId = createEvent(this, "menuOptionId", 7);
|
75
|
+
this.menuOptionSelect = createEvent(this, "menuOptionSelect", 7);
|
76
|
+
this.menuStateChange = createEvent(this, "menuStateChange", 7);
|
77
|
+
this.menuValueChange = createEvent(this, "menuValueChange", 7);
|
78
|
+
this.retryButtonClicked = createEvent(this, "retryButtonClicked", 7);
|
79
|
+
this.timeoutBlur = createEvent(this, "timeoutBlur", 7);
|
80
|
+
this.ungroupedOptionsSet = createEvent(this, "ungroupedOptionsSet", 7);
|
81
|
+
this.disabledOptionSelected = false;
|
82
|
+
this.hasPreviouslyBlurred = false;
|
83
|
+
this.hasTimedOut = false;
|
84
|
+
this.isLoading = false;
|
85
|
+
this.isSearchBar = false;
|
86
|
+
this.isSearchableSelect = false;
|
87
|
+
// Prevents menu re-opening immediately after it is closed on blur when clicking input.
|
99
88
|
this.preventClickOpen = false;
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
this.
|
105
|
-
|
106
|
-
|
107
|
-
}
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
switch (event.key) {
|
156
|
-
case "ArrowDown":
|
157
|
-
this.keyboardNav = true;
|
158
|
-
this.arrowBehaviour(event);
|
159
|
-
this.setNextOptionValue(selectedOptionIndex);
|
160
|
-
break;
|
161
|
-
case "ArrowUp":
|
162
|
-
this.keyboardNav = true;
|
163
|
-
this.arrowBehaviour(event);
|
164
|
-
this.setPreviousOptionValue(selectedOptionIndex);
|
165
|
-
break;
|
166
|
-
case " ":
|
167
|
-
case "Enter":
|
168
|
-
if (event.target.id !== "clear-button") {
|
89
|
+
this.ungroupedOptions = [];
|
90
|
+
this.handleClearListener = () => {
|
91
|
+
this.optionHighlighted = "";
|
92
|
+
};
|
93
|
+
this.handleSubmitSearch = () => {
|
94
|
+
const highlightedOptionIndex = this.options.findIndex((option) => option[this.valueField] === this.optionHighlighted);
|
95
|
+
this.setInputValue(highlightedOptionIndex);
|
96
|
+
};
|
97
|
+
this.handleMenuChange = (open, focusInput) => {
|
98
|
+
this.menuStateChange.emit({ open, focusInput });
|
99
|
+
if (!open && focusInput !== false) {
|
100
|
+
this.inputEl.focus();
|
101
|
+
this.preventClickOpen = false;
|
102
|
+
}
|
103
|
+
};
|
104
|
+
this.setNextOptionValue = (selectedOptionIndex) => {
|
105
|
+
if (this.ungroupedOptions[selectedOptionIndex + 1]) {
|
106
|
+
this.menuOptionSelect.emit({
|
107
|
+
value: this.ungroupedOptions[selectedOptionIndex + 1][this.valueField],
|
108
|
+
optionId: this.getOptionId(this.ungroupedOptions[selectedOptionIndex + 1][this.valueField]),
|
109
|
+
});
|
110
|
+
}
|
111
|
+
else {
|
112
|
+
this.menuOptionSelect.emit({
|
113
|
+
value: this.ungroupedOptions[0][this.valueField],
|
114
|
+
optionId: this.getOptionId(this.ungroupedOptions[0][this.valueField]),
|
115
|
+
});
|
116
|
+
}
|
117
|
+
};
|
118
|
+
this.setPreviousOptionValue = (selectedOptionIndex) => {
|
119
|
+
if (this.ungroupedOptions[selectedOptionIndex - 1]) {
|
120
|
+
this.menuOptionSelect.emit({
|
121
|
+
value: this.ungroupedOptions[selectedOptionIndex - 1][this.valueField],
|
122
|
+
optionId: this.getOptionId(this.ungroupedOptions[selectedOptionIndex - 1][this.valueField]),
|
123
|
+
});
|
124
|
+
}
|
125
|
+
else {
|
126
|
+
this.menuOptionSelect.emit({
|
127
|
+
value: this.ungroupedOptions[this.ungroupedOptions.length - 1][this.valueField],
|
128
|
+
optionId: this.getOptionId(this.ungroupedOptions[this.ungroupedOptions.length - 1][this.valueField]),
|
129
|
+
});
|
130
|
+
}
|
131
|
+
};
|
132
|
+
this.getParentEl = (parent) => {
|
133
|
+
if (parent.tagName === "IC-SEARCH-BAR") {
|
134
|
+
this.isSearchBar = true;
|
135
|
+
}
|
136
|
+
else if (parent.tagName === "IC-SELECT" &&
|
137
|
+
parent.getAttribute("searchable") !== null &&
|
138
|
+
parent.getAttribute("searchable") !== undefined) {
|
139
|
+
this.isSearchableSelect = true;
|
140
|
+
}
|
141
|
+
};
|
142
|
+
this.arrowBehaviour = (event) => {
|
143
|
+
event.preventDefault();
|
169
144
|
this.handleMenuChange(true);
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
this.keyboardNav = true;
|
200
|
-
this.arrowBehaviour(event);
|
201
|
-
if (highlightedOptionIndex <= 0 ||
|
202
|
-
highlightedOptionIndex > menuOptions.length + 1) {
|
203
|
-
this.setHighlightedOption(menuOptions.length - 1);
|
204
|
-
this.menuOptionId.emit({
|
205
|
-
optionId: getOptionId(menuOptions.length - 1),
|
206
|
-
});
|
207
|
-
}
|
208
|
-
else {
|
209
|
-
this.setHighlightedOption(highlightedOptionIndex - 1);
|
210
|
-
this.menuOptionId.emit({
|
211
|
-
optionId: getOptionId(highlightedOptionIndex - 1),
|
212
|
-
});
|
213
|
-
}
|
214
|
-
this.preventIncorrectTabOrder = false;
|
215
|
-
this.focusFromSearchKeypress = false;
|
216
|
-
break;
|
217
|
-
case "Home":
|
218
|
-
this.keyboardNav = true;
|
219
|
-
event.preventDefault();
|
220
|
-
this.arrowBehaviour(event);
|
221
|
-
this.setHighlightedOption(0);
|
222
|
-
this.menuOptionId.emit({
|
223
|
-
optionId: getOptionId(0),
|
224
|
-
});
|
225
|
-
break;
|
226
|
-
case "End":
|
227
|
-
this.keyboardNav = true;
|
228
|
-
event.preventDefault();
|
229
|
-
this.arrowBehaviour(event);
|
230
|
-
this.setHighlightedOption(menuOptions.length - 1);
|
231
|
-
this.menuOptionId.emit({
|
232
|
-
optionId: getOptionId(menuOptions.length - 1),
|
233
|
-
});
|
234
|
-
break;
|
235
|
-
case "Enter":
|
236
|
-
event.preventDefault();
|
237
|
-
this.setInputValue(highlightedOptionIndex);
|
238
|
-
if (menuOptions[highlightedOptionIndex] !== undefined) {
|
239
|
-
this.value = menuOptions[highlightedOptionIndex][this.valueField];
|
240
|
-
}
|
241
|
-
break;
|
242
|
-
case "Escape":
|
243
|
-
if (this.open) {
|
244
|
-
event.stopImmediatePropagation();
|
245
|
-
}
|
246
|
-
this.handleMenuChange(false);
|
247
|
-
this.menuOptionId.emit({ optionId: undefined });
|
248
|
-
break;
|
249
|
-
case "Shift":
|
250
|
-
case "Tab":
|
251
|
-
if (this.isSearchBar) {
|
252
|
-
this.keyboardNav = true;
|
253
|
-
}
|
254
|
-
this.preventIncorrectTabOrder = true;
|
255
|
-
break;
|
256
|
-
case "Backspace":
|
257
|
-
if (this.isSearchBar) {
|
258
|
-
this.parentEl.setFocus();
|
259
|
-
if (this.searchMode === "navigation")
|
260
|
-
this.setHighlightedOption(0);
|
261
|
-
}
|
262
|
-
else if (this.isSearchableSelect) {
|
263
|
-
this.parentEl.setFocus();
|
264
|
-
}
|
265
|
-
this.focusFromSearchKeypress = true;
|
266
|
-
break;
|
267
|
-
default:
|
268
|
-
if (event.key !== "Tab") {
|
269
|
-
if (this.isSearchBar) {
|
270
|
-
this.parentEl.setFocus();
|
271
|
-
if (this.searchMode === "navigation")
|
272
|
-
this.setHighlightedOption(0);
|
145
|
+
};
|
146
|
+
this.setMenuOptions = () => this.isSearchBar ? this.options : this.ungroupedOptions;
|
147
|
+
this.setHighlightedOption = (highlightedIndex) => {
|
148
|
+
const menuOptions = this.setMenuOptions();
|
149
|
+
menuOptions[highlightedIndex] &&
|
150
|
+
!menuOptions[highlightedIndex].timedOut &&
|
151
|
+
(this.optionHighlighted =
|
152
|
+
menuOptions[highlightedIndex][this.valueField] || undefined);
|
153
|
+
};
|
154
|
+
this.autoSetInputValueKeyboardOpen = (event) => {
|
155
|
+
const selectedOptionIndex = this.ungroupedOptions.findIndex((option) => option[this.valueField] === this.value);
|
156
|
+
this.keyboardNav = false;
|
157
|
+
switch (event.key) {
|
158
|
+
case "ArrowDown":
|
159
|
+
this.keyboardNav = true;
|
160
|
+
this.arrowBehaviour(event);
|
161
|
+
this.setNextOptionValue(selectedOptionIndex);
|
162
|
+
break;
|
163
|
+
case "ArrowUp":
|
164
|
+
this.keyboardNav = true;
|
165
|
+
this.arrowBehaviour(event);
|
166
|
+
this.setPreviousOptionValue(selectedOptionIndex);
|
167
|
+
break;
|
168
|
+
case " ":
|
169
|
+
case "Enter":
|
170
|
+
if (event.target.id !== "clear-button") {
|
171
|
+
this.handleMenuChange(true);
|
172
|
+
}
|
173
|
+
break;
|
273
174
|
}
|
274
|
-
|
275
|
-
|
175
|
+
};
|
176
|
+
this.manSetInputValueKeyboardOpen = (event) => {
|
177
|
+
const menuOptions = this.setMenuOptions();
|
178
|
+
this.keyboardNav = false;
|
179
|
+
const highlightedOptionIndex = menuOptions.findIndex((option) => option[this.valueField] === this.optionHighlighted);
|
180
|
+
const getOptionId = (index) => { var _a; return (_a = Array.from(this.host.querySelectorAll("li"))[index]) === null || _a === void 0 ? void 0 : _a.id; };
|
181
|
+
const isOpen = this.isSearchBar || this.isSearchableSelect || this.open;
|
182
|
+
switch (event.key) {
|
183
|
+
case "ArrowDown":
|
184
|
+
this.keyboardNav = true;
|
185
|
+
this.arrowBehaviour(event);
|
186
|
+
if (highlightedOptionIndex < menuOptions.length - 1) {
|
187
|
+
this.setHighlightedOption(highlightedOptionIndex + 1);
|
188
|
+
this.menuOptionId.emit({
|
189
|
+
optionId: getOptionId(highlightedOptionIndex + 1),
|
190
|
+
});
|
191
|
+
}
|
192
|
+
else {
|
193
|
+
this.setHighlightedOption(0);
|
194
|
+
this.menuOptionId.emit({
|
195
|
+
optionId: getOptionId(0),
|
196
|
+
});
|
197
|
+
}
|
198
|
+
this.preventIncorrectTabOrder = false;
|
199
|
+
this.focusFromSearchKeypress = false;
|
200
|
+
break;
|
201
|
+
case "ArrowUp":
|
202
|
+
this.keyboardNav = true;
|
203
|
+
this.arrowBehaviour(event);
|
204
|
+
if (highlightedOptionIndex <= 0 ||
|
205
|
+
highlightedOptionIndex > menuOptions.length + 1) {
|
206
|
+
this.setHighlightedOption(menuOptions.length - 1);
|
207
|
+
this.menuOptionId.emit({
|
208
|
+
optionId: getOptionId(menuOptions.length - 1),
|
209
|
+
});
|
210
|
+
}
|
211
|
+
else {
|
212
|
+
this.setHighlightedOption(highlightedOptionIndex - 1);
|
213
|
+
this.menuOptionId.emit({
|
214
|
+
optionId: getOptionId(highlightedOptionIndex - 1),
|
215
|
+
});
|
216
|
+
}
|
217
|
+
this.preventIncorrectTabOrder = false;
|
218
|
+
this.focusFromSearchKeypress = false;
|
219
|
+
break;
|
220
|
+
case "Home":
|
221
|
+
this.keyboardNav = true;
|
222
|
+
event.preventDefault();
|
223
|
+
this.arrowBehaviour(event);
|
224
|
+
this.setHighlightedOption(0);
|
225
|
+
this.menuOptionId.emit({
|
226
|
+
optionId: getOptionId(0),
|
227
|
+
});
|
228
|
+
break;
|
229
|
+
case "End":
|
230
|
+
this.keyboardNav = true;
|
231
|
+
event.preventDefault();
|
232
|
+
this.arrowBehaviour(event);
|
233
|
+
this.setHighlightedOption(menuOptions.length - 1);
|
234
|
+
this.menuOptionId.emit({
|
235
|
+
optionId: getOptionId(menuOptions.length - 1),
|
236
|
+
});
|
237
|
+
break;
|
238
|
+
case " ":
|
239
|
+
if (this.isSearchBar || this.isSearchableSelect) {
|
240
|
+
break;
|
241
|
+
}
|
242
|
+
else {
|
243
|
+
if (event.target.id !== "clear-button") {
|
244
|
+
this.handleMenuChange(true);
|
245
|
+
}
|
246
|
+
}
|
247
|
+
break;
|
248
|
+
case "Enter":
|
249
|
+
event.preventDefault();
|
250
|
+
if (isOpen) {
|
251
|
+
if (highlightedOptionIndex >= 0) {
|
252
|
+
if (menuOptions[highlightedOptionIndex] !== undefined) {
|
253
|
+
if (this.isSearchBar &&
|
254
|
+
menuOptions[highlightedOptionIndex].disabled === true) {
|
255
|
+
this.disabledOptionSelected = true;
|
256
|
+
}
|
257
|
+
else {
|
258
|
+
this.setInputValue(highlightedOptionIndex);
|
259
|
+
this.value =
|
260
|
+
menuOptions[highlightedOptionIndex][this.valueField];
|
261
|
+
}
|
262
|
+
}
|
263
|
+
}
|
264
|
+
else {
|
265
|
+
this.setInputValue(highlightedOptionIndex);
|
266
|
+
}
|
267
|
+
}
|
268
|
+
else {
|
269
|
+
this.handleMenuChange(true);
|
270
|
+
}
|
271
|
+
break;
|
272
|
+
case "Escape":
|
273
|
+
if (this.open) {
|
274
|
+
event.stopImmediatePropagation();
|
275
|
+
}
|
276
|
+
this.handleMenuChange(false);
|
277
|
+
this.menuOptionId.emit({ optionId: undefined });
|
278
|
+
break;
|
279
|
+
case "Shift":
|
280
|
+
case "Tab":
|
281
|
+
if (this.isSearchBar) {
|
282
|
+
this.keyboardNav = true;
|
283
|
+
}
|
284
|
+
this.preventIncorrectTabOrder = true;
|
285
|
+
break;
|
286
|
+
default:
|
287
|
+
this.focusOnSearchOrSelectInput(menuOptions, highlightedOptionIndex);
|
288
|
+
break;
|
276
289
|
}
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
290
|
+
};
|
291
|
+
this.setInputValue = (highlightedOptionIndex) => {
|
292
|
+
const menuOptions = this.setMenuOptions();
|
293
|
+
if (menuOptions[highlightedOptionIndex] !== undefined) {
|
294
|
+
this.menuOptionSelect.emit({
|
295
|
+
value: menuOptions[highlightedOptionIndex][this.valueField],
|
296
|
+
});
|
297
|
+
this.optionHighlighted = undefined;
|
298
|
+
this.menuOptionId.emit({ optionId: undefined });
|
299
|
+
}
|
300
|
+
if (!this.hasTimedOut)
|
301
|
+
this.handleMenuChange(false);
|
302
|
+
else
|
303
|
+
this.parentEl.setFocus();
|
304
|
+
};
|
305
|
+
this.handleOptionClick = (event) => {
|
306
|
+
const { value, label } = event.target.dataset;
|
307
|
+
this.menuOptionSelect.emit({ value, label });
|
308
|
+
this.handleMenuChange(false);
|
309
|
+
};
|
310
|
+
this.handleRetry = () => {
|
311
|
+
this.retryButtonClicked.emit({ value: this.value });
|
312
|
+
};
|
313
|
+
this.handleRetryKeyDown = (ev) => {
|
314
|
+
if (ev.key === "Enter" || ev.key === " ") {
|
315
|
+
ev.preventDefault();
|
316
|
+
this.retryButtonClicked.emit({ value: this.value, keyPressed: ev.key });
|
317
|
+
}
|
318
|
+
};
|
319
|
+
this.handleBlur = (event) => {
|
320
|
+
if (event.relatedTarget !== this.inputEl) {
|
321
|
+
if (!this.menu.contains(event.relatedTarget)) {
|
322
|
+
this.handleMenuChange(false, this.hasPreviouslyBlurred);
|
323
|
+
}
|
324
|
+
}
|
325
|
+
else {
|
326
|
+
this.handleMenuChange(false);
|
327
|
+
this.preventClickOpen = true;
|
328
|
+
}
|
329
|
+
if (!this.isSearchBar)
|
330
|
+
this.hasPreviouslyBlurred = !!event.relatedTarget;
|
331
|
+
};
|
332
|
+
this.handleMouseDown = (event) => {
|
333
|
+
event.preventDefault();
|
334
|
+
};
|
335
|
+
this.handleMenuKeyDown = (event) => {
|
336
|
+
if (this.activationType === "automatic") {
|
337
|
+
this.autoSetValueOnMenuKeyDown(event);
|
338
|
+
}
|
339
|
+
else if (this.activationType === "manual" && !this.isSearchBar) {
|
340
|
+
this.manSetInputValueKeyboardOpen(event);
|
341
|
+
}
|
342
|
+
};
|
343
|
+
this.emitMenuKeyPress = (isNavKey, key) => {
|
344
|
+
this.menuKeyPress.emit({ isNavKey: isNavKey, key: key });
|
345
|
+
};
|
346
|
+
this.autoSetValueOnMenuKeyDown = (event) => {
|
347
|
+
event.cancelBubble = true;
|
348
|
+
const selectedOptionIndex = this.ungroupedOptions.findIndex((option) => option[this.valueField] === this.value);
|
349
|
+
const isSearchableSelect = this.inputEl.tagName === "INPUT";
|
350
|
+
this.keyboardNav = false;
|
351
|
+
switch (event.key) {
|
352
|
+
case " ":
|
353
|
+
event.preventDefault();
|
354
|
+
break;
|
355
|
+
case "ArrowUp":
|
356
|
+
if (!this.hasTimedOut) {
|
357
|
+
event.preventDefault();
|
358
|
+
this.setPreviousOptionValue(selectedOptionIndex);
|
359
|
+
this.keyboardNav = true;
|
360
|
+
}
|
361
|
+
break;
|
362
|
+
case "ArrowDown":
|
363
|
+
if (!this.hasTimedOut) {
|
364
|
+
event.preventDefault();
|
365
|
+
this.setNextOptionValue(selectedOptionIndex);
|
366
|
+
this.keyboardNav = true;
|
367
|
+
}
|
368
|
+
break;
|
369
|
+
case "Home":
|
370
|
+
this.menuOptionSelect.emit({
|
371
|
+
value: this.ungroupedOptions[0][this.valueField],
|
372
|
+
});
|
373
|
+
this.keyboardNav = true;
|
374
|
+
break;
|
375
|
+
case "End":
|
376
|
+
this.menuOptionSelect.emit({
|
377
|
+
value: this.ungroupedOptions[this.ungroupedOptions.length - 1][this.valueField],
|
378
|
+
});
|
379
|
+
this.keyboardNav = true;
|
380
|
+
break;
|
381
|
+
case "Enter":
|
382
|
+
!this.hasTimedOut && this.handleMenuChange(false);
|
383
|
+
break;
|
384
|
+
case "Escape":
|
385
|
+
this.handleMenuChange(false);
|
386
|
+
break;
|
387
|
+
case "Backspace":
|
388
|
+
if (isSearchableSelect) {
|
389
|
+
this.inputEl.focus();
|
390
|
+
}
|
391
|
+
break;
|
392
|
+
case "Shift":
|
393
|
+
break;
|
394
|
+
default:
|
395
|
+
if (isSearchableSelect && event.key !== "Tab" && !this.hasTimedOut) {
|
396
|
+
this.inputEl.focus();
|
397
|
+
}
|
398
|
+
if (event.key.length === 1) {
|
399
|
+
this.keyboardNav = true;
|
400
|
+
}
|
401
|
+
break;
|
402
|
+
}
|
403
|
+
this.emitMenuKeyPress(this.keyboardNav, event.key);
|
404
|
+
};
|
405
|
+
this.handleMenuKeyUp = (event) => {
|
406
|
+
if (event.key === "Tab" && event.shiftKey) {
|
407
|
+
this.preventClickOpen = false;
|
408
|
+
}
|
409
|
+
if (event.key === "Enter" && this.disabledOptionSelected) {
|
410
|
+
this.disabledOptionSelected = false;
|
411
|
+
event.stopImmediatePropagation();
|
412
|
+
}
|
413
|
+
};
|
414
|
+
this.getOptionId = (value) => {
|
415
|
+
return `${this.menuId}-${value}`;
|
416
|
+
};
|
417
|
+
this.getOptionAriaLabel = (option, parentOption) => {
|
418
|
+
let ariaLabel = option[this.labelField];
|
419
|
+
if (option.description) {
|
420
|
+
ariaLabel = `${ariaLabel}, ${option.description}`;
|
421
|
+
}
|
422
|
+
if (option.element) {
|
423
|
+
ariaLabel = `${ariaLabel}, ${option.element.ariaLabel}`;
|
424
|
+
}
|
425
|
+
if (parentOption) {
|
426
|
+
return `${ariaLabel}, ${parentOption[this.labelField]} group`;
|
427
|
+
}
|
428
|
+
else {
|
429
|
+
return ariaLabel;
|
430
|
+
}
|
431
|
+
};
|
432
|
+
this.getSortedOptions = (options) => {
|
433
|
+
let sorted = [];
|
434
|
+
if (options.sort) {
|
435
|
+
sorted = options.sort((optionA, optionB) => optionA.recommended && !optionB.recommended ? -1 : 0);
|
436
|
+
}
|
437
|
+
return sorted;
|
438
|
+
};
|
439
|
+
this.isManualMode = this.activationType === "manual";
|
440
|
+
this.scrollToSelected = (menu) => {
|
441
|
+
const selectedOption = this.selectOnEnter
|
442
|
+
? this.host.querySelector(`li[data-value="${this.optionHighlighted}"]`)
|
443
|
+
: menu.querySelector(".option[aria-selected]");
|
444
|
+
if (selectedOption) {
|
445
|
+
const elTop = selectedOption.offsetTop + selectedOption.offsetHeight;
|
446
|
+
if (elTop > menu.scrollTop + menu.offsetHeight ||
|
447
|
+
elTop < menu.scrollTop + menu.offsetHeight) {
|
448
|
+
menu.scrollTop = selectedOption.offsetTop;
|
449
|
+
}
|
450
|
+
selectedOption.focus();
|
451
|
+
}
|
452
|
+
};
|
453
|
+
this.loadUngroupedOptions = () => {
|
454
|
+
if (this.options.length > 0 && this.options.map) {
|
455
|
+
this.options.map((option) => {
|
456
|
+
if (option.children) {
|
457
|
+
option.children.map((option) => !option.disabled && this.ungroupedOptions.push(option));
|
458
|
+
}
|
459
|
+
else if (!option.disabled) {
|
460
|
+
this.ungroupedOptions.push(option);
|
461
|
+
}
|
462
|
+
});
|
463
|
+
}
|
464
|
+
this.ungroupedOptions = this.getSortedOptions(this.ungroupedOptions);
|
465
|
+
this.ungroupedOptionsSet.emit({ options: this.ungroupedOptions });
|
466
|
+
};
|
467
|
+
this.setMenuScrollbar = () => {
|
468
|
+
let optionsHeight = 0;
|
469
|
+
this.host
|
470
|
+
.querySelectorAll(".option")
|
471
|
+
.forEach((option) => (optionsHeight += option.clientHeight));
|
472
|
+
if (optionsHeight >= 320) {
|
473
|
+
this.menu.classList.add("menu-scroll");
|
474
|
+
}
|
475
|
+
};
|
476
|
+
this.handleTimeoutBlur = (ev) => {
|
477
|
+
this.timeoutBlur.emit({ ev });
|
478
|
+
};
|
479
|
+
this.optionContent = (option) => {
|
480
|
+
var _a;
|
481
|
+
return (h(Fragment, null, option.loading && h("ic-loading-indicator", { size: "icon" }), h("div", { class: "option-text-container" }, h("div", { class: "option-label" }, option.icon && (h("div", { class: "option-icon", innerHTML: option.icon, "aria-hidden": "true" })), h("ic-typography", { variant: "body", "aria-hidden": "true" }, h("p", null, option[this.labelField]))), option.description && (h("ic-typography", { id: `${this.getOptionId(option[this.valueField])}-description`, class: "option-description", variant: "caption", "aria-hidden": "true" }, h("p", null, option.description))), option.element && (h("div", { class: "option-element", innerHTML: option.element.component, "aria-hidden": "true" }))), !!option[this.valueField] &&
|
482
|
+
!!this.value &&
|
483
|
+
option[this.valueField].toLowerCase() === ((_a = this.value) === null || _a === void 0 ? void 0 : _a.toLowerCase()) &&
|
484
|
+
this.parentEl.tagName !== "IC-SEARCH-BAR" && (h("span", { class: "check-icon", innerHTML: Check }))));
|
485
|
+
};
|
486
|
+
this.displayOption = (option, index, parentOption) => {
|
487
|
+
const { open, value, keyboardNav, isManualMode, initialOptionsListRender, optionHighlighted, options, } = this;
|
488
|
+
return (h("li", { id: this.getOptionId(option[this.valueField]), class: {
|
489
|
+
option: true,
|
490
|
+
"focused-option": isManualMode
|
491
|
+
? (keyboardNav || initialOptionsListRender) &&
|
492
|
+
option[this.valueField] === optionHighlighted
|
493
|
+
: keyboardNav && option[this.valueField] === value,
|
494
|
+
"last-recommended-option": option.recommended &&
|
495
|
+
options[index + 1] &&
|
496
|
+
!options[index + 1].recommended,
|
497
|
+
"disabled-option": option.disabled,
|
498
|
+
"loading-option": option.loading,
|
499
|
+
timeout: option.timedOut,
|
500
|
+
}, role: "option", tabindex: open &&
|
501
|
+
(option[this.valueField] === value ||
|
502
|
+
option[this.valueField] === optionHighlighted) &&
|
503
|
+
keyboardNav
|
504
|
+
? "0"
|
505
|
+
: "-1", "aria-label": this.getOptionAriaLabel(option, parentOption), "aria-selected": option[this.valueField] === value, "aria-disabled": option.disabled ? "true" : "false", onClick: !option.timedOut && !option.loading && this.handleOptionClick, onBlur: this.handleBlur, onMouseDown: this.handleMouseDown, "data-value": option[this.valueField], "data-label": option[this.labelField] }, option.timedOut ? (h(Fragment, null, h("div", { class: "loading-error-info" }, h("svg", { class: "error-icon-svg", "aria-labelledby": "error-title", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "#000000" }, h("title", { id: "error-title" }, "Error"), h("path", { d: "M0 0h24v24H0z", fill: "none" }), h("path", { d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z" })), h("ic-typography", { variant: "label" }, option[this.labelField])), h("ic-button", { size: "small", variant: "tertiary", onClick: this.handleRetry, onKeyDown: this.handleRetryKeyDown, onBlur: this.handleTimeoutBlur, id: "retry-button" }, "Retry"))) : (this.optionContent(option))));
|
506
|
+
};
|
507
|
+
this.focusFromSearchKeypress = false;
|
508
|
+
this.initialOptionsListRender = false;
|
509
|
+
this.keyboardNav = false;
|
288
510
|
this.optionHighlighted = undefined;
|
289
|
-
this.
|
290
|
-
|
291
|
-
|
292
|
-
this.
|
293
|
-
|
294
|
-
this.
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
if (!this.menu.contains(event.relatedTarget)) {
|
313
|
-
this.handleMenuChange(false, this.hasPreviouslyBlurred);
|
511
|
+
this.preventIncorrectTabOrder = false;
|
512
|
+
this.activationType = "automatic";
|
513
|
+
this.anchorEl = undefined;
|
514
|
+
this.autoFocusOnSelected = true;
|
515
|
+
this.fullWidth = false;
|
516
|
+
this.inputEl = undefined;
|
517
|
+
this.inputLabel = undefined;
|
518
|
+
this.labelField = "label";
|
519
|
+
this.menuId = undefined;
|
520
|
+
this.open = undefined;
|
521
|
+
this.parentEl = undefined;
|
522
|
+
this.searchMode = "navigation";
|
523
|
+
this.selectOnEnter = false;
|
524
|
+
this.size = "default";
|
525
|
+
this.small = false;
|
526
|
+
this.options = undefined;
|
527
|
+
this.value = undefined;
|
528
|
+
this.valueField = "value";
|
529
|
+
}
|
530
|
+
watchOpenHandler() {
|
531
|
+
if (!this.open && this.popperInstance) {
|
532
|
+
this.popperInstance.destroy();
|
533
|
+
this.popperInstance = null;
|
314
534
|
}
|
315
|
-
|
316
|
-
|
317
|
-
this.
|
318
|
-
this.
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
this.manSetInputValueKeyboardOpen(event);
|
332
|
-
}
|
333
|
-
};
|
334
|
-
this.emitMenuKeyPress = (isNavKey, key) => {
|
335
|
-
this.menuKeyPress.emit({ isNavKey: isNavKey, key: key });
|
336
|
-
};
|
337
|
-
this.autoSetValueOnMenuKeyDown = (event) => {
|
338
|
-
event.cancelBubble = true;
|
339
|
-
const selectedOptionIndex = this.ungroupedOptions.findIndex((option) => option[this.valueField] === this.value);
|
340
|
-
const isSearchableSelect = this.inputEl.tagName === "INPUT";
|
341
|
-
this.keyboardNav = false;
|
342
|
-
switch (event.key) {
|
343
|
-
case " ":
|
344
|
-
event.preventDefault();
|
345
|
-
break;
|
346
|
-
case "ArrowUp":
|
347
|
-
if (!this.hasTimedOut) {
|
348
|
-
event.preventDefault();
|
349
|
-
this.setPreviousOptionValue(selectedOptionIndex);
|
350
|
-
this.keyboardNav = true;
|
351
|
-
}
|
352
|
-
break;
|
353
|
-
case "ArrowDown":
|
354
|
-
if (!this.hasTimedOut) {
|
355
|
-
event.preventDefault();
|
356
|
-
this.setNextOptionValue(selectedOptionIndex);
|
357
|
-
this.keyboardNav = true;
|
358
|
-
}
|
359
|
-
break;
|
360
|
-
case "Home":
|
361
|
-
this.menuOptionSelect.emit({
|
362
|
-
value: this.ungroupedOptions[0][this.valueField],
|
363
|
-
});
|
364
|
-
this.keyboardNav = true;
|
365
|
-
break;
|
366
|
-
case "End":
|
367
|
-
this.menuOptionSelect.emit({
|
368
|
-
value: this.ungroupedOptions[this.ungroupedOptions.length - 1][this.valueField],
|
369
|
-
});
|
370
|
-
this.keyboardNav = true;
|
371
|
-
break;
|
372
|
-
case "Enter":
|
373
|
-
!this.hasTimedOut && this.handleMenuChange(false);
|
374
|
-
break;
|
375
|
-
case "Escape":
|
376
|
-
this.handleMenuChange(false);
|
377
|
-
break;
|
378
|
-
case "Backspace":
|
379
|
-
if (isSearchableSelect) {
|
380
|
-
this.inputEl.focus();
|
381
|
-
}
|
382
|
-
break;
|
383
|
-
case "Shift":
|
384
|
-
break;
|
385
|
-
default:
|
386
|
-
if (isSearchableSelect && event.key !== "Tab" && !this.hasTimedOut) {
|
387
|
-
this.inputEl.focus();
|
388
|
-
}
|
389
|
-
if (event.key.length === 1) {
|
390
|
-
this.keyboardNav = true;
|
391
|
-
}
|
392
|
-
break;
|
393
|
-
}
|
394
|
-
this.emitMenuKeyPress(this.keyboardNav, event.key);
|
395
|
-
};
|
396
|
-
this.handleMenuKeyUp = (event) => {
|
397
|
-
if (event.key === "Tab" && event.shiftKey) {
|
398
|
-
this.preventClickOpen = false;
|
399
|
-
}
|
400
|
-
};
|
401
|
-
this.getOptionId = (value) => {
|
402
|
-
return `${this.menuId}-${value}`;
|
403
|
-
};
|
404
|
-
this.getOptionAriaLabel = (option, parentOption) => {
|
405
|
-
let ariaLabel = option[this.labelField];
|
406
|
-
if (option.description) {
|
407
|
-
ariaLabel = `${ariaLabel}, ${option.description}`;
|
408
|
-
}
|
409
|
-
if (option.element) {
|
410
|
-
ariaLabel = `${ariaLabel}, ${option.element.ariaLabel}`;
|
411
|
-
}
|
412
|
-
if (parentOption) {
|
413
|
-
return `${ariaLabel}, ${parentOption[this.labelField]} group`;
|
414
|
-
}
|
415
|
-
else {
|
416
|
-
return ariaLabel;
|
417
|
-
}
|
418
|
-
};
|
419
|
-
this.getSortedOptions = (options) => {
|
420
|
-
let sorted = [];
|
421
|
-
if (options.sort) {
|
422
|
-
sorted = options.sort((optionA, optionB) => optionA.recommended && !optionB.recommended ? -1 : 0);
|
423
|
-
}
|
424
|
-
return sorted;
|
425
|
-
};
|
426
|
-
this.isManualMode = this.activationType === "manual";
|
427
|
-
this.scrollToSelected = (menu) => {
|
428
|
-
const selectedOption = menu.querySelector(".option[aria-selected]");
|
429
|
-
if (selectedOption) {
|
430
|
-
const elTop = selectedOption.offsetTop + selectedOption.offsetHeight;
|
431
|
-
if (elTop > menu.scrollTop + menu.offsetHeight ||
|
432
|
-
elTop < menu.scrollTop + menu.offsetHeight) {
|
433
|
-
menu.scrollTop = selectedOption.offsetTop;
|
535
|
+
}
|
536
|
+
watchOptionsHandler(newOptions) {
|
537
|
+
this.hasTimedOut = newOptions.some((opt) => opt.timedOut);
|
538
|
+
this.isLoading = newOptions.some((opt) => opt.loading);
|
539
|
+
this.ungroupedOptions = [];
|
540
|
+
this.loadUngroupedOptions();
|
541
|
+
}
|
542
|
+
watchValueHandler() {
|
543
|
+
this.menuValueChange.emit({ value: this.value });
|
544
|
+
}
|
545
|
+
connectedCallback() {
|
546
|
+
this.getParentEl(this.parentEl);
|
547
|
+
if (this.isSearchBar) {
|
548
|
+
if (this.searchMode === "navigation")
|
549
|
+
this.setHighlightedOption(0);
|
550
|
+
this.initialOptionsListRender = true;
|
434
551
|
}
|
435
|
-
selectedOption.focus();
|
436
|
-
}
|
437
|
-
};
|
438
|
-
this.loadUngroupedOptions = () => {
|
439
|
-
if (this.options.length > 0 && this.options.map) {
|
440
|
-
this.options.map((option) => {
|
441
|
-
if (option.children) {
|
442
|
-
option.children.map((option) => !option.disabled && this.ungroupedOptions.push(option));
|
443
|
-
}
|
444
|
-
else if (!option.disabled) {
|
445
|
-
this.ungroupedOptions.push(option);
|
446
|
-
}
|
447
|
-
});
|
448
|
-
}
|
449
|
-
this.ungroupedOptions = this.getSortedOptions(this.ungroupedOptions);
|
450
|
-
this.ungroupedOptionsSet.emit({ options: this.ungroupedOptions });
|
451
|
-
};
|
452
|
-
this.setMenuScrollbar = () => {
|
453
|
-
let optionsHeight = 0;
|
454
|
-
this.host
|
455
|
-
.querySelectorAll(".option")
|
456
|
-
.forEach((option) => (optionsHeight += option.clientHeight));
|
457
|
-
if (optionsHeight >= 320) {
|
458
|
-
this.menu.classList.add("menu-scroll");
|
459
|
-
}
|
460
|
-
};
|
461
|
-
this.handleTimeoutBlur = (ev) => {
|
462
|
-
this.timeoutBlur.emit({ ev });
|
463
|
-
};
|
464
|
-
this.optionContent = (option) => {
|
465
|
-
var _a;
|
466
|
-
return (h(Fragment, null, option.loading && h("ic-loading-indicator", { size: "icon" }), h("div", { class: "option-text-container" }, h("div", { class: "option-label" }, option.icon && (h("div", { class: "option-icon", innerHTML: option.icon, "aria-hidden": "true" })), h("ic-typography", { variant: "body", "aria-hidden": "true" }, h("p", null, option[this.labelField]))), option.description && (h("ic-typography", { id: `${this.getOptionId(option[this.valueField])}-description`, class: "option-description", variant: "caption", "aria-hidden": "true" }, h("p", null, option.description))), option.element && (h("div", { class: "option-element", innerHTML: option.element.component, "aria-hidden": "true" }))), !!option[this.valueField] &&
|
467
|
-
!!this.value &&
|
468
|
-
option[this.valueField].toLowerCase() === ((_a = this.value) === null || _a === void 0 ? void 0 : _a.toLowerCase()) &&
|
469
|
-
this.parentEl.tagName !== "IC-SEARCH-BAR" && (h("span", { class: "check-icon", innerHTML: Check }))));
|
470
|
-
};
|
471
|
-
this.displayOption = (option, index, parentOption) => {
|
472
|
-
const { open, value, keyboardNav, isManualMode, initialOptionsListRender, optionHighlighted, options, } = this;
|
473
|
-
return (h("li", { id: this.getOptionId(option[this.valueField]), class: {
|
474
|
-
option: true,
|
475
|
-
"focused-option": isManualMode
|
476
|
-
? (keyboardNav || initialOptionsListRender) &&
|
477
|
-
option[this.valueField] === optionHighlighted
|
478
|
-
: keyboardNav && option[this.valueField] === value,
|
479
|
-
"last-recommended-option": option.recommended &&
|
480
|
-
options[index + 1] &&
|
481
|
-
!options[index + 1].recommended,
|
482
|
-
"disabled-option": option.disabled,
|
483
|
-
"loading-option": option.loading,
|
484
|
-
timeout: option.timedOut,
|
485
|
-
}, role: "option", tabindex: open &&
|
486
|
-
(option[this.valueField] === value ||
|
487
|
-
option[this.valueField] === optionHighlighted) &&
|
488
|
-
keyboardNav
|
489
|
-
? "0"
|
490
|
-
: "-1", "aria-label": this.getOptionAriaLabel(option, parentOption), "aria-selected": option[this.valueField] === value, "aria-disabled": option.disabled ? "true" : "false", onClick: !option.timedOut && !option.loading && this.handleOptionClick, onBlur: this.handleBlur, onMouseDown: this.handleMouseDown, "data-value": option[this.valueField], "data-label": option[this.labelField] }, option.timedOut ? (h(Fragment, null, h("div", { class: "loading-error-info" }, h("svg", { class: "error-icon-svg", "aria-labelledby": "error-title", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "#000000" }, h("title", { id: "error-title" }, "Error"), h("path", { d: "M0 0h24v24H0z", fill: "none" }), h("path", { d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z" })), h("ic-typography", { variant: "label" }, option[this.labelField])), h("ic-button", { size: "small", variant: "tertiary", onClick: this.handleRetry, onKeyDown: this.handleRetryKeyDown, onBlur: this.handleTimeoutBlur, id: "retry-button" }, "Retry"))) : (this.optionContent(option))));
|
491
|
-
};
|
492
|
-
this.focusFromSearchKeypress = false;
|
493
|
-
this.initialOptionsListRender = false;
|
494
|
-
this.keyboardNav = false;
|
495
|
-
this.optionHighlighted = undefined;
|
496
|
-
this.preventIncorrectTabOrder = false;
|
497
|
-
this.activationType = "automatic";
|
498
|
-
this.anchorEl = undefined;
|
499
|
-
this.autoFocusOnSelected = true;
|
500
|
-
this.fullWidth = false;
|
501
|
-
this.inputEl = undefined;
|
502
|
-
this.inputLabel = undefined;
|
503
|
-
this.labelField = "label";
|
504
|
-
this.menuId = undefined;
|
505
|
-
this.open = undefined;
|
506
|
-
this.parentEl = undefined;
|
507
|
-
this.searchMode = "navigation";
|
508
|
-
this.small = false;
|
509
|
-
this.options = undefined;
|
510
|
-
this.value = undefined;
|
511
|
-
this.valueField = "value";
|
512
|
-
}
|
513
|
-
watchOptionsHandler(newOptions) {
|
514
|
-
this.hasTimedOut = newOptions.some((opt) => opt.timedOut);
|
515
|
-
this.isLoading = newOptions.some((opt) => opt.loading);
|
516
|
-
this.ungroupedOptions = [];
|
517
|
-
this.loadUngroupedOptions();
|
518
|
-
}
|
519
|
-
watchValueHandler() {
|
520
|
-
this.menuValueChange.emit({ value: this.value });
|
521
|
-
}
|
522
|
-
connectedCallback() {
|
523
|
-
this.getParentEl(this.parentEl);
|
524
|
-
if (this.isSearchBar) {
|
525
|
-
if (this.searchMode === "navigation")
|
526
|
-
this.setHighlightedOption(0);
|
527
|
-
this.initialOptionsListRender = true;
|
528
552
|
}
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
553
|
+
disconnectedCallback() {
|
554
|
+
if (this.popperInstance) {
|
555
|
+
this.popperInstance.destroy();
|
556
|
+
}
|
557
|
+
this.parentEl.removeEventListener("icClear", this.handleClearListener);
|
558
|
+
this.parentEl.removeEventListener("icSubmitSearch", this.handleSubmitSearch);
|
533
559
|
}
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
this.parentEl.addEventListener("icSubmitSearch", this.handleSubmitSearch);
|
542
|
-
this.hasTimedOut = (_a = this.options) === null || _a === void 0 ? void 0 : _a.some((opt) => opt.timedOut);
|
543
|
-
this.isLoading = (_b = this.options) === null || _b === void 0 ? void 0 : _b.some((opt) => opt.loading);
|
544
|
-
}
|
545
|
-
componentDidLoad() {
|
546
|
-
if (this.isSearchBar &&
|
547
|
-
this.parentEl.disableFilter) {
|
548
|
-
this.focusFromSearchKeypress = true;
|
560
|
+
componentWillLoad() {
|
561
|
+
var _a, _b;
|
562
|
+
this.loadUngroupedOptions();
|
563
|
+
this.parentEl.addEventListener("icClear", this.handleClearListener);
|
564
|
+
this.parentEl.addEventListener("icSubmitSearch", this.handleSubmitSearch);
|
565
|
+
this.hasTimedOut = (_a = this.options) === null || _a === void 0 ? void 0 : _a.some((opt) => opt.timedOut);
|
566
|
+
this.isLoading = (_b = this.options) === null || _b === void 0 ? void 0 : _b.some((opt) => opt.loading);
|
549
567
|
}
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
{ prop: this.inputLabel, propName: "input-label" },
|
555
|
-
//NOTE: no check for value, input-el or anchor-el as otherwise get console errors on first load of select component
|
556
|
-
], "Menu");
|
557
|
-
}
|
558
|
-
componentDidUpdate() {
|
559
|
-
const inputValueInOptions = this.options.some((option) => option[this.valueField] === this.value);
|
560
|
-
const optionHighlightedIsSet = this.optionHighlighted !== null &&
|
561
|
-
this.optionHighlighted !== undefined &&
|
562
|
-
this.optionHighlighted !== "";
|
563
|
-
if (this.open && this.options.length !== 0) {
|
564
|
-
if (this.value &&
|
565
|
-
this.keyboardNav &&
|
566
|
-
inputValueInOptions &&
|
567
|
-
this.autoFocusOnSelected &&
|
568
|
-
!this.isSearchableSelect) {
|
569
|
-
this.scrollToSelected(this.menu);
|
570
|
-
}
|
571
|
-
else if (this.inputEl.tagName !== "IC-TEXT-FIELD" &&
|
572
|
-
this.inputEl.tagName !== "INPUT") {
|
573
|
-
this.menu.focus();
|
574
|
-
}
|
575
|
-
else if (optionHighlightedIsSet &&
|
576
|
-
!this.focusFromSearchKeypress &&
|
577
|
-
!this.preventIncorrectTabOrder) {
|
578
|
-
const highlightedEl = this.host.querySelector(`li[data-value="${this.optionHighlighted}"]`);
|
579
|
-
if (highlightedEl) {
|
580
|
-
highlightedEl.focus();
|
568
|
+
componentDidLoad() {
|
569
|
+
if (this.isSearchBar &&
|
570
|
+
this.parentEl.disableFilter) {
|
571
|
+
this.focusFromSearchKeypress = true;
|
581
572
|
}
|
582
|
-
|
573
|
+
onComponentRequiredPropUndefined([
|
574
|
+
{ prop: this.open, propName: "open" },
|
575
|
+
{ prop: this.options, propName: "options" },
|
576
|
+
{ prop: this.menuId, propName: "menu-id" },
|
577
|
+
{ prop: this.inputLabel, propName: "input-label" },
|
578
|
+
//NOTE: no check for value, input-el or anchor-el as otherwise get console errors on first load of select component
|
579
|
+
], "Menu");
|
583
580
|
}
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
581
|
+
componentDidUpdate() {
|
582
|
+
const inputValueInOptions = this.options.some((option) => option[this.valueField] === this.value);
|
583
|
+
const optionHighlightedIsSet = this.optionHighlighted !== null &&
|
584
|
+
this.optionHighlighted !== undefined &&
|
585
|
+
this.optionHighlighted !== "";
|
586
|
+
if (this.open && this.options.length !== 0) {
|
587
|
+
if (this.value &&
|
588
|
+
this.keyboardNav &&
|
589
|
+
inputValueInOptions &&
|
590
|
+
this.autoFocusOnSelected &&
|
591
|
+
!this.isSearchableSelect) {
|
592
|
+
this.scrollToSelected(this.menu);
|
593
|
+
}
|
594
|
+
else if (this.inputEl.tagName !== "IC-TEXT-FIELD" &&
|
595
|
+
this.inputEl.tagName !== "INPUT") {
|
596
|
+
this.menu.focus();
|
597
|
+
}
|
598
|
+
else if (optionHighlightedIsSet &&
|
599
|
+
!this.focusFromSearchKeypress &&
|
600
|
+
!this.preventIncorrectTabOrder) {
|
601
|
+
const highlightedEl = this.host.querySelector(`li[data-value="${this.optionHighlighted}"]`);
|
602
|
+
if (highlightedEl) {
|
603
|
+
highlightedEl.focus();
|
604
|
+
}
|
605
|
+
}
|
600
606
|
}
|
601
|
-
if (
|
602
|
-
|
607
|
+
if (this.open && !this.value && this.selectOnEnter) {
|
608
|
+
this.scrollToSelected(this.menu);
|
603
609
|
}
|
604
|
-
}
|
605
|
-
if (adjust) {
|
606
|
-
this.popperInstance = createPopper(this.anchorEl, this.host, {
|
607
|
-
placement: "top",
|
608
|
-
});
|
609
|
-
}
|
610
|
-
else {
|
611
|
-
this.popperInstance = createPopper(this.anchorEl, this.host, {
|
612
|
-
placement: "bottom",
|
613
|
-
modifiers: [
|
614
|
-
{
|
615
|
-
name: "offset",
|
616
|
-
options: {
|
617
|
-
offset: [0, 7],
|
618
|
-
},
|
619
|
-
},
|
620
|
-
{
|
621
|
-
name: "flip",
|
622
|
-
options: {
|
623
|
-
fallbackPlacements: ["top"],
|
624
|
-
rootBoundary: "viewport",
|
625
|
-
},
|
626
|
-
},
|
627
|
-
],
|
628
|
-
});
|
629
|
-
}
|
630
610
|
}
|
631
|
-
|
632
|
-
|
611
|
+
componentDidRender() {
|
612
|
+
if (this.open && !this.popperInstance && this.anchorEl) {
|
613
|
+
this.initPopperJs(this.anchorEl);
|
614
|
+
}
|
615
|
+
if (this.open && !!this.options.length) {
|
616
|
+
this.setMenuScrollbar();
|
617
|
+
}
|
633
618
|
}
|
634
|
-
|
635
|
-
|
619
|
+
/**
|
620
|
+
* @internal If menu is opened with the mouse, emit menuStateChange custom event.
|
621
|
+
*/
|
622
|
+
async handleClickOpen() {
|
623
|
+
if (!this.preventClickOpen) {
|
624
|
+
this.menuStateChange.emit({ open: !this.open });
|
625
|
+
this.keyboardNav = false;
|
626
|
+
}
|
627
|
+
this.preventClickOpen = false;
|
636
628
|
}
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
629
|
+
/**
|
630
|
+
* Used alongside activationType
|
631
|
+
* If menu is opened via keyboard navigation (i.e. Enter, ArrowUp or ArrowDown), emit optionSelect custom event.
|
632
|
+
* @param {KeyboardEvent} event The keyboard event which is available when handleKeyboardOpen is invoked.
|
633
|
+
*/
|
634
|
+
async handleKeyboardOpen(event) {
|
635
|
+
this.keyboardNav = false;
|
636
|
+
if (this.activationType === "automatic") {
|
637
|
+
this.autoSetInputValueKeyboardOpen(event);
|
638
|
+
}
|
639
|
+
else {
|
640
|
+
this.manSetInputValueKeyboardOpen(event);
|
641
|
+
}
|
645
642
|
}
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
* @param {KeyboardEvent} event - keyboard event
|
652
|
-
*/
|
653
|
-
async handleKeyboardOpen(event) {
|
654
|
-
this.keyboardNav = false;
|
655
|
-
if (this.activationType === "automatic") {
|
656
|
-
this.autoSetInputValueKeyboardOpen(event);
|
643
|
+
/**
|
644
|
+
* @internal Used to highlight the first option in the menu.
|
645
|
+
*/
|
646
|
+
async handleSetFirstOption() {
|
647
|
+
this.setHighlightedOption(0);
|
657
648
|
}
|
658
|
-
|
659
|
-
|
649
|
+
/**
|
650
|
+
* @internal Used to initialize popperJS with an anchor element.
|
651
|
+
* 5/12/2023: Tested with Floating UI, however, discovered inconsistent
|
652
|
+
* boundary behaviour so sticking with PopperJS.
|
653
|
+
*/
|
654
|
+
async initPopperJs(anchor) {
|
655
|
+
this.popperInstance = createPopper(anchor, this.host, {
|
656
|
+
placement: "bottom",
|
657
|
+
modifiers: [
|
658
|
+
{
|
659
|
+
name: "offset",
|
660
|
+
options: {
|
661
|
+
offset: [0, 7],
|
662
|
+
},
|
663
|
+
},
|
664
|
+
{
|
665
|
+
name: "flip",
|
666
|
+
options: {
|
667
|
+
fallbackPlacements: ["top"],
|
668
|
+
rootBoundary: "viewport",
|
669
|
+
},
|
670
|
+
},
|
671
|
+
],
|
672
|
+
});
|
660
673
|
}
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
render() {
|
669
|
-
const { inputLabel, options, menuId, value, fullWidth, hasTimedOut, isLoading, small, open, inputEl, keyboardNav, } = this;
|
670
|
-
return (h(Host, { class: {
|
671
|
-
"full-width": fullWidth,
|
672
|
-
"no-focus": (inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) === "INPUT" || hasTimedOut || isLoading,
|
673
|
-
small: small,
|
674
|
-
open: open,
|
675
|
-
} }, options.length !== 0 && (h("ul", { id: menuId, class: "menu", role: "listbox", "aria-label": inputLabel, "aria-activedescendant": value != null && value !== "" ? this.getOptionId(value) : "", tabindex: open && !keyboardNav && (inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) !== "INPUT" ? "0" : "-1", ref: (el) => (this.menu = el), onKeyDown: this.handleMenuKeyDown, onKeyUp: this.handleMenuKeyUp, onBlur: this.handleBlur }, this.getSortedOptions(options).map((option, index) => {
|
676
|
-
if (option.children) {
|
677
|
-
if (option.children.length > 0) {
|
678
|
-
return (h("div", null, h("ic-typography", { class: "option-group-title", role: "presentation", variant: "subtitle-small" }, h("p", null, option[this.labelField])), option.children.map((childOption) => this.displayOption(childOption, index, option))));
|
674
|
+
focusOnSearchOrSelectInput(menuOptions, highlightedOptionIndex) {
|
675
|
+
if (!menuOptions[highlightedOptionIndex])
|
676
|
+
return;
|
677
|
+
if (this.isSearchBar) {
|
678
|
+
this.parentEl.setFocus();
|
679
|
+
if (this.searchMode === "navigation")
|
680
|
+
this.setHighlightedOption(0);
|
679
681
|
}
|
680
|
-
|
681
|
-
|
682
|
+
if (this.isSearchableSelect) {
|
683
|
+
this.parentEl.setFocus();
|
682
684
|
}
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
685
|
+
this.focusFromSearchKeypress = true;
|
686
|
+
}
|
687
|
+
render() {
|
688
|
+
const { inputLabel, options, menuId, value, fullWidth, hasTimedOut, isLoading, small, size, open, inputEl, keyboardNav, } = this;
|
689
|
+
return (h(Host, { class: {
|
690
|
+
"full-width": fullWidth,
|
691
|
+
"no-focus": (inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) === "INPUT" || hasTimedOut || isLoading,
|
692
|
+
small: small || size === "small",
|
693
|
+
open: open,
|
694
|
+
} }, options.length !== 0 && (h("ul", { id: menuId, class: "menu", role: "listbox", "aria-label": inputLabel, "aria-activedescendant": value != null && value !== "" ? this.getOptionId(value) : "", tabindex: open && !keyboardNav && (inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) !== "INPUT" ? "0" : "-1", ref: (el) => (this.menu = el), onKeyDown: this.handleMenuKeyDown, onKeyUp: this.handleMenuKeyUp, onBlur: this.handleBlur }, this.getSortedOptions(options).map((option, index) => {
|
695
|
+
if (option.children) {
|
696
|
+
if (option.children.length > 0) {
|
697
|
+
return (h("div", null, h("ic-typography", { class: "option-group-title", role: "presentation", variant: "subtitle-small" }, h("p", null, option[this.labelField])), option.children.map((childOption) => this.displayOption(childOption, index, option))));
|
698
|
+
}
|
699
|
+
else {
|
700
|
+
return null;
|
701
|
+
}
|
702
|
+
}
|
703
|
+
else {
|
704
|
+
return this.displayOption(option, index);
|
705
|
+
}
|
706
|
+
})))));
|
707
|
+
}
|
708
|
+
get host() { return getElement(this); }
|
709
|
+
static get watchers() { return {
|
710
|
+
"open": ["watchOpenHandler"],
|
711
|
+
"options": ["watchOptionsHandler"],
|
712
|
+
"value": ["watchValueHandler"]
|
713
|
+
}; }
|
694
714
|
};
|
695
715
|
Menu.style = icMenuCss;
|
696
716
|
|