@ukic/canary-web-components 2.0.0-canary.0 → 2.0.0-canary.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +31 -12
- package/dist/cjs/{OpenInNew-f9958725.js → OpenInNew-d5d30e77.js} +1 -1
- package/dist/cjs/OpenInNew-d5d30e77.js.map +1 -0
- package/dist/cjs/{check-icon-b2f60716.js → check-icon-7225d79b.js} +1 -1
- package/dist/cjs/check-icon-7225d79b.js.map +1 -0
- package/dist/cjs/{chevron-icon-2bb3a907.js → chevron-icon-3bf07531.js} +1 -1
- package/dist/cjs/chevron-icon-3bf07531.js.map +1 -0
- package/dist/cjs/{close-icon-8ccb0163.js → close-icon-7f6ef8e4.js} +2 -2
- package/dist/cjs/close-icon-7f6ef8e4.js.map +1 -0
- package/dist/cjs/core.cjs.js +3 -6
- package/dist/cjs/core.cjs.js.map +1 -1
- package/dist/cjs/{helpers-3811d14b.js → helpers-d166f875.js} +27 -10
- package/dist/cjs/helpers-d166f875.js.map +1 -0
- package/dist/cjs/ic-alert.cjs.entry.js +4 -4
- package/dist/cjs/ic-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-back-to-top.cjs.entry.js +3 -3
- package/dist/cjs/ic-back-to-top.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-breadcrumb-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-breadcrumb.cjs.entry.js +4 -4
- package/dist/cjs/ic-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-button_3.cjs.entry.js +228 -20
- package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-card.cjs.entry.js +4 -4
- package/dist/cjs/ic-card.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-checkbox-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/ic-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-chip.cjs.entry.js +3 -3
- 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-classification-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-entity.cjs.entry.js +1 -1
- package/dist/cjs/ic-data-entity.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-data-row.cjs.entry.js +3 -3
- package/dist/cjs/ic-data-row.cjs.entry.js.map +1 -1
- package/dist/cjs/{ic-unstable-data-table.cjs.entry.js → ic-data-table.cjs.entry.js} +3 -3
- package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-dialog.cjs.entry.js +5 -5
- package/dist/cjs/ic-dialog.cjs.entry.js.map +1 -1
- 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-empty-state.cjs.entry.js +37 -0
- package/dist/cjs/ic-empty-state.cjs.entry.js.map +1 -0
- package/dist/cjs/ic-footer-link-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-footer-link-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer-link.cjs.entry.js +4 -4
- package/dist/cjs/ic-footer-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-footer.cjs.entry.js +7 -4
- package/dist/cjs/ic-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-hero.cjs.entry.js +3 -3
- package/dist/cjs/ic-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +3 -3
- package/dist/cjs/ic-horizontal-scroll.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js +43 -37
- package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-input-label_2.cjs.entry.js +3 -3
- package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-link.cjs.entry.js +4 -4
- package/dist/cjs/ic-link.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
- package/dist/cjs/ic-menu-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-menu-item.cjs.entry.js +5 -5
- package/dist/cjs/ic-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-button.cjs.entry.js +9 -5
- package/dist/cjs/ic-navigation-button.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-group.cjs.entry.js +5 -5
- package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-item.cjs.entry.js +5 -5
- package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-navigation-menu.cjs.entry.js +4 -4
- package/dist/cjs/ic-navigation-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-page-header.cjs.entry.js +3 -3
- package/dist/cjs/ic-page-header.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination-bar.cjs.entry.js +3 -3
- package/dist/cjs/ic-pagination-bar.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-pagination_4.cjs.entry.js +71 -17
- package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-popover-menu.cjs.entry.js +68 -16
- package/dist/cjs/ic-popover-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-radio-option.cjs.entry.js +3 -3
- package/dist/cjs/ic-radio-option.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-search-bar.cjs.entry.js +35 -19
- 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-section-container.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-side-navigation.cjs.entry.js +6 -6
- package/dist/cjs/ic-side-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/ic-skeleton.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-status-tag.cjs.entry.js +3 -3
- package/dist/cjs/ic-status-tag.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-step.cjs.entry.js +2 -2
- package/dist/cjs/ic-step.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-stepper.cjs.entry.js +3 -3
- package/dist/cjs/ic-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-switch.cjs.entry.js +3 -3
- package/dist/cjs/ic-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-context.cjs.entry.js +2 -2
- package/dist/cjs/ic-tab-context.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-group.cjs.entry.js +3 -3
- package/dist/cjs/ic-tab-group.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/ic-tab-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-tab.cjs.entry.js +3 -3
- package/dist/cjs/ic-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-theme.cjs.entry.js +3 -3
- package/dist/cjs/ic-theme.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast-region.cjs.entry.js +1 -1
- package/dist/cjs/ic-toast-region.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-toast.cjs.entry.js +4 -4
- package/dist/cjs/ic-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-top-navigation.cjs.entry.js +4 -4
- package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/ic-typography.cjs.entry.js +4 -4
- package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
- package/dist/cjs/{index-4f4d2b43.js → index-990b968b.js} +150 -44
- package/dist/cjs/index-990b968b.js.map +1 -0
- package/dist/cjs/loader.cjs.js +3 -12
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/{popper-d7adcfc6.js → popper-31badbf8.js} +1 -1
- package/dist/cjs/popper-31badbf8.js.map +1 -0
- package/dist/cjs/{types-3eb02246.js → types-7d67439f.js} +1 -1
- package/dist/cjs/types-7d67439f.js.map +1 -0
- package/dist/collection/assets/close-icon.svg +1 -1
- package/dist/collection/assets/hamburger-menu-icon.svg +1 -1
- package/dist/collection/collection-manifest.json +63 -62
- package/dist/collection/components/ic-alert/ic-alert.js +2 -1
- package/dist/collection/components/ic-alert/ic-alert.js.map +1 -1
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js +5 -1
- package/dist/collection/components/ic-breadcrumb/ic-breadcrumb.js.map +1 -1
- package/dist/collection/components/ic-button/ic-button.css +15 -7
- package/dist/collection/components/ic-button/ic-button.js +55 -13
- package/dist/collection/components/ic-button/ic-button.js.map +1 -1
- package/dist/collection/components/ic-button/test/basic/ic-button.spec.js +17 -2
- package/dist/collection/components/ic-button/test/basic/ic-button.spec.js.map +1 -1
- package/dist/collection/components/ic-card/ic-card.js +4 -2
- package/dist/collection/components/ic-card/ic-card.js.map +1 -1
- package/dist/collection/components/ic-checkbox/ic-checkbox.js +8 -4
- package/dist/collection/components/ic-checkbox/ic-checkbox.js.map +1 -1
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js +6 -3
- package/dist/collection/components/ic-checkbox-group/ic-checkbox-group.js.map +1 -1
- package/dist/collection/components/ic-chip/ic-chip.js +6 -3
- package/dist/collection/components/ic-chip/ic-chip.js.map +1 -1
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.js +2 -1
- package/dist/collection/components/ic-classification-banner/ic-classification-banner.js.map +1 -1
- package/dist/collection/components/ic-data-table/ic-data-table.js +13 -7
- package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
- package/dist/collection/components/ic-data-table/story-data.js +559 -0
- package/dist/collection/components/ic-data-table/story-data.js.map +1 -0
- package/dist/collection/components/ic-data-table/test/a11y/ic-data-table.test.a11y.js +3 -3
- package/dist/collection/components/ic-data-table/test/a11y/ic-data-table.test.a11y.js.map +1 -1
- package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js +14 -14
- package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js.map +1 -1
- package/dist/collection/components/ic-dialog/ic-dialog.js +14 -5
- package/dist/collection/components/ic-dialog/ic-dialog.js.map +1 -1
- package/dist/collection/components/ic-empty-state/ic-empty-state.css +49 -0
- package/dist/collection/components/ic-empty-state/ic-empty-state.js +160 -0
- package/dist/collection/components/ic-empty-state/ic-empty-state.js.map +1 -0
- package/dist/collection/components/ic-empty-state/ic-empty-state.types.js +2 -0
- package/dist/collection/components/ic-empty-state/ic-empty-state.types.js.map +1 -0
- package/dist/collection/components/ic-empty-state/test/a11y/ic-empty-state.test.a11y.js +38 -0
- package/dist/collection/components/ic-empty-state/test/a11y/ic-empty-state.test.a11y.js.map +1 -0
- package/dist/collection/components/ic-empty-state/test/basic/ic-empty-state.spec.js +86 -0
- package/dist/collection/components/ic-empty-state/test/basic/ic-empty-state.spec.js.map +1 -0
- package/dist/collection/components/ic-footer/ic-footer.js +8 -3
- package/dist/collection/components/ic-footer/ic-footer.js.map +1 -1
- package/dist/collection/components/ic-footer-link/ic-footer-link.js +2 -1
- package/dist/collection/components/ic-footer-link/ic-footer-link.js.map +1 -1
- package/dist/collection/components/ic-hero/ic-hero.js +4 -2
- package/dist/collection/components/ic-hero/ic-hero.js.map +1 -1
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js +4 -2
- package/dist/collection/components/ic-horizontal-scroll/ic-horizontal-scroll.js.map +1 -1
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js +2 -1
- package/dist/collection/components/ic-input-component-container/ic-input-component-container.js.map +1 -1
- package/dist/collection/components/ic-input-validation/ic-input-validation.js +4 -2
- package/dist/collection/components/ic-input-validation/ic-input-validation.js.map +1 -1
- package/dist/collection/components/ic-link/ic-link.js +6 -3
- package/dist/collection/components/ic-link/ic-link.js.map +1 -1
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js +6 -3
- package/dist/collection/components/ic-loading-indicator/ic-loading-indicator.js.map +1 -1
- package/dist/collection/components/ic-menu/ic-menu.css +17 -0
- package/dist/collection/components/ic-menu/ic-menu.js +107 -48
- package/dist/collection/components/ic-menu/ic-menu.js.map +1 -1
- package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js +13 -2
- package/dist/collection/components/ic-menu/test/basic/ic-menu.spec.js.map +1 -1
- package/dist/collection/components/ic-menu-item/ic-menu-item.js +4 -2
- package/dist/collection/components/ic-menu-item/ic-menu-item.js.map +1 -1
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.css +1 -0
- package/dist/collection/components/ic-navigation-button/ic-navigation-button.js +9 -3
- 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 +1 -1
- package/dist/collection/components/ic-navigation-button/test/basic/ic-navigation-button.spec.js.map +1 -1
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.css +2 -1
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js +2 -1
- package/dist/collection/components/ic-navigation-group/ic-navigation-group.js.map +1 -1
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js +4 -2
- package/dist/collection/components/ic-navigation-item/ic-navigation-item.js.map +1 -1
- package/dist/collection/components/ic-navigation-menu/ic-navigation-menu.css +2 -2
- package/dist/collection/components/ic-page-header/ic-page-header.js +2 -1
- package/dist/collection/components/ic-page-header/ic-page-header.js.map +1 -1
- package/dist/collection/components/ic-pagination/ic-pagination.js +8 -4
- package/dist/collection/components/ic-pagination/ic-pagination.js.map +1 -1
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +8 -4
- package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js +4 -2
- package/dist/collection/components/ic-pagination-item/ic-pagination-item.js.map +1 -1
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.css +12 -0
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js +69 -14
- package/dist/collection/components/ic-popover-menu/ic-popover-menu.js.map +1 -1
- package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js +14 -0
- package/dist/collection/components/ic-popover-menu/test/basic/ic-popover-menu.spec.js.map +1 -1
- package/dist/collection/components/ic-radio-group/ic-radio-group.js +6 -3
- package/dist/collection/components/ic-radio-group/ic-radio-group.js.map +1 -1
- package/dist/collection/components/ic-radio-option/ic-radio-option.js +8 -4
- package/dist/collection/components/ic-radio-option/ic-radio-option.js.map +1 -1
- package/dist/collection/components/ic-search-bar/ic-search-bar.js +100 -32
- package/dist/collection/components/ic-search-bar/ic-search-bar.js.map +1 -1
- package/dist/collection/components/ic-section-container/ic-section-container.js +2 -1
- package/dist/collection/components/ic-section-container/ic-section-container.js.map +1 -1
- package/dist/collection/components/ic-select/ic-select.js +85 -22
- package/dist/collection/components/ic-select/ic-select.js.map +1 -1
- package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js +30 -0
- package/dist/collection/components/ic-select/test/basic/ic-select.e2e.js.map +1 -1
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js +51 -3
- package/dist/collection/components/ic-select/test/basic/ic-select.spec.js.map +1 -1
- package/dist/collection/components/ic-skeleton/ic-skeleton.js +2 -1
- package/dist/collection/components/ic-skeleton/ic-skeleton.js.map +1 -1
- package/dist/collection/components/ic-status-tag/ic-status-tag.js +4 -2
- package/dist/collection/components/ic-status-tag/ic-status-tag.js.map +1 -1
- package/dist/collection/components/ic-step/ic-step.js +8 -4
- package/dist/collection/components/ic-step/ic-step.js.map +1 -1
- package/dist/collection/components/ic-stepper/ic-stepper.js +4 -2
- package/dist/collection/components/ic-stepper/ic-stepper.js.map +1 -1
- package/dist/collection/components/ic-switch/ic-switch.js +4 -2
- package/dist/collection/components/ic-switch/ic-switch.js.map +1 -1
- package/dist/collection/components/ic-tab/ic-tab.js +10 -5
- package/dist/collection/components/ic-tab/ic-tab.js.map +1 -1
- package/dist/collection/components/ic-tab-context/ic-tab-context.js +10 -5
- package/dist/collection/components/ic-tab-context/ic-tab-context.js.map +1 -1
- package/dist/collection/components/ic-tab-group/ic-tab-group.js +2 -1
- package/dist/collection/components/ic-tab-group/ic-tab-group.js.map +1 -1
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js +4 -2
- package/dist/collection/components/ic-tab-panel/ic-tab-panel.js.map +1 -1
- package/dist/collection/components/ic-text-field/ic-text-field.js +26 -13
- package/dist/collection/components/ic-text-field/ic-text-field.js.map +1 -1
- package/dist/collection/components/ic-theme/ic-theme.js +2 -1
- package/dist/collection/components/ic-theme/ic-theme.js.map +1 -1
- package/dist/collection/components/ic-toast/ic-toast.js +8 -4
- package/dist/collection/components/ic-toast/ic-toast.js.map +1 -1
- package/dist/collection/components/ic-toast-region/ic-toast-region.js +4 -2
- package/dist/collection/components/ic-toast-region/ic-toast-region.js.map +1 -1
- package/dist/collection/components/ic-tooltip/ic-tooltip.css +9 -0
- package/dist/collection/components/ic-tooltip/ic-tooltip.js +191 -13
- package/dist/collection/components/ic-tooltip/ic-tooltip.js.map +1 -1
- package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js +2 -0
- package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.e2e.js.map +1 -1
- package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js +160 -1
- package/dist/collection/components/ic-tooltip/test/basic/ic-tooltip.spec.js.map +1 -1
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js +3 -2
- package/dist/collection/components/ic-top-navigation/ic-top-navigation.js.map +1 -1
- package/dist/collection/components/ic-typography/ic-typography.css +10 -10
- package/dist/collection/components/ic-typography/ic-typography.js +3 -2
- package/dist/collection/components/ic-typography/ic-typography.js.map +1 -1
- package/dist/collection/utils/helpers.js +25 -8
- package/dist/collection/utils/helpers.js.map +1 -1
- package/dist/collection/utils/types.js.map +1 -1
- package/dist/components/close-icon.js +1 -1
- package/dist/components/helpers.js +26 -9
- package/dist/components/helpers.js.map +1 -1
- package/dist/components/ic-alert2.js.map +1 -1
- package/dist/components/ic-back-to-top.js +2 -0
- package/dist/components/ic-back-to-top.js.map +1 -1
- package/dist/components/ic-breadcrumb-group.js.map +1 -1
- package/dist/components/ic-breadcrumb2.js.map +1 -1
- package/dist/components/ic-button2.js +37 -5
- package/dist/components/ic-button2.js.map +1 -1
- package/dist/components/ic-card.js.map +1 -1
- package/dist/components/ic-checkbox-group.js.map +1 -1
- package/dist/components/ic-checkbox.js.map +1 -1
- package/dist/components/ic-chip.js.map +1 -1
- package/dist/components/ic-classification-banner.js.map +1 -1
- package/dist/components/ic-data-entity.js.map +1 -1
- package/dist/components/ic-data-row.js.map +1 -1
- package/dist/components/{ic-unstable-data-table.d.ts → ic-data-table.d.ts} +4 -4
- package/dist/components/{ic-unstable-data-table.js → ic-data-table.js} +6 -6
- package/dist/components/ic-data-table.js.map +1 -0
- package/dist/components/ic-dialog.js +4 -2
- package/dist/components/ic-dialog.js.map +1 -1
- package/dist/components/ic-divider2.js +1 -1
- package/dist/components/ic-divider2.js.map +1 -1
- package/dist/components/ic-empty-state.d.ts +11 -0
- package/dist/components/ic-empty-state.js +63 -0
- package/dist/components/ic-empty-state.js.map +1 -0
- package/dist/components/ic-footer-link-group.js +1 -1
- package/dist/components/ic-footer-link-group.js.map +1 -1
- package/dist/components/ic-footer-link.js +1 -1
- package/dist/components/ic-footer-link.js.map +1 -1
- package/dist/components/ic-footer.js +5 -2
- package/dist/components/ic-footer.js.map +1 -1
- package/dist/components/ic-hero.js +1 -1
- package/dist/components/ic-hero.js.map +1 -1
- package/dist/components/ic-horizontal-scroll2.js +1 -1
- package/dist/components/ic-horizontal-scroll2.js.map +1 -1
- package/dist/components/ic-input-component-container2.js.map +1 -1
- package/dist/components/ic-input-container2.js.map +1 -1
- package/dist/components/ic-input-label2.js.map +1 -1
- package/dist/components/ic-input-validation2.js.map +1 -1
- package/dist/components/ic-link2.js.map +1 -1
- package/dist/components/ic-loading-indicator2.js +3 -0
- package/dist/components/ic-loading-indicator2.js.map +1 -1
- package/dist/components/ic-menu-group.js.map +1 -1
- package/dist/components/ic-menu-item2.js +1 -1
- package/dist/components/ic-menu-item2.js.map +1 -1
- package/dist/components/ic-menu2.js +43 -32
- package/dist/components/ic-menu2.js.map +1 -1
- package/dist/components/ic-navigation-button.js +7 -3
- package/dist/components/ic-navigation-button.js.map +1 -1
- package/dist/components/ic-navigation-group.js +2 -2
- package/dist/components/ic-navigation-group.js.map +1 -1
- package/dist/components/ic-navigation-item.js +1 -1
- package/dist/components/ic-navigation-item.js.map +1 -1
- package/dist/components/ic-navigation-menu2.js +2 -2
- package/dist/components/ic-navigation-menu2.js.map +1 -1
- package/dist/components/ic-page-header.js.map +1 -1
- package/dist/components/ic-pagination-bar2.js.map +1 -1
- package/dist/components/ic-pagination-item2.js.map +1 -1
- package/dist/components/ic-pagination2.js +4 -1
- package/dist/components/ic-pagination2.js.map +1 -1
- package/dist/components/ic-popover-menu.js +68 -14
- package/dist/components/ic-popover-menu.js.map +1 -1
- package/dist/components/ic-radio-group.js.map +1 -1
- package/dist/components/ic-radio-option.js +4 -2
- package/dist/components/ic-radio-option.js.map +1 -1
- package/dist/components/ic-search-bar.js +41 -18
- package/dist/components/ic-search-bar.js.map +1 -1
- package/dist/components/ic-section-container2.js.map +1 -1
- package/dist/components/ic-select2.js +75 -15
- package/dist/components/ic-select2.js.map +1 -1
- package/dist/components/ic-side-navigation.js +2 -2
- package/dist/components/ic-side-navigation.js.map +1 -1
- package/dist/components/ic-skeleton.js.map +1 -1
- package/dist/components/ic-status-tag.js.map +1 -1
- package/dist/components/ic-step.js +2 -0
- package/dist/components/ic-step.js.map +1 -1
- package/dist/components/ic-stepper.js.map +1 -1
- package/dist/components/ic-switch.js.map +1 -1
- package/dist/components/ic-tab-context.js +3 -1
- package/dist/components/ic-tab-context.js.map +1 -1
- package/dist/components/ic-tab-group.js.map +1 -1
- package/dist/components/ic-tab-panel.js.map +1 -1
- package/dist/components/ic-tab.js +2 -0
- package/dist/components/ic-tab.js.map +1 -1
- package/dist/components/ic-text-field2.js +5 -2
- package/dist/components/ic-text-field2.js.map +1 -1
- package/dist/components/ic-theme.js +3 -1
- package/dist/components/ic-theme.js.map +1 -1
- package/dist/components/ic-toast-region.js.map +1 -1
- package/dist/components/ic-toast.js +1 -1
- package/dist/components/ic-toast.js.map +1 -1
- package/dist/components/ic-tooltip2.js +190 -12
- package/dist/components/ic-tooltip2.js.map +1 -1
- package/dist/components/ic-top-navigation.js +5 -3
- package/dist/components/ic-top-navigation.js.map +1 -1
- package/dist/components/ic-typography2.js +3 -1
- package/dist/components/ic-typography2.js.map +1 -1
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.js +1 -1
- package/dist/components/types.js.map +1 -1
- package/dist/core/core.css +10 -7
- package/dist/core/core.esm.js +1 -1
- package/dist/core/core.esm.js.map +1 -1
- package/dist/core/{p-df0b02b4.entry.js → p-00f7f8e8.entry.js} +2 -2
- package/dist/core/p-00f7f8e8.entry.js.map +1 -0
- package/dist/core/p-03935e89.js +3 -0
- package/dist/core/p-03935e89.js.map +1 -0
- package/dist/core/p-061283d4.entry.js +2 -0
- package/dist/core/p-061283d4.entry.js.map +1 -0
- package/dist/core/{p-4ddbc685.entry.js → p-0729b492.entry.js} +2 -2
- package/dist/core/p-0729b492.entry.js.map +1 -0
- package/dist/core/{p-cc15dfdc.entry.js → p-0929b7c4.entry.js} +2 -2
- package/dist/core/p-0929b7c4.entry.js.map +1 -0
- package/dist/core/p-0eba1ec4.entry.js +2 -0
- package/dist/core/p-0eba1ec4.entry.js.map +1 -0
- package/dist/core/{p-bdb10987.entry.js → p-12d99423.entry.js} +2 -2
- package/dist/core/p-12d99423.entry.js.map +1 -0
- package/dist/core/{p-0584ebc5.entry.js → p-151cef1f.entry.js} +2 -2
- package/dist/core/p-151cef1f.entry.js.map +1 -0
- package/dist/core/p-241baaac.entry.js +2 -0
- package/dist/core/p-241baaac.entry.js.map +1 -0
- package/dist/core/{p-7232b2f0.entry.js → p-2d1ba7d5.entry.js} +2 -2
- package/dist/core/p-2d1ba7d5.entry.js.map +1 -0
- package/dist/core/{p-7b475a6c.entry.js → p-2f737489.entry.js} +2 -2
- package/dist/core/p-2f737489.entry.js.map +1 -0
- package/dist/core/{p-b7d521e9.entry.js → p-385ae861.entry.js} +2 -2
- package/dist/core/p-385ae861.entry.js.map +1 -0
- package/dist/core/{p-06321d19.js → p-3b185c32.js} +1 -1
- package/dist/core/{p-7dda131b.entry.js → p-3c50e682.entry.js} +2 -2
- package/dist/core/p-3c50e682.entry.js.map +1 -0
- package/dist/core/{p-5d89cfab.entry.js → p-3c545222.entry.js} +2 -2
- package/dist/core/p-3c545222.entry.js.map +1 -0
- package/dist/core/{p-fef750a3.entry.js → p-3e3afba6.entry.js} +2 -2
- package/dist/core/p-3e3afba6.entry.js.map +1 -0
- package/dist/core/{p-f0fd1444.entry.js → p-4259972b.entry.js} +2 -2
- package/dist/core/p-4259972b.entry.js.map +1 -0
- package/dist/core/{p-8d4f7027.js → p-426ec638.js} +1 -1
- package/dist/core/{p-7adfd23a.entry.js → p-4ec6d80b.entry.js} +2 -2
- package/dist/core/p-4ec6d80b.entry.js.map +1 -0
- package/dist/core/{p-d77c0936.entry.js → p-517968cb.entry.js} +2 -2
- package/dist/core/p-517968cb.entry.js.map +1 -0
- package/dist/core/{p-b36723c5.entry.js → p-55127131.entry.js} +2 -2
- package/dist/core/p-55127131.entry.js.map +1 -0
- package/dist/core/{p-5f6b0c72.entry.js → p-5536d26c.entry.js} +2 -2
- package/dist/core/p-5536d26c.entry.js.map +1 -0
- package/dist/core/p-5b39831f.entry.js +2 -0
- package/dist/core/p-5b39831f.entry.js.map +1 -0
- package/dist/core/{p-6f57b13c.js → p-613aa265.js} +1 -1
- package/dist/core/p-613aa265.js.map +1 -0
- package/dist/core/{p-fdcf4f5d.entry.js → p-649442b9.entry.js} +2 -2
- package/dist/core/p-649442b9.entry.js.map +1 -0
- package/dist/core/{p-b6e9eab9.entry.js → p-65a1ff78.entry.js} +2 -2
- package/dist/core/p-65a1ff78.entry.js.map +1 -0
- package/dist/core/{p-f91432bf.entry.js → p-6622567a.entry.js} +2 -2
- package/dist/core/p-6622567a.entry.js.map +1 -0
- package/dist/core/p-689a5bb3.entry.js +2 -0
- package/dist/core/p-689a5bb3.entry.js.map +1 -0
- package/dist/core/{p-7c0dcd00.js → p-68a5aaff.js} +1 -1
- package/dist/core/p-68a5aaff.js.map +1 -0
- package/dist/core/p-6da62e08.entry.js +2 -0
- package/dist/core/p-6da62e08.entry.js.map +1 -0
- package/dist/core/{p-095d3352.entry.js → p-72815d65.entry.js} +2 -2
- package/dist/core/p-72815d65.entry.js.map +1 -0
- package/dist/core/{p-10fd8931.entry.js → p-7799016a.entry.js} +2 -2
- package/dist/core/p-7799016a.entry.js.map +1 -0
- package/dist/core/p-786020b0.entry.js +2 -0
- package/dist/core/p-786020b0.entry.js.map +1 -0
- package/dist/core/{p-4efac9a5.entry.js → p-892ddab1.entry.js} +2 -2
- package/dist/core/p-892ddab1.entry.js.map +1 -0
- package/dist/core/{p-3b686a68.entry.js → p-8a4c5eb8.entry.js} +2 -2
- package/dist/core/p-8a4c5eb8.entry.js.map +1 -0
- package/dist/core/{p-d0fccb05.entry.js → p-8d8ba4d7.entry.js} +2 -2
- package/dist/core/p-8d8ba4d7.entry.js.map +1 -0
- package/dist/core/{p-92a9c0f7.entry.js → p-90608dc5.entry.js} +2 -2
- package/dist/core/p-90608dc5.entry.js.map +1 -0
- package/dist/core/{p-1b5f5bf2.entry.js → p-932a1a61.entry.js} +2 -2
- package/dist/core/p-932a1a61.entry.js.map +1 -0
- package/dist/core/p-94f255ff.entry.js +2 -0
- package/dist/core/p-94f255ff.entry.js.map +1 -0
- package/dist/core/{p-d19b9d1b.entry.js → p-9c792bb9.entry.js} +2 -2
- package/dist/core/p-9c792bb9.entry.js.map +1 -0
- package/dist/core/{p-ed9bc07a.entry.js → p-a10968a4.entry.js} +2 -2
- package/dist/core/p-a10968a4.entry.js.map +1 -0
- package/dist/core/{p-11833706.entry.js → p-a471cf70.entry.js} +2 -2
- package/dist/core/p-a471cf70.entry.js.map +1 -0
- package/dist/core/{p-55278403.entry.js → p-a7c7d85a.entry.js} +2 -2
- package/dist/core/p-a7c7d85a.entry.js.map +1 -0
- package/dist/core/{p-57839a76.entry.js → p-b1568cf3.entry.js} +2 -2
- package/dist/core/p-b1568cf3.entry.js.map +1 -0
- package/dist/core/{p-7b1dea48.entry.js → p-b4d2d905.entry.js} +2 -2
- package/dist/core/p-b4d2d905.entry.js.map +1 -0
- package/dist/core/p-ba27b1e2.js +2 -0
- package/dist/core/p-ba27b1e2.js.map +1 -0
- package/dist/core/{p-e948ffe5.entry.js → p-ba3f9d1b.entry.js} +2 -2
- package/dist/core/p-ba3f9d1b.entry.js.map +1 -0
- package/dist/core/p-c2281c7d.entry.js +2 -0
- package/dist/core/p-c2281c7d.entry.js.map +1 -0
- package/dist/core/{p-8c7f4343.js → p-c2e091d7.js} +1 -1
- package/dist/core/{p-4208e336.entry.js → p-c95e4edb.entry.js} +2 -2
- package/dist/core/p-c95e4edb.entry.js.map +1 -0
- package/dist/core/p-cda2ecbb.entry.js +2 -0
- package/dist/core/p-cda2ecbb.entry.js.map +1 -0
- package/dist/core/{p-b9c3598b.entry.js → p-ced76d36.entry.js} +2 -2
- package/dist/core/p-ced76d36.entry.js.map +1 -0
- package/dist/core/{p-83adbb69.entry.js → p-dcfc7f79.entry.js} +2 -2
- package/dist/core/p-dcfc7f79.entry.js.map +1 -0
- package/dist/core/p-de37ac0e.entry.js +2 -0
- package/dist/core/p-de37ac0e.entry.js.map +1 -0
- package/dist/core/{p-019688bf.entry.js → p-e565964f.entry.js} +2 -2
- package/dist/core/p-e565964f.entry.js.map +1 -0
- package/dist/core/{p-2c6f2aad.entry.js → p-e6028d7a.entry.js} +2 -2
- package/dist/core/p-e6028d7a.entry.js.map +1 -0
- package/dist/core/{p-80c4fdfb.entry.js → p-ebd83ea6.entry.js} +2 -2
- package/dist/core/p-ebd83ea6.entry.js.map +1 -0
- package/dist/core/{p-ad3102a5.entry.js → p-ed35b2d0.entry.js} +2 -2
- package/dist/core/p-ed35b2d0.entry.js.map +1 -0
- package/dist/core/p-f074ef5b.js +2 -0
- package/dist/core/{p-5914df44.entry.js → p-f8d7bda8.entry.js} +2 -2
- package/dist/core/p-f8d7bda8.entry.js.map +1 -0
- package/dist/core/p-fd8780e2.entry.js +2 -0
- package/dist/core/p-fd8780e2.entry.js.map +1 -0
- package/dist/esm/{OpenInNew-67a881e0.js → OpenInNew-cdeed5ce.js} +1 -1
- package/dist/esm/OpenInNew-cdeed5ce.js.map +1 -0
- package/dist/esm/{check-icon-abb210ec.js → check-icon-4a9f8371.js} +1 -1
- package/dist/esm/check-icon-4a9f8371.js.map +1 -0
- package/dist/esm/{chevron-icon-7927f709.js → chevron-icon-589e3b46.js} +1 -1
- package/dist/esm/chevron-icon-589e3b46.js.map +1 -0
- package/dist/esm/{close-icon-2f02b42a.js → close-icon-539ec8d1.js} +2 -2
- package/dist/esm/close-icon-539ec8d1.js.map +1 -0
- package/dist/esm/core.js +4 -7
- package/dist/esm/core.js.map +1 -1
- package/dist/esm/{helpers-8617aaa0.js → helpers-10f9f399.js} +27 -10
- package/dist/esm/helpers-10f9f399.js.map +1 -0
- package/dist/esm/ic-alert.entry.js +4 -4
- package/dist/esm/ic-alert.entry.js.map +1 -1
- package/dist/esm/ic-back-to-top.entry.js +3 -3
- package/dist/esm/ic-back-to-top.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb-group.entry.js +3 -3
- package/dist/esm/ic-breadcrumb-group.entry.js.map +1 -1
- package/dist/esm/ic-breadcrumb.entry.js +4 -4
- package/dist/esm/ic-breadcrumb.entry.js.map +1 -1
- package/dist/esm/ic-button_3.entry.js +228 -20
- package/dist/esm/ic-button_3.entry.js.map +1 -1
- package/dist/esm/ic-card.entry.js +4 -4
- package/dist/esm/ic-card.entry.js.map +1 -1
- package/dist/esm/ic-checkbox-group.entry.js +3 -3
- package/dist/esm/ic-checkbox-group.entry.js.map +1 -1
- package/dist/esm/ic-checkbox.entry.js +3 -3
- package/dist/esm/ic-checkbox.entry.js.map +1 -1
- package/dist/esm/ic-chip.entry.js +3 -3
- package/dist/esm/ic-chip.entry.js.map +1 -1
- package/dist/esm/ic-classification-banner.entry.js +1 -1
- package/dist/esm/ic-classification-banner.entry.js.map +1 -1
- package/dist/esm/ic-data-entity.entry.js +1 -1
- package/dist/esm/ic-data-entity.entry.js.map +1 -1
- package/dist/esm/ic-data-row.entry.js +3 -3
- package/dist/esm/ic-data-row.entry.js.map +1 -1
- package/dist/esm/{ic-unstable-data-table.entry.js → ic-data-table.entry.js} +3 -3
- package/dist/esm/ic-data-table.entry.js.map +1 -0
- package/dist/esm/ic-dialog.entry.js +5 -5
- package/dist/esm/ic-dialog.entry.js.map +1 -1
- package/dist/esm/ic-divider.entry.js +3 -3
- package/dist/esm/ic-divider.entry.js.map +1 -1
- package/dist/esm/ic-empty-state.entry.js +33 -0
- package/dist/esm/ic-empty-state.entry.js.map +1 -0
- package/dist/esm/ic-footer-link-group.entry.js +3 -3
- package/dist/esm/ic-footer-link-group.entry.js.map +1 -1
- package/dist/esm/ic-footer-link.entry.js +4 -4
- package/dist/esm/ic-footer-link.entry.js.map +1 -1
- package/dist/esm/ic-footer.entry.js +7 -4
- package/dist/esm/ic-footer.entry.js.map +1 -1
- package/dist/esm/ic-hero.entry.js +3 -3
- package/dist/esm/ic-hero.entry.js.map +1 -1
- package/dist/esm/ic-horizontal-scroll.entry.js +3 -3
- package/dist/esm/ic-horizontal-scroll.entry.js.map +1 -1
- package/dist/esm/ic-input-component-container_3.entry.js +43 -37
- package/dist/esm/ic-input-component-container_3.entry.js.map +1 -1
- package/dist/esm/ic-input-label_2.entry.js +3 -3
- package/dist/esm/ic-input-label_2.entry.js.map +1 -1
- package/dist/esm/ic-link.entry.js +4 -4
- package/dist/esm/ic-link.entry.js.map +1 -1
- package/dist/esm/ic-menu-group.entry.js +1 -1
- package/dist/esm/ic-menu-group.entry.js.map +1 -1
- package/dist/esm/ic-menu-item.entry.js +5 -5
- package/dist/esm/ic-menu-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-button.entry.js +9 -5
- package/dist/esm/ic-navigation-button.entry.js.map +1 -1
- package/dist/esm/ic-navigation-group.entry.js +5 -5
- package/dist/esm/ic-navigation-group.entry.js.map +1 -1
- package/dist/esm/ic-navigation-item.entry.js +5 -5
- package/dist/esm/ic-navigation-item.entry.js.map +1 -1
- package/dist/esm/ic-navigation-menu.entry.js +4 -4
- package/dist/esm/ic-navigation-menu.entry.js.map +1 -1
- package/dist/esm/ic-page-header.entry.js +3 -3
- package/dist/esm/ic-page-header.entry.js.map +1 -1
- package/dist/esm/ic-pagination-bar.entry.js +3 -3
- package/dist/esm/ic-pagination-bar.entry.js.map +1 -1
- package/dist/esm/ic-pagination_4.entry.js +71 -17
- package/dist/esm/ic-pagination_4.entry.js.map +1 -1
- package/dist/esm/ic-popover-menu.entry.js +68 -16
- package/dist/esm/ic-popover-menu.entry.js.map +1 -1
- package/dist/esm/ic-radio-group.entry.js +3 -3
- package/dist/esm/ic-radio-group.entry.js.map +1 -1
- package/dist/esm/ic-radio-option.entry.js +3 -3
- package/dist/esm/ic-radio-option.entry.js.map +1 -1
- package/dist/esm/ic-search-bar.entry.js +35 -19
- 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-section-container.entry.js.map +1 -1
- package/dist/esm/ic-side-navigation.entry.js +6 -6
- package/dist/esm/ic-side-navigation.entry.js.map +1 -1
- package/dist/esm/ic-skeleton.entry.js +1 -1
- package/dist/esm/ic-skeleton.entry.js.map +1 -1
- package/dist/esm/ic-status-tag.entry.js +3 -3
- package/dist/esm/ic-status-tag.entry.js.map +1 -1
- package/dist/esm/ic-step.entry.js +2 -2
- package/dist/esm/ic-step.entry.js.map +1 -1
- package/dist/esm/ic-stepper.entry.js +3 -3
- package/dist/esm/ic-stepper.entry.js.map +1 -1
- package/dist/esm/ic-switch.entry.js +3 -3
- package/dist/esm/ic-switch.entry.js.map +1 -1
- package/dist/esm/ic-tab-context.entry.js +2 -2
- package/dist/esm/ic-tab-context.entry.js.map +1 -1
- package/dist/esm/ic-tab-group.entry.js +3 -3
- package/dist/esm/ic-tab-group.entry.js.map +1 -1
- package/dist/esm/ic-tab-panel.entry.js +2 -2
- package/dist/esm/ic-tab-panel.entry.js.map +1 -1
- package/dist/esm/ic-tab.entry.js +3 -3
- package/dist/esm/ic-tab.entry.js.map +1 -1
- package/dist/esm/ic-theme.entry.js +3 -3
- package/dist/esm/ic-theme.entry.js.map +1 -1
- package/dist/esm/ic-toast-region.entry.js +1 -1
- package/dist/esm/ic-toast-region.entry.js.map +1 -1
- package/dist/esm/ic-toast.entry.js +4 -4
- package/dist/esm/ic-toast.entry.js.map +1 -1
- package/dist/esm/ic-top-navigation.entry.js +4 -4
- package/dist/esm/ic-top-navigation.entry.js.map +1 -1
- package/dist/esm/ic-typography.entry.js +4 -4
- package/dist/esm/ic-typography.entry.js.map +1 -1
- package/dist/esm/{index-36ab8165.js → index-5e4f5b3b.js} +150 -44
- package/dist/esm/index-5e4f5b3b.js.map +1 -0
- package/dist/esm/loader.js +4 -13
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/{popper-15e448b4.js → popper-0fbeff6d.js} +1 -1
- package/dist/esm/popper-0fbeff6d.js.map +1 -0
- package/dist/esm/{types-dd515332.js → types-b2398b37.js} +1 -1
- package/dist/esm/types-b2398b37.js.map +1 -0
- package/dist/types/components/ic-breadcrumb/ic-breadcrumb.d.ts +3 -3
- package/dist/types/components/ic-button/ic-button.d.ts +9 -1
- package/dist/types/components/ic-data-table/ic-data-table.d.ts +1 -1
- package/dist/types/components/ic-data-table/story-data.d.ts +105 -0
- package/dist/types/components/ic-dialog/ic-dialog.d.ts +5 -5
- package/dist/types/components/ic-empty-state/ic-empty-state.d.ts +35 -0
- package/dist/types/components/ic-empty-state/ic-empty-state.types.d.ts +1 -0
- package/dist/types/components/ic-empty-state/test/a11y/ic-empty-state.test.a11y.d.ts +1 -0
- package/dist/types/components/ic-menu/ic-menu.d.ts +8 -0
- package/dist/types/components/ic-navigation-button/ic-navigation-button.d.ts +1 -0
- package/dist/types/components/ic-popover-menu/ic-popover-menu.d.ts +3 -0
- package/dist/types/components/ic-search-bar/ic-search-bar.d.ts +8 -0
- package/dist/types/components/ic-select/ic-select.d.ts +14 -0
- package/dist/types/components/ic-tooltip/ic-tooltip.d.ts +10 -0
- package/dist/types/components/ic-typography/ic-typography.d.ts +2 -1
- package/dist/types/components.d.ts +230 -135
- package/dist/types/stencil-public-runtime.d.ts +17 -5
- package/dist/types/utils/helpers.d.ts +2 -2
- package/dist/types/utils/types.d.ts +11 -2
- package/hydrate/index.d.ts +6 -6
- package/hydrate/index.js +662 -218
- package/loader/index.d.ts +1 -1
- package/package.json +11 -9
- package/dist/cjs/OpenInNew-f9958725.js.map +0 -1
- package/dist/cjs/check-icon-b2f60716.js.map +0 -1
- package/dist/cjs/chevron-icon-2bb3a907.js.map +0 -1
- package/dist/cjs/close-icon-8ccb0163.js.map +0 -1
- package/dist/cjs/helpers-3811d14b.js.map +0 -1
- package/dist/cjs/ic-unstable-data-table.cjs.entry.js.map +0 -1
- package/dist/cjs/index-4f4d2b43.js.map +0 -1
- package/dist/cjs/popper-d7adcfc6.js.map +0 -1
- package/dist/cjs/types-3eb02246.js.map +0 -1
- package/dist/components/ic-unstable-data-table.js.map +0 -1
- package/dist/core/p-019688bf.entry.js.map +0 -1
- package/dist/core/p-0584ebc5.entry.js.map +0 -1
- package/dist/core/p-095d3352.entry.js.map +0 -1
- package/dist/core/p-10fd8931.entry.js.map +0 -1
- package/dist/core/p-11833706.entry.js.map +0 -1
- package/dist/core/p-1af8f256.js +0 -3
- package/dist/core/p-1af8f256.js.map +0 -1
- package/dist/core/p-1b5f5bf2.entry.js.map +0 -1
- package/dist/core/p-1e0eb83a.entry.js +0 -2
- package/dist/core/p-1e0eb83a.entry.js.map +0 -1
- package/dist/core/p-2138a75e.entry.js +0 -2
- package/dist/core/p-2138a75e.entry.js.map +0 -1
- package/dist/core/p-29d35210.entry.js +0 -2
- package/dist/core/p-29d35210.entry.js.map +0 -1
- package/dist/core/p-2c6f2aad.entry.js.map +0 -1
- package/dist/core/p-35b9f898.entry.js +0 -2
- package/dist/core/p-35b9f898.entry.js.map +0 -1
- package/dist/core/p-3b686a68.entry.js.map +0 -1
- package/dist/core/p-4208e336.entry.js.map +0 -1
- package/dist/core/p-44512ebe.js +0 -2
- package/dist/core/p-4ddbc685.entry.js.map +0 -1
- package/dist/core/p-4efac9a5.entry.js.map +0 -1
- package/dist/core/p-5278461f.entry.js +0 -2
- package/dist/core/p-5278461f.entry.js.map +0 -1
- package/dist/core/p-55278403.entry.js.map +0 -1
- package/dist/core/p-57839a76.entry.js.map +0 -1
- package/dist/core/p-5914df44.entry.js.map +0 -1
- package/dist/core/p-5d89cfab.entry.js.map +0 -1
- package/dist/core/p-5f6b0c72.entry.js.map +0 -1
- package/dist/core/p-633cb50b.entry.js +0 -2
- package/dist/core/p-633cb50b.entry.js.map +0 -1
- package/dist/core/p-6f57b13c.js.map +0 -1
- package/dist/core/p-7232b2f0.entry.js.map +0 -1
- package/dist/core/p-7adfd23a.entry.js.map +0 -1
- package/dist/core/p-7b1dea48.entry.js.map +0 -1
- package/dist/core/p-7b475a6c.entry.js.map +0 -1
- package/dist/core/p-7c0dcd00.js.map +0 -1
- package/dist/core/p-7dda131b.entry.js.map +0 -1
- package/dist/core/p-80c4fdfb.entry.js.map +0 -1
- package/dist/core/p-83adbb69.entry.js.map +0 -1
- package/dist/core/p-8ae9fdd1.entry.js +0 -2
- package/dist/core/p-8ae9fdd1.entry.js.map +0 -1
- package/dist/core/p-92a9c0f7.entry.js.map +0 -1
- package/dist/core/p-a3b86ed0.entry.js +0 -2
- package/dist/core/p-a3b86ed0.entry.js.map +0 -1
- package/dist/core/p-a9e4e5f8.entry.js +0 -2
- package/dist/core/p-a9e4e5f8.entry.js.map +0 -1
- package/dist/core/p-ad3102a5.entry.js.map +0 -1
- package/dist/core/p-b36723c5.entry.js.map +0 -1
- package/dist/core/p-b5c0b75c.js +0 -2
- package/dist/core/p-b5c0b75c.js.map +0 -1
- package/dist/core/p-b6e9eab9.entry.js.map +0 -1
- package/dist/core/p-b7d521e9.entry.js.map +0 -1
- package/dist/core/p-b9c3598b.entry.js.map +0 -1
- package/dist/core/p-bdb10987.entry.js.map +0 -1
- package/dist/core/p-c571e57c.entry.js +0 -2
- package/dist/core/p-c571e57c.entry.js.map +0 -1
- package/dist/core/p-cc15dfdc.entry.js.map +0 -1
- package/dist/core/p-cc2b961d.entry.js +0 -2
- package/dist/core/p-cc2b961d.entry.js.map +0 -1
- package/dist/core/p-d0fccb05.entry.js.map +0 -1
- package/dist/core/p-d19b9d1b.entry.js.map +0 -1
- package/dist/core/p-d77c0936.entry.js.map +0 -1
- package/dist/core/p-df0b02b4.entry.js.map +0 -1
- package/dist/core/p-e948ffe5.entry.js.map +0 -1
- package/dist/core/p-ed9bc07a.entry.js.map +0 -1
- package/dist/core/p-f0fd1444.entry.js.map +0 -1
- package/dist/core/p-f91432bf.entry.js.map +0 -1
- package/dist/core/p-fdcf4f5d.entry.js.map +0 -1
- package/dist/core/p-fef750a3.entry.js.map +0 -1
- package/dist/esm/OpenInNew-67a881e0.js.map +0 -1
- package/dist/esm/check-icon-abb210ec.js.map +0 -1
- package/dist/esm/chevron-icon-7927f709.js.map +0 -1
- package/dist/esm/close-icon-2f02b42a.js.map +0 -1
- package/dist/esm/helpers-8617aaa0.js.map +0 -1
- package/dist/esm/ic-unstable-data-table.entry.js.map +0 -1
- package/dist/esm/index-36ab8165.js.map +0 -1
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/popper-15e448b4.js.map +0 -1
- package/dist/esm/types-dd515332.js.map +0 -1
- /package/dist/core/{p-06321d19.js.map → p-3b185c32.js.map} +0 -0
- /package/dist/core/{p-44512ebe.js.map → p-426ec638.js.map} +0 -0
- /package/dist/core/{p-8c7f4343.js.map → p-c2e091d7.js.map} +0 -0
- /package/dist/core/{p-8d4f7027.js.map → p-f074ef5b.js.map} +0 -0
@@ -1,9 +1,9 @@
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
2
|
-
import { n as inheritAttributes, r as removeDisabledFalse, b as getThemeFromContext, i as isSlotUsed, p as IC_INHERITED_ARIA, a as onComponentRequiredPropUndefined } from './helpers-
|
3
|
-
import { I as IcThemeForegroundEnum } from './types-
|
4
|
-
import { c as createPopper } from './popper-
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-5e4f5b3b.js';
|
2
|
+
import { n as inheritAttributes, r as removeDisabledFalse, b as getThemeFromContext, i as isSlotUsed, p as IC_INHERITED_ARIA, a as onComponentRequiredPropUndefined } from './helpers-10f9f399.js';
|
3
|
+
import { I as IcThemeForegroundEnum } from './types-b2398b37.js';
|
4
|
+
import { c as createPopper } from './popper-0fbeff6d.js';
|
5
5
|
|
6
|
-
const icButtonCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:inline-block;--button-default:var(--ic-action-default);--button-default-hover:var(--ic-action-default-hover);--button-default-active:var(--ic-action-default-active);--button-default-background-hover:var(--ic-action-default-bg-hover);--button-default-background-active:var(--ic-action-default-bg-active);--icon-width:100%;--icon-height:100%}.button{font-family:var(--ic-font-body-family);text-decoration:none;font-weight:600;font-size:0.875rem;transition:var(--ic-easing-transition-fast);border-radius:var(--ic-border-radius);min-width:var(--min-width, 6.25rem);display:inline-flex;gap:var(--ic-space-xs);flex-direction:row;justify-content:center;align-items:center;background:none;border:none;box-sizing:border-box;white-space:nowrap;vertical-align:middle}:host(.with-badge) .button{border-radius:0.2188rem}.button:hover{cursor:pointer}.button:focus,:host .button:focus{box-shadow:var(--ic-border-focus)}:host(.light) .button:focus{box-shadow:var(--ic-border-focus)}.button:focus-visible{outline:var(--ic-hc-focus-outline)}:host(.dark) .button{--button-default:var(--ic-action-dark);--button-default-hover:var(--ic-action-dark);--button-default-active:var(--ic-action-dark);--button-default-background-hover:var(--ic-action-dark-bg-hover);--button-default-background-active:var(--ic-action-dark-bg-active)}:host(.light) .button{--button-default:var(--ic-action-light);--button-default-hover:var(--ic-action-light);--button-default-active:var(--ic-action-light);--button-default-background-hover:var(--ic-action-light-bg-hover);--button-default-background-active:var(--ic-action-light-bg-active)}:host(.button-variant-primary.light) .button{color:var(--ic-color-primary-text);--button-default-hover:var(--ic-action-light-hover);--button-default-active:var(--ic-action-light-active)}:host(.button-variant-primary.dark) .button{--button-default-hover:var(--ic-action-dark-hover);--button-default-active:var(--ic-action-dark-active)}:host(.disabled),:host(.disabled) .button,:host(.loading),:host(.loading) .button{pointer-events:none}:host(.loading-with-icon) .button{min-width:var(--min-width, 8.25rem)}:host(.button-variant-primary) .button{color:var(--ic-architectural-white);background-color:var(--button-default)}:host(.button-variant-primary) .button:hover:not(:focus){background-color:var(--button-default-hover)}:host(.button-variant-primary) .button:active:not(:focus),:host(.button-variant-primary.loading) .button{background-color:var(--button-default-active)}:host(.button-variant-primary.disabled) .button{background:var(--ic-architectural-200);color:var(--ic-architectural-300)}:host(.button-variant-primary.light.disabled) .button{background:var(--ic-architectural-600);color:var(--ic-architectural-500)}:host(.button-variant-secondary) .button{border:var(--ic-space-1px) solid var(--button-default);color:var(--button-default)}:host(.button-variant-secondary) .button:hover:not(:focus){background-color:var(--button-default-background-hover);border-color:var(--button-default-hover);color:var(--button-default-hover)}:host(.button-variant-secondary) .button:active:not(:focus){border-color:var(--button-default-active);background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-secondary.loading) .button{border-color:var(--button-default-active);background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-secondary.disabled) .button,:host(.button-variant-secondary.disabled) .button:hover,:host(.button-variant-secondary.disabled) .button:active{border-color:var(--ic-architectural-300);color:var(--ic-architectural-300);background:none}:host(.button-variant-secondary.light.disabled) .button,:host(.button-variant-secondary.light.disabled) .button:hover,:host(.button-variant-secondary.light.disabled) .button:active{border-color:var(--ic-architectural-500);color:var(--ic-architectural-500);background:none}:host(.button-variant-tertiary) .button{color:var(--button-default)}:host(.button-variant-tertiary) .button:hover:not(:focus){background-color:var(--button-default-background-hover);color:var(--button-default-hover)}:host(.button-variant-tertiary) .button:active:not(:focus),:host(.button-variant-tertiary.loading) .button{background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-tertiary.disabled) .button,:host(.button-variant-tertiary.disabled) .button:hover,:host(.button-variant-tertiary.disabled) .button:active{border-color:var(--ic-architectural-300);color:var(--ic-architectural-300);background:none}:host(.button-variant-tertiary.light.disabled) .button,:host(.button-variant-tertiary.light.disabled) .button:hover,:host(.button-variant-tertiary.light.disabled) .button:active{border-color:var(--ic-architectural-500);color:var(--ic-architectural-500);background:none}:host(.button-variant-icon) .button{color:var(--button-default);min-width:0}:host(.button-variant-icon) .button:hover:not(:focus){background-color:var(--button-default-background-hover);color:var(--button-default-hover)}:host(.button-variant-icon) .button:active:not(:focus),:host(.button-variant-icon.loading) .button{background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-icon.disabled) .button,:host(.button-variant-icon.disabled) .button:hover,:host(.button-variant-icon.disabled) .button:active{color:var(--ic-architectural-300);background:none}:host(.button-variant-destructive) .button{color:var(--ic-architectural-white);background-color:var(--ic-action-destructive);text-transform:uppercase}:host(.button-variant-destructive) .button:hover:not(:focus){background-color:var(--ic-action-destructive-hover)}:host(.button-variant-destructive) .button:active:not(:focus),:host(.button-variant-destructive.loading) .button{background-color:var(--ic-action-destructive-active)}:host(.button-variant-destructive.disabled) .button{background:var(--ic-architectural-200);color:var(--ic-architectural-300)}:host(.button-size-default) .button{height:var(--height, 2.5rem);padding:var(--ic-space-xs) var(--ic-space-md)}:host(.button-size-small) .button{height:var(--height, var(--ic-space-xl));padding:var(--ic-space-xxs) var(--ic-space-md)}:host(.button-size-large) .button{height:var(--height, var(--ic-space-xxl));padding:var(--ic-space-sm) var(--ic-space-md)}:host(.button-size-default.button-variant-icon) .button{height:var(--height, var(--ic-space-xl));width:var(--ic-space-xl);padding:0.375rem}:host(.button-size-small.button-variant-icon) .button{height:var(--height, var(--ic-space-lg));width:var(--ic-space-lg);padding:var(--ic-space-xxs)}:host(.button-size-large.button-variant-icon) .button{height:var(--height, 2.5rem);width:2.5rem;padding:var(--ic-space-xs)}:host(.full-width),:host(.full-width) .button{width:100%}div.loading-container{position:relative;align-items:center;width:100%}ic-loading-indicator{--outer-color:transparent}@keyframes loading-animation{0%{width:0%;left:0%}25%{width:0%;left:0%;opacity:0}50%{width:100%;left:0%;opacity:1}75%{width:0%;left:100%}100%{width:0%;left:100%;opacity:0}}div.icon-container{box-sizing:border-box;width:var(--ic-space-lg);height:var(--ic-space-lg);display:flex;justify-content:center;align-items:center}::slotted(*){width:var(--icon-width) !important;height:var(--icon-height) !important;fill:currentcolor !important;pointer-events:none}:host(.button-variant-icon) .button .icon-container{margin:0;pointer-events:none}:host(.search-submit-button) ::slotted(svg){--icon-height:1.25rem;--icon-width:1.25rem}:host(.search-submit-button-small) ::slotted(svg){--icon-height:1rem;--icon-width:1rem}:host(.clear-button){margin:0 var(--ic-space-xxs)}:host(.clear-button) .button:focus{box-shadow:none}:host(.search-submit-button) .button:focus{box-shadow:none}:host(.search-submit-button) .button:not(:active):focus{box-shadow:none;background-color:var(--ic-action-default-bg-hover)}:host(.search-submit-button){display:flex;align-items:center;margin:0 var(--ic-space-xxs)}:host(.menu-close-button) ::slotted(svg){--icon-height:0.875rem;--icon-width:0.875rem}:host(.popout-menu-button) .button{justify-content:left;border-radius:0;white-space:pre-line;text-align:start}:host(.popout-menu-button) div.icon-container{flex:none}:host(.popout-menu-button) .button:focus{box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset)}.ic-button-describedby{display:none}:host .ic-tooltip{display:block}@media (forced-colors: active){.button{border:0.125rem solid transparent}}:host(.flip) ::slotted(svg){transform:scaleX(-1)}";
|
6
|
+
const icButtonCss = "/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%;}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{-webkit-appearance:button}button::-moz-focus-inner,[type=\"button\"]::-moz-focus-inner,[type=\"reset\"]::-moz-focus-inner,[type=\"submit\"]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=\"button\"]:-moz-focusring,[type=\"reset\"]:-moz-focusring,[type=\"submit\"]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=\"checkbox\"],[type=\"radio\"]{box-sizing:border-box;padding:0;}[type=\"number\"]::-webkit-inner-spin-button,[type=\"number\"]::-webkit-outer-spin-button{height:auto}[type=\"search\"]{-webkit-appearance:textfield;outline-offset:-2px;}[type=\"search\"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font-style:inherit;vertical-align:baseline}:host{display:inline-block;--button-default:var(--ic-action-default);--button-default-hover:var(--ic-action-default-hover);--button-default-active:var(--ic-action-default-active);--button-default-background-hover:var(--ic-action-default-bg-hover);--button-default-background-active:var(--ic-action-default-bg-active);--icon-width:100%;--icon-height:100%}.button{font-family:var(--ic-font-body-family);text-decoration:none;font-weight:600;font-size:0.875rem;transition:var(--ic-easing-transition-fast);border-radius:var(--ic-border-radius);min-width:var(--min-width, 6.25rem);display:inline-flex;gap:var(--ic-space-xxs);flex-direction:row;justify-content:center;align-items:center;background:none;border:none;box-sizing:border-box;white-space:nowrap;vertical-align:middle}:host(.with-badge) .button{border-radius:0.2188rem}.button:hover{cursor:pointer}.button:focus,:host .button:focus{box-shadow:var(--ic-border-focus)}:host(.light) .button:focus{box-shadow:var(--ic-border-focus)}.button:focus-visible{outline:var(--ic-hc-focus-outline)}:host(.dark) .button{--button-default:var(--ic-action-dark);--button-default-hover:var(--ic-action-dark);--button-default-active:var(--ic-action-dark);--button-default-background-hover:var(--ic-action-dark-bg-hover);--button-default-background-active:var(--ic-action-dark-bg-active)}:host(.light) .button{--button-default:var(--ic-action-light);--button-default-hover:var(--ic-action-light);--button-default-active:var(--ic-action-light);--button-default-background-hover:var(--ic-action-light-bg-hover);--button-default-background-active:var(--ic-action-light-bg-active)}:host(.button-variant-primary.light) .button{color:var(--ic-color-primary-text);--button-default-hover:var(--ic-action-light-hover);--button-default-active:var(--ic-action-light-active)}:host(.button-variant-primary.dark) .button{--button-default-hover:var(--ic-action-dark-hover);--button-default-active:var(--ic-action-dark-active)}:host(.disabled),:host(.disabled) .button,:host(.loading),:host(.loading) .button{pointer-events:none}:host(.button-variant-primary) .button{color:var(--ic-architectural-white);background-color:var(--button-default)}:host(.button-variant-primary) .button:hover:not(:focus){background-color:var(--button-default-hover)}:host(.button-variant-primary) .button:active:not(:focus),:host(.button-variant-primary.loading) .button{background-color:var(--button-default-active)}:host(.button-variant-primary.disabled) .button{background:var(--ic-architectural-200);color:var(--ic-architectural-300)}:host(.button-variant-primary.light.disabled) .button{background:var(--ic-architectural-600);color:var(--ic-architectural-500)}:host(.button-variant-secondary) .button{border:var(--ic-space-1px) solid var(--button-default);color:var(--button-default)}:host(.button-variant-secondary) .button:hover:not(:focus){background-color:var(--button-default-background-hover);border-color:var(--button-default-hover);color:var(--button-default-hover)}:host(.button-variant-secondary) .button:active:not(:focus){border-color:var(--button-default-active);background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-secondary.loading) .button{border-color:var(--button-default-active);background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-secondary.disabled) .button,:host(.button-variant-secondary.disabled) .button:hover,:host(.button-variant-secondary.disabled) .button:active{border-color:var(--ic-architectural-300);color:var(--ic-architectural-300);background:none}:host(.button-variant-secondary.light.disabled) .button,:host(.button-variant-secondary.light.disabled) .button:hover,:host(.button-variant-secondary.light.disabled) .button:active{border-color:var(--ic-architectural-500);color:var(--ic-architectural-500);background:none}:host(.button-variant-tertiary) .button{color:var(--button-default)}:host(.button-variant-tertiary) .button:hover:not(:focus){background-color:var(--button-default-background-hover);color:var(--button-default-hover)}:host(.button-variant-tertiary) .button:active:not(:focus),:host(.button-variant-tertiary.loading) .button{background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-tertiary.disabled) .button,:host(.button-variant-tertiary.disabled) .button:hover,:host(.button-variant-tertiary.disabled) .button:active{border-color:var(--ic-architectural-300);color:var(--ic-architectural-300);background:none}:host(.button-variant-tertiary.light.disabled) .button,:host(.button-variant-tertiary.light.disabled) .button:hover,:host(.button-variant-tertiary.light.disabled) .button:active{border-color:var(--ic-architectural-500);color:var(--ic-architectural-500);background:none}:host(.button-variant-icon) .button{color:var(--button-default);min-width:0;gap:var(--ic-space-xs)}:host(.button-variant-icon) .icon-container{width:var(--ic-space-lg) !important;height:var(--ic-space-lg) !important}:host(.button-variant-icon) .button:hover:not(:focus){background-color:var(--button-default-background-hover);color:var(--button-default-hover)}:host(.button-variant-icon) .button:active:not(:focus),:host(.button-variant-icon.loading) .button{background-color:var(--button-default-background-active);color:var(--button-default-active)}:host(.button-variant-icon.disabled) .button,:host(.button-variant-icon.disabled) .button:hover,:host(.button-variant-icon.disabled) .button:active{color:var(--ic-architectural-300);background:none}:host(.button-variant-destructive) .button{color:var(--ic-architectural-white);background-color:var(--ic-action-destructive);text-transform:uppercase}:host(.button-variant-destructive) .button:hover:not(:focus){background-color:var(--ic-action-destructive-hover)}:host(.button-variant-destructive) .button:active:not(:focus),:host(.button-variant-destructive.loading) .button{background-color:var(--ic-action-destructive-active)}:host(.button-variant-destructive.disabled) .button{background:var(--ic-architectural-200);color:var(--ic-architectural-300)}:host(.button-size-default) .button{height:var(--height, 2.5rem);padding:var(--ic-space-xs) var(--ic-space-md)}:host(.button-size-small) .button{height:var(--height, var(--ic-space-xl));padding:var(--ic-space-xxs) var(--ic-space-md)}:host(.button-size-large) .button{height:var(--height, var(--ic-space-xxl));gap:var(--ic-space-xs);padding:var(--ic-space-sm) var(--ic-space-md)}:host(.button-size-default.button-variant-icon) .button{height:var(--height, var(--ic-space-xl));width:var(--ic-space-xl);padding:0.375rem}:host(.button-size-small.button-variant-icon) .button{height:var(--height, var(--ic-space-lg));width:var(--ic-space-lg);padding:var(--ic-space-xxs)}:host(.button-size-large.button-variant-icon) .button{height:var(--height, 2.5rem);width:2.5rem;padding:var(--ic-space-xs)}:host(.full-width),:host(.full-width) .button{width:100%}div.loading-container{position:relative;align-items:center;width:100%}ic-loading-indicator{--outer-color:transparent}@keyframes loading-animation{0%{width:0%;left:0%}25%{width:0%;left:0%;opacity:0}50%{width:100%;left:0%;opacity:1}75%{width:0%;left:100%}100%{width:0%;left:100%;opacity:0}}div.icon-container{box-sizing:border-box;width:var(--ic-space-md);height:var(--ic-space-md);display:flex;justify-content:center;align-items:center}:host(.button-size-large) div.icon-container{width:calc(var(--ic-space-md) + var(--ic-space-xxs));height:calc(var(--ic-space-md) + var(--ic-space-xxs))}::slotted(*){width:var(--icon-width) !important;height:var(--icon-height) !important;fill:currentcolor !important;pointer-events:none}:host(.button-variant-icon) .button .icon-container{margin:0;pointer-events:none}:host(.search-submit-button) ::slotted(svg){--icon-height:1.25rem;--icon-width:1.25rem}:host(.search-submit-button-small) ::slotted(svg){--icon-height:1rem;--icon-width:1rem}:host(.clear-button){margin:0 var(--ic-space-xxs)}:host(.clear-button) .button:focus{box-shadow:none}:host(.search-submit-button) .button:focus{box-shadow:none}:host(.search-submit-button) .button:not(:active):focus{box-shadow:none;background-color:var(--ic-action-default-bg-hover)}:host(.search-submit-button){display:flex;align-items:center;margin:0 var(--ic-space-xxs)}:host(.menu-close-button) ::slotted(svg){--icon-height:0.875rem;--icon-width:0.875rem}:host(.popout-menu-button) .button{justify-content:left;border-radius:0;white-space:pre-line;text-align:start}:host(.popout-menu-button) div.icon-container{flex:none}:host(.popout-menu-button) .button:focus{box-shadow:var(--ic-border-focus-inset);border-radius:var(--ic-border-radius-inset)}.ic-button-describedby{display:none}:host .ic-tooltip{display:block}@media (forced-colors: active){.button{border:0.125rem solid transparent}}:host(.flip) ::slotted(svg){transform:scaleX(-1)}";
|
7
7
|
|
8
8
|
var __rest = (undefined && undefined.__rest) || function (s, e) {
|
9
9
|
var t = {};
|
@@ -29,6 +29,19 @@ const Button = class {
|
|
29
29
|
this.describedByEl = null;
|
30
30
|
this.describedById = null;
|
31
31
|
this.mutationObserver = null;
|
32
|
+
this.setViewBox = () => {
|
33
|
+
let iconEl;
|
34
|
+
if (this.hasLeftIconSlot()) {
|
35
|
+
iconEl = this.el.querySelector(`[slot="left-icon"]`);
|
36
|
+
}
|
37
|
+
else if (this.hasRightIconSlot()) {
|
38
|
+
iconEl = this.el.querySelector(`[slot="right-icon"]`);
|
39
|
+
}
|
40
|
+
else {
|
41
|
+
iconEl = null;
|
42
|
+
}
|
43
|
+
return iconEl;
|
44
|
+
};
|
32
45
|
this.handleClick = () => {
|
33
46
|
if ((this.el.type === "submit" || this.el.type === "reset") &&
|
34
47
|
!!this.el.closest("FORM")) {
|
@@ -41,6 +54,11 @@ const Button = class {
|
|
41
54
|
this.onBlur = () => {
|
42
55
|
this.icBlur.emit();
|
43
56
|
};
|
57
|
+
this.loadingWidth = () => {
|
58
|
+
if (this.loading) {
|
59
|
+
this.el.style.setProperty("--min-width", `${this.el.getBoundingClientRect().width}px`);
|
60
|
+
}
|
61
|
+
};
|
44
62
|
// triggered when text content of sibling element in light DOM changes
|
45
63
|
this.mutationCallback = () => {
|
46
64
|
this.describedByContent = this.describedByEl.innerText;
|
@@ -73,6 +91,9 @@ const Button = class {
|
|
73
91
|
this.mutationObserver.disconnect();
|
74
92
|
}
|
75
93
|
}
|
94
|
+
componentWillUpdate() {
|
95
|
+
this.loadingWidth();
|
96
|
+
}
|
76
97
|
componentWillLoad() {
|
77
98
|
this.inheritedAttributes = inheritAttributes(this.el, [
|
78
99
|
...IC_INHERITED_ARIA,
|
@@ -105,6 +126,10 @@ const Button = class {
|
|
105
126
|
});
|
106
127
|
}
|
107
128
|
}
|
129
|
+
componentWillRender() {
|
130
|
+
var _a;
|
131
|
+
(_a = this.setViewBox()) === null || _a === void 0 ? void 0 : _a.setAttribute("viewBox", "0 0 24 24");
|
132
|
+
}
|
108
133
|
handleHostClick(event) {
|
109
134
|
if (this.disabled || this.loading) {
|
110
135
|
event.stopImmediatePropagation();
|
@@ -128,7 +153,7 @@ const Button = class {
|
|
128
153
|
async updateAriaLabel(newValue) {
|
129
154
|
if (this.hasTooltip) {
|
130
155
|
this.tooltipEl.label = newValue;
|
131
|
-
this.buttonEl.
|
156
|
+
this.buttonEl.setAttribute("aria-label", null);
|
132
157
|
}
|
133
158
|
else {
|
134
159
|
this.buttonEl.setAttribute("aria-label", newValue);
|
@@ -138,6 +163,14 @@ const Button = class {
|
|
138
163
|
const iconEl = this.el.querySelector(`[slot="icon"]`);
|
139
164
|
return iconEl !== null;
|
140
165
|
}
|
166
|
+
hasLeftIconSlot() {
|
167
|
+
const iconEl = this.el.querySelector(`[slot="left-icon"]`);
|
168
|
+
return iconEl !== null;
|
169
|
+
}
|
170
|
+
hasRightIconSlot() {
|
171
|
+
const iconEl = this.el.querySelector(`[slot="right-icon"]`);
|
172
|
+
return iconEl !== null;
|
173
|
+
}
|
141
174
|
handleHiddenFormButtonClick(form) {
|
142
175
|
const hiddenFormButton = document.createElement("button");
|
143
176
|
hiddenFormButton.setAttribute("type", this.el.type);
|
@@ -198,19 +231,18 @@ const Button = class {
|
|
198
231
|
describedBy = this.describedById;
|
199
232
|
}
|
200
233
|
const ButtonContent = () => {
|
201
|
-
return (h(TagType, Object.assign({ class: "button", "aria-disabled": this.loading || this.disabled ? "true" : null, "aria-label": this.loading ? "Loading" : ariaLabel }, buttonAttrs, restInheritedAttributes, titleAttr, { onFocus: this.onFocus, onBlur: this.onBlur, ref: (el) => (this.buttonEl = el), id: buttonId, "aria-describedby": this.hasTooltip && ariaLabel ? null : describedBy, part: "button" }), this.hasIconSlot() && !this.loading && (h("div", { class: "icon-container" }, h("slot", { name: "icon" }))), this.loading ? (h("div", { class: "loading-container" }, h("ic-loading-indicator", { type: "linear", appearance: this.variant === "primary" ||
|
234
|
+
return (h(TagType, Object.assign({ class: "button", "aria-disabled": this.loading || this.disabled ? "true" : null, "aria-label": this.loading ? "Loading" : ariaLabel }, buttonAttrs, restInheritedAttributes, titleAttr, { onFocus: this.onFocus, onBlur: this.onBlur, ref: (el) => (this.buttonEl = el), id: buttonId, "aria-describedby": this.hasTooltip && ariaLabel ? null : describedBy, part: "button" }), this.hasIconSlot() && !this.loading && (h("div", { class: "icon-container" }, h("slot", { name: "icon" }))), this.hasLeftIconSlot() && !this.loading && (h("div", { class: "icon-container" }, h("slot", { name: "left-icon" }))), this.loading ? (h("div", { class: "loading-container" }, h("ic-loading-indicator", { type: "linear", appearance: this.variant === "primary" ||
|
202
235
|
this.variant === "destructive" ||
|
203
236
|
this.appearance === IcThemeForegroundEnum.Dark ||
|
204
237
|
this.appearance === IcThemeForegroundEnum.Light
|
205
238
|
? "light"
|
206
|
-
: "dark" }))) : (h("slot", null))));
|
239
|
+
: "dark" }))) : (h("slot", null)), this.hasRightIconSlot() && !this.loading && (h("div", { class: "icon-container" }, h("slot", { name: "right-icon" })))));
|
207
240
|
};
|
208
241
|
return (h(Host, { class: {
|
209
242
|
["disabled"]: this.disabled && !this.loading,
|
210
243
|
[`button-variant-${this.variant}`]: true,
|
211
244
|
[`button-size-${this.size}`]: true,
|
212
245
|
["loading"]: this.loading,
|
213
|
-
["loading-with-icon"]: this.loading && this.hasIconSlot(),
|
214
246
|
["dark"]: this.appearance === IcThemeForegroundEnum.Dark,
|
215
247
|
["light"]: this.appearance === IcThemeForegroundEnum.Light,
|
216
248
|
["full-width"]: this.fullWidth,
|
@@ -404,15 +436,17 @@ const LoadingIndicator = class {
|
|
404
436
|
};
|
405
437
|
LoadingIndicator.style = icLoadingIndicatorCss;
|
406
438
|
|
407
|
-
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)}}";
|
439
|
+
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;transform:translateX(var(--tooltip-arrow-translate))}: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;transform:translateX(var(--tooltip-arrow-translate))}: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))}:host(.on-dialog) .ic-tooltip-container{transform:translate(\n var(--tooltip-translate-x),\n var(--tooltip-translate-y)\n ) !important}@media (forced-colors: active){:host(.ic-tooltip) .ic-tooltip-container,:host(.ic-tooltip) .ic-tooltip-arrow::before{border:var(--ic-hc-border)}}";
|
408
440
|
|
409
441
|
const Tooltip = class {
|
410
442
|
constructor(hostRef) {
|
411
443
|
registerInstance(this, hostRef);
|
412
444
|
this.delayedHideEvents = ["mouseleave"];
|
445
|
+
this.dialogOverflow = false;
|
413
446
|
this.instantHideEvents = ["focusout"];
|
414
447
|
this.mouseOverTool = false;
|
415
448
|
this.persistTooltip = false;
|
449
|
+
this.onDialog = false;
|
416
450
|
this.screenReaderOnlyStyles = {
|
417
451
|
position: "absolute",
|
418
452
|
left: "-10000px",
|
@@ -428,6 +462,13 @@ const Tooltip = class {
|
|
428
462
|
];
|
429
463
|
this.show = (popper) => {
|
430
464
|
this.toolTip.setAttribute("data-show", "");
|
465
|
+
if (this.onDialog) {
|
466
|
+
this.el.classList.add("on-dialog");
|
467
|
+
const dialogEl = this.icDialogEl.shadowRoot
|
468
|
+
.querySelector("dialog")
|
469
|
+
.getBoundingClientRect();
|
470
|
+
this.getTooltipTranslate(dialogEl);
|
471
|
+
}
|
431
472
|
popper.setOptions((options) => (Object.assign(Object.assign({}, options), { modifiers: [
|
432
473
|
...options.modifiers,
|
433
474
|
{ name: "eventListeners", enabled: true },
|
@@ -480,6 +521,77 @@ const Tooltip = class {
|
|
480
521
|
});
|
481
522
|
document[method]("keydown", (event) => this.handleKeyDown(event.key));
|
482
523
|
};
|
524
|
+
/**
|
525
|
+
* Method to programmatically show/hide the tooltip without needing to interact with an anchor element
|
526
|
+
* @param show Whether to show or hide the tooltip
|
527
|
+
* @param persistTooltip Whether the tooltip should stay on the screen when actions are performed that would previously dismiss the tooltip, such as on hover
|
528
|
+
*/
|
529
|
+
// @Method()
|
530
|
+
// async displayTooltip(show: boolean, persistTooltip?: boolean): Promise<void> {
|
531
|
+
// this.persistTooltip = persistTooltip;
|
532
|
+
// show ? this.show() : this.hide();
|
533
|
+
// }
|
534
|
+
this.getTooltipTranslate = (dialogEl) => {
|
535
|
+
const child = this.el.children[0].getBoundingClientRect();
|
536
|
+
let tooltipX;
|
537
|
+
let tooltipY;
|
538
|
+
switch (this.placement) {
|
539
|
+
case "bottom":
|
540
|
+
tooltipX = child.left - dialogEl.left - 0.5 * child.width;
|
541
|
+
tooltipY = child.bottom - dialogEl.top;
|
542
|
+
break;
|
543
|
+
case "bottom-start":
|
544
|
+
tooltipX = child.left - dialogEl.left;
|
545
|
+
tooltipY = child.bottom - dialogEl.top;
|
546
|
+
break;
|
547
|
+
case "bottom-end":
|
548
|
+
tooltipX = child.right - dialogEl.right;
|
549
|
+
tooltipY = child.bottom - dialogEl.top;
|
550
|
+
break;
|
551
|
+
case "top":
|
552
|
+
tooltipX = child.left - dialogEl.left - 0.5 * child.width;
|
553
|
+
tooltipY = child.top - dialogEl.bottom;
|
554
|
+
break;
|
555
|
+
case "top-start":
|
556
|
+
tooltipX = child.left - dialogEl.left;
|
557
|
+
tooltipY = child.top - dialogEl.bottom;
|
558
|
+
break;
|
559
|
+
case "top-end":
|
560
|
+
tooltipX = child.right - dialogEl.right;
|
561
|
+
tooltipY = child.top - dialogEl.bottom;
|
562
|
+
break;
|
563
|
+
case "left":
|
564
|
+
case "left-start":
|
565
|
+
tooltipX = child.right - dialogEl.right - child.width;
|
566
|
+
tooltipY = child.bottom - dialogEl.top - child.height;
|
567
|
+
break;
|
568
|
+
case "left-end":
|
569
|
+
tooltipX = child.right - dialogEl.right - child.width;
|
570
|
+
tooltipY = child.top - dialogEl.bottom + child.height;
|
571
|
+
break;
|
572
|
+
case "right":
|
573
|
+
case "right-start":
|
574
|
+
tooltipX = child.left - dialogEl.left + child.width;
|
575
|
+
tooltipY = child.bottom - dialogEl.top - child.height;
|
576
|
+
break;
|
577
|
+
case "right-end":
|
578
|
+
tooltipX = child.left - dialogEl.left + child.width;
|
579
|
+
tooltipY = child.top - dialogEl.bottom + child.height;
|
580
|
+
break;
|
581
|
+
}
|
582
|
+
if (this.dialogOverflow && tooltipX < 0) {
|
583
|
+
if (this.placement.includes("top") || this.placement.includes("bottom")) {
|
584
|
+
this.toolTip.style.setProperty("--tooltip-arrow-translate", `${tooltipX}px`);
|
585
|
+
tooltipX = child.left - dialogEl.left;
|
586
|
+
}
|
587
|
+
if (this.placement.includes("left")) {
|
588
|
+
this.placement = "right";
|
589
|
+
tooltipX = child.left - dialogEl.left + child.width;
|
590
|
+
}
|
591
|
+
}
|
592
|
+
this.toolTip.style.setProperty("--tooltip-translate-x", `${tooltipX}px`);
|
593
|
+
this.toolTip.style.setProperty("--tooltip-translate-y", `${tooltipY}px`);
|
594
|
+
};
|
483
595
|
this.disableClick = false;
|
484
596
|
this.disableHover = false;
|
485
597
|
this.placement = "bottom";
|
@@ -487,16 +599,18 @@ const Tooltip = class {
|
|
487
599
|
this.label = undefined;
|
488
600
|
}
|
489
601
|
updateLabel(newValue) {
|
490
|
-
|
491
|
-
|
492
|
-
describedBySpan.innerText = newValue;
|
602
|
+
if (this.ariaDescribedBy !== null) {
|
603
|
+
this.ariaDescribedBy.innerText = newValue;
|
493
604
|
}
|
494
605
|
}
|
495
606
|
disconnectedCallback() {
|
496
607
|
this.manageEventListeners("remove");
|
497
|
-
this.popperInstance
|
608
|
+
if (this.popperInstance !== undefined) {
|
609
|
+
this.popperInstance.destroy();
|
610
|
+
}
|
498
611
|
}
|
499
612
|
componentDidLoad() {
|
613
|
+
var _a;
|
500
614
|
this.popperInstance = createPopper(this.el, this.toolTip, {
|
501
615
|
placement: this.placement,
|
502
616
|
modifiers: [
|
@@ -519,16 +633,110 @@ const Tooltip = class {
|
|
519
633
|
],
|
520
634
|
});
|
521
635
|
this.manageEventListeners("add");
|
636
|
+
this.icDialogEl = this.el.closest("ic-dialog");
|
637
|
+
this.dialogOverflow =
|
638
|
+
((_a = this.icDialogEl) === null || _a === void 0 ? void 0 : _a.getAttribute("data-overflow")) === "true";
|
639
|
+
this.onDialog = this.icDialogEl !== null;
|
522
640
|
onComponentRequiredPropUndefined([{ prop: this.label, propName: "label" }], "Tooltip");
|
523
641
|
if (this.target !== undefined) {
|
524
|
-
|
525
|
-
ariaDescribedBy.id = `ic-tooltip-${this.target}`;
|
526
|
-
ariaDescribedBy.innerText = this.label;
|
527
|
-
ariaDescribedBy.classList.add("ic-tooltip-label");
|
528
|
-
Object.assign(ariaDescribedBy.style, this.screenReaderOnlyStyles);
|
529
|
-
this.el.insertAdjacentElement("beforebegin", ariaDescribedBy);
|
642
|
+
this.ariaDescribedBy = document.createElement("span");
|
643
|
+
this.ariaDescribedBy.id = `ic-tooltip-${this.target}`;
|
644
|
+
this.ariaDescribedBy.innerText = this.label;
|
645
|
+
this.ariaDescribedBy.classList.add("ic-tooltip-label");
|
646
|
+
Object.assign(this.ariaDescribedBy.style, this.screenReaderOnlyStyles);
|
647
|
+
this.el.insertAdjacentElement("beforebegin", this.ariaDescribedBy);
|
530
648
|
}
|
531
649
|
}
|
650
|
+
// private show = () => {
|
651
|
+
// this.toolTip.setAttribute("data-show", "");
|
652
|
+
// if (this.onDialog) {
|
653
|
+
// this.el.classList.add("on-dialog");
|
654
|
+
// const dialogEl = this.icDialogEl.shadowRoot
|
655
|
+
// .querySelector("dialog")
|
656
|
+
// .getBoundingClientRect();
|
657
|
+
// this.getTooltipTranslate(dialogEl);
|
658
|
+
// }
|
659
|
+
// this.popperInstance = createPopper(this.el, this.toolTip, {
|
660
|
+
// placement: this.placement,
|
661
|
+
// modifiers: [
|
662
|
+
// {
|
663
|
+
// name: "offset",
|
664
|
+
// options: {
|
665
|
+
// offset: [0, 10],
|
666
|
+
// },
|
667
|
+
// },
|
668
|
+
// {
|
669
|
+
// name: "arrow",
|
670
|
+
// options: {
|
671
|
+
// element: this.arrow,
|
672
|
+
// },
|
673
|
+
// },
|
674
|
+
// {
|
675
|
+
// name: "eventListeners",
|
676
|
+
// options: { scroll: false, resize: false },
|
677
|
+
// },
|
678
|
+
// ],
|
679
|
+
// });
|
680
|
+
// };
|
681
|
+
// private hide = () => {
|
682
|
+
// this.toolTip.removeAttribute("data-show");
|
683
|
+
// this.persistTooltip = false;
|
684
|
+
// };
|
685
|
+
// private checkCloseTooltip = () => {
|
686
|
+
// setTimeout(() => {
|
687
|
+
// if (!this.mouseOverTool && !this.persistTooltip) {
|
688
|
+
// this.hide();
|
689
|
+
// }
|
690
|
+
// }, 100);
|
691
|
+
// };
|
692
|
+
// private mouseEnterTooltip = () => {
|
693
|
+
// this.mouseOverTool = true;
|
694
|
+
// };
|
695
|
+
// private mouseLeaveTooltip = () => {
|
696
|
+
// this.mouseOverTool = false;
|
697
|
+
// this.checkCloseTooltip();
|
698
|
+
// };
|
699
|
+
// private handleKeyDown = (event: KeyboardEvent) => {
|
700
|
+
// if (event.key === "Escape" && !this.persistTooltip) {
|
701
|
+
// this.hide();
|
702
|
+
// }
|
703
|
+
// };
|
704
|
+
// private manageEventListeners = (action: "add" | "remove") => {
|
705
|
+
// const method =
|
706
|
+
// action === "add" ? "addEventListener" : "removeEventListener";
|
707
|
+
// this.showEvents.forEach((event) => {
|
708
|
+
// this.el[method](event, this.show);
|
709
|
+
// if (this.toolTip !== undefined) {
|
710
|
+
// this.toolTip[method](event, this.mouseEnterTooltip);
|
711
|
+
// }
|
712
|
+
// });
|
713
|
+
// if (!this.persistTooltip) {
|
714
|
+
// this.instantHideEvents.forEach((event) => {
|
715
|
+
// this.el[method](event, this.hide);
|
716
|
+
// });
|
717
|
+
// }
|
718
|
+
// this.delayedHideEvents.forEach((event) => {
|
719
|
+
// this.el[method](event, this.checkCloseTooltip);
|
720
|
+
// if (this.toolTip !== undefined) {
|
721
|
+
// this.toolTip[method](event, this.mouseLeaveTooltip);
|
722
|
+
// }
|
723
|
+
// });
|
724
|
+
// document[method]("keydown", this.handleKeyDown);
|
725
|
+
// };
|
726
|
+
// this.manageEventListeners("add");
|
727
|
+
// onComponentRequiredPropUndefined(
|
728
|
+
// [{ prop: this.label, propName: "label" }],
|
729
|
+
// "Tooltip"
|
730
|
+
// );
|
731
|
+
// if (this.target !== undefined) {
|
732
|
+
// const ariaDescribedBy = document.createElement("span");
|
733
|
+
// ariaDescribedBy.id = `ic-tooltip-${this.target}`;
|
734
|
+
// ariaDescribedBy.innerText = this.label;
|
735
|
+
// ariaDescribedBy.classList.add("ic-tooltip-label");
|
736
|
+
// Object.assign(ariaDescribedBy.style, this.screenReaderOnlyStyles);
|
737
|
+
// this.el.insertAdjacentElement("beforebegin", ariaDescribedBy);
|
738
|
+
// }
|
739
|
+
// }
|
532
740
|
/**
|
533
741
|
* Method to programmatically show/hide the tooltip without needing to interact with an anchor element
|
534
742
|
* @param show Whether to show or hide the tooltip
|