@ukic/web-components 2.8.0 → 2.9.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/core.cjs.js +3 -3
- package/dist/cjs/core.cjs.js.map +1 -1
- package/dist/cjs/{helpers-0d63359f.js → helpers-3f91f63a.js} +292 -292
- package/dist/cjs/helpers-3f91f63a.js.map +1 -0
- package/dist/cjs/ic-accordion-group.cjs.entry.js +71 -71
- package/dist/cjs/ic-accordion-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-accordion.cjs.entry.js +99 -99
- package/dist/cjs/ic-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-alert.cjs.entry.js +58 -58
- package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +120 -120
- package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-badge.cjs.entry.js +146 -146
- package/dist/cjs/ic-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +172 -166
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +55 -53
- package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +615 -606
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card.cjs.entry.js +105 -105
- package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +60 -60
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +95 -95
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +67 -65
- 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 +17 -17
- package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +74 -74
- package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-dialog.cjs.entry.js +339 -339
- 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 -24
- 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 +50 -50
- 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 -62
- package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +151 -151
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +678 -678
- 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 -63
- package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-link.cjs.entry.js +55 -55
- package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +12 -12
- package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js +100 -100
- 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 +283 -283
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +152 -152
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +105 -105
- package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +93 -93
- package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination-item.cjs.entry.js +42 -42
- package/dist/cjs/ic-pagination-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination.cjs.entry.js +196 -195
- package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +231 -231
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +156 -156
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +128 -128
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +474 -474
- 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-select.cjs.entry.js +639 -639
- package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +424 -426
- package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-skeleton.cjs.entry.js +43 -43
- package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +29 -29
- package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +121 -121
- package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +200 -200
- package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +77 -77
- 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 +23 -23
- package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +31 -31
- 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-text-field.cjs.entry.js +210 -210
- package/dist/cjs/ic-text-field.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 -46
- package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +145 -145
- package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +198 -199
- package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +118 -118
- package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
- package/dist/{esm/index-813020f1.js → cjs/index-152d1fe5.js} +634 -376
- package/dist/cjs/index-152d1fe5.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/types-dc22e301.js +16 -0
- package/dist/cjs/{types-7d67439f.js.map → types-dc22e301.js.map} +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/ic-accordion/ic-accordion.js +276 -276
- package/dist/collection/components/ic-accordion/ic-accordion.js.map +1 -1
- package/dist/collection/components/ic-accordion/test/basic/ic-accordion.e2e.js +39 -39
- package/dist/collection/components/ic-accordion/test/basic/ic-accordion.e2e.js.map +1 -1
- package/dist/collection/components/ic-accordion/test/basic/ic-accordion.spec.js +215 -215
- package/dist/collection/components/ic-accordion/test/basic/ic-accordion.spec.js.map +1 -1
- package/dist/collection/components/ic-accordion-group/ic-accordion-group.js +200 -200
- package/dist/collection/components/ic-accordion-group/ic-accordion-group.js.map +1 -1
- package/dist/collection/components/ic-accordion-group/test/a11y/ic-accordion-group.test.a11y.js +5 -5
- package/dist/collection/components/ic-accordion-group/test/a11y/ic-accordion-group.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-accordion-group/test/basic/ic-accordion-group.e2e.js +68 -68
- package/dist/collection/components/ic-accordion-group/test/basic/ic-accordion-group.e2e.js.map +1 -1
- package/dist/collection/components/ic-accordion-group/test/basic/ic-accordion-group.spec.js +71 -71
- package/dist/collection/components/ic-accordion-group/test/basic/ic-accordion-group.spec.js.map +1 -1
- package/dist/collection/components/ic-alert/ic-alert.js +231 -231
- package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
- package/dist/collection/components/ic-alert/test/a11y/ic-alert.test.a11y.js +5 -5
- package/dist/collection/components/ic-alert/test/a11y/ic-alert.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js +12 -12
- package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js.map +1 -1
- package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js +44 -44
- package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js.map +1 -1
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +159 -159
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +1 -1
- package/dist/collection/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.js +14 -14
- package/dist/collection/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js +43 -43
- package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js.map +1 -1
- package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js +102 -102
- package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js.map +1 -1
- package/dist/collection/components/ic-badge/ic-badge.js +385 -385
- package/dist/collection/components/ic-badge/ic-badge.js.map +1 -1
- package/dist/collection/components/ic-badge/test/a11y/ic-badge.test.a11y.js +10 -10
- package/dist/collection/components/ic-badge/test/a11y/ic-badge.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-badge/test/basic/ic-badge.spec.js +172 -172
- package/dist/collection/components/ic-badge/test/basic/ic-badge.spec.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.css +9 -1
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +186 -157
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js +43 -43
- package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +250 -220
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.js +10 -10
- package/dist/collection/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js +34 -34
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js +156 -118
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js.map +1 -1
- package/dist/collection/components/ic-button/ic-button.css +14 -0
- package/dist/collection/components/ic-button/ic-button.js +798 -773
- package/dist/collection/components/ic-button/ic-button.js.map +1 -1
- package/dist/collection/components/ic-button/test/a11y/ic-button.test.a11y.js +5 -5
- package/dist/collection/components/ic-button/test/a11y/ic-button.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js +114 -114
- package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js.map +1 -1
- package/dist/collection/components/ic-button/test/basic/ic-button.spec.js +249 -236
- package/dist/collection/components/ic-button/test/basic/ic-button.spec.js.map +1 -1
- package/dist/collection/components/ic-card/ic-card.js +375 -375
- package/dist/collection/components/ic-card/ic-card.js.map +1 -1
- package/dist/collection/components/ic-card/test/a11y/ic-card.test.a11y.js +15 -15
- package/dist/collection/components/ic-card/test/a11y/ic-card.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js +19 -19
- package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js.map +1 -1
- package/dist/collection/components/ic-card/test/basic/ic-card.spec.js +147 -147
- package/dist/collection/components/ic-card/test/basic/ic-card.spec.js.map +1 -1
- package/dist/collection/components/ic-checkbox/ic-checkbox.css +6 -6
- package/dist/collection/components/ic-checkbox/ic-checkbox.js +474 -474
- package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +302 -302
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.js +5 -5
- package/dist/collection/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js +124 -124
- package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js +148 -148
- package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +1 -1
- package/dist/collection/components/ic-chip/ic-chip.css +8 -0
- package/dist/collection/components/ic-chip/ic-chip.js +291 -271
- package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
- package/dist/collection/components/ic-chip/test/a11y/ic-chip.test.a11y.js +5 -5
- package/dist/collection/components/ic-chip/test/a11y/ic-chip.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js +81 -81
- package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +1 -1
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +132 -132
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +1 -1
- package/dist/collection/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.js +5 -5
- package/dist/collection/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js +55 -55
- package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js.map +1 -1
- package/dist/collection/components/ic-data-entity/ic-data-entity.js +92 -92
- package/dist/collection/components/ic-data-entity/ic-data-entity.js.map +1 -1
- package/dist/collection/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.js +5 -5
- package/dist/collection/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js +28 -28
- package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js.map +1 -1
- package/dist/collection/components/ic-data-row/ic-data-row.js +170 -170
- package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -1
- package/dist/collection/components/ic-data-row/test/a11y/ic-data-row.test.a11y.js +14 -14
- package/dist/collection/components/ic-data-row/test/a11y/ic-data-row.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js +61 -61
- package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js.map +1 -1
- package/dist/collection/components/ic-dialog/ic-dialog.js +765 -765
- package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -1
- package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js +5 -5
- package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js +155 -155
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js.map +1 -1
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js +573 -573
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js.map +1 -1
- package/dist/collection/components/ic-divider/ic-divider.js +38 -38
- package/dist/collection/components/ic-divider/ic-divider.js.map +1 -1
- package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js +17 -17
- package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js.map +1 -1
- package/dist/collection/components/ic-empty-state/ic-empty-state.js +151 -151
- package/dist/collection/components/ic-empty-state/ic-empty-state.js.map +1 -1
- package/dist/collection/components/ic-empty-state/test/a11y/ic-empty-state.test.a11y.js +5 -5
- package/dist/collection/components/ic-empty-state/test/a11y/ic-empty-state.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-empty-state/test/basic/ic-empty-state.spec.js +52 -52
- package/dist/collection/components/ic-empty-state/test/basic/ic-empty-state.spec.js.map +1 -1
- package/dist/collection/components/ic-footer/ic-footer.js +242 -242
- package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
- package/dist/collection/components/ic-footer/test/a11y/ic-footer.test.a11y.js +15 -15
- package/dist/collection/components/ic-footer/test/a11y/ic-footer.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js +25 -25
- package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js.map +1 -1
- package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js +108 -108
- package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js.map +1 -1
- package/dist/collection/components/ic-footer-link/ic-footer-link.js +190 -190
- package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
- package/dist/collection/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.js +13 -13
- package/dist/collection/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js +36 -36
- package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js.map +1 -1
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +107 -107
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -1
- package/dist/collection/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.js +13 -13
- package/dist/collection/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js +52 -52
- package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js.map +1 -1
- package/dist/collection/components/ic-hero/ic-hero.js +292 -292
- package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
- package/dist/collection/components/ic-hero/test/a11y/ic-hero.test.a11y.js +5 -5
- package/dist/collection/components/ic-hero/test/a11y/ic-hero.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js +62 -62
- package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +1 -1
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +241 -240
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -1
- package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js +17 -17
- package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js +145 -145
- package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js.map +1 -1
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +248 -248
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
- package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js +49 -49
- package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +1 -1
- package/dist/collection/components/ic-input-container/ic-input-container.js +62 -62
- package/dist/collection/components/ic-input-container/ic-input-container.js.map +1 -1
- package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js +19 -19
- package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js.map +1 -1
- package/dist/collection/components/ic-input-label/ic-input-label.js +211 -211
- package/dist/collection/components/ic-input-label/ic-input-label.js.map +1 -1
- package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js +37 -37
- package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js.map +1 -1
- package/dist/collection/components/ic-input-validation/ic-input-validation.js +139 -139
- package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -1
- package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js +31 -31
- package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js.map +1 -1
- package/dist/collection/components/ic-link/ic-link.js +248 -248
- package/dist/collection/components/ic-link/ic-link.js.map +1 -1
- package/dist/collection/components/ic-link/test/a11y/ic-link.test.a11y.js +5 -5
- package/dist/collection/components/ic-link/test/a11y/ic-link.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-link/test/basic/ic-link.spec.js +92 -92
- package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +1 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +416 -415
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
- package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js +5 -5
- package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js +25 -25
- package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js.map +1 -1
- package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js +114 -114
- package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js.map +1 -1
- package/dist/collection/components/ic-menu/ic-menu.js +1268 -1269
- package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
- package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js +684 -684
- package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +1 -1
- package/dist/collection/components/ic-menu-group/ic-menu-group.js +41 -41
- package/dist/collection/components/ic-menu-group/ic-menu-group.js.map +1 -1
- package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js +16 -16
- package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js.map +1 -1
- package/dist/collection/components/ic-menu-item/ic-menu-item.js +378 -378
- package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -1
- package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js +67 -67
- package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js.map +1 -1
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +262 -259
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js.map +1 -1
- package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js +41 -41
- package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +1 -1
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +380 -380
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
- package/dist/collection/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.js +14 -14
- package/dist/collection/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js +242 -242
- package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js.map +1 -1
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +446 -446
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
- package/dist/collection/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.js +14 -14
- package/dist/collection/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js +78 -78
- package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js.map +1 -1
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +187 -187
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js.map +1 -1
- package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js +25 -25
- package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js.map +1 -1
- package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js +104 -104
- package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js.map +1 -1
- package/dist/collection/components/ic-page-header/ic-page-header.js +286 -286
- package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
- package/dist/collection/components/ic-page-header/test/a11y/ic-page-header.test.a11y.js +5 -5
- package/dist/collection/components/ic-page-header/test/a11y/ic-page-header.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js +66 -66
- package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js.map +1 -1
- package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js +82 -82
- package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js.map +1 -1
- package/dist/collection/components/ic-pagination/ic-pagination.js +487 -482
- package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -1
- package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js +5 -5
- package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js +103 -103
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js.map +1 -1
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js +303 -303
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js.map +1 -1
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +225 -225
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +1 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +437 -437
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
- package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js +5 -5
- package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js +27 -27
- package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js.map +1 -1
- package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js +283 -283
- package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js.map +1 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +429 -429
- package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
- package/dist/collection/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.js +5 -5
- package/dist/collection/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js +218 -218
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js.map +1 -1
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js +238 -238
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +1 -1
- package/dist/collection/components/ic-radio-option/ic-radio-option.css +5 -5
- package/dist/collection/components/ic-radio-option/ic-radio-option.js +479 -479
- package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +1381 -1381
- package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
- package/dist/collection/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.js +5 -5
- package/dist/collection/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js +992 -992
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js.map +1 -1
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js +568 -568
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js.map +1 -1
- package/dist/collection/components/ic-section-container/ic-section-container.js +70 -70
- package/dist/collection/components/ic-section-container/ic-section-container.js.map +1 -1
- package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js +28 -28
- package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js.map +1 -1
- package/dist/collection/components/ic-select/ic-select.js +1466 -1466
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-select/test/a11y/ic-select.test.a11y.js +5 -5
- package/dist/collection/components/ic-select/test/a11y/ic-select.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js +1563 -1563
- package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js.map +1 -1
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +1299 -1299
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +675 -654
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.types.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.js +5 -5
- package/dist/collection/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js +463 -463
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js +143 -143
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js.map +1 -1
- package/dist/collection/components/ic-skeleton/ic-skeleton.js +127 -127
- package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -1
- package/dist/collection/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.js +5 -5
- package/dist/collection/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js +38 -38
- package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js.map +1 -1
- package/dist/collection/components/ic-status-tag/ic-status-tag.js +194 -194
- package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
- package/dist/collection/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.js +5 -5
- package/dist/collection/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js +14 -14
- package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js.map +1 -1
- package/dist/collection/components/ic-step/ic-step.css +6 -0
- package/dist/collection/components/ic-step/ic-step.js +385 -385
- package/dist/collection/components/ic-step/ic-step.js.map +1 -1
- package/dist/collection/components/ic-step/test/basic/ic-step.spec.js +87 -87
- package/dist/collection/components/ic-step/test/basic/ic-step.spec.js.map +1 -1
- package/dist/collection/components/ic-stepper/ic-stepper.js +306 -306
- package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
- package/dist/collection/components/ic-stepper/test/a11y/ic-stepper.test.a11y.js +10 -10
- package/dist/collection/components/ic-stepper/test/a11y/ic-stepper.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js +36 -36
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js.map +1 -1
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js +350 -350
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +1 -1
- package/dist/collection/components/ic-switch/ic-switch.js +355 -355
- package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
- package/dist/collection/components/ic-switch/test/a11y/ic-switch.test.a11y.js +5 -5
- package/dist/collection/components/ic-switch/test/a11y/ic-switch.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js +88 -88
- package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js.map +1 -1
- package/dist/collection/components/ic-tab/ic-tab.js +350 -350
- package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
- package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js +26 -26
- package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js.map +1 -1
- package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js +93 -93
- package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js.map +1 -1
- package/dist/collection/components/ic-tab-context/ic-tab-context.js +442 -441
- package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
- package/dist/collection/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.js +5 -5
- package/dist/collection/components/ic-tab-context/test/a11y/ic-tab-context.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js +213 -213
- package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js.map +1 -1
- package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js +250 -250
- package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js.map +1 -1
- package/dist/collection/components/ic-tab-group/ic-tab-group.js +117 -117
- package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -1
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.css +444 -1
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +191 -191
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -1
- package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js +29 -29
- package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js.map +1 -1
- package/dist/collection/components/ic-text-field/ic-text-field.js +1115 -1115
- package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
- package/dist/collection/components/ic-text-field/test/a11y/ic-text-field.test.a11y.js +5 -5
- package/dist/collection/components/ic-text-field/test/a11y/ic-text-field.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js +94 -94
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js.map +1 -1
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js +194 -194
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +1 -1
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js +92 -92
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js.map +1 -1
- package/dist/collection/components/ic-theme/ic-theme.js +99 -99
- package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
- package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js +65 -65
- package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js.map +1 -1
- package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js +53 -53
- package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js.map +1 -1
- package/dist/collection/components/ic-toast/ic-toast.js +368 -368
- package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
- package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js +10 -10
- package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js +66 -66
- package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js.map +1 -1
- package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js +180 -180
- package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js.map +1 -1
- package/dist/collection/components/ic-toast-region/ic-toast-region.js +115 -110
- package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -1
- package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js +58 -58
- package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js.map +1 -1
- package/dist/collection/components/ic-tooltip/ic-tooltip.js +347 -329
- package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
- package/dist/collection/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.js +5 -5
- package/dist/collection/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js +105 -105
- package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js.map +1 -1
- package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js +276 -276
- package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +0 -4
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +431 -418
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.js +20 -20
- package/dist/collection/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js +43 -43
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js +191 -191
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js +180 -180
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js.map +1 -1
- package/dist/collection/components/ic-typography/ic-typography.js +270 -270
- package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
- package/dist/collection/components/ic-typography/test/a11y/ic-typography.test.a11y.js +5 -5
- package/dist/collection/components/ic-typography/test/a11y/ic-typography.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js +25 -25
- package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js.map +1 -1
- package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js +276 -276
- package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +1 -1
- package/dist/collection/testspec.setup.js +32 -32
- package/dist/collection/testspec.setup.js.map +1 -1
- package/dist/collection/utils/constants.js +55 -55
- package/dist/collection/utils/constants.js.map +1 -1
- package/dist/collection/utils/helpers.js +235 -235
- 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/collection/utils/types.js +6 -6
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/helpers.js +290 -290
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/ic-accordion-group.d.ts +2 -2
- package/dist/components/ic-accordion-group.js +112 -112
- package/dist/components/ic-accordion-group.js.map +1 -1
- package/dist/components/ic-accordion.d.ts +2 -2
- package/dist/components/ic-accordion.js +125 -125
- package/dist/components/ic-accordion.js.map +1 -1
- package/dist/components/ic-alert.d.ts +2 -2
- package/dist/components/ic-alert2.js +98 -98
- package/dist/components/ic-alert2.js.map +1 -1
- package/dist/components/ic-back-to-top.d.ts +2 -2
- package/dist/components/ic-back-to-top.js +143 -143
- package/dist/components/ic-back-to-top.js.map +1 -1
- package/dist/components/ic-badge.d.ts +2 -2
- package/dist/components/ic-badge.js +174 -174
- package/dist/components/ic-badge.js.map +1 -1
- package/dist/components/ic-breadcrumb-group.d.ts +2 -2
- package/dist/components/ic-breadcrumb-group.js +199 -192
- package/dist/components/ic-breadcrumb-group.js.map +1 -1
- package/dist/components/ic-breadcrumb.d.ts +2 -2
- package/dist/components/ic-breadcrumb2.js +78 -75
- package/dist/components/ic-breadcrumb2.js.map +1 -1
- package/dist/components/ic-button.d.ts +2 -2
- package/dist/components/ic-button2.js +312 -304
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card.d.ts +2 -2
- package/dist/components/ic-card.js +155 -155
- package/dist/components/ic-card.js.map +1 -1
- package/dist/components/ic-checkbox-group.d.ts +2 -2
- package/dist/components/ic-checkbox-group.js +97 -97
- package/dist/components/ic-checkbox-group.js.map +1 -1
- package/dist/components/ic-checkbox.d.ts +2 -2
- package/dist/components/ic-checkbox.js +131 -131
- package/dist/components/ic-checkbox.js.map +1 -1
- package/dist/components/ic-chip.d.ts +2 -2
- package/dist/components/ic-chip.js +99 -96
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-classification-banner.d.ts +2 -2
- 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.d.ts +2 -2
- package/dist/components/ic-data-entity.js +39 -39
- package/dist/components/ic-data-entity.js.map +1 -1
- package/dist/components/ic-data-row.d.ts +2 -2
- package/dist/components/ic-data-row.js +97 -97
- package/dist/components/ic-data-row.js.map +1 -1
- package/dist/components/ic-dialog.d.ts +2 -2
- package/dist/components/ic-dialog.js +399 -399
- package/dist/components/ic-dialog.js.map +1 -1
- package/dist/components/ic-divider.d.ts +2 -2
- package/dist/components/ic-divider2.js +28 -28
- package/dist/components/ic-divider2.js.map +1 -1
- package/dist/components/ic-empty-state.d.ts +2 -2
- package/dist/components/ic-empty-state.js +47 -47
- package/dist/components/ic-empty-state.js.map +1 -1
- package/dist/components/ic-footer-link-group.d.ts +2 -2
- package/dist/components/ic-footer-link-group.js +82 -82
- package/dist/components/ic-footer-link-group.js.map +1 -1
- package/dist/components/ic-footer-link.d.ts +2 -2
- package/dist/components/ic-footer-link.js +71 -71
- package/dist/components/ic-footer-link.js.map +1 -1
- package/dist/components/ic-footer.d.ts +2 -2
- package/dist/components/ic-footer.js +108 -108
- package/dist/components/ic-footer.js.map +1 -1
- package/dist/components/ic-hero.d.ts +2 -2
- package/dist/components/ic-hero.js +98 -98
- package/dist/components/ic-hero.js.map +1 -1
- package/dist/components/ic-horizontal-scroll.d.ts +2 -2
- package/dist/components/ic-horizontal-scroll2.js +189 -189
- package/dist/components/ic-horizontal-scroll2.js.map +1 -1
- package/dist/components/ic-input-component-container.d.ts +2 -2
- package/dist/components/ic-input-component-container2.js +61 -61
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-input-container.d.ts +2 -2
- package/dist/components/ic-input-container2.js +28 -28
- package/dist/components/ic-input-container2.js.map +1 -1
- package/dist/components/ic-input-label.d.ts +2 -2
- package/dist/components/ic-input-label2.js +62 -62
- package/dist/components/ic-input-label2.js.map +1 -1
- package/dist/components/ic-input-validation.d.ts +2 -2
- package/dist/components/ic-input-validation2.js +50 -50
- package/dist/components/ic-input-validation2.js.map +1 -1
- package/dist/components/ic-link.d.ts +2 -2
- package/dist/components/ic-link2.js +76 -76
- package/dist/components/ic-link2.js.map +1 -1
- package/dist/components/ic-loading-indicator.d.ts +2 -2
- package/dist/components/ic-loading-indicator2.js +211 -210
- package/dist/components/ic-loading-indicator2.js.map +1 -1
- package/dist/components/ic-menu-group.d.ts +2 -2
- package/dist/components/ic-menu-group.js +30 -30
- package/dist/components/ic-menu-group.js.map +1 -1
- package/dist/components/ic-menu-item.d.ts +2 -2
- package/dist/components/ic-menu-item2.js +144 -144
- package/dist/components/ic-menu-item2.js.map +1 -1
- package/dist/components/ic-menu.d.ts +2 -2
- package/dist/components/ic-menu2.js +691 -691
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-button.d.ts +2 -2
- package/dist/components/ic-navigation-button.js +121 -118
- package/dist/components/ic-navigation-button.js.map +1 -1
- package/dist/components/ic-navigation-group.d.ts +2 -2
- package/dist/components/ic-navigation-group.js +310 -310
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.d.ts +2 -2
- package/dist/components/ic-navigation-item.js +194 -194
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-navigation-menu.d.ts +2 -2
- package/dist/components/ic-navigation-menu2.js +139 -139
- package/dist/components/ic-navigation-menu2.js.map +1 -1
- package/dist/components/ic-page-header.d.ts +2 -2
- package/dist/components/ic-page-header.js +147 -147
- package/dist/components/ic-page-header.js.map +1 -1
- package/dist/components/ic-pagination-item.d.ts +2 -2
- package/dist/components/ic-pagination-item2.js +67 -67
- package/dist/components/ic-pagination-item2.js.map +1 -1
- package/dist/components/ic-pagination.d.ts +2 -2
- package/dist/components/ic-pagination.js +253 -252
- package/dist/components/ic-pagination.js.map +1 -1
- package/dist/components/ic-popover-menu.d.ts +2 -2
- package/dist/components/ic-popover-menu.js +280 -280
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-radio-group.d.ts +2 -2
- package/dist/components/ic-radio-group.js +200 -200
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.d.ts +2 -2
- package/dist/components/ic-radio-option.js +163 -163
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.d.ts +2 -2
- package/dist/components/ic-search-bar.js +580 -580
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-section-container.d.ts +2 -2
- package/dist/components/ic-section-container2.js +31 -31
- package/dist/components/ic-section-container2.js.map +1 -1
- package/dist/components/ic-select.d.ts +2 -2
- package/dist/components/ic-select.js +751 -751
- package/dist/components/ic-select.js.map +1 -1
- package/dist/components/ic-side-navigation.d.ts +2 -2
- package/dist/components/ic-side-navigation.js +479 -481
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-skeleton.d.ts +2 -2
- package/dist/components/ic-skeleton.js +64 -64
- package/dist/components/ic-skeleton.js.map +1 -1
- package/dist/components/ic-status-tag.d.ts +2 -2
- package/dist/components/ic-status-tag.js +53 -53
- package/dist/components/ic-status-tag.js.map +1 -1
- package/dist/components/ic-step.d.ts +2 -2
- package/dist/components/ic-step.js +157 -157
- package/dist/components/ic-step.js.map +1 -1
- package/dist/components/ic-stepper.d.ts +2 -2
- package/dist/components/ic-stepper.js +223 -223
- package/dist/components/ic-stepper.js.map +1 -1
- package/dist/components/ic-switch.d.ts +2 -2
- package/dist/components/ic-switch.js +114 -114
- package/dist/components/ic-switch.js.map +1 -1
- package/dist/components/ic-tab-context.d.ts +2 -2
- 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.d.ts +2 -2
- package/dist/components/ic-tab-group.js +64 -64
- package/dist/components/ic-tab-group.js.map +1 -1
- package/dist/components/ic-tab-panel.d.ts +2 -2
- package/dist/components/ic-tab-panel.js +48 -48
- package/dist/components/ic-tab-panel.js.map +1 -1
- package/dist/components/ic-tab.d.ts +2 -2
- package/dist/components/ic-tab.js +112 -112
- package/dist/components/ic-tab.js.map +1 -1
- package/dist/components/ic-text-field.d.ts +2 -2
- package/dist/components/ic-text-field2.js +293 -293
- package/dist/components/ic-text-field2.js.map +1 -1
- package/dist/components/ic-theme.d.ts +2 -2
- package/dist/components/ic-theme.js +65 -65
- package/dist/components/ic-theme.js.map +1 -1
- package/dist/components/ic-toast-region.d.ts +2 -2
- package/dist/components/ic-toast-region.js +63 -62
- package/dist/components/ic-toast-region.js.map +1 -1
- package/dist/components/ic-toast.d.ts +2 -2
- package/dist/components/ic-toast.js +187 -187
- package/dist/components/ic-toast.js.map +1 -1
- package/dist/components/ic-tooltip.d.ts +2 -2
- package/dist/components/ic-tooltip2.js +213 -211
- package/dist/components/ic-tooltip2.js.map +1 -1
- package/dist/components/ic-top-navigation.d.ts +2 -2
- package/dist/components/ic-top-navigation.js +263 -264
- package/dist/components/ic-top-navigation.js.map +1 -1
- package/dist/components/ic-typography.d.ts +2 -2
- package/dist/components/ic-typography2.js +142 -142
- 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.css +1 -1
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/p-02159742.entry.js +2 -0
- package/dist/core/p-02159742.entry.js.map +1 -0
- package/dist/core/{p-7ce86152.entry.js → p-056f8a67.entry.js} +2 -2
- package/dist/core/{p-08b59078.entry.js → p-11736fbe.entry.js} +2 -2
- package/dist/core/{p-ba495175.entry.js → p-15466b42.entry.js} +2 -2
- package/dist/core/{p-ba495175.entry.js.map → p-15466b42.entry.js.map} +1 -1
- package/dist/core/{p-5ccbb042.entry.js → p-15624e08.entry.js} +2 -2
- package/dist/core/{p-5fcd202e.entry.js → p-15ef0674.entry.js} +2 -2
- package/dist/core/{p-88ea1e49.entry.js → p-180e36b1.entry.js} +2 -2
- package/dist/core/{p-43af3cf6.entry.js → p-22c024ee.entry.js} +2 -2
- package/dist/core/{p-613aa265.js → p-26b7b18f.js} +1 -1
- package/dist/core/{p-932fb4b7.entry.js → p-287ab47c.entry.js} +2 -2
- package/dist/core/{p-69948c3e.entry.js → p-2b24b4bf.entry.js} +2 -2
- package/dist/core/{p-9f6ffced.entry.js → p-31969be6.entry.js} +2 -2
- package/dist/core/{p-475b7bd2.entry.js → p-335fc5e4.entry.js} +2 -2
- package/dist/core/{p-c9ef9f5c.entry.js → p-366bcb17.entry.js} +2 -2
- package/dist/core/{p-ed256f1d.entry.js → p-3a0ef91e.entry.js} +2 -2
- package/dist/core/{p-ca6073be.entry.js → p-498eb7ad.entry.js} +2 -2
- package/dist/core/p-498eb7ad.entry.js.map +1 -0
- package/dist/core/{p-cb5f19ea.entry.js → p-51f9f329.entry.js} +2 -2
- package/dist/core/{p-f019219c.entry.js → p-529d8955.entry.js} +2 -2
- package/dist/core/p-52e063d3.js +3 -0
- package/dist/core/p-52e063d3.js.map +1 -0
- package/dist/core/{p-b879fa3e.entry.js → p-5c7e339f.entry.js} +2 -2
- package/dist/core/p-5f9d69ef.entry.js +2 -0
- package/dist/core/p-5f9d69ef.entry.js.map +1 -0
- package/dist/core/{p-2c30b583.entry.js → p-60c4604f.entry.js} +2 -2
- package/dist/core/{p-99fad66b.entry.js → p-6bc431b2.entry.js} +2 -2
- package/dist/core/{p-ccac1730.entry.js → p-6d3f9501.entry.js} +2 -2
- package/dist/core/{p-536b3c97.entry.js → p-6eb0421d.entry.js} +2 -2
- package/dist/core/{p-48525498.entry.js → p-765bdd98.entry.js} +2 -2
- package/dist/core/{p-3a814fc4.entry.js → p-7f887c1e.entry.js} +2 -2
- package/dist/core/{p-752f0f9a.entry.js → p-8a83f391.entry.js} +2 -2
- package/dist/core/p-8a83f391.entry.js.map +1 -0
- package/dist/core/{p-e3bffcae.entry.js → p-94e88827.entry.js} +2 -2
- package/dist/core/{p-8fb4f0c0.js → p-95a864bf.js} +2 -2
- package/dist/core/{p-c0c62df4.entry.js → p-9639e33f.entry.js} +2 -2
- package/dist/core/p-9639e33f.entry.js.map +1 -0
- package/dist/core/{p-eb4641a9.entry.js → p-96da1e85.entry.js} +2 -2
- package/dist/core/{p-69d15528.entry.js → p-988991d3.entry.js} +2 -2
- package/dist/core/{p-0c82048e.entry.js → p-9c30720d.entry.js} +2 -2
- package/dist/core/{p-a76912b0.entry.js → p-aa0a9870.entry.js} +2 -2
- package/dist/core/{p-76563540.entry.js → p-ad36a704.entry.js} +2 -2
- package/dist/core/{p-d80f99e0.entry.js → p-b0088956.entry.js} +2 -2
- package/dist/core/p-b39ecae2.entry.js +2 -0
- package/dist/core/p-b39ecae2.entry.js.map +1 -0
- package/dist/core/{p-2265e418.entry.js → p-b6a575c3.entry.js} +2 -2
- package/dist/core/{p-fbc8a739.entry.js → p-b9736cf4.entry.js} +2 -2
- package/dist/core/{p-025f9d2a.entry.js → p-b99f9e89.entry.js} +2 -2
- package/dist/core/{p-b0ce60a0.entry.js → p-c2452388.entry.js} +2 -2
- package/dist/core/{p-345fe84a.entry.js → p-c770e7a2.entry.js} +2 -2
- package/dist/core/p-ca178add.entry.js +2 -0
- package/dist/core/p-ca178add.entry.js.map +1 -0
- package/dist/core/{p-748159fe.entry.js → p-ca48e97a.entry.js} +2 -2
- package/dist/core/{p-5a3ca50a.entry.js → p-cd8de4c5.entry.js} +2 -2
- package/dist/core/{p-a4397df4.entry.js → p-cfc930f6.entry.js} +2 -2
- package/dist/core/{p-3a15202f.entry.js → p-d18450f9.entry.js} +2 -2
- package/dist/core/p-d18450f9.entry.js.map +1 -0
- package/dist/core/p-daebb58a.entry.js +2 -0
- package/dist/core/p-daebb58a.entry.js.map +1 -0
- package/dist/core/p-dbb5b008.entry.js +2 -0
- package/dist/core/p-dbb5b008.entry.js.map +1 -0
- package/dist/core/{p-4bc35224.entry.js → p-e278242f.entry.js} +2 -2
- package/dist/core/p-e278242f.entry.js.map +1 -0
- package/dist/core/{p-9ff57f09.entry.js → p-e5abfadd.entry.js} +2 -2
- package/dist/core/{p-41c6eaa1.entry.js → p-e9738c74.entry.js} +2 -2
- package/dist/core/p-ea17e371.entry.js +2 -0
- package/dist/core/p-ea17e371.entry.js.map +1 -0
- package/dist/core/{p-e2fd542e.entry.js → p-edd29edc.entry.js} +2 -2
- package/dist/core/p-edec0936.entry.js +2 -0
- package/dist/core/p-edec0936.entry.js.map +1 -0
- package/dist/core/{p-657513b5.entry.js → p-ee97e2a5.entry.js} +2 -2
- package/dist/core/{p-8b18346a.entry.js → p-f0809037.entry.js} +2 -2
- package/dist/core/{p-5bb6c79b.entry.js → p-f2e6b9ef.entry.js} +2 -2
- package/dist/core/{p-cf4bacee.entry.js → p-fdb4b48f.entry.js} +2 -2
- package/dist/esm/core.js +4 -4
- package/dist/esm/core.js.map +1 -1
- package/dist/esm/{helpers-24f6e762.js → helpers-c597f246.js} +292 -292
- package/dist/esm/helpers-c597f246.js.map +1 -0
- package/dist/esm/ic-accordion-group.entry.js +71 -71
- package/dist/esm/ic-accordion-group.entry.js.map +1 -1
- package/dist/esm/ic-accordion.entry.js +99 -99
- package/dist/esm/ic-accordion.entry.js.map +1 -1
- package/dist/esm/ic-alert.entry.js +58 -58
- package/dist/esm/ic-alert.entry.js.map +1 -1
- package/dist/esm/ic-back-to-top.entry.js +120 -120
- package/dist/esm/ic-back-to-top.entry.js.map +1 -1
- package/dist/esm/ic-badge.entry.js +146 -146
- package/dist/esm/ic-badge.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb-group.entry.js +172 -166
- package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +55 -53
- package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ic-button_3.entry.js +615 -606
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card.entry.js +105 -105
- package/dist/esm/ic-card.entry.js.map +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +60 -60
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ic-checkbox.entry.js +95 -95
- package/dist/esm/ic-checkbox.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +67 -65
- 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 +17 -17
- package/dist/esm/ic-data-entity.entry.js.map +1 -1
- package/dist/esm/ic-data-row.entry.js +74 -74
- package/dist/esm/ic-data-row.entry.js.map +1 -1
- package/dist/esm/ic-dialog.entry.js +339 -339
- 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 -24
- 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 +50 -50
- 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 -62
- package/dist/esm/ic-hero.entry.js.map +1 -1
- package/dist/esm/ic-horizontal-scroll.entry.js +151 -151
- package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
- package/dist/esm/ic-input-component-container_3.entry.js +678 -678
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +63 -63
- package/dist/esm/ic-input-label_2.entry.js.map +1 -1
- package/dist/esm/ic-link.entry.js +55 -55
- package/dist/esm/ic-link.entry.js.map +1 -1
- package/dist/esm/ic-menu-group.entry.js +12 -12
- package/dist/esm/ic-menu-group.entry.js.map +1 -1
- package/dist/esm/ic-menu-item.entry.js +100 -100
- 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 +283 -283
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +152 -152
- package/dist/esm/ic-navigation-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +105 -105
- package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
- package/dist/esm/ic-page-header.entry.js +93 -93
- package/dist/esm/ic-page-header.entry.js.map +1 -1
- package/dist/esm/ic-pagination-item.entry.js +42 -42
- package/dist/esm/ic-pagination-item.entry.js.map +1 -1
- package/dist/esm/ic-pagination.entry.js +196 -195
- package/dist/esm/ic-pagination.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +231 -231
- package/dist/esm/ic-popover-menu.entry.js.map +1 -1
- package/dist/esm/ic-radio-group.entry.js +156 -156
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +128 -128
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +474 -474
- 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-select.entry.js +639 -639
- package/dist/esm/ic-select.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +424 -426
- package/dist/esm/ic-side-navigation.entry.js.map +1 -1
- package/dist/esm/ic-skeleton.entry.js +43 -43
- package/dist/esm/ic-skeleton.entry.js.map +1 -1
- package/dist/esm/ic-status-tag.entry.js +29 -29
- package/dist/esm/ic-status-tag.entry.js.map +1 -1
- package/dist/esm/ic-step.entry.js +121 -121
- package/dist/esm/ic-step.entry.js.map +1 -1
- package/dist/esm/ic-stepper.entry.js +200 -200
- package/dist/esm/ic-stepper.entry.js.map +1 -1
- package/dist/esm/ic-switch.entry.js +77 -77
- 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 +23 -23
- package/dist/esm/ic-tab-group.entry.js.map +1 -1
- package/dist/esm/ic-tab-panel.entry.js +31 -31
- 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-text-field.entry.js +210 -210
- package/dist/esm/ic-text-field.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 -46
- package/dist/esm/ic-toast-region.entry.js.map +1 -1
- package/dist/esm/ic-toast.entry.js +145 -145
- package/dist/esm/ic-toast.entry.js.map +1 -1
- package/dist/esm/ic-top-navigation.entry.js +198 -199
- package/dist/esm/ic-top-navigation.entry.js.map +1 -1
- package/dist/esm/ic-typography.entry.js +118 -118
- package/dist/esm/ic-typography.entry.js.map +1 -1
- package/dist/{cjs/index-4f8c900f.js → esm/index-05003e1c.js} +603 -407
- package/dist/esm/index-05003e1c.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/types-6f6b41a5.js +16 -0
- package/dist/esm/{types-b2398b37.js.map → types-6f6b41a5.js.map} +1 -1
- package/dist/node.d.ts +12 -0
- package/dist/types/components/ic-accordion/ic-accordion.d.ts +48 -48
- package/dist/types/components/ic-accordion-group/ic-accordion-group.d.ts +30 -30
- package/dist/types/components/ic-alert/ic-alert.d.ts +40 -40
- package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +23 -23
- package/dist/types/components/ic-badge/ic-badge.d.ts +57 -57
- package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +30 -25
- package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +43 -38
- package/dist/types/components/ic-button/ic-button.d.ts +142 -137
- package/dist/types/components/ic-card/ic-card.d.ts +68 -68
- package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +91 -91
- package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +50 -50
- package/dist/types/components/ic-checkbox-group/ic-checkbox-group.types.d.ts +6 -6
- package/dist/types/components/ic-chip/ic-chip.d.ts +50 -46
- package/dist/types/components/ic-classification-banner/ic-classification-banner.d.ts +21 -21
- package/dist/types/components/ic-data-entity/ic-data-entity.d.ts +14 -14
- package/dist/types/components/ic-data-row/ic-data-row.d.ts +34 -34
- package/dist/types/components/ic-dialog/ic-dialog.d.ts +139 -139
- package/dist/types/components/ic-divider/ic-divider.d.ts +3 -3
- package/dist/types/components/ic-empty-state/ic-empty-state.d.ts +27 -27
- package/dist/types/components/ic-footer/ic-footer.d.ts +41 -41
- package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +35 -35
- package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +17 -17
- package/dist/types/components/ic-hero/ic-hero.d.ts +51 -51
- package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.d.ts +41 -41
- package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +42 -42
- package/dist/types/components/ic-input-container/ic-input-container.d.ts +9 -9
- package/dist/types/components/ic-input-label/ic-input-label.d.ts +38 -38
- package/dist/types/components/ic-input-validation/ic-input-validation.d.ts +23 -23
- package/dist/types/components/ic-link/ic-link.d.ts +44 -44
- package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +76 -76
- package/dist/types/components/ic-loading-indicator/ic-loading-indicator.types.d.ts +3 -3
- package/dist/types/components/ic-menu/ic-menu.d.ts +183 -183
- package/dist/types/components/ic-menu/ic-menu.types.d.ts +6 -6
- package/dist/types/components/ic-menu-group/ic-menu-group.d.ts +6 -6
- package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +66 -66
- package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +47 -47
- package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +62 -62
- package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +80 -80
- package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +29 -29
- package/dist/types/components/ic-page-header/ic-page-header.d.ts +48 -48
- package/dist/types/components/ic-pagination/ic-pagination.d.ts +78 -77
- package/dist/types/components/ic-pagination/ic-pagination.types.d.ts +1 -1
- package/dist/types/components/ic-pagination-item/ic-pagination-item.d.ts +42 -42
- package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +60 -60
- package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +67 -67
- package/dist/types/components/ic-radio-group/ic-radio-group.types.d.ts +5 -5
- package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +89 -89
- package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +248 -248
- package/dist/types/components/ic-search-bar/ic-search-bar.types.d.ts +1 -1
- package/dist/types/components/ic-section-container/ic-section-container.d.ts +9 -9
- package/dist/types/components/ic-select/ic-select.d.ts +269 -269
- package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +103 -97
- package/dist/types/components/ic-side-navigation/ic-side-navigation.types.d.ts +10 -6
- package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +19 -19
- package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +31 -31
- package/dist/types/components/ic-step/ic-step.d.ts +51 -51
- package/dist/types/components/ic-stepper/ic-stepper.d.ts +40 -40
- package/dist/types/components/ic-switch/ic-switch.d.ts +73 -73
- package/dist/types/components/ic-switch/ic-switch.types.d.ts +2 -2
- package/dist/types/components/ic-tab/ic-tab.d.ts +51 -51
- package/dist/types/components/ic-tab/ic-tab.types.d.ts +4 -4
- package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +59 -59
- package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +19 -19
- package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +33 -33
- package/dist/types/components/ic-text-field/ic-text-field.d.ts +214 -214
- package/dist/types/components/ic-theme/ic-theme.d.ts +14 -14
- package/dist/types/components/ic-toast/ic-toast.d.ts +58 -58
- package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +16 -15
- package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +54 -50
- package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +77 -72
- package/dist/types/components/ic-typography/ic-typography.d.ts +54 -54
- package/dist/types/components.d.ts +397 -3
- package/dist/types/stencil-public-runtime.d.ts +29 -0
- package/dist/types/testspec.setup.d.ts +7 -7
- package/dist/types/utils/constants.d.ts +26 -26
- package/dist/types/utils/helpers.d.ts +7 -7
- package/dist/types/utils/types.d.ts +31 -31
- package/hydrate/index.d.ts +2 -2
- package/hydrate/index.js +15870 -14095
- package/package.json +5 -4
- package/vscode-data.json +3939 -0
- package/dist/cjs/helpers-0d63359f.js.map +0 -1
- package/dist/cjs/index-4f8c900f.js.map +0 -1
- package/dist/cjs/types-7d67439f.js +0 -16
- package/dist/core/p-03329fd0.entry.js +0 -2
- package/dist/core/p-03329fd0.entry.js.map +0 -1
- package/dist/core/p-24da56e7.entry.js +0 -2
- package/dist/core/p-24da56e7.entry.js.map +0 -1
- package/dist/core/p-39c8111d.entry.js +0 -2
- package/dist/core/p-39c8111d.entry.js.map +0 -1
- package/dist/core/p-3a15202f.entry.js.map +0 -1
- package/dist/core/p-4bc35224.entry.js.map +0 -1
- package/dist/core/p-59bdafff.entry.js +0 -2
- package/dist/core/p-59bdafff.entry.js.map +0 -1
- package/dist/core/p-6c376756.entry.js +0 -2
- package/dist/core/p-6c376756.entry.js.map +0 -1
- package/dist/core/p-717907de.entry.js +0 -2
- package/dist/core/p-717907de.entry.js.map +0 -1
- package/dist/core/p-752f0f9a.entry.js.map +0 -1
- package/dist/core/p-9d124fc7.js +0 -3
- package/dist/core/p-9d124fc7.js.map +0 -1
- package/dist/core/p-c0719bf4.entry.js +0 -2
- package/dist/core/p-c0719bf4.entry.js.map +0 -1
- package/dist/core/p-c0c62df4.entry.js.map +0 -1
- package/dist/core/p-ca6073be.entry.js.map +0 -1
- package/dist/core/p-e9ddb8cd.entry.js +0 -2
- package/dist/core/p-e9ddb8cd.entry.js.map +0 -1
- package/dist/esm/helpers-24f6e762.js.map +0 -1
- package/dist/esm/index-813020f1.js.map +0 -1
- package/dist/esm/types-b2398b37.js +0 -16
- /package/dist/core/{p-7ce86152.entry.js.map → p-056f8a67.entry.js.map} +0 -0
- /package/dist/core/{p-08b59078.entry.js.map → p-11736fbe.entry.js.map} +0 -0
- /package/dist/core/{p-5ccbb042.entry.js.map → p-15624e08.entry.js.map} +0 -0
- /package/dist/core/{p-5fcd202e.entry.js.map → p-15ef0674.entry.js.map} +0 -0
- /package/dist/core/{p-88ea1e49.entry.js.map → p-180e36b1.entry.js.map} +0 -0
- /package/dist/core/{p-43af3cf6.entry.js.map → p-22c024ee.entry.js.map} +0 -0
- /package/dist/core/{p-613aa265.js.map → p-26b7b18f.js.map} +0 -0
- /package/dist/core/{p-932fb4b7.entry.js.map → p-287ab47c.entry.js.map} +0 -0
- /package/dist/core/{p-69948c3e.entry.js.map → p-2b24b4bf.entry.js.map} +0 -0
- /package/dist/core/{p-9f6ffced.entry.js.map → p-31969be6.entry.js.map} +0 -0
- /package/dist/core/{p-475b7bd2.entry.js.map → p-335fc5e4.entry.js.map} +0 -0
- /package/dist/core/{p-c9ef9f5c.entry.js.map → p-366bcb17.entry.js.map} +0 -0
- /package/dist/core/{p-ed256f1d.entry.js.map → p-3a0ef91e.entry.js.map} +0 -0
- /package/dist/core/{p-cb5f19ea.entry.js.map → p-51f9f329.entry.js.map} +0 -0
- /package/dist/core/{p-f019219c.entry.js.map → p-529d8955.entry.js.map} +0 -0
- /package/dist/core/{p-b879fa3e.entry.js.map → p-5c7e339f.entry.js.map} +0 -0
- /package/dist/core/{p-2c30b583.entry.js.map → p-60c4604f.entry.js.map} +0 -0
- /package/dist/core/{p-99fad66b.entry.js.map → p-6bc431b2.entry.js.map} +0 -0
- /package/dist/core/{p-ccac1730.entry.js.map → p-6d3f9501.entry.js.map} +0 -0
- /package/dist/core/{p-536b3c97.entry.js.map → p-6eb0421d.entry.js.map} +0 -0
- /package/dist/core/{p-48525498.entry.js.map → p-765bdd98.entry.js.map} +0 -0
- /package/dist/core/{p-3a814fc4.entry.js.map → p-7f887c1e.entry.js.map} +0 -0
- /package/dist/core/{p-e3bffcae.entry.js.map → p-94e88827.entry.js.map} +0 -0
- /package/dist/core/{p-8fb4f0c0.js.map → p-95a864bf.js.map} +0 -0
- /package/dist/core/{p-eb4641a9.entry.js.map → p-96da1e85.entry.js.map} +0 -0
- /package/dist/core/{p-69d15528.entry.js.map → p-988991d3.entry.js.map} +0 -0
- /package/dist/core/{p-0c82048e.entry.js.map → p-9c30720d.entry.js.map} +0 -0
- /package/dist/core/{p-a76912b0.entry.js.map → p-aa0a9870.entry.js.map} +0 -0
- /package/dist/core/{p-76563540.entry.js.map → p-ad36a704.entry.js.map} +0 -0
- /package/dist/core/{p-d80f99e0.entry.js.map → p-b0088956.entry.js.map} +0 -0
- /package/dist/core/{p-2265e418.entry.js.map → p-b6a575c3.entry.js.map} +0 -0
- /package/dist/core/{p-fbc8a739.entry.js.map → p-b9736cf4.entry.js.map} +0 -0
- /package/dist/core/{p-025f9d2a.entry.js.map → p-b99f9e89.entry.js.map} +0 -0
- /package/dist/core/{p-b0ce60a0.entry.js.map → p-c2452388.entry.js.map} +0 -0
- /package/dist/core/{p-345fe84a.entry.js.map → p-c770e7a2.entry.js.map} +0 -0
- /package/dist/core/{p-748159fe.entry.js.map → p-ca48e97a.entry.js.map} +0 -0
- /package/dist/core/{p-5a3ca50a.entry.js.map → p-cd8de4c5.entry.js.map} +0 -0
- /package/dist/core/{p-a4397df4.entry.js.map → p-cfc930f6.entry.js.map} +0 -0
- /package/dist/core/{p-9ff57f09.entry.js.map → p-e5abfadd.entry.js.map} +0 -0
- /package/dist/core/{p-41c6eaa1.entry.js.map → p-e9738c74.entry.js.map} +0 -0
- /package/dist/core/{p-e2fd542e.entry.js.map → p-edd29edc.entry.js.map} +0 -0
- /package/dist/core/{p-657513b5.entry.js.map → p-ee97e2a5.entry.js.map} +0 -0
- /package/dist/core/{p-8b18346a.entry.js.map → p-f0809037.entry.js.map} +0 -0
- /package/dist/core/{p-5bb6c79b.entry.js.map → p-f2e6b9ef.entry.js.map} +0 -0
- /package/dist/core/{p-cf4bacee.entry.js.map → p-fdb4b48f.entry.js.map} +0 -0
@@ -9,723 +9,723 @@ import { d as defineCustomElement$1 } from './ic-typography2.js';
|
|
9
9
|
const icMenuCss = "html.sc-ic-menu{line-height:1.15;-webkit-text-size-adjust:100%}body.sc-ic-menu{margin:0}main.sc-ic-menu{display:block}h1.sc-ic-menu{font-size:2em;margin:0.67em 0}hr.sc-ic-menu{box-sizing:content-box;height:0;overflow:visible}pre.sc-ic-menu{font-family:monospace, monospace;font-size:1em}a.sc-ic-menu{background-color:transparent}abbr[title].sc-ic-menu{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b.sc-ic-menu,strong.sc-ic-menu{font-weight:bolder}code.sc-ic-menu,kbd.sc-ic-menu,samp.sc-ic-menu{font-family:monospace, monospace;font-size:1em}small.sc-ic-menu{font-size:80%}sub.sc-ic-menu,sup.sc-ic-menu{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub.sc-ic-menu{bottom:-0.25em}sup.sc-ic-menu{top:-0.5em}img.sc-ic-menu{border-style:none}button.sc-ic-menu,input.sc-ic-menu,optgroup.sc-ic-menu,select.sc-ic-menu,textarea.sc-ic-menu{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button.sc-ic-menu,input.sc-ic-menu{overflow:visible}button.sc-ic-menu,select.sc-ic-menu{text-transform:none}button.sc-ic-menu,[type=\"button\"].sc-ic-menu,[type=\"reset\"].sc-ic-menu,[type=\"submit\"].sc-ic-menu{-webkit-appearance:button}button.sc-ic-menu::-moz-focus-inner,[type=\"button\"].sc-ic-menu::-moz-focus-inner,[type=\"reset\"].sc-ic-menu::-moz-focus-inner,[type=\"submit\"].sc-ic-menu::-moz-focus-inner{border-style:none;padding:0}button.sc-ic-menu:-moz-focusring,[type=\"button\"].sc-ic-menu:-moz-focusring,[type=\"reset\"].sc-ic-menu:-moz-focusring,[type=\"submit\"].sc-ic-menu:-moz-focusring{outline:1px dotted ButtonText}fieldset.sc-ic-menu{padding:0.35em 0.75em 0.625em}legend.sc-ic-menu{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress.sc-ic-menu{vertical-align:baseline}textarea.sc-ic-menu{overflow:auto}[type=\"checkbox\"].sc-ic-menu,[type=\"radio\"].sc-ic-menu{box-sizing:border-box;padding:0}[type=\"number\"].sc-ic-menu::-webkit-inner-spin-button,[type=\"number\"].sc-ic-menu::-webkit-outer-spin-button{height:auto}[type=\"search\"].sc-ic-menu{-webkit-appearance:textfield;outline-offset:-2px}[type=\"search\"].sc-ic-menu::-webkit-search-decoration{-webkit-appearance:none}.sc-ic-menu::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details.sc-ic-menu{display:block}summary.sc-ic-menu{display:list-item}template.sc-ic-menu{display:none}[hidden].sc-ic-menu{display:none}html.sc-ic-menu,body.sc-ic-menu,div.sc-ic-menu,span.sc-ic-menu,applet.sc-ic-menu,object.sc-ic-menu,iframe.sc-ic-menu,h1.sc-ic-menu,h2.sc-ic-menu,h3.sc-ic-menu,h4.sc-ic-menu,h5.sc-ic-menu,h6.sc-ic-menu,p.sc-ic-menu,blockquote.sc-ic-menu,pre.sc-ic-menu,a.sc-ic-menu,abbr.sc-ic-menu,acronym.sc-ic-menu,address.sc-ic-menu,big.sc-ic-menu,cite.sc-ic-menu,code.sc-ic-menu,del.sc-ic-menu,dfn.sc-ic-menu,em.sc-ic-menu,img.sc-ic-menu,ins.sc-ic-menu,kbd.sc-ic-menu,q.sc-ic-menu,s.sc-ic-menu,samp.sc-ic-menu,small.sc-ic-menu,strike.sc-ic-menu,strong.sc-ic-menu,sub.sc-ic-menu,sup.sc-ic-menu,tt.sc-ic-menu,var.sc-ic-menu,b.sc-ic-menu,u.sc-ic-menu,i.sc-ic-menu,center.sc-ic-menu,dl.sc-ic-menu,dt.sc-ic-menu,dd.sc-ic-menu,ol.sc-ic-menu,ul.sc-ic-menu,li.sc-ic-menu,fieldset.sc-ic-menu,form.sc-ic-menu,label.sc-ic-menu,legend.sc-ic-menu,table.sc-ic-menu,caption.sc-ic-menu,tbody.sc-ic-menu,tfoot.sc-ic-menu,thead.sc-ic-menu,tr.sc-ic-menu,th.sc-ic-menu,td.sc-ic-menu,article.sc-ic-menu,aside.sc-ic-menu,canvas.sc-ic-menu,details.sc-ic-menu,embed.sc-ic-menu,figure.sc-ic-menu,figcaption.sc-ic-menu,footer.sc-ic-menu,header.sc-ic-menu,hgroup.sc-ic-menu,menu.sc-ic-menu,nav.sc-ic-menu,output.sc-ic-menu,ruby.sc-ic-menu,section.sc-ic-menu,summary.sc-ic-menu,time.sc-ic-menu,mark.sc-ic-menu,audio.sc-ic-menu,video.sc-ic-menu{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}@media (prefers-reduced-motion: no-preference){.open.sc-ic-menu-h .menu.sc-ic-menu{transition:max-height var(--ic-transition-duration-slow)}}.sc-ic-menu-h{border-radius:var(--ic-border-radius);max-height:0;width:var(--input-width, 20rem);color:var(--ic-color-primary-text);background-color:var(--ic-architectural-white);position:relative;z-index:var(--ic-z-index-menu);box-sizing:border-box;box-shadow:var(--ic-elevation-overlay)}.sc-ic-menu-h:not(.no-focus):focus-within{box-shadow:var(--ic-border-focus)}#retry-button.sc-ic-menu::part(button){height:var(--ic-space-lg)}.small.sc-ic-menu #retry-button.sc-ic-menu::part(button){height:var(--ic-space-md)}.on-dialog.sc-ic-menu-h{inset:auto !important}.menu.sc-ic-menu{text-decoration:none;list-style-type:none;border:var(--ic-border-width) solid var(--ic-architectural-400);border-radius:var(--ic-border-radius);background-color:var(--ic-architectural-white);visibility:hidden;max-height:0;overflow-y:hidden}.menu-scroll.sc-ic-menu{overflow-y:auto}.menu.sc-ic-menu:focus-visible{outline:none}.open.sc-ic-menu-h{max-height:none;display:block}.open.sc-ic-menu-h .menu.sc-ic-menu{visibility:visible;max-height:20.125rem}.full-width.sc-ic-menu-h{width:100%}.option.sc-ic-menu{padding:0.5rem 0.438rem;cursor:pointer;display:flex;align-items:center}.option.sc-ic-menu:not(.loading-option){justify-content:space-between}.small.sc-ic-menu-h .option.sc-ic-menu{padding:0.25rem 0.438rem}.option.sc-ic-menu:last-child{border-radius:0 0 var(--ic-space-1px) var(--ic-space-1px)}.option.sc-ic-menu:first-child{border-radius:var(--ic-space-1px) var(--ic-space-1px) 0 0}.option.sc-ic-menu:not(.disabled-option):hover{background-color:var(--ic-action-dark-bg-hover)}.option.sc-ic-menu:not(.disabled-option):active{background-color:var(--ic-action-dark-bg-active)}.option.sc-ic-menu:focus-visible{outline:var(--ic-hc-focus-outline)}.option.sc-ic-menu:not(.disabled-option) .option-description.sc-ic-menu{color:var(--ic-color-secondary-text)}.option.sc-ic-menu .option-label.sc-ic-menu{display:flex;flex-direction:row;align-items:top}.option.sc-ic-menu .option-element.sc-ic-menu{margin-top:var(--ic-space-xxs)}.option.sc-ic-menu .option-icon.sc-ic-menu{height:var(--ic-space-md);width:var(--ic-space-md);margin-top:var(--ic-space-xxs);margin-right:var(--ic-space-xxxs)}.option-text-container.sc-ic-menu{pointer-events:none}.option.loading-option.sc-ic-menu .option-text-container.sc-ic-menu{margin-left:0.625rem;color:var(--ic-color-secondary-text)}.error-icon-svg.sc-ic-menu{height:var(--ic-space-md);width:var(--ic-space-md);fill:var(--ic-status-error);align-self:center;display:flex;margin-right:calc(var(--ic-space-xxs) * 1.2)}.loading-error-info.sc-ic-menu{display:flex}.check-icon.sc-ic-menu{height:var(--ic-space-lg);width:var(--ic-space-lg);margin-left:0.5rem;pointer-events:none}.focused-option.sc-ic-menu .check-icon.sc-ic-menu *.sc-ic-menu{fill:currentcolor}.option-group-title.sc-ic-menu{padding:1.5rem 0.438rem 0.5rem;color:var(--ic-color-tertiary-text)}.small.sc-ic-menu-h .option-group-title.sc-ic-menu{padding:0.75rem 0.438rem 0.25rem}.last-recommended-option.sc-ic-menu{border-bottom:var(--ic-border-default)}.disabled-option.sc-ic-menu{color:var(--ic-architectural-200);cursor:default;pointer-events:none}.focused-option.sc-ic-menu,.focused-option.sc-ic-menu .option-description.sc-ic-menu{background-color:var(--ic-focus-blue) !important;color:var(--ic-color-white-text) !important}.no-results.sc-ic-menu-h li.sc-ic-menu{cursor:no-drop}.no-results.sc-ic-menu-h li.sc-ic-menu:hover{background-color:transparent}@media (forced-colors: active){.focused-option.sc-ic-menu:focus{outline:none;border:0.125rem solid transparent}}";
|
10
10
|
|
11
11
|
const Menu = /*@__PURE__*/ proxyCustomElement(class Menu extends HTMLElement {
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
this.preventClickOpen = false;
|
31
|
-
this.ungroupedOptions = [];
|
32
|
-
this.handleClearListener = () => {
|
33
|
-
this.optionHighlighted = "";
|
34
|
-
};
|
35
|
-
this.handleSubmitSearch = () => {
|
36
|
-
const highlightedOptionIndex = this.options.findIndex((option) => option[this.valueField] === this.optionHighlighted);
|
37
|
-
this.setInputValue(highlightedOptionIndex);
|
38
|
-
};
|
39
|
-
this.handleMenuChange = (open, focusInput) => {
|
40
|
-
this.menuStateChange.emit({ open, focusInput });
|
41
|
-
if (!open && focusInput !== false) {
|
42
|
-
this.inputEl.focus();
|
12
|
+
constructor() {
|
13
|
+
super();
|
14
|
+
this.__registerHost();
|
15
|
+
this.menuKeyPress = createEvent(this, "menuKeyPress", 7);
|
16
|
+
this.menuOptionId = createEvent(this, "menuOptionId", 7);
|
17
|
+
this.menuOptionSelect = createEvent(this, "menuOptionSelect", 7);
|
18
|
+
this.menuStateChange = createEvent(this, "menuStateChange", 7);
|
19
|
+
this.menuValueChange = createEvent(this, "menuValueChange", 7);
|
20
|
+
this.retryButtonClicked = createEvent(this, "retryButtonClicked", 7);
|
21
|
+
this.timeoutBlur = createEvent(this, "timeoutBlur", 7);
|
22
|
+
this.ungroupedOptionsSet = createEvent(this, "ungroupedOptionsSet", 7);
|
23
|
+
this.disabledOptionSelected = false;
|
24
|
+
this.hasPreviouslyBlurred = false;
|
25
|
+
this.hasTimedOut = false;
|
26
|
+
this.isLoading = false;
|
27
|
+
this.isSearchBar = false;
|
28
|
+
this.isSearchableSelect = false;
|
29
|
+
// Prevents menu re-opening immediately after it is closed on blur when clicking input.
|
43
30
|
this.preventClickOpen = false;
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
this.
|
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
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
switch (event.key) {
|
100
|
-
case "ArrowDown":
|
101
|
-
this.keyboardNav = true;
|
102
|
-
this.arrowBehaviour(event);
|
103
|
-
this.setNextOptionValue(selectedOptionIndex);
|
104
|
-
break;
|
105
|
-
case "ArrowUp":
|
106
|
-
this.keyboardNav = true;
|
107
|
-
this.arrowBehaviour(event);
|
108
|
-
this.setPreviousOptionValue(selectedOptionIndex);
|
109
|
-
break;
|
110
|
-
case " ":
|
111
|
-
case "Enter":
|
112
|
-
if (event.target.id !== "clear-button") {
|
31
|
+
this.ungroupedOptions = [];
|
32
|
+
this.handleClearListener = () => {
|
33
|
+
this.optionHighlighted = "";
|
34
|
+
};
|
35
|
+
this.handleSubmitSearch = () => {
|
36
|
+
const highlightedOptionIndex = this.options.findIndex((option) => option[this.valueField] === this.optionHighlighted);
|
37
|
+
this.setInputValue(highlightedOptionIndex);
|
38
|
+
};
|
39
|
+
this.handleMenuChange = (open, focusInput) => {
|
40
|
+
this.menuStateChange.emit({ open, focusInput });
|
41
|
+
if (!open && focusInput !== false) {
|
42
|
+
this.inputEl.focus();
|
43
|
+
this.preventClickOpen = false;
|
44
|
+
}
|
45
|
+
};
|
46
|
+
this.setNextOptionValue = (selectedOptionIndex) => {
|
47
|
+
if (this.ungroupedOptions[selectedOptionIndex + 1]) {
|
48
|
+
this.menuOptionSelect.emit({
|
49
|
+
value: this.ungroupedOptions[selectedOptionIndex + 1][this.valueField],
|
50
|
+
optionId: this.getOptionId(this.ungroupedOptions[selectedOptionIndex + 1][this.valueField]),
|
51
|
+
});
|
52
|
+
}
|
53
|
+
else {
|
54
|
+
this.menuOptionSelect.emit({
|
55
|
+
value: this.ungroupedOptions[0][this.valueField],
|
56
|
+
optionId: this.getOptionId(this.ungroupedOptions[0][this.valueField]),
|
57
|
+
});
|
58
|
+
}
|
59
|
+
};
|
60
|
+
this.setPreviousOptionValue = (selectedOptionIndex) => {
|
61
|
+
if (this.ungroupedOptions[selectedOptionIndex - 1]) {
|
62
|
+
this.menuOptionSelect.emit({
|
63
|
+
value: this.ungroupedOptions[selectedOptionIndex - 1][this.valueField],
|
64
|
+
optionId: this.getOptionId(this.ungroupedOptions[selectedOptionIndex - 1][this.valueField]),
|
65
|
+
});
|
66
|
+
}
|
67
|
+
else {
|
68
|
+
this.menuOptionSelect.emit({
|
69
|
+
value: this.ungroupedOptions[this.ungroupedOptions.length - 1][this.valueField],
|
70
|
+
optionId: this.getOptionId(this.ungroupedOptions[this.ungroupedOptions.length - 1][this.valueField]),
|
71
|
+
});
|
72
|
+
}
|
73
|
+
};
|
74
|
+
this.getParentEl = (parent) => {
|
75
|
+
if (parent.tagName === "IC-SEARCH-BAR") {
|
76
|
+
this.isSearchBar = true;
|
77
|
+
}
|
78
|
+
else if (parent.tagName === "IC-SELECT" &&
|
79
|
+
parent.getAttribute("searchable") !== null &&
|
80
|
+
parent.getAttribute("searchable") !== undefined) {
|
81
|
+
this.isSearchableSelect = true;
|
82
|
+
}
|
83
|
+
};
|
84
|
+
this.arrowBehaviour = (event) => {
|
85
|
+
event.preventDefault();
|
113
86
|
this.handleMenuChange(true);
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
this.
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
87
|
+
};
|
88
|
+
this.setMenuOptions = () => this.isSearchBar ? this.options : this.ungroupedOptions;
|
89
|
+
this.setHighlightedOption = (highlightedIndex) => {
|
90
|
+
const menuOptions = this.setMenuOptions();
|
91
|
+
menuOptions[highlightedIndex] &&
|
92
|
+
!menuOptions[highlightedIndex].timedOut &&
|
93
|
+
(this.optionHighlighted =
|
94
|
+
menuOptions[highlightedIndex][this.valueField] || undefined);
|
95
|
+
};
|
96
|
+
this.autoSetInputValueKeyboardOpen = (event) => {
|
97
|
+
const selectedOptionIndex = this.ungroupedOptions.findIndex((option) => option[this.valueField] === this.value);
|
98
|
+
this.keyboardNav = false;
|
99
|
+
switch (event.key) {
|
100
|
+
case "ArrowDown":
|
101
|
+
this.keyboardNav = true;
|
102
|
+
this.arrowBehaviour(event);
|
103
|
+
this.setNextOptionValue(selectedOptionIndex);
|
104
|
+
break;
|
105
|
+
case "ArrowUp":
|
106
|
+
this.keyboardNav = true;
|
107
|
+
this.arrowBehaviour(event);
|
108
|
+
this.setPreviousOptionValue(selectedOptionIndex);
|
109
|
+
break;
|
110
|
+
case " ":
|
111
|
+
case "Enter":
|
112
|
+
if (event.target.id !== "clear-button") {
|
113
|
+
this.handleMenuChange(true);
|
114
|
+
}
|
115
|
+
break;
|
116
|
+
}
|
117
|
+
};
|
118
|
+
this.manSetInputValueKeyboardOpen = (event) => {
|
119
|
+
const menuOptions = this.setMenuOptions();
|
120
|
+
this.keyboardNav = false;
|
121
|
+
const highlightedOptionIndex = menuOptions.findIndex((option) => option[this.valueField] === this.optionHighlighted);
|
122
|
+
const getOptionId = (index) => { var _a; return (_a = Array.from(this.host.querySelectorAll("li"))[index]) === null || _a === void 0 ? void 0 : _a.id; };
|
123
|
+
const isOpen = this.isSearchBar || this.isSearchableSelect || this.open;
|
124
|
+
switch (event.key) {
|
125
|
+
case "ArrowDown":
|
126
|
+
this.keyboardNav = true;
|
127
|
+
this.arrowBehaviour(event);
|
128
|
+
if (highlightedOptionIndex < menuOptions.length - 1) {
|
129
|
+
this.setHighlightedOption(highlightedOptionIndex + 1);
|
130
|
+
this.menuOptionId.emit({
|
131
|
+
optionId: getOptionId(highlightedOptionIndex + 1),
|
132
|
+
});
|
133
|
+
}
|
134
|
+
else {
|
135
|
+
this.setHighlightedOption(0);
|
136
|
+
this.menuOptionId.emit({
|
137
|
+
optionId: getOptionId(0),
|
138
|
+
});
|
139
|
+
}
|
140
|
+
this.preventIncorrectTabOrder = false;
|
141
|
+
this.focusFromSearchKeypress = false;
|
142
|
+
break;
|
143
|
+
case "ArrowUp":
|
144
|
+
this.keyboardNav = true;
|
145
|
+
this.arrowBehaviour(event);
|
146
|
+
if (highlightedOptionIndex <= 0 ||
|
147
|
+
highlightedOptionIndex > menuOptions.length + 1) {
|
148
|
+
this.setHighlightedOption(menuOptions.length - 1);
|
149
|
+
this.menuOptionId.emit({
|
150
|
+
optionId: getOptionId(menuOptions.length - 1),
|
151
|
+
});
|
152
|
+
}
|
153
|
+
else {
|
154
|
+
this.setHighlightedOption(highlightedOptionIndex - 1);
|
155
|
+
this.menuOptionId.emit({
|
156
|
+
optionId: getOptionId(highlightedOptionIndex - 1),
|
157
|
+
});
|
158
|
+
}
|
159
|
+
this.preventIncorrectTabOrder = false;
|
160
|
+
this.focusFromSearchKeypress = false;
|
161
|
+
break;
|
162
|
+
case "Home":
|
163
|
+
this.keyboardNav = true;
|
164
|
+
event.preventDefault();
|
165
|
+
this.arrowBehaviour(event);
|
166
|
+
this.setHighlightedOption(0);
|
167
|
+
this.menuOptionId.emit({
|
168
|
+
optionId: getOptionId(0),
|
169
|
+
});
|
170
|
+
break;
|
171
|
+
case "End":
|
172
|
+
this.keyboardNav = true;
|
173
|
+
event.preventDefault();
|
174
|
+
this.arrowBehaviour(event);
|
175
|
+
this.setHighlightedOption(menuOptions.length - 1);
|
176
|
+
this.menuOptionId.emit({
|
177
|
+
optionId: getOptionId(menuOptions.length - 1),
|
178
|
+
});
|
179
|
+
break;
|
180
|
+
case " ":
|
181
|
+
if (this.isSearchBar || this.isSearchableSelect) {
|
182
|
+
break;
|
183
|
+
}
|
184
|
+
else {
|
185
|
+
if (event.target.id !== "clear-button") {
|
186
|
+
this.handleMenuChange(true);
|
187
|
+
}
|
188
|
+
}
|
189
|
+
break;
|
190
|
+
case "Enter":
|
191
|
+
event.preventDefault();
|
192
|
+
if (isOpen) {
|
193
|
+
if (highlightedOptionIndex >= 0) {
|
194
|
+
if (menuOptions[highlightedOptionIndex] !== undefined) {
|
195
|
+
if (this.isSearchBar &&
|
196
|
+
menuOptions[highlightedOptionIndex].disabled === true) {
|
197
|
+
this.disabledOptionSelected = true;
|
198
|
+
}
|
199
|
+
else {
|
200
|
+
this.setInputValue(highlightedOptionIndex);
|
201
|
+
this.value =
|
202
|
+
menuOptions[highlightedOptionIndex][this.valueField];
|
203
|
+
}
|
204
|
+
}
|
205
|
+
}
|
206
|
+
else {
|
207
|
+
this.setInputValue(highlightedOptionIndex);
|
208
|
+
}
|
209
|
+
}
|
210
|
+
else {
|
211
|
+
this.handleMenuChange(true);
|
212
|
+
}
|
213
|
+
break;
|
214
|
+
case "Escape":
|
215
|
+
if (this.open) {
|
216
|
+
event.stopImmediatePropagation();
|
217
|
+
}
|
218
|
+
this.handleMenuChange(false);
|
219
|
+
this.menuOptionId.emit({ optionId: undefined });
|
220
|
+
break;
|
221
|
+
case "Shift":
|
222
|
+
case "Tab":
|
223
|
+
if (this.isSearchBar) {
|
224
|
+
this.keyboardNav = true;
|
225
|
+
}
|
226
|
+
this.preventIncorrectTabOrder = true;
|
227
|
+
break;
|
228
|
+
case "Backspace":
|
229
|
+
if (this.isSearchBar) {
|
230
|
+
this.parentEl.setFocus();
|
231
|
+
if (this.searchMode === "navigation")
|
232
|
+
this.setHighlightedOption(0);
|
233
|
+
}
|
234
|
+
else if (this.isSearchableSelect) {
|
235
|
+
this.parentEl.setFocus();
|
236
|
+
}
|
237
|
+
this.focusFromSearchKeypress = true;
|
238
|
+
break;
|
239
|
+
default:
|
240
|
+
if (event.key !== "Tab") {
|
241
|
+
if (this.isSearchBar) {
|
242
|
+
this.parentEl.setFocus();
|
243
|
+
if (this.searchMode === "navigation")
|
244
|
+
this.setHighlightedOption(0);
|
245
|
+
}
|
246
|
+
else if (this.isSearchableSelect) {
|
247
|
+
this.parentEl.setFocus();
|
248
|
+
}
|
249
|
+
this.focusFromSearchKeypress = true;
|
250
|
+
}
|
251
|
+
break;
|
252
|
+
}
|
253
|
+
};
|
254
|
+
this.setInputValue = (highlightedOptionIndex) => {
|
255
|
+
const menuOptions = this.setMenuOptions();
|
256
|
+
if (menuOptions[highlightedOptionIndex] !== undefined) {
|
257
|
+
this.menuOptionSelect.emit({
|
258
|
+
value: menuOptions[highlightedOptionIndex][this.valueField],
|
259
|
+
});
|
260
|
+
this.optionHighlighted = undefined;
|
261
|
+
this.menuOptionId.emit({ optionId: undefined });
|
262
|
+
}
|
263
|
+
if (!this.hasTimedOut)
|
264
|
+
this.handleMenuChange(false);
|
265
|
+
else
|
266
|
+
this.parentEl.setFocus();
|
267
|
+
};
|
268
|
+
this.handleOptionClick = (event) => {
|
269
|
+
const { value, label } = event.target.dataset;
|
270
|
+
this.menuOptionSelect.emit({ value, label });
|
271
|
+
this.handleMenuChange(false);
|
272
|
+
};
|
273
|
+
this.handleRetry = () => {
|
274
|
+
this.retryButtonClicked.emit({ value: this.value });
|
275
|
+
};
|
276
|
+
this.handleRetryKeyDown = (ev) => {
|
277
|
+
if (ev.key === "Enter" || ev.key === " ") {
|
278
|
+
ev.preventDefault();
|
279
|
+
this.retryButtonClicked.emit({ value: this.value, keyPressed: ev.key });
|
280
|
+
}
|
281
|
+
};
|
282
|
+
this.handleBlur = (event) => {
|
283
|
+
if (event.relatedTarget !== this.inputEl) {
|
284
|
+
if (!this.menu.contains(event.relatedTarget)) {
|
285
|
+
this.handleMenuChange(false, this.hasPreviouslyBlurred);
|
203
286
|
}
|
204
|
-
}
|
205
287
|
}
|
206
288
|
else {
|
207
|
-
|
289
|
+
this.handleMenuChange(false);
|
290
|
+
this.preventClickOpen = true;
|
208
291
|
}
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
this.handleMenuChange(false);
|
219
|
-
this.menuOptionId.emit({ optionId: undefined });
|
220
|
-
break;
|
221
|
-
case "Shift":
|
222
|
-
case "Tab":
|
223
|
-
if (this.isSearchBar) {
|
224
|
-
this.keyboardNav = true;
|
225
|
-
}
|
226
|
-
this.preventIncorrectTabOrder = true;
|
227
|
-
break;
|
228
|
-
case "Backspace":
|
229
|
-
if (this.isSearchBar) {
|
230
|
-
this.parentEl.setFocus();
|
231
|
-
if (this.searchMode === "navigation")
|
232
|
-
this.setHighlightedOption(0);
|
233
|
-
}
|
234
|
-
else if (this.isSearchableSelect) {
|
235
|
-
this.parentEl.setFocus();
|
236
|
-
}
|
237
|
-
this.focusFromSearchKeypress = true;
|
238
|
-
break;
|
239
|
-
default:
|
240
|
-
if (event.key !== "Tab") {
|
241
|
-
if (this.isSearchBar) {
|
242
|
-
this.parentEl.setFocus();
|
243
|
-
if (this.searchMode === "navigation")
|
244
|
-
this.setHighlightedOption(0);
|
292
|
+
if (!this.isSearchBar)
|
293
|
+
this.hasPreviouslyBlurred = !!event.relatedTarget;
|
294
|
+
};
|
295
|
+
this.handleMouseDown = (event) => {
|
296
|
+
event.preventDefault();
|
297
|
+
};
|
298
|
+
this.handleMenuKeyDown = (event) => {
|
299
|
+
if (this.activationType === "automatic") {
|
300
|
+
this.autoSetValueOnMenuKeyDown(event);
|
245
301
|
}
|
246
|
-
else if (this.
|
247
|
-
|
302
|
+
else if (this.activationType === "manual" && !this.isSearchBar) {
|
303
|
+
this.manSetInputValueKeyboardOpen(event);
|
248
304
|
}
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
305
|
+
};
|
306
|
+
this.emitMenuKeyPress = (isNavKey, key) => {
|
307
|
+
this.menuKeyPress.emit({ isNavKey: isNavKey, key: key });
|
308
|
+
};
|
309
|
+
this.autoSetValueOnMenuKeyDown = (event) => {
|
310
|
+
event.cancelBubble = true;
|
311
|
+
const selectedOptionIndex = this.ungroupedOptions.findIndex((option) => option[this.valueField] === this.value);
|
312
|
+
const isSearchableSelect = this.inputEl.tagName === "INPUT";
|
313
|
+
this.keyboardNav = false;
|
314
|
+
switch (event.key) {
|
315
|
+
case " ":
|
316
|
+
event.preventDefault();
|
317
|
+
break;
|
318
|
+
case "ArrowUp":
|
319
|
+
if (!this.hasTimedOut) {
|
320
|
+
event.preventDefault();
|
321
|
+
this.setPreviousOptionValue(selectedOptionIndex);
|
322
|
+
this.keyboardNav = true;
|
323
|
+
}
|
324
|
+
break;
|
325
|
+
case "ArrowDown":
|
326
|
+
if (!this.hasTimedOut) {
|
327
|
+
event.preventDefault();
|
328
|
+
this.setNextOptionValue(selectedOptionIndex);
|
329
|
+
this.keyboardNav = true;
|
330
|
+
}
|
331
|
+
break;
|
332
|
+
case "Home":
|
333
|
+
this.menuOptionSelect.emit({
|
334
|
+
value: this.ungroupedOptions[0][this.valueField],
|
335
|
+
});
|
336
|
+
this.keyboardNav = true;
|
337
|
+
break;
|
338
|
+
case "End":
|
339
|
+
this.menuOptionSelect.emit({
|
340
|
+
value: this.ungroupedOptions[this.ungroupedOptions.length - 1][this.valueField],
|
341
|
+
});
|
342
|
+
this.keyboardNav = true;
|
343
|
+
break;
|
344
|
+
case "Enter":
|
345
|
+
!this.hasTimedOut && this.handleMenuChange(false);
|
346
|
+
break;
|
347
|
+
case "Escape":
|
348
|
+
this.handleMenuChange(false);
|
349
|
+
break;
|
350
|
+
case "Backspace":
|
351
|
+
if (isSearchableSelect) {
|
352
|
+
this.inputEl.focus();
|
353
|
+
}
|
354
|
+
break;
|
355
|
+
case "Shift":
|
356
|
+
break;
|
357
|
+
default:
|
358
|
+
if (isSearchableSelect && event.key !== "Tab" && !this.hasTimedOut) {
|
359
|
+
this.inputEl.focus();
|
360
|
+
}
|
361
|
+
if (event.key.length === 1) {
|
362
|
+
this.keyboardNav = true;
|
363
|
+
}
|
364
|
+
break;
|
365
|
+
}
|
366
|
+
this.emitMenuKeyPress(this.keyboardNav, event.key);
|
367
|
+
};
|
368
|
+
this.handleMenuKeyUp = (event) => {
|
369
|
+
if (event.key === "Tab" && event.shiftKey) {
|
370
|
+
this.preventClickOpen = false;
|
371
|
+
}
|
372
|
+
if (event.key === "Enter" && this.disabledOptionSelected) {
|
373
|
+
this.disabledOptionSelected = false;
|
374
|
+
event.stopImmediatePropagation();
|
375
|
+
}
|
376
|
+
};
|
377
|
+
this.getOptionId = (value) => {
|
378
|
+
return `${this.menuId}-${value}`;
|
379
|
+
};
|
380
|
+
this.getOptionAriaLabel = (option, parentOption) => {
|
381
|
+
let ariaLabel = option[this.labelField];
|
382
|
+
if (option.description) {
|
383
|
+
ariaLabel = `${ariaLabel}, ${option.description}`;
|
384
|
+
}
|
385
|
+
if (option.element) {
|
386
|
+
ariaLabel = `${ariaLabel}, ${option.element.ariaLabel}`;
|
387
|
+
}
|
388
|
+
if (parentOption) {
|
389
|
+
return `${ariaLabel}, ${parentOption[this.labelField]} group`;
|
390
|
+
}
|
391
|
+
else {
|
392
|
+
return ariaLabel;
|
393
|
+
}
|
394
|
+
};
|
395
|
+
this.getSortedOptions = (options) => {
|
396
|
+
let sorted = [];
|
397
|
+
if (options.sort) {
|
398
|
+
sorted = options.sort((optionA, optionB) => optionA.recommended && !optionB.recommended ? -1 : 0);
|
399
|
+
}
|
400
|
+
return sorted;
|
401
|
+
};
|
402
|
+
this.isManualMode = this.activationType === "manual";
|
403
|
+
this.scrollToSelected = (menu) => {
|
404
|
+
const selectedOption = this.selectOnEnter
|
405
|
+
? this.host.querySelector(`li[data-value="${this.optionHighlighted}"]`)
|
406
|
+
: menu.querySelector(".option[aria-selected]");
|
407
|
+
if (selectedOption) {
|
408
|
+
const elTop = selectedOption.offsetTop + selectedOption.offsetHeight;
|
409
|
+
if (elTop > menu.scrollTop + menu.offsetHeight ||
|
410
|
+
elTop < menu.scrollTop + menu.offsetHeight) {
|
411
|
+
menu.scrollTop = selectedOption.offsetTop;
|
412
|
+
}
|
413
|
+
selectedOption.focus();
|
414
|
+
}
|
415
|
+
};
|
416
|
+
this.loadUngroupedOptions = () => {
|
417
|
+
if (this.options.length > 0 && this.options.map) {
|
418
|
+
this.options.map((option) => {
|
419
|
+
if (option.children) {
|
420
|
+
option.children.map((option) => !option.disabled && this.ungroupedOptions.push(option));
|
421
|
+
}
|
422
|
+
else if (!option.disabled) {
|
423
|
+
this.ungroupedOptions.push(option);
|
424
|
+
}
|
425
|
+
});
|
426
|
+
}
|
427
|
+
this.ungroupedOptions = this.getSortedOptions(this.ungroupedOptions);
|
428
|
+
this.ungroupedOptionsSet.emit({ options: this.ungroupedOptions });
|
429
|
+
};
|
430
|
+
this.setMenuScrollbar = () => {
|
431
|
+
let optionsHeight = 0;
|
432
|
+
this.host
|
433
|
+
.querySelectorAll(".option")
|
434
|
+
.forEach((option) => (optionsHeight += option.clientHeight));
|
435
|
+
if (optionsHeight >= 320) {
|
436
|
+
this.menu.classList.add("menu-scroll");
|
437
|
+
}
|
438
|
+
};
|
439
|
+
this.handleTimeoutBlur = (ev) => {
|
440
|
+
this.timeoutBlur.emit({ ev });
|
441
|
+
};
|
442
|
+
this.optionContent = (option) => {
|
443
|
+
var _a;
|
444
|
+
return (h(Fragment, null, option.loading && h("ic-loading-indicator", { size: "icon" }), h("div", { class: "option-text-container" }, h("div", { class: "option-label" }, option.icon && (h("div", { class: "option-icon", innerHTML: option.icon, "aria-hidden": "true" })), h("ic-typography", { variant: "body", "aria-hidden": "true" }, h("p", null, option[this.labelField]))), option.description && (h("ic-typography", { id: `${this.getOptionId(option[this.valueField])}-description`, class: "option-description", variant: "caption", "aria-hidden": "true" }, h("p", null, option.description))), option.element && (h("div", { class: "option-element", innerHTML: option.element.component, "aria-hidden": "true" }))), !!option[this.valueField] &&
|
445
|
+
!!this.value &&
|
446
|
+
option[this.valueField].toLowerCase() === ((_a = this.value) === null || _a === void 0 ? void 0 : _a.toLowerCase()) &&
|
447
|
+
this.parentEl.tagName !== "IC-SEARCH-BAR" && (h("span", { class: "check-icon", innerHTML: checkIcon }))));
|
448
|
+
};
|
449
|
+
this.displayOption = (option, index, parentOption) => {
|
450
|
+
const { open, value, keyboardNav, isManualMode, initialOptionsListRender, optionHighlighted, options, } = this;
|
451
|
+
return (h("li", { id: this.getOptionId(option[this.valueField]), class: {
|
452
|
+
option: true,
|
453
|
+
"focused-option": isManualMode
|
454
|
+
? (keyboardNav || initialOptionsListRender) &&
|
455
|
+
option[this.valueField] === optionHighlighted
|
456
|
+
: keyboardNav && option[this.valueField] === value,
|
457
|
+
"last-recommended-option": option.recommended &&
|
458
|
+
options[index + 1] &&
|
459
|
+
!options[index + 1].recommended,
|
460
|
+
"disabled-option": option.disabled,
|
461
|
+
"loading-option": option.loading,
|
462
|
+
timeout: option.timedOut,
|
463
|
+
}, role: "option", tabindex: open &&
|
464
|
+
(option[this.valueField] === value ||
|
465
|
+
option[this.valueField] === optionHighlighted) &&
|
466
|
+
keyboardNav
|
467
|
+
? "0"
|
468
|
+
: "-1", "aria-label": this.getOptionAriaLabel(option, parentOption), "aria-selected": option[this.valueField] === value, "aria-disabled": option.disabled ? "true" : "false", onClick: !option.timedOut && !option.loading && this.handleOptionClick, onBlur: this.handleBlur, onMouseDown: this.handleMouseDown, "data-value": option[this.valueField], "data-label": option[this.labelField] }, option.timedOut ? (h(Fragment, null, h("div", { class: "loading-error-info" }, h("svg", { class: "error-icon-svg", "aria-labelledby": "error-title", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "#000000" }, h("title", { id: "error-title" }, "Error"), h("path", { d: "M0 0h24v24H0z", fill: "none" }), h("path", { d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z" })), h("ic-typography", { variant: "label" }, option[this.labelField])), h("ic-button", { size: "small", variant: "tertiary", onClick: this.handleRetry, onKeyDown: this.handleRetryKeyDown, onBlur: this.handleTimeoutBlur, id: "retry-button" }, "Retry"))) : (this.optionContent(option))));
|
469
|
+
};
|
470
|
+
this.focusFromSearchKeypress = false;
|
471
|
+
this.initialOptionsListRender = false;
|
472
|
+
this.keyboardNav = false;
|
260
473
|
this.optionHighlighted = undefined;
|
261
|
-
this.
|
262
|
-
|
263
|
-
|
264
|
-
this.
|
265
|
-
|
266
|
-
this.
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
this.retryButtonClicked.emit({ value: this.value, keyPressed: ev.key });
|
280
|
-
}
|
281
|
-
};
|
282
|
-
this.handleBlur = (event) => {
|
283
|
-
if (event.relatedTarget !== this.inputEl) {
|
284
|
-
if (!this.menu.contains(event.relatedTarget)) {
|
285
|
-
this.handleMenuChange(false, this.hasPreviouslyBlurred);
|
286
|
-
}
|
287
|
-
}
|
288
|
-
else {
|
289
|
-
this.handleMenuChange(false);
|
290
|
-
this.preventClickOpen = true;
|
291
|
-
}
|
292
|
-
if (!this.isSearchBar)
|
293
|
-
this.hasPreviouslyBlurred = !!event.relatedTarget;
|
294
|
-
};
|
295
|
-
this.handleMouseDown = (event) => {
|
296
|
-
event.preventDefault();
|
297
|
-
};
|
298
|
-
this.handleMenuKeyDown = (event) => {
|
299
|
-
if (this.activationType === "automatic") {
|
300
|
-
this.autoSetValueOnMenuKeyDown(event);
|
301
|
-
}
|
302
|
-
else if (this.activationType === "manual" && !this.isSearchBar) {
|
303
|
-
this.manSetInputValueKeyboardOpen(event);
|
304
|
-
}
|
305
|
-
};
|
306
|
-
this.emitMenuKeyPress = (isNavKey, key) => {
|
307
|
-
this.menuKeyPress.emit({ isNavKey: isNavKey, key: key });
|
308
|
-
};
|
309
|
-
this.autoSetValueOnMenuKeyDown = (event) => {
|
310
|
-
event.cancelBubble = true;
|
311
|
-
const selectedOptionIndex = this.ungroupedOptions.findIndex((option) => option[this.valueField] === this.value);
|
312
|
-
const isSearchableSelect = this.inputEl.tagName === "INPUT";
|
313
|
-
this.keyboardNav = false;
|
314
|
-
switch (event.key) {
|
315
|
-
case " ":
|
316
|
-
event.preventDefault();
|
317
|
-
break;
|
318
|
-
case "ArrowUp":
|
319
|
-
if (!this.hasTimedOut) {
|
320
|
-
event.preventDefault();
|
321
|
-
this.setPreviousOptionValue(selectedOptionIndex);
|
322
|
-
this.keyboardNav = true;
|
323
|
-
}
|
324
|
-
break;
|
325
|
-
case "ArrowDown":
|
326
|
-
if (!this.hasTimedOut) {
|
327
|
-
event.preventDefault();
|
328
|
-
this.setNextOptionValue(selectedOptionIndex);
|
329
|
-
this.keyboardNav = true;
|
330
|
-
}
|
331
|
-
break;
|
332
|
-
case "Home":
|
333
|
-
this.menuOptionSelect.emit({
|
334
|
-
value: this.ungroupedOptions[0][this.valueField],
|
335
|
-
});
|
336
|
-
this.keyboardNav = true;
|
337
|
-
break;
|
338
|
-
case "End":
|
339
|
-
this.menuOptionSelect.emit({
|
340
|
-
value: this.ungroupedOptions[this.ungroupedOptions.length - 1][this.valueField],
|
341
|
-
});
|
342
|
-
this.keyboardNav = true;
|
343
|
-
break;
|
344
|
-
case "Enter":
|
345
|
-
!this.hasTimedOut && this.handleMenuChange(false);
|
346
|
-
break;
|
347
|
-
case "Escape":
|
348
|
-
this.handleMenuChange(false);
|
349
|
-
break;
|
350
|
-
case "Backspace":
|
351
|
-
if (isSearchableSelect) {
|
352
|
-
this.inputEl.focus();
|
353
|
-
}
|
354
|
-
break;
|
355
|
-
case "Shift":
|
356
|
-
break;
|
357
|
-
default:
|
358
|
-
if (isSearchableSelect && event.key !== "Tab" && !this.hasTimedOut) {
|
359
|
-
this.inputEl.focus();
|
360
|
-
}
|
361
|
-
if (event.key.length === 1) {
|
362
|
-
this.keyboardNav = true;
|
363
|
-
}
|
364
|
-
break;
|
365
|
-
}
|
366
|
-
this.emitMenuKeyPress(this.keyboardNav, event.key);
|
367
|
-
};
|
368
|
-
this.handleMenuKeyUp = (event) => {
|
369
|
-
if (event.key === "Tab" && event.shiftKey) {
|
370
|
-
this.preventClickOpen = false;
|
371
|
-
}
|
372
|
-
if (event.key === "Enter" && this.disabledOptionSelected) {
|
373
|
-
this.disabledOptionSelected = false;
|
374
|
-
event.stopImmediatePropagation();
|
375
|
-
}
|
376
|
-
};
|
377
|
-
this.getOptionId = (value) => {
|
378
|
-
return `${this.menuId}-${value}`;
|
379
|
-
};
|
380
|
-
this.getOptionAriaLabel = (option, parentOption) => {
|
381
|
-
let ariaLabel = option[this.labelField];
|
382
|
-
if (option.description) {
|
383
|
-
ariaLabel = `${ariaLabel}, ${option.description}`;
|
384
|
-
}
|
385
|
-
if (option.element) {
|
386
|
-
ariaLabel = `${ariaLabel}, ${option.element.ariaLabel}`;
|
387
|
-
}
|
388
|
-
if (parentOption) {
|
389
|
-
return `${ariaLabel}, ${parentOption[this.labelField]} group`;
|
390
|
-
}
|
391
|
-
else {
|
392
|
-
return ariaLabel;
|
393
|
-
}
|
394
|
-
};
|
395
|
-
this.getSortedOptions = (options) => {
|
396
|
-
let sorted = [];
|
397
|
-
if (options.sort) {
|
398
|
-
sorted = options.sort((optionA, optionB) => optionA.recommended && !optionB.recommended ? -1 : 0);
|
399
|
-
}
|
400
|
-
return sorted;
|
401
|
-
};
|
402
|
-
this.isManualMode = this.activationType === "manual";
|
403
|
-
this.scrollToSelected = (menu) => {
|
404
|
-
const selectedOption = this.selectOnEnter
|
405
|
-
? this.host.querySelector(`li[data-value="${this.optionHighlighted}"]`)
|
406
|
-
: menu.querySelector(".option[aria-selected]");
|
407
|
-
if (selectedOption) {
|
408
|
-
const elTop = selectedOption.offsetTop + selectedOption.offsetHeight;
|
409
|
-
if (elTop > menu.scrollTop + menu.offsetHeight ||
|
410
|
-
elTop < menu.scrollTop + menu.offsetHeight) {
|
411
|
-
menu.scrollTop = selectedOption.offsetTop;
|
412
|
-
}
|
413
|
-
selectedOption.focus();
|
414
|
-
}
|
415
|
-
};
|
416
|
-
this.loadUngroupedOptions = () => {
|
417
|
-
if (this.options.length > 0 && this.options.map) {
|
418
|
-
this.options.map((option) => {
|
419
|
-
if (option.children) {
|
420
|
-
option.children.map((option) => !option.disabled && this.ungroupedOptions.push(option));
|
421
|
-
}
|
422
|
-
else if (!option.disabled) {
|
423
|
-
this.ungroupedOptions.push(option);
|
424
|
-
}
|
425
|
-
});
|
426
|
-
}
|
427
|
-
this.ungroupedOptions = this.getSortedOptions(this.ungroupedOptions);
|
428
|
-
this.ungroupedOptionsSet.emit({ options: this.ungroupedOptions });
|
429
|
-
};
|
430
|
-
this.setMenuScrollbar = () => {
|
431
|
-
let optionsHeight = 0;
|
432
|
-
this.host
|
433
|
-
.querySelectorAll(".option")
|
434
|
-
.forEach((option) => (optionsHeight += option.clientHeight));
|
435
|
-
if (optionsHeight >= 320) {
|
436
|
-
this.menu.classList.add("menu-scroll");
|
437
|
-
}
|
438
|
-
};
|
439
|
-
this.handleTimeoutBlur = (ev) => {
|
440
|
-
this.timeoutBlur.emit({ ev });
|
441
|
-
};
|
442
|
-
this.optionContent = (option) => {
|
443
|
-
var _a;
|
444
|
-
return (h(Fragment, null, option.loading && h("ic-loading-indicator", { size: "icon" }), h("div", { class: "option-text-container" }, h("div", { class: "option-label" }, option.icon && (h("div", { class: "option-icon", innerHTML: option.icon, "aria-hidden": "true" })), h("ic-typography", { variant: "body", "aria-hidden": "true" }, h("p", null, option[this.labelField]))), option.description && (h("ic-typography", { id: `${this.getOptionId(option[this.valueField])}-description`, class: "option-description", variant: "caption", "aria-hidden": "true" }, h("p", null, option.description))), option.element && (h("div", { class: "option-element", innerHTML: option.element.component, "aria-hidden": "true" }))), !!option[this.valueField] &&
|
445
|
-
!!this.value &&
|
446
|
-
option[this.valueField].toLowerCase() === ((_a = this.value) === null || _a === void 0 ? void 0 : _a.toLowerCase()) &&
|
447
|
-
this.parentEl.tagName !== "IC-SEARCH-BAR" && (h("span", { class: "check-icon", innerHTML: checkIcon }))));
|
448
|
-
};
|
449
|
-
this.displayOption = (option, index, parentOption) => {
|
450
|
-
const { open, value, keyboardNav, isManualMode, initialOptionsListRender, optionHighlighted, options, } = this;
|
451
|
-
return (h("li", { id: this.getOptionId(option[this.valueField]), class: {
|
452
|
-
option: true,
|
453
|
-
"focused-option": isManualMode
|
454
|
-
? (keyboardNav || initialOptionsListRender) &&
|
455
|
-
option[this.valueField] === optionHighlighted
|
456
|
-
: keyboardNav && option[this.valueField] === value,
|
457
|
-
"last-recommended-option": option.recommended &&
|
458
|
-
options[index + 1] &&
|
459
|
-
!options[index + 1].recommended,
|
460
|
-
"disabled-option": option.disabled,
|
461
|
-
"loading-option": option.loading,
|
462
|
-
timeout: option.timedOut,
|
463
|
-
}, role: "option", tabindex: open &&
|
464
|
-
(option[this.valueField] === value ||
|
465
|
-
option[this.valueField] === optionHighlighted) &&
|
466
|
-
keyboardNav
|
467
|
-
? "0"
|
468
|
-
: "-1", "aria-label": this.getOptionAriaLabel(option, parentOption), "aria-selected": option[this.valueField] === value, "aria-disabled": option.disabled ? "true" : "false", onClick: !option.timedOut && !option.loading && this.handleOptionClick, onBlur: this.handleBlur, onMouseDown: this.handleMouseDown, "data-value": option[this.valueField], "data-label": option[this.labelField] }, option.timedOut ? (h(Fragment, null, h("div", { class: "loading-error-info" }, h("svg", { class: "error-icon-svg", "aria-labelledby": "error-title", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "#000000" }, h("title", { id: "error-title" }, "Error"), h("path", { d: "M0 0h24v24H0z", fill: "none" }), h("path", { d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z" })), h("ic-typography", { variant: "label" }, option[this.labelField])), h("ic-button", { size: "small", variant: "tertiary", onClick: this.handleRetry, onKeyDown: this.handleRetryKeyDown, onBlur: this.handleTimeoutBlur, id: "retry-button" }, "Retry"))) : (this.optionContent(option))));
|
469
|
-
};
|
470
|
-
this.focusFromSearchKeypress = false;
|
471
|
-
this.initialOptionsListRender = false;
|
472
|
-
this.keyboardNav = false;
|
473
|
-
this.optionHighlighted = undefined;
|
474
|
-
this.preventIncorrectTabOrder = false;
|
475
|
-
this.activationType = "automatic";
|
476
|
-
this.anchorEl = undefined;
|
477
|
-
this.autoFocusOnSelected = true;
|
478
|
-
this.fullWidth = false;
|
479
|
-
this.inputEl = undefined;
|
480
|
-
this.inputLabel = undefined;
|
481
|
-
this.labelField = "label";
|
482
|
-
this.menuId = undefined;
|
483
|
-
this.open = undefined;
|
484
|
-
this.parentEl = undefined;
|
485
|
-
this.searchMode = "navigation";
|
486
|
-
this.selectOnEnter = false;
|
487
|
-
this.size = "default";
|
488
|
-
this.small = false;
|
489
|
-
this.options = undefined;
|
490
|
-
this.value = undefined;
|
491
|
-
this.valueField = "value";
|
492
|
-
}
|
493
|
-
watchOpenHandler() {
|
494
|
-
if (!this.open && this.popperInstance) {
|
495
|
-
this.popperInstance.destroy();
|
496
|
-
this.popperInstance = null;
|
474
|
+
this.preventIncorrectTabOrder = false;
|
475
|
+
this.activationType = "automatic";
|
476
|
+
this.anchorEl = undefined;
|
477
|
+
this.autoFocusOnSelected = true;
|
478
|
+
this.fullWidth = false;
|
479
|
+
this.inputEl = undefined;
|
480
|
+
this.inputLabel = undefined;
|
481
|
+
this.labelField = "label";
|
482
|
+
this.menuId = undefined;
|
483
|
+
this.open = undefined;
|
484
|
+
this.parentEl = undefined;
|
485
|
+
this.searchMode = "navigation";
|
486
|
+
this.selectOnEnter = false;
|
487
|
+
this.size = "default";
|
488
|
+
this.small = false;
|
489
|
+
this.options = undefined;
|
490
|
+
this.value = undefined;
|
491
|
+
this.valueField = "value";
|
497
492
|
}
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
this.loadUngroupedOptions();
|
504
|
-
}
|
505
|
-
watchValueHandler() {
|
506
|
-
this.menuValueChange.emit({ value: this.value });
|
507
|
-
}
|
508
|
-
connectedCallback() {
|
509
|
-
this.getParentEl(this.parentEl);
|
510
|
-
if (this.isSearchBar) {
|
511
|
-
if (this.searchMode === "navigation")
|
512
|
-
this.setHighlightedOption(0);
|
513
|
-
this.initialOptionsListRender = true;
|
493
|
+
watchOpenHandler() {
|
494
|
+
if (!this.open && this.popperInstance) {
|
495
|
+
this.popperInstance.destroy();
|
496
|
+
this.popperInstance = null;
|
497
|
+
}
|
514
498
|
}
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
499
|
+
watchOptionsHandler(newOptions) {
|
500
|
+
this.hasTimedOut = newOptions.some((opt) => opt.timedOut);
|
501
|
+
this.isLoading = newOptions.some((opt) => opt.loading);
|
502
|
+
this.ungroupedOptions = [];
|
503
|
+
this.loadUngroupedOptions();
|
519
504
|
}
|
520
|
-
|
521
|
-
|
522
|
-
}
|
523
|
-
componentWillLoad() {
|
524
|
-
var _a, _b;
|
525
|
-
this.loadUngroupedOptions();
|
526
|
-
this.parentEl.addEventListener("icClear", this.handleClearListener);
|
527
|
-
this.parentEl.addEventListener("icSubmitSearch", this.handleSubmitSearch);
|
528
|
-
this.hasTimedOut = (_a = this.options) === null || _a === void 0 ? void 0 : _a.some((opt) => opt.timedOut);
|
529
|
-
this.isLoading = (_b = this.options) === null || _b === void 0 ? void 0 : _b.some((opt) => opt.loading);
|
530
|
-
}
|
531
|
-
componentDidLoad() {
|
532
|
-
if (this.isSearchBar &&
|
533
|
-
this.parentEl.disableFilter) {
|
534
|
-
this.focusFromSearchKeypress = true;
|
505
|
+
watchValueHandler() {
|
506
|
+
this.menuValueChange.emit({ value: this.value });
|
535
507
|
}
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
], "Menu");
|
543
|
-
}
|
544
|
-
componentDidUpdate() {
|
545
|
-
const inputValueInOptions = this.options.some((option) => option[this.valueField] === this.value);
|
546
|
-
const optionHighlightedIsSet = this.optionHighlighted !== null &&
|
547
|
-
this.optionHighlighted !== undefined &&
|
548
|
-
this.optionHighlighted !== "";
|
549
|
-
if (this.open && this.options.length !== 0) {
|
550
|
-
if (this.value &&
|
551
|
-
this.keyboardNav &&
|
552
|
-
inputValueInOptions &&
|
553
|
-
this.autoFocusOnSelected &&
|
554
|
-
!this.isSearchableSelect) {
|
555
|
-
this.scrollToSelected(this.menu);
|
556
|
-
}
|
557
|
-
else if (this.inputEl.tagName !== "IC-TEXT-FIELD" &&
|
558
|
-
this.inputEl.tagName !== "INPUT") {
|
559
|
-
this.menu.focus();
|
560
|
-
}
|
561
|
-
else if (optionHighlightedIsSet &&
|
562
|
-
!this.focusFromSearchKeypress &&
|
563
|
-
!this.preventIncorrectTabOrder) {
|
564
|
-
const highlightedEl = this.host.querySelector(`li[data-value="${this.optionHighlighted}"]`);
|
565
|
-
if (highlightedEl) {
|
566
|
-
highlightedEl.focus();
|
508
|
+
connectedCallback() {
|
509
|
+
this.getParentEl(this.parentEl);
|
510
|
+
if (this.isSearchBar) {
|
511
|
+
if (this.searchMode === "navigation")
|
512
|
+
this.setHighlightedOption(0);
|
513
|
+
this.initialOptionsListRender = true;
|
567
514
|
}
|
568
|
-
}
|
569
515
|
}
|
570
|
-
|
571
|
-
|
516
|
+
disconnectedCallback() {
|
517
|
+
if (this.popperInstance) {
|
518
|
+
this.popperInstance.destroy();
|
519
|
+
}
|
520
|
+
this.parentEl.removeEventListener("icClear", this.handleClearListener);
|
521
|
+
this.parentEl.removeEventListener("icSubmitSearch", this.handleSubmitSearch);
|
572
522
|
}
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
523
|
+
componentWillLoad() {
|
524
|
+
var _a, _b;
|
525
|
+
this.loadUngroupedOptions();
|
526
|
+
this.parentEl.addEventListener("icClear", this.handleClearListener);
|
527
|
+
this.parentEl.addEventListener("icSubmitSearch", this.handleSubmitSearch);
|
528
|
+
this.hasTimedOut = (_a = this.options) === null || _a === void 0 ? void 0 : _a.some((opt) => opt.timedOut);
|
529
|
+
this.isLoading = (_b = this.options) === null || _b === void 0 ? void 0 : _b.some((opt) => opt.loading);
|
577
530
|
}
|
578
|
-
|
579
|
-
|
531
|
+
componentDidLoad() {
|
532
|
+
if (this.isSearchBar &&
|
533
|
+
this.parentEl.disableFilter) {
|
534
|
+
this.focusFromSearchKeypress = true;
|
535
|
+
}
|
536
|
+
onComponentRequiredPropUndefined([
|
537
|
+
{ prop: this.open, propName: "open" },
|
538
|
+
{ prop: this.options, propName: "options" },
|
539
|
+
{ prop: this.menuId, propName: "menu-id" },
|
540
|
+
{ prop: this.inputLabel, propName: "input-label" },
|
541
|
+
//NOTE: no check for value, input-el or anchor-el as otherwise get console errors on first load of select component
|
542
|
+
], "Menu");
|
580
543
|
}
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
544
|
+
componentDidUpdate() {
|
545
|
+
const inputValueInOptions = this.options.some((option) => option[this.valueField] === this.value);
|
546
|
+
const optionHighlightedIsSet = this.optionHighlighted !== null &&
|
547
|
+
this.optionHighlighted !== undefined &&
|
548
|
+
this.optionHighlighted !== "";
|
549
|
+
if (this.open && this.options.length !== 0) {
|
550
|
+
if (this.value &&
|
551
|
+
this.keyboardNav &&
|
552
|
+
inputValueInOptions &&
|
553
|
+
this.autoFocusOnSelected &&
|
554
|
+
!this.isSearchableSelect) {
|
555
|
+
this.scrollToSelected(this.menu);
|
556
|
+
}
|
557
|
+
else if (this.inputEl.tagName !== "IC-TEXT-FIELD" &&
|
558
|
+
this.inputEl.tagName !== "INPUT") {
|
559
|
+
this.menu.focus();
|
560
|
+
}
|
561
|
+
else if (optionHighlightedIsSet &&
|
562
|
+
!this.focusFromSearchKeypress &&
|
563
|
+
!this.preventIncorrectTabOrder) {
|
564
|
+
const highlightedEl = this.host.querySelector(`li[data-value="${this.optionHighlighted}"]`);
|
565
|
+
if (highlightedEl) {
|
566
|
+
highlightedEl.focus();
|
567
|
+
}
|
568
|
+
}
|
569
|
+
}
|
570
|
+
if (this.open && !this.value && this.selectOnEnter) {
|
571
|
+
this.scrollToSelected(this.menu);
|
572
|
+
}
|
589
573
|
}
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
async handleKeyboardOpen(event) {
|
598
|
-
this.keyboardNav = false;
|
599
|
-
if (this.activationType === "automatic") {
|
600
|
-
this.autoSetInputValueKeyboardOpen(event);
|
574
|
+
componentDidRender() {
|
575
|
+
if (this.open && !this.popperInstance && this.anchorEl) {
|
576
|
+
this.initPopperJs(this.anchorEl);
|
577
|
+
}
|
578
|
+
if (this.open && !!this.options.length) {
|
579
|
+
this.setMenuScrollbar();
|
580
|
+
}
|
601
581
|
}
|
602
|
-
|
603
|
-
|
582
|
+
/**
|
583
|
+
* @internal If menu is opened with the mouse, emit menuStateChange custom event.
|
584
|
+
*/
|
585
|
+
async handleClickOpen() {
|
586
|
+
if (!this.preventClickOpen) {
|
587
|
+
this.menuStateChange.emit({ open: !this.open });
|
588
|
+
this.keyboardNav = false;
|
589
|
+
}
|
590
|
+
this.preventClickOpen = false;
|
604
591
|
}
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
* 5/12/2023: Tested with Floating UI, however, discovered inconsistent
|
615
|
-
* boundary behaviour so sticking with PopperJS.
|
616
|
-
*/
|
617
|
-
async initPopperJs(anchor) {
|
618
|
-
this.popperInstance = createPopper(anchor, this.host, {
|
619
|
-
placement: "bottom",
|
620
|
-
modifiers: [
|
621
|
-
{
|
622
|
-
name: "offset",
|
623
|
-
options: {
|
624
|
-
offset: [0, 7],
|
625
|
-
},
|
626
|
-
},
|
627
|
-
{
|
628
|
-
name: "flip",
|
629
|
-
options: {
|
630
|
-
fallbackPlacements: ["top"],
|
631
|
-
rootBoundary: "viewport",
|
632
|
-
},
|
633
|
-
},
|
634
|
-
],
|
635
|
-
});
|
636
|
-
}
|
637
|
-
render() {
|
638
|
-
const { inputLabel, options, menuId, value, fullWidth, hasTimedOut, isLoading, small, size, open, inputEl, keyboardNav, } = this;
|
639
|
-
return (h(Host, { class: {
|
640
|
-
"full-width": fullWidth,
|
641
|
-
"no-focus": (inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) === "INPUT" || hasTimedOut || isLoading,
|
642
|
-
small: small || size === "small",
|
643
|
-
open: open,
|
644
|
-
} }, options.length !== 0 && (h("ul", { id: menuId, class: "menu", role: "listbox", "aria-label": inputLabel, "aria-activedescendant": value != null && value !== "" ? this.getOptionId(value) : "", tabindex: open && !keyboardNav && (inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) !== "INPUT" ? "0" : "-1", ref: (el) => (this.menu = el), onKeyDown: this.handleMenuKeyDown, onKeyUp: this.handleMenuKeyUp, onBlur: this.handleBlur }, this.getSortedOptions(options).map((option, index) => {
|
645
|
-
if (option.children) {
|
646
|
-
if (option.children.length > 0) {
|
647
|
-
return (h("div", null, h("ic-typography", { class: "option-group-title", role: "presentation", variant: "subtitle-small" }, h("p", null, option[this.labelField])), option.children.map((childOption) => this.displayOption(childOption, index, option))));
|
592
|
+
/**
|
593
|
+
* Used alongside activationType
|
594
|
+
* If menu is opened via keyboard navigation (i.e. Enter, ArrowUp or ArrowDown), emit optionSelect custom event.
|
595
|
+
* @param {KeyboardEvent} event The keyboard event which is available when handleKeyboardOpen is invoked.
|
596
|
+
*/
|
597
|
+
async handleKeyboardOpen(event) {
|
598
|
+
this.keyboardNav = false;
|
599
|
+
if (this.activationType === "automatic") {
|
600
|
+
this.autoSetInputValueKeyboardOpen(event);
|
648
601
|
}
|
649
602
|
else {
|
650
|
-
|
603
|
+
this.manSetInputValueKeyboardOpen(event);
|
651
604
|
}
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
605
|
+
}
|
606
|
+
/**
|
607
|
+
* @internal Used to highlight the first option in the menu.
|
608
|
+
*/
|
609
|
+
async handleSetFirstOption() {
|
610
|
+
this.setHighlightedOption(0);
|
611
|
+
}
|
612
|
+
/**
|
613
|
+
* @internal Used to initialize popperJS with an anchor element.
|
614
|
+
* 5/12/2023: Tested with Floating UI, however, discovered inconsistent
|
615
|
+
* boundary behaviour so sticking with PopperJS.
|
616
|
+
*/
|
617
|
+
async initPopperJs(anchor) {
|
618
|
+
this.popperInstance = createPopper(anchor, this.host, {
|
619
|
+
placement: "bottom",
|
620
|
+
modifiers: [
|
621
|
+
{
|
622
|
+
name: "offset",
|
623
|
+
options: {
|
624
|
+
offset: [0, 7],
|
625
|
+
},
|
626
|
+
},
|
627
|
+
{
|
628
|
+
name: "flip",
|
629
|
+
options: {
|
630
|
+
fallbackPlacements: ["top"],
|
631
|
+
rootBoundary: "viewport",
|
632
|
+
},
|
633
|
+
},
|
634
|
+
],
|
635
|
+
});
|
636
|
+
}
|
637
|
+
render() {
|
638
|
+
const { inputLabel, options, menuId, value, fullWidth, hasTimedOut, isLoading, small, size, open, inputEl, keyboardNav, } = this;
|
639
|
+
return (h(Host, { class: {
|
640
|
+
"full-width": fullWidth,
|
641
|
+
"no-focus": (inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) === "INPUT" || hasTimedOut || isLoading,
|
642
|
+
small: small || size === "small",
|
643
|
+
open: open,
|
644
|
+
} }, options.length !== 0 && (h("ul", { id: menuId, class: "menu", role: "listbox", "aria-label": inputLabel, "aria-activedescendant": value != null && value !== "" ? this.getOptionId(value) : "", tabindex: open && !keyboardNav && (inputEl === null || inputEl === void 0 ? void 0 : inputEl.tagName) !== "INPUT" ? "0" : "-1", ref: (el) => (this.menu = el), onKeyDown: this.handleMenuKeyDown, onKeyUp: this.handleMenuKeyUp, onBlur: this.handleBlur }, this.getSortedOptions(options).map((option, index) => {
|
645
|
+
if (option.children) {
|
646
|
+
if (option.children.length > 0) {
|
647
|
+
return (h("div", null, h("ic-typography", { class: "option-group-title", role: "presentation", variant: "subtitle-small" }, h("p", null, option[this.labelField])), option.children.map((childOption) => this.displayOption(childOption, index, option))));
|
648
|
+
}
|
649
|
+
else {
|
650
|
+
return null;
|
651
|
+
}
|
652
|
+
}
|
653
|
+
else {
|
654
|
+
return this.displayOption(option, index);
|
655
|
+
}
|
656
|
+
})))));
|
657
|
+
}
|
658
|
+
get host() { return this; }
|
659
|
+
static get watchers() { return {
|
660
|
+
"open": ["watchOpenHandler"],
|
661
|
+
"options": ["watchOptionsHandler"],
|
662
|
+
"value": ["watchValueHandler"]
|
663
|
+
}; }
|
664
|
+
static get style() { return icMenuCss; }
|
665
665
|
}, [2, "ic-menu", {
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
666
|
+
"activationType": [1, "activation-type"],
|
667
|
+
"anchorEl": [16],
|
668
|
+
"autoFocusOnSelected": [4, "auto-focus-on-selected"],
|
669
|
+
"fullWidth": [4, "full-width"],
|
670
|
+
"inputEl": [16],
|
671
|
+
"inputLabel": [1, "input-label"],
|
672
|
+
"labelField": [1, "label-field"],
|
673
|
+
"menuId": [1, "menu-id"],
|
674
|
+
"open": [516],
|
675
|
+
"parentEl": [16],
|
676
|
+
"searchMode": [1, "search-mode"],
|
677
|
+
"selectOnEnter": [4, "select-on-enter"],
|
678
|
+
"size": [1],
|
679
|
+
"small": [4],
|
680
|
+
"options": [16],
|
681
|
+
"value": [1025],
|
682
|
+
"valueField": [1, "value-field"],
|
683
|
+
"focusFromSearchKeypress": [32],
|
684
|
+
"initialOptionsListRender": [32],
|
685
|
+
"keyboardNav": [32],
|
686
|
+
"optionHighlighted": [32],
|
687
|
+
"preventIncorrectTabOrder": [32],
|
688
|
+
"handleClickOpen": [64],
|
689
|
+
"handleKeyboardOpen": [64],
|
690
|
+
"handleSetFirstOption": [64],
|
691
|
+
"initPopperJs": [64]
|
692
|
+
}, undefined, {
|
693
|
+
"open": ["watchOpenHandler"],
|
694
|
+
"options": ["watchOptionsHandler"],
|
695
|
+
"value": ["watchValueHandler"]
|
696
|
+
}]);
|
697
697
|
function defineCustomElement() {
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
698
|
+
if (typeof customElements === "undefined") {
|
699
|
+
return;
|
700
|
+
}
|
701
|
+
const components = ["ic-menu", "ic-button", "ic-loading-indicator", "ic-tooltip", "ic-typography"];
|
702
|
+
components.forEach(tagName => { switch (tagName) {
|
703
|
+
case "ic-menu":
|
704
|
+
if (!customElements.get(tagName)) {
|
705
|
+
customElements.define(tagName, Menu);
|
706
|
+
}
|
707
|
+
break;
|
708
|
+
case "ic-button":
|
709
|
+
if (!customElements.get(tagName)) {
|
710
|
+
defineCustomElement$4();
|
711
|
+
}
|
712
|
+
break;
|
713
|
+
case "ic-loading-indicator":
|
714
|
+
if (!customElements.get(tagName)) {
|
715
|
+
defineCustomElement$3();
|
716
|
+
}
|
717
|
+
break;
|
718
|
+
case "ic-tooltip":
|
719
|
+
if (!customElements.get(tagName)) {
|
720
|
+
defineCustomElement$2();
|
721
|
+
}
|
722
|
+
break;
|
723
|
+
case "ic-typography":
|
724
|
+
if (!customElements.get(tagName)) {
|
725
|
+
defineCustomElement$1();
|
726
|
+
}
|
727
|
+
break;
|
728
|
+
} });
|
729
729
|
}
|
730
730
|
|
731
731
|
export { Menu as M, defineCustomElement as d };
|