@ukic/web-components 2.8.0 → 2.10.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 +636 -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 +670 -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 +96 -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 +233 -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 +640 -640
- 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/assets/arrow-dropdown.svg +3 -0
- 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.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/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/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/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/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 +34 -1
- package/dist/collection/components/ic-button/ic-button.js +849 -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/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 +1258 -1267
- package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
- package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js +742 -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 +289 -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 +456 -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.css +1 -0
- 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/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 +371 -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 +332 -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 +683 -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 +150 -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 +283 -281
- 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 +752 -752
- 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 +217 -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 +2 -2
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- 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-657513b5.entry.js → p-1338c9df.entry.js} +2 -2
- package/dist/core/p-1338c9df.entry.js.map +1 -0
- 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-3a814fc4.entry.js → p-4d413a72.entry.js} +2 -2
- package/dist/core/p-4d413a72.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-4bc35224.entry.js → p-592c783e.entry.js} +2 -2
- package/dist/core/p-592c783e.entry.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-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-776232f4.entry.js +2 -0
- package/dist/core/p-776232f4.entry.js.map +1 -0
- package/dist/core/p-85026377.entry.js +2 -0
- package/dist/core/p-85026377.entry.js.map +1 -0
- 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-0c82048e.entry.js → p-9c30720d.entry.js} +2 -2
- package/dist/core/p-a46130c8.entry.js +2 -0
- package/dist/core/p-a46130c8.entry.js.map +1 -0
- package/dist/core/p-a908e7a9.entry.js +2 -0
- package/dist/core/p-a908e7a9.entry.js.map +1 -0
- 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-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-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-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 +636 -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 +670 -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 +96 -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 +233 -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 +640 -640
- 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 +150 -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 +184 -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 +65 -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 +58 -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 +433 -3
- package/dist/types/interface.d.ts +3 -0
- 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 +15888 -14092
- package/package.json +8 -5
- package/vscode-data.json +3947 -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/collection/components/ic-accordion/test/basic/ic-accordion.e2e.js +0 -57
- package/dist/collection/components/ic-accordion/test/basic/ic-accordion.e2e.js.map +0 -1
- package/dist/collection/components/ic-accordion-group/test/a11y/ic-accordion-group.test.a11y.js +0 -31
- package/dist/collection/components/ic-accordion-group/test/a11y/ic-accordion-group.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-accordion-group/test/basic/ic-accordion-group.e2e.js +0 -117
- package/dist/collection/components/ic-accordion-group/test/basic/ic-accordion-group.e2e.js.map +0 -1
- package/dist/collection/components/ic-alert/test/a11y/ic-alert.test.a11y.js +0 -11
- package/dist/collection/components/ic-alert/test/a11y/ic-alert.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js +0 -16
- package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js.map +0 -1
- package/dist/collection/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.js +0 -28
- package/dist/collection/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js +0 -68
- package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js.map +0 -1
- package/dist/collection/components/ic-badge/test/a11y/ic-badge.test.a11y.js +0 -16
- package/dist/collection/components/ic-badge/test/a11y/ic-badge.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.js +0 -11
- package/dist/collection/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js +0 -16
- package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js +0 -82
- package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js.map +0 -1
- package/dist/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-3a814fc4.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-657513b5.entry.js.map +0 -1
- package/dist/core/p-69d15528.entry.js +0 -2
- package/dist/core/p-69d15528.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-99fad66b.entry.js +0 -2
- package/dist/core/p-99fad66b.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/types/components/ic-accordion-group/test/a11y/ic-accordion-group.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-alert/test/a11y/ic-alert.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-badge/test/a11y/ic-badge.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.d.ts +0 -1
- package/dist/types/components/ic-toast/test/a11y/ic-toast.test.a11y.d.ts +0 -1
- /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-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-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-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-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
@@ -2,9 +2,9 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
6
|
-
const helpers = require('./helpers-
|
7
|
-
const types = require('./types-
|
5
|
+
const index = require('./index-152d1fe5.js');
|
6
|
+
const helpers = require('./helpers-3f91f63a.js');
|
7
|
+
const types = require('./types-dc22e301.js');
|
8
8
|
|
9
9
|
const Expand = `<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
10
10
|
<path d="M7 9.5L12 14.5L17 9.5H7Z" fill="currentColor" />
|
@@ -16,668 +16,668 @@ const Clear = `<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www
|
|
16
16
|
</svg>
|
17
17
|
`;
|
18
18
|
|
19
|
-
const icSelectCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;position:relative}:host(.full-width){width:100%}ic-input-component-container:hover{--border-color:var(--ic-action-dark-hover)}ic-input-component-container:active{--border-color:var(--ic-action-dark-active);color:var(--ic-action-dark-active)}ic-input-component-container.menu-open{--border-color:var(--ic-architectural-400);color:var(--ic-action-dark)}ic-input-validation .status-icon,ic-input-validation .statustext{visibility:visible}ic-input-validation.menu-open .status-icon,ic-input-validation.menu-open .statustext{visibility:hidden;transition:visibility 0s}ic-input-label{margin-bottom:var(--ic-space-xs) !important}select{border:0;border-radius:var(--ic-border-radius);background-color:var(--ic-architectural-white);color:var(--ic-color-primary-text);line-height:1.5rem;letter-spacing:0.005rem;width:100%;height:100%;padding-left:0.375rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-repeat:no-repeat;background-position:right 0.375rem center;background-image:url(\"data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>\")}select option,.select-option-selected{color:var(--ic-color-primary-text)}select:disabled{color:var(--ic-architectural-200);background-image:url(\"data:image/svg+xml;utf8,<svg fill='grey' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>\")}select:focus{border:0;outline:0}select:not([disabled]){cursor:pointer}.select-container{width:100%;display:flex;align-items:center;position:relative}.select-input{width:100%;height:100%;padding:0 0.375rem;display:flex;cursor:pointer;align-items:center;justify-content:space-between;background:none;border:none}.select-input:focus{outline:var(--ic-hc-focus-outline)}:host(:not(.disabled)) ic-input-component-container:hover .select-input{background-color:var(--ic-architectural-white)}.select-input[disabled]{pointer-events:none}:host(.searchable) .select-input{cursor:auto}.searchable-select-container{align-items:center;display:flex;width:100%;position:relative}.expand-icon{height:var(--ic-space-lg);padding-left:var(--ic-space-xs);color:var(--ic-action-dark)}.expand-icon>svg{display:inline-block;width:var(--ic-space-lg);height:var(--ic-space-lg)}:host(.disabled) .expand-icon,:host(.disabled) .expand-icon>svg>path{color:var(--ic-architectural-200)}:host(.searchable) .expand-icon{padding-left:var(--ic-space-xxs);height:2.25rem}:host(.searchable) .expand-icon>svg{height:2.25rem;padding:0 0.375rem}:host(.searchable:not(.disabled)) .expand-icon>svg{cursor:pointer}.expand-icon-open{color:var(--ic-action-dark)}.expand-icon-filled{color:var(--ic-action-dark)}.expand-icon-open,:host(.searchable) .expand-icon-open{transform:rotateX(180deg)}:host(.disabled) .value-text,.placeholder{color:var(--ic-color-tertiary-text)}.select-input-end{display:flex;align-items:center}.clear-button-container{display:flex;gap:var(--ic-space-xxs);padding-left:2.375rem}:host(.small) .clear-button-container{padding-left:1.875rem}.divider{width:var(--ic-border-width);background-color:var(--ic-architectural-400);margin:var(--ic-space-xxs) 0;border-radius:var(--ic-space-1px);height:var(--ic-space-lg)}:host(.small) .divider{height:var(--ic-space-md)}.clear-button{position:absolute;right:2.75rem;border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition)}.clear-button:focus{background-color:var(--ic-focus-blue);box-shadow:inset 0 0 0 0.125rem var(--ic-focus-glow);border-radius:0.25rem}.clear-button:focus *{fill:white}.searchable-select-results-status{border:0;clip:rect(0, 0, 0, 0, 0);height:var(--ic-space-1px);overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:var(--ic-space-1px)}";
|
19
|
+
const icSelectCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:block;position:relative}:host(.full-width){width:100%}ic-input-component-container:hover{--border-color:var(--ic-action-dark-hover)}ic-input-component-container:active{--border-color:var(--ic-action-dark-active);color:var(--ic-action-dark-active)}ic-input-component-container.menu-open{--border-color:var(--ic-architectural-400);color:var(--ic-action-dark)}ic-input-validation .status-icon,ic-input-validation .statustext{visibility:visible}ic-input-validation.menu-open .status-icon,ic-input-validation.menu-open .statustext{visibility:hidden;transition:visibility 0s}ic-input-label{margin-bottom:var(--ic-space-xs) !important}select{border:0;border-radius:var(--ic-border-radius);background-color:var(--ic-architectural-white);color:var(--ic-color-primary-text);line-height:1.5rem;letter-spacing:0.005rem;width:100%;height:100%;padding-left:0.375rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-repeat:no-repeat;background-position:right 0.375rem center;background-image:url(\"data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>\")}select option,.select-option-selected{color:var(--ic-color-primary-text)}select:disabled{color:var(--ic-architectural-200);background-image:url(\"data:image/svg+xml;utf8,<svg fill='grey' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>\")}select:focus{border:0;outline:0}select:not([disabled]){cursor:pointer}.select-container{width:100%;display:flex;align-items:center;position:relative}.select-input{width:100%;height:100%;padding:0 0.375rem;display:flex;cursor:pointer;align-items:center;justify-content:space-between;background:none;border:none}.select-input:focus{outline:var(--ic-hc-focus-outline)}:host(:not(.disabled)) ic-input-component-container:hover .select-input{background-color:var(--ic-architectural-white)}.select-input[disabled]{pointer-events:none}:host(.searchable) .select-input{cursor:auto}.searchable-select-container{align-items:center;display:flex;width:100%;position:relative}.expand-icon{height:var(--ic-space-lg);padding-left:var(--ic-space-xs);color:var(--ic-action-dark)}.expand-icon>svg{display:inline-block;width:var(--ic-space-lg);height:var(--ic-space-lg)}:host(.disabled) .expand-icon,:host(.disabled) .expand-icon>svg>path{color:var(--ic-architectural-200)}:host(.searchable) .expand-icon{padding-left:var(--ic-space-xxs);height:2.25rem}:host(.searchable) .expand-icon>svg{height:2.25rem;padding:0 0.375rem}:host(.searchable:not(.disabled)) .expand-icon>svg{cursor:pointer}.expand-icon-open{color:var(--ic-action-dark)}.expand-icon-filled{color:var(--ic-action-dark)}.expand-icon-open,:host(.searchable) .expand-icon-open{transform:rotateX(180deg)}:host(.disabled) .value-text,.placeholder{color:var(--ic-color-tertiary-text)}.select-input-end{display:flex;align-items:center}.clear-button-container{display:flex;gap:var(--ic-space-xxs);padding-left:2.375rem;align-items:center}:host(.small) .clear-button-container{padding-left:1.875rem}.divider{width:var(--ic-border-width);background-color:var(--ic-architectural-400);margin:var(--ic-space-xxs) 0;border-radius:var(--ic-space-1px);height:var(--ic-space-lg)}:host(.small) .divider{height:var(--ic-space-md)}.clear-button{position:absolute;right:2.75rem;border-radius:var(--ic-border-radius);transition:box-shadow var(--ic-easing-transition),\n border-radius var(--ic-easing-transition)}.clear-button:focus{background-color:var(--ic-focus-blue);box-shadow:inset 0 0 0 0.125rem var(--ic-focus-glow);border-radius:0.25rem}.clear-button:focus *{fill:white}.searchable-select-results-status{border:0;clip:rect(0, 0, 0, 0, 0);height:var(--ic-space-1px);overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:var(--ic-space-1px)}";
|
20
20
|
|
21
21
|
let inputIds = 0;
|
22
22
|
const Select = class {
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
23
|
+
constructor(hostRef) {
|
24
|
+
index.registerInstance(this, hostRef);
|
25
|
+
this.icBlur = index.createEvent(this, "icBlur", 7);
|
26
|
+
this.icChange = index.createEvent(this, "icChange", 7);
|
27
|
+
this.icClear = index.createEvent(this, "icClear", 7);
|
28
|
+
this.icFocus = index.createEvent(this, "icFocus", 7);
|
29
|
+
this.icInput = index.createEvent(this, "icInput", 7);
|
30
|
+
this.icOptionSelect = index.createEvent(this, "icOptionSelect", 7);
|
31
|
+
this.icRetryLoad = index.createEvent(this, "icRetryLoad", 7);
|
32
|
+
this.hasSetDefaultValue = false;
|
33
|
+
this.inheritedAttributes = {};
|
34
|
+
this.initialOptionsEmpty = false;
|
35
|
+
this.inputId = `ic-select-input-${inputIds++}`;
|
36
|
+
this.menuId = `${this.inputId}-menu`;
|
37
|
+
this.searchableMenuItemSelected = false;
|
38
|
+
this.ungroupedOptions = [];
|
39
|
+
this.handleRetry = (ev) => {
|
40
|
+
var _a;
|
41
|
+
if (ev.detail.keyPressed)
|
42
|
+
(_a = this.searchableSelectElement) === null || _a === void 0 ? void 0 : _a.focus();
|
43
|
+
this.blurredBecauseButtonPressed = true;
|
44
|
+
this.retryButtonClick = true;
|
45
|
+
this.hasSetDefaultValue = true;
|
46
|
+
this.icRetryLoad.emit({ value: this.hiddenInputValue });
|
47
|
+
};
|
48
|
+
this.emitIcChange = (value) => {
|
49
|
+
if (!this.searchable) {
|
50
|
+
this.value = value;
|
51
|
+
}
|
52
|
+
clearTimeout(this.debounceIcChange);
|
53
|
+
this.debounceIcChange = window.setTimeout(() => {
|
54
|
+
this.icChange.emit({ value: value });
|
55
|
+
}, this.currDebounce);
|
56
|
+
};
|
57
|
+
this.emitImmediateIcChange = (value) => {
|
58
|
+
this.value = value;
|
59
|
+
clearTimeout(this.debounceIcChange);
|
60
|
+
this.icChange.emit({ value: value });
|
61
|
+
};
|
62
|
+
/**
|
63
|
+
* Processes the provided array of IcMenuOptions, removing duplicates and reporting them with a console.warn
|
64
|
+
* @param options array of IcMenuOptions
|
65
|
+
* @returns a new options object, with all entries possessing a duplicate 'value' field removed
|
66
|
+
*/
|
67
|
+
this.deduplicateOptions = (options) => {
|
68
|
+
const uniqueValues = [];
|
69
|
+
const dedupedOptions = [];
|
70
|
+
let dedupedChildren;
|
71
|
+
options.forEach((option) => {
|
72
|
+
if (option.children) {
|
73
|
+
//If an option has children, we will loop through them
|
74
|
+
dedupedChildren = [];
|
75
|
+
option.children.forEach((child) => {
|
76
|
+
if (uniqueValues.includes(child.value)) {
|
77
|
+
console.warn(`ic-select with label ${this.label} was populated with duplicate option (value: ${child.value}) which has been removed.`);
|
78
|
+
}
|
79
|
+
else {
|
80
|
+
uniqueValues.push(child.value);
|
81
|
+
dedupedChildren.push(child);
|
82
|
+
}
|
83
|
+
});
|
84
|
+
// construct a modified option, inserting the deduplicated children alongside the original information
|
85
|
+
const modifiedParent = Object.assign(Object.assign({}, option), { children: dedupedChildren });
|
86
|
+
dedupedOptions.push(modifiedParent);
|
87
|
+
}
|
88
|
+
else {
|
89
|
+
// If an option does not have children, assess to see if it's value has been included already
|
90
|
+
if (uniqueValues.includes(option.value)) {
|
91
|
+
console.warn(`ic-select with label ${this.label} was populated with duplicate option (value: ${option.value}) which has been removed.`);
|
92
|
+
}
|
93
|
+
else {
|
94
|
+
uniqueValues.push(option.value);
|
95
|
+
dedupedOptions.push(option);
|
96
|
+
}
|
97
|
+
}
|
98
|
+
});
|
99
|
+
return dedupedOptions;
|
100
|
+
};
|
101
|
+
/**
|
102
|
+
* Loop through options array and for all options with no value, infer it from the label
|
103
|
+
*/
|
104
|
+
this.setOptionsValuesFromLabels = () => {
|
105
|
+
if (this.options.length > 0 && this.options.map) {
|
106
|
+
this.options.map((option) => {
|
107
|
+
if (!option.value) {
|
108
|
+
option.value = option.label;
|
109
|
+
}
|
110
|
+
});
|
111
|
+
}
|
112
|
+
};
|
113
|
+
this.setUngroupedOptions = (event) => {
|
114
|
+
this.ungroupedOptions = event.detail.options;
|
115
|
+
};
|
116
|
+
this.setTextColor = () => {
|
117
|
+
if (this.nativeSelectElement.selectedIndex === 0) {
|
118
|
+
this.nativeSelectElement.className = "placeholder";
|
78
119
|
}
|
79
120
|
else {
|
80
|
-
|
81
|
-
dedupedChildren.push(child);
|
121
|
+
this.nativeSelectElement.className = "select-option-selected";
|
82
122
|
}
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
this.
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
this.
|
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
|
-
else {
|
188
|
-
focusIndicator.classList.remove("focus-indicator-enabled");
|
189
|
-
}
|
190
|
-
};
|
191
|
-
this.handleMouseDown = (event) => {
|
192
|
-
if (!this.open) {
|
193
|
-
event.preventDefault();
|
194
|
-
}
|
195
|
-
};
|
196
|
-
this.isExternalFiltering = () => this.searchable && this.disableFilter;
|
197
|
-
this.handleClick = (event) => {
|
198
|
-
var _a;
|
199
|
-
if (!this.open) {
|
200
|
-
if (this.isExternalFiltering()) {
|
201
|
-
this.menu.options = this.filteredOptions;
|
202
|
-
}
|
203
|
-
else if (!this.hasTimedOut &&
|
204
|
-
!this.loading &&
|
205
|
-
!((_a = this.noOptions) === null || _a === void 0 ? void 0 : _a.length) &&
|
206
|
-
(!this.searchable || this.searchableMenuItemSelected)) {
|
207
|
-
this.noOptions = null;
|
208
|
-
this.menu.options = this.uniqueOptions;
|
209
|
-
}
|
210
|
-
}
|
211
|
-
if (event.detail !== 0) {
|
212
|
-
this.menu.handleClickOpen();
|
213
|
-
}
|
214
|
-
};
|
215
|
-
this.handleExpandIconMouseDown = (event) => {
|
216
|
-
if (!this.disabled) {
|
217
|
-
event.preventDefault();
|
218
|
-
this.searchableSelectElement.focus();
|
219
|
-
this.handleClick(event);
|
220
|
-
}
|
221
|
-
};
|
222
|
-
this.handleClear = (event) => {
|
223
|
-
event.stopPropagation();
|
224
|
-
this.hasTimedOut = false;
|
225
|
-
clearTimeout(this.timeoutTimer);
|
226
|
-
this.noOptions = null;
|
227
|
-
this.emitImmediateIcChange(null);
|
228
|
-
this.icClear.emit();
|
229
|
-
if (this.searchable) {
|
230
|
-
this.searchableSelectElement.value = null;
|
231
|
-
this.searchableSelectInputValue = null;
|
232
|
-
this.filteredOptions = this.uniqueOptions;
|
233
|
-
this.hiddenInputValue = null;
|
234
|
-
this.searchableSelectElement.focus();
|
235
|
-
}
|
236
|
-
else {
|
237
|
-
this.customSelectElement.focus();
|
238
|
-
}
|
239
|
-
};
|
240
|
-
this.handleCharacterKeyDown = (key) => {
|
241
|
-
// Only close menu when space is pressed if not being used alongside character keys to quickly select options
|
242
|
-
if (this.open &&
|
243
|
-
key === " " &&
|
244
|
-
this.pressedCharacters.length === 0 &&
|
245
|
-
!this.hasTimedOut &&
|
246
|
-
!this.loading) {
|
247
|
-
this.setMenuChange(false);
|
248
|
-
}
|
249
|
-
if (key.length === 1 && !this.searchable) {
|
250
|
-
window.clearTimeout(this.characterKeyPressTimer);
|
251
|
-
this.characterKeyPressTimer = window.setTimeout(() => (this.pressedCharacters = ""), 1000);
|
252
|
-
this.pressedCharacters += key;
|
253
|
-
this.handleFilter();
|
254
|
-
if (!this.noOptions) {
|
255
|
-
this.emitImmediateIcChange(this.filteredOptions[0].value);
|
256
|
-
}
|
257
|
-
}
|
258
|
-
else {
|
259
|
-
this.pressedCharacters = "";
|
260
|
-
}
|
261
|
-
};
|
262
|
-
this.handleNativeSelectKeyDown = (event) => {
|
263
|
-
if ((event.key !== "Escape" && event.key !== "Tab") || this.open) {
|
264
|
-
event.cancelBubble = true;
|
265
|
-
}
|
266
|
-
this.handleCharacterKeyDown(event.key);
|
267
|
-
};
|
268
|
-
this.handleKeyDown = (event) => {
|
269
|
-
if ((event.key !== "Escape" && event.key !== "Tab") || this.open) {
|
270
|
-
event.cancelBubble = true;
|
271
|
-
}
|
272
|
-
const isArrowKey = event.key === "ArrowDown" || event.key === "ArrowUp";
|
273
|
-
if (!this.open) {
|
274
|
-
if (this.isExternalFiltering() && (event.key === "Enter" || isArrowKey)) {
|
275
|
-
this.menu.options = this.filteredOptions;
|
276
|
-
}
|
277
|
-
else {
|
278
|
-
if (!this.hasTimedOut) {
|
123
|
+
};
|
124
|
+
this.setMenuChange = (open) => {
|
125
|
+
if (this.open !== open) {
|
126
|
+
this.open = open;
|
127
|
+
}
|
128
|
+
};
|
129
|
+
this.getLabelFromValue = (value) => {
|
130
|
+
return helpers.getLabelFromValue(value, this.uniqueOptions);
|
131
|
+
};
|
132
|
+
this.getFilteredChildMenuOptions = (option) => {
|
133
|
+
let children = option.children;
|
134
|
+
if (this.searchable) {
|
135
|
+
children = helpers.getFilteredMenuOptions(option.children, this.includeDescriptionsInSearch, this.searchableSelectInputValue, this.searchMatchPosition);
|
136
|
+
}
|
137
|
+
else {
|
138
|
+
children = helpers.getFilteredMenuOptions(option.children, false, this.pressedCharacters, "start");
|
139
|
+
}
|
140
|
+
const newOption = Object.assign({}, option);
|
141
|
+
newOption.children = children;
|
142
|
+
return newOption;
|
143
|
+
};
|
144
|
+
this.handleNativeSelectChange = () => {
|
145
|
+
this.icOptionSelect.emit({ value: this.nativeSelectElement.value });
|
146
|
+
this.emitImmediateIcChange(this.nativeSelectElement.value);
|
147
|
+
this.setTextColor();
|
148
|
+
};
|
149
|
+
this.handleCustomSelectChange = (event) => {
|
150
|
+
if (this.searchable && event.detail.label === this.emptyOptionListText) {
|
151
|
+
this.searchableSelectElement.focus();
|
152
|
+
return;
|
153
|
+
}
|
154
|
+
if (this.searchable) {
|
155
|
+
this.value = event.detail.value;
|
156
|
+
this.searchableMenuItemSelected = true;
|
157
|
+
// After editing the input, if selecting the same option as before, set the input value to label again
|
158
|
+
if (this.value === this.currValue) {
|
159
|
+
this.searchableSelectInputValue = this.getLabelFromValue(this.value);
|
160
|
+
}
|
161
|
+
this.inputValueToFilter = null;
|
162
|
+
this.hiddenInputValue = this.getValueFromLabel(this.searchableSelectInputValue);
|
163
|
+
}
|
164
|
+
this.ariaActiveDescendant = event.detail.optionId;
|
165
|
+
this.icOptionSelect.emit({ value: event.detail.value });
|
166
|
+
this.emitIcChange(event.detail.value);
|
167
|
+
};
|
168
|
+
this.handleMenuChange = (event) => {
|
169
|
+
this.open = event.detail.open;
|
170
|
+
this.pressedCharacters = "";
|
171
|
+
this.searchable && this.handleFocusIndicatorDisplay();
|
172
|
+
};
|
173
|
+
// clears the debounce delay when navigating the menu with arrow keys etc
|
174
|
+
// to prevent delay in change event, which should only occur when typing in input
|
175
|
+
this.handleMenuKeyPress = (ev) => {
|
176
|
+
ev.cancelBubble = true;
|
177
|
+
this.handleCharacterKeyDown(ev.detail.key);
|
178
|
+
};
|
179
|
+
this.handleMenuValueChange = (ev) => {
|
180
|
+
this.value = ev.detail.value;
|
181
|
+
};
|
182
|
+
this.handleFocusIndicatorDisplay = () => {
|
183
|
+
const focusIndicator = this.el.shadowRoot.querySelector(".focus-indicator");
|
184
|
+
if (this.open) {
|
185
|
+
focusIndicator.classList.add("focus-indicator-enabled");
|
186
|
+
}
|
187
|
+
else {
|
188
|
+
focusIndicator.classList.remove("focus-indicator-enabled");
|
189
|
+
}
|
190
|
+
};
|
191
|
+
this.handleMouseDown = (event) => {
|
192
|
+
if (!this.open) {
|
193
|
+
event.preventDefault();
|
194
|
+
}
|
195
|
+
};
|
196
|
+
this.isExternalFiltering = () => this.searchable && this.disableFilter;
|
197
|
+
this.handleClick = (event) => {
|
198
|
+
var _a;
|
199
|
+
if (!this.open) {
|
200
|
+
if (this.isExternalFiltering()) {
|
201
|
+
this.menu.options = this.filteredOptions;
|
202
|
+
}
|
203
|
+
else if (!this.hasTimedOut &&
|
204
|
+
!this.loading &&
|
205
|
+
!((_a = this.noOptions) === null || _a === void 0 ? void 0 : _a.length) &&
|
206
|
+
(!this.searchable || this.searchableMenuItemSelected)) {
|
207
|
+
this.noOptions = null;
|
208
|
+
this.menu.options = this.uniqueOptions;
|
209
|
+
}
|
210
|
+
}
|
211
|
+
if (event.detail !== 0) {
|
212
|
+
this.menu.handleClickOpen();
|
213
|
+
}
|
214
|
+
};
|
215
|
+
this.handleExpandIconMouseDown = (event) => {
|
216
|
+
if (!this.disabled) {
|
217
|
+
event.preventDefault();
|
218
|
+
this.searchableSelectElement.focus();
|
219
|
+
this.handleClick(event);
|
220
|
+
}
|
221
|
+
};
|
222
|
+
this.handleClear = (event) => {
|
223
|
+
event.stopPropagation();
|
224
|
+
this.hasTimedOut = false;
|
225
|
+
clearTimeout(this.timeoutTimer);
|
279
226
|
this.noOptions = null;
|
280
|
-
this.
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
227
|
+
this.emitImmediateIcChange(null);
|
228
|
+
this.icClear.emit();
|
229
|
+
if (this.searchable) {
|
230
|
+
this.searchableSelectElement.value = null;
|
231
|
+
this.searchableSelectInputValue = null;
|
232
|
+
this.filteredOptions = this.uniqueOptions;
|
233
|
+
this.hiddenInputValue = null;
|
234
|
+
this.searchableSelectElement.focus();
|
235
|
+
}
|
236
|
+
else {
|
237
|
+
this.customSelectElement.focus();
|
238
|
+
}
|
239
|
+
};
|
240
|
+
this.handleCharacterKeyDown = (key) => {
|
241
|
+
// Only close menu when space is pressed if not being used alongside character keys to quickly select options
|
242
|
+
if (this.open &&
|
243
|
+
key === " " &&
|
244
|
+
this.pressedCharacters.length === 0 &&
|
245
|
+
!this.hasTimedOut &&
|
246
|
+
!this.loading) {
|
247
|
+
this.setMenuChange(false);
|
248
|
+
}
|
249
|
+
if (key.length === 1 && !this.searchable) {
|
250
|
+
window.clearTimeout(this.characterKeyPressTimer);
|
251
|
+
this.characterKeyPressTimer = window.setTimeout(() => (this.pressedCharacters = ""), 1000);
|
252
|
+
this.pressedCharacters += key;
|
253
|
+
this.handleFilter();
|
254
|
+
if (!this.noOptions) {
|
255
|
+
this.emitImmediateIcChange(this.filteredOptions[0].value);
|
256
|
+
}
|
257
|
+
}
|
258
|
+
else {
|
259
|
+
this.pressedCharacters = "";
|
260
|
+
}
|
261
|
+
};
|
262
|
+
this.handleNativeSelectKeyDown = (event) => {
|
263
|
+
if ((event.key !== "Escape" && event.key !== "Tab") || this.open) {
|
264
|
+
event.cancelBubble = true;
|
265
|
+
}
|
266
|
+
this.handleCharacterKeyDown(event.key);
|
267
|
+
};
|
268
|
+
this.handleKeyDown = (event) => {
|
269
|
+
if ((event.key !== "Escape" && event.key !== "Tab") || this.open) {
|
270
|
+
event.cancelBubble = true;
|
271
|
+
}
|
272
|
+
const isArrowKey = event.key === "ArrowDown" || event.key === "ArrowUp";
|
273
|
+
if (!this.open) {
|
274
|
+
if (this.isExternalFiltering() && (event.key === "Enter" || isArrowKey)) {
|
275
|
+
this.menu.options = this.filteredOptions;
|
276
|
+
}
|
277
|
+
else {
|
278
|
+
if (!this.hasTimedOut) {
|
279
|
+
this.noOptions = null;
|
280
|
+
this.menu.options = this.uniqueOptions;
|
281
|
+
}
|
282
|
+
}
|
283
|
+
}
|
284
|
+
if (this.open && event.key === "Enter") {
|
285
|
+
this.setMenuChange(false);
|
286
|
+
}
|
287
|
+
else {
|
288
|
+
if (!(isArrowKey && this.noOptions !== null)) {
|
289
|
+
if (!(event.key === " " && this.pressedCharacters.length > 0)) {
|
290
|
+
// Keyboard events get passed onto ic-menu
|
291
|
+
this.menu.handleKeyboardOpen(event);
|
292
|
+
}
|
293
|
+
this.handleCharacterKeyDown(event.key);
|
294
|
+
}
|
295
|
+
}
|
296
|
+
};
|
297
|
+
this.handleClearButtonFocus = () => {
|
298
|
+
this.clearButtonFocused = true;
|
299
|
+
};
|
300
|
+
this.handleClearButtonBlur = (ev) => {
|
301
|
+
var _a;
|
302
|
+
const retryButton = (_a = this.menu) === null || _a === void 0 ? void 0 : _a.querySelector("#retry-button");
|
303
|
+
if (!(this.searchableSelectElement &&
|
304
|
+
ev.relatedTarget === this.searchableSelectElement) &&
|
305
|
+
!(retryButton && ev.relatedTarget === retryButton)) {
|
306
|
+
this.setMenuChange(false);
|
307
|
+
this.handleFocusIndicatorDisplay();
|
308
|
+
}
|
309
|
+
this.clearButtonFocused = false;
|
310
|
+
};
|
311
|
+
this.handleFilter = () => {
|
312
|
+
var _a;
|
313
|
+
const options = this.deduplicateOptions(this.searchable ? [...this.uniqueOptions] : this.ungroupedOptions);
|
314
|
+
let isGrouped = false;
|
315
|
+
let newFilteredOptions = [];
|
316
|
+
options.map((option) => {
|
317
|
+
if (option.children)
|
318
|
+
isGrouped = true;
|
319
|
+
});
|
320
|
+
let menuOptionsFiltered;
|
321
|
+
if (this.searchable) {
|
322
|
+
menuOptionsFiltered = helpers.getFilteredMenuOptions(options, this.includeDescriptionsInSearch, this.inputValueToFilter, this.searchMatchPosition);
|
323
|
+
this.searchableMenuItemSelected = false;
|
324
|
+
}
|
325
|
+
else {
|
326
|
+
menuOptionsFiltered = helpers.getFilteredMenuOptions(options, false, this.pressedCharacters, "start");
|
327
|
+
}
|
328
|
+
if (!isGrouped &&
|
329
|
+
((_a = menuOptionsFiltered[0]) === null || _a === void 0 ? void 0 : _a.label) !== this.emptyOptionListText) {
|
330
|
+
newFilteredOptions = menuOptionsFiltered;
|
331
|
+
}
|
332
|
+
else if (isGrouped) {
|
333
|
+
options.map((option) => {
|
334
|
+
if (this.includeGroupTitlesInSearch) {
|
335
|
+
if (menuOptionsFiltered.indexOf(option) !== -1) {
|
336
|
+
newFilteredOptions.push(option);
|
337
|
+
}
|
338
|
+
else {
|
339
|
+
newFilteredOptions.push(this.getFilteredChildMenuOptions(option));
|
340
|
+
}
|
341
|
+
}
|
342
|
+
else {
|
343
|
+
newFilteredOptions.push(this.getFilteredChildMenuOptions(option));
|
344
|
+
}
|
345
|
+
});
|
346
|
+
}
|
347
|
+
let noChildOptionsWhenFiltered = false;
|
348
|
+
if (isGrouped) {
|
349
|
+
noChildOptionsWhenFiltered = true;
|
350
|
+
newFilteredOptions.map((option) => {
|
351
|
+
if (option.children.length > 0) {
|
352
|
+
noChildOptionsWhenFiltered = false;
|
353
|
+
}
|
354
|
+
});
|
355
|
+
}
|
356
|
+
if (newFilteredOptions.length > 0 && !noChildOptionsWhenFiltered) {
|
357
|
+
this.noOptions = null;
|
358
|
+
this.filteredOptions = newFilteredOptions;
|
337
359
|
}
|
338
360
|
else {
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
361
|
+
this.noOptions = [{ label: this.emptyOptionListText, value: "" }];
|
362
|
+
this.filteredOptions = this.noOptions;
|
363
|
+
}
|
364
|
+
};
|
365
|
+
/**
|
366
|
+
* Put the select component into loading state.
|
367
|
+
* Replace options with the loading message. If timeout is enabled, set the timeout and once passed, replace options with the loading error message
|
368
|
+
*/
|
369
|
+
this.triggerLoading = () => {
|
370
|
+
this.hasTimedOut = false;
|
371
|
+
this.noOptions = [{ label: this.loadingLabel, value: "", loading: true }];
|
372
|
+
if (this.filteredOptions !== this.noOptions && this.searchable) {
|
373
|
+
this.filteredOptions = this.noOptions;
|
374
|
+
}
|
375
|
+
else if (this.uniqueOptions !== this.noOptions && !this.searchable) {
|
376
|
+
this.uniqueOptions = this.noOptions;
|
377
|
+
}
|
378
|
+
if (this.timeout) {
|
379
|
+
this.timeoutTimer = window.setTimeout(() => {
|
380
|
+
this.loading = false;
|
381
|
+
this.hasTimedOut = true;
|
382
|
+
this.noOptions = [
|
383
|
+
{ label: this.loadingErrorLabel, value: "", timedOut: true },
|
384
|
+
];
|
385
|
+
this.filteredOptions = this.noOptions;
|
386
|
+
if (!this.searchable)
|
387
|
+
this.uniqueOptions = this.noOptions;
|
388
|
+
}, this.timeout);
|
389
|
+
}
|
390
|
+
};
|
391
|
+
this.getValueFromLabel = (label) => {
|
392
|
+
var _a;
|
393
|
+
return (_a = this.uniqueOptions.find((option) => option.label === label)) === null || _a === void 0 ? void 0 : _a.value;
|
394
|
+
};
|
395
|
+
this.handleSearchableSelectInput = (event) => {
|
396
|
+
this.searchableSelectInputValue = event.target.value;
|
397
|
+
this.icInput.emit({ value: this.searchableSelectInputValue });
|
398
|
+
this.emitIcChange(this.searchableSelectInputValue);
|
399
|
+
this.hiddenInputValue = this.searchableSelectInputValue;
|
400
|
+
this.inputValueToFilter = this.searchableSelectInputValue;
|
401
|
+
this.setMenuChange(true);
|
402
|
+
if (!this.disableFilter) {
|
403
|
+
this.handleFilter();
|
404
|
+
this.debounceAriaLiveUpdate();
|
405
|
+
}
|
406
|
+
};
|
407
|
+
this.updateSearchableSelectResultAriaLive = () => {
|
408
|
+
const searchableSelectResultsStatusEl = this.el.shadowRoot.querySelector(".searchable-select-results-status");
|
409
|
+
if (searchableSelectResultsStatusEl) {
|
410
|
+
if (this.noOptions !== null) {
|
411
|
+
searchableSelectResultsStatusEl.innerText = this.emptyOptionListText;
|
412
|
+
}
|
413
|
+
else {
|
414
|
+
searchableSelectResultsStatusEl.innerText = "";
|
415
|
+
}
|
416
|
+
}
|
417
|
+
};
|
418
|
+
this.getDefaultValue = (value) => this.getLabelFromValue(value) || value || null;
|
419
|
+
this.onFocus = () => {
|
420
|
+
this.icFocus.emit();
|
421
|
+
};
|
422
|
+
this.onBlur = (event) => {
|
423
|
+
var _a;
|
424
|
+
const target = event.relatedTarget;
|
425
|
+
if (target !== null &&
|
426
|
+
target.tagName === "UL" &&
|
427
|
+
target.className.includes("menu")) {
|
428
|
+
return;
|
429
|
+
}
|
430
|
+
const retryButton = (_a = this.menu) === null || _a === void 0 ? void 0 : _a.querySelector("#retry-button");
|
431
|
+
const isSearchableAndNoFocusedInternalElements = this.searchable &&
|
432
|
+
event.relatedTarget !== this.menu &&
|
433
|
+
!Array.from(this.menu.querySelectorAll("[role='option']")).includes(event.relatedTarget) &&
|
434
|
+
!(this.clearButton && event.relatedTarget === this.clearButton) &&
|
435
|
+
!(retryButton && event.relatedTarget === retryButton);
|
436
|
+
if (isSearchableAndNoFocusedInternalElements) {
|
437
|
+
if (!this.retryButtonClick) {
|
438
|
+
this.setMenuChange(false);
|
439
|
+
}
|
440
|
+
this.handleFocusIndicatorDisplay();
|
441
|
+
}
|
442
|
+
this.retryButtonClick = false;
|
443
|
+
this.icBlur.emit();
|
444
|
+
};
|
445
|
+
this.onTimeoutBlur = (ev) => {
|
446
|
+
if (ev.detail.ev.relatedTarget !==
|
447
|
+
this.searchableSelectElement &&
|
448
|
+
!this.blurredBecauseButtonPressed) {
|
449
|
+
this.setMenuChange(false);
|
450
|
+
this.handleFocusIndicatorDisplay();
|
451
|
+
this.icBlur.emit();
|
452
|
+
}
|
453
|
+
this.blurredBecauseButtonPressed = false;
|
454
|
+
};
|
455
|
+
this.handleFormReset = () => {
|
456
|
+
this.value = this.initialValue;
|
457
|
+
if (this.searchable) {
|
458
|
+
this.searchableSelectInputValue = this.getDefaultValue(this.value);
|
459
|
+
this.hiddenInputValue = this.value;
|
460
|
+
}
|
461
|
+
};
|
462
|
+
this.ariaActiveDescendant = undefined;
|
463
|
+
this.clearButtonFocused = false;
|
464
|
+
this.debounceIcChange = undefined;
|
465
|
+
this.hiddenInputValue = undefined;
|
357
466
|
this.noOptions = null;
|
358
|
-
this.
|
359
|
-
|
360
|
-
|
361
|
-
this.
|
362
|
-
this.
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
this.
|
374
|
-
|
375
|
-
|
376
|
-
this.
|
377
|
-
|
378
|
-
|
379
|
-
this.
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
this.
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
!(this.clearButton && event.relatedTarget === this.clearButton) &&
|
435
|
-
!(retryButton && event.relatedTarget === retryButton);
|
436
|
-
if (isSearchableAndNoFocusedInternalElements) {
|
437
|
-
if (!this.retryButtonClick) {
|
438
|
-
this.setMenuChange(false);
|
439
|
-
}
|
440
|
-
this.handleFocusIndicatorDisplay();
|
441
|
-
}
|
442
|
-
this.retryButtonClick = false;
|
443
|
-
this.icBlur.emit();
|
444
|
-
};
|
445
|
-
this.onTimeoutBlur = (ev) => {
|
446
|
-
if (ev.detail.ev.relatedTarget !==
|
447
|
-
this.searchableSelectElement &&
|
448
|
-
!this.blurredBecauseButtonPressed) {
|
449
|
-
this.setMenuChange(false);
|
450
|
-
this.handleFocusIndicatorDisplay();
|
451
|
-
this.icBlur.emit();
|
452
|
-
}
|
453
|
-
this.blurredBecauseButtonPressed = false;
|
454
|
-
};
|
455
|
-
this.handleFormReset = () => {
|
456
|
-
this.value = this.initialValue;
|
457
|
-
if (this.searchable) {
|
458
|
-
this.searchableSelectInputValue = this.getDefaultValue(this.value);
|
459
|
-
this.hiddenInputValue = this.value;
|
460
|
-
}
|
461
|
-
};
|
462
|
-
this.ariaActiveDescendant = undefined;
|
463
|
-
this.clearButtonFocused = false;
|
464
|
-
this.debounceIcChange = undefined;
|
465
|
-
this.hiddenInputValue = undefined;
|
466
|
-
this.noOptions = null;
|
467
|
-
this.open = false;
|
468
|
-
this.pressedCharacters = "";
|
469
|
-
this.searchableSelectInputValue = null;
|
470
|
-
this.charactersUntilSuggestions = 0;
|
471
|
-
this.disabled = false;
|
472
|
-
this.disableFilter = false;
|
473
|
-
this.emptyOptionListText = "No results found";
|
474
|
-
this.form = undefined;
|
475
|
-
this.formaction = undefined;
|
476
|
-
this.formenctype = undefined;
|
477
|
-
this.formmethod = undefined;
|
478
|
-
this.formnovalidate = undefined;
|
479
|
-
this.formtarget = undefined;
|
480
|
-
this.fullWidth = false;
|
481
|
-
this.helperText = "";
|
482
|
-
this.hideLabel = false;
|
483
|
-
this.includeDescriptionsInSearch = false;
|
484
|
-
this.includeGroupTitlesInSearch = false;
|
485
|
-
this.label = undefined;
|
486
|
-
this.loadingErrorLabel = "Loading Error";
|
487
|
-
this.loadingLabel = "Loading...";
|
488
|
-
this.name = this.inputId;
|
489
|
-
this.placeholder = "Select an option";
|
490
|
-
this.readonly = false;
|
491
|
-
this.required = false;
|
492
|
-
this.searchable = false;
|
493
|
-
this.searchMatchPosition = "anywhere";
|
494
|
-
this.selectOnEnter = false;
|
495
|
-
this.showClearButton = false;
|
496
|
-
this.size = "default";
|
497
|
-
this.small = false;
|
498
|
-
this.timeout = undefined;
|
499
|
-
this.validationStatus = "";
|
500
|
-
this.validationText = "";
|
501
|
-
this.loading = false;
|
502
|
-
this.options = [];
|
503
|
-
this.filteredOptions = this.options;
|
504
|
-
this.uniqueOptions = this.options;
|
505
|
-
this.debounce = 0;
|
506
|
-
this.currDebounce = this.debounce;
|
507
|
-
this.value = undefined;
|
508
|
-
this.initialValue = this.value;
|
509
|
-
this.inputValueToFilter = this.value;
|
510
|
-
this.currValue = this.value;
|
511
|
-
}
|
512
|
-
loadingHandler(newValue) {
|
513
|
-
newValue && this.triggerLoading();
|
514
|
-
}
|
515
|
-
watchOptionsHandler() {
|
516
|
-
if (!this.hasTimedOut) {
|
517
|
-
this.loading = false;
|
518
|
-
clearTimeout(this.timeoutTimer);
|
519
|
-
if (this.isExternalFiltering()) {
|
520
|
-
if (this.options.length > 0) {
|
521
|
-
this.setOptionsValuesFromLabels();
|
522
|
-
this.noOptions = null;
|
523
|
-
this.uniqueOptions = this.deduplicateOptions(this.options);
|
524
|
-
this.filteredOptions = this.uniqueOptions;
|
467
|
+
this.open = false;
|
468
|
+
this.pressedCharacters = "";
|
469
|
+
this.searchableSelectInputValue = null;
|
470
|
+
this.charactersUntilSuggestions = 0;
|
471
|
+
this.disabled = false;
|
472
|
+
this.disableFilter = false;
|
473
|
+
this.emptyOptionListText = "No results found";
|
474
|
+
this.form = undefined;
|
475
|
+
this.formaction = undefined;
|
476
|
+
this.formenctype = undefined;
|
477
|
+
this.formmethod = undefined;
|
478
|
+
this.formnovalidate = undefined;
|
479
|
+
this.formtarget = undefined;
|
480
|
+
this.fullWidth = false;
|
481
|
+
this.helperText = "";
|
482
|
+
this.hideLabel = false;
|
483
|
+
this.includeDescriptionsInSearch = false;
|
484
|
+
this.includeGroupTitlesInSearch = false;
|
485
|
+
this.label = undefined;
|
486
|
+
this.loadingErrorLabel = "Loading Error";
|
487
|
+
this.loadingLabel = "Loading...";
|
488
|
+
this.name = this.inputId;
|
489
|
+
this.placeholder = "Select an option";
|
490
|
+
this.readonly = false;
|
491
|
+
this.required = false;
|
492
|
+
this.searchable = false;
|
493
|
+
this.searchMatchPosition = "anywhere";
|
494
|
+
this.selectOnEnter = false;
|
495
|
+
this.showClearButton = false;
|
496
|
+
this.size = "default";
|
497
|
+
this.small = false;
|
498
|
+
this.timeout = undefined;
|
499
|
+
this.validationStatus = "";
|
500
|
+
this.validationText = "";
|
501
|
+
this.loading = false;
|
502
|
+
this.options = [];
|
503
|
+
this.filteredOptions = this.options;
|
504
|
+
this.uniqueOptions = this.options;
|
505
|
+
this.debounce = 0;
|
506
|
+
this.currDebounce = this.debounce;
|
507
|
+
this.value = undefined;
|
508
|
+
this.initialValue = this.value;
|
509
|
+
this.inputValueToFilter = this.value;
|
510
|
+
this.currValue = this.value;
|
511
|
+
}
|
512
|
+
loadingHandler(newValue) {
|
513
|
+
newValue && this.triggerLoading();
|
514
|
+
}
|
515
|
+
watchOptionsHandler() {
|
516
|
+
if (!this.hasTimedOut) {
|
517
|
+
this.loading = false;
|
518
|
+
clearTimeout(this.timeoutTimer);
|
519
|
+
if (this.isExternalFiltering()) {
|
520
|
+
if (this.options.length > 0) {
|
521
|
+
this.setOptionsValuesFromLabels();
|
522
|
+
this.noOptions = null;
|
523
|
+
this.uniqueOptions = this.deduplicateOptions(this.options);
|
524
|
+
this.filteredOptions = this.uniqueOptions;
|
525
|
+
}
|
526
|
+
else {
|
527
|
+
this.noOptions = [{ label: this.emptyOptionListText, value: "" }];
|
528
|
+
this.uniqueOptions = this.noOptions;
|
529
|
+
this.filteredOptions = this.noOptions;
|
530
|
+
}
|
531
|
+
this.updateSearchableSelectResultAriaLive();
|
532
|
+
this.setDefaultValue();
|
533
|
+
}
|
534
|
+
else {
|
535
|
+
this.setOptionsValuesFromLabels();
|
536
|
+
this.uniqueOptions = this.deduplicateOptions(this.options);
|
537
|
+
this.filteredOptions = this.uniqueOptions;
|
538
|
+
if (this.initialOptionsEmpty) {
|
539
|
+
this.setDefaultValue();
|
540
|
+
this.initialOptionsEmpty = false;
|
541
|
+
}
|
542
|
+
}
|
525
543
|
}
|
526
544
|
else {
|
527
|
-
|
528
|
-
|
529
|
-
this.filteredOptions = this.noOptions;
|
545
|
+
if (!this.searchable)
|
546
|
+
this.options = this.noOptions;
|
530
547
|
}
|
531
|
-
this.updateSearchableSelectResultAriaLive();
|
532
|
-
this.setDefaultValue();
|
533
|
-
}
|
534
|
-
else {
|
535
|
-
this.setOptionsValuesFromLabels();
|
536
|
-
this.uniqueOptions = this.deduplicateOptions(this.options);
|
537
|
-
this.filteredOptions = this.uniqueOptions;
|
538
|
-
if (this.initialOptionsEmpty) {
|
539
|
-
this.setDefaultValue();
|
540
|
-
this.initialOptionsEmpty = false;
|
541
|
-
}
|
542
|
-
}
|
543
|
-
}
|
544
|
-
else {
|
545
|
-
if (!this.searchable)
|
546
|
-
this.options = this.noOptions;
|
547
548
|
}
|
548
|
-
|
549
|
-
|
550
|
-
this.updateOnChangeDebounce(newValue);
|
551
|
-
}
|
552
|
-
valueChangedHandler() {
|
553
|
-
if (this.value !== this.currValue) {
|
554
|
-
this.currValue = this.value;
|
549
|
+
debounceChangedHandler(newValue) {
|
550
|
+
this.updateOnChangeDebounce(newValue);
|
555
551
|
}
|
556
|
-
|
557
|
-
|
558
|
-
|
552
|
+
valueChangedHandler() {
|
553
|
+
if (this.value !== this.currValue) {
|
554
|
+
this.currValue = this.value;
|
555
|
+
}
|
556
|
+
if (this.searchable) {
|
557
|
+
this.searchableSelectInputValue =
|
558
|
+
this.getLabelFromValue(this.currValue) || this.currValue;
|
559
|
+
}
|
559
560
|
}
|
560
|
-
|
561
|
-
|
562
|
-
helpers.removeFormResetListener(this.el, this.handleFormReset);
|
563
|
-
}
|
564
|
-
componentWillLoad() {
|
565
|
-
this.inheritedAttributes = helpers.inheritAttributes(this.el, [
|
566
|
-
...helpers.IC_INHERITED_ARIA,
|
567
|
-
"tabindex",
|
568
|
-
"title",
|
569
|
-
]);
|
570
|
-
helpers.removeDisabledFalse(this.disabled, this.el);
|
571
|
-
this.setOptionsValuesFromLabels();
|
572
|
-
helpers.addFormResetListener(this.el, this.handleFormReset);
|
573
|
-
if (!this.options.length) {
|
574
|
-
this.initialOptionsEmpty = true;
|
575
|
-
this.noOptions = [{ label: this.emptyOptionListText, value: "" }];
|
576
|
-
this.uniqueOptions = this.noOptions;
|
577
|
-
this.filteredOptions = this.noOptions;
|
561
|
+
disconnectedCallback() {
|
562
|
+
helpers.removeFormResetListener(this.el, this.handleFormReset);
|
578
563
|
}
|
579
|
-
|
580
|
-
|
581
|
-
|
564
|
+
componentWillLoad() {
|
565
|
+
this.inheritedAttributes = helpers.inheritAttributes(this.el, [
|
566
|
+
...helpers.IC_INHERITED_ARIA,
|
567
|
+
"tabindex",
|
568
|
+
"title",
|
569
|
+
]);
|
570
|
+
helpers.removeDisabledFalse(this.disabled, this.el);
|
571
|
+
this.setOptionsValuesFromLabels();
|
572
|
+
helpers.addFormResetListener(this.el, this.handleFormReset);
|
573
|
+
if (!this.options.length) {
|
574
|
+
this.initialOptionsEmpty = true;
|
575
|
+
this.noOptions = [{ label: this.emptyOptionListText, value: "" }];
|
576
|
+
this.uniqueOptions = this.noOptions;
|
577
|
+
this.filteredOptions = this.noOptions;
|
578
|
+
}
|
579
|
+
else {
|
580
|
+
this.setDefaultValue();
|
581
|
+
this.uniqueOptions = this.deduplicateOptions(this.options);
|
582
|
+
}
|
582
583
|
}
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
584
|
+
componentDidLoad() {
|
585
|
+
helpers.onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Select");
|
586
|
+
if (this.loading) {
|
587
|
+
this.triggerLoading();
|
588
|
+
}
|
589
|
+
this.hiddenInputValue = this.searchable && this.currValue;
|
588
590
|
}
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
this.setTextColor();
|
591
|
+
componentDidRender() {
|
592
|
+
if (this.nativeSelectElement && !this.disabled) {
|
593
|
+
this.setTextColor();
|
594
|
+
}
|
594
595
|
}
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
596
|
+
/**
|
597
|
+
* Sets focus on the input box.
|
598
|
+
*/
|
599
|
+
async setFocus() {
|
600
|
+
if (this.nativeSelectElement) {
|
601
|
+
this.nativeSelectElement.focus();
|
602
|
+
}
|
603
|
+
else if (this.customSelectElement) {
|
604
|
+
this.customSelectElement.focus();
|
605
|
+
}
|
606
|
+
else if (this.searchableSelectElement) {
|
607
|
+
this.searchableSelectElement.focus();
|
608
|
+
}
|
602
609
|
}
|
603
|
-
|
604
|
-
|
610
|
+
updateOnChangeDebounce(newValue) {
|
611
|
+
if (this.currDebounce !== newValue) {
|
612
|
+
this.currDebounce = newValue;
|
613
|
+
}
|
605
614
|
}
|
606
|
-
|
607
|
-
|
615
|
+
debounceAriaLiveUpdate() {
|
616
|
+
clearTimeout(this.debounceAria);
|
617
|
+
window.setTimeout(() => {
|
618
|
+
this.updateSearchableSelectResultAriaLive();
|
619
|
+
}, 800);
|
608
620
|
}
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
621
|
+
setDefaultValue() {
|
622
|
+
if (!this.hasSetDefaultValue && this.currValue) {
|
623
|
+
this.searchableSelectInputValue = this.getDefaultValue(this.currValue);
|
624
|
+
this.initialValue = this.currValue;
|
625
|
+
this.hasSetDefaultValue = true;
|
626
|
+
}
|
613
627
|
}
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
628
|
+
render() {
|
629
|
+
const { small, size, disabled, fullWidth, helperText, hideLabel, label, menuId, name, options, placeholder, readonly, required, searchable, showClearButton, validationStatus, validationText, currValue, } = this;
|
630
|
+
helpers.renderHiddenInput(true, this.el, name, this.searchable ? this.hiddenInputValue : currValue, disabled);
|
631
|
+
const invalid = validationStatus === types.IcInformationStatus.Error ? "true" : "false";
|
632
|
+
const describedBy = helpers.getInputDescribedByText(this.inputId, helperText !== "", helpers.hasValidationStatus(this.validationStatus, this.disabled)).trim();
|
633
|
+
return (index.h(index.Host, { class: {
|
634
|
+
disabled: disabled,
|
635
|
+
searchable: searchable,
|
636
|
+
small: small || size === "small",
|
637
|
+
"full-width": fullWidth,
|
638
|
+
}, onBlur: this.onBlur }, index.h("ic-input-container", { readonly: readonly }, !hideLabel && (index.h("ic-input-label", { for: this.inputId, label: label, helperText: helperText, required: required, disabled: disabled, readonly: readonly })), index.h("ic-input-component-container", { ref: (el) => (this.anchorEl = el), class: { "menu-open": this.open }, small: small || size === "small", fullWidth: fullWidth, disabled: disabled, readonly: readonly, validationStatus: validationStatus }, readonly ? (index.h("ic-typography", null, index.h("p", null, this.getLabelFromValue(currValue)))) : helpers.isMobileOrTablet() ? (index.h("select", Object.assign({ ref: (el) => (this.nativeSelectElement = el), disabled: disabled, onChange: this.handleNativeSelectChange, required: required, id: this.inputId, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.handleNativeSelectKeyDown, form: this.form }, this.inheritedAttributes), index.h("option", { value: "", selected: true, disabled: !showClearButton }, placeholder), options.map((option) => {
|
639
|
+
if (option.children) {
|
640
|
+
return (index.h("optgroup", { label: option.label }, option.children.map((option) => (index.h("option", { value: option.value, disabled: option.disabled, selected: option.value === currValue }, option.label)))));
|
641
|
+
}
|
642
|
+
else {
|
643
|
+
return (index.h("option", { value: option.value, disabled: option.disabled, selected: option.value === currValue }, option.label));
|
644
|
+
}
|
645
|
+
}))) : searchable ? (index.h("div", { class: "searchable-select-container" }, index.h("input", { class: "select-input", role: "combobox", autocomplete: "off", "aria-label": label, "aria-describedby": describedBy, "aria-activedescendant": this.ariaActiveDescendant, "aria-autocomplete": "list", "aria-expanded": this.open ? "true" : "false", "aria-invalid": invalid, "aria-required": required ? "true" : "false", "aria-controls": menuId, ref: (el) => (this.searchableSelectElement = el), id: this.inputId, value: this.searchableSelectInputValue, placeholder: placeholder, disabled: disabled, onInput: this.handleSearchableSelectInput, onClick: this.handleClick, onKeyDown: this.handleKeyDown, onFocus: this.onFocus, onBlur: this.onBlur, form: this.form, formaction: this.formaction, formenctype: this.formenctype, formmethod: this.formmethod, formnovalidate: this.formnovalidate, formtarget: this.formtarget }), this.searchableSelectInputValue &&
|
646
|
+
(showClearButton || searchable) && (index.h("div", { class: "clear-button-container" }, index.h("ic-button", { id: "clear-button", ref: (el) => (this.clearButton = el), "aria-label": this.searchableSelectInputValue && currValue === null
|
647
|
+
? "Clear input"
|
648
|
+
: "Clear selection", class: "clear-button", innerHTML: Clear, onClick: this.handleClear, onFocus: this.handleClearButtonFocus, onBlur: this.handleClearButtonBlur, size: size, variant: "icon", appearance: this.clearButtonFocused
|
649
|
+
? types.IcThemeForegroundEnum.Light
|
650
|
+
: types.IcThemeForegroundEnum.Dark }), index.h("div", { class: "divider" }))), index.h("span", { onMouseDown: this.handleExpandIconMouseDown, class: {
|
651
|
+
"expand-icon": true,
|
652
|
+
"expand-icon-open": this.open,
|
653
|
+
"expand-icon-filled": !(currValue == null || currValue === ""),
|
654
|
+
}, innerHTML: Expand, "aria-hidden": "true" }), index.h("div", { "aria-live": "polite", role: "status", class: "searchable-select-results-status" }))) : (index.h("div", { class: "select-container" }, index.h("button", { class: "select-input", ref: (el) => (this.customSelectElement = el), id: this.inputId, "aria-label": `${label}, ${this.getLabelFromValue(currValue) || placeholder}${required ? ", required" : ""}`, "aria-describedby": describedBy, "aria-invalid": invalid, "aria-haspopup": "listbox", "aria-expanded": this.open ? "true" : "false", "aria-owns": menuId, "aria-controls": menuId, disabled: disabled, onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.handleClick, onMouseDown: this.handleMouseDown, onKeyDown: this.handleKeyDown }, index.h("ic-typography", { variant: "body", class: {
|
655
|
+
"value-text": true,
|
656
|
+
placeholder: this.getLabelFromValue(currValue) === undefined,
|
657
|
+
} }, index.h("p", null, this.getLabelFromValue(currValue) || placeholder)), index.h("div", { class: "select-input-end" }, currValue && showClearButton && (index.h("div", { class: "divider" })), index.h("span", { class: {
|
658
|
+
"expand-icon": true,
|
659
|
+
"expand-icon-open": this.open,
|
660
|
+
"expand-icon-filled": !(currValue == null || currValue === ""),
|
661
|
+
}, innerHTML: Expand, "aria-hidden": "true" }))), currValue && showClearButton && (index.h("ic-button", { id: "clear-button", "aria-label": "Clear selection", class: "clear-button", innerHTML: Clear, onClick: this.handleClear, onFocus: this.handleClearButtonFocus, onBlur: this.handleClearButtonBlur, size: size, variant: "icon", appearance: this.clearButtonFocused
|
662
|
+
? types.IcThemeForegroundEnum.Light
|
663
|
+
: types.IcThemeForegroundEnum.Dark }))))), !helpers.isMobileOrTablet() && (index.h("ic-menu", { class: {
|
664
|
+
"no-results": this.loading ||
|
665
|
+
this.hasTimedOut ||
|
666
|
+
(this.noOptions !== null &&
|
667
|
+
this.noOptions[0] &&
|
668
|
+
this.noOptions[0].label === this.emptyOptionListText),
|
669
|
+
}, ref: (el) => (this.menu = el), inputEl: searchable
|
670
|
+
? this.searchableSelectElement
|
671
|
+
: this.customSelectElement, inputLabel: label, anchorEl: this.anchorEl, small: small || size === "small", menuId: menuId, open: this.open, options: searchable ? this.filteredOptions : this.uniqueOptions, value: currValue, fullWidth: fullWidth, selectOnEnter: this.selectOnEnter, onMenuStateChange: this.handleMenuChange, onMenuOptionSelect: this.handleCustomSelectChange, onMenuKeyPress: this.handleMenuKeyPress, onMenuValueChange: this.handleMenuValueChange, onUngroupedOptionsSet: this.setUngroupedOptions, onRetryButtonClicked: this.handleRetry, parentEl: this.el, onTimeoutBlur: this.onTimeoutBlur, activationType: this.searchable || this.selectOnEnter ? "manual" : "automatic" })), helpers.hasValidationStatus(this.validationStatus, this.disabled) && (index.h("ic-input-validation", { class: { "menu-open": this.open }, ariaLiveMode: "polite", status: validationStatus, message: validationText, for: this.inputId })))));
|
626
672
|
}
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
searchable: searchable,
|
636
|
-
small: small || size === "small",
|
637
|
-
"full-width": fullWidth,
|
638
|
-
}, onBlur: this.onBlur }, index.h("ic-input-container", { readonly: readonly }, !hideLabel && (index.h("ic-input-label", { for: this.inputId, label: label, helperText: helperText, required: required, disabled: disabled, readonly: readonly })), index.h("ic-input-component-container", { ref: (el) => (this.anchorEl = el), class: { "menu-open": this.open }, small: small || size === "small", fullWidth: fullWidth, disabled: disabled, readonly: readonly, validationStatus: validationStatus }, readonly ? (index.h("ic-typography", null, index.h("p", null, this.getLabelFromValue(currValue)))) : helpers.isMobileOrTablet() ? (index.h("select", Object.assign({ ref: (el) => (this.nativeSelectElement = el), disabled: disabled, onChange: this.handleNativeSelectChange, required: required, id: this.inputId, "aria-label": label, "aria-describedby": describedBy, "aria-invalid": invalid, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.handleNativeSelectKeyDown, form: this.form }, this.inheritedAttributes), index.h("option", { value: "", selected: true, disabled: !showClearButton }, placeholder), options.map((option) => {
|
639
|
-
if (option.children) {
|
640
|
-
return (index.h("optgroup", { label: option.label }, option.children.map((option) => (index.h("option", { value: option.value, disabled: option.disabled, selected: option.value === currValue }, option.label)))));
|
641
|
-
}
|
642
|
-
else {
|
643
|
-
return (index.h("option", { value: option.value, disabled: option.disabled, selected: option.value === currValue }, option.label));
|
644
|
-
}
|
645
|
-
}))) : searchable ? (index.h("div", { class: "searchable-select-container" }, index.h("input", { class: "select-input", role: "combobox", autocomplete: "off", "aria-label": label, "aria-describedby": describedBy, "aria-activedescendant": this.ariaActiveDescendant, "aria-autocomplete": "list", "aria-expanded": this.open ? "true" : "false", "aria-invalid": invalid, "aria-required": required ? "true" : "false", "aria-controls": menuId, ref: (el) => (this.searchableSelectElement = el), id: this.inputId, value: this.searchableSelectInputValue, placeholder: placeholder, disabled: disabled, onInput: this.handleSearchableSelectInput, onClick: this.handleClick, onKeyDown: this.handleKeyDown, onFocus: this.onFocus, onBlur: this.onBlur, form: this.form, formaction: this.formaction, formenctype: this.formenctype, formmethod: this.formmethod, formnovalidate: this.formnovalidate, formtarget: this.formtarget }), this.searchableSelectInputValue &&
|
646
|
-
(showClearButton || searchable) && (index.h("div", { class: "clear-button-container" }, index.h("ic-button", { id: "clear-button", ref: (el) => (this.clearButton = el), "aria-label": this.searchableSelectInputValue && currValue === null
|
647
|
-
? "Clear input"
|
648
|
-
: "Clear selection", class: "clear-button", innerHTML: Clear, onClick: this.handleClear, onFocus: this.handleClearButtonFocus, onBlur: this.handleClearButtonBlur, size: size, variant: "icon", appearance: this.clearButtonFocused
|
649
|
-
? types.IcThemeForegroundEnum.Light
|
650
|
-
: types.IcThemeForegroundEnum.Dark }), index.h("div", { class: "divider" }))), index.h("span", { onMouseDown: this.handleExpandIconMouseDown, class: {
|
651
|
-
"expand-icon": true,
|
652
|
-
"expand-icon-open": this.open,
|
653
|
-
"expand-icon-filled": !(currValue == null || currValue === ""),
|
654
|
-
}, innerHTML: Expand, "aria-hidden": "true" }), index.h("div", { "aria-live": "polite", role: "status", class: "searchable-select-results-status" }))) : (index.h("div", { class: "select-container" }, index.h("button", { class: "select-input", ref: (el) => (this.customSelectElement = el), id: this.inputId, "aria-label": `${label}, ${this.getLabelFromValue(currValue) || placeholder}${required ? ", required" : ""}`, "aria-describedby": describedBy, "aria-invalid": invalid, "aria-haspopup": "listbox", "aria-expanded": this.open ? "true" : "false", "aria-owns": menuId, "aria-controls": menuId, disabled: disabled, onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.handleClick, onMouseDown: this.handleMouseDown, onKeyDown: this.handleKeyDown }, index.h("ic-typography", { variant: "body", class: {
|
655
|
-
"value-text": true,
|
656
|
-
placeholder: this.getLabelFromValue(currValue) === undefined,
|
657
|
-
} }, index.h("p", null, this.getLabelFromValue(currValue) || placeholder)), index.h("div", { class: "select-input-end" }, currValue && showClearButton && (index.h("div", { class: "divider" })), index.h("span", { class: {
|
658
|
-
"expand-icon": true,
|
659
|
-
"expand-icon-open": this.open,
|
660
|
-
"expand-icon-filled": !(currValue == null || currValue === ""),
|
661
|
-
}, innerHTML: Expand, "aria-hidden": "true" }))), currValue && showClearButton && (index.h("ic-button", { id: "clear-button", "aria-label": "Clear selection", class: "clear-button", innerHTML: Clear, onClick: this.handleClear, onFocus: this.handleClearButtonFocus, onBlur: this.handleClearButtonBlur, size: size, variant: "icon", appearance: this.clearButtonFocused
|
662
|
-
? types.IcThemeForegroundEnum.Light
|
663
|
-
: types.IcThemeForegroundEnum.Dark }))))), !helpers.isMobileOrTablet() && (index.h("ic-menu", { class: {
|
664
|
-
"no-results": this.loading ||
|
665
|
-
this.hasTimedOut ||
|
666
|
-
(this.noOptions !== null &&
|
667
|
-
this.noOptions[0] &&
|
668
|
-
this.noOptions[0].label === this.emptyOptionListText),
|
669
|
-
}, ref: (el) => (this.menu = el), inputEl: searchable
|
670
|
-
? this.searchableSelectElement
|
671
|
-
: this.customSelectElement, inputLabel: label, anchorEl: this.anchorEl, small: small || size === "small", menuId: menuId, open: this.open, options: searchable ? this.filteredOptions : this.uniqueOptions, value: currValue, fullWidth: fullWidth, selectOnEnter: this.selectOnEnter, onMenuStateChange: this.handleMenuChange, onMenuOptionSelect: this.handleCustomSelectChange, onMenuKeyPress: this.handleMenuKeyPress, onMenuValueChange: this.handleMenuValueChange, onUngroupedOptionsSet: this.setUngroupedOptions, onRetryButtonClicked: this.handleRetry, parentEl: this.el, onTimeoutBlur: this.onTimeoutBlur, activationType: this.searchable || this.selectOnEnter ? "manual" : "automatic" })), helpers.hasValidationStatus(this.validationStatus, this.disabled) && (index.h("ic-input-validation", { class: { "menu-open": this.open }, ariaLiveMode: "polite", status: validationStatus, message: validationText, for: this.inputId })))));
|
672
|
-
}
|
673
|
-
static get delegatesFocus() { return true; }
|
674
|
-
get el() { return index.getElement(this); }
|
675
|
-
static get watchers() { return {
|
676
|
-
"loading": ["loadingHandler"],
|
677
|
-
"options": ["watchOptionsHandler"],
|
678
|
-
"debounce": ["debounceChangedHandler"],
|
679
|
-
"value": ["valueChangedHandler"]
|
680
|
-
}; }
|
673
|
+
static get delegatesFocus() { return true; }
|
674
|
+
get el() { return index.getElement(this); }
|
675
|
+
static get watchers() { return {
|
676
|
+
"loading": ["loadingHandler"],
|
677
|
+
"options": ["watchOptionsHandler"],
|
678
|
+
"debounce": ["debounceChangedHandler"],
|
679
|
+
"value": ["valueChangedHandler"]
|
680
|
+
}; }
|
681
681
|
};
|
682
682
|
Select.style = icSelectCss;
|
683
683
|
|