@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,759 +1,678 @@
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
2
|
-
import {
|
3
|
-
import { I as IcThemeForegroundEnum } from './types-
|
4
|
-
import { c as createPopper } from './popper-
|
1
|
+
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, g as getElement } from './index-93509377.js';
|
2
|
+
import { x as IC_INHERITED_ARIA, w as inheritAttributes, j as removeDisabledFalse, k as getThemeFromContext, i as isSlotUsed, d as isPropDefined, a as onComponentRequiredPropUndefined } from './helpers-268c2b7f.js';
|
3
|
+
import { I as IcThemeForegroundEnum } from './types-f605c21c.js';
|
4
|
+
import { c as createPopper } from './popper-b8cc3f16.js';
|
5
5
|
|
6
|
-
const icButtonCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:inline-block;--button-default:var(--ic-action-default);--button-default-hover:var(--ic-action-default-hover);--button-default-active:var(--ic-action-default-active);--button-default-background-hover:var(--ic-action-default-bg-hover);--button-default-background-active:var(--ic-action-default-bg-active);--icon-width:100%;--icon-height:100%}.button{font-family:var(--ic-font-body-family);text-decoration:none;font-weight:600;font-size:0.875rem;transition:var(--ic-easing-transition-fast);border-radius:var(--ic-border-radius);min-width:var(--min-width, 6.25rem);display:inline-flex;gap:var(--ic-space-xxs);flex-direction:row;justify-content:center;align-items:center;background:none;border:none;box-sizing:border-box;white-space:nowrap;vertical-align:middle}:host(.with-badge) .button{border-radius:0.2188rem}.button:hover{cursor:pointer}.button:focus,:host .button:focus{box-shadow:var(--ic-border-focus)}:host(.light) .button:focus{box-shadow:var(--ic-border-focus)}.button:focus-visible{outline:var(--ic-hc-focus-outline)}:host(.dark) .button{--button-default:var(--ic-action-dark);--button-default-hover:var(--ic-action-dark);--button-default-active:var(--ic-action-dark);--button-default-background-hover:var(--ic-action-dark-bg-hover);--button-default-background-active:var(--ic-action-dark-bg-active)}:host(.light) .button{--button-default:var(--ic-action-light);--button-default-hover:var(--ic-action-light);--button-default-active:var(--ic-action-light);--button-default-background-hover:var(--ic-action-light-bg-hover);--button-default-background-active:var(--ic-action-light-bg-active)}:host(.button-variant-primary.light) .button{color:var(--ic-color-primary-text);--button-default-hover:var(--ic-action-light-hover);--button-default-active:var(--ic-action-light-active)}:host(.button-variant-primary.dark) .button{--button-default-hover:var(--ic-action-dark-hover);--button-default-active:var(--ic-action-dark-active)}:host(.disabled),:host(.disabled) .button,:host(.loading),:host(.loading) .button{pointer-events:none}:host(.button-variant-primary) .button{color:var(--ic-architectural-white);background-color:var(--button-default)}:host(.button-variant-primary) .button:hover:not(:focus){background-color:var(--button-default-hover)}:host(.button-variant-primary) .button:active:not(:focus),:host(.button-variant-primary.loading) .button{background-color:var(--button-default-active)}:host(.button-variant-primary.disabled) .button{background:var(--ic-architectural-200);color:var(--ic-architectural-300)}:host(.button-variant-primary.light.disabled) .button{background:var(--ic-architectural-600);color:var(--ic-architectural-500)}:host(.button-variant-secondary) .button{border:var(--ic-space-1px) solid var(--button-default);color:var(--button-default)}:host(.button-variant-secondary) .button:hover:not(:focus){background-color:var(--button-default-background-hover);border-color:var(--button-default-hover);color:var(--button-default-hover)}:host(.button-variant-secondary) .button:active:not(:focus){border-color:var(--button-default-active);background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-secondary.loading) .button{border-color:var(--button-default-active);background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-secondary.disabled) .button,:host(.button-variant-secondary.disabled) .button:hover,:host(.button-variant-secondary.disabled) .button:active{border-color:var(--ic-architectural-300);color:var(--ic-architectural-300);background:none}:host(.button-variant-secondary.light.disabled) .button,:host(.button-variant-secondary.light.disabled) .button:hover,:host(.button-variant-secondary.light.disabled) .button:active{border-color:var(--ic-architectural-500);color:var(--ic-architectural-500);background:none}:host(.button-variant-tertiary) .button{color:var(--button-default)}:host(.button-variant-tertiary) .button:hover:not(:focus){background-color:var(--button-default-background-hover);color:var(--button-default-hover)}:host(.button-variant-tertiary) .button:active:not(:focus),:host(.button-variant-tertiary.loading) .button{background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-tertiary.disabled) .button,:host(.button-variant-tertiary.disabled) .button:hover,:host(.button-variant-tertiary.disabled) .button:active{border-color:var(--ic-architectural-300);color:var(--ic-architectural-300);background:none}:host(.button-variant-tertiary.light.disabled) .button,:host(.button-variant-tertiary.light.disabled) .button:hover,:host(.button-variant-tertiary.light.disabled) .button:active{border-color:var(--ic-architectural-500);color:var(--ic-architectural-500);background:none}:host(.button-variant-icon) .button{color:var(--button-default);min-width:0;gap:var(--ic-space-xs)}:host(.button-variant-icon) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important}:host(.button-variant-icon) .button:hover:not(:focus){background-color:var(--button-default-background-hover);color:var(--button-default-hover)}:host(.button-variant-icon) .button:active:not(:focus),:host(.button-variant-icon.loading) .button{background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-icon.disabled) .button,:host(.button-variant-icon.disabled) .button:hover,:host(.button-variant-icon.disabled) .button:active{color:var(--ic-architectural-300);background:none}:host(.button-variant-destructive) .button{color:var(--ic-architectural-white);background-color:var(--ic-action-destructive);text-transform:uppercase}:host(.button-variant-destructive) .button:hover:not(:focus){background-color:var(--ic-action-destructive-hover)}:host(.button-variant-destructive) .button:active:not(:focus),:host(.button-variant-destructive.loading) .button{background-color:var(--ic-action-destructive-active)}:host(.button-variant-destructive.disabled) .button{background:var(--ic-architectural-200);color:var(--ic-architectural-300)}:host(.button-size-default) .button{height:var(--height, 2.5rem);padding:var(--ic-space-xs) var(--ic-space-md)}:host(.button-size-small) .button{height:var(--height, var(--ic-space-xl));padding:var(--ic-space-xxs) var(--ic-space-md)}:host(.button-size-large) .button{height:var(--height, var(--ic-space-xxl));gap:var(--ic-space-xs);padding:var(--ic-space-sm) var(--ic-space-md)}:host(.button-size-default.button-variant-icon) .button{height:var(--height, var(--ic-space-xl));width:var(--ic-space-xl);padding:0.375rem}:host(.button-size-small.button-variant-icon) .button{height:var(--height, var(--ic-space-lg));width:var(--ic-space-lg);padding:var(--ic-space-xxs)}:host(.button-size-large.button-variant-icon) .button{height:var(--height, 2.5rem);width:2.5rem;padding:var(--ic-space-xs)}:host(.full-width),:host(.full-width) .button{width:100%}div.loading-container{position:relative;align-items:center;width:100%}ic-loading-indicator{--outer-color:transparent}@keyframes loading-animation{0%{width:0%;left:0%}25%{width:0%;left:0%;opacity:0}50%{width:100%;left:0%;opacity:1}75%{width:0%;left:100%}100%{width:0%;left:100%;opacity:0}}div.icon-container{box-sizing:border-box;width:var(--ic-space-md);height:var(--ic-space-md);display:flex;justify-content:center;align-items:center}:host(.button-size-large) div.icon-container{width:calc(var(--ic-space-md) + var(--ic-space-xxs));height:calc(var(--ic-space-md) + var(--ic-space-xxs))}::slotted(*){width:var(--icon-width) !important;height:var(--icon-height) !important;fill:currentcolor !important;pointer-events:none}:host(.button-variant-icon) .button .icon-container{margin:0;pointer-events:none}:host(.search-submit-button) ::slotted(svg){--icon-height:1.25rem;--icon-width:1.25rem}:host(.search-submit-button-small) ::slotted(svg){--icon-height:1rem;--icon-width:1rem}:host(.clear-button){margin:0 var(--ic-space-xxs)}:host(.clear-button) .button:focus{box-shadow:none}:host(.search-submit-button) .button:focus{box-shadow:none}:host(.search-submit-button) .button:not(:active):focus{box-shadow:none;background-color:var(--ic-action-default-bg-hover)}:host(.search-submit-button){display:flex;align-items:center;margin:0 var(--ic-space-xxs)}:host(.menu-close-button) ::slotted(svg){--icon-height:0.875rem;--icon-width:0.875rem}:host(.popout-menu-button) .button{justify-content:left;border-radius:0;white-space:pre-line;text-align:start}:host(.popout-menu-button) div.icon-container{flex:none}:host(.popout-menu-button) .button:focus{box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset)}.ic-button-describedby{display:none}:host .ic-tooltip{display:block}@media (forced-colors: active){.button{border:0.125rem solid transparent}}:host(.flip) ::slotted(svg){transform:scaleX(-1)}";
|
6
|
+
const arrowDropdown = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
7
|
+
<path d="M7 9.5L12 14.5L17 9.5H7Z" fill="currentColor"/>
|
8
|
+
</svg>`;
|
9
|
+
|
10
|
+
const icButtonCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:inline-block;position:relative;--button-default:var(--ic-action-default);--button-default-hover:var(--ic-action-default-hover);--button-default-active:var(--ic-action-default-active);--button-default-background-hover:var(--ic-action-default-bg-hover);--button-default-background-active:var(--ic-action-default-bg-active);--icon-width:100%;--icon-height:100%}.button{font-family:var(--ic-font-body-family);text-decoration:none;font-weight:600;font-size:0.875rem;transition:var(--ic-easing-transition-fast);border-radius:var(--ic-border-radius);min-width:var(--min-width, 6.25rem);display:inline-flex;flex-direction:row;justify-content:center;align-items:center;background:none;border:none;box-sizing:border-box;white-space:nowrap;vertical-align:middle}:host(.with-badge) .button{border-radius:0.2188rem}.button:hover{cursor:pointer}.button:focus,:host .button:focus,:host(.light) .button:focus{box-shadow:var(--ic-border-focus)}.button:focus-visible{outline:var(--ic-hc-focus-outline)}:host(.dark) .button{--button-default:var(--ic-action-dark);--button-default-hover:var(--ic-action-dark);--button-default-active:var(--ic-action-dark);--button-default-background-hover:var(--ic-action-dark-bg-hover);--button-default-background-active:var(--ic-action-dark-bg-active)}:host(.light) .button{--button-default:var(--ic-action-light);--button-default-hover:var(--ic-action-light);--button-default-active:var(--ic-action-light);--button-default-background-hover:var(--ic-action-light-bg-hover);--button-default-background-active:var(--ic-action-light-bg-active)}:host(.white-background) .button{--button-default-background-hover:var(--ic-action-default-bg-hover-no-alpha);--button-default-background-active:var(\n --ic-action-default-bg-active-no-alpha\n );background-color:var(--ic-architectural-white)}:host(.white-background.dark) .button{--button-default-background-hover:var(--ic-action-dark-bg-hover-no-alpha);--button-default-background-active:var(--ic-action-dark-bg-active-no-alpha)}:host(.button-variant-primary.light) .button{color:var(--ic-color-primary-text);--button-default-hover:var(--ic-action-light-hover);--button-default-active:var(--ic-action-light-active)}:host(.button-variant-primary.dark) .button{--button-default-hover:var(--ic-action-dark-hover);--button-default-active:var(--ic-action-dark-active)}:host(.disabled),:host(.disabled) .button,:host(.loading),:host(.loading) .button{pointer-events:none}:host(.button-variant-primary) .button{color:var(--ic-architectural-white);background-color:var(--button-default)}:host(.button-variant-primary) .button:hover:not(:focus){background-color:var(--button-default-hover)}:host(.button-variant-primary) .button:hover:focus{background-color:var(--button-default-hover);border-color:var(--button-default-hover)}:host(.button-variant-primary:not(.light)) .button:hover:focus{color:var(--ic-architectural-white)}:host(.button-variant-primary) .button:active:not(:focus),:host(.button-variant-primary.loading) .button{background-color:var(--button-default-active)}:host(.button-variant-primary) .button:active:focus{background-color:var(--button-default-active)}:host(.button-variant-primary) .button:active{background-color:var(--button-default-active)}:host(.button-variant-primary:not(.light)) .button:active{color:var(--ic-architectural-white)}:host(.button-variant-primary.disabled) .button{background:var(--ic-architectural-200);color:var(--ic-architectural-300)}:host(.button-variant-primary.light.disabled) .button{background:var(--ic-architectural-600);color:var(--ic-architectural-500)}:host(.button-variant-secondary) .button{border:var(--ic-border-width) solid var(--button-default);color:var(--button-default)}:host(.button-variant-secondary) .button:hover:not(:focus),:host(.button-variant-secondary) .button:hover:focus{background-color:var(--button-default-background-hover);border-color:var(--button-default-hover);color:var(--button-default-hover)}:host(.button-variant-secondary) .button:active:not(:focus),:host(.button-variant-secondary) .button:active:focus,:host(.button-variant-secondary) .button:active{border-color:var(--button-default-active);background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-secondary.loading) .button{border-color:var(--button-default-active);background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-secondary.disabled) .button,:host(.button-variant-secondary.disabled) .button:hover,:host(.button-variant-secondary.disabled) .button:active{border-color:var(--ic-architectural-300);color:var(--ic-architectural-300);background:none}:host(.button-variant-secondary.light.disabled) .button,:host(.button-variant-secondary.light.disabled) .button:hover,:host(.button-variant-secondary.light.disabled) .button:active{border-color:var(--ic-architectural-500);color:var(--ic-architectural-500);background:none}:host(.button-variant-tertiary) .button{color:var(--button-default)}:host(.button-variant-tertiary) .button:hover:not(:focus),:host(.button-variant-tertiary) .button:hover:focus{background-color:var(--button-default-background-hover);color:var(--button-default-hover)}:host(.button-variant-tertiary) .button:active:not(:focus),:host(.button-variant-tertiary) .button:active:focus,:host(.button-variant-tertiary) .button:active,:host(.button-variant-tertiary.loading) .button{background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-tertiary.disabled) .button,:host(.button-variant-tertiary.disabled) .button:hover,:host(.button-variant-tertiary.disabled) .button:active{border-color:var(--ic-architectural-300);color:var(--ic-architectural-300);background:none}:host(.button-variant-tertiary.light.disabled) .button,:host(.button-variant-tertiary.light.disabled) .button:hover,:host(.button-variant-tertiary.light.disabled) .button:active{border-color:var(--ic-architectural-500);color:var(--ic-architectural-500);background:none}:host(.button-variant-icon) .button{color:var(--button-default);min-width:0;gap:var(--ic-space-xs);margin:var(--ic-space-1px) 0}:host(.button-variant-icon) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important}:host(.button-variant-icon) .button:hover:not(:focus){background-color:var(--button-default-background-hover);color:var(--button-default-hover)}:host(.button-variant-icon) .button:active:not(:focus),:host(.button-variant-icon.loading) .button{background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-icon.disabled) .button,:host(.button-variant-icon.disabled) .button:hover,:host(.button-variant-icon.disabled) .button:active{color:var(--ic-architectural-300);background:none}:host(.button-variant-destructive) .button{color:var(--ic-architectural-white);background-color:var(--ic-action-destructive);text-transform:uppercase}:host(.button-variant-destructive) .button:hover:not(:focus),:host(.button-variant-destructive) .button:hover:focus{background-color:var(--ic-action-destructive-hover)}:host(.button-variant-destructive) .button:active:not(:focus),:host(.button-variant-destructive) .button:active:focus,:host(.button-variant-destructive.loading) .button{background-color:var(--ic-action-destructive-active)}:host(.button-variant-destructive.disabled) .button{background:var(--ic-architectural-200);color:var(--ic-architectural-300)}:host(.button-size-default) .button{height:var(--height, 2.5rem);padding:var(--ic-space-xs) var(--ic-space-md)}:host(.button-size-small) .button{height:var(--height, var(--ic-space-xl));padding:var(--ic-space-xxs) var(--ic-space-md)}:host(.button-size-large) .button{height:var(--height, var(--ic-space-xxl));padding:var(--ic-space-sm) var(--ic-space-md)}:host(.button-size-default.button-variant-icon) .button{height:var(--height, var(--ic-space-xl));width:var(--ic-space-xl);padding:0.375rem}:host(.button-size-small.button-variant-icon) .button{height:var(--height, var(--ic-space-lg));width:var(--ic-space-lg);padding:var(--ic-space-xxs)}:host(.button-size-large.button-variant-icon) .button{height:var(--height, 2.5rem);width:2.5rem;padding:var(--ic-space-xs)}:host(.full-width),:host(.full-width) .button{width:100%}div.loading-container{position:relative;align-items:center;width:100%}ic-loading-indicator{--outer-color:transparent}@keyframes loading-animation{0%{width:0%;left:0%}25%{width:0%;left:0%;opacity:0}50%{width:100%;left:0%;opacity:1}75%{width:0%;left:100%}100%{width:0%;left:100%;opacity:0}}div.icon-container{box-sizing:border-box;width:var(--ic-space-lg);height:var(--ic-space-lg);display:flex;justify-content:center;align-items:center;margin-right:var(--ic-space-xs)}div.right-icon{margin-right:auto;margin-left:var(--ic-space-xs)}::slotted(:not(ic-badge)){width:var(--icon-width) !important;height:var(--icon-height) !important;fill:currentcolor !important;pointer-events:none}:host(.button-variant-icon) .button .icon-container{margin:0;pointer-events:none}:host(.search-submit-button) ::slotted(svg){--icon-height:1.25rem;--icon-width:1.25rem}:host(.search-submit-button-small) ::slotted(svg){--icon-height:1rem;--icon-width:1rem}:host(.clear-button){margin:0 var(--ic-space-xxs)}:host(.clear-button) .button:focus{box-shadow:none}:host(.search-submit-button) .button:focus{box-shadow:none}:host(.search-submit-button) .button:not(:active):focus{box-shadow:none;background-color:var(--ic-action-default-bg-hover)}:host(.search-submit-button){display:flex;align-items:center;margin:0 var(--ic-space-xxs)}:host(.menu-close-button) ::slotted(svg){--icon-height:0.875rem;--icon-width:0.875rem}:host(.popout-menu-button) .button{height:var(--height);justify-content:left;border-radius:0;white-space:pre-line;text-align:start}:host(.popout-menu-button) div.icon-container{flex:none}:host(.popout-menu-button) .button:focus{box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset)}.ic-button-describedby{display:none}:host .ic-tooltip{display:block}:host .arrow-dropdown{margin-top:auto}:host .dropdown-expanded{transform:rotate(180deg);margin-bottom:var(--ic-space-xxxs)}:host(.dropdown-no-icon) .button{padding-right:var(--ic-space-xs)}@media (forced-colors: active){.button{border:0.125rem solid transparent}}:host(.flip) ::slotted(svg){transform:scaleX(-1)}";
|
7
11
|
|
8
12
|
var __rest = (undefined && undefined.__rest) || function (s, e) {
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
13
|
+
var t = {};
|
14
|
+
for (var p in s)
|
15
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
16
|
+
t[p] = s[p];
|
17
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
18
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
20
|
+
t[p[i]] = s[p[i]];
|
21
|
+
}
|
22
|
+
return t;
|
19
23
|
};
|
20
24
|
let buttonIds = 0;
|
21
25
|
const Button = class {
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
26
|
+
constructor(hostRef) {
|
27
|
+
registerInstance(this, hostRef);
|
28
|
+
this.icBlur = createEvent(this, "icBlur", 7);
|
29
|
+
this.icFocus = createEvent(this, "icFocus", 7);
|
30
|
+
this.buttonIdNum = buttonIds++;
|
31
|
+
this.hasTooltip = false;
|
32
|
+
this.inheritedAttributes = {};
|
33
|
+
this.describedByEl = null;
|
34
|
+
this.describedById = null;
|
35
|
+
this.mutationObserver = null;
|
36
|
+
this.hostMutationObserver = null;
|
37
|
+
this.setViewBox = () => {
|
38
|
+
let iconEl;
|
39
|
+
if (this.hasLeftIconSlot()) {
|
40
|
+
iconEl = this.el.querySelector(`[slot="left-icon"]`);
|
41
|
+
}
|
42
|
+
else if (this.hasRightIconSlot()) {
|
43
|
+
iconEl = this.el.querySelector(`[slot="right-icon"]`);
|
44
|
+
}
|
45
|
+
else {
|
46
|
+
iconEl = null;
|
47
|
+
}
|
48
|
+
return iconEl;
|
49
|
+
};
|
50
|
+
this.handleClick = () => {
|
51
|
+
if ((this.el.type === "submit" || this.el.type === "reset") &&
|
52
|
+
!!this.el.closest("FORM")) {
|
53
|
+
this.handleHiddenFormButtonClick(this.el.closest("FORM"));
|
54
|
+
}
|
55
|
+
};
|
56
|
+
this.onFocus = () => {
|
57
|
+
this.icFocus.emit();
|
58
|
+
};
|
59
|
+
this.onBlur = () => {
|
60
|
+
this.icBlur.emit();
|
61
|
+
};
|
62
|
+
this.loadingWidth = () => {
|
63
|
+
if (this.loading) {
|
64
|
+
this.el.style.setProperty("--min-width", `${this.el.getBoundingClientRect().width}px`);
|
65
|
+
}
|
66
|
+
};
|
67
|
+
// triggered when text content of sibling element in light DOM changes
|
68
|
+
this.mutationCallback = () => {
|
69
|
+
this.describedByContent = this.describedByEl.innerText;
|
70
|
+
};
|
71
|
+
// triggered when attributes of host element change
|
72
|
+
this.hostMutationCallback = (mutationList) => {
|
73
|
+
let forceComponentUpdate = false;
|
74
|
+
mutationList.forEach(({ attributeName }) => {
|
75
|
+
const attribute = this.el.getAttribute(attributeName);
|
76
|
+
if (attributeName === "title")
|
77
|
+
this.title = attribute;
|
78
|
+
else if (attributeName === "aria-label")
|
79
|
+
this.ariaLabel = attribute;
|
80
|
+
if (IC_INHERITED_ARIA.includes(attributeName)) {
|
81
|
+
this.inheritedAttributes[attributeName] = attribute;
|
82
|
+
forceComponentUpdate = true;
|
83
|
+
}
|
84
|
+
});
|
85
|
+
if (forceComponentUpdate) {
|
86
|
+
forceUpdate(this);
|
87
|
+
}
|
88
|
+
};
|
89
|
+
this.setHasTooltip = () => {
|
90
|
+
this.hasTooltip =
|
91
|
+
!this.disableTooltip && (!!this.title || this.variant === "icon");
|
92
|
+
};
|
93
|
+
this.ariaLabel = null;
|
94
|
+
this.describedByContent = null;
|
95
|
+
this.title = null;
|
96
|
+
this.appearance = "default";
|
97
|
+
this.ariaControlsId = undefined;
|
98
|
+
this.ariaOwnsId = undefined;
|
99
|
+
this.disabled = false;
|
100
|
+
this.disableTooltip = false;
|
101
|
+
this.download = false;
|
102
|
+
this.dropdown = false;
|
103
|
+
this.dropdownExpanded = false;
|
104
|
+
this.form = undefined;
|
105
|
+
this.formaction = undefined;
|
106
|
+
this.formenctype = undefined;
|
107
|
+
this.formmethod = undefined;
|
108
|
+
this.formnovalidate = undefined;
|
109
|
+
this.formtarget = undefined;
|
110
|
+
this.fullWidth = false;
|
111
|
+
this.href = undefined;
|
112
|
+
this.hreflang = undefined;
|
113
|
+
this.loading = false;
|
114
|
+
this.referrerpolicy = undefined;
|
115
|
+
this.rel = undefined;
|
116
|
+
this.size = "default";
|
117
|
+
this.target = undefined;
|
118
|
+
this.tooltipPlacement = "bottom";
|
119
|
+
this.transparentBackground = true;
|
120
|
+
this.type = "button";
|
121
|
+
this.variant = "primary";
|
122
|
+
}
|
123
|
+
disconnectedCallback() {
|
124
|
+
if (this.mutationObserver !== null && this.mutationObserver !== undefined) {
|
125
|
+
this.mutationObserver.disconnect();
|
126
|
+
}
|
127
|
+
if (this.hostMutationObserver !== null &&
|
128
|
+
this.hostMutationObserver !== undefined) {
|
129
|
+
this.hostMutationObserver.disconnect();
|
130
|
+
}
|
131
|
+
}
|
132
|
+
componentWillUpdate() {
|
133
|
+
this.loadingWidth();
|
134
|
+
this.setHasTooltip();
|
135
|
+
}
|
136
|
+
componentWillLoad() {
|
137
|
+
const allInheritedAttributes = inheritAttributes(this.el, [
|
138
|
+
...IC_INHERITED_ARIA,
|
139
|
+
"title",
|
140
|
+
]);
|
141
|
+
const { title, "aria-label": ariaLabel } = allInheritedAttributes, restInheritedAttributes = __rest(allInheritedAttributes, ["title", "aria-label"]);
|
142
|
+
this.title = title;
|
143
|
+
this.ariaLabel = ariaLabel;
|
144
|
+
this.inheritedAttributes = restInheritedAttributes;
|
145
|
+
removeDisabledFalse(this.disabled, this.el);
|
146
|
+
this.el.setAttribute("exportparts", "button");
|
147
|
+
const id = this.el.id;
|
148
|
+
this.id = id !== undefined ? id : null;
|
149
|
+
this.setHasTooltip();
|
150
|
+
if (!this.hasTooltip) {
|
151
|
+
const describedById = this.inheritedAttributes["aria-describedby"];
|
152
|
+
if (describedById !== undefined) {
|
153
|
+
this.describedById = describedById;
|
154
|
+
const el = this.el.parentElement.querySelector(`#${describedById}`);
|
155
|
+
if (el !== undefined && el !== null) {
|
156
|
+
this.describedByContent = el.innerText;
|
157
|
+
this.describedByEl = el;
|
158
|
+
}
|
159
|
+
}
|
160
|
+
}
|
92
161
|
}
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
const describedById = this.inheritedAttributes["aria-describedby"];
|
110
|
-
if (describedById !== undefined) {
|
111
|
-
this.describedById = describedById;
|
112
|
-
const el = this.el.parentElement.querySelector(`#${describedById}`);
|
113
|
-
this.describedByContent = el.innerText;
|
114
|
-
this.describedByEl = el;
|
115
|
-
}
|
162
|
+
componentDidLoad() {
|
163
|
+
this.updateTheme();
|
164
|
+
if (typeof MutationObserver !== "undefined") {
|
165
|
+
if (this.describedById) {
|
166
|
+
this.mutationObserver = new MutationObserver(this.mutationCallback);
|
167
|
+
this.mutationObserver.observe(this.describedByEl, {
|
168
|
+
characterData: true,
|
169
|
+
childList: true,
|
170
|
+
subtree: true,
|
171
|
+
});
|
172
|
+
}
|
173
|
+
this.hostMutationObserver = new MutationObserver(this.hostMutationCallback);
|
174
|
+
this.hostMutationObserver.observe(this.el, {
|
175
|
+
attributes: true,
|
176
|
+
});
|
177
|
+
}
|
116
178
|
}
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
if (this.describedById) {
|
121
|
-
this.mutationObserver = new MutationObserver(this.mutationCallback);
|
122
|
-
this.mutationObserver.observe(this.describedByEl, {
|
123
|
-
characterData: true,
|
124
|
-
childList: true,
|
125
|
-
subtree: true,
|
126
|
-
});
|
179
|
+
componentWillRender() {
|
180
|
+
var _a;
|
181
|
+
(_a = this.setViewBox()) === null || _a === void 0 ? void 0 : _a.setAttribute("viewBox", "0 0 24 24");
|
127
182
|
}
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
event.stopImmediatePropagation();
|
183
|
+
handleHostClick(event) {
|
184
|
+
if (this.disabled || this.loading) {
|
185
|
+
event.stopImmediatePropagation();
|
186
|
+
}
|
187
|
+
if (this.dropdown) {
|
188
|
+
this.dropdownExpanded = !this.dropdownExpanded;
|
189
|
+
}
|
136
190
|
}
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
this.updateTheme(theme.mode);
|
141
|
-
}
|
142
|
-
/**
|
143
|
-
* Sets focus on the native `button`.
|
144
|
-
*/
|
145
|
-
async setFocus() {
|
146
|
-
if (this.buttonEl) {
|
147
|
-
this.buttonEl.focus();
|
191
|
+
themeChangeHandler(ev) {
|
192
|
+
const theme = ev.detail;
|
193
|
+
this.updateTheme(theme.mode);
|
148
194
|
}
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
195
|
+
/**
|
196
|
+
* Sets focus on the native `button`.
|
197
|
+
*/
|
198
|
+
async setFocus() {
|
199
|
+
if (this.buttonEl) {
|
200
|
+
this.buttonEl.focus();
|
201
|
+
}
|
202
|
+
}
|
203
|
+
hasIconSlot() {
|
204
|
+
const iconEl = this.el.querySelector(`[slot="icon"]`);
|
205
|
+
return iconEl !== null;
|
157
206
|
}
|
158
|
-
|
159
|
-
|
207
|
+
hasLeftIconSlot() {
|
208
|
+
const iconEl = this.el.querySelector(`[slot="left-icon"]`);
|
209
|
+
return iconEl !== null;
|
160
210
|
}
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
return iconEl !== null;
|
165
|
-
}
|
166
|
-
hasLeftIconSlot() {
|
167
|
-
const iconEl = this.el.querySelector(`[slot="left-icon"]`);
|
168
|
-
return iconEl !== null;
|
169
|
-
}
|
170
|
-
hasRightIconSlot() {
|
171
|
-
const iconEl = this.el.querySelector(`[slot="right-icon"]`);
|
172
|
-
return iconEl !== null;
|
173
|
-
}
|
174
|
-
handleHiddenFormButtonClick(form) {
|
175
|
-
const hiddenFormButton = document.createElement("button");
|
176
|
-
hiddenFormButton.setAttribute("type", this.el.type);
|
177
|
-
hiddenFormButton.style.display = "none";
|
178
|
-
form.appendChild(hiddenFormButton);
|
179
|
-
hiddenFormButton.click();
|
180
|
-
hiddenFormButton.remove();
|
181
|
-
}
|
182
|
-
updateTheme(newTheme = null) {
|
183
|
-
const foregroundColor = getThemeFromContext(this.el, newTheme || null);
|
184
|
-
if (foregroundColor !== IcThemeForegroundEnum.Default) {
|
185
|
-
this.appearance = foregroundColor;
|
211
|
+
hasRightIconSlot() {
|
212
|
+
const iconEl = this.el.querySelector(`[slot="right-icon"]`);
|
213
|
+
return iconEl !== null;
|
186
214
|
}
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
disabled: this.disabled,
|
195
|
-
form: this.form,
|
196
|
-
formaction: this.formaction,
|
197
|
-
formenctype: this.formenctype,
|
198
|
-
formmethod: this.formmethod,
|
199
|
-
formnovalidate: this.formnovalidate,
|
200
|
-
formtarget: this.formtarget,
|
201
|
-
}
|
202
|
-
: {
|
203
|
-
download: this.download !== false ? this.download : null,
|
204
|
-
href: this.href,
|
205
|
-
rel: this.rel,
|
206
|
-
target: this.target,
|
207
|
-
referrerpolicy: this.referrerpolicy,
|
208
|
-
hreflang: this.hreflang,
|
209
|
-
};
|
210
|
-
const newTitle = title && title;
|
211
|
-
const titleAttr = this.hasTooltip ? {} : { title: newTitle };
|
212
|
-
let tooltipText = "";
|
213
|
-
if (this.hasTooltip) {
|
214
|
-
if (newTitle !== undefined) {
|
215
|
-
tooltipText = newTitle;
|
216
|
-
}
|
217
|
-
else if (ariaLabel !== null) {
|
218
|
-
tooltipText = ariaLabel;
|
219
|
-
}
|
215
|
+
handleHiddenFormButtonClick(form) {
|
216
|
+
const hiddenFormButton = document.createElement("button");
|
217
|
+
hiddenFormButton.setAttribute("type", this.el.type);
|
218
|
+
hiddenFormButton.style.display = "none";
|
219
|
+
form.appendChild(hiddenFormButton);
|
220
|
+
hiddenFormButton.click();
|
221
|
+
hiddenFormButton.remove();
|
220
222
|
}
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
? `ic-button-with-tooltip-${this.id}`
|
227
|
-
: `ic-button-with-tooltip-${this.buttonIdNum}`;
|
228
|
-
describedBy = `ic-tooltip-${buttonId}`;
|
223
|
+
updateTheme(newTheme = null) {
|
224
|
+
const foregroundColor = getThemeFromContext(this.el, newTheme || null);
|
225
|
+
if (foregroundColor !== IcThemeForegroundEnum.Default) {
|
226
|
+
this.appearance = foregroundColor;
|
227
|
+
}
|
229
228
|
}
|
230
|
-
|
231
|
-
|
229
|
+
render() {
|
230
|
+
const TagType = (this.href && "a") || "button";
|
231
|
+
const { title, ariaLabel, inheritedAttributes } = this;
|
232
|
+
const buttonAttrs = TagType === "button"
|
233
|
+
? {
|
234
|
+
type: this.type,
|
235
|
+
disabled: this.disabled,
|
236
|
+
form: this.form,
|
237
|
+
formaction: this.formaction,
|
238
|
+
formenctype: this.formenctype,
|
239
|
+
formmethod: this.formmethod,
|
240
|
+
formnovalidate: this.formnovalidate,
|
241
|
+
formtarget: this.formtarget,
|
242
|
+
}
|
243
|
+
: {
|
244
|
+
download: this.download !== false ? this.download : null,
|
245
|
+
href: this.href,
|
246
|
+
rel: this.rel,
|
247
|
+
target: this.target,
|
248
|
+
referrerpolicy: this.referrerpolicy,
|
249
|
+
hreflang: this.hreflang,
|
250
|
+
};
|
251
|
+
let describedBy = null;
|
252
|
+
let buttonId = null;
|
253
|
+
if (this.hasTooltip) {
|
254
|
+
buttonId =
|
255
|
+
this.id !== null
|
256
|
+
? `ic-button-with-tooltip-${this.id}`
|
257
|
+
: `ic-button-with-tooltip-${this.buttonIdNum}`;
|
258
|
+
describedBy = `ic-tooltip-${buttonId}`;
|
259
|
+
}
|
260
|
+
else {
|
261
|
+
describedBy = this.describedById;
|
262
|
+
}
|
263
|
+
const ButtonContent = () => {
|
264
|
+
return (h(TagType, Object.assign({ class: "button", "aria-disabled": this.loading || this.disabled ? "true" : null, "aria-label": this.loading ? "Loading" : ariaLabel }, buttonAttrs, inheritedAttributes, { onFocus: this.onFocus, onBlur: this.onBlur, ref: (el) => (this.buttonEl = el), "aria-describedby": describedBy, part: "button" }), this.hasIconSlot() && !this.loading && (h("div", { class: "icon-container" }, h("slot", { name: "icon" }))), this.hasLeftIconSlot() && !this.loading && (h("div", { class: "icon-container" }, h("slot", { name: "left-icon" }))), this.loading ? (h("div", { class: "loading-container" }, h("ic-loading-indicator", { type: "linear", appearance: this.variant === "primary" ||
|
265
|
+
this.variant === "destructive" ||
|
266
|
+
this.appearance === IcThemeForegroundEnum.Dark ||
|
267
|
+
this.appearance === IcThemeForegroundEnum.Light
|
268
|
+
? "light"
|
269
|
+
: "dark" }))) : (h("slot", null)), this.hasRightIconSlot() && !this.loading && !this.dropdown && (h("div", { class: { "icon-container": true, "right-icon": true } }, h("slot", { name: "right-icon" }))), this.dropdown &&
|
270
|
+
!this.loading &&
|
271
|
+
this.variant !== "icon" &&
|
272
|
+
this.variant !== "destructive" && (h("span", { class: {
|
273
|
+
["arrow-dropdown"]: !this.dropdownExpanded,
|
274
|
+
["dropdown-expanded"]: this.dropdownExpanded,
|
275
|
+
}, innerHTML: arrowDropdown }))));
|
276
|
+
};
|
277
|
+
return (h(Host, { class: {
|
278
|
+
["disabled"]: this.disabled && !this.loading,
|
279
|
+
[`button-variant-${this.variant}`]: true,
|
280
|
+
[`button-size-${this.size}`]: true,
|
281
|
+
["loading"]: this.loading,
|
282
|
+
["dark"]: this.appearance === IcThemeForegroundEnum.Dark,
|
283
|
+
["light"]: this.appearance === IcThemeForegroundEnum.Light,
|
284
|
+
["full-width"]: this.fullWidth,
|
285
|
+
["with-badge"]: isSlotUsed(this.el, "badge"),
|
286
|
+
["dropdown-no-icon"]: this.dropdown &&
|
287
|
+
!isSlotUsed(this.el, "icon") &&
|
288
|
+
!isSlotUsed(this.el, "left-icon"),
|
289
|
+
["white-background"]: this.variant === "secondary" &&
|
290
|
+
!this.transparentBackground &&
|
291
|
+
this.appearance !== "light",
|
292
|
+
}, onClick: this.handleClick, "aria-owns": this.ariaOwnsId, "aria-controls": this.ariaControlsId, "aria-expanded": this.dropdown && `${this.dropdownExpanded}` }, this.hasTooltip && (h("ic-tooltip", { id: describedBy, label: title || ariaLabel, target: buttonId, placement: this.tooltipPlacement, silent: this.variant === "icon" && !!title }, h(ButtonContent, null))), isSlotUsed(this.el, "badge") && h("slot", { name: "badge" }), !this.hasTooltip && h(ButtonContent, null), this.describedByContent && (h("span", { id: describedBy, class: "ic-button-describedby" }, this.describedByContent))));
|
232
293
|
}
|
233
|
-
|
234
|
-
|
235
|
-
this.variant === "destructive" ||
|
236
|
-
this.appearance === IcThemeForegroundEnum.Dark ||
|
237
|
-
this.appearance === IcThemeForegroundEnum.Light
|
238
|
-
? "light"
|
239
|
-
: "dark" }))) : (h("slot", null)), this.hasRightIconSlot() && !this.loading && (h("div", { class: "icon-container" }, h("slot", { name: "right-icon" })))));
|
240
|
-
};
|
241
|
-
return (h(Host, { class: {
|
242
|
-
["disabled"]: this.disabled && !this.loading,
|
243
|
-
[`button-variant-${this.variant}`]: true,
|
244
|
-
[`button-size-${this.size}`]: true,
|
245
|
-
["loading"]: this.loading,
|
246
|
-
["dark"]: this.appearance === IcThemeForegroundEnum.Dark,
|
247
|
-
["light"]: this.appearance === IcThemeForegroundEnum.Light,
|
248
|
-
["full-width"]: this.fullWidth,
|
249
|
-
["with-badge"]: isSlotUsed(this.el, "badge"),
|
250
|
-
}, onClick: this.handleClick }, this.hasTooltip && (h("ic-tooltip", { class: { ["tooltip-disabled"]: this.disableTooltip }, ref: (el) => (this.tooltipEl = el), label: tooltipText, target: buttonId, placement: this.tooltipPlacement }, h(ButtonContent, null))), !this.hasTooltip && h(ButtonContent, null), this.describedByContent && (h("span", { id: describedBy, class: "ic-button-describedby" }, this.describedByContent))));
|
251
|
-
}
|
252
|
-
static get delegatesFocus() { return true; }
|
253
|
-
get el() { return getElement(this); }
|
294
|
+
static get delegatesFocus() { return true; }
|
295
|
+
get el() { return getElement(this); }
|
254
296
|
};
|
255
297
|
Button.style = icButtonCss;
|
256
298
|
|
257
299
|
const icLoadingIndicatorCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;--linear-border-radius:0.25rem;--inner-color:var(--ic-action-default);--outer-color:var(--ic-architectural-100);--label-color:var(--ic-color-primary-text);--margin:none;--linear-line-height:var(--ic-space-xs)}:host(.light){--inner-color:var(--ic-architectural-white);--outer-color:var(--ic-architectural-800);--label-color:var(--ic-architectural-white)}.ic-loading-container{display:flex;flex-direction:column;justify-content:center;align-items:center}:host([size=\"small\"]){--circular-diameter:2.5rem;--linear-line-height:var(--ic-space-xxs)}:host([size=\"default\"]){--circular-diameter:5rem}:host([size=\"large\"]){--circular-diameter:7.5rem}:host([size=\"icon\"]){display:inline-block;--margin:var(--ic-space-xxxs);--circular-diameter:1.25rem}:host(.label){--margin:0 0 var(--ic-space-xs) 0}.ic-loading-label{white-space:nowrap;color:var(--label-color);margin-left:var(--label-margin-left)}.ic-loading-circular-outer{height:var(--circular-diameter);width:var(--circular-diameter)}.ic-loading-circular-outer.indeterminate{animation:circular-animation 1s linear;animation-iteration-count:infinite}@keyframes circular-animation{100%{transform:rotate(360deg)}}.ic-loading-circular-outer,.ic-loading-linear-outer{margin:var(--margin)}.ic-loading-linear-outer{background-color:var(--outer-color);height:var(--linear-line-height);width:100%;border-radius:var(--linear-border-radius);overflow:hidden}.ic-loading-linear-inner{position:relative;height:100%;background-color:var(--inner-color);border-radius:var(--linear-border-radius)}.indeterminate>.ic-loading-linear-inner{animation:linear-animation 2s infinite}.determinate>.ic-loading-linear-inner{transition:width 0.5s;width:var(--linear-width)}:host(.full-width){--linear-border-radius:none}@keyframes linear-animation{0%{width:0%;left:-1%}25%{width:0%;left:-1%}50%{width:101%;left:-1%}75%{width:0%;left:101%}100%{width:0%;left:101%}}.ic-loading-circular-svg{position:relative;width:100%;height:100%;transform:rotate(-90deg)}.ic-loading-circular-svg circle{width:100%;height:100%;fill:none;stroke:var(--outer-color);stroke-width:var(--circular-line-width);stroke-linecap:round}.ic-loading-circular-svg circle:nth-child(2){--circular-indeterminate:calc(\n (0.25 * var(--stroke-dasharray)) - var(--stroke-dasharray)\n );stroke-dasharray:var(--stroke-dasharray), var(--stroke-dasharray);stroke-dashoffset:var(--stroke-dashoffset, var(--circular-indeterminate));stroke:var(--compact-step-inner-color, var(--inner-color))}:host(.inner-label) .ic-loading-circular-inner{display:grid}:host(.inner-label) .ic-loading-circular-svg,.inner-text{grid-column:1;grid-row:1}:host(.not-required.compact-step-progress-indicator) .ic-loading-circular-svg circle:nth-child(2){stroke:var(--ic-architectural-300)}.inner-text{display:flex;align-items:center;justify-content:center;width:var(--ic-space-lg);height:inherit;overflow:hidden;margin:auto;color:var(--ic-status-info)}:host(.not-required.compact-step-progress-indicator) .inner-text{color:var(--ic-color-tertiary-text)}@media (forced-colors: active){.indeterminate>.ic-loading-circular-inner{forced-color-adjust:none}.ic-loading-linear-outer{border:var(--ic-hc-border)}.ic-loading-linear-inner{background-color:canvastext}.ic-loading-circular-svg circle{stroke:Background}.ic-loading-circular-svg circle:nth-child(2){stroke:canvastext}:host(.not-required.compact-step-progress-indicator) .ic-loading-circular-svg circle:nth-child(2){stroke:GrayText}}";
|
258
300
|
|
259
301
|
const LoadingIndicator = class {
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
302
|
+
constructor(hostRef) {
|
303
|
+
registerInstance(this, hostRef);
|
304
|
+
this.updateCircularProgressMeter = () => {
|
305
|
+
if (!this.indeterminate) {
|
306
|
+
this.circularMeter.style.setProperty("--progress-value", String(this.progress));
|
307
|
+
}
|
308
|
+
};
|
309
|
+
this.getLabel = (labelIndex, setLabel) => {
|
310
|
+
return new Promise(() => {
|
311
|
+
this.interval = setInterval(() => {
|
312
|
+
if (labelIndex < this.labelList.length - 1) {
|
313
|
+
labelIndex++;
|
314
|
+
}
|
315
|
+
else {
|
316
|
+
labelIndex = 0;
|
317
|
+
}
|
318
|
+
setLabel(this.labelList[labelIndex]);
|
319
|
+
}, this.labelDuration);
|
320
|
+
});
|
321
|
+
};
|
322
|
+
this.getLabelVariant = () => {
|
323
|
+
var _a;
|
324
|
+
let variant = "h4";
|
325
|
+
const width = (_a = this.outerElement) === null || _a === void 0 ? void 0 : _a.offsetWidth;
|
326
|
+
if (this.size === "small" || (this.type === "circular" && width < 60)) {
|
327
|
+
variant = "label";
|
328
|
+
}
|
329
|
+
else if (this.size === "large" ||
|
330
|
+
(this.type === "circular" && width >= 120)) {
|
331
|
+
variant = "h2";
|
332
|
+
}
|
333
|
+
return variant;
|
334
|
+
};
|
335
|
+
// Sets the circular indicator line width - accounting for the circle size being altered using the CSS custom property
|
336
|
+
this.setCircleLineWidth = () => {
|
337
|
+
const { offsetWidth: width } = this.outerElement;
|
338
|
+
const compactStepCircularLineWidth = this.el.classList.contains("compact-step-progress-indicator")
|
339
|
+
? 40
|
340
|
+
: 0;
|
341
|
+
const toastDismissTimerCircularLineWidth = this.el.classList.contains("toast-dismiss-timer")
|
342
|
+
? 20
|
343
|
+
: 0;
|
344
|
+
if (width ||
|
345
|
+
compactStepCircularLineWidth ||
|
346
|
+
toastDismissTimerCircularLineWidth) {
|
347
|
+
this.circularLineWidth =
|
348
|
+
(compactStepCircularLineWidth ||
|
349
|
+
toastDismissTimerCircularLineWidth ||
|
350
|
+
width) * 0.1;
|
351
|
+
this.circularDiameter =
|
352
|
+
compactStepCircularLineWidth ||
|
353
|
+
toastDismissTimerCircularLineWidth ||
|
354
|
+
width;
|
355
|
+
this.outerElement.style.setProperty("--circular-line-width", `${this.circularLineWidth}px`);
|
356
|
+
}
|
357
|
+
};
|
358
|
+
this.setLinearDeterminateWidth = () => {
|
359
|
+
if (!this.innerElement)
|
360
|
+
return;
|
361
|
+
// Ensure progress cannot be out of bounds
|
362
|
+
const progress = Math.min(this.max, Math.max(this.min, this.progress));
|
363
|
+
const proportion = (progress - this.min) / (this.max - this.min);
|
364
|
+
this.showSecond = proportion > 0.5;
|
365
|
+
if (this.showSecond) {
|
366
|
+
this.innerElement.classList.remove("clip");
|
367
|
+
}
|
368
|
+
else {
|
369
|
+
this.innerElement.classList.add("clip");
|
370
|
+
}
|
371
|
+
this.innerElement.style.setProperty("--linear-width", `${proportion * 100}%`);
|
372
|
+
};
|
373
|
+
this.calcOuterClass = () => {
|
374
|
+
let cls = `ic-loading-${this.type}-outer`;
|
375
|
+
cls += this.indeterminate ? " indeterminate" : " determinate";
|
376
|
+
return cls;
|
377
|
+
};
|
378
|
+
this.updateLabel = () => {
|
379
|
+
if (isPropDefined(this.label)) {
|
380
|
+
this.labelList = this.label.split("/");
|
381
|
+
const labelIndex = 0;
|
382
|
+
this.indicatorLabel = this.labelList[labelIndex];
|
383
|
+
if (this.labelList.length > 1) {
|
384
|
+
this.getLabel(labelIndex, (label) => {
|
385
|
+
this.indicatorLabel = label;
|
386
|
+
});
|
387
|
+
}
|
388
|
+
}
|
389
|
+
};
|
390
|
+
this.setCircleXY = () => {
|
391
|
+
if (this.circularDiameter > 0) {
|
392
|
+
const r = this.circularDiameter / 2;
|
393
|
+
const x = r;
|
394
|
+
const y = r;
|
395
|
+
const nextRadius = r - this.circularLineWidth / 2;
|
396
|
+
this.setDashSteps(nextRadius);
|
397
|
+
return { x, y, r: nextRadius };
|
398
|
+
}
|
399
|
+
return { x: 0, y: 0, r: 0 };
|
400
|
+
};
|
401
|
+
this.setDashSteps = (radius) => {
|
402
|
+
const dashArray = 2 * Math.PI * radius;
|
403
|
+
const progress = Math.min(Math.max(this.progress, this.min), this.max);
|
404
|
+
const proportion = -1 - (progress - this.min) / (this.max - this.min);
|
405
|
+
this.circularMeter.style.setProperty("--stroke-dasharray", `${dashArray}px`);
|
406
|
+
if (!this.indeterminate) {
|
407
|
+
this.circularMeter.style.setProperty("--circular-steps-max", String(this.max));
|
408
|
+
this.circularMeter.style.setProperty("--stroke-dashoffset", `${proportion * dashArray}px`);
|
409
|
+
}
|
410
|
+
};
|
411
|
+
this.circularDiameter = undefined;
|
412
|
+
this.circularLineWidth = undefined;
|
413
|
+
this.indeterminate = undefined;
|
414
|
+
this.indicatorLabel = undefined;
|
415
|
+
this.showSecond = false;
|
416
|
+
this.appearance = "dark";
|
417
|
+
this.description = "Loading";
|
418
|
+
this.fullWidth = false;
|
419
|
+
this.innerLabel = undefined;
|
420
|
+
this.labelDuration = 8000;
|
421
|
+
this.max = 100;
|
422
|
+
this.min = 0;
|
423
|
+
this.size = "default";
|
424
|
+
this.type = "circular";
|
425
|
+
this.label = undefined;
|
426
|
+
this.progress = undefined;
|
427
|
+
}
|
428
|
+
watchPropHandler() {
|
429
|
+
this.updateLabel();
|
430
|
+
}
|
431
|
+
watchProgressHandler() {
|
432
|
+
if (this.type === "circular") {
|
433
|
+
this.updateCircularProgressMeter();
|
345
434
|
}
|
346
|
-
}
|
347
|
-
};
|
348
|
-
this.setCircleXY = () => {
|
349
|
-
if (this.circularDiameter > 0) {
|
350
|
-
const r = this.circularDiameter / 2;
|
351
|
-
const x = r;
|
352
|
-
const y = r;
|
353
|
-
const nextRadius = r - this.circularLineWidth / 2;
|
354
|
-
this.setDashSteps(nextRadius);
|
355
|
-
return { x, y, r: nextRadius };
|
356
|
-
}
|
357
|
-
return { x: 0, y: 0, r: 0 };
|
358
|
-
};
|
359
|
-
this.setDashSteps = (radius) => {
|
360
|
-
const dashArray = 2 * Math.PI * radius;
|
361
|
-
const progress = Math.min(Math.max(this.progress, this.min), this.max);
|
362
|
-
const proportion = -1 - (progress - this.min) / (this.max - this.min);
|
363
|
-
this.circularMeter.style.setProperty("--stroke-dasharray", `${dashArray}px`);
|
364
|
-
if (!this.indeterminate) {
|
365
|
-
this.circularMeter.style.setProperty("--circular-steps-max", String(this.max));
|
366
|
-
this.circularMeter.style.setProperty("--stroke-dashoffset", `${proportion * dashArray}px`);
|
367
|
-
}
|
368
|
-
};
|
369
|
-
this.circularDiameter = undefined;
|
370
|
-
this.circularLineWidth = undefined;
|
371
|
-
this.indeterminate = undefined;
|
372
|
-
this.indicatorLabel = undefined;
|
373
|
-
this.showSecond = false;
|
374
|
-
this.appearance = "dark";
|
375
|
-
this.description = "Loading";
|
376
|
-
this.fullWidth = false;
|
377
|
-
this.innerLabel = undefined;
|
378
|
-
this.labelDuration = 8000;
|
379
|
-
this.max = 100;
|
380
|
-
this.min = 0;
|
381
|
-
this.size = "default";
|
382
|
-
this.type = "circular";
|
383
|
-
this.label = undefined;
|
384
|
-
this.progress = undefined;
|
385
|
-
}
|
386
|
-
watchPropHandler() {
|
387
|
-
this.updateLabel();
|
388
|
-
}
|
389
|
-
watchProgressHandler() {
|
390
|
-
if (this.type === "circular") {
|
391
|
-
this.updateCircularProgressMeter();
|
392
435
|
}
|
393
|
-
|
394
|
-
|
395
|
-
clearInterval(this.interval);
|
396
|
-
}
|
397
|
-
componentWillLoad() {
|
398
|
-
this.indeterminate = this.progress === undefined;
|
399
|
-
this.updateLabel();
|
400
|
-
}
|
401
|
-
componentDidLoad() {
|
402
|
-
if (this.type === "circular") {
|
403
|
-
this.setCircleLineWidth();
|
404
|
-
this.circularMeter = this.host.shadowRoot.querySelector(".ic-loading-circular-svg circle:nth-child(2)");
|
405
|
-
this.updateCircularProgressMeter();
|
436
|
+
disconnectedCallback() {
|
437
|
+
clearInterval(this.interval);
|
406
438
|
}
|
407
|
-
|
408
|
-
|
439
|
+
componentWillLoad() {
|
440
|
+
this.indeterminate = this.progress === undefined;
|
441
|
+
this.updateLabel();
|
442
|
+
this.el.setAttribute("exportparts", "ic-loading-container");
|
443
|
+
}
|
444
|
+
componentDidLoad() {
|
445
|
+
if (this.type === "circular") {
|
446
|
+
this.setCircleLineWidth();
|
447
|
+
this.circularMeter = this.el.shadowRoot.querySelector(".ic-loading-circular-svg circle:nth-child(2)");
|
448
|
+
this.updateCircularProgressMeter();
|
449
|
+
}
|
450
|
+
if (Number(this.progress) >= 0 && this.type === "linear") {
|
451
|
+
this.setLinearDeterminateWidth();
|
452
|
+
}
|
453
|
+
}
|
454
|
+
componentWillUpdate() {
|
455
|
+
this.indeterminate = this.progress === undefined;
|
456
|
+
}
|
457
|
+
componentDidUpdate() {
|
458
|
+
if (Number(this.progress) >= 0 && this.type === "linear") {
|
459
|
+
this.setLinearDeterminateWidth();
|
460
|
+
}
|
409
461
|
}
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
462
|
+
render() {
|
463
|
+
const { appearance, label, description, size, fullWidth, innerLabel } = this;
|
464
|
+
const { x, y, r } = this.setCircleXY();
|
465
|
+
return (h(Host, { class: {
|
466
|
+
["light"]: appearance === IcThemeForegroundEnum.Light,
|
467
|
+
["label"]: !!label,
|
468
|
+
["full-width"]: fullWidth,
|
469
|
+
["inner-label"]: !!innerLabel,
|
470
|
+
} }, h("div", { class: "ic-loading-container", part: "ic-loading-container" }, h("div", { ref: (el) => (this.outerElement = el), class: this.calcOuterClass(), role: "progressbar", "aria-labelledby": this.label && this.size !== "icon" && "ic-loading-label", "aria-label": description, "aria-valuenow": this.progress, "aria-valuemin": this.min, "aria-valuemax": this.max }, h("div", { ref: (el) => (this.innerElement = el), class: `ic-loading-${this.type}-inner` }, this.innerLabel &&
|
471
|
+
this.innerLabel !== undefined &&
|
472
|
+
this.size === "small" && (h("ic-typography", { variant: "subtitle-small", class: "inner-text" }, this.innerLabel)), this.type === "circular" && (h("svg", { class: "ic-loading-circular-svg", viewBox: `0 0 ${this.circularDiameter || 0} ${this.circularDiameter || 0}` }, h("circle", { cx: `${x}`, cy: `${y}`, r: `${r}` }), h("circle", { cx: `${x}`, cy: `${y}`, r: `${r}` }))))), label && size !== "icon" && (h("ic-typography", { id: "ic-loading-label", class: "ic-loading-label", role: "status", variant: this.getLabelVariant() }, h("p", null, this.indicatorLabel))))));
|
417
473
|
}
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
["light"]: appearance === IcThemeForegroundEnum.Light,
|
424
|
-
["label"]: !!label,
|
425
|
-
["full-width"]: fullWidth,
|
426
|
-
["inner-label"]: !!innerLabel,
|
427
|
-
} }, h("div", { class: "ic-loading-container" }, h("div", { ref: (el) => (this.outerElement = el), class: this.calcOuterClass(), role: "progressbar", "aria-labelledby": this.label && this.size !== "icon" && "ic-loading-label", "aria-label": description, "aria-valuenow": this.progress, "aria-valuemin": this.min, "aria-valuemax": this.max }, h("div", { ref: (el) => (this.innerElement = el), class: `ic-loading-${this.type}-inner` }, this.innerLabel &&
|
428
|
-
this.innerLabel !== undefined &&
|
429
|
-
this.size === "small" && (h("ic-typography", { variant: "subtitle-small", class: "inner-text" }, this.innerLabel)), this.type === "circular" && (h("svg", { class: "ic-loading-circular-svg", viewBox: `0 0 ${this.circularDiameter || 0} ${this.circularDiameter || 0}` }, h("circle", { cx: `${x}`, cy: `${y}`, r: `${r}` }), h("circle", { cx: `${x}`, cy: `${y}`, r: `${r}` }))))), label && size !== "icon" && (h("ic-typography", { id: "ic-loading-label", class: "ic-loading-label", role: "status", variant: this.getLabelVariant() }, h("p", null, this.indicatorLabel))))));
|
430
|
-
}
|
431
|
-
get host() { return getElement(this); }
|
432
|
-
static get watchers() { return {
|
433
|
-
"label": ["watchPropHandler"],
|
434
|
-
"progress": ["watchProgressHandler"]
|
435
|
-
}; }
|
474
|
+
get el() { return getElement(this); }
|
475
|
+
static get watchers() { return {
|
476
|
+
"label": ["watchPropHandler"],
|
477
|
+
"progress": ["watchProgressHandler"]
|
478
|
+
}; }
|
436
479
|
};
|
437
480
|
LoadingIndicator.style = icLoadingIndicatorCss;
|
438
481
|
|
439
|
-
const icTooltipCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host(.ic-tooltip) .ic-tooltip-container{background-color:var(--ic-architectural-800);color:#ffff;text-align:center;padding:var(--ic-space-xxxs)
|
482
|
+
const icTooltipCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host(.ic-tooltip) .ic-tooltip-container{background-color:var(--ic-architectural-800);color:#ffff;text-align:center;padding:var(--ic-space-xxxs) var(--ic-space-xs);border-radius:var(--ic-border-radius);border:var(--ic-border-width) solid var(--ic-architectural-40);position:absolute;max-width:20rem;display:none;z-index:var(--ic-z-index-tooltip);box-shadow:var(--ic-elevation-overlay)}:host(.tooltip-navigation-item:not(.tooltip-navigation-item-side-nav-collapsed)) .ic-tooltip-container,:host(.tooltip-disabled) .ic-tooltip-container{display:none !important}:host(.tooltip-long-label-navigation-item-side-nav-expanded) .ic-tooltip-container[data-show]{display:block !important}:host(.ic-tooltip) .ic-tooltip-arrow,:host(.ic-tooltip) .ic-tooltip-arrow::before{position:absolute;background:inherit}:host(.ic-tooltip) .ic-tooltip-arrow{visibility:hidden;width:var(--ic-space-md);height:var(--ic-space-md)}:host(.ic-tooltip) .ic-tooltip-arrow::before{visibility:visible;content:\"\";border:var(--ic-border-width) solid var(--ic-architectural-40);width:100%;height:100%}:host(.ic-tooltip) .ic-tooltip-container[data-show]{display:block}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"top\"]>.ic-tooltip-arrow{height:var(--ic-space-xxxs)}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"top\"]>.ic-tooltip-arrow::before{border-radius:0 0 var(--ic-border-radius) var(--ic-border-radius);left:0;top:var(--ic-space-xxxs);border-top:0;transform:translateX(var(--tooltip-arrow-translate))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"bottom\"]>.ic-tooltip-arrow{top:calc(-1 * var(--ic-space-xxs));height:var(--ic-space-xxxs)}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"bottom\"]>.ic-tooltip-arrow::before{border-radius:var(--ic-border-radius) var(--ic-border-radius) 0 0;left:0;top:var(--ic-space-1px);border-bottom:0;transform:translateX(var(--tooltip-arrow-translate))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"left\"]>.ic-tooltip-arrow{width:var(--ic-space-xxxs);right:calc(-1 * var(--ic-space-1px))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"left\"]>.ic-tooltip-arrow::before{border-radius:0 var(--ic-border-radius) var(--ic-border-radius) 0;border-left:0;top:calc(-1 * var(--ic-space-1px))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"right\"]>.ic-tooltip-arrow{width:var(--ic-space-xxxs);left:calc(-1 * var(--ic-space-xxs))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"right\"]>.ic-tooltip-arrow::before{border-radius:var(--ic-border-radius) 0 0 var(--ic-border-radius);border-right:0;top:calc(-1 * var(--ic-space-1px))}:host(.on-dialog) .ic-tooltip-container{transform:translate(\n var(--tooltip-translate-x),\n var(--tooltip-translate-y)\n ) !important}@media screen and (max-width: 576px){:host(.ic-tooltip) .ic-tooltip-container{max-width:18.875rem}}@media (forced-colors: active){:host(.ic-tooltip) .ic-tooltip-container,:host(.ic-tooltip) .ic-tooltip-arrow::before{border:var(--ic-hc-border)}}";
|
440
483
|
|
441
484
|
const Tooltip = class {
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
485
|
+
constructor(hostRef) {
|
486
|
+
registerInstance(this, hostRef);
|
487
|
+
this.delayedHideEvents = ["mouseleave"];
|
488
|
+
this.dialogOverflow = false;
|
489
|
+
this.instantHideEvents = ["focusout"];
|
490
|
+
this.mouseOverTool = false;
|
491
|
+
this.persistTooltip = false;
|
492
|
+
this.onDialog = false;
|
493
|
+
this.showEvents = [
|
494
|
+
!this.disableHover && "mouseenter",
|
495
|
+
!this.disableHover && "focusin",
|
496
|
+
!this.disableClick && "click",
|
497
|
+
];
|
498
|
+
this.getTooltipTranslate = (dialogEl) => {
|
499
|
+
const child = this.el.children[0].getBoundingClientRect();
|
500
|
+
let tooltipX;
|
501
|
+
let tooltipY;
|
502
|
+
switch (this.placement) {
|
503
|
+
case "bottom":
|
504
|
+
tooltipX = child.left - dialogEl.left - 0.5 * child.width;
|
505
|
+
tooltipY = child.bottom - dialogEl.top;
|
506
|
+
break;
|
507
|
+
case "bottom-start":
|
508
|
+
tooltipX = child.left - dialogEl.left;
|
509
|
+
tooltipY = child.bottom - dialogEl.top;
|
510
|
+
break;
|
511
|
+
case "bottom-end":
|
512
|
+
tooltipX = child.right - dialogEl.right;
|
513
|
+
tooltipY = child.bottom - dialogEl.top;
|
514
|
+
break;
|
515
|
+
case "top":
|
516
|
+
tooltipX = child.left - dialogEl.left - 0.5 * child.width;
|
517
|
+
tooltipY = child.top - dialogEl.bottom;
|
518
|
+
break;
|
519
|
+
case "top-start":
|
520
|
+
tooltipX = child.left - dialogEl.left;
|
521
|
+
tooltipY = child.top - dialogEl.bottom;
|
522
|
+
break;
|
523
|
+
case "top-end":
|
524
|
+
tooltipX = child.right - dialogEl.right;
|
525
|
+
tooltipY = child.top - dialogEl.bottom;
|
526
|
+
break;
|
527
|
+
case "left":
|
528
|
+
case "left-start":
|
529
|
+
tooltipX = child.right - dialogEl.right - child.width;
|
530
|
+
tooltipY = child.bottom - dialogEl.top - child.height;
|
531
|
+
break;
|
532
|
+
case "left-end":
|
533
|
+
tooltipX = child.right - dialogEl.right - child.width;
|
534
|
+
tooltipY = child.top - dialogEl.bottom + child.height;
|
535
|
+
break;
|
536
|
+
case "right":
|
537
|
+
case "right-start":
|
538
|
+
tooltipX = child.left - dialogEl.left + child.width;
|
539
|
+
tooltipY = child.bottom - dialogEl.top - child.height;
|
540
|
+
break;
|
541
|
+
case "right-end":
|
542
|
+
tooltipX = child.left - dialogEl.left + child.width;
|
543
|
+
tooltipY = child.top - dialogEl.bottom + child.height;
|
544
|
+
break;
|
545
|
+
}
|
546
|
+
if (this.dialogOverflow && tooltipX < 0) {
|
547
|
+
if (this.placement.includes("top") || this.placement.includes("bottom")) {
|
548
|
+
this.toolTip.style.setProperty("--tooltip-arrow-translate", `${tooltipX}px`);
|
549
|
+
tooltipX = child.left - dialogEl.left;
|
550
|
+
}
|
551
|
+
if (this.placement.includes("left")) {
|
552
|
+
this.placement = "right";
|
553
|
+
tooltipX = child.left - dialogEl.left + child.width;
|
554
|
+
}
|
555
|
+
}
|
556
|
+
this.toolTip.style.setProperty("--tooltip-translate-x", `${tooltipX}px`);
|
557
|
+
this.toolTip.style.setProperty("--tooltip-translate-y", `${tooltipY}px`);
|
558
|
+
};
|
559
|
+
this.show = () => {
|
560
|
+
this.toolTip.setAttribute("data-show", "");
|
561
|
+
if (this.onDialog) {
|
562
|
+
this.el.classList.add("on-dialog");
|
563
|
+
const dialogEl = this.icDialogEl.shadowRoot
|
564
|
+
.querySelector("dialog")
|
565
|
+
.getBoundingClientRect();
|
566
|
+
this.getTooltipTranslate(dialogEl);
|
567
|
+
}
|
568
|
+
this.popperInstance = createPopper(this.el, this.toolTip, {
|
569
|
+
placement: this.placement,
|
570
|
+
modifiers: [
|
571
|
+
{
|
572
|
+
name: "offset",
|
573
|
+
options: {
|
574
|
+
offset: [0, 10],
|
575
|
+
},
|
576
|
+
},
|
577
|
+
{
|
578
|
+
name: "arrow",
|
579
|
+
options: {
|
580
|
+
element: this.arrow,
|
581
|
+
},
|
582
|
+
},
|
583
|
+
{
|
584
|
+
name: "eventListeners",
|
585
|
+
options: { scroll: false, resize: false },
|
586
|
+
},
|
587
|
+
],
|
588
|
+
});
|
589
|
+
};
|
590
|
+
this.hide = () => {
|
591
|
+
this.toolTip.removeAttribute("data-show");
|
592
|
+
this.persistTooltip = false;
|
593
|
+
};
|
594
|
+
this.checkCloseTooltip = () => {
|
595
|
+
setTimeout(() => {
|
596
|
+
if (!this.mouseOverTool && !this.persistTooltip) {
|
597
|
+
this.hide();
|
598
|
+
}
|
599
|
+
}, 100);
|
600
|
+
};
|
601
|
+
this.mouseEnterTooltip = () => {
|
602
|
+
this.mouseOverTool = true;
|
603
|
+
};
|
604
|
+
this.mouseLeaveTooltip = () => {
|
605
|
+
this.mouseOverTool = false;
|
606
|
+
this.checkCloseTooltip();
|
607
|
+
};
|
608
|
+
this.handleKeyDown = (event) => {
|
609
|
+
if (event.key === "Escape" && !this.persistTooltip) {
|
610
|
+
this.hide();
|
611
|
+
}
|
612
|
+
};
|
613
|
+
this.manageEventListeners = (action) => {
|
614
|
+
const method = action === "add" ? "addEventListener" : "removeEventListener";
|
615
|
+
this.showEvents.forEach((event) => {
|
616
|
+
this.el[method](event, this.show);
|
617
|
+
if (this.toolTip !== undefined) {
|
618
|
+
this.toolTip[method](event, this.mouseEnterTooltip);
|
619
|
+
}
|
620
|
+
});
|
621
|
+
if (!this.persistTooltip) {
|
622
|
+
this.instantHideEvents.forEach((event) => {
|
623
|
+
this.el[method](event, this.hide);
|
624
|
+
});
|
625
|
+
}
|
626
|
+
this.delayedHideEvents.forEach((event) => {
|
627
|
+
this.el[method](event, this.checkCloseTooltip);
|
628
|
+
if (this.toolTip !== undefined) {
|
629
|
+
this.toolTip[method](event, this.mouseLeaveTooltip);
|
630
|
+
}
|
631
|
+
});
|
632
|
+
document[method]("keydown", this.handleKeyDown);
|
633
|
+
};
|
634
|
+
this.disableClick = false;
|
635
|
+
this.disableHover = false;
|
636
|
+
this.maxLines = undefined;
|
637
|
+
this.placement = "bottom";
|
638
|
+
this.silent = false;
|
639
|
+
this.target = undefined;
|
640
|
+
this.label = undefined;
|
641
|
+
}
|
642
|
+
disconnectedCallback() {
|
643
|
+
this.manageEventListeners("remove");
|
644
|
+
if (this.popperInstance !== undefined) {
|
645
|
+
this.popperInstance.destroy();
|
520
646
|
}
|
521
|
-
|
522
|
-
|
523
|
-
|
647
|
+
}
|
648
|
+
componentDidLoad() {
|
649
|
+
var _a;
|
650
|
+
this.manageEventListeners("add");
|
651
|
+
this.icDialogEl = this.el.closest("ic-dialog");
|
652
|
+
this.dialogOverflow =
|
653
|
+
((_a = this.icDialogEl) === null || _a === void 0 ? void 0 : _a.getAttribute("data-overflow")) === "true";
|
654
|
+
this.onDialog = this.icDialogEl !== null;
|
655
|
+
onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Tooltip");
|
656
|
+
}
|
657
|
+
componentDidRender() {
|
658
|
+
const typographyEl = this.el.shadowRoot.querySelector(".ic-tooltip-container > ic-typography");
|
659
|
+
this.maxLines > 0 &&
|
660
|
+
typographyEl.setAttribute("style", `--truncation-max-lines: ${this.maxLines}`);
|
661
|
+
}
|
524
662
|
/**
|
525
663
|
* Method to programmatically show/hide the tooltip without needing to interact with an anchor element
|
526
664
|
* @param show Whether to show or hide the tooltip
|
527
665
|
* @param persistTooltip Whether the tooltip should stay on the screen when actions are performed that would previously dismiss the tooltip, such as on hover
|
528
666
|
*/
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
// show ? this.show() : this.hide();
|
533
|
-
// }
|
534
|
-
this.getTooltipTranslate = (dialogEl) => {
|
535
|
-
const child = this.el.children[0].getBoundingClientRect();
|
536
|
-
let tooltipX;
|
537
|
-
let tooltipY;
|
538
|
-
switch (this.placement) {
|
539
|
-
case "bottom":
|
540
|
-
tooltipX = child.left - dialogEl.left - 0.5 * child.width;
|
541
|
-
tooltipY = child.bottom - dialogEl.top;
|
542
|
-
break;
|
543
|
-
case "bottom-start":
|
544
|
-
tooltipX = child.left - dialogEl.left;
|
545
|
-
tooltipY = child.bottom - dialogEl.top;
|
546
|
-
break;
|
547
|
-
case "bottom-end":
|
548
|
-
tooltipX = child.right - dialogEl.right;
|
549
|
-
tooltipY = child.bottom - dialogEl.top;
|
550
|
-
break;
|
551
|
-
case "top":
|
552
|
-
tooltipX = child.left - dialogEl.left - 0.5 * child.width;
|
553
|
-
tooltipY = child.top - dialogEl.bottom;
|
554
|
-
break;
|
555
|
-
case "top-start":
|
556
|
-
tooltipX = child.left - dialogEl.left;
|
557
|
-
tooltipY = child.top - dialogEl.bottom;
|
558
|
-
break;
|
559
|
-
case "top-end":
|
560
|
-
tooltipX = child.right - dialogEl.right;
|
561
|
-
tooltipY = child.top - dialogEl.bottom;
|
562
|
-
break;
|
563
|
-
case "left":
|
564
|
-
case "left-start":
|
565
|
-
tooltipX = child.right - dialogEl.right - child.width;
|
566
|
-
tooltipY = child.bottom - dialogEl.top - child.height;
|
567
|
-
break;
|
568
|
-
case "left-end":
|
569
|
-
tooltipX = child.right - dialogEl.right - child.width;
|
570
|
-
tooltipY = child.top - dialogEl.bottom + child.height;
|
571
|
-
break;
|
572
|
-
case "right":
|
573
|
-
case "right-start":
|
574
|
-
tooltipX = child.left - dialogEl.left + child.width;
|
575
|
-
tooltipY = child.bottom - dialogEl.top - child.height;
|
576
|
-
break;
|
577
|
-
case "right-end":
|
578
|
-
tooltipX = child.left - dialogEl.left + child.width;
|
579
|
-
tooltipY = child.top - dialogEl.bottom + child.height;
|
580
|
-
break;
|
581
|
-
}
|
582
|
-
if (this.dialogOverflow && tooltipX < 0) {
|
583
|
-
if (this.placement.includes("top") || this.placement.includes("bottom")) {
|
584
|
-
this.toolTip.style.setProperty("--tooltip-arrow-translate", `${tooltipX}px`);
|
585
|
-
tooltipX = child.left - dialogEl.left;
|
586
|
-
}
|
587
|
-
if (this.placement.includes("left")) {
|
588
|
-
this.placement = "right";
|
589
|
-
tooltipX = child.left - dialogEl.left + child.width;
|
590
|
-
}
|
591
|
-
}
|
592
|
-
this.toolTip.style.setProperty("--tooltip-translate-x", `${tooltipX}px`);
|
593
|
-
this.toolTip.style.setProperty("--tooltip-translate-y", `${tooltipY}px`);
|
594
|
-
};
|
595
|
-
this.disableClick = false;
|
596
|
-
this.disableHover = false;
|
597
|
-
this.placement = "bottom";
|
598
|
-
this.target = undefined;
|
599
|
-
this.label = undefined;
|
600
|
-
}
|
601
|
-
updateLabel(newValue) {
|
602
|
-
if (this.ariaDescribedBy !== null) {
|
603
|
-
this.ariaDescribedBy.innerText = newValue;
|
604
|
-
}
|
605
|
-
}
|
606
|
-
disconnectedCallback() {
|
607
|
-
this.manageEventListeners("remove");
|
608
|
-
if (this.popperInstance !== undefined) {
|
609
|
-
this.popperInstance.destroy();
|
667
|
+
async displayTooltip(show, persistTooltip) {
|
668
|
+
this.persistTooltip = persistTooltip;
|
669
|
+
show ? this.show() : this.hide();
|
610
670
|
}
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
this.popperInstance = createPopper(this.el, this.toolTip, {
|
615
|
-
placement: this.placement,
|
616
|
-
modifiers: [
|
617
|
-
{
|
618
|
-
name: "offset",
|
619
|
-
options: {
|
620
|
-
offset: [0, 10],
|
621
|
-
},
|
622
|
-
},
|
623
|
-
{
|
624
|
-
name: "arrow",
|
625
|
-
options: {
|
626
|
-
element: this.arrow,
|
627
|
-
},
|
628
|
-
},
|
629
|
-
{
|
630
|
-
name: "eventListeners",
|
631
|
-
options: { scroll: false, resize: false },
|
632
|
-
},
|
633
|
-
],
|
634
|
-
});
|
635
|
-
this.manageEventListeners("add");
|
636
|
-
this.icDialogEl = this.el.closest("ic-dialog");
|
637
|
-
this.dialogOverflow =
|
638
|
-
((_a = this.icDialogEl) === null || _a === void 0 ? void 0 : _a.getAttribute("data-overflow")) === "true";
|
639
|
-
this.onDialog = this.icDialogEl !== null;
|
640
|
-
onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Tooltip");
|
641
|
-
if (this.target !== undefined) {
|
642
|
-
this.ariaDescribedBy = document.createElement("span");
|
643
|
-
this.ariaDescribedBy.id = `ic-tooltip-${this.target}`;
|
644
|
-
this.ariaDescribedBy.innerText = this.label;
|
645
|
-
this.ariaDescribedBy.classList.add("ic-tooltip-label");
|
646
|
-
Object.assign(this.ariaDescribedBy.style, this.screenReaderOnlyStyles);
|
647
|
-
this.el.insertAdjacentElement("beforebegin", this.ariaDescribedBy);
|
671
|
+
render() {
|
672
|
+
const { label, maxLines, silent } = this;
|
673
|
+
return (h(Host, { class: { "ic-tooltip": true } }, h("div", { ref: (el) => (this.toolTip = el), role: "tooltip", class: "ic-tooltip-container", "aria-hidden": silent }, h("ic-typography", { maxLines: maxLines, variant: "caption" }, label), h("div", { ref: (el) => (this.arrow = el), class: "ic-tooltip-arrow" })), h("slot", null)));
|
648
674
|
}
|
649
|
-
|
650
|
-
// private show = () => {
|
651
|
-
// this.toolTip.setAttribute("data-show", "");
|
652
|
-
// if (this.onDialog) {
|
653
|
-
// this.el.classList.add("on-dialog");
|
654
|
-
// const dialogEl = this.icDialogEl.shadowRoot
|
655
|
-
// .querySelector("dialog")
|
656
|
-
// .getBoundingClientRect();
|
657
|
-
// this.getTooltipTranslate(dialogEl);
|
658
|
-
// }
|
659
|
-
// this.popperInstance = createPopper(this.el, this.toolTip, {
|
660
|
-
// placement: this.placement,
|
661
|
-
// modifiers: [
|
662
|
-
// {
|
663
|
-
// name: "offset",
|
664
|
-
// options: {
|
665
|
-
// offset: [0, 10],
|
666
|
-
// },
|
667
|
-
// },
|
668
|
-
// {
|
669
|
-
// name: "arrow",
|
670
|
-
// options: {
|
671
|
-
// element: this.arrow,
|
672
|
-
// },
|
673
|
-
// },
|
674
|
-
// {
|
675
|
-
// name: "eventListeners",
|
676
|
-
// options: { scroll: false, resize: false },
|
677
|
-
// },
|
678
|
-
// ],
|
679
|
-
// });
|
680
|
-
// };
|
681
|
-
// private hide = () => {
|
682
|
-
// this.toolTip.removeAttribute("data-show");
|
683
|
-
// this.persistTooltip = false;
|
684
|
-
// };
|
685
|
-
// private checkCloseTooltip = () => {
|
686
|
-
// setTimeout(() => {
|
687
|
-
// if (!this.mouseOverTool && !this.persistTooltip) {
|
688
|
-
// this.hide();
|
689
|
-
// }
|
690
|
-
// }, 100);
|
691
|
-
// };
|
692
|
-
// private mouseEnterTooltip = () => {
|
693
|
-
// this.mouseOverTool = true;
|
694
|
-
// };
|
695
|
-
// private mouseLeaveTooltip = () => {
|
696
|
-
// this.mouseOverTool = false;
|
697
|
-
// this.checkCloseTooltip();
|
698
|
-
// };
|
699
|
-
// private handleKeyDown = (event: KeyboardEvent) => {
|
700
|
-
// if (event.key === "Escape" && !this.persistTooltip) {
|
701
|
-
// this.hide();
|
702
|
-
// }
|
703
|
-
// };
|
704
|
-
// private manageEventListeners = (action: "add" | "remove") => {
|
705
|
-
// const method =
|
706
|
-
// action === "add" ? "addEventListener" : "removeEventListener";
|
707
|
-
// this.showEvents.forEach((event) => {
|
708
|
-
// this.el[method](event, this.show);
|
709
|
-
// if (this.toolTip !== undefined) {
|
710
|
-
// this.toolTip[method](event, this.mouseEnterTooltip);
|
711
|
-
// }
|
712
|
-
// });
|
713
|
-
// if (!this.persistTooltip) {
|
714
|
-
// this.instantHideEvents.forEach((event) => {
|
715
|
-
// this.el[method](event, this.hide);
|
716
|
-
// });
|
717
|
-
// }
|
718
|
-
// this.delayedHideEvents.forEach((event) => {
|
719
|
-
// this.el[method](event, this.checkCloseTooltip);
|
720
|
-
// if (this.toolTip !== undefined) {
|
721
|
-
// this.toolTip[method](event, this.mouseLeaveTooltip);
|
722
|
-
// }
|
723
|
-
// });
|
724
|
-
// document[method]("keydown", this.handleKeyDown);
|
725
|
-
// };
|
726
|
-
// this.manageEventListeners("add");
|
727
|
-
// onComponentRequiredPropUndefined(
|
728
|
-
// [{ prop: this.label, propName: "label" }],
|
729
|
-
// "Tooltip"
|
730
|
-
// );
|
731
|
-
// if (this.target !== undefined) {
|
732
|
-
// const ariaDescribedBy = document.createElement("span");
|
733
|
-
// ariaDescribedBy.id = `ic-tooltip-${this.target}`;
|
734
|
-
// ariaDescribedBy.innerText = this.label;
|
735
|
-
// ariaDescribedBy.classList.add("ic-tooltip-label");
|
736
|
-
// Object.assign(ariaDescribedBy.style, this.screenReaderOnlyStyles);
|
737
|
-
// this.el.insertAdjacentElement("beforebegin", ariaDescribedBy);
|
738
|
-
// }
|
739
|
-
// }
|
740
|
-
/**
|
741
|
-
* Method to programmatically show/hide the tooltip without needing to interact with an anchor element
|
742
|
-
* @param show Whether to show or hide the tooltip
|
743
|
-
* @param persistTooltip Whether the tooltip should stay on the screen when actions are performed that would previously dismiss the tooltip, such as on hover
|
744
|
-
*/
|
745
|
-
async displayTooltip(show, persistTooltip) {
|
746
|
-
this.persistTooltip = persistTooltip;
|
747
|
-
show ? this.show(this.popperInstance) : this.hide(this.popperInstance);
|
748
|
-
}
|
749
|
-
render() {
|
750
|
-
const { label } = this;
|
751
|
-
return (h(Host, { class: { "ic-tooltip": true } }, h("div", { ref: (el) => (this.toolTip = el), role: "tooltip", class: "ic-tooltip-container" }, h("ic-typography", { variant: "caption" }, label), h("div", { ref: (el) => (this.arrow = el), class: "ic-tooltip-arrow", "data-popper-arrow": true })), h("slot", null)));
|
752
|
-
}
|
753
|
-
get el() { return getElement(this); }
|
754
|
-
static get watchers() { return {
|
755
|
-
"label": ["updateLabel"]
|
756
|
-
}; }
|
675
|
+
get el() { return getElement(this); }
|
757
676
|
};
|
758
677
|
Tooltip.style = icTooltipCss;
|
759
678
|
|