@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 +1 @@
|
|
1
|
-
{"version":3,"file":"ic-page-header.js","sourceRoot":"","sources":["../../../src/components/ic-page-header/ic-page-header.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAIzE,OAAO,EACL,UAAU,EACV,YAAY,EACZ,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAE7B;;;;;;;;;GASG;AAOH,MAAM,OAAO,UAAU;;IACb,mBAAc,GAAmB,IAAI,CAAC;IAqEtC,2BAAsB,GAAG,GAAG,EAAE;MACpC,IAAI,IAAI,CAAC,YAAY,IAAI,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,SAAS,CAAC,EAAE;QACvD,IAAI,CAAC,iBAAiB,EAAE,CAAC;OAC1B;IACH,CAAC,CAAC;IAEM,sBAAiB,GAAG,GAAG,EAAE;MAC/B,IAAI,CAAC,cAAc,GAAG,IAAI,cAAc,CAAC,GAAG,EAAE;QAC5C,IAAI,CAAC,sBAAsB,EAAE,CAAC;MAChC,CAAC,CAAC,CAAC;MACH,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACvC,CAAC,CAAC;IAEM,sBAAiB,GAAG,GAAS,EAAE;MACrC,MAAM,QAAQ,GAAG,oBAAoB,EAAE,CAAC;MACxC,IAAI,QAAQ,KAAK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E,EAAE,SAAS,CAAC;cAC7B,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,CAAC,IAAI,YAAM,IAAI,EAAC,SAAS,GAAG;YACxD,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,CAAC,IAAI,CAC9B,yBAAgB,iCAAiC;cAC/C;gBACE,UAAI,KAAK,EAAC,WAAW;kBACnB,YAAM,IAAI,EAAC,MAAM,GAAG,CACjB,CACgB,CACnB,CACP,CACG,CACP,CACoB,CAChB,CACJ,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, h, Prop, Element, State } from \"@stencil/core\";\n\nimport { IcAlignment, IcSizesNoLarge } from \"../../utils/types\";\n\nimport {\n isSlotUsed,\n DEVICE_SIZES,\n getCurrentDeviceSize,\n checkResizeObserver,\n} from \"../../utils/helpers\";\n\n/**\n * @slot breadcrumbs - Content will be rendered in the breadcrumb area, above the title and action areas.\n * @slot heading - Content will be rendered in the title area, in place of the heading.\n * @slot subheading - Content will be rendered in the title area, in place of the subheading.\n * @slot heading-adornment - Content will be rendered in the title area, adjacent to the heading.\n * @slot actions - Content will be rendered in the action area, adjacent to the title area.\n * @slot input - Content will be rendered in the input area, below the title area and adjacent to the action area.\n * @slot stepper - Content will be rendered in the navigation area, below the title and action areas. Note: stepper slot cannot be used when the tabs slot is being used.\n * @slot tabs - Content will be rendered in the navigation area, below the title and action areas. Note: the stepper slot cannot be used when the tabs slot is being used.\n */\n\n@Component({\n tag: \"ic-page-header\",\n styleUrl: \"ic-page-header.css\",\n shadow: true,\n})\nexport class PageHeader {\n private resizeObserver: ResizeObserver = null;\n\n @Element() el: HTMLIcPageHeaderElement;\n\n @State() actionContent: Node[];\n @State() areButtonsReversed: boolean = false;\n @State() deviceSize: number = DEVICE_SIZES.XL;\n\n /**\n * The alignment of the page header.\n */\n @Prop() aligned?: IcAlignment = \"left\";\n\n /**\n * If `true`, a border will be displayed along the bottom of the page header.\n */\n @Prop() border?: boolean = true;\n\n /**\n * The title to render on the page header.\n */\n @Prop() heading?: string;\n\n /**\n * If `true`, the reading pattern and tab order will change in the action area for viewport widths of above 576px and when actions have not wrapped.\n */\n @Prop() reverseOrder?: boolean = false;\n\n /**\n * The size of the page header component.\n */\n @Prop() size?: IcSizesNoLarge = \"default\";\n\n /**\n * @deprecated This prop should not be used anymore. Set prop `size` to \"small\" instead.\n */\n @Prop() small?: boolean = false;\n\n /**\n * If `true`, the page header will be sticky at all breakpoints.\n */\n @Prop() sticky?: boolean = false;\n\n /**\n * If `true`, the page header will only be sticky for viewport widths of 992px and above.\n */\n @Prop() stickyDesktopOnly?: boolean = false;\n\n /**\n * The subtitle to render on the page header.\n */\n @Prop() subheading?: string;\n\n disconnectedCallback(): void {\n if (this.resizeObserver !== null) {\n this.resizeObserver.disconnect();\n }\n }\n\n componentWillLoad(): void {\n this.actionContent = Array.from(\n this.el.querySelectorAll(`[slot=\"actions\"]`)\n );\n }\n\n componentDidLoad(): void {\n checkResizeObserver(this.runResizeObserver);\n }\n\n private resizeObserverCallback = () => {\n if (this.reverseOrder && isSlotUsed(this.el, \"actions\")) {\n this.applyReverseOrder();\n }\n };\n\n private runResizeObserver = () => {\n this.resizeObserver = new ResizeObserver(() => {\n this.resizeObserverCallback();\n });\n this.resizeObserver.observe(this.el);\n };\n\n private applyReverseOrder = (): void => {\n const currSize = getCurrentDeviceSize();\n if (currSize !== this.deviceSize) {\n this.deviceSize = currSize;\n }\n\n const actionArea = this.el.shadowRoot.querySelector(\n \"div.action-area\"\n ) as HTMLElement;\n const actionHeights: number[] = [];\n\n /* For each button in the actions slot, check the height of the button and push this number into the actionHeights array and then find the greatest number in this array (i.e. find the height of the tallest button) */\n for (let i = 0; i < this.actionContent.length; i++) {\n const action = this.actionContent[i] as HTMLElement;\n let actionHeight = action.offsetHeight;\n if (actionHeight === undefined) {\n actionHeight = 0;\n }\n actionHeights.push(actionHeight);\n }\n\n const max = Math.max(...actionHeights);\n\n /* The smallest breakpoint displays buttons in the same order the user has slotted them in. When the device size is larger than the small breakpoiint then the order of the button reverses due to best practice for reading patterns. If the device size is larger than the small breakpoint and the buttons have started to wrap then they follow the order the user has slotted them in. This logic is programmed based on the height of the action-area div that wraps the actions slot. If the height of the action-area div is taller than the height of the tallest button, then it is assumed that the taller height is caused by the buttons wrapping */\n let actionAreaHeight = actionArea.offsetHeight;\n\n if (actionAreaHeight === undefined) {\n actionAreaHeight = 0;\n }\n\n const appendActionContent = () => {\n this.actionContent = this.actionContent.reverse();\n this.actionContent.forEach((btn: string | Node) => {\n this.el.append(btn);\n });\n this.areButtonsReversed = !this.areButtonsReversed;\n };\n\n if (\n (this.deviceSize > DEVICE_SIZES.S &&\n actionAreaHeight <= max &&\n !this.areButtonsReversed) ||\n (((this.deviceSize > DEVICE_SIZES.S && actionAreaHeight > max) ||\n this.deviceSize <= DEVICE_SIZES.S) &&\n this.areButtonsReversed)\n ) {\n appendActionContent();\n }\n };\n\n render() {\n const {\n small,\n size,\n border,\n heading,\n subheading,\n aligned,\n sticky,\n stickyDesktopOnly,\n } = this;\n\n return (\n <Host\n class={{\n [\"sticky\"]: sticky,\n [\"sticky-desktop\"]: !sticky && stickyDesktopOnly,\n }}\n >\n <header\n class={{\n [\"border-bottom\"]: border,\n [\"tabs\"]: isSlotUsed(this.el, \"tabs\"),\n }}\n >\n <ic-section-container\n aligned={aligned}\n fullHeight={isSlotUsed(this.el, \"tabs\")}\n >\n {isSlotUsed(this.el, \"breadcrumbs\") && (\n <div class=\"breadcrumb-area\">\n <slot name=\"breadcrumbs\" />\n </div>\n )}\n <div class=\"main-content\">\n <div class=\"title-area\">\n <div class=\"header-content\">\n <slot name=\"heading\">\n <ic-typography\n variant={small || size === \"small\" ? \"h4\" : \"h2\"}\n class=\"heading\"\n >\n <h2>{heading}</h2>\n </ic-typography>\n </slot>\n <slot name=\"heading-adornment\" />\n </div>\n <div>\n <slot name=\"subheading\">\n {subheading && (\n <ic-typography\n variant=\"body\"\n class={{\n [\"subheading\"]: true,\n [\"small\"]: small || size === \"small\",\n }}\n >\n {subheading}\n </ic-typography>\n )}\n </slot>\n </div>\n </div>\n {isSlotUsed(this.el, \"actions\") && (\n <div class=\"action-area\">\n <slot name=\"actions\" />\n </div>\n )}\n {isSlotUsed(this.el, \"input\") && (\n <div class=\"input-area\">\n <slot name=\"input\" />\n </div>\n )}\n </div>\n\n {(isSlotUsed(this.el, \"stepper\") ||\n isSlotUsed(this.el, \"tabs\")) && (\n <div class=\"navigation-area\">\n {isSlotUsed(this.el, \"stepper\") &&\n !isSlotUsed(this.el, \"tabs\") && <slot name=\"stepper\" />}\n {isSlotUsed(this.el, \"tabs\") && (\n <nav aria-label=\"navigation-landmark-page-header\">\n <ic-horizontal-scroll>\n <ul class=\"tabs-slot\">\n <slot name=\"tabs\" />\n </ul>\n </ic-horizontal-scroll>\n </nav>\n )}\n </div>\n )}\n </ic-section-container>\n </header>\n </Host>\n );\n }\n}\n"]}
|
1
|
+
{"version":3,"file":"ic-page-header.js","sourceRoot":"","sources":["../../../src/components/ic-page-header/ic-page-header.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAIzE,OAAO,EACL,UAAU,EACV,YAAY,EACZ,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,qBAAqB,CAAC;AAE7B;;;;;;;;;GASG;AAOH,MAAM,OAAO,UAAU;;QACb,mBAAc,GAAmB,IAAI,CAAC;QAqEtC,2BAAsB,GAAG,GAAG,EAAE;YACpC,IAAI,IA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ent":["import { Component, Host, h, Prop, Element, State } from \"@stencil/core\";\n\nimport { IcAlignment, IcSizesNoLarge } from \"../../utils/types\";\n\nimport {\n isSlotUsed,\n DEVICE_SIZES,\n getCurrentDeviceSize,\n checkResizeObserver,\n} from \"../../utils/helpers\";\n\n/**\n * @slot breadcrumbs - Content will be rendered in the breadcrumb area, above the title and action areas.\n * @slot heading - Content will be rendered in the title area, in place of the heading.\n * @slot subheading - Content will be rendered in the title area, in place of the subheading.\n * @slot heading-adornment - Content will be rendered in the title area, adjacent to the heading.\n * @slot actions - Content will be rendered in the action area, adjacent to the title area.\n * @slot input - Content will be rendered in the input area, below the title area and adjacent to the action area.\n * @slot stepper - Content will be rendered in the navigation area, below the title and action areas. Note: stepper slot cannot be used when the tabs slot is being used.\n * @slot tabs - Content will be rendered in the navigation area, below the title and action areas. Note: the stepper slot cannot be used when the tabs slot is being used.\n */\n\n@Component({\n tag: \"ic-page-header\",\n styleUrl: \"ic-page-header.css\",\n shadow: true,\n})\nexport class PageHeader {\n private resizeObserver: ResizeObserver = null;\n\n @Element() el: HTMLIcPageHeaderElement;\n\n @State() actionContent: Node[];\n @State() areButtonsReversed: boolean = false;\n @State() deviceSize: number = DEVICE_SIZES.XL;\n\n /**\n * The alignment of the page header.\n */\n @Prop() aligned?: IcAlignment = \"left\";\n\n /**\n * If `true`, a border will be displayed along the bottom of the page header.\n */\n @Prop() border?: boolean = true;\n\n /**\n * The title to render on the page header.\n */\n @Prop() heading?: string;\n\n /**\n * If `true`, the reading pattern and tab order will change in the action area for viewport widths of above 576px and when actions have not wrapped.\n */\n @Prop() reverseOrder?: boolean = false;\n\n /**\n * The size of the page header component.\n */\n @Prop() size?: IcSizesNoLarge = \"default\";\n\n /**\n * @deprecated This prop should not be used anymore. Set prop `size` to \"small\" instead.\n */\n @Prop() small?: boolean = false;\n\n /**\n * If `true`, the page header will be sticky at all breakpoints.\n */\n @Prop() sticky?: boolean = false;\n\n /**\n * If `true`, the page header will only be sticky for viewport widths of 992px and above.\n */\n @Prop() stickyDesktopOnly?: boolean = false;\n\n /**\n * The subtitle to render on the page header.\n */\n @Prop() subheading?: string;\n\n disconnectedCallback(): void {\n if (this.resizeObserver !== null) {\n this.resizeObserver.disconnect();\n }\n }\n\n componentWillLoad(): void {\n this.actionContent = Array.from(\n this.el.querySelectorAll(`[slot=\"actions\"]`)\n );\n }\n\n componentDidLoad(): void {\n checkResizeObserver(this.runResizeObserver);\n }\n\n private resizeObserverCallback = () => {\n if (this.reverseOrder && isSlotUsed(this.el, \"actions\")) {\n this.applyReverseOrder();\n }\n };\n\n private runResizeObserver = () => {\n this.resizeObserver = new ResizeObserver(() => {\n this.resizeObserverCallback();\n });\n this.resizeObserver.observe(this.el);\n };\n\n private applyReverseOrder = (): void => {\n const currSize = getCurrentDeviceSize();\n if (currSize !== this.deviceSize) {\n this.deviceSize = currSize;\n }\n\n const actionArea = this.el.shadowRoot.querySelector(\n \"div.action-area\"\n ) as HTMLElement;\n const actionHeights: number[] = [];\n\n /* For each button in the actions slot, check the height of the button and push this number into the actionHeights array and then find the greatest number in this array (i.e. find the height of the tallest button) */\n for (let i = 0; i < this.actionContent.length; i++) {\n const action = this.actionContent[i] as HTMLElement;\n let actionHeight = action.offsetHeight;\n if (actionHeight === undefined) {\n actionHeight = 0;\n }\n actionHeights.push(actionHeight);\n }\n\n const max = Math.max(...actionHeights);\n\n /* The smallest breakpoint displays buttons in the same order the user has slotted them in. When the device size is larger than the small breakpoiint then the order of the button reverses due to best practice for reading patterns. If the device size is larger than the small breakpoint and the buttons have started to wrap then they follow the order the user has slotted them in. This logic is programmed based on the height of the action-area div that wraps the actions slot. If the height of the action-area div is taller than the height of the tallest button, then it is assumed that the taller height is caused by the buttons wrapping */\n let actionAreaHeight = actionArea.offsetHeight;\n\n if (actionAreaHeight === undefined) {\n actionAreaHeight = 0;\n }\n\n const appendActionContent = () => {\n this.actionContent = this.actionContent.reverse();\n this.actionContent.forEach((btn: string | Node) => {\n this.el.append(btn);\n });\n this.areButtonsReversed = !this.areButtonsReversed;\n };\n\n if (\n (this.deviceSize > DEVICE_SIZES.S &&\n actionAreaHeight <= max &&\n !this.areButtonsReversed) ||\n (((this.deviceSize > DEVICE_SIZES.S && actionAreaHeight > max) ||\n this.deviceSize <= DEVICE_SIZES.S) &&\n this.areButtonsReversed)\n ) {\n appendActionContent();\n }\n };\n\n render() {\n const {\n small,\n size,\n border,\n heading,\n subheading,\n aligned,\n sticky,\n stickyDesktopOnly,\n } = this;\n\n const navAriaLabel = heading\n ? `${heading} page sections`\n : \"navigation-landmark-page-header\";\n\n return (\n <Host\n class={{\n [\"sticky\"]: sticky,\n [\"sticky-desktop\"]: !sticky && stickyDesktopOnly,\n }}\n >\n <header\n class={{\n [\"border-bottom\"]: border,\n [\"tabs\"]: isSlotUsed(this.el, \"tabs\"),\n }}\n >\n <ic-section-container\n aligned={aligned}\n fullHeight={isSlotUsed(this.el, \"tabs\")}\n >\n {isSlotUsed(this.el, \"breadcrumbs\") && (\n <div class=\"breadcrumb-area\">\n <slot name=\"breadcrumbs\" />\n </div>\n )}\n <div class=\"main-content\">\n <div class=\"title-area\">\n <div class=\"header-content\">\n <slot name=\"heading\">\n <ic-typography\n variant={small || size === \"small\" ? \"h4\" : \"h2\"}\n class=\"heading\"\n >\n <h2>{heading}</h2>\n </ic-typography>\n </slot>\n <slot name=\"heading-adornment\" />\n </div>\n <div>\n <slot name=\"subheading\">\n {subheading && (\n <ic-typography\n variant=\"body\"\n class={{\n [\"subheading\"]: true,\n [\"small\"]: small || size === \"small\",\n }}\n >\n {subheading}\n </ic-typography>\n )}\n </slot>\n </div>\n </div>\n {isSlotUsed(this.el, \"actions\") && (\n <div class=\"action-area\">\n <slot name=\"actions\" />\n </div>\n )}\n {isSlotUsed(this.el, \"input\") && (\n <div class=\"input-area\">\n <slot name=\"input\" />\n </div>\n )}\n </div>\n\n {(isSlotUsed(this.el, \"stepper\") ||\n isSlotUsed(this.el, \"tabs\")) && (\n <div class=\"navigation-area\">\n {isSlotUsed(this.el, \"stepper\") &&\n !isSlotUsed(this.el, \"tabs\") && <slot name=\"stepper\" />}\n {isSlotUsed(this.el, \"tabs\") && (\n <nav aria-label={navAriaLabel}>\n <ic-horizontal-scroll>\n <ul class=\"tabs-slot\">\n <slot name=\"tabs\" />\n </ul>\n </ic-horizontal-scroll>\n </nav>\n )}\n </div>\n )}\n </ic-section-container>\n </header>\n </Host>\n );\n }\n}\n"]}
|
@@ -2,12 +2,12 @@ import { fixture } from "@open-wc/testing-helpers";
|
|
2
2
|
import { axe } from "jest-axe";
|
3
3
|
import { checkShadowElementRendersCorrectly } from "../../../../utils/testa11y.helpers";
|
4
4
|
describe("page-header", () => {
|
5
|
-
|
6
|
-
|
5
|
+
it("passes accessibility", async () => {
|
6
|
+
const el = await fixture(`
|
7
7
|
<ic-page-header heading="Test"></ic-page-header>
|
8
8
|
`);
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
checkShadowElementRendersCorrectly(el);
|
10
|
+
expect(await axe(el)).toHaveNoViolations();
|
11
|
+
});
|
12
12
|
});
|
13
13
|
//# sourceMappingURL=ic-page-header.test.a11y.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ic-page-header.test.a11y.js","sourceRoot":"","sources":["../../../../../src/components/ic-page-header/test/a11y/ic-page-header.test.a11y.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,kCAAkC,EAAE,MAAM,oCAAoC,CAAC;AAExF,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;
|
1
|
+
{"version":3,"file":"ic-page-header.test.a11y.js","sourceRoot":"","sources":["../../../../../src/components/ic-page-header/test/a11y/ic-page-header.test.a11y.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAC/B,OAAO,EAAE,kCAAkC,EAAE,MAAM,oCAAoC,CAAC;AAExF,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,EAAE,CAAC,sBAAsB,EAAE,KAAK,IAAI,EAAE;QACpC,MAAM,EAAE,GAAG,MAAM,OAAO,CAAC;;OAEtB,CAAC,CAAC;QACL,kCAAkC,CAAC,EAAE,CAAC,CAAC;QACvC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC,kBAAkB,EAAE,CAAC;IAC7C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { fixture } from \"@open-wc/testing-helpers\";\nimport { axe } from \"jest-axe\";\nimport { checkShadowElementRendersCorrectly } from \"../../../../utils/testa11y.helpers\";\n\ndescribe(\"page-header\", () => {\n it(\"passes accessibility\", async () => {\n const el = await fixture(`\n <ic-page-header heading=\"Test\"></ic-page-header>\n `);\n checkShadowElementRendersCorrectly(el);\n expect(await axe(el)).toHaveNoViolations();\n });\n});\n"]}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { newE2EPage } from "@stencil/core/testing";
|
2
2
|
describe("ic-page-header component", () => {
|
3
|
-
|
4
|
-
|
5
|
-
|
3
|
+
it("shouldn't render tooltips on the navigation items in the page header", async () => {
|
4
|
+
const page = await newE2EPage();
|
5
|
+
await page.setContent(`<ic-page-header
|
6
6
|
heading="Coffee recipes"
|
7
7
|
sub-heading="This is a page header component with additional functionality and this is the text."
|
8
8
|
>
|
@@ -19,21 +19,21 @@ describe("ic-page-header component", () => {
|
|
19
19
|
href="?path=/story/web-components-page-header--with-tabs"
|
20
20
|
></ic-navigation-item>
|
21
21
|
</ic-page-header>`);
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
22
|
+
await page.waitForChanges();
|
23
|
+
await page.keyboard.press("Tab");
|
24
|
+
await page.waitForChanges();
|
25
|
+
const tooltipDisplay = await page.evaluate(() => {
|
26
|
+
const tooltip = document
|
27
|
+
.querySelectorAll("ic-navigation-item")[0]
|
28
|
+
.shadowRoot.querySelector("ic-tooltip")
|
29
|
+
.shadowRoot.querySelector(".ic-tooltip-container");
|
30
|
+
return window.getComputedStyle(tooltip).display;
|
31
|
+
});
|
32
|
+
expect(tooltipDisplay).toBe("none");
|
31
33
|
});
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
const page = await newE2EPage();
|
36
|
-
await page.setContent(`<ic-top-navigation app-title="ApplicationName">
|
34
|
+
it("should stay at the top of the page if the sticky variant is used", async () => {
|
35
|
+
const page = await newE2EPage();
|
36
|
+
await page.setContent(`<ic-top-navigation app-title="ApplicationName">
|
37
37
|
<svg
|
38
38
|
slot="app-icon"
|
39
39
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -78,29 +78,29 @@ describe("ic-page-header component", () => {
|
|
78
78
|
Logo
|
79
79
|
</div>
|
80
80
|
</ic-footer>`);
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
81
|
+
await page.waitForChanges();
|
82
|
+
const pageHeaderPosition = await page.evaluate(() => {
|
83
|
+
const pageHeader = document.querySelector("ic-page-header");
|
84
|
+
return window.getComputedStyle(pageHeader).position;
|
85
|
+
});
|
86
|
+
expect(pageHeaderPosition).toBe("sticky");
|
87
|
+
const pageHeaderTopValue = await page.evaluate(() => {
|
88
|
+
const pageHeader = document.querySelector("ic-page-header");
|
89
|
+
window.scrollTo({ top: 700 });
|
90
|
+
return pageHeader.offsetTop;
|
91
|
+
});
|
92
|
+
expect(pageHeaderTopValue).toEqual(700);
|
85
93
|
});
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
await page.setViewport({
|
97
|
-
width: 375,
|
98
|
-
height: 667,
|
99
|
-
isMobile: true,
|
100
|
-
hasTouch: true,
|
101
|
-
});
|
102
|
-
await page.waitForChanges();
|
103
|
-
await page.setContent(`<ic-top-navigation app-title="ApplicationName">
|
94
|
+
it("should not stay at the top of the page on extra small to medium device sizes if the sticky-desktop-only variant is used", async () => {
|
95
|
+
const page = await newE2EPage();
|
96
|
+
await page.setViewport({
|
97
|
+
width: 375,
|
98
|
+
height: 667,
|
99
|
+
isMobile: true,
|
100
|
+
hasTouch: true,
|
101
|
+
});
|
102
|
+
await page.waitForChanges();
|
103
|
+
await page.setContent(`<ic-top-navigation app-title="ApplicationName">
|
104
104
|
<svg
|
105
105
|
slot="app-icon"
|
106
106
|
xmlns="http://www.w3.org/2000/svg"
|
@@ -145,33 +145,33 @@ describe("ic-page-header component", () => {
|
|
145
145
|
Logo
|
146
146
|
</div>
|
147
147
|
</ic-footer>`);
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
148
|
+
await page.waitForChanges();
|
149
|
+
let pageHeaderPosition = await page.evaluate(() => {
|
150
|
+
const pageHeader = document.querySelector("ic-page-header");
|
151
|
+
return window.getComputedStyle(pageHeader).position;
|
152
|
+
});
|
153
|
+
expect(pageHeaderPosition).toBe("static");
|
154
|
+
await page.evaluate(() => {
|
155
|
+
window.scrollBy({ top: -700 });
|
156
|
+
});
|
157
|
+
await page.waitForChanges();
|
158
|
+
await page.setViewport({
|
159
|
+
width: 1920,
|
160
|
+
height: 800,
|
161
|
+
});
|
162
|
+
await page.waitForChanges();
|
163
|
+
pageHeaderPosition = await page.evaluate(() => {
|
164
|
+
const pageHeader = document.querySelector("ic-page-header");
|
165
|
+
return window.getComputedStyle(pageHeader).position;
|
166
|
+
});
|
167
|
+
await page.waitForChanges();
|
168
|
+
expect(pageHeaderPosition).toBe("sticky");
|
169
|
+
const pageHeaderTopValueOnLargeDesktops = await page.evaluate(() => {
|
170
|
+
const pageHeader = document.querySelector("ic-page-header");
|
171
|
+
window.scrollBy({ top: 700 });
|
172
|
+
return pageHeader.offsetTop;
|
173
|
+
});
|
174
|
+
expect(pageHeaderTopValueOnLargeDesktops).toEqual(700);
|
173
175
|
});
|
174
|
-
expect(pageHeaderTopValueOnLargeDesktops).toEqual(700);
|
175
|
-
});
|
176
176
|
});
|
177
177
|
//# sourceMappingURL=ic-page-header.e2e.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ic-page-header.e2e.js","sourceRoot":"","sources":["../../../../../src/components/ic-page-header/test/basic/ic-page-header.e2e.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,QAAQ,CAAC,0BAA0B,EAAE,GAAG,EAAE;EACxC,EAAE,CAAC,sEAAsE,EAAE,KAAK,IAAI,EAAE;IACpF,MAAM,IAAI,GAAG,MAAM,UAAU,EAAE,CAAC;IAEhC,MAAM,IAAI,CAAC,UAAU,CACnB;;;;;;;;;;;;;;;;wBAgBkB,CACnB,CAAC;IAEF,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;IAE5B,MAAM,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAEjC,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;IAE5B,MAAM,cAAc,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE;MAC9C,MAAM,OAAO,GAAG,QAAQ;SACrB,gBAAgB,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC;SACzC,UAAU,CAAC,aAAa,CAAC,YAAY,CAAC;SACtC,UAAU,CAAC,aAAa,CAAC,uBAAuB,CAAC,CAAC;MAErD,OAAO,MAAM,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC;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AC,CAAC;IAE1C,MAAM,iCAAiC,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE;MACjE,MAAM,UAAU,GAAG,QAAQ,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;MAC5D,MAAM,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;MAE9B,OAAO,UAAU,CAAC,SAAS,CAAC;IAC9B,CAAC,CAAC,CAAC;IAEH,MAAM,CAAC,iCAAiC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;EACzD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newE2EPage } from \"@stencil/core/testing\";\n\ndescribe(\"ic-page-header component\", () => {\n it(\"shouldn't render tooltips on the navigation items in the page header\", async () => {\n const page = await newE2EPage();\n\n await page.setContent(\n `<ic-page-header\n heading=\"Coffee recipes\"\n sub-heading=\"This is a page header component with additional functionality and this is the text.\"\n >\n <ic-status-tag slot=\"heading-adornment\" label=\"Beta\"></ic-status-tag>\n <ic-navigation-item\n slot=\"tabs\"\n label=\"All recipes\"\n href=\"?path=/story/web-components-page-header--with-tabs\"\n selected\n ></ic-navigation-item>\n <ic-navigation-item\n slot=\"tabs\"\n label=\"Favourites\"\n href=\"?path=/story/web-components-page-header--with-tabs\"\n ></ic-navigation-item>\n </ic-page-header>`\n );\n\n await page.waitForChanges();\n\n await page.keyboard.press(\"Tab\");\n\n await page.waitForChanges();\n\n const tooltipDisplay = await page.evaluate(() => {\n const tooltip = document\n .querySelectorAll(\"ic-navigation-item\")[0]\n .shadowRoot.querySelector(\"ic-tooltip\")\n .shadowRoot.querySelector(\".ic-tooltip-container\");\n\n return window.getComputedStyle(tooltip).display;\n });\n\n expect(tooltipDisplay).toBe(\"none\");\n });\n\n it(\"should stay at the top of the page if the sticky variant is used\", async () => {\n const page = await newE2EPage();\n\n await page.setContent(\n `<ic-top-navigation app-title=\"ApplicationName\">\n <svg\n slot=\"app-icon\"\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"24px\"\n viewBox=\"0 0 24 24\"\n width=\"24px\"\n fill=\"#000000\"\n >\n <path d=\"M0 0h24v24H0V0z\" fill=\"none\" />\n <path\n d=\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-5.5-2.5l7.51-3.49L17.5 6.5 9.99 9.99 6.5 17.5zm5.5-6.6c.61 0 1.1.49 1.1 1.1s-.49 1.1-1.1 1.1-1.1-.49-1.1-1.1.49-1.1 1.1-1.1z\"\n />\n </svg>\n </ic-top-navigation>\n <ic-page-header\n sticky\n heading=\"Page header\"\n sub-heading=\"This is a simple page header component and this is the text.\"\n >\n <ic-status-tag slot=\"heading-adornment\" label=\"Beta\"></ic-status-tag>\n </ic-page-header>\n <ic-section-container style=\"height:800px\">\n This is an example of how the sticky variant of the page header would\n work with some content and the footer.\n </ic-section-container>\n <ic-footer\n description=\"The ICDS is maintained by the Design Practice Team. If you've got a question or want to feedback, \n please get in touch.\"\n caption=\"All content is available under the Open Government Licence v3.0, except source code and code examples which are available under the MIT Licence.\"\n >\n <ic-footer-link slot=\"link\" href=\"/\">Get Started</ic-footer-link>\n <ic-footer-link slot=\"link\" href=\"/\">Accessibility</ic-footer-link>\n <ic-footer-link slot=\"link\" href=\"/\">Styles</ic-footer-link>\n <ic-footer-link slot=\"link\" href=\"/\">Components</ic-footer-link>\n <ic-footer-link slot=\"link\" href=\"/\">Patterns</ic-footer-link>\n <ic-footer-link slot=\"link\" href=\"/\">Design toolkit</ic-footer-link>\n <div\n slot=\"logo\"\n style=\"width:100px;height:100px;display:flex;align-items:center;justify-content:center;\n background-color:var(--ic-personality-primary);color:var(--ic-personality-text);\"\n >\n Logo\n </div>\n </ic-footer>`\n );\n\n await page.waitForChanges();\n\n const pageHeaderPosition = await page.evaluate(() => {\n const pageHeader = document.querySelector(\"ic-page-header\");\n\n return window.getComputedStyle(pageHeader).position;\n });\n\n expect(pageHeaderPosition).toBe(\"sticky\");\n\n const pageHeaderTopValue = await page.evaluate(() => {\n const pageHeader = document.querySelector(\"ic-page-header\");\n window.scrollTo({ top: 700 });\n\n return pageHeader.offsetTop;\n });\n\n expect(pageHeaderTopValue).toEqual(700);\n });\n\n it(\"should not stay at the top of the page on extra small to medium device sizes if the sticky-desktop-only variant is used\", async () => {\n const page = await newE2EPage();\n\n await page.setViewport({\n width: 375,\n height: 667,\n isMobile: true,\n hasTouch: true,\n });\n\n await page.waitForChanges();\n\n await page.setContent(\n `<ic-top-navigation app-title=\"ApplicationName\">\n <svg\n slot=\"app-icon\"\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"24px\"\n viewBox=\"0 0 24 24\"\n width=\"24px\"\n fill=\"#000000\"\n >\n <path d=\"M0 0h24v24H0V0z\" fill=\"none\" />\n <path\n d=\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-5.5-2.5l7.51-3.49L17.5 6.5 9.99 9.99 6.5 17.5zm5.5-6.6c.61 0 1.1.49 1.1 1.1s-.49 1.1-1.1 1.1-1.1-.49-1.1-1.1.49-1.1 1.1-1.1z\"\n />\n </svg>\n </ic-top-navigation>\n <ic-page-header\n sticky-desktop-only\n heading=\"Page header\"\n sub-heading=\"This is a simple page header component and this is the text. This page header is only sticky for viewport widths of 992px and above.\"\n >\n <ic-status-tag slot=\"heading-adornment\" label=\"Beta\"></ic-status-tag>\n </ic-page-header>\n <ic-section-container style=\"height:1000px\">\n This is an example of how the sticky-desktop-only variant of the page\n header would work with some content and the footer.\n </ic-section-container>\n <ic-footer\n description=\"The ICDS is maintained by the Design Practice Team. If you've got a question or want to feedback, \n please get in touch.\"\n caption=\"All content is available under the Open Government Licence v3.0, except source code and code examples which are available under the MIT Licence.\"\n >\n <ic-footer-link slot=\"link\" href=\"/\">Get Started</ic-footer-link>\n <ic-footer-link slot=\"link\" href=\"/\">Accessibility</ic-footer-link>\n <ic-footer-link slot=\"link\" href=\"/\">Styles</ic-footer-link>\n <ic-footer-link slot=\"link\" href=\"/\">Components</ic-footer-link>\n <ic-footer-link slot=\"link\" href=\"/\">Patterns</ic-footer-link>\n <ic-footer-link slot=\"link\" href=\"/\">Design toolkit</ic-footer-link>\n <div\n slot=\"logo\"\n style=\"width:100px;height:100px;display:flex;align-items:center;justify-content:center;\n background-color:var(--ic-personality-primary);color:var(--ic-personality-text);\"\n >\n Logo\n </div>\n </ic-footer>`\n );\n\n await page.waitForChanges();\n\n let pageHeaderPosition = await page.evaluate(() => {\n const pageHeader = document.querySelector(\"ic-page-header\");\n return window.getComputedStyle(pageHeader).position;\n });\n\n expect(pageHeaderPosition).toBe(\"static\");\n\n await page.evaluate(() => {\n window.scrollBy({ top: -700 });\n });\n\n await page.waitForChanges();\n\n await page.setViewport({\n width: 1920,\n height: 800,\n });\n\n await page.waitForChanges();\n\n pageHeaderPosition = await page.evaluate(() => {\n const pageHeader = document.querySelector(\"ic-page-header\");\n return window.getComputedStyle(pageHeader).position;\n });\n\n await page.waitForChanges();\n\n expect(pageHeaderPosition).toBe(\"sticky\");\n\n const pageHeaderTopValueOnLargeDesktops = await page.evaluate(() => {\n const pageHeader = document.querySelector(\"ic-page-header\");\n window.scrollBy({ top: 700 });\n\n return pageHeader.offsetTop;\n });\n\n expect(pageHeaderTopValueOnLargeDesktops).toEqual(700);\n });\n});\n"]}
|
1
|
+
{"version":3,"file":"ic-page-header.e2e.js","sourceRoot":"","sources":["../../../../../src/components/ic-page-header/test/basic/ic-page-header.e2e.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,QAAQ,CAAC,0BAA0B,EAAE,GAAG,EAAE;IACxC,EAAE,CAAC,sEAAsE,EAAE,KAAK,IAAI,E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Q,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC;QACjC,CAAC,CAAC,CAAC;QAEH,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;QAE5B,MAAM,IAAI,CAAC,WAAW,CAAC;YACrB,KAAK,EAAE,IAAI;YACX,MAAM,EAAE,GAAG;SACZ,CAAC,CAAC;QAEH,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;QAE5B,kBAAkB,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE;YAC5C,MAAM,UAAU,GAAG,QAAQ,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;YAC5D,OAAO,MAAM,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC,QAAQ,CAAC;QACtD,CAAC,CAAC,CAAC;QAEH,MAAM,IAAI,CAAC,cAAc,EAAE,CAAC;QAE5B,MAAM,CAAC,kBAAkB,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAE1C,MAAM,iCAAiC,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE;YACjE,MAAM,UAAU,GAAG,QAAQ,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;YAC5D,MAAM,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;YAE9B,OAAO,UAAU,CAAC,SAAS,CAAC;QAC9B,CAAC,CAAC,CAAC;QAEH,MAAM,CAAC,iCAAiC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACzD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newE2EPage } from \"@stencil/core/testing\";\n\ndescribe(\"ic-page-header component\", () => {\n it(\"shouldn't render tooltips on the navigation items in the page header\", async () => {\n const page = await newE2EPage();\n\n await page.setContent(\n `<ic-page-header\n heading=\"Coffee recipes\"\n sub-heading=\"This is a page header component with additional functionality and this is the text.\"\n >\n <ic-status-tag slot=\"heading-adornment\" label=\"Beta\"></ic-status-tag>\n <ic-navigation-item\n slot=\"tabs\"\n label=\"All recipes\"\n href=\"?path=/story/web-components-page-header--with-tabs\"\n selected\n ></ic-navigation-item>\n <ic-navigation-item\n slot=\"tabs\"\n label=\"Favourites\"\n href=\"?path=/story/web-components-page-header--with-tabs\"\n ></ic-navigation-item>\n </ic-page-header>`\n );\n\n await page.waitForChanges();\n\n await page.keyboard.press(\"Tab\");\n\n await page.waitForChanges();\n\n const tooltipDisplay = await page.evaluate(() => {\n const tooltip = document\n .querySelectorAll(\"ic-navigation-item\")[0]\n .shadowRoot.querySelector(\"ic-tooltip\")\n .shadowRoot.querySelector(\".ic-tooltip-container\");\n\n return window.getComputedStyle(tooltip).display;\n });\n\n expect(tooltipDisplay).toBe(\"none\");\n });\n\n it(\"should stay at the top of the page if the sticky variant is used\", async () => {\n const page = await newE2EPage();\n\n await page.setContent(\n `<ic-top-navigation app-title=\"ApplicationName\">\n <svg\n slot=\"app-icon\"\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"24px\"\n viewBox=\"0 0 24 24\"\n width=\"24px\"\n fill=\"#000000\"\n >\n <path d=\"M0 0h24v24H0V0z\" fill=\"none\" />\n <path\n d=\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-5.5-2.5l7.51-3.49L17.5 6.5 9.99 9.99 6.5 17.5zm5.5-6.6c.61 0 1.1.49 1.1 1.1s-.49 1.1-1.1 1.1-1.1-.49-1.1-1.1.49-1.1 1.1-1.1z\"\n />\n </svg>\n </ic-top-navigation>\n <ic-page-header\n sticky\n heading=\"Page header\"\n sub-heading=\"This is a simple page header component and this is the text.\"\n >\n <ic-status-tag slot=\"heading-adornment\" label=\"Beta\"></ic-status-tag>\n </ic-page-header>\n <ic-section-container style=\"height:800px\">\n This is an example of how the sticky variant of the page header would\n work with some content and the footer.\n </ic-section-container>\n <ic-footer\n description=\"The ICDS is maintained by the Design Practice Team. If you've got a question or want to feedback, \n please get in touch.\"\n caption=\"All content is available under the Open Government Licence v3.0, except source code and code examples which are available under the MIT Licence.\"\n >\n <ic-footer-link slot=\"link\" href=\"/\">Get Started</ic-footer-link>\n <ic-footer-link slot=\"link\" href=\"/\">Accessibility</ic-footer-link>\n <ic-footer-link slot=\"link\" href=\"/\">Styles</ic-footer-link>\n <ic-footer-link slot=\"link\" href=\"/\">Components</ic-footer-link>\n <ic-footer-link slot=\"link\" href=\"/\">Patterns</ic-footer-link>\n <ic-footer-link slot=\"link\" href=\"/\">Design toolkit</ic-footer-link>\n <div\n slot=\"logo\"\n style=\"width:100px;height:100px;display:flex;align-items:center;justify-content:center;\n background-color:var(--ic-personality-primary);color:var(--ic-personality-text);\"\n >\n Logo\n </div>\n </ic-footer>`\n );\n\n await page.waitForChanges();\n\n const pageHeaderPosition = await page.evaluate(() => {\n const pageHeader = document.querySelector(\"ic-page-header\");\n\n return window.getComputedStyle(pageHeader).position;\n });\n\n expect(pageHeaderPosition).toBe(\"sticky\");\n\n const pageHeaderTopValue = await page.evaluate(() => {\n const pageHeader = document.querySelector(\"ic-page-header\");\n window.scrollTo({ top: 700 });\n\n return pageHeader.offsetTop;\n });\n\n expect(pageHeaderTopValue).toEqual(700);\n });\n\n it(\"should not stay at the top of the page on extra small to medium device sizes if the sticky-desktop-only variant is used\", async () => {\n const page = await newE2EPage();\n\n await page.setViewport({\n width: 375,\n height: 667,\n isMobile: true,\n hasTouch: true,\n });\n\n await page.waitForChanges();\n\n await page.setContent(\n `<ic-top-navigation app-title=\"ApplicationName\">\n <svg\n slot=\"app-icon\"\n xmlns=\"http://www.w3.org/2000/svg\"\n height=\"24px\"\n viewBox=\"0 0 24 24\"\n width=\"24px\"\n fill=\"#000000\"\n >\n <path d=\"M0 0h24v24H0V0z\" fill=\"none\" />\n <path\n d=\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-5.5-2.5l7.51-3.49L17.5 6.5 9.99 9.99 6.5 17.5zm5.5-6.6c.61 0 1.1.49 1.1 1.1s-.49 1.1-1.1 1.1-1.1-.49-1.1-1.1.49-1.1 1.1-1.1z\"\n />\n </svg>\n </ic-top-navigation>\n <ic-page-header\n sticky-desktop-only\n heading=\"Page header\"\n sub-heading=\"This is a simple page header component and this is the text. This page header is only sticky for viewport widths of 992px and above.\"\n >\n <ic-status-tag slot=\"heading-adornment\" label=\"Beta\"></ic-status-tag>\n </ic-page-header>\n <ic-section-container style=\"height:1000px\">\n This is an example of how the sticky-desktop-only variant of the page\n header would work with some content and the footer.\n </ic-section-container>\n <ic-footer\n description=\"The ICDS is maintained by the Design Practice Team. If you've got a question or want to feedback, \n please get in touch.\"\n caption=\"All content is available under the Open Government Licence v3.0, except source code and code examples which are available under the MIT Licence.\"\n >\n <ic-footer-link slot=\"link\" href=\"/\">Get Started</ic-footer-link>\n <ic-footer-link slot=\"link\" href=\"/\">Accessibility</ic-footer-link>\n <ic-footer-link slot=\"link\" href=\"/\">Styles</ic-footer-link>\n <ic-footer-link slot=\"link\" href=\"/\">Components</ic-footer-link>\n <ic-footer-link slot=\"link\" href=\"/\">Patterns</ic-footer-link>\n <ic-footer-link slot=\"link\" href=\"/\">Design toolkit</ic-footer-link>\n <div\n slot=\"logo\"\n style=\"width:100px;height:100px;display:flex;align-items:center;justify-content:center;\n background-color:var(--ic-personality-primary);color:var(--ic-personality-text);\"\n >\n Logo\n </div>\n </ic-footer>`\n );\n\n await page.waitForChanges();\n\n let pageHeaderPosition = await page.evaluate(() => {\n const pageHeader = document.querySelector(\"ic-page-header\");\n return window.getComputedStyle(pageHeader).position;\n });\n\n expect(pageHeaderPosition).toBe(\"static\");\n\n await page.evaluate(() => {\n window.scrollBy({ top: -700 });\n });\n\n await page.waitForChanges();\n\n await page.setViewport({\n width: 1920,\n height: 800,\n });\n\n await page.waitForChanges();\n\n pageHeaderPosition = await page.evaluate(() => {\n const pageHeader = document.querySelector(\"ic-page-header\");\n return window.getComputedStyle(pageHeader).position;\n });\n\n await page.waitForChanges();\n\n expect(pageHeaderPosition).toBe(\"sticky\");\n\n const pageHeaderTopValueOnLargeDesktops = await page.evaluate(() => {\n const pageHeader = document.querySelector(\"ic-page-header\");\n window.scrollBy({ top: 700 });\n\n return pageHeader.offsetTop;\n });\n\n expect(pageHeaderTopValueOnLargeDesktops).toEqual(700);\n });\n});\n"]}
|
@@ -7,22 +7,22 @@ import * as helpers from "../../../../utils/helpers";
|
|
7
7
|
import { BreadcrumbGroup } from "../../../ic-breadcrumb-group/ic-breadcrumb-group";
|
8
8
|
import { Breadcrumb } from "../../../ic-breadcrumb/ic-breadcrumb";
|
9
9
|
describe("simple ic-page-header renders", () => {
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
10
|
+
it("should render with a heading & sub-heading", async () => {
|
11
|
+
const page = await newSpecPage({
|
12
|
+
components: [PageHeader],
|
13
|
+
html: `<ic-page-header heading="Page header" subheading="This is a simple page header component and this is the text."></ic-page-header>`,
|
14
|
+
});
|
15
|
+
expect(page.root).toMatchSnapshot("should render with a heading & sub-heading");
|
16
|
+
});
|
17
|
+
it("should return null for slot 'tabs'", async () => {
|
18
|
+
expect(helpers.getSlot(undefined, "tabs")).toBeNull();
|
14
19
|
});
|
15
|
-
expect(page.root).toMatchSnapshot("should render with a heading & sub-heading");
|
16
|
-
});
|
17
|
-
it("should return null for slot 'tabs'", async () => {
|
18
|
-
expect(helpers.getSlot(undefined, "tabs")).toBeNull();
|
19
|
-
});
|
20
20
|
});
|
21
21
|
describe("ic-page-header component renders additional functionality", () => {
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
22
|
+
it("should render actions", async () => {
|
23
|
+
const page = await newSpecPage({
|
24
|
+
components: [PageHeader],
|
25
|
+
html: `
|
26
26
|
<ic-page-header
|
27
27
|
heading="Page header"
|
28
28
|
subheading="This is a simple page header component and this is the text."
|
@@ -45,13 +45,13 @@ describe("ic-page-header component renders additional functionality", () => {
|
|
45
45
|
</svg>
|
46
46
|
</ic-button>
|
47
47
|
</ic-page-header>`,
|
48
|
+
});
|
49
|
+
expect(page.root).toMatchSnapshot("should render actions");
|
48
50
|
});
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
components: [PageHeader],
|
54
|
-
html: `
|
51
|
+
it("should render an input field", async () => {
|
52
|
+
const page = await newSpecPage({
|
53
|
+
components: [PageHeader],
|
54
|
+
html: `
|
55
55
|
<ic-page-header
|
56
56
|
heading="Page header"
|
57
57
|
subheading="This is a simple page header component and this is the text."
|
@@ -59,13 +59,13 @@ describe("ic-page-header component renders additional functionality", () => {
|
|
59
59
|
<ic-status-tag slot="heading-adornment" label="Beta"></ic-status-tag>
|
60
60
|
<ic-text-field slot="input" placeholder="Enter your input" hide-label />
|
61
61
|
</ic-page-header>`,
|
62
|
+
});
|
63
|
+
expect(page.root).toMatchSnapshot("should render an input field");
|
62
64
|
});
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
components: [PageHeader],
|
68
|
-
html: `
|
65
|
+
it("should render a stepper", async () => {
|
66
|
+
const page = await newSpecPage({
|
67
|
+
components: [PageHeader],
|
68
|
+
html: `
|
69
69
|
<ic-page-header heading="Create a coffee">
|
70
70
|
<ic-stepper slot="stepper">
|
71
71
|
<ic-step step-title="Warm kettle" step-type="completed"></ic-step>
|
@@ -77,13 +77,13 @@ describe("ic-page-header component renders additional functionality", () => {
|
|
77
77
|
<ic-step step-title="Pour milk" step-type="current"></ic-step>
|
78
78
|
</ic-stepper>
|
79
79
|
</ic-page-header>`,
|
80
|
+
});
|
81
|
+
expect(page.root).toMatchSnapshot("should render a stepper");
|
80
82
|
});
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
components: [PageHeader],
|
86
|
-
html: `
|
83
|
+
it("should render tabs", async () => {
|
84
|
+
const page = await newSpecPage({
|
85
|
+
components: [PageHeader],
|
86
|
+
html: `
|
87
87
|
<ic-page-header heading="Coffee recipes" subheading="This is a simple page header component and this is the text.">
|
88
88
|
<ic-status-tag slot="heading-adornment" label="Beta"></ic-status-tag>
|
89
89
|
<ic-navigation-item
|
@@ -98,13 +98,13 @@ describe("ic-page-header component renders additional functionality", () => {
|
|
98
98
|
href="/favourites"
|
99
99
|
></ic-navigation-item>
|
100
100
|
</ic-page-header>`,
|
101
|
+
});
|
102
|
+
expect(page.root).toMatchSnapshot("should render tabs");
|
101
103
|
});
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
components: [PageHeader],
|
107
|
-
html: `
|
104
|
+
it("should render actions, input & tabs", async () => {
|
105
|
+
const page = await newSpecPage({
|
106
|
+
components: [PageHeader],
|
107
|
+
html: `
|
108
108
|
<ic-page-header heading="Coffee recipes" subheading="This is a simple page header component and this is the text.">
|
109
109
|
<ic-status-tag slot="heading-adornment" label="Beta"></ic-status-tag>
|
110
110
|
<ic-button slot="actions" variant="tertiary">Filter coffee</ic-button>
|
@@ -137,13 +137,13 @@ describe("ic-page-header component renders additional functionality", () => {
|
|
137
137
|
></ic-navigation-item>
|
138
138
|
<ic-text-field slot="input" placeholder="Enter your input" hide-label />
|
139
139
|
</ic-page-header>`,
|
140
|
+
});
|
141
|
+
expect(page.root).toMatchSnapshot("should render actions, input & tabs");
|
140
142
|
});
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
components: [PageHeader],
|
146
|
-
html: `
|
143
|
+
it("should render actions, input & stepper", async () => {
|
144
|
+
const page = await newSpecPage({
|
145
|
+
components: [PageHeader],
|
146
|
+
html: `
|
147
147
|
<ic-page-header heading="Coffee recipes" subheading="This is a simple page header component and this is the text.">
|
148
148
|
<ic-stepper slot="stepper">
|
149
149
|
<ic-step step-title="Warm kettle" step-type="completed"></ic-step>
|
@@ -174,13 +174,13 @@ describe("ic-page-header component renders additional functionality", () => {
|
|
174
174
|
</ic-button>
|
175
175
|
<ic-text-field slot="input" placeholder="Enter your input" hide-label />
|
176
176
|
</ic-page-header>`,
|
177
|
+
});
|
178
|
+
expect(page.root).toMatchSnapshot("should render actions, input & stepper");
|
177
179
|
});
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
components: [PageHeader, BreadcrumbGroup, Breadcrumb],
|
183
|
-
html: `
|
180
|
+
it("should render with breadcrumbs", async () => {
|
181
|
+
const page = await newSpecPage({
|
182
|
+
components: [PageHeader, BreadcrumbGroup, Breadcrumb],
|
183
|
+
html: `
|
184
184
|
<ic-page-header heading="Coffee recipes" subheading="This is a simple page header component and this is the text.">
|
185
185
|
<ic-breadcrumb-group slot="breadcrumbs">
|
186
186
|
<ic-breadcrumb
|
@@ -194,15 +194,15 @@ describe("ic-page-header component renders additional functionality", () => {
|
|
194
194
|
></ic-breadcrumb>
|
195
195
|
</ic-breadcrumb-group>
|
196
196
|
</ic-page-header>`,
|
197
|
+
});
|
198
|
+
expect(page.root).toMatchSnapshot("should render with breadcrumbs");
|
197
199
|
});
|
198
|
-
expect(page.root).toMatchSnapshot("should render with breadcrumbs");
|
199
|
-
});
|
200
200
|
});
|
201
201
|
describe("resizeObserver for ic-page-header", () => {
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
202
|
+
it("should set the deviceSize prop correctly in resizeObserver", async () => {
|
203
|
+
const page = await newSpecPage({
|
204
|
+
components: [PageHeader, Button],
|
205
|
+
html: `
|
206
206
|
<ic-page-header
|
207
207
|
heading="Page header"
|
208
208
|
sub-heading="This is a page header component with additional functionality and this is the text."
|
@@ -227,31 +227,31 @@ describe("resizeObserver for ic-page-header", () => {
|
|
227
227
|
<ic-button slot="actions" variant="tertiary">Filter coffee</ic-button>
|
228
228
|
</ic-page-header>
|
229
229
|
`,
|
230
|
+
});
|
231
|
+
await page.waitForChanges();
|
232
|
+
page.rootInstance.areButtonsReversed = true;
|
233
|
+
await page.waitForChanges();
|
234
|
+
mockDeviceSize(DEVICE_SIZES.S);
|
235
|
+
await page.rootInstance.resizeObserverCallback();
|
236
|
+
await page.waitForChanges();
|
237
|
+
expect(page.rootInstance.deviceSize).toBe(DEVICE_SIZES.S);
|
238
|
+
mockDeviceSize(DEVICE_SIZES.M);
|
239
|
+
await page.rootInstance.resizeObserverCallback();
|
240
|
+
await page.waitForChanges();
|
241
|
+
expect(page.rootInstance.deviceSize).toBe(DEVICE_SIZES.M);
|
242
|
+
mockDeviceSize(DEVICE_SIZES.L);
|
243
|
+
await page.rootInstance.resizeObserverCallback();
|
244
|
+
await page.waitForChanges();
|
245
|
+
expect(page.rootInstance.deviceSize).toBe(DEVICE_SIZES.L);
|
246
|
+
mockDeviceSize(DEVICE_SIZES.XL);
|
247
|
+
await page.rootInstance.resizeObserverCallback();
|
248
|
+
await page.waitForChanges();
|
249
|
+
expect(page.rootInstance.deviceSize).toBe(DEVICE_SIZES.XL);
|
230
250
|
});
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
await page.rootInstance.resizeObserverCallback();
|
236
|
-
await page.waitForChanges();
|
237
|
-
expect(page.rootInstance.deviceSize).toBe(DEVICE_SIZES.S);
|
238
|
-
mockDeviceSize(DEVICE_SIZES.M);
|
239
|
-
await page.rootInstance.resizeObserverCallback();
|
240
|
-
await page.waitForChanges();
|
241
|
-
expect(page.rootInstance.deviceSize).toBe(DEVICE_SIZES.M);
|
242
|
-
mockDeviceSize(DEVICE_SIZES.L);
|
243
|
-
await page.rootInstance.resizeObserverCallback();
|
244
|
-
await page.waitForChanges();
|
245
|
-
expect(page.rootInstance.deviceSize).toBe(DEVICE_SIZES.L);
|
246
|
-
mockDeviceSize(DEVICE_SIZES.XL);
|
247
|
-
await page.rootInstance.resizeObserverCallback();
|
248
|
-
await page.waitForChanges();
|
249
|
-
expect(page.rootInstance.deviceSize).toBe(DEVICE_SIZES.XL);
|
250
|
-
});
|
251
|
-
it("shouldn't call the resizeObserver if the resizeObserver is null", async () => {
|
252
|
-
const page = await newSpecPage({
|
253
|
-
components: [PageHeader, Button],
|
254
|
-
html: `
|
251
|
+
it("shouldn't call the resizeObserver if the resizeObserver is null", async () => {
|
252
|
+
const page = await newSpecPage({
|
253
|
+
components: [PageHeader, Button],
|
254
|
+
html: `
|
255
255
|
<ic-page-header
|
256
256
|
heading="Page header"
|
257
257
|
sub-heading="This is a page header component with additional functionality and this is the text."
|
@@ -276,9 +276,9 @@ describe("resizeObserver for ic-page-header", () => {
|
|
276
276
|
<ic-button slot="actions" variant="tertiary">Filter coffee</ic-button>
|
277
277
|
</ic-page-header>
|
278
278
|
`,
|
279
|
+
});
|
280
|
+
await page.rootInstance.runResizeObserver();
|
281
|
+
page.setContent("");
|
279
282
|
});
|
280
|
-
await page.rootInstance.runResizeObserver();
|
281
|
-
page.setContent("");
|
282
|
-
});
|
283
283
|
});
|
284
284
|
//# sourceMappingURL=ic-page-header.spec.js.map
|