@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
@@ -1,19 +1,20 @@
|
|
1
1
|
var __rest = (this && this.__rest) || function (s, e) {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
2
|
+
var t = {};
|
3
|
+
for (var p in s)
|
4
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
5
|
+
t[p] = s[p];
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
9
|
+
t[p[i]] = s[p[i]];
|
10
|
+
}
|
11
|
+
return t;
|
12
12
|
};
|
13
13
|
import { Host, forceUpdate, h, } from "@stencil/core";
|
14
14
|
import { getThemeFromContext, inheritAttributes, isSlotUsed, removeDisabledFalse, } from "../../utils/helpers";
|
15
15
|
import { IC_INHERITED_ARIA } from "../../utils/constants";
|
16
16
|
import { IcThemeForegroundEnum, } from "../../utils/types";
|
17
|
+
import arrowDropdown from "../../assets/arrow-dropdown.svg";
|
17
18
|
let buttonIds = 0;
|
18
19
|
/**
|
19
20
|
* @slot icon - Deprecated. This slot should not be used anymore. Use left-icon or right-icon slot instead.
|
@@ -22,785 +23,860 @@ let buttonIds = 0;
|
|
22
23
|
* @slot badge - Badge component overlaying the top right of the button.
|
23
24
|
*/
|
24
25
|
export class Button {
|
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
|
-
|
26
|
+
constructor() {
|
27
|
+
this.buttonIdNum = buttonIds++;
|
28
|
+
this.hasTooltip = false;
|
29
|
+
this.inheritedAttributes = {};
|
30
|
+
this.describedByEl = null;
|
31
|
+
this.describedById = null;
|
32
|
+
this.mutationObserver = null;
|
33
|
+
this.hostMutationObserver = null;
|
34
|
+
this.setViewBox = () => {
|
35
|
+
let iconEl;
|
36
|
+
if (this.hasLeftIconSlot()) {
|
37
|
+
iconEl = this.el.querySelector(`[slot="left-icon"]`);
|
38
|
+
}
|
39
|
+
else if (this.hasRightIconSlot()) {
|
40
|
+
iconEl = this.el.querySelector(`[slot="right-icon"]`);
|
41
|
+
}
|
42
|
+
else {
|
43
|
+
iconEl = null;
|
44
|
+
}
|
45
|
+
return iconEl;
|
46
|
+
};
|
47
|
+
this.handleClick = () => {
|
48
|
+
if ((this.el.type === "submit" || this.el.type === "reset") &&
|
49
|
+
!!this.el.closest("FORM")) {
|
50
|
+
this.handleHiddenFormButtonClick(this.el.closest("FORM"));
|
51
|
+
}
|
52
|
+
};
|
53
|
+
this.onFocus = () => {
|
54
|
+
this.icFocus.emit();
|
55
|
+
};
|
56
|
+
this.onBlur = () => {
|
57
|
+
this.icBlur.emit();
|
58
|
+
};
|
59
|
+
this.loadingWidth = () => {
|
60
|
+
if (this.loading) {
|
61
|
+
this.el.style.setProperty("--min-width", `${this.el.getBoundingClientRect().width}px`);
|
62
|
+
}
|
63
|
+
};
|
64
|
+
// triggered when text content of sibling element in light DOM changes
|
65
|
+
this.mutationCallback = () => {
|
66
|
+
this.describedByContent = this.describedByEl.innerText;
|
67
|
+
};
|
68
|
+
// triggered when attributes of host element change
|
69
|
+
this.hostMutationCallback = (mutationList) => {
|
70
|
+
let forceComponentUpdate = false;
|
71
|
+
mutationList.forEach(({ attributeName }) => {
|
72
|
+
const attribute = this.el.getAttribute(attributeName);
|
73
|
+
if (attributeName === "title")
|
74
|
+
this.title = attribute;
|
75
|
+
else if (attributeName === "aria-label")
|
76
|
+
this.ariaLabel = attribute;
|
77
|
+
if (IC_INHERITED_ARIA.includes(attributeName)) {
|
78
|
+
this.inheritedAttributes[attributeName] = attribute;
|
79
|
+
forceComponentUpdate = true;
|
80
|
+
}
|
81
|
+
});
|
82
|
+
if (forceComponentUpdate) {
|
83
|
+
forceUpdate(this);
|
84
|
+
}
|
85
|
+
};
|
86
|
+
this.setHasTooltip = () => {
|
87
|
+
this.hasTooltip =
|
88
|
+
!this.disableTooltip && (!!this.title || this.variant === "icon");
|
89
|
+
};
|
90
|
+
this.ariaLabel = null;
|
91
|
+
this.describedByContent = null;
|
92
|
+
this.title = null;
|
93
|
+
this.appearance = "default";
|
94
|
+
this.ariaControlsId = undefined;
|
95
|
+
this.ariaOwnsId = undefined;
|
96
|
+
this.disabled = false;
|
97
|
+
this.disableTooltip = false;
|
98
|
+
this.download = false;
|
99
|
+
this.dropdown = false;
|
100
|
+
this.dropdownExpanded = false;
|
101
|
+
this.form = undefined;
|
102
|
+
this.formaction = undefined;
|
103
|
+
this.formenctype = undefined;
|
104
|
+
this.formmethod = undefined;
|
105
|
+
this.formnovalidate = undefined;
|
106
|
+
this.formtarget = undefined;
|
107
|
+
this.fullWidth = false;
|
108
|
+
this.href = undefined;
|
109
|
+
this.hreflang = undefined;
|
110
|
+
this.loading = false;
|
111
|
+
this.referrerpolicy = undefined;
|
112
|
+
this.rel = undefined;
|
113
|
+
this.size = "default";
|
114
|
+
this.target = undefined;
|
115
|
+
this.tooltipPlacement = "bottom";
|
116
|
+
this.transparentBackground = true;
|
117
|
+
this.type = "button";
|
118
|
+
this.variant = "primary";
|
119
|
+
}
|
120
|
+
disconnectedCallback() {
|
121
|
+
if (this.mutationObserver !== null && this.mutationObserver !== undefined) {
|
122
|
+
this.mutationObserver.disconnect();
|
73
123
|
}
|
74
|
-
if (
|
75
|
-
|
124
|
+
if (this.hostMutationObserver !== null &&
|
125
|
+
this.hostMutationObserver !== undefined) {
|
126
|
+
this.hostMutationObserver.disconnect();
|
76
127
|
}
|
77
|
-
|
78
|
-
|
79
|
-
|
128
|
+
}
|
129
|
+
componentWillUpdate() {
|
130
|
+
this.loadingWidth();
|
131
|
+
this.setHasTooltip();
|
132
|
+
}
|
133
|
+
componentWillLoad() {
|
134
|
+
const allInheritedAttributes = inheritAttributes(this.el, [
|
135
|
+
...IC_INHERITED_ARIA,
|
136
|
+
"title",
|
137
|
+
]);
|
138
|
+
const { title, "aria-label": ariaLabel } = allInheritedAttributes, restInheritedAttributes = __rest(allInheritedAttributes, ["title", "aria-label"]);
|
139
|
+
this.title = title;
|
140
|
+
this.ariaLabel = ariaLabel;
|
141
|
+
this.inheritedAttributes = restInheritedAttributes;
|
142
|
+
removeDisabledFalse(this.disabled, this.el);
|
143
|
+
this.el.setAttribute("exportparts", "button");
|
144
|
+
const id = this.el.id;
|
145
|
+
this.id = id !== undefined ? id : null;
|
146
|
+
this.setHasTooltip();
|
147
|
+
if (!this.hasTooltip) {
|
148
|
+
const describedById = this.inheritedAttributes["aria-describedby"];
|
149
|
+
if (describedById !== undefined) {
|
150
|
+
this.describedById = describedById;
|
151
|
+
const el = this.el.parentElement.querySelector(`#${describedById}`);
|
152
|
+
if (el !== undefined && el !== null) {
|
153
|
+
this.describedByContent = el.innerText;
|
154
|
+
this.describedByEl = el;
|
155
|
+
}
|
156
|
+
}
|
157
|
+
}
|
158
|
+
}
|
159
|
+
componentDidLoad() {
|
160
|
+
this.updateTheme();
|
161
|
+
if (typeof MutationObserver !== "undefined") {
|
162
|
+
if (this.describedById) {
|
163
|
+
this.mutationObserver = new MutationObserver(this.mutationCallback);
|
164
|
+
this.mutationObserver.observe(this.describedByEl, {
|
165
|
+
characterData: true,
|
166
|
+
childList: true,
|
167
|
+
subtree: true,
|
168
|
+
});
|
169
|
+
}
|
170
|
+
this.hostMutationObserver = new MutationObserver(this.hostMutationCallback);
|
171
|
+
this.hostMutationObserver.observe(this.el, {
|
172
|
+
attributes: true,
|
173
|
+
});
|
80
174
|
}
|
81
|
-
});
|
82
|
-
if (forceComponentUpdate) {
|
83
|
-
forceUpdate(this);
|
84
|
-
}
|
85
|
-
};
|
86
|
-
this.ariaLabel = null;
|
87
|
-
this.describedByContent = null;
|
88
|
-
this.title = null;
|
89
|
-
this.appearance = "default";
|
90
|
-
this.ariaControlsId = undefined;
|
91
|
-
this.ariaOwnsId = undefined;
|
92
|
-
this.disabled = false;
|
93
|
-
this.disableTooltip = false;
|
94
|
-
this.download = false;
|
95
|
-
this.form = undefined;
|
96
|
-
this.formaction = undefined;
|
97
|
-
this.formenctype = undefined;
|
98
|
-
this.formmethod = undefined;
|
99
|
-
this.formnovalidate = undefined;
|
100
|
-
this.formtarget = undefined;
|
101
|
-
this.fullWidth = false;
|
102
|
-
this.href = undefined;
|
103
|
-
this.hreflang = undefined;
|
104
|
-
this.loading = false;
|
105
|
-
this.referrerpolicy = undefined;
|
106
|
-
this.rel = undefined;
|
107
|
-
this.size = "default";
|
108
|
-
this.target = undefined;
|
109
|
-
this.tooltipPlacement = "bottom";
|
110
|
-
this.type = "button";
|
111
|
-
this.variant = "primary";
|
112
|
-
}
|
113
|
-
disconnectedCallback() {
|
114
|
-
if (this.mutationObserver !== null && this.mutationObserver !== undefined) {
|
115
|
-
this.mutationObserver.disconnect();
|
116
175
|
}
|
117
|
-
|
118
|
-
|
119
|
-
|
176
|
+
componentWillRender() {
|
177
|
+
var _a;
|
178
|
+
(_a = this.setViewBox()) === null || _a === void 0 ? void 0 : _a.setAttribute("viewBox", "0 0 24 24");
|
120
179
|
}
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
}
|
125
|
-
componentWillLoad() {
|
126
|
-
const allInheritedAttributes = inheritAttributes(this.el, [
|
127
|
-
...IC_INHERITED_ARIA,
|
128
|
-
"title",
|
129
|
-
]);
|
130
|
-
const { title, "aria-label": ariaLabel } = allInheritedAttributes, restInheritedAttributes = __rest(allInheritedAttributes, ["title", "aria-label"]);
|
131
|
-
this.title = title;
|
132
|
-
this.ariaLabel = ariaLabel;
|
133
|
-
this.inheritedAttributes = restInheritedAttributes;
|
134
|
-
removeDisabledFalse(this.disabled, this.el);
|
135
|
-
this.el.setAttribute("exportparts", "button");
|
136
|
-
const id = this.el.id;
|
137
|
-
this.id = id !== undefined ? id : null;
|
138
|
-
this.hasTooltip =
|
139
|
-
!this.disableTooltip && (!!this.title || this.variant === "icon");
|
140
|
-
if (!this.hasTooltip) {
|
141
|
-
const describedById = this.inheritedAttributes["aria-describedby"];
|
142
|
-
if (describedById !== undefined) {
|
143
|
-
this.describedById = describedById;
|
144
|
-
const el = this.el.parentElement.querySelector(`#${describedById}`);
|
145
|
-
if (el !== undefined && el !== null) {
|
146
|
-
this.describedByContent = el.innerText;
|
147
|
-
this.describedByEl = el;
|
180
|
+
handleHostClick(event) {
|
181
|
+
if (this.disabled || this.loading) {
|
182
|
+
event.stopImmediatePropagation();
|
148
183
|
}
|
149
|
-
|
184
|
+
if (this.dropdown) {
|
185
|
+
this.dropdownExpanded = !this.dropdownExpanded;
|
186
|
+
}
|
187
|
+
}
|
188
|
+
themeChangeHandler(ev) {
|
189
|
+
const theme = ev.detail;
|
190
|
+
this.updateTheme(theme.mode);
|
150
191
|
}
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
characterData: true,
|
159
|
-
childList: true,
|
160
|
-
subtree: true,
|
161
|
-
});
|
162
|
-
}
|
163
|
-
this.hostMutationObserver = new MutationObserver(this.hostMutationCallback);
|
164
|
-
this.hostMutationObserver.observe(this.el, {
|
165
|
-
attributes: true,
|
166
|
-
});
|
192
|
+
/**
|
193
|
+
* Sets focus on the native `button`.
|
194
|
+
*/
|
195
|
+
async setFocus() {
|
196
|
+
if (this.buttonEl) {
|
197
|
+
this.buttonEl.focus();
|
198
|
+
}
|
167
199
|
}
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
(_a = this.setViewBox()) === null || _a === void 0 ? void 0 : _a.setAttribute("viewBox", "0 0 24 24");
|
172
|
-
}
|
173
|
-
handleHostClick(event) {
|
174
|
-
if (this.disabled || this.loading) {
|
175
|
-
event.stopImmediatePropagation();
|
200
|
+
hasIconSlot() {
|
201
|
+
const iconEl = this.el.querySelector(`[slot="icon"]`);
|
202
|
+
return iconEl !== null;
|
176
203
|
}
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
this.updateTheme(theme.mode);
|
181
|
-
}
|
182
|
-
/**
|
183
|
-
* Sets focus on the native `button`.
|
184
|
-
*/
|
185
|
-
async setFocus() {
|
186
|
-
if (this.buttonEl) {
|
187
|
-
this.buttonEl.focus();
|
204
|
+
hasLeftIconSlot() {
|
205
|
+
const iconEl = this.el.querySelector(`[slot="left-icon"]`);
|
206
|
+
return iconEl !== null;
|
188
207
|
}
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
return iconEl !== null;
|
193
|
-
}
|
194
|
-
hasLeftIconSlot() {
|
195
|
-
const iconEl = this.el.querySelector(`[slot="left-icon"]`);
|
196
|
-
return iconEl !== null;
|
197
|
-
}
|
198
|
-
hasRightIconSlot() {
|
199
|
-
const iconEl = this.el.querySelector(`[slot="right-icon"]`);
|
200
|
-
return iconEl !== null;
|
201
|
-
}
|
202
|
-
handleHiddenFormButtonClick(form) {
|
203
|
-
const hiddenFormButton = document.createElement("button");
|
204
|
-
hiddenFormButton.setAttribute("type", this.el.type);
|
205
|
-
hiddenFormButton.style.display = "none";
|
206
|
-
form.appendChild(hiddenFormButton);
|
207
|
-
hiddenFormButton.click();
|
208
|
-
hiddenFormButton.remove();
|
209
|
-
}
|
210
|
-
updateTheme(newTheme = null) {
|
211
|
-
const foregroundColor = getThemeFromContext(this.el, newTheme || null);
|
212
|
-
if (foregroundColor !== IcThemeForegroundEnum.Default) {
|
213
|
-
this.appearance = foregroundColor;
|
208
|
+
hasRightIconSlot() {
|
209
|
+
const iconEl = this.el.querySelector(`[slot="right-icon"]`);
|
210
|
+
return iconEl !== null;
|
214
211
|
}
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
disabled: this.disabled,
|
223
|
-
form: this.form,
|
224
|
-
formaction: this.formaction,
|
225
|
-
formenctype: this.formenctype,
|
226
|
-
formmethod: this.formmethod,
|
227
|
-
formnovalidate: this.formnovalidate,
|
228
|
-
formtarget: this.formtarget,
|
229
|
-
}
|
230
|
-
: {
|
231
|
-
download: this.download !== false ? this.download : null,
|
232
|
-
href: this.href,
|
233
|
-
rel: this.rel,
|
234
|
-
target: this.target,
|
235
|
-
referrerpolicy: this.referrerpolicy,
|
236
|
-
hreflang: this.hreflang,
|
237
|
-
};
|
238
|
-
let describedBy = null;
|
239
|
-
let buttonId = null;
|
240
|
-
if (this.hasTooltip) {
|
241
|
-
buttonId =
|
242
|
-
this.id !== null
|
243
|
-
? `ic-button-with-tooltip-${this.id}`
|
244
|
-
: `ic-button-with-tooltip-${this.buttonIdNum}`;
|
245
|
-
describedBy = `ic-tooltip-${buttonId}`;
|
212
|
+
handleHiddenFormButtonClick(form) {
|
213
|
+
const hiddenFormButton = document.createElement("button");
|
214
|
+
hiddenFormButton.setAttribute("type", this.el.type);
|
215
|
+
hiddenFormButton.style.display = "none";
|
216
|
+
form.appendChild(hiddenFormButton);
|
217
|
+
hiddenFormButton.click();
|
218
|
+
hiddenFormButton.remove();
|
246
219
|
}
|
247
|
-
|
248
|
-
|
220
|
+
updateTheme(newTheme = null) {
|
221
|
+
const foregroundColor = getThemeFromContext(this.el, newTheme || null);
|
222
|
+
if (foregroundColor !== IcThemeForegroundEnum.Default) {
|
223
|
+
this.appearance = foregroundColor;
|
224
|
+
}
|
249
225
|
}
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
["dark"]: this.appearance === IcThemeForegroundEnum.Dark,
|
264
|
-
["light"]: this.appearance === IcThemeForegroundEnum.Light,
|
265
|
-
["full-width"]: this.fullWidth,
|
266
|
-
["with-badge"]: isSlotUsed(this.el, "badge"),
|
267
|
-
}, onClick: this.handleClick, "aria-owns": this.ariaOwnsId, "aria-controls": this.ariaControlsId }, this.hasTooltip && (h("ic-tooltip", { id: describedBy, label: title ? title : ariaLabel, target: buttonId, placement: this.tooltipPlacement }, h(ButtonContent, null))), isSlotUsed(this.el, "badge") && h("slot", { name: "badge" }), !this.hasTooltip && h(ButtonContent, null), this.describedByContent && (h("span", { id: describedBy, class: "ic-button-describedby" }, this.describedByContent))));
|
268
|
-
}
|
269
|
-
static get is() { return "ic-button"; }
|
270
|
-
static get encapsulation() { return "shadow"; }
|
271
|
-
static get delegatesFocus() { return true; }
|
272
|
-
static get originalStyleUrls() {
|
273
|
-
return {
|
274
|
-
"$": ["ic-button.css"]
|
275
|
-
};
|
276
|
-
}
|
277
|
-
static get styleUrls() {
|
278
|
-
return {
|
279
|
-
"$": ["ic-button.css"]
|
280
|
-
};
|
281
|
-
}
|
282
|
-
static get properties() {
|
283
|
-
return {
|
284
|
-
"appearance": {
|
285
|
-
"type": "string",
|
286
|
-
"mutable": true,
|
287
|
-
"complexType": {
|
288
|
-
"original": "IcThemeForeground",
|
289
|
-
"resolved": "\"dark\" | \"default\" | \"light\"",
|
290
|
-
"references": {
|
291
|
-
"IcThemeForeground": {
|
292
|
-
"location": "import",
|
293
|
-
"path": "../../utils/types",
|
294
|
-
"id": "src/utils/types.ts::IcThemeForeground"
|
295
|
-
}
|
296
|
-
}
|
297
|
-
},
|
298
|
-
"required": false,
|
299
|
-
"optional": true,
|
300
|
-
"docs": {
|
301
|
-
"tags": [],
|
302
|
-
"text": "The appearance of the button, e.g. dark, light, or the default."
|
303
|
-
},
|
304
|
-
"attribute": "appearance",
|
305
|
-
"reflect": false,
|
306
|
-
"defaultValue": "\"default\""
|
307
|
-
},
|
308
|
-
"ariaControlsId": {
|
309
|
-
"type": "any",
|
310
|
-
"mutable": false,
|
311
|
-
"complexType": {
|
312
|
-
"original": "string | boolean",
|
313
|
-
"resolved": "boolean | string",
|
314
|
-
"references": {}
|
315
|
-
},
|
316
|
-
"required": false,
|
317
|
-
"optional": false,
|
318
|
-
"docs": {
|
319
|
-
"tags": [{
|
320
|
-
"name": "internal",
|
321
|
-
"text": "Used to identify any related child component"
|
322
|
-
}],
|
323
|
-
"text": ""
|
324
|
-
},
|
325
|
-
"attribute": "aria-controls-id",
|
326
|
-
"reflect": false
|
327
|
-
},
|
328
|
-
"ariaOwnsId": {
|
329
|
-
"type": "any",
|
330
|
-
"mutable": false,
|
331
|
-
"complexType": {
|
332
|
-
"original": "string | boolean",
|
333
|
-
"resolved": "boolean | string",
|
334
|
-
"references": {}
|
335
|
-
},
|
336
|
-
"required": false,
|
337
|
-
"optional": false,
|
338
|
-
"docs": {
|
339
|
-
"tags": [{
|
340
|
-
"name": "internal",
|
341
|
-
"text": "Used to identify any related child component"
|
342
|
-
}],
|
343
|
-
"text": ""
|
344
|
-
},
|
345
|
-
"attribute": "aria-owns-id",
|
346
|
-
"reflect": false
|
347
|
-
},
|
348
|
-
"disabled": {
|
349
|
-
"type": "boolean",
|
350
|
-
"mutable": false,
|
351
|
-
"complexType": {
|
352
|
-
"original": "boolean",
|
353
|
-
"resolved": "boolean",
|
354
|
-
"references": {}
|
355
|
-
},
|
356
|
-
"required": false,
|
357
|
-
"optional": true,
|
358
|
-
"docs": {
|
359
|
-
"tags": [],
|
360
|
-
"text": "If `true`, the button will be in disabled state."
|
361
|
-
},
|
362
|
-
"attribute": "disabled",
|
363
|
-
"reflect": false,
|
364
|
-
"defaultValue": "false"
|
365
|
-
},
|
366
|
-
"disableTooltip": {
|
367
|
-
"type": "boolean",
|
368
|
-
"mutable": false,
|
369
|
-
"complexType": {
|
370
|
-
"original": "boolean",
|
371
|
-
"resolved": "boolean",
|
372
|
-
"references": {}
|
373
|
-
},
|
374
|
-
"required": false,
|
375
|
-
"optional": true,
|
376
|
-
"docs": {
|
377
|
-
"tags": [],
|
378
|
-
"text": "If `true`, the ic-tooltip which is shown for icon variant will be disabled. Title or aria-label must be set if this prop is not applied."
|
379
|
-
},
|
380
|
-
"attribute": "disable-tooltip",
|
381
|
-
"reflect": false,
|
382
|
-
"defaultValue": "false"
|
383
|
-
},
|
384
|
-
"download": {
|
385
|
-
"type": "any",
|
386
|
-
"mutable": false,
|
387
|
-
"complexType": {
|
388
|
-
"original": "string | boolean",
|
389
|
-
"resolved": "boolean | string",
|
390
|
-
"references": {}
|
391
|
-
},
|
392
|
-
"required": false,
|
393
|
-
"optional": true,
|
394
|
-
"docs": {
|
395
|
-
"tags": [],
|
396
|
-
"text": "If `true`, the user can save the linked URL instead of navigating to it."
|
397
|
-
},
|
398
|
-
"attribute": "download",
|
399
|
-
"reflect": false,
|
400
|
-
"defaultValue": "false"
|
401
|
-
},
|
402
|
-
"form": {
|
403
|
-
"type": "string",
|
404
|
-
"mutable": false,
|
405
|
-
"complexType": {
|
406
|
-
"original": "string",
|
407
|
-
"resolved": "string",
|
408
|
-
"references": {}
|
409
|
-
},
|
410
|
-
"required": false,
|
411
|
-
"optional": true,
|
412
|
-
"docs": {
|
413
|
-
"tags": [],
|
414
|
-
"text": "The <form> element to associate the button with."
|
415
|
-
},
|
416
|
-
"attribute": "form",
|
417
|
-
"reflect": false
|
418
|
-
},
|
419
|
-
"formaction": {
|
420
|
-
"type": "string",
|
421
|
-
"mutable": false,
|
422
|
-
"complexType": {
|
423
|
-
"original": "string",
|
424
|
-
"resolved": "string",
|
425
|
-
"references": {}
|
426
|
-
},
|
427
|
-
"required": false,
|
428
|
-
"optional": true,
|
429
|
-
"docs": {
|
430
|
-
"tags": [],
|
431
|
-
"text": "The URL that processes the information submitted by the button. It overrides the action attribute of the button's form owner. Does nothing if there is no form owner."
|
432
|
-
},
|
433
|
-
"attribute": "formaction",
|
434
|
-
"reflect": false
|
435
|
-
},
|
436
|
-
"formenctype": {
|
437
|
-
"type": "string",
|
438
|
-
"mutable": false,
|
439
|
-
"complexType": {
|
440
|
-
"original": "string",
|
441
|
-
"resolved": "string",
|
442
|
-
"references": {}
|
443
|
-
},
|
444
|
-
"required": false,
|
445
|
-
"optional": true,
|
446
|
-
"docs": {
|
447
|
-
"tags": [],
|
448
|
-
"text": "The way the submitted form data is encoded."
|
449
|
-
},
|
450
|
-
"attribute": "formenctype",
|
451
|
-
"reflect": false
|
452
|
-
},
|
453
|
-
"formmethod": {
|
454
|
-
"type": "string",
|
455
|
-
"mutable": false,
|
456
|
-
"complexType": {
|
457
|
-
"original": "string",
|
458
|
-
"resolved": "string",
|
459
|
-
"references": {}
|
460
|
-
},
|
461
|
-
"required": false,
|
462
|
-
"optional": true,
|
463
|
-
"docs": {
|
464
|
-
"tags": [],
|
465
|
-
"text": "The HTTP method used to submit the form."
|
466
|
-
},
|
467
|
-
"attribute": "formmethod",
|
468
|
-
"reflect": false
|
469
|
-
},
|
470
|
-
"formnovalidate": {
|
471
|
-
"type": "boolean",
|
472
|
-
"mutable": false,
|
473
|
-
"complexType": {
|
474
|
-
"original": "boolean",
|
475
|
-
"resolved": "boolean",
|
476
|
-
"references": {}
|
477
|
-
},
|
478
|
-
"required": false,
|
479
|
-
"optional": true,
|
480
|
-
"docs": {
|
481
|
-
"tags": [],
|
482
|
-
"text": "If `true`, the form will not be validated when submitted."
|
483
|
-
},
|
484
|
-
"attribute": "formnovalidate",
|
485
|
-
"reflect": false
|
486
|
-
},
|
487
|
-
"formtarget": {
|
488
|
-
"type": "string",
|
489
|
-
"mutable": false,
|
490
|
-
"complexType": {
|
491
|
-
"original": "string",
|
492
|
-
"resolved": "string",
|
493
|
-
"references": {}
|
494
|
-
},
|
495
|
-
"required": false,
|
496
|
-
"optional": true,
|
497
|
-
"docs": {
|
498
|
-
"tags": [],
|
499
|
-
"text": "The place to display the response from submitting the form. It overrides the target attribute of the button's form owner."
|
500
|
-
},
|
501
|
-
"attribute": "formtarget",
|
502
|
-
"reflect": false
|
503
|
-
},
|
504
|
-
"fullWidth": {
|
505
|
-
"type": "boolean",
|
506
|
-
"mutable": false,
|
507
|
-
"complexType": {
|
508
|
-
"original": "boolean",
|
509
|
-
"resolved": "boolean",
|
510
|
-
"references": {}
|
511
|
-
},
|
512
|
-
"required": false,
|
513
|
-
"optional": true,
|
514
|
-
"docs": {
|
515
|
-
"tags": [],
|
516
|
-
"text": "If `true`, the button will fill the width of the container."
|
517
|
-
},
|
518
|
-
"attribute": "full-width",
|
519
|
-
"reflect": false,
|
520
|
-
"defaultValue": "false"
|
521
|
-
},
|
522
|
-
"href": {
|
523
|
-
"type": "string",
|
524
|
-
"mutable": false,
|
525
|
-
"complexType": {
|
526
|
-
"original": "string",
|
527
|
-
"resolved": "string",
|
528
|
-
"references": {}
|
529
|
-
},
|
530
|
-
"required": false,
|
531
|
-
"optional": true,
|
532
|
-
"docs": {
|
533
|
-
"tags": [],
|
534
|
-
"text": "The URL that the link points to. This will render the button as an \"a\" tag."
|
535
|
-
},
|
536
|
-
"attribute": "href",
|
537
|
-
"reflect": false
|
538
|
-
},
|
539
|
-
"hreflang": {
|
540
|
-
"type": "string",
|
541
|
-
"mutable": false,
|
542
|
-
"complexType": {
|
543
|
-
"original": "string",
|
544
|
-
"resolved": "string",
|
545
|
-
"references": {}
|
546
|
-
},
|
547
|
-
"required": false,
|
548
|
-
"optional": true,
|
549
|
-
"docs": {
|
550
|
-
"tags": [],
|
551
|
-
"text": "The human language of the linked URL."
|
552
|
-
},
|
553
|
-
"attribute": "hreflang",
|
554
|
-
"reflect": false
|
555
|
-
},
|
556
|
-
"loading": {
|
557
|
-
"type": "boolean",
|
558
|
-
"mutable": false,
|
559
|
-
"complexType": {
|
560
|
-
"original": "boolean",
|
561
|
-
"resolved": "boolean",
|
562
|
-
"references": {}
|
563
|
-
},
|
564
|
-
"required": false,
|
565
|
-
"optional": true,
|
566
|
-
"docs": {
|
567
|
-
"tags": [],
|
568
|
-
"text": "If `true`, the button will be in loading state."
|
569
|
-
},
|
570
|
-
"attribute": "loading",
|
571
|
-
"reflect": false,
|
572
|
-
"defaultValue": "false"
|
573
|
-
},
|
574
|
-
"referrerpolicy": {
|
575
|
-
"type": "string",
|
576
|
-
"mutable": false,
|
577
|
-
"complexType": {
|
578
|
-
"original": "ReferrerPolicy",
|
579
|
-
"resolved": "\"\" | \"no-referrer\" | \"no-referrer-when-downgrade\" | \"origin\" | \"origin-when-cross-origin\" | \"same-origin\" | \"strict-origin\" | \"strict-origin-when-cross-origin\" | \"unsafe-url\"",
|
580
|
-
"references": {
|
581
|
-
"ReferrerPolicy": {
|
582
|
-
"location": "global",
|
583
|
-
"id": "global::ReferrerPolicy"
|
584
|
-
}
|
585
|
-
}
|
586
|
-
},
|
587
|
-
"required": false,
|
588
|
-
"optional": true,
|
589
|
-
"docs": {
|
590
|
-
"tags": [],
|
591
|
-
"text": "How much of the referrer to send when following the link."
|
592
|
-
},
|
593
|
-
"attribute": "referrerpolicy",
|
594
|
-
"reflect": false
|
595
|
-
},
|
596
|
-
"rel": {
|
597
|
-
"type": "string",
|
598
|
-
"mutable": false,
|
599
|
-
"complexType": {
|
600
|
-
"original": "string",
|
601
|
-
"resolved": "string",
|
602
|
-
"references": {}
|
603
|
-
},
|
604
|
-
"required": false,
|
605
|
-
"optional": true,
|
606
|
-
"docs": {
|
607
|
-
"tags": [],
|
608
|
-
"text": "The relationship of the linked URL as space-separated link types."
|
609
|
-
},
|
610
|
-
"attribute": "rel",
|
611
|
-
"reflect": false
|
612
|
-
},
|
613
|
-
"size": {
|
614
|
-
"type": "string",
|
615
|
-
"mutable": false,
|
616
|
-
"complexType": {
|
617
|
-
"original": "IcSizes",
|
618
|
-
"resolved": "\"default\" | \"large\" | \"small\"",
|
619
|
-
"references": {
|
620
|
-
"IcSizes": {
|
621
|
-
"location": "import",
|
622
|
-
"path": "../../utils/types",
|
623
|
-
"id": "src/utils/types.ts::IcSizes"
|
624
|
-
}
|
625
|
-
}
|
626
|
-
},
|
627
|
-
"required": false,
|
628
|
-
"optional": true,
|
629
|
-
"docs": {
|
630
|
-
"tags": [],
|
631
|
-
"text": "The size of the button to be displayed."
|
632
|
-
},
|
633
|
-
"attribute": "size",
|
634
|
-
"reflect": false,
|
635
|
-
"defaultValue": "\"default\""
|
636
|
-
},
|
637
|
-
"target": {
|
638
|
-
"type": "string",
|
639
|
-
"mutable": false,
|
640
|
-
"complexType": {
|
641
|
-
"original": "string",
|
642
|
-
"resolved": "string",
|
643
|
-
"references": {}
|
644
|
-
},
|
645
|
-
"required": false,
|
646
|
-
"optional": true,
|
647
|
-
"docs": {
|
648
|
-
"tags": [],
|
649
|
-
"text": "The place to display the linked URL, as the name for a browsing context (a tab, window, or iframe)."
|
650
|
-
},
|
651
|
-
"attribute": "target",
|
652
|
-
"reflect": false
|
653
|
-
},
|
654
|
-
"tooltipPlacement": {
|
655
|
-
"type": "string",
|
656
|
-
"mutable": false,
|
657
|
-
"complexType": {
|
658
|
-
"original": "IcButtonTooltipPlacement",
|
659
|
-
"resolved": "\"bottom\" | \"left\" | \"right\" | \"top\"",
|
660
|
-
"references": {
|
661
|
-
"IcButtonTooltipPlacement": {
|
662
|
-
"location": "import",
|
663
|
-
"path": "./ic-button.types",
|
664
|
-
"id": "src/components/ic-button/ic-button.types.ts::IcButtonTooltipPlacement"
|
226
|
+
render() {
|
227
|
+
const TagType = (this.href && "a") || "button";
|
228
|
+
const { title, ariaLabel, inheritedAttributes } = this;
|
229
|
+
const buttonAttrs = TagType === "button"
|
230
|
+
? {
|
231
|
+
type: this.type,
|
232
|
+
disabled: this.disabled,
|
233
|
+
form: this.form,
|
234
|
+
formaction: this.formaction,
|
235
|
+
formenctype: this.formenctype,
|
236
|
+
formmethod: this.formmethod,
|
237
|
+
formnovalidate: this.formnovalidate,
|
238
|
+
formtarget: this.formtarget,
|
665
239
|
}
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
"original": "IcButtonTypes",
|
683
|
-
"resolved": "\"button\" | \"reset\" | \"submit\"",
|
684
|
-
"references": {
|
685
|
-
"IcButtonTypes": {
|
686
|
-
"location": "import",
|
687
|
-
"path": "./ic-button.types",
|
688
|
-
"id": "src/components/ic-button/ic-button.types.ts::IcButtonTypes"
|
689
|
-
}
|
690
|
-
}
|
691
|
-
},
|
692
|
-
"required": false,
|
693
|
-
"optional": true,
|
694
|
-
"docs": {
|
695
|
-
"tags": [],
|
696
|
-
"text": "The type of the button."
|
697
|
-
},
|
698
|
-
"attribute": "type",
|
699
|
-
"reflect": false,
|
700
|
-
"defaultValue": "\"button\""
|
701
|
-
},
|
702
|
-
"variant": {
|
703
|
-
"type": "string",
|
704
|
-
"mutable": false,
|
705
|
-
"complexType": {
|
706
|
-
"original": "IcButtonVariants",
|
707
|
-
"resolved": "\"destructive\" | \"icon\" | \"primary\" | \"secondary\" | \"tertiary\"",
|
708
|
-
"references": {
|
709
|
-
"IcButtonVariants": {
|
710
|
-
"location": "import",
|
711
|
-
"path": "./ic-button.types",
|
712
|
-
"id": "src/components/ic-button/ic-button.types.ts::IcButtonVariants"
|
713
|
-
}
|
714
|
-
}
|
715
|
-
},
|
716
|
-
"required": false,
|
717
|
-
"optional": true,
|
718
|
-
"docs": {
|
719
|
-
"tags": [],
|
720
|
-
"text": "The variant of the button to be displayed."
|
721
|
-
},
|
722
|
-
"attribute": "variant",
|
723
|
-
"reflect": false,
|
724
|
-
"defaultValue": "\"primary\""
|
725
|
-
}
|
726
|
-
};
|
727
|
-
}
|
728
|
-
static get states() {
|
729
|
-
return {
|
730
|
-
"ariaLabel": {},
|
731
|
-
"describedByContent": {},
|
732
|
-
"title": {}
|
733
|
-
};
|
734
|
-
}
|
735
|
-
static get events() {
|
736
|
-
return [{
|
737
|
-
"method": "icBlur",
|
738
|
-
"name": "icBlur",
|
739
|
-
"bubbles": true,
|
740
|
-
"cancelable": true,
|
741
|
-
"composed": true,
|
742
|
-
"docs": {
|
743
|
-
"tags": [],
|
744
|
-
"text": "Emitted when button has blur"
|
745
|
-
},
|
746
|
-
"complexType": {
|
747
|
-
"original": "void",
|
748
|
-
"resolved": "void",
|
749
|
-
"references": {}
|
240
|
+
: {
|
241
|
+
download: this.download !== false ? this.download : null,
|
242
|
+
href: this.href,
|
243
|
+
rel: this.rel,
|
244
|
+
target: this.target,
|
245
|
+
referrerpolicy: this.referrerpolicy,
|
246
|
+
hreflang: this.hreflang,
|
247
|
+
};
|
248
|
+
let describedBy = null;
|
249
|
+
let buttonId = null;
|
250
|
+
if (this.hasTooltip) {
|
251
|
+
buttonId =
|
252
|
+
this.id !== null
|
253
|
+
? `ic-button-with-tooltip-${this.id}`
|
254
|
+
: `ic-button-with-tooltip-${this.buttonIdNum}`;
|
255
|
+
describedBy = `ic-tooltip-${buttonId}`;
|
750
256
|
}
|
751
|
-
|
752
|
-
|
753
|
-
"name": "icFocus",
|
754
|
-
"bubbles": true,
|
755
|
-
"cancelable": true,
|
756
|
-
"composed": true,
|
757
|
-
"docs": {
|
758
|
-
"tags": [],
|
759
|
-
"text": "Emitted when button has focus"
|
760
|
-
},
|
761
|
-
"complexType": {
|
762
|
-
"original": "void",
|
763
|
-
"resolved": "void",
|
764
|
-
"references": {}
|
257
|
+
else {
|
258
|
+
describedBy = this.describedById;
|
765
259
|
}
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
260
|
+
const ButtonContent = () => {
|
261
|
+
return (h(TagType, Object.assign({ class: "button", "aria-disabled": this.loading || this.disabled ? "true" : null, "aria-label": this.loading ? "Loading" : ariaLabel }, buttonAttrs, inheritedAttributes, { onFocus: this.onFocus, onBlur: this.onBlur, ref: (el) => (this.buttonEl = el), "aria-describedby": describedBy, part: "button" }), this.hasIconSlot() && !this.loading && (h("div", { class: "icon-container" }, h("slot", { name: "icon" }))), this.hasLeftIconSlot() && !this.loading && (h("div", { class: "icon-container" }, h("slot", { name: "left-icon" }))), this.loading ? (h("div", { class: "loading-container" }, h("ic-loading-indicator", { type: "linear", appearance: this.variant === "primary" ||
|
262
|
+
this.variant === "destructive" ||
|
263
|
+
this.appearance === IcThemeForegroundEnum.Dark ||
|
264
|
+
this.appearance === IcThemeForegroundEnum.Light
|
265
|
+
? "light"
|
266
|
+
: "dark" }))) : (h("slot", null)), this.hasRightIconSlot() && !this.loading && !this.dropdown && (h("div", { class: { "icon-container": true, "right-icon": true } }, h("slot", { name: "right-icon" }))), this.dropdown &&
|
267
|
+
!this.loading &&
|
268
|
+
this.variant !== "icon" &&
|
269
|
+
this.variant !== "destructive" && (h("span", { class: {
|
270
|
+
["arrow-dropdown"]: !this.dropdownExpanded,
|
271
|
+
["dropdown-expanded"]: this.dropdownExpanded,
|
272
|
+
}, innerHTML: arrowDropdown }))));
|
273
|
+
};
|
274
|
+
return (h(Host, { class: {
|
275
|
+
["disabled"]: this.disabled && !this.loading,
|
276
|
+
[`button-variant-${this.variant}`]: true,
|
277
|
+
[`button-size-${this.size}`]: true,
|
278
|
+
["loading"]: this.loading,
|
279
|
+
["dark"]: this.appearance === IcThemeForegroundEnum.Dark,
|
280
|
+
["light"]: this.appearance === IcThemeForegroundEnum.Light,
|
281
|
+
["full-width"]: this.fullWidth,
|
282
|
+
["with-badge"]: isSlotUsed(this.el, "badge"),
|
283
|
+
["dropdown-no-icon"]: this.dropdown &&
|
284
|
+
!isSlotUsed(this.el, "icon") &&
|
285
|
+
!isSlotUsed(this.el, "left-icon"),
|
286
|
+
["white-background"]: this.variant === "secondary" &&
|
287
|
+
!this.transparentBackground &&
|
288
|
+
this.appearance !== "light",
|
289
|
+
}, onClick: this.handleClick, "aria-owns": this.ariaOwnsId, "aria-controls": this.ariaControlsId, "aria-expanded": this.dropdown && `${this.dropdownExpanded}` }, this.hasTooltip && (h("ic-tooltip", { id: describedBy, label: title || ariaLabel, target: buttonId, placement: this.tooltipPlacement, silent: this.variant === "icon" && !!title }, h(ButtonContent, null))), isSlotUsed(this.el, "badge") && h("slot", { name: "badge" }), !this.hasTooltip && h(ButtonContent, null), this.describedByContent && (h("span", { id: describedBy, class: "ic-button-describedby" }, this.describedByContent))));
|
290
|
+
}
|
291
|
+
static get is() { return "ic-button"; }
|
292
|
+
static get encapsulation() { return "shadow"; }
|
293
|
+
static get delegatesFocus() { return true; }
|
294
|
+
static get originalStyleUrls() {
|
295
|
+
return {
|
296
|
+
"$": ["ic-button.css"]
|
297
|
+
};
|
298
|
+
}
|
299
|
+
static get styleUrls() {
|
300
|
+
return {
|
301
|
+
"$": ["ic-button.css"]
|
302
|
+
};
|
303
|
+
}
|
304
|
+
static get properties() {
|
305
|
+
return {
|
306
|
+
"appearance": {
|
307
|
+
"type": "string",
|
308
|
+
"mutable": true,
|
309
|
+
"complexType": {
|
310
|
+
"original": "IcThemeForeground",
|
311
|
+
"resolved": "\"dark\" | \"default\" | \"light\"",
|
312
|
+
"references": {
|
313
|
+
"IcThemeForeground": {
|
314
|
+
"location": "import",
|
315
|
+
"path": "../../utils/types",
|
316
|
+
"id": "src/utils/types.ts::IcThemeForeground"
|
317
|
+
}
|
318
|
+
}
|
319
|
+
},
|
320
|
+
"required": false,
|
321
|
+
"optional": true,
|
322
|
+
"docs": {
|
323
|
+
"tags": [],
|
324
|
+
"text": "The appearance of the button, e.g. dark, light, or the default."
|
325
|
+
},
|
326
|
+
"attribute": "appearance",
|
327
|
+
"reflect": false,
|
328
|
+
"defaultValue": "\"default\""
|
329
|
+
},
|
330
|
+
"ariaControlsId": {
|
331
|
+
"type": "any",
|
332
|
+
"mutable": false,
|
333
|
+
"complexType": {
|
334
|
+
"original": "string | boolean",
|
335
|
+
"resolved": "boolean | string",
|
336
|
+
"references": {}
|
337
|
+
},
|
338
|
+
"required": false,
|
339
|
+
"optional": false,
|
340
|
+
"docs": {
|
341
|
+
"tags": [{
|
342
|
+
"name": "internal",
|
343
|
+
"text": "Used to identify any related child component"
|
344
|
+
}],
|
345
|
+
"text": ""
|
346
|
+
},
|
347
|
+
"attribute": "aria-controls-id",
|
348
|
+
"reflect": false
|
349
|
+
},
|
350
|
+
"ariaOwnsId": {
|
351
|
+
"type": "any",
|
352
|
+
"mutable": false,
|
353
|
+
"complexType": {
|
354
|
+
"original": "string | boolean",
|
355
|
+
"resolved": "boolean | string",
|
356
|
+
"references": {}
|
357
|
+
},
|
358
|
+
"required": false,
|
359
|
+
"optional": false,
|
360
|
+
"docs": {
|
361
|
+
"tags": [{
|
362
|
+
"name": "internal",
|
363
|
+
"text": "Used to identify any related child component"
|
364
|
+
}],
|
365
|
+
"text": ""
|
366
|
+
},
|
367
|
+
"attribute": "aria-owns-id",
|
368
|
+
"reflect": false
|
369
|
+
},
|
370
|
+
"disabled": {
|
371
|
+
"type": "boolean",
|
372
|
+
"mutable": false,
|
373
|
+
"complexType": {
|
374
|
+
"original": "boolean",
|
375
|
+
"resolved": "boolean",
|
376
|
+
"references": {}
|
377
|
+
},
|
378
|
+
"required": false,
|
379
|
+
"optional": true,
|
380
|
+
"docs": {
|
381
|
+
"tags": [],
|
382
|
+
"text": "If `true`, the button will be in disabled state."
|
383
|
+
},
|
384
|
+
"attribute": "disabled",
|
385
|
+
"reflect": false,
|
386
|
+
"defaultValue": "false"
|
387
|
+
},
|
388
|
+
"disableTooltip": {
|
389
|
+
"type": "boolean",
|
390
|
+
"mutable": false,
|
391
|
+
"complexType": {
|
392
|
+
"original": "boolean",
|
393
|
+
"resolved": "boolean",
|
394
|
+
"references": {}
|
395
|
+
},
|
396
|
+
"required": false,
|
397
|
+
"optional": true,
|
398
|
+
"docs": {
|
399
|
+
"tags": [],
|
400
|
+
"text": "If `true`, the ic-tooltip which is shown for icon variant will be disabled. Title or aria-label must be set if this prop is not applied."
|
401
|
+
},
|
402
|
+
"attribute": "disable-tooltip",
|
403
|
+
"reflect": false,
|
404
|
+
"defaultValue": "false"
|
405
|
+
},
|
406
|
+
"download": {
|
407
|
+
"type": "any",
|
408
|
+
"mutable": false,
|
409
|
+
"complexType": {
|
410
|
+
"original": "string | boolean",
|
411
|
+
"resolved": "boolean | string",
|
412
|
+
"references": {}
|
413
|
+
},
|
414
|
+
"required": false,
|
415
|
+
"optional": true,
|
416
|
+
"docs": {
|
417
|
+
"tags": [],
|
418
|
+
"text": "If `true`, the user can save the linked URL instead of navigating to it."
|
419
|
+
},
|
420
|
+
"attribute": "download",
|
421
|
+
"reflect": false,
|
422
|
+
"defaultValue": "false"
|
423
|
+
},
|
424
|
+
"dropdown": {
|
425
|
+
"type": "boolean",
|
426
|
+
"mutable": false,
|
427
|
+
"complexType": {
|
428
|
+
"original": "boolean",
|
429
|
+
"resolved": "boolean",
|
430
|
+
"references": {}
|
431
|
+
},
|
432
|
+
"required": false,
|
433
|
+
"optional": true,
|
434
|
+
"docs": {
|
435
|
+
"tags": [],
|
436
|
+
"text": "If `true`, the button will show a dropdown icon."
|
437
|
+
},
|
438
|
+
"attribute": "dropdown",
|
439
|
+
"reflect": false,
|
440
|
+
"defaultValue": "false"
|
441
|
+
},
|
442
|
+
"dropdownExpanded": {
|
443
|
+
"type": "boolean",
|
444
|
+
"mutable": true,
|
445
|
+
"complexType": {
|
446
|
+
"original": "boolean",
|
447
|
+
"resolved": "boolean",
|
448
|
+
"references": {}
|
449
|
+
},
|
450
|
+
"required": false,
|
451
|
+
"optional": true,
|
452
|
+
"docs": {
|
453
|
+
"tags": [],
|
454
|
+
"text": "If `true`, the aria-expanded value will be set to true. This is only applied if the dropdown prop is also true."
|
455
|
+
},
|
456
|
+
"attribute": "dropdown-expanded",
|
457
|
+
"reflect": true,
|
458
|
+
"defaultValue": "false"
|
459
|
+
},
|
460
|
+
"form": {
|
461
|
+
"type": "string",
|
462
|
+
"mutable": false,
|
463
|
+
"complexType": {
|
464
|
+
"original": "string",
|
465
|
+
"resolved": "string",
|
466
|
+
"references": {}
|
467
|
+
},
|
468
|
+
"required": false,
|
469
|
+
"optional": true,
|
470
|
+
"docs": {
|
471
|
+
"tags": [],
|
472
|
+
"text": "The <form> element to associate the button with."
|
473
|
+
},
|
474
|
+
"attribute": "form",
|
475
|
+
"reflect": false
|
476
|
+
},
|
477
|
+
"formaction": {
|
478
|
+
"type": "string",
|
479
|
+
"mutable": false,
|
480
|
+
"complexType": {
|
481
|
+
"original": "string",
|
482
|
+
"resolved": "string",
|
483
|
+
"references": {}
|
484
|
+
},
|
485
|
+
"required": false,
|
486
|
+
"optional": true,
|
487
|
+
"docs": {
|
488
|
+
"tags": [],
|
489
|
+
"text": "The URL that processes the information submitted by the button. It overrides the action attribute of the button's form owner. Does nothing if there is no form owner."
|
490
|
+
},
|
491
|
+
"attribute": "formaction",
|
492
|
+
"reflect": false
|
493
|
+
},
|
494
|
+
"formenctype": {
|
495
|
+
"type": "string",
|
496
|
+
"mutable": false,
|
497
|
+
"complexType": {
|
498
|
+
"original": "string",
|
499
|
+
"resolved": "string",
|
500
|
+
"references": {}
|
501
|
+
},
|
502
|
+
"required": false,
|
503
|
+
"optional": true,
|
504
|
+
"docs": {
|
505
|
+
"tags": [],
|
506
|
+
"text": "The way the submitted form data is encoded."
|
507
|
+
},
|
508
|
+
"attribute": "formenctype",
|
509
|
+
"reflect": false
|
510
|
+
},
|
511
|
+
"formmethod": {
|
512
|
+
"type": "string",
|
513
|
+
"mutable": false,
|
514
|
+
"complexType": {
|
515
|
+
"original": "string",
|
516
|
+
"resolved": "string",
|
517
|
+
"references": {}
|
518
|
+
},
|
519
|
+
"required": false,
|
520
|
+
"optional": true,
|
521
|
+
"docs": {
|
522
|
+
"tags": [],
|
523
|
+
"text": "The HTTP method used to submit the form."
|
524
|
+
},
|
525
|
+
"attribute": "formmethod",
|
526
|
+
"reflect": false
|
527
|
+
},
|
528
|
+
"formnovalidate": {
|
529
|
+
"type": "boolean",
|
530
|
+
"mutable": false,
|
531
|
+
"complexType": {
|
532
|
+
"original": "boolean",
|
533
|
+
"resolved": "boolean",
|
534
|
+
"references": {}
|
535
|
+
},
|
536
|
+
"required": false,
|
537
|
+
"optional": true,
|
538
|
+
"docs": {
|
539
|
+
"tags": [],
|
540
|
+
"text": "If `true`, the form will not be validated when submitted."
|
541
|
+
},
|
542
|
+
"attribute": "formnovalidate",
|
543
|
+
"reflect": false
|
544
|
+
},
|
545
|
+
"formtarget": {
|
546
|
+
"type": "string",
|
547
|
+
"mutable": false,
|
548
|
+
"complexType": {
|
549
|
+
"original": "string",
|
550
|
+
"resolved": "string",
|
551
|
+
"references": {}
|
552
|
+
},
|
553
|
+
"required": false,
|
554
|
+
"optional": true,
|
555
|
+
"docs": {
|
556
|
+
"tags": [],
|
557
|
+
"text": "The place to display the response from submitting the form. It overrides the target attribute of the button's form owner."
|
558
|
+
},
|
559
|
+
"attribute": "formtarget",
|
560
|
+
"reflect": false
|
561
|
+
},
|
562
|
+
"fullWidth": {
|
563
|
+
"type": "boolean",
|
564
|
+
"mutable": false,
|
565
|
+
"complexType": {
|
566
|
+
"original": "boolean",
|
567
|
+
"resolved": "boolean",
|
568
|
+
"references": {}
|
569
|
+
},
|
570
|
+
"required": false,
|
571
|
+
"optional": true,
|
572
|
+
"docs": {
|
573
|
+
"tags": [],
|
574
|
+
"text": "If `true`, the button will fill the width of the container."
|
575
|
+
},
|
576
|
+
"attribute": "full-width",
|
577
|
+
"reflect": false,
|
578
|
+
"defaultValue": "false"
|
579
|
+
},
|
580
|
+
"href": {
|
581
|
+
"type": "string",
|
582
|
+
"mutable": false,
|
583
|
+
"complexType": {
|
584
|
+
"original": "string",
|
585
|
+
"resolved": "string",
|
586
|
+
"references": {}
|
587
|
+
},
|
588
|
+
"required": false,
|
589
|
+
"optional": true,
|
590
|
+
"docs": {
|
591
|
+
"tags": [],
|
592
|
+
"text": "The URL that the link points to. This will render the button as an \"a\" tag."
|
593
|
+
},
|
594
|
+
"attribute": "href",
|
595
|
+
"reflect": false
|
596
|
+
},
|
597
|
+
"hreflang": {
|
598
|
+
"type": "string",
|
599
|
+
"mutable": false,
|
600
|
+
"complexType": {
|
601
|
+
"original": "string",
|
602
|
+
"resolved": "string",
|
603
|
+
"references": {}
|
604
|
+
},
|
605
|
+
"required": false,
|
606
|
+
"optional": true,
|
607
|
+
"docs": {
|
608
|
+
"tags": [],
|
609
|
+
"text": "The human language of the linked URL."
|
610
|
+
},
|
611
|
+
"attribute": "hreflang",
|
612
|
+
"reflect": false
|
613
|
+
},
|
614
|
+
"loading": {
|
615
|
+
"type": "boolean",
|
616
|
+
"mutable": false,
|
617
|
+
"complexType": {
|
618
|
+
"original": "boolean",
|
619
|
+
"resolved": "boolean",
|
620
|
+
"references": {}
|
621
|
+
},
|
622
|
+
"required": false,
|
623
|
+
"optional": true,
|
624
|
+
"docs": {
|
625
|
+
"tags": [],
|
626
|
+
"text": "If `true`, the button will be in loading state."
|
627
|
+
},
|
628
|
+
"attribute": "loading",
|
629
|
+
"reflect": false,
|
630
|
+
"defaultValue": "false"
|
631
|
+
},
|
632
|
+
"referrerpolicy": {
|
633
|
+
"type": "string",
|
634
|
+
"mutable": false,
|
635
|
+
"complexType": {
|
636
|
+
"original": "ReferrerPolicy",
|
637
|
+
"resolved": "\"\" | \"no-referrer\" | \"no-referrer-when-downgrade\" | \"origin\" | \"origin-when-cross-origin\" | \"same-origin\" | \"strict-origin\" | \"strict-origin-when-cross-origin\" | \"unsafe-url\"",
|
638
|
+
"references": {
|
639
|
+
"ReferrerPolicy": {
|
640
|
+
"location": "global",
|
641
|
+
"id": "global::ReferrerPolicy"
|
642
|
+
}
|
643
|
+
}
|
644
|
+
},
|
645
|
+
"required": false,
|
646
|
+
"optional": true,
|
647
|
+
"docs": {
|
648
|
+
"tags": [],
|
649
|
+
"text": "How much of the referrer to send when following the link."
|
650
|
+
},
|
651
|
+
"attribute": "referrerpolicy",
|
652
|
+
"reflect": false
|
653
|
+
},
|
654
|
+
"rel": {
|
655
|
+
"type": "string",
|
656
|
+
"mutable": false,
|
657
|
+
"complexType": {
|
658
|
+
"original": "string",
|
659
|
+
"resolved": "string",
|
660
|
+
"references": {}
|
661
|
+
},
|
662
|
+
"required": false,
|
663
|
+
"optional": true,
|
664
|
+
"docs": {
|
665
|
+
"tags": [],
|
666
|
+
"text": "The relationship of the linked URL as space-separated link types."
|
667
|
+
},
|
668
|
+
"attribute": "rel",
|
669
|
+
"reflect": false
|
670
|
+
},
|
671
|
+
"size": {
|
672
|
+
"type": "string",
|
673
|
+
"mutable": false,
|
674
|
+
"complexType": {
|
675
|
+
"original": "IcSizes",
|
676
|
+
"resolved": "\"default\" | \"large\" | \"small\"",
|
677
|
+
"references": {
|
678
|
+
"IcSizes": {
|
679
|
+
"location": "import",
|
680
|
+
"path": "../../utils/types",
|
681
|
+
"id": "src/utils/types.ts::IcSizes"
|
682
|
+
}
|
683
|
+
}
|
684
|
+
},
|
685
|
+
"required": false,
|
686
|
+
"optional": true,
|
687
|
+
"docs": {
|
688
|
+
"tags": [],
|
689
|
+
"text": "The size of the button to be displayed."
|
690
|
+
},
|
691
|
+
"attribute": "size",
|
692
|
+
"reflect": false,
|
693
|
+
"defaultValue": "\"default\""
|
694
|
+
},
|
695
|
+
"target": {
|
696
|
+
"type": "string",
|
697
|
+
"mutable": false,
|
698
|
+
"complexType": {
|
699
|
+
"original": "string",
|
700
|
+
"resolved": "string",
|
701
|
+
"references": {}
|
702
|
+
},
|
703
|
+
"required": false,
|
704
|
+
"optional": true,
|
705
|
+
"docs": {
|
706
|
+
"tags": [],
|
707
|
+
"text": "The place to display the linked URL, as the name for a browsing context (a tab, window, or iframe)."
|
708
|
+
},
|
709
|
+
"attribute": "target",
|
710
|
+
"reflect": false
|
711
|
+
},
|
712
|
+
"tooltipPlacement": {
|
713
|
+
"type": "string",
|
714
|
+
"mutable": false,
|
715
|
+
"complexType": {
|
716
|
+
"original": "IcButtonTooltipPlacement",
|
717
|
+
"resolved": "\"bottom\" | \"left\" | \"right\" | \"top\"",
|
718
|
+
"references": {
|
719
|
+
"IcButtonTooltipPlacement": {
|
720
|
+
"location": "import",
|
721
|
+
"path": "./ic-button.types",
|
722
|
+
"id": "src/components/ic-button/ic-button.types.ts::IcButtonTooltipPlacement"
|
723
|
+
}
|
724
|
+
}
|
725
|
+
},
|
726
|
+
"required": false,
|
727
|
+
"optional": true,
|
728
|
+
"docs": {
|
729
|
+
"tags": [],
|
730
|
+
"text": "The position of the tooltip in relation to the button."
|
731
|
+
},
|
732
|
+
"attribute": "tooltip-placement",
|
733
|
+
"reflect": false,
|
734
|
+
"defaultValue": "\"bottom\""
|
735
|
+
},
|
736
|
+
"transparentBackground": {
|
737
|
+
"type": "boolean",
|
738
|
+
"mutable": false,
|
739
|
+
"complexType": {
|
740
|
+
"original": "boolean",
|
741
|
+
"resolved": "boolean",
|
742
|
+
"references": {}
|
743
|
+
},
|
744
|
+
"required": false,
|
745
|
+
"optional": true,
|
746
|
+
"docs": {
|
747
|
+
"tags": [],
|
748
|
+
"text": "If `true`, the secondary variant of button will have a transparent background rather than white."
|
749
|
+
},
|
750
|
+
"attribute": "transparent-background",
|
751
|
+
"reflect": false,
|
752
|
+
"defaultValue": "true"
|
753
|
+
},
|
754
|
+
"type": {
|
755
|
+
"type": "string",
|
756
|
+
"mutable": false,
|
757
|
+
"complexType": {
|
758
|
+
"original": "IcButtonTypes",
|
759
|
+
"resolved": "\"button\" | \"reset\" | \"submit\"",
|
760
|
+
"references": {
|
761
|
+
"IcButtonTypes": {
|
762
|
+
"location": "import",
|
763
|
+
"path": "./ic-button.types",
|
764
|
+
"id": "src/components/ic-button/ic-button.types.ts::IcButtonTypes"
|
765
|
+
}
|
766
|
+
}
|
767
|
+
},
|
768
|
+
"required": false,
|
769
|
+
"optional": true,
|
770
|
+
"docs": {
|
771
|
+
"tags": [],
|
772
|
+
"text": "The type of the button."
|
773
|
+
},
|
774
|
+
"attribute": "type",
|
775
|
+
"reflect": false,
|
776
|
+
"defaultValue": "\"button\""
|
777
|
+
},
|
778
|
+
"variant": {
|
779
|
+
"type": "string",
|
780
|
+
"mutable": false,
|
781
|
+
"complexType": {
|
782
|
+
"original": "IcButtonVariants",
|
783
|
+
"resolved": "\"destructive\" | \"icon\" | \"primary\" | \"secondary\" | \"tertiary\"",
|
784
|
+
"references": {
|
785
|
+
"IcButtonVariants": {
|
786
|
+
"location": "import",
|
787
|
+
"path": "./ic-button.types",
|
788
|
+
"id": "src/components/ic-button/ic-button.types.ts::IcButtonVariants"
|
789
|
+
}
|
790
|
+
}
|
791
|
+
},
|
792
|
+
"required": false,
|
793
|
+
"optional": true,
|
794
|
+
"docs": {
|
795
|
+
"tags": [],
|
796
|
+
"text": "The variant of the button to be displayed."
|
797
|
+
},
|
798
|
+
"attribute": "variant",
|
799
|
+
"reflect": false,
|
800
|
+
"defaultValue": "\"primary\""
|
778
801
|
}
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
}
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
802
|
+
};
|
803
|
+
}
|
804
|
+
static get states() {
|
805
|
+
return {
|
806
|
+
"ariaLabel": {},
|
807
|
+
"describedByContent": {},
|
808
|
+
"title": {}
|
809
|
+
};
|
810
|
+
}
|
811
|
+
static get events() {
|
812
|
+
return [{
|
813
|
+
"method": "icBlur",
|
814
|
+
"name": "icBlur",
|
815
|
+
"bubbles": true,
|
816
|
+
"cancelable": true,
|
817
|
+
"composed": true,
|
818
|
+
"docs": {
|
819
|
+
"tags": [],
|
820
|
+
"text": "Emitted when button has blur"
|
821
|
+
},
|
822
|
+
"complexType": {
|
823
|
+
"original": "void",
|
824
|
+
"resolved": "void",
|
825
|
+
"references": {}
|
826
|
+
}
|
827
|
+
}, {
|
828
|
+
"method": "icFocus",
|
829
|
+
"name": "icFocus",
|
830
|
+
"bubbles": true,
|
831
|
+
"cancelable": true,
|
832
|
+
"composed": true,
|
833
|
+
"docs": {
|
834
|
+
"tags": [],
|
835
|
+
"text": "Emitted when button has focus"
|
836
|
+
},
|
837
|
+
"complexType": {
|
838
|
+
"original": "void",
|
839
|
+
"resolved": "void",
|
840
|
+
"references": {}
|
841
|
+
}
|
842
|
+
}];
|
843
|
+
}
|
844
|
+
static get methods() {
|
845
|
+
return {
|
846
|
+
"setFocus": {
|
847
|
+
"complexType": {
|
848
|
+
"signature": "() => Promise<void>",
|
849
|
+
"parameters": [],
|
850
|
+
"references": {
|
851
|
+
"Promise": {
|
852
|
+
"location": "global",
|
853
|
+
"id": "global::Promise"
|
854
|
+
}
|
855
|
+
},
|
856
|
+
"return": "Promise<void>"
|
857
|
+
},
|
858
|
+
"docs": {
|
859
|
+
"text": "Sets focus on the native `button`.",
|
860
|
+
"tags": []
|
861
|
+
}
|
862
|
+
}
|
863
|
+
};
|
864
|
+
}
|
865
|
+
static get elementRef() { return "el"; }
|
866
|
+
static get listeners() {
|
867
|
+
return [{
|
868
|
+
"name": "click",
|
869
|
+
"method": "handleHostClick",
|
870
|
+
"target": undefined,
|
871
|
+
"capture": true,
|
872
|
+
"passive": false
|
873
|
+
}, {
|
874
|
+
"name": "themeChange",
|
875
|
+
"method": "themeChangeHandler",
|
876
|
+
"target": "document",
|
877
|
+
"capture": false,
|
878
|
+
"passive": false
|
879
|
+
}];
|
880
|
+
}
|
805
881
|
}
|
806
882
|
//# sourceMappingURL=ic-button.js.map
|