@ukic/web-components 2.1.0-beta.9 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/OpenInNew-f9958725.js +7 -0
- package/dist/cjs/OpenInNew-f9958725.js.map +1 -0
- package/dist/cjs/chevron-icon-2bb3a907.js +10 -0
- package/dist/cjs/chevron-icon-2bb3a907.js.map +1 -0
- package/dist/cjs/core.cjs.js +10 -3
- package/dist/cjs/core.cjs.js.map +1 -1
- package/dist/cjs/{helpers-6eb26e7a.js → helpers-eb53c416.js} +27 -26
- package/dist/cjs/helpers-eb53c416.js.map +1 -0
- package/dist/cjs/ic-alert.cjs.entry.js +11 -11
- package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +5 -5
- package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +39 -33
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +14 -13
- package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +163 -93
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card.cjs.entry.js +46 -45
- package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +24 -23
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +41 -29
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +18 -15
- package/dist/cjs/ic-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-classification-banner.cjs.entry.js +1 -1
- package/dist/cjs/ic-data-entity.cjs.entry.js +2 -2
- package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +38 -24
- package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-dialog.cjs.entry.js +295 -0
- package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-divider.cjs.entry.js +3 -3
- package/dist/cjs/ic-divider.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +18 -18
- package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +23 -17
- package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +23 -21
- package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +23 -21
- package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +45 -26
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +299 -159
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +11 -11
- package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-link.cjs.entry.js +22 -23
- package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +24 -0
- package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-menu-item.cjs.entry.js +122 -0
- package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-navigation-button.cjs.entry.js +18 -18
- package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +87 -58
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +49 -42
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +28 -34
- package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +24 -27
- package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination-item.cjs.entry.js +56 -0
- package/dist/cjs/ic-pagination-item.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-pagination.cjs.entry.js +227 -0
- package/dist/cjs/ic-pagination.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-popover-menu.cjs.entry.js +237 -0
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-radio-group.cjs.entry.js +43 -25
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +39 -38
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +178 -102
- package/dist/cjs/ic-search-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-section-container.cjs.entry.js +1 -1
- package/dist/cjs/ic-select.cjs.entry.js +349 -190
- package/dist/cjs/ic-select.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +116 -87
- package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-skeleton.cjs.entry.js +4 -4
- package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +6 -6
- package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +10 -10
- package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +15 -15
- package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +20 -19
- package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-context.cjs.entry.js +68 -32
- package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +5 -4
- package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +15 -4
- package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +32 -7
- package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-text-field.cjs.entry.js +102 -72
- package/dist/cjs/ic-text-field.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +2 -2
- package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast-region.cjs.entry.js +13 -13
- package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +60 -56
- package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +49 -45
- package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +97 -5
- package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
- package/dist/cjs/{index-f79a4e53.js → index-2a0c6769.js} +256 -43
- package/dist/cjs/index-2a0c6769.js.map +1 -0
- package/dist/cjs/loader.cjs.js +4 -3
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/{popper-11d5f714.js → popper-d7adcfc6.js} +10 -17
- package/dist/cjs/popper-d7adcfc6.js.map +1 -0
- package/dist/cjs/types-3eb02246.js.map +1 -1
- package/dist/collection/assets/pagination-first-last.svg +3 -0
- package/dist/collection/assets/pagination-next-previous.svg +3 -0
- package/dist/collection/collection-manifest.json +17 -11
- package/dist/collection/components/ic-alert/ic-alert.css +1 -1
- package/dist/collection/components/ic-alert/ic-alert.js +49 -49
- package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
- package/dist/collection/components/ic-alert/{ic-alert.test.a11y.js → test/a11y/ic-alert.test.a11y.js} +1 -1
- package/dist/collection/components/ic-alert/test/a11y/ic-alert.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js +16 -0
- package/dist/collection/components/ic-alert/test/basic/ic-alert.e2e.js.map +1 -0
- package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js +182 -0
- package/dist/collection/components/ic-alert/test/basic/ic-alert.spec.js.map +1 -0
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.css +3 -3
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.js +4 -4
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.js.map +1 -1
- package/dist/collection/components/ic-back-to-top/test/a11y/ic-back-to-top.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js +68 -0
- package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.e2e.js.map +1 -0
- package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js +123 -0
- package/dist/collection/components/ic-back-to-top/test/basic/ic-back-to-top.spec.js.map +1 -0
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.css +19 -4
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +28 -27
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js +118 -0
- package/dist/collection/components/ic-breadcrumb/test/basic/ic-breadcrumb.spec.js.map +1 -0
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js +37 -31
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group.test.a11y.js → test/a11y/ic-breadcrumb-group.test.a11y.js} +1 -1
- package/dist/collection/components/ic-breadcrumb-group/test/a11y/ic-breadcrumb-group.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group-test-examples.js.map +1 -0
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js +41 -0
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.e2e.js.map +1 -0
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js +181 -0
- package/dist/collection/components/ic-breadcrumb-group/test/basic/ic-breadcrumb-group.spec.js.map +1 -0
- package/dist/collection/components/ic-button/ic-button.css +23 -8
- package/dist/collection/components/ic-button/ic-button.js +269 -114
- package/dist/collection/components/ic-button/ic-button.js.map +1 -1
- package/dist/collection/components/ic-button/{ic-button.test.a11y.js → test/a11y/ic-button.test.a11y.js} +1 -1
- package/dist/collection/components/ic-button/test/a11y/ic-button.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js +198 -0
- package/dist/collection/components/ic-button/test/basic/ic-button.e2e.js.map +1 -0
- package/dist/collection/components/ic-button/test/basic/ic-button.spec.js +256 -0
- package/dist/collection/components/ic-button/test/basic/ic-button.spec.js.map +1 -0
- package/dist/collection/components/ic-card/ic-card.css +35 -10
- package/dist/collection/components/ic-card/ic-card.js +123 -122
- package/dist/collection/components/ic-card/ic-card.js.map +1 -1
- package/dist/collection/components/ic-card/{ic-card.test.a11y.js → test/a11y/ic-card.test.a11y.js} +1 -1
- package/dist/collection/components/ic-card/test/a11y/ic-card.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js +23 -0
- package/dist/collection/components/ic-card/test/basic/ic-card.e2e.js.map +1 -0
- package/dist/collection/components/ic-card/test/basic/ic-card.spec.js +152 -0
- package/dist/collection/components/ic-card/test/basic/ic-card.spec.js.map +1 -0
- package/dist/collection/components/ic-checkbox/ic-checkbox.css +11 -8
- package/dist/collection/components/ic-checkbox/ic-checkbox.js +107 -76
- package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.css +3 -3
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +64 -67
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.types.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/{ic-checkbox-group.test.a11y.js → test/a11y/ic-checkbox-group.test.a11y.js} +1 -1
- package/dist/collection/components/ic-checkbox-group/test/a11y/ic-checkbox-group.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js +201 -0
- package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.e2e.js.map +1 -0
- package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js +175 -0
- package/dist/collection/components/ic-checkbox-group/test/basic/ic-checkbox-group.spec.js.map +1 -0
- package/dist/collection/components/ic-chip/ic-chip.css +11 -10
- package/dist/collection/components/ic-chip/ic-chip.js +55 -52
- package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
- package/dist/collection/components/ic-chip/{ic-chip.test.a11y.js → test/a11y/ic-chip.test.a11y.js} +1 -1
- package/dist/collection/components/ic-chip/test/a11y/ic-chip.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js +110 -0
- package/dist/collection/components/ic-chip/test/basic/ic-chip.spec.js.map +1 -0
- package/dist/collection/components/ic-classification-banner/{ic-classification-banner.test.a11y.js → test/a11y/ic-classification-banner.test.a11y.js} +1 -1
- package/dist/collection/components/ic-classification-banner/test/a11y/ic-classification-banner.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js +140 -0
- package/dist/collection/components/ic-classification-banner/test/basic/ic-classification-banner.spec.js.map +1 -0
- package/dist/collection/components/ic-data-entity/ic-data-entity.css +1 -1
- package/dist/collection/components/ic-data-entity/{ic-data-entity.test.a11y.js → test/a11y/ic-data-entity.test.a11y.js} +1 -1
- package/dist/collection/components/ic-data-entity/test/a11y/ic-data-entity.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js +161 -0
- package/dist/collection/components/ic-data-entity/test/basic/ic-data-entity.spec.js.map +1 -0
- package/dist/collection/components/ic-data-row/ic-data-row.css +1 -1
- package/dist/collection/components/ic-data-row/ic-data-row.js +51 -37
- package/dist/collection/components/ic-data-row/ic-data-row.js.map +1 -1
- package/dist/collection/components/ic-data-row/{ic-data-row.test.a11y.js → test/a11y/ic-data-row.test.a11y.js} +1 -1
- package/dist/collection/components/ic-data-row/test/a11y/ic-data-row.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js +74 -0
- package/dist/collection/components/ic-data-row/test/basic/ic-data-row.spec.js.map +1 -0
- package/dist/collection/components/ic-dialog/ic-dialog.css +592 -0
- package/dist/collection/components/ic-dialog/ic-dialog.js +640 -0
- package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -0
- package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js +28 -0
- package/dist/collection/components/ic-dialog/test/a11y/ic-dialog.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js +207 -0
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.e2e.js.map +1 -0
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js +520 -0
- package/dist/collection/components/ic-dialog/test/basic/ic-dialog.spec.js.map +1 -0
- package/dist/collection/components/ic-divider/ic-divider.css +1 -1
- package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js +24 -0
- package/dist/collection/components/ic-divider/test/basic/ic-divider.spec.js.map +1 -0
- package/dist/collection/components/ic-footer/ic-footer.css +2 -2
- package/dist/collection/components/ic-footer/ic-footer.js +51 -49
- package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
- package/dist/collection/components/ic-footer/{ic-footer.test.a11y.js → test/a11y/ic-footer.test.a11y.js} +1 -1
- package/dist/collection/components/ic-footer/test/a11y/ic-footer.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js +50 -0
- package/dist/collection/components/ic-footer/test/basic/ic-footer.e2e.js.map +1 -0
- package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js +140 -0
- package/dist/collection/components/ic-footer/test/basic/ic-footer.spec.js.map +1 -0
- package/dist/collection/components/ic-footer-link/ic-footer-link.css +36 -4
- package/dist/collection/components/ic-footer-link/ic-footer-link.js +111 -15
- package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
- package/dist/collection/components/ic-footer-link/{ic-footer-link.test.a11y.js → test/a11y/ic-footer-link.test.a11y.js} +1 -1
- package/dist/collection/components/ic-footer-link/test/a11y/ic-footer-link.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js +62 -0
- package/dist/collection/components/ic-footer-link/test/basic/ic-footer-link.spec.js.map +1 -0
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js +18 -18
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.js.map +1 -1
- package/dist/collection/components/ic-footer-link-group/{ic-footer-link-group.test.a11y.js → test/a11y/ic-footer-link-group.test.a11y.js} +1 -1
- package/dist/collection/components/ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js +98 -0
- package/dist/collection/components/ic-footer-link-group/test/basic/ic-footer-link-group.spec.js.map +1 -0
- package/dist/collection/components/ic-hero/ic-hero.css +23 -22
- package/dist/collection/components/ic-hero/ic-hero.js +97 -95
- package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
- package/dist/collection/components/ic-hero/{ic-hero.test.a11y.js → test/a11y/ic-hero.test.a11y.js} +1 -1
- package/dist/collection/components/ic-hero/test/a11y/ic-hero.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js +76 -0
- package/dist/collection/components/ic-hero/test/basic/ic-hero.spec.js.map +1 -0
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.css +4 -8
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +44 -25
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -1
- package/dist/collection/components/ic-horizontal-scroll/{ic-horizontal-scroll.test.a11y.js → test/a11y/ic-horizontal-scroll.test.a11y.js} +1 -1
- package/dist/collection/components/ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js +180 -0
- package/dist/collection/components/ic-horizontal-scroll/test/basic/ic-horizontal-scroll.spec.js.map +1 -0
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.css +38 -9
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +45 -45
- 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 +117 -0
- package/dist/collection/components/ic-input-component-container/test/basic/ic-input-component-container.spec.js.map +1 -0
- package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js +38 -0
- package/dist/collection/components/ic-input-container/test/basic/ic-input-container.spec.js.map +1 -0
- package/dist/collection/components/ic-input-label/ic-input-label.css +0 -4
- package/dist/collection/components/ic-input-label/ic-input-label.js +51 -51
- 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 +98 -0
- package/dist/collection/components/ic-input-label/test/basic/ic-input-label.spec.js.map +1 -0
- package/dist/collection/components/ic-input-validation/ic-input-validation.css +0 -8
- package/dist/collection/components/ic-input-validation/ic-input-validation.js +41 -41
- 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 +89 -0
- package/dist/collection/components/ic-input-validation/test/basic/ic-input-validation.spec.js.map +1 -0
- package/dist/collection/components/ic-link/ic-link.css +16 -3
- package/dist/collection/components/ic-link/ic-link.js +55 -52
- package/dist/collection/components/ic-link/ic-link.js.map +1 -1
- package/dist/collection/components/ic-link/{ic-link.test.a11y.js → test/a11y/ic-link.test.a11y.js} +1 -1
- package/dist/collection/components/ic-link/test/a11y/ic-link.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-link/test/basic/ic-link.spec.js +203 -0
- package/dist/collection/components/ic-link/test/basic/ic-link.spec.js.map +1 -0
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.css +5 -5
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +97 -89
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
- package/dist/collection/components/ic-loading-indicator/{ic-loading-indicator.test.a11y.js → test/a11y/ic-loading-indicator.test.a11y.js} +1 -1
- package/dist/collection/components/ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js +34 -0
- package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.e2e.js.map +1 -0
- package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js +141 -0
- package/dist/collection/components/ic-loading-indicator/test/basic/ic-loading-indicator.spec.js.map +1 -0
- package/dist/collection/components/ic-menu/ic-menu.css +47 -10
- package/dist/collection/components/ic-menu/ic-menu.js +521 -268
- package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
- package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js +657 -0
- package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +1 -0
- package/dist/collection/components/ic-menu-group/ic-menu-group.css +465 -0
- package/dist/collection/components/ic-menu-group/ic-menu-group.js +45 -0
- package/dist/collection/components/ic-menu-group/ic-menu-group.js.map +1 -0
- package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js +94 -0
- package/dist/collection/components/ic-menu-group/test/basic/ic-menu-group.spec.js.map +1 -0
- package/dist/collection/components/ic-menu-item/ic-menu-item.css +628 -0
- package/dist/collection/components/ic-menu-item/ic-menu-item.js +394 -0
- package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -0
- package/dist/collection/components/ic-menu-item/ic-menu-item.types.js +2 -0
- package/dist/collection/components/ic-menu-item/ic-menu-item.types.js.map +1 -0
- package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js +108 -0
- package/dist/collection/components/ic-menu-item/test/basic/ic-menu-item.spec.js.map +1 -0
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.css +4 -0
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +56 -56
- 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 +84 -0
- package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +1 -0
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +2 -10
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +101 -72
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
- package/dist/collection/components/ic-navigation-group/{ic-navigation-group.test.a11y.js → test/a11y/ic-navigation-group.test.a11y.js} +1 -1
- package/dist/collection/components/ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js +309 -0
- package/dist/collection/components/ic-navigation-group/test/basic/ic-navigation-group.spec.js.map +1 -0
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.css +59 -16
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +180 -83
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
- package/dist/collection/components/ic-navigation-item/{ic-navigation-item.test.a11y.js → test/a11y/ic-navigation-item.test.a11y.js} +1 -1
- package/dist/collection/components/ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js +118 -0
- package/dist/collection/components/ic-navigation-item/test/basic/ic-navigation-item.spec.js.map +1 -0
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +19 -18
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.js +31 -37
- 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 +29 -0
- package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.e2e.js.map +1 -0
- package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js +176 -0
- package/dist/collection/components/ic-navigation-menu/test/basic/ic-navigation-menu.spec.js.map +1 -0
- package/dist/collection/components/ic-page-header/ic-page-header.css +3 -1
- package/dist/collection/components/ic-page-header/ic-page-header.js +65 -68
- package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
- package/dist/collection/components/ic-page-header/{ic-page-header.test.a11y.js → test/a11y/ic-page-header.test.a11y.js} +1 -1
- package/dist/collection/components/ic-page-header/test/a11y/ic-page-header.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js +177 -0
- package/dist/collection/components/ic-page-header/test/basic/ic-page-header.e2e.js.map +1 -0
- package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js +284 -0
- package/dist/collection/components/ic-page-header/test/basic/ic-page-header.spec.js.map +1 -0
- package/dist/collection/components/ic-pagination/ic-pagination.css +486 -0
- package/dist/collection/components/ic-pagination/ic-pagination.js +498 -0
- package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -0
- package/dist/collection/components/ic-pagination/ic-pagination.types.js +2 -0
- package/dist/collection/components/ic-pagination/ic-pagination.types.js.map +1 -0
- package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js +11 -0
- package/dist/collection/components/ic-pagination/test/a11y/ic-pagination.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js +128 -0
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.e2e.js.map +1 -0
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js +335 -0
- package/dist/collection/components/ic-pagination/test/basic/ic-pagination.spec.js.map +1 -0
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.css +581 -0
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +229 -0
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +1 -0
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.types.js +2 -0
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.types.js.map +1 -0
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +536 -0
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +433 -0
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -0
- package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js +13 -0
- package/dist/collection/components/ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js +30 -0
- package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.e2e.js.map +1 -0
- package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js +381 -0
- package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js.map +1 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.css +4 -4
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +104 -80
- package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.types.js +2 -0
- package/dist/collection/components/ic-radio-group/ic-radio-group.types.js.map +1 -0
- package/dist/collection/components/ic-radio-group/{ic-radio-group.test.a11y.js → test/a11y/ic-radio-group.test.a11y.js} +1 -1
- package/dist/collection/components/ic-radio-group/test/a11y/ic-radio-group.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js +343 -0
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.e2e.js.map +1 -0
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js +303 -0
- package/dist/collection/components/ic-radio-group/test/basic/ic-radio-group.spec.js.map +1 -0
- package/dist/collection/components/ic-radio-option/ic-radio-option.css +6 -6
- package/dist/collection/components/ic-radio-option/ic-radio-option.js +111 -96
- package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.css +6 -10
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +492 -299
- package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.types.js.map +1 -1
- package/dist/collection/components/ic-search-bar/{ic-search-bar.test.a11y.js → test/a11y/ic-search-bar.test.a11y.js} +1 -1
- package/dist/collection/components/ic-search-bar/test/a11y/ic-search-bar.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js +1099 -0
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.e2e.js.map +1 -0
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js +584 -0
- package/dist/collection/components/ic-search-bar/test/basic/ic-search-bar.spec.js.map +1 -0
- package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js +69 -0
- package/dist/collection/components/ic-section-container/test/basic/ic-section-container.spec.js.map +1 -0
- package/dist/collection/components/ic-select/ic-select.css +17 -17
- package/dist/collection/components/ic-select/ic-select.js +630 -369
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-select/{ic-select.test.a11y.js → test/a11y/ic-select.test.a11y.js} +1 -1
- package/dist/collection/components/ic-select/test/a11y/ic-select.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js +1768 -0
- package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js.map +1 -0
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +1296 -0
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -0
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.css +47 -44
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js +156 -127
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.js.map +1 -1
- package/dist/collection/components/ic-side-navigation/{ic-side-navigation.test.a11y.js → test/a11y/ic-side-navigation.test.a11y.js} +1 -1
- package/dist/collection/components/ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-side-navigation/{ic-side-navigation-test-examples.js → test/basic/ic-side-navigation-test-examples.js} +90 -0
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation-test-examples.js.map +1 -0
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js +412 -0
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.e2e.js.map +1 -0
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js +470 -0
- package/dist/collection/components/ic-side-navigation/test/basic/ic-side-navigation.spec.js.map +1 -0
- package/dist/collection/components/ic-skeleton/ic-skeleton.js +22 -22
- package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -1
- package/dist/collection/components/ic-skeleton/{ic-skeleton.test.a11y.js → test/a11y/ic-skeleton.test.a11y.js} +1 -1
- package/dist/collection/components/ic-skeleton/test/a11y/ic-skeleton.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js +89 -0
- package/dist/collection/components/ic-skeleton/test/basic/ic-skeleton.spec.js.map +1 -0
- package/dist/collection/components/ic-status-tag/ic-status-tag.css +10 -13
- package/dist/collection/components/ic-status-tag/ic-status-tag.js +40 -40
- package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
- package/dist/collection/components/ic-status-tag/{ic-status-tag.test.a11y.js → test/a11y/ic-status-tag.test.a11y.js} +1 -1
- package/dist/collection/components/ic-status-tag/test/a11y/ic-status-tag.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js +43 -0
- package/dist/collection/components/ic-status-tag/test/basic/ic-status-tag.spec.js.map +1 -0
- package/dist/collection/components/ic-step/ic-step.css +6 -6
- package/dist/collection/components/ic-step/ic-step.js +127 -127
- package/dist/collection/components/ic-step/ic-step.js.map +1 -1
- package/dist/collection/components/ic-step/test/basic/ic-step.spec.js +176 -0
- package/dist/collection/components/ic-step/test/basic/ic-step.spec.js.map +1 -0
- package/dist/collection/components/ic-stepper/ic-stepper.js +41 -41
- package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
- package/dist/collection/components/ic-stepper/{ic-stepper.test.a11y.js → test/a11y/ic-stepper.test.a11y.js} +1 -1
- package/dist/collection/components/ic-stepper/test/a11y/ic-stepper.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper-test-examples.js.map +1 -0
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js +49 -0
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.e2e.js.map +1 -0
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js +706 -0
- package/dist/collection/components/ic-stepper/test/basic/ic-stepper.spec.js.map +1 -0
- package/dist/collection/components/ic-switch/ic-switch.css +4 -4
- package/dist/collection/components/ic-switch/ic-switch.js +74 -73
- package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
- package/dist/collection/components/ic-switch/{ic-switch.test.a11y.js → test/a11y/ic-switch.test.a11y.js} +1 -1
- package/dist/collection/components/ic-switch/test/a11y/ic-switch.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js +104 -0
- package/dist/collection/components/ic-switch/test/basic/ic-switch.spec.js.map +1 -0
- package/dist/collection/components/ic-tab/ic-tab.css +4 -4
- package/dist/collection/components/ic-tab/ic-tab.js +114 -31
- package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
- package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js +32 -0
- package/dist/collection/components/ic-tab/test/basic/ic-tab.e2e.js.map +1 -0
- package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js +159 -0
- package/dist/collection/components/ic-tab/test/basic/ic-tab.spec.js.map +1 -0
- package/dist/collection/components/ic-tab-context/ic-tab-context.js +157 -77
- 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.map +1 -0
- package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js +317 -0
- package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.e2e.js.map +1 -0
- package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js +390 -0
- package/dist/collection/components/ic-tab-context/test/basic/ic-tab-context.spec.js.map +1 -0
- package/dist/collection/components/ic-tab-group/ic-tab-group.css +3 -3
- package/dist/collection/components/ic-tab-group/ic-tab-group.js +33 -29
- 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 +0 -4
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +89 -34
- 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 +65 -0
- package/dist/collection/components/ic-tab-panel/test/basic/ic-tab-panel.spec.js.map +1 -0
- package/dist/collection/components/ic-text-field/ic-text-field.css +1 -10
- package/dist/collection/components/ic-text-field/ic-text-field.js +456 -345
- 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.map +1 -0
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js +98 -0
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.e2e.js.map +1 -0
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js +236 -0
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.input.spec.js.map +1 -0
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js +310 -0
- package/dist/collection/components/ic-text-field/test/basic/ic-text-field.textarea.spec.js.map +1 -0
- package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
- package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js +72 -0
- package/dist/collection/components/ic-theme/test/basic/ic-theme.e2e.js.map +1 -0
- package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js +77 -0
- package/dist/collection/components/ic-theme/test/basic/ic-theme.spec.js.map +1 -0
- package/dist/collection/components/ic-toast/ic-toast.css +5 -0
- package/dist/collection/components/ic-toast/ic-toast.js +111 -107
- package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
- package/dist/collection/components/ic-toast/{ic-toast.test.a11y.js → test/a11y/ic-toast.test.a11y.js} +1 -1
- package/dist/collection/components/ic-toast/test/a11y/ic-toast.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js +82 -0
- package/dist/collection/components/ic-toast/test/basic/ic-toast.e2e.js.map +1 -0
- package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js +278 -0
- package/dist/collection/components/ic-toast/test/basic/ic-toast.spec.js.map +1 -0
- package/dist/collection/components/ic-toast-region/ic-toast-region.js +12 -12
- 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 +62 -0
- package/dist/collection/components/ic-toast-region/test/basic/ic-toast-region.spec.js.map +1 -0
- package/dist/collection/components/ic-tooltip/ic-tooltip.css +22 -8
- package/dist/collection/components/ic-tooltip/ic-tooltip.js +116 -64
- package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
- package/dist/collection/components/ic-tooltip/{ic-tooltip.test.a11y.js → test/a11y/ic-tooltip.test.a11y.js} +1 -1
- package/dist/collection/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js +115 -0
- package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js.map +1 -0
- package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js +128 -0
- package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js.map +1 -0
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.css +21 -15
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +105 -83
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/{ic-top-navigation.test.a11y.js → test/a11y/ic-top-navigation.test.a11y.js} +8 -1
- package/dist/collection/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js +61 -0
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.e2e.js.map +1 -0
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js +242 -0
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.mobile.e2e.js.map +1 -0
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js +299 -0
- package/dist/collection/components/ic-top-navigation/test/basic/ic-top-navigation.spec.js.map +1 -0
- package/dist/collection/components/ic-typography/ic-typography.css +58 -1
- package/dist/collection/components/ic-typography/ic-typography.js +140 -22
- package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
- package/dist/collection/components/ic-typography/{ic-typography.test.a11y.js → test/a11y/ic-typography.test.a11y.js} +1 -1
- package/dist/collection/components/ic-typography/test/a11y/ic-typography.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js +39 -0
- package/dist/collection/components/ic-typography/test/basic/ic-typography.e2e.js.map +1 -0
- package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js +296 -0
- package/dist/collection/components/ic-typography/test/basic/ic-typography.spec.js.map +1 -0
- package/dist/collection/testspec.setup.js +21 -0
- package/dist/collection/testspec.setup.js.map +1 -1
- package/dist/collection/utils/helpers.js +24 -25
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/OpenInNew.js +5 -0
- package/dist/components/OpenInNew.js.map +1 -0
- package/dist/components/helpers.js +25 -26
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/ic-alert.js +1 -113
- package/dist/components/ic-alert.js.map +1 -1
- package/dist/components/ic-alert2.js +117 -0
- package/dist/components/ic-alert2.js.map +1 -0
- package/dist/components/ic-back-to-top.js +7 -7
- package/dist/components/ic-back-to-top.js.map +1 -1
- package/dist/components/ic-breadcrumb-group.js +39 -33
- package/dist/components/ic-breadcrumb-group.js.map +1 -1
- package/dist/components/ic-breadcrumb2.js +13 -12
- package/dist/components/ic-breadcrumb2.js.map +1 -1
- package/dist/components/ic-button2.js +99 -44
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card.js +54 -53
- package/dist/components/ic-card.js.map +1 -1
- package/dist/components/ic-checkbox-group.js +28 -28
- package/dist/components/ic-checkbox-group.js.map +1 -1
- package/dist/components/ic-checkbox.js +47 -34
- package/dist/components/ic-checkbox.js.map +1 -1
- package/dist/components/ic-chip.js +22 -19
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-classification-banner.js +1 -1
- package/dist/components/ic-data-entity.js +2 -2
- package/dist/components/ic-data-entity.js.map +1 -1
- package/dist/components/ic-data-row.js +39 -25
- package/dist/components/ic-data-row.js.map +1 -1
- package/dist/components/ic-dialog.d.ts +11 -0
- package/dist/components/ic-dialog.js +356 -0
- package/dist/components/ic-dialog.js.map +1 -0
- package/dist/components/ic-divider2.js +3 -3
- package/dist/components/ic-divider2.js.map +1 -1
- package/dist/components/ic-footer-link-group.js +20 -20
- package/dist/components/ic-footer-link-group.js.map +1 -1
- package/dist/components/ic-footer-link.js +29 -18
- package/dist/components/ic-footer-link.js.map +1 -1
- package/dist/components/ic-footer.js +25 -23
- package/dist/components/ic-footer.js.map +1 -1
- package/dist/components/ic-hero.js +30 -28
- package/dist/components/ic-hero.js.map +1 -1
- package/dist/components/ic-horizontal-scroll2.js +46 -27
- package/dist/components/ic-horizontal-scroll2.js.map +1 -1
- package/dist/components/ic-input-component-container2.js +11 -11
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-input-container2.js +1 -1
- package/dist/components/ic-input-label2.js +11 -11
- package/dist/components/ic-input-label2.js.map +1 -1
- package/dist/components/ic-input-validation2.js +9 -9
- package/dist/components/ic-input-validation2.js.map +1 -1
- package/dist/components/ic-link2.js +24 -25
- package/dist/components/ic-link2.js.map +1 -1
- package/dist/components/ic-loading-indicator2.js +34 -26
- package/dist/components/ic-loading-indicator2.js.map +1 -1
- package/dist/components/ic-menu-group.d.ts +11 -0
- package/dist/components/ic-menu-group.js +46 -0
- package/dist/components/ic-menu-group.js.map +1 -0
- package/dist/components/ic-menu-item.d.ts +11 -0
- package/dist/components/ic-menu-item.js +8 -0
- package/dist/components/ic-menu-item.js.map +1 -0
- package/dist/components/ic-menu-item2.js +169 -0
- package/dist/components/ic-menu-item2.js.map +1 -0
- package/dist/components/ic-menu2.js +326 -169
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-button.js +23 -23
- package/dist/components/ic-navigation-button.js.map +1 -1
- package/dist/components/ic-navigation-group.js +89 -60
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js +60 -48
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-navigation-menu2.js +30 -36
- package/dist/components/ic-navigation-menu2.js.map +1 -1
- package/dist/components/ic-page-header.js +30 -33
- package/dist/components/ic-page-header.js.map +1 -1
- package/dist/components/ic-pagination-item.d.ts +11 -0
- package/dist/components/ic-pagination-item.js +8 -0
- package/dist/components/ic-pagination-item.js.map +1 -0
- package/dist/components/ic-pagination-item2.js +81 -0
- package/dist/components/ic-pagination-item2.js.map +1 -0
- package/dist/components/ic-pagination.d.ts +11 -0
- package/dist/components/ic-pagination.js +288 -0
- package/dist/components/ic-pagination.js.map +1 -0
- package/dist/components/ic-popover-menu.d.ts +11 -0
- package/dist/components/ic-popover-menu.js +290 -0
- package/dist/components/ic-popover-menu.js.map +1 -0
- package/dist/components/ic-radio-group.js +48 -30
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +44 -43
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +202 -122
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-section-container2.js +1 -1
- package/dist/components/ic-select.js +379 -212
- package/dist/components/ic-select.js.map +1 -1
- package/dist/components/ic-side-navigation.js +123 -94
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-skeleton.js +6 -6
- package/dist/components/ic-skeleton.js.map +1 -1
- package/dist/components/ic-status-tag.js +9 -9
- package/dist/components/ic-status-tag.js.map +1 -1
- package/dist/components/ic-step.js +18 -18
- package/dist/components/ic-step.js.map +1 -1
- package/dist/components/ic-stepper.js +21 -21
- package/dist/components/ic-stepper.js.map +1 -1
- package/dist/components/ic-switch.js +24 -23
- package/dist/components/ic-switch.js.map +1 -1
- package/dist/components/ic-tab-context.js +73 -36
- package/dist/components/ic-tab-context.js.map +1 -1
- package/dist/components/ic-tab-group.js +7 -6
- package/dist/components/ic-tab-group.js.map +1 -1
- package/dist/components/ic-tab-panel.js +18 -7
- package/dist/components/ic-tab-panel.js.map +1 -1
- package/dist/components/ic-tab.js +33 -8
- package/dist/components/ic-tab.js.map +1 -1
- package/dist/components/ic-text-field2.js +132 -97
- package/dist/components/ic-text-field2.js.map +1 -1
- package/dist/components/ic-theme.js +2 -2
- package/dist/components/ic-theme.js.map +1 -1
- package/dist/components/ic-toast-region.js +13 -13
- package/dist/components/ic-toast-region.js.map +1 -1
- package/dist/components/ic-toast.js +65 -61
- package/dist/components/ic-toast.js.map +1 -1
- package/dist/components/ic-tooltip2.js +1854 -49
- package/dist/components/ic-tooltip2.js.map +1 -1
- package/dist/components/ic-top-navigation.js +59 -54
- package/dist/components/ic-top-navigation.js.map +1 -1
- package/dist/components/ic-typography2.js +101 -6
- package/dist/components/ic-typography2.js.map +1 -1
- package/dist/components/index.d.ts +9 -55
- package/dist/components/index.js +1 -53
- package/dist/components/index.js.map +1 -1
- package/dist/components/types.js.map +1 -1
- package/dist/core/core.css +47 -3
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/index.esm.js.map +1 -1
- package/dist/core/p-0330cb21.entry.js +2 -0
- package/dist/core/p-0330cb21.entry.js.map +1 -0
- package/dist/core/p-03d1a4a1.entry.js +2 -0
- package/dist/core/p-03d1a4a1.entry.js.map +1 -0
- package/dist/core/p-041604fc.entry.js +2 -0
- package/dist/core/p-041604fc.entry.js.map +1 -0
- package/dist/core/{p-24240e11.js → p-06321d19.js} +2 -2
- package/dist/core/p-06321d19.js.map +1 -0
- package/dist/core/p-1959ec8d.entry.js +2 -0
- package/dist/core/p-1959ec8d.entry.js.map +1 -0
- package/dist/core/p-1b9b8355.entry.js +2 -0
- package/dist/core/p-1b9b8355.entry.js.map +1 -0
- package/dist/core/p-26d5fd0f.entry.js +2 -0
- package/dist/core/p-26d5fd0f.entry.js.map +1 -0
- package/dist/core/p-27d42378.entry.js +2 -0
- package/dist/core/p-27d42378.entry.js.map +1 -0
- package/dist/core/p-2ae7687a.entry.js +2 -0
- package/dist/core/p-2ae7687a.entry.js.map +1 -0
- package/dist/core/p-332690f0.entry.js +2 -0
- package/dist/core/p-332690f0.entry.js.map +1 -0
- package/dist/core/p-39adc795.entry.js +2 -0
- package/dist/core/p-39adc795.entry.js.map +1 -0
- package/dist/core/{p-ad2477d8.entry.js → p-3adb1167.entry.js} +2 -2
- package/dist/core/p-3adb1167.entry.js.map +1 -0
- package/dist/core/p-429e4d24.entry.js +2 -0
- package/dist/core/p-429e4d24.entry.js.map +1 -0
- package/dist/core/{p-8ffa00c9.entry.js → p-441e7d98.entry.js} +2 -2
- package/dist/core/p-441e7d98.entry.js.map +1 -0
- package/dist/core/p-44512ebe.js.map +1 -1
- package/dist/core/p-48301eff.entry.js +2 -0
- package/dist/core/p-48301eff.entry.js.map +1 -0
- package/dist/core/p-5144e840.entry.js +2 -0
- package/dist/core/p-5144e840.entry.js.map +1 -0
- package/dist/core/p-5c846d0a.entry.js +2 -0
- package/dist/core/p-5c846d0a.entry.js.map +1 -0
- package/dist/core/p-5c9c940f.entry.js +2 -0
- package/dist/core/p-5c9c940f.entry.js.map +1 -0
- package/dist/core/p-5dd0b02e.js +2 -0
- package/dist/core/p-5dd0b02e.js.map +1 -0
- package/dist/core/{p-35a03442.entry.js → p-65750560.entry.js} +2 -2
- package/dist/core/p-65750560.entry.js.map +1 -0
- package/dist/core/p-6840589f.entry.js +2 -0
- package/dist/core/p-6840589f.entry.js.map +1 -0
- package/dist/core/p-69920d86.js +3 -0
- package/dist/core/p-69920d86.js.map +1 -0
- package/dist/core/p-6bad30aa.entry.js +2 -0
- package/dist/core/p-6bad30aa.entry.js.map +1 -0
- package/dist/core/p-6f57b13c.js.map +1 -1
- package/dist/core/p-7536dd31.entry.js +2 -0
- package/dist/core/p-7536dd31.entry.js.map +1 -0
- package/dist/core/p-7ae091ef.entry.js +2 -0
- package/dist/core/p-7ae091ef.entry.js.map +1 -0
- package/dist/core/p-7c0dcd00.js +2 -0
- package/dist/core/p-7c0dcd00.js.map +1 -0
- package/dist/core/p-7c46caf2.entry.js +2 -0
- package/dist/core/p-7c46caf2.entry.js.map +1 -0
- package/dist/core/{p-ba8d6c23.entry.js → p-83d5bcae.entry.js} +2 -2
- package/dist/core/p-83d5bcae.entry.js.map +1 -0
- package/dist/core/p-892d9d9f.entry.js +2 -0
- package/dist/core/p-892d9d9f.entry.js.map +1 -0
- package/dist/core/p-8991f656.entry.js +2 -0
- package/dist/core/p-8991f656.entry.js.map +1 -0
- package/dist/core/p-8c45ab61.entry.js +2 -0
- package/dist/core/p-8c45ab61.entry.js.map +1 -0
- package/dist/core/p-8c7f4343.js.map +1 -1
- package/dist/core/p-8ca80000.entry.js +2 -0
- package/dist/core/p-8ca80000.entry.js.map +1 -0
- package/dist/core/p-8d4f7027.js +2 -0
- package/dist/core/p-8d4f7027.js.map +1 -0
- package/dist/core/p-90d3a41b.entry.js +2 -0
- package/dist/core/p-90d3a41b.entry.js.map +1 -0
- package/dist/core/p-95992c98.entry.js +2 -0
- package/dist/core/p-95992c98.entry.js.map +1 -0
- package/dist/core/{p-41e239cb.entry.js → p-96b71172.entry.js} +2 -2
- package/dist/core/p-96b71172.entry.js.map +1 -0
- package/dist/core/{p-d2508752.entry.js → p-96bcd466.entry.js} +2 -2
- package/dist/core/p-96bcd466.entry.js.map +1 -0
- package/dist/core/p-9e551fe9.entry.js +2 -0
- package/dist/core/p-9e551fe9.entry.js.map +1 -0
- package/dist/core/{p-7fd50355.entry.js → p-a29fe0c6.entry.js} +2 -2
- package/dist/core/p-a29fe0c6.entry.js.map +1 -0
- package/dist/core/{p-c4a7c734.entry.js → p-a588886f.entry.js} +2 -2
- package/dist/core/p-a588886f.entry.js.map +1 -0
- package/dist/core/{p-284970bc.entry.js → p-a8b94619.entry.js} +2 -2
- package/dist/core/p-a8b94619.entry.js.map +1 -0
- package/dist/core/p-adceb0cf.entry.js +2 -0
- package/dist/core/p-adceb0cf.entry.js.map +1 -0
- package/dist/core/p-b698b8ad.entry.js +2 -0
- package/dist/core/p-b698b8ad.entry.js.map +1 -0
- package/dist/core/p-b6c538ea.entry.js +2 -0
- package/dist/core/p-b6c538ea.entry.js.map +1 -0
- package/dist/core/p-c012b867.entry.js +2 -0
- package/dist/core/p-c012b867.entry.js.map +1 -0
- package/dist/core/p-c5716cbc.entry.js +2 -0
- package/dist/core/p-c5716cbc.entry.js.map +1 -0
- package/dist/core/p-ca6d834e.entry.js +2 -0
- package/dist/core/p-ca6d834e.entry.js.map +1 -0
- package/dist/core/{p-7a9bc7f2.entry.js → p-cbbf4b05.entry.js} +2 -2
- package/dist/core/p-cbbf4b05.entry.js.map +1 -0
- package/dist/core/p-ce791694.entry.js +2 -0
- package/dist/core/p-ce791694.entry.js.map +1 -0
- package/dist/core/p-cef93d12.entry.js +2 -0
- package/dist/core/p-cef93d12.entry.js.map +1 -0
- package/dist/core/p-d2215b72.entry.js +2 -0
- package/dist/core/p-d2215b72.entry.js.map +1 -0
- package/dist/core/p-e0ee714a.entry.js +2 -0
- package/dist/core/p-e0ee714a.entry.js.map +1 -0
- package/dist/core/p-e6370b7e.entry.js +2 -0
- package/dist/core/p-e6370b7e.entry.js.map +1 -0
- package/dist/core/p-ee11e185.entry.js +2 -0
- package/dist/core/p-ee11e185.entry.js.map +1 -0
- package/dist/core/p-f24814b8.entry.js +2 -0
- package/dist/core/p-f24814b8.entry.js.map +1 -0
- package/dist/core/p-f665242d.entry.js +2 -0
- package/dist/core/p-f665242d.entry.js.map +1 -0
- package/dist/core/p-f7695299.entry.js +2 -0
- package/dist/core/p-f7695299.entry.js.map +1 -0
- package/dist/core/p-f923d11b.entry.js +2 -0
- package/dist/core/p-f923d11b.entry.js.map +1 -0
- package/dist/esm/OpenInNew-67a881e0.js +5 -0
- package/dist/esm/OpenInNew-67a881e0.js.map +1 -0
- package/dist/esm/chevron-icon-7927f709.js +8 -0
- package/dist/esm/chevron-icon-7927f709.js.map +1 -0
- package/dist/esm/core.js +7 -3
- package/dist/esm/core.js.map +1 -1
- package/dist/esm/{helpers-c332acf8.js → helpers-85903813.js} +26 -27
- package/dist/esm/helpers-85903813.js.map +1 -0
- package/dist/esm/ic-alert.entry.js +11 -11
- package/dist/esm/ic-alert.entry.js.map +1 -1
- package/dist/esm/ic-back-to-top.entry.js +5 -5
- package/dist/esm/ic-back-to-top.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb-group.entry.js +39 -33
- package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +14 -13
- package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ic-button_3.entry.js +163 -93
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card.entry.js +46 -45
- package/dist/esm/ic-card.entry.js.map +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +24 -23
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ic-checkbox.entry.js +41 -29
- package/dist/esm/ic-checkbox.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +18 -15
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-classification-banner.entry.js +1 -1
- package/dist/esm/ic-data-entity.entry.js +2 -2
- package/dist/esm/ic-data-entity.entry.js.map +1 -1
- package/dist/esm/ic-data-row.entry.js +38 -24
- package/dist/esm/ic-data-row.entry.js.map +1 -1
- package/dist/esm/ic-dialog.entry.js +291 -0
- package/dist/esm/ic-dialog.entry.js.map +1 -0
- package/dist/esm/ic-divider.entry.js +3 -3
- package/dist/esm/ic-divider.entry.js.map +1 -1
- package/dist/esm/ic-footer-link-group.entry.js +18 -18
- package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
- package/dist/esm/ic-footer-link.entry.js +23 -17
- package/dist/esm/ic-footer-link.entry.js.map +1 -1
- package/dist/esm/ic-footer.entry.js +23 -21
- package/dist/esm/ic-footer.entry.js.map +1 -1
- package/dist/esm/ic-hero.entry.js +23 -21
- package/dist/esm/ic-hero.entry.js.map +1 -1
- package/dist/esm/ic-horizontal-scroll.entry.js +45 -26
- package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
- package/dist/esm/ic-input-component-container_3.entry.js +299 -159
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +11 -11
- package/dist/esm/ic-input-label_2.entry.js.map +1 -1
- package/dist/esm/ic-link.entry.js +22 -23
- package/dist/esm/ic-link.entry.js.map +1 -1
- package/dist/esm/ic-menu-group.entry.js +20 -0
- package/dist/esm/ic-menu-group.entry.js.map +1 -0
- package/dist/esm/ic-menu-item.entry.js +118 -0
- package/dist/esm/ic-menu-item.entry.js.map +1 -0
- package/dist/esm/ic-navigation-button.entry.js +18 -18
- package/dist/esm/ic-navigation-button.entry.js.map +1 -1
- package/dist/esm/ic-navigation-group.entry.js +87 -58
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +49 -42
- package/dist/esm/ic-navigation-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +28 -34
- package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
- package/dist/esm/ic-page-header.entry.js +24 -27
- package/dist/esm/ic-page-header.entry.js.map +1 -1
- package/dist/esm/ic-pagination-item.entry.js +52 -0
- package/dist/esm/ic-pagination-item.entry.js.map +1 -0
- package/dist/esm/ic-pagination.entry.js +223 -0
- package/dist/esm/ic-pagination.entry.js.map +1 -0
- package/dist/esm/ic-popover-menu.entry.js +233 -0
- package/dist/esm/ic-popover-menu.entry.js.map +1 -0
- package/dist/esm/ic-radio-group.entry.js +43 -25
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +39 -38
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +178 -102
- package/dist/esm/ic-search-bar.entry.js.map +1 -1
- package/dist/esm/ic-section-container.entry.js +1 -1
- package/dist/esm/ic-select.entry.js +349 -190
- package/dist/esm/ic-select.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +116 -87
- package/dist/esm/ic-side-navigation.entry.js.map +1 -1
- package/dist/esm/ic-skeleton.entry.js +4 -4
- package/dist/esm/ic-skeleton.entry.js.map +1 -1
- package/dist/esm/ic-status-tag.entry.js +6 -6
- package/dist/esm/ic-status-tag.entry.js.map +1 -1
- package/dist/esm/ic-step.entry.js +10 -10
- package/dist/esm/ic-step.entry.js.map +1 -1
- package/dist/esm/ic-stepper.entry.js +15 -15
- package/dist/esm/ic-stepper.entry.js.map +1 -1
- package/dist/esm/ic-switch.entry.js +20 -19
- package/dist/esm/ic-switch.entry.js.map +1 -1
- package/dist/esm/ic-tab-context.entry.js +68 -32
- package/dist/esm/ic-tab-context.entry.js.map +1 -1
- package/dist/esm/ic-tab-group.entry.js +5 -4
- package/dist/esm/ic-tab-group.entry.js.map +1 -1
- package/dist/esm/ic-tab-panel.entry.js +15 -4
- package/dist/esm/ic-tab-panel.entry.js.map +1 -1
- package/dist/esm/ic-tab.entry.js +32 -7
- package/dist/esm/ic-tab.entry.js.map +1 -1
- package/dist/esm/ic-text-field.entry.js +102 -72
- package/dist/esm/ic-text-field.entry.js.map +1 -1
- package/dist/esm/ic-theme.entry.js +2 -2
- package/dist/esm/ic-theme.entry.js.map +1 -1
- package/dist/esm/ic-toast-region.entry.js +13 -13
- package/dist/esm/ic-toast-region.entry.js.map +1 -1
- package/dist/esm/ic-toast.entry.js +60 -56
- package/dist/esm/ic-toast.entry.js.map +1 -1
- package/dist/esm/ic-top-navigation.entry.js +49 -45
- package/dist/esm/ic-top-navigation.entry.js.map +1 -1
- package/dist/esm/ic-typography.entry.js +97 -5
- package/dist/esm/ic-typography.entry.js.map +1 -1
- package/dist/esm/{index-90721b3c.js → index-fd30b77e.js} +255 -44
- package/dist/esm/index-fd30b77e.js.map +1 -0
- package/dist/esm/loader.js +4 -3
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/{components/popper.js → esm/popper-15e448b4.js} +10 -17
- package/dist/esm/popper-15e448b4.js.map +1 -0
- package/dist/esm/types-dd515332.js.map +1 -1
- package/dist/types/components/ic-alert/ic-alert.d.ts +12 -12
- package/dist/types/components/ic-back-to-top/ic-back-to-top.d.ts +8 -8
- package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +6 -6
- package/dist/types/components/ic-breadcrumb/ic-breadcrumb.types.d.ts +1 -1
- package/dist/types/components/ic-breadcrumb-group/ic-breadcrumb-group.d.ts +16 -9
- package/dist/types/components/ic-button/ic-button.d.ts +62 -32
- package/dist/types/components/ic-button/ic-button.types.d.ts +4 -4
- package/dist/types/components/ic-card/ic-card.d.ts +32 -32
- package/dist/types/components/ic-checkbox/ic-checkbox.d.ts +29 -23
- package/dist/types/components/ic-checkbox-group/ic-checkbox-group.d.ts +14 -15
- package/dist/types/components/ic-checkbox-group/ic-checkbox-group.types.d.ts +5 -0
- package/dist/types/components/ic-chip/ic-chip.d.ts +16 -15
- package/dist/types/components/ic-chip/ic-chip.types.d.ts +2 -2
- package/dist/types/components/ic-classification-banner/ic-classification-banner.types.d.ts +1 -1
- package/dist/types/components/ic-data-row/ic-data-row.d.ts +17 -11
- package/dist/types/components/ic-dialog/ic-dialog.d.ts +123 -0
- package/dist/types/components/ic-footer/ic-footer.d.ts +20 -20
- package/dist/types/components/ic-footer/ic-footer.types.d.ts +1 -1
- package/dist/types/components/ic-footer-link/ic-footer-link.d.ts +26 -6
- package/dist/types/components/ic-footer-link-group/ic-footer-link-group.d.ts +8 -8
- package/dist/types/components/ic-hero/ic-hero.d.ts +24 -24
- package/dist/types/components/ic-hero/ic-hero.types.d.ts +1 -1
- package/dist/types/components/ic-horizontal-scroll/ic-horizontal-scroll.d.ts +15 -14
- package/dist/types/components/ic-input-component-container/ic-input-component-container.d.ts +15 -15
- package/dist/types/components/ic-input-label/ic-input-label.d.ts +14 -14
- package/dist/types/components/ic-input-validation/ic-input-validation.d.ts +8 -8
- package/dist/types/components/ic-input-validation/ic-input-validation.types.d.ts +1 -1
- package/dist/types/components/ic-link/ic-link.d.ts +9 -9
- package/dist/types/components/ic-loading-indicator/ic-loading-indicator.d.ts +38 -36
- package/dist/types/components/ic-loading-indicator/ic-loading-indicator.types.d.ts +2 -2
- package/dist/types/components/ic-menu/ic-menu.d.ts +89 -50
- package/dist/types/components/ic-menu-group/ic-menu-group.d.ts +8 -0
- package/dist/types/components/ic-menu-item/ic-menu-item.d.ts +74 -0
- package/dist/types/components/ic-menu-item/ic-menu-item.types.d.ts +1 -0
- package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +21 -21
- package/dist/types/components/ic-navigation-button/ic-navigation-button.types.d.ts +1 -1
- package/dist/types/components/ic-navigation-group/ic-navigation-group.d.ts +21 -18
- package/dist/types/components/ic-navigation-item/ic-navigation-item.d.ts +47 -27
- package/dist/types/components/ic-navigation-menu/ic-navigation-menu.d.ts +14 -14
- package/dist/types/components/ic-page-header/ic-page-header.d.ts +19 -19
- package/dist/types/components/ic-pagination/ic-pagination.d.ts +82 -0
- package/dist/types/components/ic-pagination/ic-pagination.types.d.ts +4 -0
- package/dist/types/components/ic-pagination-item/ic-pagination-item.d.ts +47 -0
- package/dist/types/components/ic-pagination-item/ic-pagination-item.types.d.ts +1 -0
- package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +59 -0
- package/dist/types/components/ic-radio-group/ic-radio-group.d.ts +22 -23
- package/dist/types/components/ic-radio-group/ic-radio-group.types.d.ts +7 -0
- package/dist/types/components/ic-radio-option/ic-radio-option.d.ts +32 -29
- package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +120 -87
- package/dist/types/components/ic-search-bar/ic-search-bar.types.d.ts +2 -1
- package/dist/types/components/ic-select/ic-select.d.ts +116 -78
- package/dist/types/components/ic-side-navigation/ic-side-navigation.d.ts +30 -24
- package/dist/types/components/ic-side-navigation/{ic-side-navigation-test-examples.d.ts → test/basic/ic-side-navigation-test-examples.d.ts} +1 -0
- package/dist/types/components/ic-skeleton/ic-skeleton.d.ts +8 -8
- package/dist/types/components/ic-skeleton/ic-skeleton.types.d.ts +1 -1
- package/dist/types/components/ic-status-tag/ic-status-tag.d.ts +8 -8
- package/dist/types/components/ic-status-tag/ic-status-tag.types.d.ts +2 -2
- package/dist/types/components/ic-step/ic-step.d.ts +24 -24
- package/dist/types/components/ic-step/ic-step.types.d.ts +3 -3
- package/dist/types/components/ic-stepper/ic-stepper.d.ts +17 -17
- package/dist/types/components/ic-stepper/ic-stepper.types.d.ts +1 -1
- package/dist/types/components/ic-switch/ic-switch.d.ts +23 -23
- package/dist/types/components/ic-tab/ic-tab.d.ts +25 -8
- package/dist/types/components/ic-tab-context/ic-tab-context.d.ts +29 -20
- package/dist/types/components/ic-tab-group/ic-tab-group.d.ts +6 -5
- package/dist/types/components/ic-tab-panel/ic-tab-panel.d.ts +27 -7
- package/dist/types/components/ic-text-field/ic-text-field.d.ts +110 -91
- package/dist/types/components/ic-text-field/ic-text-field.types.d.ts +3 -3
- package/dist/types/components/ic-theme/ic-theme.d.ts +1 -1
- package/dist/types/components/ic-toast/ic-toast.d.ts +26 -26
- package/dist/types/components/ic-toast/ic-toast.types.d.ts +1 -1
- package/dist/types/components/ic-toast-region/ic-toast-region.d.ts +3 -3
- package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +22 -15
- package/dist/types/components/ic-tooltip/ic-tooltip.types.d.ts +1 -1
- package/dist/types/components/ic-tooltip/test/a11y/ic-tooltip.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-top-navigation/ic-top-navigation.d.ts +36 -32
- package/dist/types/components/ic-top-navigation/test/a11y/ic-top-navigation.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-typography/ic-typography.d.ts +31 -4
- package/dist/types/components/ic-typography/test/a11y/ic-typography.test.a11y.d.ts +1 -0
- package/dist/types/components.d.ts +826 -29
- package/dist/types/stencil-public-runtime.d.ts +74 -15
- package/dist/types/testspec.setup.d.ts +11 -0
- package/dist/types/utils/helpers.d.ts +1 -0
- package/dist/types/utils/types.d.ts +25 -22
- package/hydrate/index.d.ts +17 -16
- package/hydrate/index.js +3822 -1955
- package/loader/index.d.ts +9 -0
- package/package.json +7 -5
- package/dist/cjs/chevron-icon-2645d6b0.js +0 -10
- package/dist/cjs/chevron-icon-2645d6b0.js.map +0 -1
- package/dist/cjs/helpers-6eb26e7a.js.map +0 -1
- package/dist/cjs/index-f79a4e53.js.map +0 -1
- package/dist/cjs/popper-11d5f714.js.map +0 -1
- package/dist/collection/components/ic-alert/ic-alert.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-back-to-top/ic-back-to-top.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group-test-examples.js.map +0 -1
- package/dist/collection/components/ic-breadcrumb-group/ic-breadcrumb-group.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-button/ic-button.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-card/ic-card.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-chip/ic-chip.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-data-entity/ic-data-entity.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-data-row/ic-data-row.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-footer/ic-footer.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-footer-link/ic-footer-link.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-footer-link-group/ic-footer-link-group.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-hero/ic-hero.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-link/ic-link.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-page-header/ic-page-header.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-select/ic-select.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation-test-examples.js.map +0 -1
- package/dist/collection/components/ic-side-navigation/ic-side-navigation.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-skeleton/ic-skeleton.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-status-tag/ic-status-tag.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-stepper/ic-stepper-test-examples.js.map +0 -1
- package/dist/collection/components/ic-stepper/ic-stepper.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-switch/ic-switch.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-tab-context/ic-tab-context.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-text-field/ic-text-field.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-toast/ic-toast.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-tooltip/ic-tooltip.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.test.a11y.js.map +0 -1
- package/dist/collection/components/ic-typography/ic-typography.test.a11y.js.map +0 -1
- package/dist/components/popper.js.map +0 -1
- package/dist/core/p-1724000c.js +0 -2
- package/dist/core/p-1724000c.js.map +0 -1
- package/dist/core/p-17f91c94.entry.js +0 -2
- package/dist/core/p-17f91c94.entry.js.map +0 -1
- package/dist/core/p-18ae4b6d.entry.js +0 -2
- package/dist/core/p-18ae4b6d.entry.js.map +0 -1
- package/dist/core/p-18bf3cb0.entry.js +0 -2
- package/dist/core/p-18bf3cb0.entry.js.map +0 -1
- package/dist/core/p-24240e11.js.map +0 -1
- package/dist/core/p-2642f880.entry.js +0 -2
- package/dist/core/p-2642f880.entry.js.map +0 -1
- package/dist/core/p-284970bc.entry.js.map +0 -1
- package/dist/core/p-31a595c1.entry.js +0 -2
- package/dist/core/p-31a595c1.entry.js.map +0 -1
- package/dist/core/p-35a03442.entry.js.map +0 -1
- package/dist/core/p-360adc51.entry.js +0 -2
- package/dist/core/p-360adc51.entry.js.map +0 -1
- package/dist/core/p-3dda76db.entry.js +0 -2
- package/dist/core/p-3dda76db.entry.js.map +0 -1
- package/dist/core/p-41e239cb.entry.js.map +0 -1
- package/dist/core/p-44c9612c.entry.js +0 -2
- package/dist/core/p-44c9612c.entry.js.map +0 -1
- package/dist/core/p-521be4e2.entry.js +0 -2
- package/dist/core/p-521be4e2.entry.js.map +0 -1
- package/dist/core/p-5450cebf.js +0 -3
- package/dist/core/p-5450cebf.js.map +0 -1
- package/dist/core/p-55512a85.entry.js +0 -2
- package/dist/core/p-55512a85.entry.js.map +0 -1
- package/dist/core/p-560c06af.entry.js +0 -2
- package/dist/core/p-560c06af.entry.js.map +0 -1
- package/dist/core/p-57f2c81c.entry.js +0 -2
- package/dist/core/p-57f2c81c.entry.js.map +0 -1
- package/dist/core/p-5b083ce5.entry.js +0 -2
- package/dist/core/p-5b083ce5.entry.js.map +0 -1
- package/dist/core/p-62b3516e.entry.js +0 -2
- package/dist/core/p-62b3516e.entry.js.map +0 -1
- package/dist/core/p-691ea0f2.entry.js +0 -2
- package/dist/core/p-691ea0f2.entry.js.map +0 -1
- package/dist/core/p-7818d958.entry.js +0 -2
- package/dist/core/p-7818d958.entry.js.map +0 -1
- package/dist/core/p-7a0bf893.entry.js +0 -2
- package/dist/core/p-7a0bf893.entry.js.map +0 -1
- package/dist/core/p-7a9bc7f2.entry.js.map +0 -1
- package/dist/core/p-7fd50355.entry.js.map +0 -1
- package/dist/core/p-897e967a.entry.js +0 -2
- package/dist/core/p-897e967a.entry.js.map +0 -1
- package/dist/core/p-8f1176c6.entry.js +0 -2
- package/dist/core/p-8f1176c6.entry.js.map +0 -1
- package/dist/core/p-8ffa00c9.entry.js.map +0 -1
- package/dist/core/p-91a8db51.entry.js +0 -2
- package/dist/core/p-91a8db51.entry.js.map +0 -1
- package/dist/core/p-a09d853e.entry.js +0 -2
- package/dist/core/p-a09d853e.entry.js.map +0 -1
- package/dist/core/p-a667e329.entry.js +0 -2
- package/dist/core/p-a667e329.entry.js.map +0 -1
- package/dist/core/p-ad2477d8.entry.js.map +0 -1
- package/dist/core/p-b35ae170.entry.js +0 -2
- package/dist/core/p-b35ae170.entry.js.map +0 -1
- package/dist/core/p-b40bd77c.entry.js +0 -2
- package/dist/core/p-b40bd77c.entry.js.map +0 -1
- package/dist/core/p-b4234318.entry.js +0 -2
- package/dist/core/p-b4234318.entry.js.map +0 -1
- package/dist/core/p-ba8d6c23.entry.js.map +0 -1
- package/dist/core/p-bd819f68.entry.js +0 -2
- package/dist/core/p-bd819f68.entry.js.map +0 -1
- package/dist/core/p-c4a7c734.entry.js.map +0 -1
- package/dist/core/p-c72e4b75.entry.js +0 -2
- package/dist/core/p-c72e4b75.entry.js.map +0 -1
- package/dist/core/p-c7b86643.entry.js +0 -2
- package/dist/core/p-c7b86643.entry.js.map +0 -1
- package/dist/core/p-c8f07be6.entry.js +0 -2
- package/dist/core/p-c8f07be6.entry.js.map +0 -1
- package/dist/core/p-c9068822.entry.js +0 -2
- package/dist/core/p-c9068822.entry.js.map +0 -1
- package/dist/core/p-cccbf2bf.entry.js +0 -2
- package/dist/core/p-cccbf2bf.entry.js.map +0 -1
- package/dist/core/p-d2508752.entry.js.map +0 -1
- package/dist/core/p-d7bbace4.entry.js +0 -2
- package/dist/core/p-d7bbace4.entry.js.map +0 -1
- package/dist/core/p-d86b0d0e.entry.js +0 -2
- package/dist/core/p-d86b0d0e.entry.js.map +0 -1
- package/dist/core/p-e0d88c31.entry.js +0 -2
- package/dist/core/p-e0d88c31.entry.js.map +0 -1
- package/dist/core/p-e9202767.entry.js +0 -2
- package/dist/core/p-e9202767.entry.js.map +0 -1
- package/dist/core/p-eba373bf.entry.js +0 -2
- package/dist/core/p-eba373bf.entry.js.map +0 -1
- package/dist/core/p-ec26fc38.js +0 -2
- package/dist/core/p-ec26fc38.js.map +0 -1
- package/dist/core/p-ed6cf9b9.entry.js +0 -2
- package/dist/core/p-ed6cf9b9.entry.js.map +0 -1
- package/dist/esm/chevron-icon-98c98242.js +0 -8
- package/dist/esm/chevron-icon-98c98242.js.map +0 -1
- package/dist/esm/helpers-c332acf8.js.map +0 -1
- package/dist/esm/index-90721b3c.js.map +0 -1
- package/dist/esm/popper-f860750c.js +0 -1801
- package/dist/esm/popper-f860750c.js.map +0 -1
- /package/dist/collection/{components/ic-link/assets → assets}/OpenInNew.svg +0 -0
- /package/dist/collection/components/ic-back-to-top/{ic-back-to-top.test.a11y.js → test/a11y/ic-back-to-top.test.a11y.js} +0 -0
- /package/dist/collection/components/ic-breadcrumb-group/{ic-breadcrumb-group-test-examples.js → test/basic/ic-breadcrumb-group-test-examples.js} +0 -0
- /package/dist/collection/components/ic-stepper/{ic-stepper-test-examples.js → test/basic/ic-stepper-test-examples.js} +0 -0
- /package/dist/collection/components/ic-tab-context/{ic-tab-context.test.a11y.js → test/a11y/ic-tab-context.test.a11y.js} +0 -0
- /package/dist/collection/components/ic-text-field/{ic-text-field.test.a11y.js → test/a11y/ic-text-field.test.a11y.js} +0 -0
- /package/dist/types/components/ic-alert/{ic-alert.test.a11y.d.ts → test/a11y/ic-alert.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-back-to-top/{ic-back-to-top.test.a11y.d.ts → test/a11y/ic-back-to-top.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-breadcrumb-group/{ic-breadcrumb-group.test.a11y.d.ts → test/a11y/ic-breadcrumb-group.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-breadcrumb-group/{ic-breadcrumb-group-test-examples.d.ts → test/basic/ic-breadcrumb-group-test-examples.d.ts} +0 -0
- /package/dist/types/components/ic-button/{ic-button.test.a11y.d.ts → test/a11y/ic-button.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-card/{ic-card.test.a11y.d.ts → test/a11y/ic-card.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-checkbox-group/{ic-checkbox-group.test.a11y.d.ts → test/a11y/ic-checkbox-group.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-chip/{ic-chip.test.a11y.d.ts → test/a11y/ic-chip.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-classification-banner/{ic-classification-banner.test.a11y.d.ts → test/a11y/ic-classification-banner.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-data-entity/{ic-data-entity.test.a11y.d.ts → test/a11y/ic-data-entity.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-data-row/{ic-data-row.test.a11y.d.ts → test/a11y/ic-data-row.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-footer-link-group/ic-footer-link-group.test.a11y.d.ts → ic-dialog/test/a11y/ic-dialog.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-hero/ic-hero.test.a11y.d.ts → ic-footer/test/a11y/ic-footer.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-footer/ic-footer.test.a11y.d.ts → ic-footer-link/test/a11y/ic-footer-link.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-footer-link/ic-footer-link.test.a11y.d.ts → ic-footer-link-group/test/a11y/ic-footer-link-group.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-horizontal-scroll/ic-horizontal-scroll.test.a11y.d.ts → ic-hero/test/a11y/ic-hero.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-link/ic-link.test.a11y.d.ts → ic-horizontal-scroll/test/a11y/ic-horizontal-scroll.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-loading-indicator/ic-loading-indicator.test.a11y.d.ts → ic-link/test/a11y/ic-link.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-navigation-group/ic-navigation-group.test.a11y.d.ts → ic-loading-indicator/test/a11y/ic-loading-indicator.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-navigation-item/ic-navigation-item.test.a11y.d.ts → ic-navigation-group/test/a11y/ic-navigation-group.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-page-header/ic-page-header.test.a11y.d.ts → ic-navigation-item/test/a11y/ic-navigation-item.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-radio-group/ic-radio-group.test.a11y.d.ts → ic-page-header/test/a11y/ic-page-header.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-search-bar/ic-search-bar.test.a11y.d.ts → ic-pagination/test/a11y/ic-pagination.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-select/ic-select.test.a11y.d.ts → ic-popover-menu/test/a11y/ic-popover-menu.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-side-navigation/ic-side-navigation.test.a11y.d.ts → ic-radio-group/test/a11y/ic-radio-group.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-skeleton/ic-skeleton.test.a11y.d.ts → ic-search-bar/test/a11y/ic-search-bar.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-status-tag/ic-status-tag.test.a11y.d.ts → ic-select/test/a11y/ic-select.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-stepper/ic-stepper.test.a11y.d.ts → ic-side-navigation/test/a11y/ic-side-navigation.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-switch/ic-switch.test.a11y.d.ts → ic-skeleton/test/a11y/ic-skeleton.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-tab-context/ic-tab-context.test.a11y.d.ts → ic-status-tag/test/a11y/ic-status-tag.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-text-field/ic-text-field.test.a11y.d.ts → ic-stepper/test/a11y/ic-stepper.test.a11y.d.ts} +0 -0
- /package/dist/types/components/ic-stepper/{ic-stepper-test-examples.d.ts → test/basic/ic-stepper-test-examples.d.ts} +0 -0
- /package/dist/types/components/{ic-toast/ic-toast.test.a11y.d.ts → ic-switch/test/a11y/ic-switch.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-tooltip/ic-tooltip.test.a11y.d.ts → ic-tab-context/test/a11y/ic-tab-context.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-top-navigation/ic-top-navigation.test.a11y.d.ts → ic-text-field/test/a11y/ic-text-field.test.a11y.d.ts} +0 -0
- /package/dist/types/components/{ic-typography/ic-typography.test.a11y.d.ts → ic-toast/test/a11y/ic-toast.test.a11y.d.ts} +0 -0
@@ -1,82 +1,1872 @@
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
2
|
-
import {
|
1
|
+
import { proxyCustomElement, HTMLElement as HTMLElement$1, h, Host } from '@stencil/core/internal/client';
|
2
|
+
import { o as onComponentRequiredPropUndefined } from './helpers.js';
|
3
3
|
import { d as defineCustomElement$1 } from './ic-typography2.js';
|
4
|
-
import { c as createPopper } from './popper.js';
|
5
4
|
|
6
|
-
|
5
|
+
var top = 'top';
|
6
|
+
var bottom = 'bottom';
|
7
|
+
var right = 'right';
|
8
|
+
var left = 'left';
|
9
|
+
var auto = 'auto';
|
10
|
+
var basePlacements = [top, bottom, right, left];
|
11
|
+
var start = 'start';
|
12
|
+
var end = 'end';
|
13
|
+
var clippingParents = 'clippingParents';
|
14
|
+
var viewport = 'viewport';
|
15
|
+
var popper = 'popper';
|
16
|
+
var reference = 'reference';
|
17
|
+
var variationPlacements = /*#__PURE__*/basePlacements.reduce(function (acc, placement) {
|
18
|
+
return acc.concat([placement + "-" + start, placement + "-" + end]);
|
19
|
+
}, []);
|
20
|
+
var placements = /*#__PURE__*/[].concat(basePlacements, [auto]).reduce(function (acc, placement) {
|
21
|
+
return acc.concat([placement, placement + "-" + start, placement + "-" + end]);
|
22
|
+
}, []); // modifiers that need to read the DOM
|
7
23
|
|
8
|
-
|
24
|
+
var beforeRead = 'beforeRead';
|
25
|
+
var read = 'read';
|
26
|
+
var afterRead = 'afterRead'; // pure-logic modifiers
|
27
|
+
|
28
|
+
var beforeMain = 'beforeMain';
|
29
|
+
var main = 'main';
|
30
|
+
var afterMain = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state)
|
31
|
+
|
32
|
+
var beforeWrite = 'beforeWrite';
|
33
|
+
var write = 'write';
|
34
|
+
var afterWrite = 'afterWrite';
|
35
|
+
var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];
|
36
|
+
|
37
|
+
function getNodeName(element) {
|
38
|
+
return element ? (element.nodeName || '').toLowerCase() : null;
|
39
|
+
}
|
40
|
+
|
41
|
+
function getWindow(node) {
|
42
|
+
if (node == null) {
|
43
|
+
return window;
|
44
|
+
}
|
45
|
+
|
46
|
+
if (node.toString() !== '[object Window]') {
|
47
|
+
var ownerDocument = node.ownerDocument;
|
48
|
+
return ownerDocument ? ownerDocument.defaultView || window : window;
|
49
|
+
}
|
50
|
+
|
51
|
+
return node;
|
52
|
+
}
|
53
|
+
|
54
|
+
function isElement(node) {
|
55
|
+
var OwnElement = getWindow(node).Element;
|
56
|
+
return node instanceof OwnElement || node instanceof Element;
|
57
|
+
}
|
58
|
+
|
59
|
+
function isHTMLElement(node) {
|
60
|
+
var OwnElement = getWindow(node).HTMLElement;
|
61
|
+
return node instanceof OwnElement || node instanceof HTMLElement;
|
62
|
+
}
|
63
|
+
|
64
|
+
function isShadowRoot(node) {
|
65
|
+
// IE 11 has no ShadowRoot
|
66
|
+
if (typeof ShadowRoot === 'undefined') {
|
67
|
+
return false;
|
68
|
+
}
|
69
|
+
|
70
|
+
var OwnElement = getWindow(node).ShadowRoot;
|
71
|
+
return node instanceof OwnElement || node instanceof ShadowRoot;
|
72
|
+
}
|
73
|
+
|
74
|
+
// and applies them to the HTMLElements such as popper and arrow
|
75
|
+
|
76
|
+
function applyStyles(_ref) {
|
77
|
+
var state = _ref.state;
|
78
|
+
Object.keys(state.elements).forEach(function (name) {
|
79
|
+
var style = state.styles[name] || {};
|
80
|
+
var attributes = state.attributes[name] || {};
|
81
|
+
var element = state.elements[name]; // arrow is optional + virtual elements
|
82
|
+
|
83
|
+
if (!isHTMLElement(element) || !getNodeName(element)) {
|
84
|
+
return;
|
85
|
+
} // Flow doesn't support to extend this property, but it's the most
|
86
|
+
// effective way to apply styles to an HTMLElement
|
87
|
+
// $FlowFixMe[cannot-write]
|
88
|
+
|
89
|
+
|
90
|
+
Object.assign(element.style, style);
|
91
|
+
Object.keys(attributes).forEach(function (name) {
|
92
|
+
var value = attributes[name];
|
93
|
+
|
94
|
+
if (value === false) {
|
95
|
+
element.removeAttribute(name);
|
96
|
+
} else {
|
97
|
+
element.setAttribute(name, value === true ? '' : value);
|
98
|
+
}
|
99
|
+
});
|
100
|
+
});
|
101
|
+
}
|
102
|
+
|
103
|
+
function effect$2(_ref2) {
|
104
|
+
var state = _ref2.state;
|
105
|
+
var initialStyles = {
|
106
|
+
popper: {
|
107
|
+
position: state.options.strategy,
|
108
|
+
left: '0',
|
109
|
+
top: '0',
|
110
|
+
margin: '0'
|
111
|
+
},
|
112
|
+
arrow: {
|
113
|
+
position: 'absolute'
|
114
|
+
},
|
115
|
+
reference: {}
|
116
|
+
};
|
117
|
+
Object.assign(state.elements.popper.style, initialStyles.popper);
|
118
|
+
state.styles = initialStyles;
|
119
|
+
|
120
|
+
if (state.elements.arrow) {
|
121
|
+
Object.assign(state.elements.arrow.style, initialStyles.arrow);
|
122
|
+
}
|
123
|
+
|
124
|
+
return function () {
|
125
|
+
Object.keys(state.elements).forEach(function (name) {
|
126
|
+
var element = state.elements[name];
|
127
|
+
var attributes = state.attributes[name] || {};
|
128
|
+
var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them
|
129
|
+
|
130
|
+
var style = styleProperties.reduce(function (style, property) {
|
131
|
+
style[property] = '';
|
132
|
+
return style;
|
133
|
+
}, {}); // arrow is optional + virtual elements
|
134
|
+
|
135
|
+
if (!isHTMLElement(element) || !getNodeName(element)) {
|
136
|
+
return;
|
137
|
+
}
|
138
|
+
|
139
|
+
Object.assign(element.style, style);
|
140
|
+
Object.keys(attributes).forEach(function (attribute) {
|
141
|
+
element.removeAttribute(attribute);
|
142
|
+
});
|
143
|
+
});
|
144
|
+
};
|
145
|
+
} // eslint-disable-next-line import/no-unused-modules
|
146
|
+
|
147
|
+
|
148
|
+
const applyStyles$1 = {
|
149
|
+
name: 'applyStyles',
|
150
|
+
enabled: true,
|
151
|
+
phase: 'write',
|
152
|
+
fn: applyStyles,
|
153
|
+
effect: effect$2,
|
154
|
+
requires: ['computeStyles']
|
155
|
+
};
|
156
|
+
|
157
|
+
function getBasePlacement(placement) {
|
158
|
+
return placement.split('-')[0];
|
159
|
+
}
|
160
|
+
|
161
|
+
var max = Math.max;
|
162
|
+
var min = Math.min;
|
163
|
+
var round = Math.round;
|
164
|
+
|
165
|
+
function getUAString() {
|
166
|
+
var uaData = navigator.userAgentData;
|
167
|
+
|
168
|
+
if (uaData != null && uaData.brands && Array.isArray(uaData.brands)) {
|
169
|
+
return uaData.brands.map(function (item) {
|
170
|
+
return item.brand + "/" + item.version;
|
171
|
+
}).join(' ');
|
172
|
+
}
|
173
|
+
|
174
|
+
return navigator.userAgent;
|
175
|
+
}
|
176
|
+
|
177
|
+
function isLayoutViewport() {
|
178
|
+
return !/^((?!chrome|android).)*safari/i.test(getUAString());
|
179
|
+
}
|
180
|
+
|
181
|
+
function getBoundingClientRect(element, includeScale, isFixedStrategy) {
|
182
|
+
if (includeScale === void 0) {
|
183
|
+
includeScale = false;
|
184
|
+
}
|
185
|
+
|
186
|
+
if (isFixedStrategy === void 0) {
|
187
|
+
isFixedStrategy = false;
|
188
|
+
}
|
189
|
+
|
190
|
+
var clientRect = element.getBoundingClientRect();
|
191
|
+
var scaleX = 1;
|
192
|
+
var scaleY = 1;
|
193
|
+
|
194
|
+
if (includeScale && isHTMLElement(element)) {
|
195
|
+
scaleX = element.offsetWidth > 0 ? round(clientRect.width) / element.offsetWidth || 1 : 1;
|
196
|
+
scaleY = element.offsetHeight > 0 ? round(clientRect.height) / element.offsetHeight || 1 : 1;
|
197
|
+
}
|
198
|
+
|
199
|
+
var _ref = isElement(element) ? getWindow(element) : window,
|
200
|
+
visualViewport = _ref.visualViewport;
|
201
|
+
|
202
|
+
var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;
|
203
|
+
var x = (clientRect.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
|
204
|
+
var y = (clientRect.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;
|
205
|
+
var width = clientRect.width / scaleX;
|
206
|
+
var height = clientRect.height / scaleY;
|
207
|
+
return {
|
208
|
+
width: width,
|
209
|
+
height: height,
|
210
|
+
top: y,
|
211
|
+
right: x + width,
|
212
|
+
bottom: y + height,
|
213
|
+
left: x,
|
214
|
+
x: x,
|
215
|
+
y: y
|
216
|
+
};
|
217
|
+
}
|
218
|
+
|
219
|
+
// means it doesn't take into account transforms.
|
220
|
+
|
221
|
+
function getLayoutRect(element) {
|
222
|
+
var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.
|
223
|
+
// Fixes https://github.com/popperjs/popper-core/issues/1223
|
224
|
+
|
225
|
+
var width = element.offsetWidth;
|
226
|
+
var height = element.offsetHeight;
|
227
|
+
|
228
|
+
if (Math.abs(clientRect.width - width) <= 1) {
|
229
|
+
width = clientRect.width;
|
230
|
+
}
|
231
|
+
|
232
|
+
if (Math.abs(clientRect.height - height) <= 1) {
|
233
|
+
height = clientRect.height;
|
234
|
+
}
|
235
|
+
|
236
|
+
return {
|
237
|
+
x: element.offsetLeft,
|
238
|
+
y: element.offsetTop,
|
239
|
+
width: width,
|
240
|
+
height: height
|
241
|
+
};
|
242
|
+
}
|
243
|
+
|
244
|
+
function contains(parent, child) {
|
245
|
+
var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method
|
246
|
+
|
247
|
+
if (parent.contains(child)) {
|
248
|
+
return true;
|
249
|
+
} // then fallback to custom implementation with Shadow DOM support
|
250
|
+
else if (rootNode && isShadowRoot(rootNode)) {
|
251
|
+
var next = child;
|
252
|
+
|
253
|
+
do {
|
254
|
+
if (next && parent.isSameNode(next)) {
|
255
|
+
return true;
|
256
|
+
} // $FlowFixMe[prop-missing]: need a better way to handle this...
|
257
|
+
|
258
|
+
|
259
|
+
next = next.parentNode || next.host;
|
260
|
+
} while (next);
|
261
|
+
} // Give up, the result is false
|
262
|
+
|
263
|
+
|
264
|
+
return false;
|
265
|
+
}
|
266
|
+
|
267
|
+
function getComputedStyle(element) {
|
268
|
+
return getWindow(element).getComputedStyle(element);
|
269
|
+
}
|
270
|
+
|
271
|
+
function isTableElement(element) {
|
272
|
+
return ['table', 'td', 'th'].indexOf(getNodeName(element)) >= 0;
|
273
|
+
}
|
274
|
+
|
275
|
+
function getDocumentElement(element) {
|
276
|
+
// $FlowFixMe[incompatible-return]: assume body is always available
|
277
|
+
return ((isElement(element) ? element.ownerDocument : // $FlowFixMe[prop-missing]
|
278
|
+
element.document) || window.document).documentElement;
|
279
|
+
}
|
280
|
+
|
281
|
+
function getParentNode(element) {
|
282
|
+
if (getNodeName(element) === 'html') {
|
283
|
+
return element;
|
284
|
+
}
|
285
|
+
|
286
|
+
return (// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
287
|
+
// $FlowFixMe[incompatible-return]
|
288
|
+
// $FlowFixMe[prop-missing]
|
289
|
+
element.assignedSlot || // step into the shadow DOM of the parent of a slotted node
|
290
|
+
element.parentNode || ( // DOM Element detected
|
291
|
+
isShadowRoot(element) ? element.host : null) || // ShadowRoot detected
|
292
|
+
// $FlowFixMe[incompatible-call]: HTMLElement is a Node
|
293
|
+
getDocumentElement(element) // fallback
|
294
|
+
|
295
|
+
);
|
296
|
+
}
|
297
|
+
|
298
|
+
function getTrueOffsetParent(element) {
|
299
|
+
if (!isHTMLElement(element) || // https://github.com/popperjs/popper-core/issues/837
|
300
|
+
getComputedStyle(element).position === 'fixed') {
|
301
|
+
return null;
|
302
|
+
}
|
303
|
+
|
304
|
+
return element.offsetParent;
|
305
|
+
} // `.offsetParent` reports `null` for fixed elements, while absolute elements
|
306
|
+
// return the containing block
|
307
|
+
|
308
|
+
|
309
|
+
function getContainingBlock(element) {
|
310
|
+
var isFirefox = /firefox/i.test(getUAString());
|
311
|
+
var isIE = /Trident/i.test(getUAString());
|
312
|
+
|
313
|
+
if (isIE && isHTMLElement(element)) {
|
314
|
+
// In IE 9, 10 and 11 fixed elements containing block is always established by the viewport
|
315
|
+
var elementCss = getComputedStyle(element);
|
316
|
+
|
317
|
+
if (elementCss.position === 'fixed') {
|
318
|
+
return null;
|
319
|
+
}
|
320
|
+
}
|
321
|
+
|
322
|
+
var currentNode = getParentNode(element);
|
323
|
+
|
324
|
+
if (isShadowRoot(currentNode)) {
|
325
|
+
currentNode = currentNode.host;
|
326
|
+
}
|
327
|
+
|
328
|
+
while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) {
|
329
|
+
var css = getComputedStyle(currentNode); // This is non-exhaustive but covers the most common CSS properties that
|
330
|
+
// create a containing block.
|
331
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
332
|
+
|
333
|
+
if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') {
|
334
|
+
return currentNode;
|
335
|
+
} else {
|
336
|
+
currentNode = currentNode.parentNode;
|
337
|
+
}
|
338
|
+
}
|
339
|
+
|
340
|
+
return null;
|
341
|
+
} // Gets the closest ancestor positioned element. Handles some edge cases,
|
342
|
+
// such as table ancestors and cross browser bugs.
|
343
|
+
|
344
|
+
|
345
|
+
function getOffsetParent(element) {
|
346
|
+
var window = getWindow(element);
|
347
|
+
var offsetParent = getTrueOffsetParent(element);
|
348
|
+
|
349
|
+
while (offsetParent && isTableElement(offsetParent) && getComputedStyle(offsetParent).position === 'static') {
|
350
|
+
offsetParent = getTrueOffsetParent(offsetParent);
|
351
|
+
}
|
352
|
+
|
353
|
+
if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle(offsetParent).position === 'static')) {
|
354
|
+
return window;
|
355
|
+
}
|
356
|
+
|
357
|
+
return offsetParent || getContainingBlock(element) || window;
|
358
|
+
}
|
359
|
+
|
360
|
+
function getMainAxisFromPlacement(placement) {
|
361
|
+
return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';
|
362
|
+
}
|
363
|
+
|
364
|
+
function within(min$1, value, max$1) {
|
365
|
+
return max(min$1, min(value, max$1));
|
366
|
+
}
|
367
|
+
function withinMaxClamp(min, value, max) {
|
368
|
+
var v = within(min, value, max);
|
369
|
+
return v > max ? max : v;
|
370
|
+
}
|
371
|
+
|
372
|
+
function getFreshSideObject() {
|
373
|
+
return {
|
374
|
+
top: 0,
|
375
|
+
right: 0,
|
376
|
+
bottom: 0,
|
377
|
+
left: 0
|
378
|
+
};
|
379
|
+
}
|
380
|
+
|
381
|
+
function mergePaddingObject(paddingObject) {
|
382
|
+
return Object.assign({}, getFreshSideObject(), paddingObject);
|
383
|
+
}
|
384
|
+
|
385
|
+
function expandToHashMap(value, keys) {
|
386
|
+
return keys.reduce(function (hashMap, key) {
|
387
|
+
hashMap[key] = value;
|
388
|
+
return hashMap;
|
389
|
+
}, {});
|
390
|
+
}
|
391
|
+
|
392
|
+
var toPaddingObject = function toPaddingObject(padding, state) {
|
393
|
+
padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {
|
394
|
+
placement: state.placement
|
395
|
+
})) : padding;
|
396
|
+
return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
|
397
|
+
};
|
398
|
+
|
399
|
+
function arrow(_ref) {
|
400
|
+
var _state$modifiersData$;
|
401
|
+
|
402
|
+
var state = _ref.state,
|
403
|
+
name = _ref.name,
|
404
|
+
options = _ref.options;
|
405
|
+
var arrowElement = state.elements.arrow;
|
406
|
+
var popperOffsets = state.modifiersData.popperOffsets;
|
407
|
+
var basePlacement = getBasePlacement(state.placement);
|
408
|
+
var axis = getMainAxisFromPlacement(basePlacement);
|
409
|
+
var isVertical = [left, right].indexOf(basePlacement) >= 0;
|
410
|
+
var len = isVertical ? 'height' : 'width';
|
411
|
+
|
412
|
+
if (!arrowElement || !popperOffsets) {
|
413
|
+
return;
|
414
|
+
}
|
415
|
+
|
416
|
+
var paddingObject = toPaddingObject(options.padding, state);
|
417
|
+
var arrowRect = getLayoutRect(arrowElement);
|
418
|
+
var minProp = axis === 'y' ? top : left;
|
419
|
+
var maxProp = axis === 'y' ? bottom : right;
|
420
|
+
var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];
|
421
|
+
var startDiff = popperOffsets[axis] - state.rects.reference[axis];
|
422
|
+
var arrowOffsetParent = getOffsetParent(arrowElement);
|
423
|
+
var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;
|
424
|
+
var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is
|
425
|
+
// outside of the popper bounds
|
426
|
+
|
427
|
+
var min = paddingObject[minProp];
|
428
|
+
var max = clientSize - arrowRect[len] - paddingObject[maxProp];
|
429
|
+
var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;
|
430
|
+
var offset = within(min, center, max); // Prevents breaking syntax highlighting...
|
431
|
+
|
432
|
+
var axisProp = axis;
|
433
|
+
state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);
|
434
|
+
}
|
435
|
+
|
436
|
+
function effect$1(_ref2) {
|
437
|
+
var state = _ref2.state,
|
438
|
+
options = _ref2.options;
|
439
|
+
var _options$element = options.element,
|
440
|
+
arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;
|
441
|
+
|
442
|
+
if (arrowElement == null) {
|
443
|
+
return;
|
444
|
+
} // CSS selector
|
445
|
+
|
446
|
+
|
447
|
+
if (typeof arrowElement === 'string') {
|
448
|
+
arrowElement = state.elements.popper.querySelector(arrowElement);
|
449
|
+
|
450
|
+
if (!arrowElement) {
|
451
|
+
return;
|
452
|
+
}
|
453
|
+
}
|
454
|
+
|
455
|
+
if (!contains(state.elements.popper, arrowElement)) {
|
456
|
+
return;
|
457
|
+
}
|
458
|
+
|
459
|
+
state.elements.arrow = arrowElement;
|
460
|
+
} // eslint-disable-next-line import/no-unused-modules
|
461
|
+
|
462
|
+
|
463
|
+
const arrow$1 = {
|
464
|
+
name: 'arrow',
|
465
|
+
enabled: true,
|
466
|
+
phase: 'main',
|
467
|
+
fn: arrow,
|
468
|
+
effect: effect$1,
|
469
|
+
requires: ['popperOffsets'],
|
470
|
+
requiresIfExists: ['preventOverflow']
|
471
|
+
};
|
472
|
+
|
473
|
+
function getVariation(placement) {
|
474
|
+
return placement.split('-')[1];
|
475
|
+
}
|
476
|
+
|
477
|
+
var unsetSides = {
|
478
|
+
top: 'auto',
|
479
|
+
right: 'auto',
|
480
|
+
bottom: 'auto',
|
481
|
+
left: 'auto'
|
482
|
+
}; // Round the offsets to the nearest suitable subpixel based on the DPR.
|
483
|
+
// Zooming can change the DPR, but it seems to report a value that will
|
484
|
+
// cleanly divide the values into the appropriate subpixels.
|
485
|
+
|
486
|
+
function roundOffsetsByDPR(_ref, win) {
|
487
|
+
var x = _ref.x,
|
488
|
+
y = _ref.y;
|
489
|
+
var dpr = win.devicePixelRatio || 1;
|
490
|
+
return {
|
491
|
+
x: round(x * dpr) / dpr || 0,
|
492
|
+
y: round(y * dpr) / dpr || 0
|
493
|
+
};
|
494
|
+
}
|
495
|
+
|
496
|
+
function mapToStyles(_ref2) {
|
497
|
+
var _Object$assign2;
|
498
|
+
|
499
|
+
var popper = _ref2.popper,
|
500
|
+
popperRect = _ref2.popperRect,
|
501
|
+
placement = _ref2.placement,
|
502
|
+
variation = _ref2.variation,
|
503
|
+
offsets = _ref2.offsets,
|
504
|
+
position = _ref2.position,
|
505
|
+
gpuAcceleration = _ref2.gpuAcceleration,
|
506
|
+
adaptive = _ref2.adaptive,
|
507
|
+
roundOffsets = _ref2.roundOffsets,
|
508
|
+
isFixed = _ref2.isFixed;
|
509
|
+
var _offsets$x = offsets.x,
|
510
|
+
x = _offsets$x === void 0 ? 0 : _offsets$x,
|
511
|
+
_offsets$y = offsets.y,
|
512
|
+
y = _offsets$y === void 0 ? 0 : _offsets$y;
|
513
|
+
|
514
|
+
var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({
|
515
|
+
x: x,
|
516
|
+
y: y
|
517
|
+
}) : {
|
518
|
+
x: x,
|
519
|
+
y: y
|
520
|
+
};
|
521
|
+
|
522
|
+
x = _ref3.x;
|
523
|
+
y = _ref3.y;
|
524
|
+
var hasX = offsets.hasOwnProperty('x');
|
525
|
+
var hasY = offsets.hasOwnProperty('y');
|
526
|
+
var sideX = left;
|
527
|
+
var sideY = top;
|
528
|
+
var win = window;
|
529
|
+
|
530
|
+
if (adaptive) {
|
531
|
+
var offsetParent = getOffsetParent(popper);
|
532
|
+
var heightProp = 'clientHeight';
|
533
|
+
var widthProp = 'clientWidth';
|
534
|
+
|
535
|
+
if (offsetParent === getWindow(popper)) {
|
536
|
+
offsetParent = getDocumentElement(popper);
|
537
|
+
|
538
|
+
if (getComputedStyle(offsetParent).position !== 'static' && position === 'absolute') {
|
539
|
+
heightProp = 'scrollHeight';
|
540
|
+
widthProp = 'scrollWidth';
|
541
|
+
}
|
542
|
+
} // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it
|
543
|
+
|
544
|
+
|
545
|
+
offsetParent = offsetParent;
|
546
|
+
|
547
|
+
if (placement === top || (placement === left || placement === right) && variation === end) {
|
548
|
+
sideY = bottom;
|
549
|
+
var offsetY = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]
|
550
|
+
offsetParent[heightProp];
|
551
|
+
y -= offsetY - popperRect.height;
|
552
|
+
y *= gpuAcceleration ? 1 : -1;
|
553
|
+
}
|
554
|
+
|
555
|
+
if (placement === left || (placement === top || placement === bottom) && variation === end) {
|
556
|
+
sideX = right;
|
557
|
+
var offsetX = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]
|
558
|
+
offsetParent[widthProp];
|
559
|
+
x -= offsetX - popperRect.width;
|
560
|
+
x *= gpuAcceleration ? 1 : -1;
|
561
|
+
}
|
562
|
+
}
|
563
|
+
|
564
|
+
var commonStyles = Object.assign({
|
565
|
+
position: position
|
566
|
+
}, adaptive && unsetSides);
|
567
|
+
|
568
|
+
var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
|
569
|
+
x: x,
|
570
|
+
y: y
|
571
|
+
}, getWindow(popper)) : {
|
572
|
+
x: x,
|
573
|
+
y: y
|
574
|
+
};
|
575
|
+
|
576
|
+
x = _ref4.x;
|
577
|
+
y = _ref4.y;
|
578
|
+
|
579
|
+
if (gpuAcceleration) {
|
580
|
+
var _Object$assign;
|
581
|
+
|
582
|
+
return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
|
583
|
+
}
|
584
|
+
|
585
|
+
return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
|
586
|
+
}
|
587
|
+
|
588
|
+
function computeStyles(_ref5) {
|
589
|
+
var state = _ref5.state,
|
590
|
+
options = _ref5.options;
|
591
|
+
var _options$gpuAccelerat = options.gpuAcceleration,
|
592
|
+
gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,
|
593
|
+
_options$adaptive = options.adaptive,
|
594
|
+
adaptive = _options$adaptive === void 0 ? true : _options$adaptive,
|
595
|
+
_options$roundOffsets = options.roundOffsets,
|
596
|
+
roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;
|
597
|
+
var commonStyles = {
|
598
|
+
placement: getBasePlacement(state.placement),
|
599
|
+
variation: getVariation(state.placement),
|
600
|
+
popper: state.elements.popper,
|
601
|
+
popperRect: state.rects.popper,
|
602
|
+
gpuAcceleration: gpuAcceleration,
|
603
|
+
isFixed: state.options.strategy === 'fixed'
|
604
|
+
};
|
605
|
+
|
606
|
+
if (state.modifiersData.popperOffsets != null) {
|
607
|
+
state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, {
|
608
|
+
offsets: state.modifiersData.popperOffsets,
|
609
|
+
position: state.options.strategy,
|
610
|
+
adaptive: adaptive,
|
611
|
+
roundOffsets: roundOffsets
|
612
|
+
})));
|
613
|
+
}
|
614
|
+
|
615
|
+
if (state.modifiersData.arrow != null) {
|
616
|
+
state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, {
|
617
|
+
offsets: state.modifiersData.arrow,
|
618
|
+
position: 'absolute',
|
619
|
+
adaptive: false,
|
620
|
+
roundOffsets: roundOffsets
|
621
|
+
})));
|
622
|
+
}
|
623
|
+
|
624
|
+
state.attributes.popper = Object.assign({}, state.attributes.popper, {
|
625
|
+
'data-popper-placement': state.placement
|
626
|
+
});
|
627
|
+
} // eslint-disable-next-line import/no-unused-modules
|
628
|
+
|
629
|
+
|
630
|
+
const computeStyles$1 = {
|
631
|
+
name: 'computeStyles',
|
632
|
+
enabled: true,
|
633
|
+
phase: 'beforeWrite',
|
634
|
+
fn: computeStyles,
|
635
|
+
data: {}
|
636
|
+
};
|
637
|
+
|
638
|
+
var passive = {
|
639
|
+
passive: true
|
640
|
+
};
|
641
|
+
|
642
|
+
function effect(_ref) {
|
643
|
+
var state = _ref.state,
|
644
|
+
instance = _ref.instance,
|
645
|
+
options = _ref.options;
|
646
|
+
var _options$scroll = options.scroll,
|
647
|
+
scroll = _options$scroll === void 0 ? true : _options$scroll,
|
648
|
+
_options$resize = options.resize,
|
649
|
+
resize = _options$resize === void 0 ? true : _options$resize;
|
650
|
+
var window = getWindow(state.elements.popper);
|
651
|
+
var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);
|
652
|
+
|
653
|
+
if (scroll) {
|
654
|
+
scrollParents.forEach(function (scrollParent) {
|
655
|
+
scrollParent.addEventListener('scroll', instance.update, passive);
|
656
|
+
});
|
657
|
+
}
|
658
|
+
|
659
|
+
if (resize) {
|
660
|
+
window.addEventListener('resize', instance.update, passive);
|
661
|
+
}
|
662
|
+
|
663
|
+
return function () {
|
664
|
+
if (scroll) {
|
665
|
+
scrollParents.forEach(function (scrollParent) {
|
666
|
+
scrollParent.removeEventListener('scroll', instance.update, passive);
|
667
|
+
});
|
668
|
+
}
|
669
|
+
|
670
|
+
if (resize) {
|
671
|
+
window.removeEventListener('resize', instance.update, passive);
|
672
|
+
}
|
673
|
+
};
|
674
|
+
} // eslint-disable-next-line import/no-unused-modules
|
675
|
+
|
676
|
+
|
677
|
+
const eventListeners = {
|
678
|
+
name: 'eventListeners',
|
679
|
+
enabled: true,
|
680
|
+
phase: 'write',
|
681
|
+
fn: function fn() {},
|
682
|
+
effect: effect,
|
683
|
+
data: {}
|
684
|
+
};
|
685
|
+
|
686
|
+
var hash$1 = {
|
687
|
+
left: 'right',
|
688
|
+
right: 'left',
|
689
|
+
bottom: 'top',
|
690
|
+
top: 'bottom'
|
691
|
+
};
|
692
|
+
function getOppositePlacement(placement) {
|
693
|
+
return placement.replace(/left|right|bottom|top/g, function (matched) {
|
694
|
+
return hash$1[matched];
|
695
|
+
});
|
696
|
+
}
|
697
|
+
|
698
|
+
var hash = {
|
699
|
+
start: 'end',
|
700
|
+
end: 'start'
|
701
|
+
};
|
702
|
+
function getOppositeVariationPlacement(placement) {
|
703
|
+
return placement.replace(/start|end/g, function (matched) {
|
704
|
+
return hash[matched];
|
705
|
+
});
|
706
|
+
}
|
707
|
+
|
708
|
+
function getWindowScroll(node) {
|
709
|
+
var win = getWindow(node);
|
710
|
+
var scrollLeft = win.pageXOffset;
|
711
|
+
var scrollTop = win.pageYOffset;
|
712
|
+
return {
|
713
|
+
scrollLeft: scrollLeft,
|
714
|
+
scrollTop: scrollTop
|
715
|
+
};
|
716
|
+
}
|
717
|
+
|
718
|
+
function getWindowScrollBarX(element) {
|
719
|
+
// If <html> has a CSS width greater than the viewport, then this will be
|
720
|
+
// incorrect for RTL.
|
721
|
+
// Popper 1 is broken in this case and never had a bug report so let's assume
|
722
|
+
// it's not an issue. I don't think anyone ever specifies width on <html>
|
723
|
+
// anyway.
|
724
|
+
// Browsers where the left scrollbar doesn't cause an issue report `0` for
|
725
|
+
// this (e.g. Edge 2019, IE11, Safari)
|
726
|
+
return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;
|
727
|
+
}
|
728
|
+
|
729
|
+
function getViewportRect(element, strategy) {
|
730
|
+
var win = getWindow(element);
|
731
|
+
var html = getDocumentElement(element);
|
732
|
+
var visualViewport = win.visualViewport;
|
733
|
+
var width = html.clientWidth;
|
734
|
+
var height = html.clientHeight;
|
735
|
+
var x = 0;
|
736
|
+
var y = 0;
|
737
|
+
|
738
|
+
if (visualViewport) {
|
739
|
+
width = visualViewport.width;
|
740
|
+
height = visualViewport.height;
|
741
|
+
var layoutViewport = isLayoutViewport();
|
742
|
+
|
743
|
+
if (layoutViewport || !layoutViewport && strategy === 'fixed') {
|
744
|
+
x = visualViewport.offsetLeft;
|
745
|
+
y = visualViewport.offsetTop;
|
746
|
+
}
|
747
|
+
}
|
748
|
+
|
749
|
+
return {
|
750
|
+
width: width,
|
751
|
+
height: height,
|
752
|
+
x: x + getWindowScrollBarX(element),
|
753
|
+
y: y
|
754
|
+
};
|
755
|
+
}
|
756
|
+
|
757
|
+
// of the `<html>` and `<body>` rect bounds if horizontally scrollable
|
758
|
+
|
759
|
+
function getDocumentRect(element) {
|
760
|
+
var _element$ownerDocumen;
|
761
|
+
|
762
|
+
var html = getDocumentElement(element);
|
763
|
+
var winScroll = getWindowScroll(element);
|
764
|
+
var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
|
765
|
+
var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
|
766
|
+
var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
|
767
|
+
var x = -winScroll.scrollLeft + getWindowScrollBarX(element);
|
768
|
+
var y = -winScroll.scrollTop;
|
769
|
+
|
770
|
+
if (getComputedStyle(body || html).direction === 'rtl') {
|
771
|
+
x += max(html.clientWidth, body ? body.clientWidth : 0) - width;
|
772
|
+
}
|
773
|
+
|
774
|
+
return {
|
775
|
+
width: width,
|
776
|
+
height: height,
|
777
|
+
x: x,
|
778
|
+
y: y
|
779
|
+
};
|
780
|
+
}
|
781
|
+
|
782
|
+
function isScrollParent(element) {
|
783
|
+
// Firefox wants us to check `-x` and `-y` variations as well
|
784
|
+
var _getComputedStyle = getComputedStyle(element),
|
785
|
+
overflow = _getComputedStyle.overflow,
|
786
|
+
overflowX = _getComputedStyle.overflowX,
|
787
|
+
overflowY = _getComputedStyle.overflowY;
|
788
|
+
|
789
|
+
return /auto|scroll|overlay|hidden/.test(overflow + overflowY + overflowX);
|
790
|
+
}
|
791
|
+
|
792
|
+
function getScrollParent(node) {
|
793
|
+
if (['html', 'body', '#document'].indexOf(getNodeName(node)) >= 0) {
|
794
|
+
// $FlowFixMe[incompatible-return]: assume body is always available
|
795
|
+
return node.ownerDocument.body;
|
796
|
+
}
|
797
|
+
|
798
|
+
if (isHTMLElement(node) && isScrollParent(node)) {
|
799
|
+
return node;
|
800
|
+
}
|
801
|
+
|
802
|
+
return getScrollParent(getParentNode(node));
|
803
|
+
}
|
804
|
+
|
805
|
+
/*
|
806
|
+
given a DOM element, return the list of all scroll parents, up the list of ancesors
|
807
|
+
until we get to the top window object. This list is what we attach scroll listeners
|
808
|
+
to, because if any of these parent elements scroll, we'll need to re-calculate the
|
809
|
+
reference element's position.
|
810
|
+
*/
|
811
|
+
|
812
|
+
function listScrollParents(element, list) {
|
813
|
+
var _element$ownerDocumen;
|
814
|
+
|
815
|
+
if (list === void 0) {
|
816
|
+
list = [];
|
817
|
+
}
|
818
|
+
|
819
|
+
var scrollParent = getScrollParent(element);
|
820
|
+
var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);
|
821
|
+
var win = getWindow(scrollParent);
|
822
|
+
var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;
|
823
|
+
var updatedList = list.concat(target);
|
824
|
+
return isBody ? updatedList : // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
825
|
+
updatedList.concat(listScrollParents(getParentNode(target)));
|
826
|
+
}
|
827
|
+
|
828
|
+
function rectToClientRect(rect) {
|
829
|
+
return Object.assign({}, rect, {
|
830
|
+
left: rect.x,
|
831
|
+
top: rect.y,
|
832
|
+
right: rect.x + rect.width,
|
833
|
+
bottom: rect.y + rect.height
|
834
|
+
});
|
835
|
+
}
|
836
|
+
|
837
|
+
function getInnerBoundingClientRect(element, strategy) {
|
838
|
+
var rect = getBoundingClientRect(element, false, strategy === 'fixed');
|
839
|
+
rect.top = rect.top + element.clientTop;
|
840
|
+
rect.left = rect.left + element.clientLeft;
|
841
|
+
rect.bottom = rect.top + element.clientHeight;
|
842
|
+
rect.right = rect.left + element.clientWidth;
|
843
|
+
rect.width = element.clientWidth;
|
844
|
+
rect.height = element.clientHeight;
|
845
|
+
rect.x = rect.left;
|
846
|
+
rect.y = rect.top;
|
847
|
+
return rect;
|
848
|
+
}
|
849
|
+
|
850
|
+
function getClientRectFromMixedType(element, clippingParent, strategy) {
|
851
|
+
return clippingParent === viewport ? rectToClientRect(getViewportRect(element, strategy)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent, strategy) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
|
852
|
+
} // A "clipping parent" is an overflowable container with the characteristic of
|
853
|
+
// clipping (or hiding) overflowing elements with a position different from
|
854
|
+
// `initial`
|
855
|
+
|
856
|
+
|
857
|
+
function getClippingParents(element) {
|
858
|
+
var clippingParents = listScrollParents(getParentNode(element));
|
859
|
+
var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle(element).position) >= 0;
|
860
|
+
var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;
|
861
|
+
|
862
|
+
if (!isElement(clipperElement)) {
|
863
|
+
return [];
|
864
|
+
} // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414
|
865
|
+
|
866
|
+
|
867
|
+
return clippingParents.filter(function (clippingParent) {
|
868
|
+
return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';
|
869
|
+
});
|
870
|
+
} // Gets the maximum area that the element is visible in due to any number of
|
871
|
+
// clipping parents
|
872
|
+
|
873
|
+
|
874
|
+
function getClippingRect(element, boundary, rootBoundary, strategy) {
|
875
|
+
var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);
|
876
|
+
var clippingParents = [].concat(mainClippingParents, [rootBoundary]);
|
877
|
+
var firstClippingParent = clippingParents[0];
|
878
|
+
var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {
|
879
|
+
var rect = getClientRectFromMixedType(element, clippingParent, strategy);
|
880
|
+
accRect.top = max(rect.top, accRect.top);
|
881
|
+
accRect.right = min(rect.right, accRect.right);
|
882
|
+
accRect.bottom = min(rect.bottom, accRect.bottom);
|
883
|
+
accRect.left = max(rect.left, accRect.left);
|
884
|
+
return accRect;
|
885
|
+
}, getClientRectFromMixedType(element, firstClippingParent, strategy));
|
886
|
+
clippingRect.width = clippingRect.right - clippingRect.left;
|
887
|
+
clippingRect.height = clippingRect.bottom - clippingRect.top;
|
888
|
+
clippingRect.x = clippingRect.left;
|
889
|
+
clippingRect.y = clippingRect.top;
|
890
|
+
return clippingRect;
|
891
|
+
}
|
892
|
+
|
893
|
+
function computeOffsets(_ref) {
|
894
|
+
var reference = _ref.reference,
|
895
|
+
element = _ref.element,
|
896
|
+
placement = _ref.placement;
|
897
|
+
var basePlacement = placement ? getBasePlacement(placement) : null;
|
898
|
+
var variation = placement ? getVariation(placement) : null;
|
899
|
+
var commonX = reference.x + reference.width / 2 - element.width / 2;
|
900
|
+
var commonY = reference.y + reference.height / 2 - element.height / 2;
|
901
|
+
var offsets;
|
902
|
+
|
903
|
+
switch (basePlacement) {
|
904
|
+
case top:
|
905
|
+
offsets = {
|
906
|
+
x: commonX,
|
907
|
+
y: reference.y - element.height
|
908
|
+
};
|
909
|
+
break;
|
910
|
+
|
911
|
+
case bottom:
|
912
|
+
offsets = {
|
913
|
+
x: commonX,
|
914
|
+
y: reference.y + reference.height
|
915
|
+
};
|
916
|
+
break;
|
917
|
+
|
918
|
+
case right:
|
919
|
+
offsets = {
|
920
|
+
x: reference.x + reference.width,
|
921
|
+
y: commonY
|
922
|
+
};
|
923
|
+
break;
|
924
|
+
|
925
|
+
case left:
|
926
|
+
offsets = {
|
927
|
+
x: reference.x - element.width,
|
928
|
+
y: commonY
|
929
|
+
};
|
930
|
+
break;
|
931
|
+
|
932
|
+
default:
|
933
|
+
offsets = {
|
934
|
+
x: reference.x,
|
935
|
+
y: reference.y
|
936
|
+
};
|
937
|
+
}
|
938
|
+
|
939
|
+
var mainAxis = basePlacement ? getMainAxisFromPlacement(basePlacement) : null;
|
940
|
+
|
941
|
+
if (mainAxis != null) {
|
942
|
+
var len = mainAxis === 'y' ? 'height' : 'width';
|
943
|
+
|
944
|
+
switch (variation) {
|
945
|
+
case start:
|
946
|
+
offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);
|
947
|
+
break;
|
948
|
+
|
949
|
+
case end:
|
950
|
+
offsets[mainAxis] = offsets[mainAxis] + (reference[len] / 2 - element[len] / 2);
|
951
|
+
break;
|
952
|
+
}
|
953
|
+
}
|
954
|
+
|
955
|
+
return offsets;
|
956
|
+
}
|
957
|
+
|
958
|
+
function detectOverflow(state, options) {
|
959
|
+
if (options === void 0) {
|
960
|
+
options = {};
|
961
|
+
}
|
962
|
+
|
963
|
+
var _options = options,
|
964
|
+
_options$placement = _options.placement,
|
965
|
+
placement = _options$placement === void 0 ? state.placement : _options$placement,
|
966
|
+
_options$strategy = _options.strategy,
|
967
|
+
strategy = _options$strategy === void 0 ? state.strategy : _options$strategy,
|
968
|
+
_options$boundary = _options.boundary,
|
969
|
+
boundary = _options$boundary === void 0 ? clippingParents : _options$boundary,
|
970
|
+
_options$rootBoundary = _options.rootBoundary,
|
971
|
+
rootBoundary = _options$rootBoundary === void 0 ? viewport : _options$rootBoundary,
|
972
|
+
_options$elementConte = _options.elementContext,
|
973
|
+
elementContext = _options$elementConte === void 0 ? popper : _options$elementConte,
|
974
|
+
_options$altBoundary = _options.altBoundary,
|
975
|
+
altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary,
|
976
|
+
_options$padding = _options.padding,
|
977
|
+
padding = _options$padding === void 0 ? 0 : _options$padding;
|
978
|
+
var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
|
979
|
+
var altContext = elementContext === popper ? reference : popper;
|
980
|
+
var popperRect = state.rects.popper;
|
981
|
+
var element = state.elements[altBoundary ? altContext : elementContext];
|
982
|
+
var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary, strategy);
|
983
|
+
var referenceClientRect = getBoundingClientRect(state.elements.reference);
|
984
|
+
var popperOffsets = computeOffsets({
|
985
|
+
reference: referenceClientRect,
|
986
|
+
element: popperRect,
|
987
|
+
strategy: 'absolute',
|
988
|
+
placement: placement
|
989
|
+
});
|
990
|
+
var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets));
|
991
|
+
var elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect
|
992
|
+
// 0 or negative = within the clipping rect
|
993
|
+
|
994
|
+
var overflowOffsets = {
|
995
|
+
top: clippingClientRect.top - elementClientRect.top + paddingObject.top,
|
996
|
+
bottom: elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom,
|
997
|
+
left: clippingClientRect.left - elementClientRect.left + paddingObject.left,
|
998
|
+
right: elementClientRect.right - clippingClientRect.right + paddingObject.right
|
999
|
+
};
|
1000
|
+
var offsetData = state.modifiersData.offset; // Offsets can be applied only to the popper element
|
1001
|
+
|
1002
|
+
if (elementContext === popper && offsetData) {
|
1003
|
+
var offset = offsetData[placement];
|
1004
|
+
Object.keys(overflowOffsets).forEach(function (key) {
|
1005
|
+
var multiply = [right, bottom].indexOf(key) >= 0 ? 1 : -1;
|
1006
|
+
var axis = [top, bottom].indexOf(key) >= 0 ? 'y' : 'x';
|
1007
|
+
overflowOffsets[key] += offset[axis] * multiply;
|
1008
|
+
});
|
1009
|
+
}
|
1010
|
+
|
1011
|
+
return overflowOffsets;
|
1012
|
+
}
|
1013
|
+
|
1014
|
+
function computeAutoPlacement(state, options) {
|
1015
|
+
if (options === void 0) {
|
1016
|
+
options = {};
|
1017
|
+
}
|
1018
|
+
|
1019
|
+
var _options = options,
|
1020
|
+
placement = _options.placement,
|
1021
|
+
boundary = _options.boundary,
|
1022
|
+
rootBoundary = _options.rootBoundary,
|
1023
|
+
padding = _options.padding,
|
1024
|
+
flipVariations = _options.flipVariations,
|
1025
|
+
_options$allowedAutoP = _options.allowedAutoPlacements,
|
1026
|
+
allowedAutoPlacements = _options$allowedAutoP === void 0 ? placements : _options$allowedAutoP;
|
1027
|
+
var variation = getVariation(placement);
|
1028
|
+
var placements$1 = variation ? flipVariations ? variationPlacements : variationPlacements.filter(function (placement) {
|
1029
|
+
return getVariation(placement) === variation;
|
1030
|
+
}) : basePlacements;
|
1031
|
+
var allowedPlacements = placements$1.filter(function (placement) {
|
1032
|
+
return allowedAutoPlacements.indexOf(placement) >= 0;
|
1033
|
+
});
|
1034
|
+
|
1035
|
+
if (allowedPlacements.length === 0) {
|
1036
|
+
allowedPlacements = placements$1;
|
1037
|
+
} // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...
|
1038
|
+
|
1039
|
+
|
1040
|
+
var overflows = allowedPlacements.reduce(function (acc, placement) {
|
1041
|
+
acc[placement] = detectOverflow(state, {
|
1042
|
+
placement: placement,
|
1043
|
+
boundary: boundary,
|
1044
|
+
rootBoundary: rootBoundary,
|
1045
|
+
padding: padding
|
1046
|
+
})[getBasePlacement(placement)];
|
1047
|
+
return acc;
|
1048
|
+
}, {});
|
1049
|
+
return Object.keys(overflows).sort(function (a, b) {
|
1050
|
+
return overflows[a] - overflows[b];
|
1051
|
+
});
|
1052
|
+
}
|
1053
|
+
|
1054
|
+
function getExpandedFallbackPlacements(placement) {
|
1055
|
+
if (getBasePlacement(placement) === auto) {
|
1056
|
+
return [];
|
1057
|
+
}
|
1058
|
+
|
1059
|
+
var oppositePlacement = getOppositePlacement(placement);
|
1060
|
+
return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];
|
1061
|
+
}
|
1062
|
+
|
1063
|
+
function flip(_ref) {
|
1064
|
+
var state = _ref.state,
|
1065
|
+
options = _ref.options,
|
1066
|
+
name = _ref.name;
|
1067
|
+
|
1068
|
+
if (state.modifiersData[name]._skip) {
|
1069
|
+
return;
|
1070
|
+
}
|
1071
|
+
|
1072
|
+
var _options$mainAxis = options.mainAxis,
|
1073
|
+
checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,
|
1074
|
+
_options$altAxis = options.altAxis,
|
1075
|
+
checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,
|
1076
|
+
specifiedFallbackPlacements = options.fallbackPlacements,
|
1077
|
+
padding = options.padding,
|
1078
|
+
boundary = options.boundary,
|
1079
|
+
rootBoundary = options.rootBoundary,
|
1080
|
+
altBoundary = options.altBoundary,
|
1081
|
+
_options$flipVariatio = options.flipVariations,
|
1082
|
+
flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,
|
1083
|
+
allowedAutoPlacements = options.allowedAutoPlacements;
|
1084
|
+
var preferredPlacement = state.options.placement;
|
1085
|
+
var basePlacement = getBasePlacement(preferredPlacement);
|
1086
|
+
var isBasePlacement = basePlacement === preferredPlacement;
|
1087
|
+
var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));
|
1088
|
+
var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) {
|
1089
|
+
return acc.concat(getBasePlacement(placement) === auto ? computeAutoPlacement(state, {
|
1090
|
+
placement: placement,
|
1091
|
+
boundary: boundary,
|
1092
|
+
rootBoundary: rootBoundary,
|
1093
|
+
padding: padding,
|
1094
|
+
flipVariations: flipVariations,
|
1095
|
+
allowedAutoPlacements: allowedAutoPlacements
|
1096
|
+
}) : placement);
|
1097
|
+
}, []);
|
1098
|
+
var referenceRect = state.rects.reference;
|
1099
|
+
var popperRect = state.rects.popper;
|
1100
|
+
var checksMap = new Map();
|
1101
|
+
var makeFallbackChecks = true;
|
1102
|
+
var firstFittingPlacement = placements[0];
|
1103
|
+
|
1104
|
+
for (var i = 0; i < placements.length; i++) {
|
1105
|
+
var placement = placements[i];
|
1106
|
+
|
1107
|
+
var _basePlacement = getBasePlacement(placement);
|
1108
|
+
|
1109
|
+
var isStartVariation = getVariation(placement) === start;
|
1110
|
+
var isVertical = [top, bottom].indexOf(_basePlacement) >= 0;
|
1111
|
+
var len = isVertical ? 'width' : 'height';
|
1112
|
+
var overflow = detectOverflow(state, {
|
1113
|
+
placement: placement,
|
1114
|
+
boundary: boundary,
|
1115
|
+
rootBoundary: rootBoundary,
|
1116
|
+
altBoundary: altBoundary,
|
1117
|
+
padding: padding
|
1118
|
+
});
|
1119
|
+
var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : top;
|
1120
|
+
|
1121
|
+
if (referenceRect[len] > popperRect[len]) {
|
1122
|
+
mainVariationSide = getOppositePlacement(mainVariationSide);
|
1123
|
+
}
|
1124
|
+
|
1125
|
+
var altVariationSide = getOppositePlacement(mainVariationSide);
|
1126
|
+
var checks = [];
|
1127
|
+
|
1128
|
+
if (checkMainAxis) {
|
1129
|
+
checks.push(overflow[_basePlacement] <= 0);
|
1130
|
+
}
|
1131
|
+
|
1132
|
+
if (checkAltAxis) {
|
1133
|
+
checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);
|
1134
|
+
}
|
1135
|
+
|
1136
|
+
if (checks.every(function (check) {
|
1137
|
+
return check;
|
1138
|
+
})) {
|
1139
|
+
firstFittingPlacement = placement;
|
1140
|
+
makeFallbackChecks = false;
|
1141
|
+
break;
|
1142
|
+
}
|
1143
|
+
|
1144
|
+
checksMap.set(placement, checks);
|
1145
|
+
}
|
1146
|
+
|
1147
|
+
if (makeFallbackChecks) {
|
1148
|
+
// `2` may be desired in some cases – research later
|
1149
|
+
var numberOfChecks = flipVariations ? 3 : 1;
|
1150
|
+
|
1151
|
+
var _loop = function _loop(_i) {
|
1152
|
+
var fittingPlacement = placements.find(function (placement) {
|
1153
|
+
var checks = checksMap.get(placement);
|
1154
|
+
|
1155
|
+
if (checks) {
|
1156
|
+
return checks.slice(0, _i).every(function (check) {
|
1157
|
+
return check;
|
1158
|
+
});
|
1159
|
+
}
|
1160
|
+
});
|
1161
|
+
|
1162
|
+
if (fittingPlacement) {
|
1163
|
+
firstFittingPlacement = fittingPlacement;
|
1164
|
+
return "break";
|
1165
|
+
}
|
1166
|
+
};
|
1167
|
+
|
1168
|
+
for (var _i = numberOfChecks; _i > 0; _i--) {
|
1169
|
+
var _ret = _loop(_i);
|
1170
|
+
|
1171
|
+
if (_ret === "break") break;
|
1172
|
+
}
|
1173
|
+
}
|
1174
|
+
|
1175
|
+
if (state.placement !== firstFittingPlacement) {
|
1176
|
+
state.modifiersData[name]._skip = true;
|
1177
|
+
state.placement = firstFittingPlacement;
|
1178
|
+
state.reset = true;
|
1179
|
+
}
|
1180
|
+
} // eslint-disable-next-line import/no-unused-modules
|
1181
|
+
|
1182
|
+
|
1183
|
+
const flip$1 = {
|
1184
|
+
name: 'flip',
|
1185
|
+
enabled: true,
|
1186
|
+
phase: 'main',
|
1187
|
+
fn: flip,
|
1188
|
+
requiresIfExists: ['offset'],
|
1189
|
+
data: {
|
1190
|
+
_skip: false
|
1191
|
+
}
|
1192
|
+
};
|
1193
|
+
|
1194
|
+
function getSideOffsets(overflow, rect, preventedOffsets) {
|
1195
|
+
if (preventedOffsets === void 0) {
|
1196
|
+
preventedOffsets = {
|
1197
|
+
x: 0,
|
1198
|
+
y: 0
|
1199
|
+
};
|
1200
|
+
}
|
1201
|
+
|
1202
|
+
return {
|
1203
|
+
top: overflow.top - rect.height - preventedOffsets.y,
|
1204
|
+
right: overflow.right - rect.width + preventedOffsets.x,
|
1205
|
+
bottom: overflow.bottom - rect.height + preventedOffsets.y,
|
1206
|
+
left: overflow.left - rect.width - preventedOffsets.x
|
1207
|
+
};
|
1208
|
+
}
|
1209
|
+
|
1210
|
+
function isAnySideFullyClipped(overflow) {
|
1211
|
+
return [top, right, bottom, left].some(function (side) {
|
1212
|
+
return overflow[side] >= 0;
|
1213
|
+
});
|
1214
|
+
}
|
1215
|
+
|
1216
|
+
function hide(_ref) {
|
1217
|
+
var state = _ref.state,
|
1218
|
+
name = _ref.name;
|
1219
|
+
var referenceRect = state.rects.reference;
|
1220
|
+
var popperRect = state.rects.popper;
|
1221
|
+
var preventedOffsets = state.modifiersData.preventOverflow;
|
1222
|
+
var referenceOverflow = detectOverflow(state, {
|
1223
|
+
elementContext: 'reference'
|
1224
|
+
});
|
1225
|
+
var popperAltOverflow = detectOverflow(state, {
|
1226
|
+
altBoundary: true
|
1227
|
+
});
|
1228
|
+
var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);
|
1229
|
+
var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);
|
1230
|
+
var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);
|
1231
|
+
var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);
|
1232
|
+
state.modifiersData[name] = {
|
1233
|
+
referenceClippingOffsets: referenceClippingOffsets,
|
1234
|
+
popperEscapeOffsets: popperEscapeOffsets,
|
1235
|
+
isReferenceHidden: isReferenceHidden,
|
1236
|
+
hasPopperEscaped: hasPopperEscaped
|
1237
|
+
};
|
1238
|
+
state.attributes.popper = Object.assign({}, state.attributes.popper, {
|
1239
|
+
'data-popper-reference-hidden': isReferenceHidden,
|
1240
|
+
'data-popper-escaped': hasPopperEscaped
|
1241
|
+
});
|
1242
|
+
} // eslint-disable-next-line import/no-unused-modules
|
1243
|
+
|
1244
|
+
|
1245
|
+
const hide$1 = {
|
1246
|
+
name: 'hide',
|
1247
|
+
enabled: true,
|
1248
|
+
phase: 'main',
|
1249
|
+
requiresIfExists: ['preventOverflow'],
|
1250
|
+
fn: hide
|
1251
|
+
};
|
1252
|
+
|
1253
|
+
function distanceAndSkiddingToXY(placement, rects, offset) {
|
1254
|
+
var basePlacement = getBasePlacement(placement);
|
1255
|
+
var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1;
|
1256
|
+
|
1257
|
+
var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {
|
1258
|
+
placement: placement
|
1259
|
+
})) : offset,
|
1260
|
+
skidding = _ref[0],
|
1261
|
+
distance = _ref[1];
|
1262
|
+
|
1263
|
+
skidding = skidding || 0;
|
1264
|
+
distance = (distance || 0) * invertDistance;
|
1265
|
+
return [left, right].indexOf(basePlacement) >= 0 ? {
|
1266
|
+
x: distance,
|
1267
|
+
y: skidding
|
1268
|
+
} : {
|
1269
|
+
x: skidding,
|
1270
|
+
y: distance
|
1271
|
+
};
|
1272
|
+
}
|
1273
|
+
|
1274
|
+
function offset(_ref2) {
|
1275
|
+
var state = _ref2.state,
|
1276
|
+
options = _ref2.options,
|
1277
|
+
name = _ref2.name;
|
1278
|
+
var _options$offset = options.offset,
|
1279
|
+
offset = _options$offset === void 0 ? [0, 0] : _options$offset;
|
1280
|
+
var data = placements.reduce(function (acc, placement) {
|
1281
|
+
acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);
|
1282
|
+
return acc;
|
1283
|
+
}, {});
|
1284
|
+
var _data$state$placement = data[state.placement],
|
1285
|
+
x = _data$state$placement.x,
|
1286
|
+
y = _data$state$placement.y;
|
1287
|
+
|
1288
|
+
if (state.modifiersData.popperOffsets != null) {
|
1289
|
+
state.modifiersData.popperOffsets.x += x;
|
1290
|
+
state.modifiersData.popperOffsets.y += y;
|
1291
|
+
}
|
1292
|
+
|
1293
|
+
state.modifiersData[name] = data;
|
1294
|
+
} // eslint-disable-next-line import/no-unused-modules
|
1295
|
+
|
1296
|
+
|
1297
|
+
const offset$1 = {
|
1298
|
+
name: 'offset',
|
1299
|
+
enabled: true,
|
1300
|
+
phase: 'main',
|
1301
|
+
requires: ['popperOffsets'],
|
1302
|
+
fn: offset
|
1303
|
+
};
|
1304
|
+
|
1305
|
+
function popperOffsets(_ref) {
|
1306
|
+
var state = _ref.state,
|
1307
|
+
name = _ref.name;
|
1308
|
+
// Offsets are the actual position the popper needs to have to be
|
1309
|
+
// properly positioned near its reference element
|
1310
|
+
// This is the most basic placement, and will be adjusted by
|
1311
|
+
// the modifiers in the next step
|
1312
|
+
state.modifiersData[name] = computeOffsets({
|
1313
|
+
reference: state.rects.reference,
|
1314
|
+
element: state.rects.popper,
|
1315
|
+
strategy: 'absolute',
|
1316
|
+
placement: state.placement
|
1317
|
+
});
|
1318
|
+
} // eslint-disable-next-line import/no-unused-modules
|
1319
|
+
|
1320
|
+
|
1321
|
+
const popperOffsets$1 = {
|
1322
|
+
name: 'popperOffsets',
|
1323
|
+
enabled: true,
|
1324
|
+
phase: 'read',
|
1325
|
+
fn: popperOffsets,
|
1326
|
+
data: {}
|
1327
|
+
};
|
1328
|
+
|
1329
|
+
function getAltAxis(axis) {
|
1330
|
+
return axis === 'x' ? 'y' : 'x';
|
1331
|
+
}
|
1332
|
+
|
1333
|
+
function preventOverflow(_ref) {
|
1334
|
+
var state = _ref.state,
|
1335
|
+
options = _ref.options,
|
1336
|
+
name = _ref.name;
|
1337
|
+
var _options$mainAxis = options.mainAxis,
|
1338
|
+
checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,
|
1339
|
+
_options$altAxis = options.altAxis,
|
1340
|
+
checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis,
|
1341
|
+
boundary = options.boundary,
|
1342
|
+
rootBoundary = options.rootBoundary,
|
1343
|
+
altBoundary = options.altBoundary,
|
1344
|
+
padding = options.padding,
|
1345
|
+
_options$tether = options.tether,
|
1346
|
+
tether = _options$tether === void 0 ? true : _options$tether,
|
1347
|
+
_options$tetherOffset = options.tetherOffset,
|
1348
|
+
tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;
|
1349
|
+
var overflow = detectOverflow(state, {
|
1350
|
+
boundary: boundary,
|
1351
|
+
rootBoundary: rootBoundary,
|
1352
|
+
padding: padding,
|
1353
|
+
altBoundary: altBoundary
|
1354
|
+
});
|
1355
|
+
var basePlacement = getBasePlacement(state.placement);
|
1356
|
+
var variation = getVariation(state.placement);
|
1357
|
+
var isBasePlacement = !variation;
|
1358
|
+
var mainAxis = getMainAxisFromPlacement(basePlacement);
|
1359
|
+
var altAxis = getAltAxis(mainAxis);
|
1360
|
+
var popperOffsets = state.modifiersData.popperOffsets;
|
1361
|
+
var referenceRect = state.rects.reference;
|
1362
|
+
var popperRect = state.rects.popper;
|
1363
|
+
var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {
|
1364
|
+
placement: state.placement
|
1365
|
+
})) : tetherOffset;
|
1366
|
+
var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {
|
1367
|
+
mainAxis: tetherOffsetValue,
|
1368
|
+
altAxis: tetherOffsetValue
|
1369
|
+
} : Object.assign({
|
1370
|
+
mainAxis: 0,
|
1371
|
+
altAxis: 0
|
1372
|
+
}, tetherOffsetValue);
|
1373
|
+
var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;
|
1374
|
+
var data = {
|
1375
|
+
x: 0,
|
1376
|
+
y: 0
|
1377
|
+
};
|
1378
|
+
|
1379
|
+
if (!popperOffsets) {
|
1380
|
+
return;
|
1381
|
+
}
|
1382
|
+
|
1383
|
+
if (checkMainAxis) {
|
1384
|
+
var _offsetModifierState$;
|
1385
|
+
|
1386
|
+
var mainSide = mainAxis === 'y' ? top : left;
|
1387
|
+
var altSide = mainAxis === 'y' ? bottom : right;
|
1388
|
+
var len = mainAxis === 'y' ? 'height' : 'width';
|
1389
|
+
var offset = popperOffsets[mainAxis];
|
1390
|
+
var min$1 = offset + overflow[mainSide];
|
1391
|
+
var max$1 = offset - overflow[altSide];
|
1392
|
+
var additive = tether ? -popperRect[len] / 2 : 0;
|
1393
|
+
var minLen = variation === start ? referenceRect[len] : popperRect[len];
|
1394
|
+
var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go
|
1395
|
+
// outside the reference bounds
|
1396
|
+
|
1397
|
+
var arrowElement = state.elements.arrow;
|
1398
|
+
var arrowRect = tether && arrowElement ? getLayoutRect(arrowElement) : {
|
1399
|
+
width: 0,
|
1400
|
+
height: 0
|
1401
|
+
};
|
1402
|
+
var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : getFreshSideObject();
|
1403
|
+
var arrowPaddingMin = arrowPaddingObject[mainSide];
|
1404
|
+
var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want
|
1405
|
+
// to include its full size in the calculation. If the reference is small
|
1406
|
+
// and near the edge of a boundary, the popper can overflow even if the
|
1407
|
+
// reference is not overflowing as well (e.g. virtual elements with no
|
1408
|
+
// width or height)
|
1409
|
+
|
1410
|
+
var arrowLen = within(0, referenceRect[len], arrowRect[len]);
|
1411
|
+
var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;
|
1412
|
+
var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
|
1413
|
+
var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);
|
1414
|
+
var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
|
1415
|
+
var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
|
1416
|
+
var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
|
1417
|
+
var tetherMax = offset + maxOffset - offsetModifierValue;
|
1418
|
+
var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
|
1419
|
+
popperOffsets[mainAxis] = preventedOffset;
|
1420
|
+
data[mainAxis] = preventedOffset - offset;
|
1421
|
+
}
|
1422
|
+
|
1423
|
+
if (checkAltAxis) {
|
1424
|
+
var _offsetModifierState$2;
|
1425
|
+
|
1426
|
+
var _mainSide = mainAxis === 'x' ? top : left;
|
1427
|
+
|
1428
|
+
var _altSide = mainAxis === 'x' ? bottom : right;
|
1429
|
+
|
1430
|
+
var _offset = popperOffsets[altAxis];
|
1431
|
+
|
1432
|
+
var _len = altAxis === 'y' ? 'height' : 'width';
|
1433
|
+
|
1434
|
+
var _min = _offset + overflow[_mainSide];
|
1435
|
+
|
1436
|
+
var _max = _offset - overflow[_altSide];
|
1437
|
+
|
1438
|
+
var isOriginSide = [top, left].indexOf(basePlacement) !== -1;
|
1439
|
+
|
1440
|
+
var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;
|
1441
|
+
|
1442
|
+
var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;
|
1443
|
+
|
1444
|
+
var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;
|
1445
|
+
|
1446
|
+
var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);
|
1447
|
+
|
1448
|
+
popperOffsets[altAxis] = _preventedOffset;
|
1449
|
+
data[altAxis] = _preventedOffset - _offset;
|
1450
|
+
}
|
1451
|
+
|
1452
|
+
state.modifiersData[name] = data;
|
1453
|
+
} // eslint-disable-next-line import/no-unused-modules
|
1454
|
+
|
1455
|
+
|
1456
|
+
const preventOverflow$1 = {
|
1457
|
+
name: 'preventOverflow',
|
1458
|
+
enabled: true,
|
1459
|
+
phase: 'main',
|
1460
|
+
fn: preventOverflow,
|
1461
|
+
requiresIfExists: ['offset']
|
1462
|
+
};
|
1463
|
+
|
1464
|
+
function getHTMLElementScroll(element) {
|
1465
|
+
return {
|
1466
|
+
scrollLeft: element.scrollLeft,
|
1467
|
+
scrollTop: element.scrollTop
|
1468
|
+
};
|
1469
|
+
}
|
1470
|
+
|
1471
|
+
function getNodeScroll(node) {
|
1472
|
+
if (node === getWindow(node) || !isHTMLElement(node)) {
|
1473
|
+
return getWindowScroll(node);
|
1474
|
+
} else {
|
1475
|
+
return getHTMLElementScroll(node);
|
1476
|
+
}
|
1477
|
+
}
|
1478
|
+
|
1479
|
+
function isElementScaled(element) {
|
1480
|
+
var rect = element.getBoundingClientRect();
|
1481
|
+
var scaleX = round(rect.width) / element.offsetWidth || 1;
|
1482
|
+
var scaleY = round(rect.height) / element.offsetHeight || 1;
|
1483
|
+
return scaleX !== 1 || scaleY !== 1;
|
1484
|
+
} // Returns the composite rect of an element relative to its offsetParent.
|
1485
|
+
// Composite means it takes into account transforms as well as layout.
|
1486
|
+
|
1487
|
+
|
1488
|
+
function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
|
1489
|
+
if (isFixed === void 0) {
|
1490
|
+
isFixed = false;
|
1491
|
+
}
|
1492
|
+
|
1493
|
+
var isOffsetParentAnElement = isHTMLElement(offsetParent);
|
1494
|
+
var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);
|
1495
|
+
var documentElement = getDocumentElement(offsetParent);
|
1496
|
+
var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled, isFixed);
|
1497
|
+
var scroll = {
|
1498
|
+
scrollLeft: 0,
|
1499
|
+
scrollTop: 0
|
1500
|
+
};
|
1501
|
+
var offsets = {
|
1502
|
+
x: 0,
|
1503
|
+
y: 0
|
1504
|
+
};
|
1505
|
+
|
1506
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
1507
|
+
if (getNodeName(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078
|
1508
|
+
isScrollParent(documentElement)) {
|
1509
|
+
scroll = getNodeScroll(offsetParent);
|
1510
|
+
}
|
1511
|
+
|
1512
|
+
if (isHTMLElement(offsetParent)) {
|
1513
|
+
offsets = getBoundingClientRect(offsetParent, true);
|
1514
|
+
offsets.x += offsetParent.clientLeft;
|
1515
|
+
offsets.y += offsetParent.clientTop;
|
1516
|
+
} else if (documentElement) {
|
1517
|
+
offsets.x = getWindowScrollBarX(documentElement);
|
1518
|
+
}
|
1519
|
+
}
|
1520
|
+
|
1521
|
+
return {
|
1522
|
+
x: rect.left + scroll.scrollLeft - offsets.x,
|
1523
|
+
y: rect.top + scroll.scrollTop - offsets.y,
|
1524
|
+
width: rect.width,
|
1525
|
+
height: rect.height
|
1526
|
+
};
|
1527
|
+
}
|
1528
|
+
|
1529
|
+
function order(modifiers) {
|
1530
|
+
var map = new Map();
|
1531
|
+
var visited = new Set();
|
1532
|
+
var result = [];
|
1533
|
+
modifiers.forEach(function (modifier) {
|
1534
|
+
map.set(modifier.name, modifier);
|
1535
|
+
}); // On visiting object, check for its dependencies and visit them recursively
|
1536
|
+
|
1537
|
+
function sort(modifier) {
|
1538
|
+
visited.add(modifier.name);
|
1539
|
+
var requires = [].concat(modifier.requires || [], modifier.requiresIfExists || []);
|
1540
|
+
requires.forEach(function (dep) {
|
1541
|
+
if (!visited.has(dep)) {
|
1542
|
+
var depModifier = map.get(dep);
|
1543
|
+
|
1544
|
+
if (depModifier) {
|
1545
|
+
sort(depModifier);
|
1546
|
+
}
|
1547
|
+
}
|
1548
|
+
});
|
1549
|
+
result.push(modifier);
|
1550
|
+
}
|
1551
|
+
|
1552
|
+
modifiers.forEach(function (modifier) {
|
1553
|
+
if (!visited.has(modifier.name)) {
|
1554
|
+
// check for visited object
|
1555
|
+
sort(modifier);
|
1556
|
+
}
|
1557
|
+
});
|
1558
|
+
return result;
|
1559
|
+
}
|
1560
|
+
|
1561
|
+
function orderModifiers(modifiers) {
|
1562
|
+
// order based on dependencies
|
1563
|
+
var orderedModifiers = order(modifiers); // order based on phase
|
1564
|
+
|
1565
|
+
return modifierPhases.reduce(function (acc, phase) {
|
1566
|
+
return acc.concat(orderedModifiers.filter(function (modifier) {
|
1567
|
+
return modifier.phase === phase;
|
1568
|
+
}));
|
1569
|
+
}, []);
|
1570
|
+
}
|
1571
|
+
|
1572
|
+
function debounce(fn) {
|
1573
|
+
var pending;
|
1574
|
+
return function () {
|
1575
|
+
if (!pending) {
|
1576
|
+
pending = new Promise(function (resolve) {
|
1577
|
+
Promise.resolve().then(function () {
|
1578
|
+
pending = undefined;
|
1579
|
+
resolve(fn());
|
1580
|
+
});
|
1581
|
+
});
|
1582
|
+
}
|
1583
|
+
|
1584
|
+
return pending;
|
1585
|
+
};
|
1586
|
+
}
|
1587
|
+
|
1588
|
+
function mergeByName(modifiers) {
|
1589
|
+
var merged = modifiers.reduce(function (merged, current) {
|
1590
|
+
var existing = merged[current.name];
|
1591
|
+
merged[current.name] = existing ? Object.assign({}, existing, current, {
|
1592
|
+
options: Object.assign({}, existing.options, current.options),
|
1593
|
+
data: Object.assign({}, existing.data, current.data)
|
1594
|
+
}) : current;
|
1595
|
+
return merged;
|
1596
|
+
}, {}); // IE11 does not support Object.values
|
1597
|
+
|
1598
|
+
return Object.keys(merged).map(function (key) {
|
1599
|
+
return merged[key];
|
1600
|
+
});
|
1601
|
+
}
|
1602
|
+
|
1603
|
+
var DEFAULT_OPTIONS = {
|
1604
|
+
placement: 'bottom',
|
1605
|
+
modifiers: [],
|
1606
|
+
strategy: 'absolute'
|
1607
|
+
};
|
1608
|
+
|
1609
|
+
function areValidElements() {
|
1610
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
1611
|
+
args[_key] = arguments[_key];
|
1612
|
+
}
|
1613
|
+
|
1614
|
+
return !args.some(function (element) {
|
1615
|
+
return !(element && typeof element.getBoundingClientRect === 'function');
|
1616
|
+
});
|
1617
|
+
}
|
1618
|
+
|
1619
|
+
function popperGenerator(generatorOptions) {
|
1620
|
+
if (generatorOptions === void 0) {
|
1621
|
+
generatorOptions = {};
|
1622
|
+
}
|
1623
|
+
|
1624
|
+
var _generatorOptions = generatorOptions,
|
1625
|
+
_generatorOptions$def = _generatorOptions.defaultModifiers,
|
1626
|
+
defaultModifiers = _generatorOptions$def === void 0 ? [] : _generatorOptions$def,
|
1627
|
+
_generatorOptions$def2 = _generatorOptions.defaultOptions,
|
1628
|
+
defaultOptions = _generatorOptions$def2 === void 0 ? DEFAULT_OPTIONS : _generatorOptions$def2;
|
1629
|
+
return function createPopper(reference, popper, options) {
|
1630
|
+
if (options === void 0) {
|
1631
|
+
options = defaultOptions;
|
1632
|
+
}
|
1633
|
+
|
1634
|
+
var state = {
|
1635
|
+
placement: 'bottom',
|
1636
|
+
orderedModifiers: [],
|
1637
|
+
options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions),
|
1638
|
+
modifiersData: {},
|
1639
|
+
elements: {
|
1640
|
+
reference: reference,
|
1641
|
+
popper: popper
|
1642
|
+
},
|
1643
|
+
attributes: {},
|
1644
|
+
styles: {}
|
1645
|
+
};
|
1646
|
+
var effectCleanupFns = [];
|
1647
|
+
var isDestroyed = false;
|
1648
|
+
var instance = {
|
1649
|
+
state: state,
|
1650
|
+
setOptions: function setOptions(setOptionsAction) {
|
1651
|
+
var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;
|
1652
|
+
cleanupModifierEffects();
|
1653
|
+
state.options = Object.assign({}, defaultOptions, state.options, options);
|
1654
|
+
state.scrollParents = {
|
1655
|
+
reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],
|
1656
|
+
popper: listScrollParents(popper)
|
1657
|
+
}; // Orders the modifiers based on their dependencies and `phase`
|
1658
|
+
// properties
|
1659
|
+
|
1660
|
+
var orderedModifiers = orderModifiers(mergeByName([].concat(defaultModifiers, state.options.modifiers))); // Strip out disabled modifiers
|
1661
|
+
|
1662
|
+
state.orderedModifiers = orderedModifiers.filter(function (m) {
|
1663
|
+
return m.enabled;
|
1664
|
+
});
|
1665
|
+
runModifierEffects();
|
1666
|
+
return instance.update();
|
1667
|
+
},
|
1668
|
+
// Sync update – it will always be executed, even if not necessary. This
|
1669
|
+
// is useful for low frequency updates where sync behavior simplifies the
|
1670
|
+
// logic.
|
1671
|
+
// For high frequency updates (e.g. `resize` and `scroll` events), always
|
1672
|
+
// prefer the async Popper#update method
|
1673
|
+
forceUpdate: function forceUpdate() {
|
1674
|
+
if (isDestroyed) {
|
1675
|
+
return;
|
1676
|
+
}
|
1677
|
+
|
1678
|
+
var _state$elements = state.elements,
|
1679
|
+
reference = _state$elements.reference,
|
1680
|
+
popper = _state$elements.popper; // Don't proceed if `reference` or `popper` are not valid elements
|
1681
|
+
// anymore
|
1682
|
+
|
1683
|
+
if (!areValidElements(reference, popper)) {
|
1684
|
+
return;
|
1685
|
+
} // Store the reference and popper rects to be read by modifiers
|
1686
|
+
|
1687
|
+
|
1688
|
+
state.rects = {
|
1689
|
+
reference: getCompositeRect(reference, getOffsetParent(popper), state.options.strategy === 'fixed'),
|
1690
|
+
popper: getLayoutRect(popper)
|
1691
|
+
}; // Modifiers have the ability to reset the current update cycle. The
|
1692
|
+
// most common use case for this is the `flip` modifier changing the
|
1693
|
+
// placement, which then needs to re-run all the modifiers, because the
|
1694
|
+
// logic was previously ran for the previous placement and is therefore
|
1695
|
+
// stale/incorrect
|
1696
|
+
|
1697
|
+
state.reset = false;
|
1698
|
+
state.placement = state.options.placement; // On each update cycle, the `modifiersData` property for each modifier
|
1699
|
+
// is filled with the initial data specified by the modifier. This means
|
1700
|
+
// it doesn't persist and is fresh on each update.
|
1701
|
+
// To ensure persistent data, use `${name}#persistent`
|
1702
|
+
|
1703
|
+
state.orderedModifiers.forEach(function (modifier) {
|
1704
|
+
return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);
|
1705
|
+
});
|
1706
|
+
|
1707
|
+
for (var index = 0; index < state.orderedModifiers.length; index++) {
|
1708
|
+
if (state.reset === true) {
|
1709
|
+
state.reset = false;
|
1710
|
+
index = -1;
|
1711
|
+
continue;
|
1712
|
+
}
|
1713
|
+
|
1714
|
+
var _state$orderedModifie = state.orderedModifiers[index],
|
1715
|
+
fn = _state$orderedModifie.fn,
|
1716
|
+
_state$orderedModifie2 = _state$orderedModifie.options,
|
1717
|
+
_options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2,
|
1718
|
+
name = _state$orderedModifie.name;
|
1719
|
+
|
1720
|
+
if (typeof fn === 'function') {
|
1721
|
+
state = fn({
|
1722
|
+
state: state,
|
1723
|
+
options: _options,
|
1724
|
+
name: name,
|
1725
|
+
instance: instance
|
1726
|
+
}) || state;
|
1727
|
+
}
|
1728
|
+
}
|
1729
|
+
},
|
1730
|
+
// Async and optimistically optimized update – it will not be executed if
|
1731
|
+
// not necessary (debounced to run at most once-per-tick)
|
1732
|
+
update: debounce(function () {
|
1733
|
+
return new Promise(function (resolve) {
|
1734
|
+
instance.forceUpdate();
|
1735
|
+
resolve(state);
|
1736
|
+
});
|
1737
|
+
}),
|
1738
|
+
destroy: function destroy() {
|
1739
|
+
cleanupModifierEffects();
|
1740
|
+
isDestroyed = true;
|
1741
|
+
}
|
1742
|
+
};
|
1743
|
+
|
1744
|
+
if (!areValidElements(reference, popper)) {
|
1745
|
+
return instance;
|
1746
|
+
}
|
1747
|
+
|
1748
|
+
instance.setOptions(options).then(function (state) {
|
1749
|
+
if (!isDestroyed && options.onFirstUpdate) {
|
1750
|
+
options.onFirstUpdate(state);
|
1751
|
+
}
|
1752
|
+
}); // Modifiers have the ability to execute arbitrary code before the first
|
1753
|
+
// update cycle runs. They will be executed in the same order as the update
|
1754
|
+
// cycle. This is useful when a modifier adds some persistent data that
|
1755
|
+
// other modifiers need to use, but the modifier is run after the dependent
|
1756
|
+
// one.
|
1757
|
+
|
1758
|
+
function runModifierEffects() {
|
1759
|
+
state.orderedModifiers.forEach(function (_ref) {
|
1760
|
+
var name = _ref.name,
|
1761
|
+
_ref$options = _ref.options,
|
1762
|
+
options = _ref$options === void 0 ? {} : _ref$options,
|
1763
|
+
effect = _ref.effect;
|
1764
|
+
|
1765
|
+
if (typeof effect === 'function') {
|
1766
|
+
var cleanupFn = effect({
|
1767
|
+
state: state,
|
1768
|
+
name: name,
|
1769
|
+
instance: instance,
|
1770
|
+
options: options
|
1771
|
+
});
|
1772
|
+
|
1773
|
+
var noopFn = function noopFn() {};
|
1774
|
+
|
1775
|
+
effectCleanupFns.push(cleanupFn || noopFn);
|
1776
|
+
}
|
1777
|
+
});
|
1778
|
+
}
|
1779
|
+
|
1780
|
+
function cleanupModifierEffects() {
|
1781
|
+
effectCleanupFns.forEach(function (fn) {
|
1782
|
+
return fn();
|
1783
|
+
});
|
1784
|
+
effectCleanupFns = [];
|
1785
|
+
}
|
1786
|
+
|
1787
|
+
return instance;
|
1788
|
+
};
|
1789
|
+
}
|
1790
|
+
|
1791
|
+
var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyStyles$1, offset$1, flip$1, preventOverflow$1, arrow$1, hide$1];
|
1792
|
+
var createPopper = /*#__PURE__*/popperGenerator({
|
1793
|
+
defaultModifiers: defaultModifiers
|
1794
|
+
}); // eslint-disable-next-line import/no-unused-modules
|
1795
|
+
|
1796
|
+
const icTooltipCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host(.ic-tooltip) .ic-tooltip-container{background-color:var(--ic-architectural-800);color:#ffff;text-align:center;padding:var(--ic-space-xxxs) 0.625rem;border-radius:var(--ic-border-radius);border:var(--ic-space-1px) solid var(--ic-architectural-40);position:absolute;max-width:20rem;display:none;z-index:var(--ic-z-index-tooltip);box-shadow:var(--ic-elevation-overlay)}:host(.tooltip-navigation-item:not(.tooltip-navigation-item-side-nav-collapsed)) .ic-tooltip-container,:host(.tooltip-disabled) .ic-tooltip-container{display:none !important}:host(.tooltip-long-label-navigation-item-side-nav-expanded) .ic-tooltip-container[data-show]{display:block !important}:host(.ic-tooltip) .ic-tooltip-arrow,:host(.ic-tooltip) .ic-tooltip-arrow::before{position:absolute;background:inherit}:host(.ic-tooltip) .ic-tooltip-arrow{visibility:hidden;width:var(--ic-space-md);height:var(--ic-space-md)}:host(.ic-tooltip) .ic-tooltip-arrow::before{visibility:visible;content:\"\";border:var(--ic-space-1px) solid var(--ic-architectural-40);width:100%;height:100%}:host(.ic-tooltip) .ic-tooltip-container[data-show]{display:block}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"top\"]>.ic-tooltip-arrow{height:var(--ic-space-xxxs)}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"top\"]>.ic-tooltip-arrow::before{border-radius:0 0 var(--ic-border-radius) var(--ic-border-radius);left:0;top:var(--ic-space-xxxs);border-top:0}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"bottom\"]>.ic-tooltip-arrow{top:calc(-1 * var(--ic-space-xxs));height:var(--ic-space-xxxs)}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"bottom\"]>.ic-tooltip-arrow::before{border-radius:var(--ic-border-radius) var(--ic-border-radius) 0 0;left:0;top:var(--ic-space-1px);border-bottom:0}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"left\"]>.ic-tooltip-arrow{width:var(--ic-space-xxxs);right:calc(-1 * var(--ic-space-1px))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"left\"]>.ic-tooltip-arrow::before{border-radius:0 var(--ic-border-radius) var(--ic-border-radius) 0;border-left:0;top:calc(-1 * var(--ic-space-1px))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"right\"]>.ic-tooltip-arrow{width:var(--ic-space-xxxs);left:calc(-1 * var(--ic-space-xxs))}:host(.ic-tooltip) .ic-tooltip-container[data-popper-placement^=\"right\"]>.ic-tooltip-arrow::before{border-radius:var(--ic-border-radius) 0 0 var(--ic-border-radius);border-right:0;top:calc(-1 * var(--ic-space-1px))}@media (forced-colors: active){:host(.ic-tooltip) .ic-tooltip-container,:host(.ic-tooltip) .ic-tooltip-arrow::before{border:var(--ic-hc-border)}}";
|
1797
|
+
|
1798
|
+
const Tooltip = /*@__PURE__*/ proxyCustomElement(class Tooltip extends HTMLElement$1 {
|
9
1799
|
constructor() {
|
10
1800
|
super();
|
11
1801
|
this.__registerHost();
|
12
1802
|
this.__attachShadow();
|
1803
|
+
this.delayedHideEvents = ["mouseleave"];
|
1804
|
+
this.instantHideEvents = ["focusout"];
|
13
1805
|
this.mouseOverTool = false;
|
1806
|
+
this.persistTooltip = false;
|
1807
|
+
this.screenReaderOnlyStyles = {
|
1808
|
+
position: "absolute",
|
1809
|
+
left: "-10000px",
|
1810
|
+
top: "auto",
|
1811
|
+
width: "1px",
|
1812
|
+
height: "1px",
|
1813
|
+
overflow: "hidden",
|
1814
|
+
};
|
14
1815
|
this.showEvents = this.disableHover
|
15
1816
|
? ["click"]
|
16
1817
|
: ["mouseenter", "focusin"];
|
17
|
-
this.
|
18
|
-
this.delayedHideEvents = ["mouseleave"];
|
19
|
-
this.show = (popper) => {
|
1818
|
+
this.show = () => {
|
20
1819
|
this.toolTip.setAttribute("data-show", "");
|
21
|
-
|
22
|
-
...options.modifiers,
|
23
|
-
{ name: "eventListeners", enabled: true },
|
24
|
-
] })));
|
25
|
-
popper.update();
|
1820
|
+
this.popperInstance.update();
|
26
1821
|
};
|
27
|
-
this.hide = (
|
1822
|
+
this.hide = () => {
|
28
1823
|
this.toolTip.removeAttribute("data-show");
|
29
|
-
|
30
|
-
...options.modifiers,
|
31
|
-
{ name: "eventListeners", enabled: false },
|
32
|
-
] })));
|
1824
|
+
this.persistTooltip = false;
|
33
1825
|
};
|
34
|
-
this.checkCloseTooltip = (
|
1826
|
+
this.checkCloseTooltip = () => {
|
35
1827
|
setTimeout(() => {
|
36
|
-
if (!this.mouseOverTool) {
|
37
|
-
this.hide(
|
1828
|
+
if (!this.mouseOverTool && !this.persistTooltip) {
|
1829
|
+
this.hide();
|
38
1830
|
}
|
39
1831
|
}, 100);
|
40
1832
|
};
|
41
1833
|
this.mouseEnterTooltip = () => {
|
42
1834
|
this.mouseOverTool = true;
|
43
1835
|
};
|
44
|
-
this.mouseLeaveTooltip = (
|
1836
|
+
this.mouseLeaveTooltip = () => {
|
45
1837
|
this.mouseOverTool = false;
|
46
|
-
this.checkCloseTooltip(
|
1838
|
+
this.checkCloseTooltip();
|
47
1839
|
};
|
48
|
-
this.handleKeyDown = (
|
49
|
-
if (key === "Escape") {
|
50
|
-
this.hide(
|
1840
|
+
this.handleKeyDown = (event) => {
|
1841
|
+
if (event.key === "Escape" && !this.persistTooltip) {
|
1842
|
+
this.hide();
|
51
1843
|
}
|
52
1844
|
};
|
53
1845
|
this.manageEventListeners = (action) => {
|
54
1846
|
const method = action === "add" ? "addEventListener" : "removeEventListener";
|
55
1847
|
this.showEvents.forEach((event) => {
|
56
|
-
this.el[method](event,
|
57
|
-
this.toolTip
|
58
|
-
|
59
|
-
|
60
|
-
this.el[method](event, () => this.hide(this.popperInstance));
|
1848
|
+
this.el[method](event, this.show);
|
1849
|
+
if (this.toolTip !== undefined) {
|
1850
|
+
this.toolTip[method](event, this.mouseEnterTooltip);
|
1851
|
+
}
|
61
1852
|
});
|
1853
|
+
if (!this.persistTooltip) {
|
1854
|
+
this.instantHideEvents.forEach((event) => {
|
1855
|
+
this.el[method](event, this.hide);
|
1856
|
+
});
|
1857
|
+
}
|
62
1858
|
this.delayedHideEvents.forEach((event) => {
|
63
|
-
this.el[method](event,
|
64
|
-
this.toolTip
|
1859
|
+
this.el[method](event, this.checkCloseTooltip);
|
1860
|
+
if (this.toolTip !== undefined) {
|
1861
|
+
this.toolTip[method](event, this.mouseLeaveTooltip);
|
1862
|
+
}
|
65
1863
|
});
|
66
|
-
document[method]("keydown",
|
1864
|
+
document[method]("keydown", this.handleKeyDown);
|
67
1865
|
};
|
68
|
-
this.
|
69
|
-
position: "absolute",
|
70
|
-
left: "-10000px",
|
71
|
-
top: "auto",
|
72
|
-
width: "1px",
|
73
|
-
height: "1px",
|
74
|
-
overflow: "hidden",
|
75
|
-
};
|
76
|
-
this.target = undefined;
|
1866
|
+
this.disableHover = false;
|
77
1867
|
this.placement = "bottom";
|
1868
|
+
this.target = undefined;
|
78
1869
|
this.label = undefined;
|
79
|
-
this.disableHover = false;
|
80
1870
|
}
|
81
1871
|
updateLabel(newValue) {
|
82
1872
|
const describedBySpan = this.el.previousElementSibling;
|
@@ -84,6 +1874,10 @@ const Tooltip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
84
1874
|
describedBySpan.innerText = newValue;
|
85
1875
|
}
|
86
1876
|
}
|
1877
|
+
disconnectedCallback() {
|
1878
|
+
this.manageEventListeners("remove");
|
1879
|
+
this.popperInstance.destroy();
|
1880
|
+
}
|
87
1881
|
componentDidLoad() {
|
88
1882
|
this.popperInstance = createPopper(this.el, this.toolTip, {
|
89
1883
|
placement: this.placement,
|
@@ -100,6 +1894,10 @@ const Tooltip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
100
1894
|
element: this.arrow,
|
101
1895
|
},
|
102
1896
|
},
|
1897
|
+
{
|
1898
|
+
name: "eventListeners",
|
1899
|
+
options: { scroll: false, resize: false },
|
1900
|
+
},
|
103
1901
|
],
|
104
1902
|
});
|
105
1903
|
this.manageEventListeners("add");
|
@@ -113,8 +1911,14 @@ const Tooltip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
113
1911
|
this.el.insertAdjacentElement("beforebegin", ariaDescribedBy);
|
114
1912
|
}
|
115
1913
|
}
|
116
|
-
|
117
|
-
|
1914
|
+
/**
|
1915
|
+
* Method to programmatically show/hide the tooltip without needing to interact with an anchor element
|
1916
|
+
* @param show Whether to show or hide the tooltip
|
1917
|
+
* @param persistTooltip Whether the tooltip should stay on the screen when actions are performed that would previously dismiss the tooltip, such as on hover
|
1918
|
+
*/
|
1919
|
+
async displayTooltip(show, persistTooltip) {
|
1920
|
+
this.persistTooltip = persistTooltip;
|
1921
|
+
show ? this.show() : this.hide();
|
118
1922
|
}
|
119
1923
|
render() {
|
120
1924
|
const { label } = this;
|
@@ -126,10 +1930,11 @@ const Tooltip = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
126
1930
|
}; }
|
127
1931
|
static get style() { return icTooltipCss; }
|
128
1932
|
}, [1, "ic-tooltip", {
|
129
|
-
"
|
1933
|
+
"disableHover": [4, "disable-hover"],
|
130
1934
|
"placement": [1],
|
1935
|
+
"target": [513],
|
131
1936
|
"label": [1],
|
132
|
-
"
|
1937
|
+
"displayTooltip": [64]
|
133
1938
|
}]);
|
134
1939
|
function defineCustomElement() {
|
135
1940
|
if (typeof customElements === "undefined") {
|
@@ -150,6 +1955,6 @@ function defineCustomElement() {
|
|
150
1955
|
} });
|
151
1956
|
}
|
152
1957
|
|
153
|
-
export { Tooltip as T, defineCustomElement as d };
|
1958
|
+
export { Tooltip as T, createPopper as c, defineCustomElement as d };
|
154
1959
|
|
155
1960
|
//# sourceMappingURL=ic-tooltip2.js.map
|