@ember-eui/core 9.0.1 → 10.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/eui-accordion.js +74 -218
- package/dist/components/eui-accordion.js.map +1 -1
- package/dist/components/eui-auto-sizer.js +68 -84
- package/dist/components/eui-auto-sizer.js.map +1 -1
- package/dist/components/eui-avatar.js +5 -56
- package/dist/components/eui-avatar.js.map +1 -1
- package/dist/components/eui-badge-group.js +7 -21
- package/dist/components/eui-badge-group.js.map +1 -1
- package/dist/components/eui-badge.js +5 -159
- package/dist/components/eui-badge.js.map +1 -1
- package/dist/components/eui-beta-badge.js +5 -177
- package/dist/components/eui-beta-badge.js.map +1 -1
- package/dist/components/eui-bottom-bar.js +34 -101
- package/dist/components/eui-bottom-bar.js.map +1 -1
- package/dist/components/eui-breadcrumbs.js +78 -183
- package/dist/components/eui-breadcrumbs.js.map +1 -1
- package/dist/components/eui-button-content.js +5 -33
- package/dist/components/eui-button-content.js.map +1 -1
- package/dist/components/eui-button-empty.js +5 -67
- package/dist/components/eui-button-empty.js.map +1 -1
- package/dist/components/eui-button-group-button.js +5 -65
- package/dist/components/eui-button-group-button.js.map +1 -1
- package/dist/components/eui-button-group.js +5 -74
- package/dist/components/eui-button-group.js.map +1 -1
- package/dist/components/eui-button-icon.js +5 -60
- package/dist/components/eui-button-icon.js.map +1 -1
- package/dist/components/eui-button.js +5 -52
- package/dist/components/eui-button.js.map +1 -1
- package/dist/components/eui-call-out.js +5 -50
- package/dist/components/eui-call-out.js.map +1 -1
- package/dist/components/eui-card-select.js +22 -48
- package/dist/components/eui-card-select.js.map +1 -1
- package/dist/components/eui-card.js +41 -198
- package/dist/components/eui-card.js.map +1 -1
- package/dist/components/eui-checkable-card.js +5 -67
- package/dist/components/eui-checkable-card.js.map +1 -1
- package/dist/components/eui-checkbox-group.js +5 -52
- package/dist/components/eui-checkbox-group.js.map +1 -1
- package/dist/components/eui-checkbox.js +8 -53
- package/dist/components/eui-checkbox.js.map +1 -1
- package/dist/components/eui-code-block/controls.js +5 -36
- package/dist/components/eui-code-block/controls.js.map +1 -1
- package/dist/components/eui-code-block/full-screen-display.js +5 -18
- package/dist/components/eui-code-block/full-screen-display.js.map +1 -1
- package/dist/components/eui-code-block/virtualized.js +24 -61
- package/dist/components/eui-code-block/virtualized.js.map +1 -1
- package/dist/components/eui-code-block.js +141 -287
- package/dist/components/eui-code-block.js.map +1 -1
- package/dist/components/eui-code.js +43 -58
- package/dist/components/eui-code.js.map +1 -1
- package/dist/components/eui-collapsible-nav-group.js +5 -132
- package/dist/components/eui-collapsible-nav-group.js.map +1 -1
- package/dist/components/eui-collapsible-nav.js +48 -85
- package/dist/components/eui-collapsible-nav.js.map +1 -1
- package/dist/components/eui-combo-box/create-option.js +21 -42
- package/dist/components/eui-combo-box/create-option.js.map +1 -1
- package/dist/components/eui-combo-box/group.js +4 -15
- package/dist/components/eui-combo-box/group.js.map +1 -1
- package/dist/components/eui-combo-box/no-matches-message.js +5 -13
- package/dist/components/eui-combo-box/no-matches-message.js.map +1 -1
- package/dist/components/eui-combo-box/options.js +41 -124
- package/dist/components/eui-combo-box/options.js.map +1 -1
- package/dist/components/eui-combo-box/search-message.js +5 -13
- package/dist/components/eui-combo-box/search-message.js.map +1 -1
- package/dist/components/eui-combo-box/trigger/input.js +37 -77
- package/dist/components/eui-combo-box/trigger/input.js.map +1 -1
- package/dist/components/eui-combo-box/trigger.js +25 -156
- package/dist/components/eui-combo-box/trigger.js.map +1 -1
- package/dist/components/eui-combo-box-pill.js +5 -44
- package/dist/components/eui-combo-box-pill.js.map +1 -1
- package/dist/components/eui-combo-box.js +124 -209
- package/dist/components/eui-combo-box.js.map +1 -1
- package/dist/components/eui-comment-list.js +4 -11
- package/dist/components/eui-comment-list.js.map +1 -1
- package/dist/components/eui-comment-timeline.js +5 -34
- package/dist/components/eui-comment-timeline.js.map +1 -1
- package/dist/components/eui-comment.js +5 -88
- package/dist/components/eui-comment.js.map +1 -1
- package/dist/components/eui-confirm-modal.js +5 -46
- package/dist/components/eui-confirm-modal.js.map +1 -1
- package/dist/components/eui-context-menu-item.js +29 -94
- package/dist/components/eui-context-menu-item.js.map +1 -1
- package/dist/components/eui-context-menu-panel.js +4 -10
- package/dist/components/eui-context-menu-panel.js.map +1 -1
- package/dist/components/eui-copy.js +25 -32
- package/dist/components/eui-copy.js.map +1 -1
- package/dist/components/eui-described-form-group.js +5 -43
- package/dist/components/eui-described-form-group.js.map +1 -1
- package/dist/components/eui-description-list-description.js +4 -8
- package/dist/components/eui-description-list-description.js.map +1 -1
- package/dist/components/eui-description-list-title.js +4 -8
- package/dist/components/eui-description-list-title.js.map +1 -1
- package/dist/components/eui-description-list.js +5 -29
- package/dist/components/eui-description-list.js.map +1 -1
- package/dist/components/eui-dual-range.js +273 -650
- package/dist/components/eui-dual-range.js.map +1 -1
- package/dist/components/eui-empty-prompt.js +5 -94
- package/dist/components/eui-empty-prompt.js.map +1 -1
- package/dist/components/eui-field-number.js +5 -72
- package/dist/components/eui-field-number.js.map +1 -1
- package/dist/components/eui-field-password.js +5 -78
- package/dist/components/eui-field-password.js.map +1 -1
- package/dist/components/eui-field-search.js +77 -135
- package/dist/components/eui-field-search.js.map +1 -1
- package/dist/components/eui-field-text.js +5 -69
- package/dist/components/eui-field-text.js.map +1 -1
- package/dist/components/eui-file-picker.js +80 -167
- package/dist/components/eui-file-picker.js.map +1 -1
- package/dist/components/eui-flex-grid.js +5 -37
- package/dist/components/eui-flex-grid.js.map +1 -1
- package/dist/components/eui-flex-group.js +5 -37
- package/dist/components/eui-flex-group.js.map +1 -1
- package/dist/components/eui-flex-item.js +5 -32
- package/dist/components/eui-flex-item.js.map +1 -1
- package/dist/components/eui-flyout-body.js +5 -35
- package/dist/components/eui-flyout-body.js.map +1 -1
- package/dist/components/eui-flyout-footer.js +4 -8
- package/dist/components/eui-flyout-footer.js.map +1 -1
- package/dist/components/eui-flyout-header.js +5 -15
- package/dist/components/eui-flyout-header.js.map +1 -1
- package/dist/components/eui-flyout.js +85 -223
- package/dist/components/eui-flyout.js.map +1 -1
- package/dist/components/eui-form-control-layout-clear-button.js +5 -20
- package/dist/components/eui-form-control-layout-clear-button.js.map +1 -1
- package/dist/components/eui-form-control-layout-custom-icon.js +5 -30
- package/dist/components/eui-form-control-layout-custom-icon.js.map +1 -1
- package/dist/components/eui-form-control-layout-delimited.js +5 -50
- package/dist/components/eui-form-control-layout-delimited.js.map +1 -1
- package/dist/components/eui-form-control-layout-icons.js +5 -42
- package/dist/components/eui-form-control-layout-icons.js.map +1 -1
- package/dist/components/eui-form-control-layout.js +5 -44
- package/dist/components/eui-form-control-layout.js.map +1 -1
- package/dist/components/eui-form-error-text.js +4 -8
- package/dist/components/eui-form-error-text.js.map +1 -1
- package/dist/components/eui-form-fieldset.js +5 -22
- package/dist/components/eui-form-fieldset.js.map +1 -1
- package/dist/components/eui-form-help-text.js +4 -8
- package/dist/components/eui-form-help-text.js.map +1 -1
- package/dist/components/eui-form-label.js +5 -26
- package/dist/components/eui-form-label.js.map +1 -1
- package/dist/components/eui-form-legend.js +5 -24
- package/dist/components/eui-form-legend.js.map +1 -1
- package/dist/components/eui-form-row.js +7 -260
- package/dist/components/eui-form-row.js.map +1 -1
- package/dist/components/eui-form.js +5 -79
- package/dist/components/eui-form.js.map +1 -1
- package/dist/components/eui-global-toast-list.js +102 -123
- package/dist/components/eui-global-toast-list.js.map +1 -1
- package/dist/components/eui-header-alert.js +5 -33
- package/dist/components/eui-header-alert.js.map +1 -1
- package/dist/components/eui-header-breadcrumbs.js +5 -13
- package/dist/components/eui-header-breadcrumbs.js.map +1 -1
- package/dist/components/eui-header-link.js +5 -21
- package/dist/components/eui-header-link.js.map +1 -1
- package/dist/components/eui-header-links.js +25 -73
- package/dist/components/eui-header-links.js.map +1 -1
- package/dist/components/eui-header-logo.js +5 -19
- package/dist/components/eui-header-logo.js.map +1 -1
- package/dist/components/eui-header-section-item-button.js +42 -91
- package/dist/components/eui-header-section-item-button.js.map +1 -1
- package/dist/components/eui-header-section-item.js +5 -15
- package/dist/components/eui-header-section-item.js.map +1 -1
- package/dist/components/eui-header-section.js +5 -16
- package/dist/components/eui-header-section.js.map +1 -1
- package/dist/components/eui-header.js +7 -32
- package/dist/components/eui-header.js.map +1 -1
- package/dist/components/eui-health.js +5 -24
- package/dist/components/eui-health.js.map +1 -1
- package/dist/components/eui-hide-for.js +12 -18
- package/dist/components/eui-hide-for.js.map +1 -1
- package/dist/components/eui-horizontal-rule.js +5 -14
- package/dist/components/eui-horizontal-rule.js.map +1 -1
- package/dist/components/eui-i18n/render.js +4 -6
- package/dist/components/eui-i18n/render.js.map +1 -1
- package/dist/components/eui-i18n.js +21 -42
- package/dist/components/eui-i18n.js.map +1 -1
- package/dist/components/eui-icon-tip.js +5 -45
- package/dist/components/eui-icon-tip.js.map +1 -1
- package/dist/components/eui-icon.js +56 -127
- package/dist/components/eui-icon.js.map +1 -1
- package/dist/components/eui-image.js +38 -143
- package/dist/components/eui-image.js.map +1 -1
- package/dist/components/eui-inner-text.js +33 -37
- package/dist/components/eui-inner-text.js.map +1 -1
- package/dist/components/eui-input-popover.js +96 -142
- package/dist/components/eui-input-popover.js.map +1 -1
- package/dist/components/eui-key-pad-menu-item.js +7 -75
- package/dist/components/eui-key-pad-menu-item.js.map +1 -1
- package/dist/components/eui-key-pad-menu.js +7 -24
- package/dist/components/eui-key-pad-menu.js.map +1 -1
- package/dist/components/eui-link.js +5 -56
- package/dist/components/eui-link.js.map +1 -1
- package/dist/components/eui-list-group-item.js +5 -90
- package/dist/components/eui-list-group-item.js.map +1 -1
- package/dist/components/eui-list-group.js +5 -30
- package/dist/components/eui-list-group.js.map +1 -1
- package/dist/components/eui-loading-content.js +5 -18
- package/dist/components/eui-loading-content.js.map +1 -1
- package/dist/components/eui-loading-logo.js +5 -23
- package/dist/components/eui-loading-logo.js.map +1 -1
- package/dist/components/eui-loading-spinner.js +5 -13
- package/dist/components/eui-loading-spinner.js.map +1 -1
- package/dist/components/eui-markdown-editor-drop-zone.js +5 -18
- package/dist/components/eui-markdown-editor-drop-zone.js.map +1 -1
- package/dist/components/eui-markdown-editor-footer/icons/markdown-logo.js +4 -21
- package/dist/components/eui-markdown-editor-footer/icons/markdown-logo.js.map +1 -1
- package/dist/components/eui-markdown-editor-footer.js +38 -134
- package/dist/components/eui-markdown-editor-footer.js.map +1 -1
- package/dist/components/eui-markdown-editor-text-area.js +5 -14
- package/dist/components/eui-markdown-editor-text-area.js.map +1 -1
- package/dist/components/eui-markdown-editor-toolbar/icons/markdown-checkmark.js +4 -21
- package/dist/components/eui-markdown-editor-toolbar/icons/markdown-checkmark.js.map +1 -1
- package/dist/components/eui-markdown-editor-toolbar.js +66 -150
- package/dist/components/eui-markdown-editor-toolbar.js.map +1 -1
- package/dist/components/eui-markdown-editor.js +204 -270
- package/dist/components/eui-markdown-editor.js.map +1 -1
- package/dist/components/eui-markdown-format/markdown-checkbox.js +12 -22
- package/dist/components/eui-markdown-format/markdown-checkbox.js.map +1 -1
- package/dist/components/eui-markdown-format/markdown-code-block.js +5 -14
- package/dist/components/eui-markdown-format/markdown-code-block.js.map +1 -1
- package/dist/components/eui-markdown-format/markdown-code.js +5 -9
- package/dist/components/eui-markdown-format/markdown-code.js.map +1 -1
- package/dist/components/eui-markdown-format/markdown-tooltip.js +5 -17
- package/dist/components/eui-markdown-format/markdown-tooltip.js.map +1 -1
- package/dist/components/eui-markdown-format.js +34 -48
- package/dist/components/eui-markdown-format.js.map +1 -1
- package/dist/components/eui-modal-body.js +4 -10
- package/dist/components/eui-modal-body.js.map +1 -1
- package/dist/components/eui-modal-footer.js +4 -8
- package/dist/components/eui-modal-footer.js.map +1 -1
- package/dist/components/eui-modal-header-title.js +4 -8
- package/dist/components/eui-modal-header-title.js.map +1 -1
- package/dist/components/eui-modal-header.js +4 -8
- package/dist/components/eui-modal-header.js.map +1 -1
- package/dist/components/eui-modal.js +5 -50
- package/dist/components/eui-modal.js.map +1 -1
- package/dist/components/eui-notification-badge.js +5 -16
- package/dist/components/eui-notification-badge.js.map +1 -1
- package/dist/components/eui-notification-event-messages.js +5 -48
- package/dist/components/eui-notification-event-messages.js.map +1 -1
- package/dist/components/eui-notification-event-meta.js +5 -109
- package/dist/components/eui-notification-event-meta.js.map +1 -1
- package/dist/components/eui-notification-event-read-button.js +5 -23
- package/dist/components/eui-notification-event-read-button.js.map +1 -1
- package/dist/components/eui-notification-event-read-icon.js +5 -27
- package/dist/components/eui-notification-event-read-icon.js.map +1 -1
- package/dist/components/eui-notification-event.js +5 -110
- package/dist/components/eui-notification-event.js.map +1 -1
- package/dist/components/eui-overlay-mask.js +32 -49
- package/dist/components/eui-overlay-mask.js.map +1 -1
- package/dist/components/eui-page-body.js +5 -58
- package/dist/components/eui-page-body.js.map +1 -1
- package/dist/components/eui-page-content-body.js +5 -22
- package/dist/components/eui-page-content-body.js.map +1 -1
- package/dist/components/eui-page-content-header-section.js +4 -8
- package/dist/components/eui-page-content-header-section.js.map +1 -1
- package/dist/components/eui-page-content-header.js +5 -15
- package/dist/components/eui-page-content-header.js.map +1 -1
- package/dist/components/eui-page-content.js +5 -26
- package/dist/components/eui-page-content.js.map +1 -1
- package/dist/components/eui-page-header-content.js +45 -353
- package/dist/components/eui-page-header-content.js.map +1 -1
- package/dist/components/eui-page-header-section.js +4 -8
- package/dist/components/eui-page-header-section.js.map +1 -1
- package/dist/components/eui-page-header.js +5 -102
- package/dist/components/eui-page-header.js.map +1 -1
- package/dist/components/eui-page-side-bar.js +5 -16
- package/dist/components/eui-page-side-bar.js.map +1 -1
- package/dist/components/eui-page-template.js +50 -837
- package/dist/components/eui-page-template.js.map +1 -1
- package/dist/components/eui-page.js +5 -32
- package/dist/components/eui-page.js.map +1 -1
- package/dist/components/eui-pagination/button-wrapper.js +5 -27
- package/dist/components/eui-pagination/button-wrapper.js.map +1 -1
- package/dist/components/eui-pagination/next-button.js +5 -37
- package/dist/components/eui-pagination/next-button.js.map +1 -1
- package/dist/components/eui-pagination/previous-button.js +5 -37
- package/dist/components/eui-pagination/previous-button.js.map +1 -1
- package/dist/components/eui-pagination-button.js +5 -42
- package/dist/components/eui-pagination-button.js.map +1 -1
- package/dist/components/eui-pagination.js +62 -181
- package/dist/components/eui-pagination.js.map +1 -1
- package/dist/components/eui-panel.js +5 -68
- package/dist/components/eui-panel.js.map +1 -1
- package/dist/components/eui-popover-footer.js +5 -15
- package/dist/components/eui-popover-footer.js.map +1 -1
- package/dist/components/eui-popover-title.js +5 -15
- package/dist/components/eui-popover-title.js.map +1 -1
- package/dist/components/eui-popover.js +275 -403
- package/dist/components/eui-popover.js.map +1 -1
- package/dist/components/eui-portal.js +22 -28
- package/dist/components/eui-portal.js.map +1 -1
- package/dist/components/eui-progress.js +5 -59
- package/dist/components/eui-progress.js.map +1 -1
- package/dist/components/eui-radio-group.js +5 -45
- package/dist/components/eui-radio-group.js.map +1 -1
- package/dist/components/eui-radio.js +5 -47
- package/dist/components/eui-radio.js.map +1 -1
- package/dist/components/eui-range-highlight.js +5 -29
- package/dist/components/eui-range-highlight.js.map +1 -1
- package/dist/components/eui-range-input.js +5 -45
- package/dist/components/eui-range-input.js.map +1 -1
- package/dist/components/eui-range-label.js +5 -15
- package/dist/components/eui-range-label.js.map +1 -1
- package/dist/components/eui-range-levels.js +28 -49
- package/dist/components/eui-range-levels.js.map +1 -1
- package/dist/components/eui-range-slider.js +5 -24
- package/dist/components/eui-range-slider.js.map +1 -1
- package/dist/components/eui-range-thumb.js +5 -30
- package/dist/components/eui-range-thumb.js.map +1 -1
- package/dist/components/eui-range-ticks.js +20 -50
- package/dist/components/eui-range-ticks.js.map +1 -1
- package/dist/components/eui-range-tooltip.js +31 -47
- package/dist/components/eui-range-tooltip.js.map +1 -1
- package/dist/components/eui-range-track.js +77 -122
- package/dist/components/eui-range-track.js.map +1 -1
- package/dist/components/eui-range-wrapper.js +5 -16
- package/dist/components/eui-range-wrapper.js.map +1 -1
- package/dist/components/eui-range.js +120 -527
- package/dist/components/eui-range.js.map +1 -1
- package/dist/components/eui-select.js +5 -74
- package/dist/components/eui-select.js.map +1 -1
- package/dist/components/eui-selectable-list-item.js +5 -29
- package/dist/components/eui-selectable-list-item.js.map +1 -1
- package/dist/components/eui-show-for.js +26 -37
- package/dist/components/eui-show-for.js.map +1 -1
- package/dist/components/eui-side-nav-item/button.js +5 -33
- package/dist/components/eui-side-nav-item/button.js.map +1 -1
- package/dist/components/eui-side-nav-item.js +5 -119
- package/dist/components/eui-side-nav-item.js.map +1 -1
- package/dist/components/eui-side-nav.js +30 -189
- package/dist/components/eui-side-nav.js.map +1 -1
- package/dist/components/eui-spacer.js +5 -10
- package/dist/components/eui-spacer.js.map +1 -1
- package/dist/components/eui-split-panel/inner.js +5 -17
- package/dist/components/eui-split-panel/inner.js.map +1 -1
- package/dist/components/eui-split-panel/outer.js +5 -34
- package/dist/components/eui-split-panel/outer.js.map +1 -1
- package/dist/components/eui-stat/description.js +5 -22
- package/dist/components/eui-stat/description.js.map +1 -1
- package/dist/components/eui-stat/title.js +5 -27
- package/dist/components/eui-stat/title.js.map +1 -1
- package/dist/components/eui-stat.js +10 -90
- package/dist/components/eui-stat.js.map +1 -1
- package/dist/components/eui-step-horizontal.js +5 -48
- package/dist/components/eui-step-horizontal.js.map +1 -1
- package/dist/components/eui-step-number.js +6 -48
- package/dist/components/eui-step-number.js.map +1 -1
- package/dist/components/eui-step.js +5 -37
- package/dist/components/eui-step.js.map +1 -1
- package/dist/components/eui-steps-horizontal.js +4 -8
- package/dist/components/eui-steps-horizontal.js.map +1 -1
- package/dist/components/eui-steps.js +4 -8
- package/dist/components/eui-steps.js.map +1 -1
- package/dist/components/eui-sub-steps.js +4 -8
- package/dist/components/eui-sub-steps.js.map +1 -1
- package/dist/components/eui-super-date-picker/date-popover/absolute-tab.js +64 -96
- package/dist/components/eui-super-date-picker/date-popover/absolute-tab.js.map +1 -1
- package/dist/components/eui-super-date-picker/date-popover/datetime-picker.js +141 -284
- package/dist/components/eui-super-date-picker/date-popover/datetime-picker.js.map +1 -1
- package/dist/components/eui-super-date-picker/date-popover/eui-date-popover-button.js +30 -83
- package/dist/components/eui-super-date-picker/date-popover/eui-date-popover-button.js.map +1 -1
- package/dist/components/eui-super-date-picker/date-popover/eui-date-popover-content.js +29 -70
- package/dist/components/eui-super-date-picker/date-popover/eui-date-popover-content.js.map +1 -1
- package/dist/components/eui-super-date-picker/date-popover/now-tab.js +5 -51
- package/dist/components/eui-super-date-picker/date-popover/now-tab.js.map +1 -1
- package/dist/components/eui-super-date-picker/date-popover/relative-tab.js +74 -109
- package/dist/components/eui-super-date-picker/date-popover/relative-tab.js.map +1 -1
- package/dist/components/eui-super-date-picker/eui-date-picker-range.js +5 -28
- package/dist/components/eui-super-date-picker/eui-date-picker-range.js.map +1 -1
- package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-commonly-used-time-ranges.js +5 -47
- package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-commonly-used-time-ranges.js.map +1 -1
- package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.js +69 -204
- package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.js.map +1 -1
- package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-recently-used.js +5 -47
- package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-recently-used.js.map +1 -1
- package/dist/components/eui-super-date-picker/eui-quick-select-popover.js +36 -85
- package/dist/components/eui-super-date-picker/eui-quick-select-popover.js.map +1 -1
- package/dist/components/eui-super-date-picker/eui-super-update-button.js +5 -42
- package/dist/components/eui-super-date-picker/eui-super-update-button.js.map +1 -1
- package/dist/components/eui-super-date-picker/utils/pretty-duration.js.map +1 -1
- package/dist/components/eui-super-date-picker/utils/quick-select.js.map +1 -1
- package/dist/components/eui-super-date-picker.js +110 -224
- package/dist/components/eui-super-date-picker.js.map +1 -1
- package/dist/components/eui-switch.js +25 -84
- package/dist/components/eui-switch.js.map +1 -1
- package/dist/components/eui-tab.js +5 -69
- package/dist/components/eui-tab.js.map +1 -1
- package/dist/components/eui-tabbed-content.js +88 -125
- package/dist/components/eui-tabbed-content.js.map +1 -1
- package/dist/components/eui-tabs.js +5 -25
- package/dist/components/eui-tabs.js.map +1 -1
- package/dist/components/eui-text-align.js +5 -15
- package/dist/components/eui-text-align.js.map +1 -1
- package/dist/components/eui-text-area.js +5 -30
- package/dist/components/eui-text-area.js.map +1 -1
- package/dist/components/eui-text-color.js +5 -27
- package/dist/components/eui-text-color.js.map +1 -1
- package/dist/components/eui-text.js +5 -40
- package/dist/components/eui-text.js.map +1 -1
- package/dist/components/eui-title.js +5 -17
- package/dist/components/eui-title.js.map +1 -1
- package/dist/components/eui-toast.js +5 -62
- package/dist/components/eui-toast.js.map +1 -1
- package/dist/components/eui-tool-tip-popover.js +27 -33
- package/dist/components/eui-tool-tip-popover.js.map +1 -1
- package/dist/components/eui-tool-tip.js +161 -218
- package/dist/components/eui-tool-tip.js.map +1 -1
- package/dist/components/text-block.js +5 -39
- package/dist/components/text-block.js.map +1 -1
- package/dist/helpers/class-names.js.map +1 -1
- package/dist/helpers/eui-palette.js.map +1 -1
- package/dist/helpers/get-eui-config.js +6 -12
- package/dist/helpers/get-eui-config.js.map +1 -1
- package/dist/helpers/get-range-tick.js.map +1 -1
- package/dist/helpers/inline-styles.js.map +1 -1
- package/dist/helpers/is-within-number.js.map +1 -1
- package/dist/helpers/use-state.js +10 -17
- package/dist/helpers/use-state.js.map +1 -1
- package/dist/i18n/util.js.map +1 -1
- package/dist/modifiers/outside-click-detector.js +16 -12
- package/dist/modifiers/outside-click-detector.js.map +1 -1
- package/dist/modifiers/resize-observer.js +9 -15
- package/dist/modifiers/resize-observer.js.map +1 -1
- package/dist/modifiers/use-is-within-breakpoints.js.map +1 -1
- package/dist/services/eui-config.js +8 -14
- package/dist/services/eui-config.js.map +1 -1
- package/dist/services/eui-i18n.js +13 -8
- package/dist/services/eui-i18n.js.map +1 -1
- package/dist/services/eui-toaster.js +13 -13
- package/dist/services/eui-toaster.js.map +1 -1
- package/dist/utils/accesibility/accessible-click-keys.js.map +1 -1
- package/dist/utils/accesibility/cascading-menu-keys.js.map +1 -1
- package/dist/utils/accesibility/combo-box-keys.js.map +1 -1
- package/dist/utils/breakpoint.js.map +1 -1
- package/dist/utils/code/utils.js.map +1 -1
- package/dist/utils/color/eui_palettes.js.map +1 -1
- package/dist/utils/css-mappings/eui-avatar.js.map +1 -1
- package/dist/utils/css-mappings/eui-badge.js.map +1 -1
- package/dist/utils/css-mappings/eui-button-group-button.js.map +1 -1
- package/dist/utils/css-mappings/eui-button-group.js.map +1 -1
- package/dist/utils/css-mappings/eui-range-levels.js.map +1 -1
- package/dist/utils/css-mappings/index.js.map +1 -1
- package/dist/utils/markdown/markdown-actions.js +20 -3
- package/dist/utils/markdown/markdown-actions.js.map +1 -1
- package/dist/utils/markdown/plugins/markdown-add-components/processor.js.map +1 -1
- package/dist/utils/markdown/plugins/markdown-default-plugins/parsing-plugins.js.map +1 -1
- package/dist/utils/markdown/plugins/markdown-default-plugins/plugins.js.map +1 -1
- package/dist/utils/markdown/plugins/markdown-default-plugins/processing-plugins.js.map +1 -1
- package/dist/utils/markdown/plugins/markdown-default-plugins/ui-plugins.js.map +1 -1
- package/dist/utils/markdown/remark/remark-prismjs.js.map +1 -1
- package/dist/utils/timer.js +26 -30
- package/dist/utils/timer.js.map +1 -1
- package/package.json +12 -10
- package/declarations/-private/random-id.d.ts +0 -9
- package/declarations/-private/random-id.d.ts.map +0 -1
- package/declarations/components/common.d.ts +0 -42
- package/declarations/components/common.d.ts.map +0 -1
- package/declarations/components/eui-accordion.d.ts +0 -101
- package/declarations/components/eui-accordion.d.ts.map +0 -1
- package/declarations/components/eui-auto-sizer.d.ts +0 -64
- package/declarations/components/eui-auto-sizer.d.ts.map +0 -1
- package/declarations/components/eui-avatar.d.ts +0 -22
- package/declarations/components/eui-avatar.d.ts.map +0 -1
- package/declarations/components/eui-badge-group.d.ts +0 -23
- package/declarations/components/eui-badge-group.d.ts.map +0 -1
- package/declarations/components/eui-badge.d.ts +0 -30
- package/declarations/components/eui-badge.d.ts.map +0 -1
- package/declarations/components/eui-beta-badge.d.ts +0 -63
- package/declarations/components/eui-beta-badge.d.ts.map +0 -1
- package/declarations/components/eui-bottom-bar.d.ts +0 -35
- package/declarations/components/eui-bottom-bar.d.ts.map +0 -1
- package/declarations/components/eui-breadcrumbs.d.ts +0 -70
- package/declarations/components/eui-breadcrumbs.d.ts.map +0 -1
- package/declarations/components/eui-button-content.d.ts +0 -21
- package/declarations/components/eui-button-content.d.ts.map +0 -1
- package/declarations/components/eui-button-empty.d.ts +0 -33
- package/declarations/components/eui-button-empty.d.ts.map +0 -1
- package/declarations/components/eui-button-group-button.d.ts +0 -29
- package/declarations/components/eui-button-group-button.d.ts.map +0 -1
- package/declarations/components/eui-button-group.d.ts +0 -41
- package/declarations/components/eui-button-group.d.ts.map +0 -1
- package/declarations/components/eui-button-icon.d.ts +0 -25
- package/declarations/components/eui-button-icon.d.ts.map +0 -1
- package/declarations/components/eui-button.d.ts +0 -34
- package/declarations/components/eui-button.d.ts.map +0 -1
- package/declarations/components/eui-call-out.d.ts +0 -21
- package/declarations/components/eui-call-out.d.ts.map +0 -1
- package/declarations/components/eui-card-select.d.ts +0 -29
- package/declarations/components/eui-card-select.d.ts.map +0 -1
- package/declarations/components/eui-card.d.ts +0 -68
- package/declarations/components/eui-card.d.ts.map +0 -1
- package/declarations/components/eui-checkable-card.d.ts +0 -21
- package/declarations/components/eui-checkable-card.d.ts.map +0 -1
- package/declarations/components/eui-checkbox-group.d.ts +0 -27
- package/declarations/components/eui-checkbox-group.d.ts.map +0 -1
- package/declarations/components/eui-checkbox.d.ts +0 -27
- package/declarations/components/eui-checkbox.d.ts.map +0 -1
- package/declarations/components/eui-code-block/controls.d.ts +0 -13
- package/declarations/components/eui-code-block/controls.d.ts.map +0 -1
- package/declarations/components/eui-code-block/full-screen-display.d.ts +0 -11
- package/declarations/components/eui-code-block/full-screen-display.d.ts.map +0 -1
- package/declarations/components/eui-code-block/virtualized.d.ts +0 -20
- package/declarations/components/eui-code-block/virtualized.d.ts.map +0 -1
- package/declarations/components/eui-code-block.d.ts +0 -92
- package/declarations/components/eui-code-block.d.ts.map +0 -1
- package/declarations/components/eui-code.d.ts +0 -21
- package/declarations/components/eui-code.d.ts.map +0 -1
- package/declarations/components/eui-collapsible-nav-group.d.ts +0 -26
- package/declarations/components/eui-collapsible-nav-group.d.ts.map +0 -1
- package/declarations/components/eui-collapsible-nav.d.ts +0 -66
- package/declarations/components/eui-collapsible-nav.d.ts.map +0 -1
- package/declarations/components/eui-combo-box/create-option.d.ts +0 -16
- package/declarations/components/eui-combo-box/create-option.d.ts.map +0 -1
- package/declarations/components/eui-combo-box/group.d.ts +0 -16
- package/declarations/components/eui-combo-box/group.d.ts.map +0 -1
- package/declarations/components/eui-combo-box/no-matches-message.d.ts +0 -11
- package/declarations/components/eui-combo-box/no-matches-message.d.ts.map +0 -1
- package/declarations/components/eui-combo-box/options.d.ts +0 -12
- package/declarations/components/eui-combo-box/options.d.ts.map +0 -1
- package/declarations/components/eui-combo-box/search-message.d.ts +0 -11
- package/declarations/components/eui-combo-box/search-message.d.ts.map +0 -1
- package/declarations/components/eui-combo-box/trigger/input.d.ts +0 -6
- package/declarations/components/eui-combo-box/trigger/input.d.ts.map +0 -1
- package/declarations/components/eui-combo-box/trigger.d.ts +0 -4
- package/declarations/components/eui-combo-box/trigger.d.ts.map +0 -1
- package/declarations/components/eui-combo-box-pill.d.ts +0 -22
- package/declarations/components/eui-combo-box-pill.d.ts.map +0 -1
- package/declarations/components/eui-combo-box.d.ts +0 -69
- package/declarations/components/eui-combo-box.d.ts.map +0 -1
- package/declarations/components/eui-comment-list.d.ts +0 -10
- package/declarations/components/eui-comment-list.d.ts.map +0 -1
- package/declarations/components/eui-comment-timeline.d.ts +0 -15
- package/declarations/components/eui-comment-timeline.d.ts.map +0 -1
- package/declarations/components/eui-comment.d.ts +0 -20
- package/declarations/components/eui-comment.d.ts.map +0 -1
- package/declarations/components/eui-confirm-modal.d.ts +0 -23
- package/declarations/components/eui-confirm-modal.d.ts.map +0 -1
- package/declarations/components/eui-context-menu-item.d.ts +0 -25
- package/declarations/components/eui-context-menu-item.d.ts.map +0 -1
- package/declarations/components/eui-context-menu-panel.d.ts +0 -10
- package/declarations/components/eui-context-menu-panel.d.ts.map +0 -1
- package/declarations/components/eui-copy.d.ts +0 -36
- package/declarations/components/eui-copy.d.ts.map +0 -1
- package/declarations/components/eui-described-form-group.d.ts +0 -27
- package/declarations/components/eui-described-form-group.d.ts.map +0 -1
- package/declarations/components/eui-description-list-description.d.ts +0 -10
- package/declarations/components/eui-description-list-description.d.ts.map +0 -1
- package/declarations/components/eui-description-list-title.d.ts +0 -10
- package/declarations/components/eui-description-list-title.d.ts.map +0 -1
- package/declarations/components/eui-description-list.d.ts +0 -27
- package/declarations/components/eui-description-list.d.ts.map +0 -1
- package/declarations/components/eui-dual-range.d.ts +0 -141
- package/declarations/components/eui-dual-range.d.ts.map +0 -1
- package/declarations/components/eui-empty-prompt.d.ts +0 -29
- package/declarations/components/eui-empty-prompt.d.ts.map +0 -1
- package/declarations/components/eui-field-number.d.ts +0 -57
- package/declarations/components/eui-field-number.d.ts.map +0 -1
- package/declarations/components/eui-field-password.d.ts +0 -28
- package/declarations/components/eui-field-password.d.ts.map +0 -1
- package/declarations/components/eui-field-search.d.ts +0 -52
- package/declarations/components/eui-field-search.d.ts.map +0 -1
- package/declarations/components/eui-field-text.d.ts +0 -29
- package/declarations/components/eui-field-text.d.ts.map +0 -1
- package/declarations/components/eui-file-picker.d.ts +0 -60
- package/declarations/components/eui-file-picker.d.ts.map +0 -1
- package/declarations/components/eui-flex-grid.d.ts +0 -33
- package/declarations/components/eui-flex-grid.d.ts.map +0 -1
- package/declarations/components/eui-flex-group.d.ts +0 -20
- package/declarations/components/eui-flex-group.d.ts.map +0 -1
- package/declarations/components/eui-flex-item.d.ts +0 -15
- package/declarations/components/eui-flex-item.d.ts.map +0 -1
- package/declarations/components/eui-flyout-body.d.ts +0 -12
- package/declarations/components/eui-flyout-body.d.ts.map +0 -1
- package/declarations/components/eui-flyout-footer.d.ts +0 -10
- package/declarations/components/eui-flyout-footer.d.ts.map +0 -1
- package/declarations/components/eui-flyout-header.d.ts +0 -13
- package/declarations/components/eui-flyout-header.d.ts.map +0 -1
- package/declarations/components/eui-flyout.d.ts +0 -87
- package/declarations/components/eui-flyout.d.ts.map +0 -1
- package/declarations/components/eui-form-control-layout-clear-button.d.ts +0 -14
- package/declarations/components/eui-form-control-layout-clear-button.d.ts.map +0 -1
- package/declarations/components/eui-form-control-layout-custom-icon.d.ts +0 -16
- package/declarations/components/eui-form-control-layout-custom-icon.d.ts.map +0 -1
- package/declarations/components/eui-form-control-layout-delimited.d.ts +0 -25
- package/declarations/components/eui-form-control-layout-delimited.d.ts.map +0 -1
- package/declarations/components/eui-form-control-layout-icons.d.ts +0 -17
- package/declarations/components/eui-form-control-layout-icons.d.ts.map +0 -1
- package/declarations/components/eui-form-control-layout.d.ts +0 -30
- package/declarations/components/eui-form-control-layout.d.ts.map +0 -1
- package/declarations/components/eui-form-error-text.d.ts +0 -10
- package/declarations/components/eui-form-error-text.d.ts.map +0 -1
- package/declarations/components/eui-form-fieldset.d.ts +0 -18
- package/declarations/components/eui-form-fieldset.d.ts.map +0 -1
- package/declarations/components/eui-form-help-text.d.ts +0 -13
- package/declarations/components/eui-form-help-text.d.ts.map +0 -1
- package/declarations/components/eui-form-label.d.ts +0 -17
- package/declarations/components/eui-form-label.d.ts.map +0 -1
- package/declarations/components/eui-form-legend.d.ts +0 -14
- package/declarations/components/eui-form-legend.d.ts.map +0 -1
- package/declarations/components/eui-form-row.d.ts +0 -35
- package/declarations/components/eui-form-row.d.ts.map +0 -1
- package/declarations/components/eui-form.d.ts +0 -20
- package/declarations/components/eui-form.d.ts.map +0 -1
- package/declarations/components/eui-global-toast-list.d.ts +0 -45
- package/declarations/components/eui-global-toast-list.d.ts.map +0 -1
- package/declarations/components/eui-header-alert.d.ts +0 -14
- package/declarations/components/eui-header-alert.d.ts.map +0 -1
- package/declarations/components/eui-header-breadcrumbs.d.ts +0 -14
- package/declarations/components/eui-header-breadcrumbs.d.ts.map +0 -1
- package/declarations/components/eui-header-link.d.ts +0 -14
- package/declarations/components/eui-header-link.d.ts.map +0 -1
- package/declarations/components/eui-header-links.d.ts +0 -20
- package/declarations/components/eui-header-links.d.ts.map +0 -1
- package/declarations/components/eui-header-logo.d.ts +0 -17
- package/declarations/components/eui-header-logo.d.ts.map +0 -1
- package/declarations/components/eui-header-section-item-button.d.ts +0 -26
- package/declarations/components/eui-header-section-item-button.d.ts.map +0 -1
- package/declarations/components/eui-header-section-item.d.ts +0 -14
- package/declarations/components/eui-header-section-item.d.ts.map +0 -1
- package/declarations/components/eui-header-section.d.ts +0 -15
- package/declarations/components/eui-header-section.d.ts.map +0 -1
- package/declarations/components/eui-header.d.ts +0 -23
- package/declarations/components/eui-header.d.ts.map +0 -1
- package/declarations/components/eui-health.d.ts +0 -21
- package/declarations/components/eui-health.d.ts.map +0 -1
- package/declarations/components/eui-hide-for.d.ts +0 -21
- package/declarations/components/eui-hide-for.d.ts.map +0 -1
- package/declarations/components/eui-horizontal-rule.d.ts +0 -12
- package/declarations/components/eui-horizontal-rule.d.ts.map +0 -1
- package/declarations/components/eui-i18n/render.d.ts +0 -12
- package/declarations/components/eui-i18n/render.d.ts.map +0 -1
- package/declarations/components/eui-i18n.d.ts +0 -32
- package/declarations/components/eui-i18n.d.ts.map +0 -1
- package/declarations/components/eui-icon-tip.d.ts +0 -29
- package/declarations/components/eui-icon-tip.d.ts.map +0 -1
- package/declarations/components/eui-icon.d.ts +0 -80
- package/declarations/components/eui-icon.d.ts.map +0 -1
- package/declarations/components/eui-image.d.ts +0 -62
- package/declarations/components/eui-image.d.ts.map +0 -1
- package/declarations/components/eui-inner-text.d.ts +0 -21
- package/declarations/components/eui-inner-text.d.ts.map +0 -1
- package/declarations/components/eui-input-popover.d.ts +0 -44
- package/declarations/components/eui-input-popover.d.ts.map +0 -1
- package/declarations/components/eui-key-pad-menu-item.d.ts +0 -26
- package/declarations/components/eui-key-pad-menu-item.d.ts.map +0 -1
- package/declarations/components/eui-key-pad-menu.d.ts +0 -23
- package/declarations/components/eui-key-pad-menu.d.ts.map +0 -1
- package/declarations/components/eui-link.d.ts +0 -18
- package/declarations/components/eui-link.d.ts.map +0 -1
- package/declarations/components/eui-list-group-item.d.ts +0 -26
- package/declarations/components/eui-list-group-item.d.ts.map +0 -1
- package/declarations/components/eui-list-group.d.ts +0 -16
- package/declarations/components/eui-list-group.d.ts.map +0 -1
- package/declarations/components/eui-loading-content.d.ts +0 -14
- package/declarations/components/eui-loading-content.d.ts.map +0 -1
- package/declarations/components/eui-loading-logo.d.ts +0 -13
- package/declarations/components/eui-loading-logo.d.ts.map +0 -1
- package/declarations/components/eui-loading-spinner.d.ts +0 -11
- package/declarations/components/eui-loading-spinner.d.ts.map +0 -1
- package/declarations/components/eui-markdown-editor-drop-zone.d.ts +0 -17
- package/declarations/components/eui-markdown-editor-drop-zone.d.ts.map +0 -1
- package/declarations/components/eui-markdown-editor-footer/icons/markdown-logo.d.ts +0 -10
- package/declarations/components/eui-markdown-editor-footer/icons/markdown-logo.d.ts.map +0 -1
- package/declarations/components/eui-markdown-editor-footer.d.ts +0 -13
- package/declarations/components/eui-markdown-editor-footer.d.ts.map +0 -1
- package/declarations/components/eui-markdown-editor-text-area.d.ts +0 -14
- package/declarations/components/eui-markdown-editor-text-area.d.ts.map +0 -1
- package/declarations/components/eui-markdown-editor-toolbar/icons/markdown-checkmark.d.ts +0 -11
- package/declarations/components/eui-markdown-editor-toolbar/icons/markdown-checkmark.d.ts.map +0 -1
- package/declarations/components/eui-markdown-editor-toolbar.d.ts +0 -50
- package/declarations/components/eui-markdown-editor-toolbar.d.ts.map +0 -1
- package/declarations/components/eui-markdown-editor.d.ts +0 -95
- package/declarations/components/eui-markdown-editor.d.ts.map +0 -1
- package/declarations/components/eui-markdown-format/markdown-checkbox.d.ts +0 -24
- package/declarations/components/eui-markdown-format/markdown-checkbox.d.ts.map +0 -1
- package/declarations/components/eui-markdown-format/markdown-code-block.d.ts +0 -15
- package/declarations/components/eui-markdown-format/markdown-code-block.d.ts.map +0 -1
- package/declarations/components/eui-markdown-format/markdown-code.d.ts +0 -13
- package/declarations/components/eui-markdown-format/markdown-code.d.ts.map +0 -1
- package/declarations/components/eui-markdown-format/markdown-tooltip.d.ts +0 -15
- package/declarations/components/eui-markdown-format/markdown-tooltip.d.ts.map +0 -1
- package/declarations/components/eui-markdown-format.d.ts +0 -23
- package/declarations/components/eui-markdown-format.d.ts.map +0 -1
- package/declarations/components/eui-modal-body.d.ts +0 -10
- package/declarations/components/eui-modal-body.d.ts.map +0 -1
- package/declarations/components/eui-modal-footer.d.ts +0 -10
- package/declarations/components/eui-modal-footer.d.ts.map +0 -1
- package/declarations/components/eui-modal-header-title.d.ts +0 -10
- package/declarations/components/eui-modal-header-title.d.ts.map +0 -1
- package/declarations/components/eui-modal-header.d.ts +0 -10
- package/declarations/components/eui-modal-header.d.ts.map +0 -1
- package/declarations/components/eui-modal.d.ts +0 -27
- package/declarations/components/eui-modal.d.ts.map +0 -1
- package/declarations/components/eui-notification-badge.d.ts +0 -15
- package/declarations/components/eui-notification-badge.d.ts.map +0 -1
- package/declarations/components/eui-notification-event-messages.d.ts +0 -13
- package/declarations/components/eui-notification-event-messages.d.ts.map +0 -1
- package/declarations/components/eui-notification-event-meta.d.ts +0 -24
- package/declarations/components/eui-notification-event-meta.d.ts.map +0 -1
- package/declarations/components/eui-notification-event-read-button.d.ts +0 -13
- package/declarations/components/eui-notification-event-read-button.d.ts.map +0 -1
- package/declarations/components/eui-notification-event-read-icon.d.ts +0 -14
- package/declarations/components/eui-notification-event-read-icon.d.ts.map +0 -1
- package/declarations/components/eui-notification-event.d.ts +0 -40
- package/declarations/components/eui-notification-event.d.ts.map +0 -1
- package/declarations/components/eui-overlay-mask.d.ts +0 -20
- package/declarations/components/eui-overlay-mask.d.ts.map +0 -1
- package/declarations/components/eui-page-body.d.ts +0 -22
- package/declarations/components/eui-page-body.d.ts.map +0 -1
- package/declarations/components/eui-page-content-body.d.ts +0 -18
- package/declarations/components/eui-page-content-body.d.ts.map +0 -1
- package/declarations/components/eui-page-content-header-section.d.ts +0 -10
- package/declarations/components/eui-page-content-header-section.d.ts.map +0 -1
- package/declarations/components/eui-page-content-header.d.ts +0 -13
- package/declarations/components/eui-page-content-header.d.ts.map +0 -1
- package/declarations/components/eui-page-content.d.ts +0 -22
- package/declarations/components/eui-page-content.d.ts.map +0 -1
- package/declarations/components/eui-page-header-content.d.ts +0 -98
- package/declarations/components/eui-page-header-content.d.ts.map +0 -1
- package/declarations/components/eui-page-header-section.d.ts +0 -10
- package/declarations/components/eui-page-header-section.d.ts.map +0 -1
- package/declarations/components/eui-page-header.d.ts +0 -89
- package/declarations/components/eui-page-header.d.ts.map +0 -1
- package/declarations/components/eui-page-side-bar.d.ts +0 -15
- package/declarations/components/eui-page-side-bar.d.ts.map +0 -1
- package/declarations/components/eui-page-template.d.ts +0 -77
- package/declarations/components/eui-page-template.d.ts.map +0 -1
- package/declarations/components/eui-page.d.ts +0 -17
- package/declarations/components/eui-page.d.ts.map +0 -1
- package/declarations/components/eui-pagination/button-wrapper.d.ts +0 -16
- package/declarations/components/eui-pagination/button-wrapper.d.ts.map +0 -1
- package/declarations/components/eui-pagination/next-button.d.ts +0 -19
- package/declarations/components/eui-pagination/next-button.d.ts.map +0 -1
- package/declarations/components/eui-pagination/previous-button.d.ts +0 -18
- package/declarations/components/eui-pagination/previous-button.d.ts.map +0 -1
- package/declarations/components/eui-pagination-button.d.ts +0 -20
- package/declarations/components/eui-pagination-button.d.ts.map +0 -1
- package/declarations/components/eui-pagination.d.ts +0 -79
- package/declarations/components/eui-pagination.d.ts.map +0 -1
- package/declarations/components/eui-panel.d.ts +0 -45
- package/declarations/components/eui-panel.d.ts.map +0 -1
- package/declarations/components/eui-popover-footer.d.ts +0 -14
- package/declarations/components/eui-popover-footer.d.ts.map +0 -1
- package/declarations/components/eui-popover-title.d.ts +0 -14
- package/declarations/components/eui-popover-title.d.ts.map +0 -1
- package/declarations/components/eui-popover.d.ts +0 -207
- package/declarations/components/eui-popover.d.ts.map +0 -1
- package/declarations/components/eui-portal.d.ts +0 -28
- package/declarations/components/eui-portal.d.ts.map +0 -1
- package/declarations/components/eui-progress.d.ts +0 -22
- package/declarations/components/eui-progress.d.ts.map +0 -1
- package/declarations/components/eui-radio-group.d.ts +0 -25
- package/declarations/components/eui-radio-group.d.ts.map +0 -1
- package/declarations/components/eui-radio.d.ts +0 -24
- package/declarations/components/eui-radio.d.ts.map +0 -1
- package/declarations/components/eui-range-highlight.d.ts +0 -16
- package/declarations/components/eui-range-highlight.d.ts.map +0 -1
- package/declarations/components/eui-range-input.d.ts +0 -25
- package/declarations/components/eui-range-input.d.ts.map +0 -1
- package/declarations/components/eui-range-label.d.ts +0 -13
- package/declarations/components/eui-range-label.d.ts.map +0 -1
- package/declarations/components/eui-range-levels.d.ts +0 -27
- package/declarations/components/eui-range-levels.d.ts.map +0 -1
- package/declarations/components/eui-range-slider.d.ts +0 -25
- package/declarations/components/eui-range-slider.d.ts.map +0 -1
- package/declarations/components/eui-range-thumb.d.ts +0 -15
- package/declarations/components/eui-range-thumb.d.ts.map +0 -1
- package/declarations/components/eui-range-ticks.d.ts +0 -29
- package/declarations/components/eui-range-ticks.d.ts.map +0 -1
- package/declarations/components/eui-range-tooltip.d.ts +0 -33
- package/declarations/components/eui-range-tooltip.d.ts.map +0 -1
- package/declarations/components/eui-range-track.d.ts +0 -43
- package/declarations/components/eui-range-track.d.ts.map +0 -1
- package/declarations/components/eui-range-wrapper.d.ts +0 -14
- package/declarations/components/eui-range-wrapper.d.ts.map +0 -1
- package/declarations/components/eui-range.d.ts +0 -112
- package/declarations/components/eui-range.d.ts.map +0 -1
- package/declarations/components/eui-select.d.ts +0 -31
- package/declarations/components/eui-select.d.ts.map +0 -1
- package/declarations/components/eui-selectable-list-item.d.ts +0 -15
- package/declarations/components/eui-selectable-list-item.d.ts.map +0 -1
- package/declarations/components/eui-show-for.d.ts +0 -30
- package/declarations/components/eui-show-for.d.ts.map +0 -1
- package/declarations/components/eui-side-nav-item/button.d.ts +0 -16
- package/declarations/components/eui-side-nav-item/button.d.ts.map +0 -1
- package/declarations/components/eui-side-nav-item.d.ts +0 -32
- package/declarations/components/eui-side-nav-item.d.ts.map +0 -1
- package/declarations/components/eui-side-nav.d.ts +0 -48
- package/declarations/components/eui-side-nav.d.ts.map +0 -1
- package/declarations/components/eui-spacer.d.ts +0 -11
- package/declarations/components/eui-spacer.d.ts.map +0 -1
- package/declarations/components/eui-split-panel/inner.d.ts +0 -18
- package/declarations/components/eui-split-panel/inner.d.ts.map +0 -1
- package/declarations/components/eui-split-panel/outer.d.ts +0 -22
- package/declarations/components/eui-split-panel/outer.d.ts.map +0 -1
- package/declarations/components/eui-stat/description.d.ts +0 -15
- package/declarations/components/eui-stat/description.d.ts.map +0 -1
- package/declarations/components/eui-stat/title.d.ts +0 -17
- package/declarations/components/eui-stat/title.d.ts.map +0 -1
- package/declarations/components/eui-stat.d.ts +0 -28
- package/declarations/components/eui-stat.d.ts.map +0 -1
- package/declarations/components/eui-step-horizontal.d.ts +0 -38
- package/declarations/components/eui-step-horizontal.d.ts.map +0 -1
- package/declarations/components/eui-step-number.d.ts +0 -31
- package/declarations/components/eui-step-number.d.ts.map +0 -1
- package/declarations/components/eui-step.d.ts +0 -18
- package/declarations/components/eui-step.d.ts.map +0 -1
- package/declarations/components/eui-steps-horizontal.d.ts +0 -10
- package/declarations/components/eui-steps-horizontal.d.ts.map +0 -1
- package/declarations/components/eui-steps.d.ts +0 -13
- package/declarations/components/eui-steps.d.ts.map +0 -1
- package/declarations/components/eui-sub-steps.d.ts +0 -10
- package/declarations/components/eui-sub-steps.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/date-popover/absolute-tab.d.ts +0 -27
- package/declarations/components/eui-super-date-picker/date-popover/absolute-tab.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/date-popover/datetime-picker.d.ts +0 -65
- package/declarations/components/eui-super-date-picker/date-popover/datetime-picker.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/date-popover/eui-date-popover-button.d.ts +0 -32
- package/declarations/components/eui-super-date-picker/date-popover/eui-date-popover-button.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/date-popover/eui-date-popover-content.d.ts +0 -48
- package/declarations/components/eui-super-date-picker/date-popover/eui-date-popover-content.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/date-popover/now-tab.d.ts +0 -10
- package/declarations/components/eui-super-date-picker/date-popover/now-tab.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/date-popover/relative-tab.d.ts +0 -31
- package/declarations/components/eui-super-date-picker/date-popover/relative-tab.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/eui-date-picker-range.d.ts +0 -18
- package/declarations/components/eui-super-date-picker/eui-date-picker-range.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-commonly-used-time-ranges.d.ts +0 -14
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-commonly-used-time-ranges.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.d.ts +0 -37
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-recently-used.d.ts +0 -14
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-recently-used.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover.d.ts +0 -30
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/eui-super-update-button.d.ts +0 -20
- package/declarations/components/eui-super-date-picker/eui-super-update-button.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/utils/date-utils.d.ts +0 -15
- package/declarations/components/eui-super-date-picker/utils/date-utils.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/utils/index.d.ts +0 -31
- package/declarations/components/eui-super-date-picker/utils/index.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/utils/pretty-duration.d.ts +0 -25
- package/declarations/components/eui-super-date-picker/utils/pretty-duration.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/utils/quick-select.d.ts +0 -14
- package/declarations/components/eui-super-date-picker/utils/quick-select.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/utils/time-options.d.ts +0 -20
- package/declarations/components/eui-super-date-picker/utils/time-options.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker.d.ts +0 -93
- package/declarations/components/eui-super-date-picker.d.ts.map +0 -1
- package/declarations/components/eui-switch.d.ts +0 -30
- package/declarations/components/eui-switch.d.ts.map +0 -1
- package/declarations/components/eui-tab.d.ts +0 -21
- package/declarations/components/eui-tab.d.ts.map +0 -1
- package/declarations/components/eui-tabbed-content.d.ts +0 -65
- package/declarations/components/eui-tabbed-content.d.ts.map +0 -1
- package/declarations/components/eui-tabs.d.ts +0 -18
- package/declarations/components/eui-tabs.d.ts.map +0 -1
- package/declarations/components/eui-text-align.d.ts +0 -13
- package/declarations/components/eui-text-align.d.ts.map +0 -1
- package/declarations/components/eui-text-area.d.ts +0 -22
- package/declarations/components/eui-text-area.d.ts.map +0 -1
- package/declarations/components/eui-text-color.d.ts +0 -14
- package/declarations/components/eui-text-color.d.ts.map +0 -1
- package/declarations/components/eui-text.d.ts +0 -19
- package/declarations/components/eui-text.d.ts.map +0 -1
- package/declarations/components/eui-title.d.ts +0 -17
- package/declarations/components/eui-title.d.ts.map +0 -1
- package/declarations/components/eui-toast.d.ts +0 -35
- package/declarations/components/eui-toast.d.ts.map +0 -1
- package/declarations/components/eui-tool-tip-popover.d.ts +0 -26
- package/declarations/components/eui-tool-tip-popover.d.ts.map +0 -1
- package/declarations/components/eui-tool-tip.d.ts +0 -108
- package/declarations/components/eui-tool-tip.d.ts.map +0 -1
- package/declarations/components/text-block.d.ts +0 -13
- package/declarations/components/text-block.d.ts.map +0 -1
- package/declarations/components.d.ts +0 -150
- package/declarations/components.d.ts.map +0 -1
- package/declarations/helpers/arg-or-default.d.ts +0 -21
- package/declarations/helpers/arg-or-default.d.ts.map +0 -1
- package/declarations/helpers/cast-to.d.ts +0 -14
- package/declarations/helpers/cast-to.d.ts.map +0 -1
- package/declarations/helpers/class-names.d.ts +0 -47
- package/declarations/helpers/class-names.d.ts.map +0 -1
- package/declarations/helpers/eui-page-restrict-width.d.ts +0 -30
- package/declarations/helpers/eui-page-restrict-width.d.ts.map +0 -1
- package/declarations/helpers/eui-palette.d.ts +0 -25
- package/declarations/helpers/eui-palette.d.ts.map +0 -1
- package/declarations/helpers/get-eui-config.d.ts +0 -14
- package/declarations/helpers/get-eui-config.d.ts.map +0 -1
- package/declarations/helpers/get-range-tick.d.ts +0 -21
- package/declarations/helpers/get-range-tick.d.ts.map +0 -1
- package/declarations/helpers/hex-to-rgb.d.ts +0 -10
- package/declarations/helpers/hex-to-rgb.d.ts.map +0 -1
- package/declarations/helpers/inline-styles.d.ts +0 -19
- package/declarations/helpers/inline-styles.d.ts.map +0 -1
- package/declarations/helpers/is-color-dark.d.ts +0 -10
- package/declarations/helpers/is-color-dark.d.ts.map +0 -1
- package/declarations/helpers/is-item-open.d.ts +0 -16
- package/declarations/helpers/is-item-open.d.ts.map +0 -1
- package/declarations/helpers/is-valid-hex.d.ts +0 -10
- package/declarations/helpers/is-valid-hex.d.ts.map +0 -1
- package/declarations/helpers/is-within-number.d.ts +0 -15
- package/declarations/helpers/is-within-number.d.ts.map +0 -1
- package/declarations/helpers/merge.d.ts +0 -9
- package/declarations/helpers/merge.d.ts.map +0 -1
- package/declarations/helpers/nullish.d.ts +0 -10
- package/declarations/helpers/nullish.d.ts.map +0 -1
- package/declarations/helpers/starts-with.d.ts +0 -10
- package/declarations/helpers/starts-with.d.ts.map +0 -1
- package/declarations/helpers/to-initials.d.ts +0 -11
- package/declarations/helpers/to-initials.d.ts.map +0 -1
- package/declarations/helpers/type-of.d.ts +0 -10
- package/declarations/helpers/type-of.d.ts.map +0 -1
- package/declarations/helpers/unique-id.d.ts +0 -10
- package/declarations/helpers/unique-id.d.ts.map +0 -1
- package/declarations/helpers/use-state.d.ts +0 -21
- package/declarations/helpers/use-state.d.ts.map +0 -1
- package/declarations/helpers.d.ts +0 -9
- package/declarations/helpers.d.ts.map +0 -1
- package/declarations/i18n/util.d.ts +0 -12
- package/declarations/i18n/util.d.ts.map +0 -1
- package/declarations/modifiers/mutation-observer.d.ts +0 -12
- package/declarations/modifiers/mutation-observer.d.ts.map +0 -1
- package/declarations/modifiers/open-collapsible-nav.d.ts +0 -9
- package/declarations/modifiers/open-collapsible-nav.d.ts.map +0 -1
- package/declarations/modifiers/outside-click-detector.d.ts +0 -38
- package/declarations/modifiers/outside-click-detector.d.ts.map +0 -1
- package/declarations/modifiers/resize-observer.d.ts +0 -36
- package/declarations/modifiers/resize-observer.d.ts.map +0 -1
- package/declarations/modifiers/screen-reader-only.d.ts +0 -9
- package/declarations/modifiers/screen-reader-only.d.ts.map +0 -1
- package/declarations/modifiers/simple-style.d.ts +0 -12
- package/declarations/modifiers/simple-style.d.ts.map +0 -1
- package/declarations/modifiers/use-is-within-breakpoints.d.ts +0 -15
- package/declarations/modifiers/use-is-within-breakpoints.d.ts.map +0 -1
- package/declarations/modifiers/validatable-control.d.ts +0 -9
- package/declarations/modifiers/validatable-control.d.ts.map +0 -1
- package/declarations/modifiers.d.ts +0 -8
- package/declarations/modifiers.d.ts.map +0 -1
- package/declarations/services/eui-config.d.ts +0 -15
- package/declarations/services/eui-config.d.ts.map +0 -1
- package/declarations/services/eui-i18n.d.ts +0 -24
- package/declarations/services/eui-i18n.d.ts.map +0 -1
- package/declarations/services/eui-toaster.d.ts +0 -15
- package/declarations/services/eui-toaster.d.ts.map +0 -1
- package/declarations/template-registry.d.ts +0 -476
- package/declarations/template-registry.d.ts.map +0 -1
- package/declarations/utils/accesibility/accessible-click-keys.d.ts +0 -5
- package/declarations/utils/accesibility/accessible-click-keys.d.ts.map +0 -1
- package/declarations/utils/accesibility/cascading-menu-keys.d.ts +0 -9
- package/declarations/utils/accesibility/cascading-menu-keys.d.ts.map +0 -1
- package/declarations/utils/accesibility/combo-box-keys.d.ts +0 -8
- package/declarations/utils/accesibility/combo-box-keys.d.ts.map +0 -1
- package/declarations/utils/accesibility/index.d.ts +0 -4
- package/declarations/utils/accesibility/index.d.ts.map +0 -1
- package/declarations/utils/breakpoint.d.ts +0 -50
- package/declarations/utils/breakpoint.d.ts.map +0 -1
- package/declarations/utils/browser/browser.d.ts +0 -6
- package/declarations/utils/browser/browser.d.ts.map +0 -1
- package/declarations/utils/browser/index.d.ts +0 -2
- package/declarations/utils/browser/index.d.ts.map +0 -1
- package/declarations/utils/code/utils.d.ts +0 -32
- package/declarations/utils/code/utils.d.ts.map +0 -1
- package/declarations/utils/color/color_palette.d.ts +0 -24
- package/declarations/utils/color/color_palette.d.ts.map +0 -1
- package/declarations/utils/color/eui_palettes.d.ts +0 -37
- package/declarations/utils/color/eui_palettes.d.ts.map +0 -1
- package/declarations/utils/color/index.d.ts +0 -6
- package/declarations/utils/color/index.d.ts.map +0 -1
- package/declarations/utils/copy-to-clipboard.d.ts +0 -2
- package/declarations/utils/copy-to-clipboard.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-accordion.d.ts +0 -12
- package/declarations/utils/css-mappings/eui-accordion.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-avatar.d.ts +0 -23
- package/declarations/utils/css-mappings/eui-avatar.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-badge-group.d.ts +0 -8
- package/declarations/utils/css-mappings/eui-badge-group.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-badge.d.ts +0 -31
- package/declarations/utils/css-mappings/eui-badge.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-beta-badge.d.ts +0 -13
- package/declarations/utils/css-mappings/eui-beta-badge.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-bottom-bar.d.ts +0 -4
- package/declarations/utils/css-mappings/eui-bottom-bar.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-button-empty.d.ts +0 -22
- package/declarations/utils/css-mappings/eui-button-empty.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-button-group-button.d.ts +0 -4
- package/declarations/utils/css-mappings/eui-button-group-button.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-button-group.d.ts +0 -4
- package/declarations/utils/css-mappings/eui-button-group.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-button-icon.d.ts +0 -23
- package/declarations/utils/css-mappings/eui-button-icon.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-button.d.ts +0 -13
- package/declarations/utils/css-mappings/eui-button.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-call-out.d.ts +0 -13
- package/declarations/utils/css-mappings/eui-call-out.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-card-select.d.ts +0 -4
- package/declarations/utils/css-mappings/eui-card-select.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-card.d.ts +0 -9
- package/declarations/utils/css-mappings/eui-card.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-code-block.d.ts +0 -15
- package/declarations/utils/css-mappings/eui-code-block.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-collapsible-nav-group.d.ts +0 -9
- package/declarations/utils/css-mappings/eui-collapsible-nav-group.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-comment-event.d.ts +0 -4
- package/declarations/utils/css-mappings/eui-comment-event.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-comment-timeline-icon.d.ts +0 -7
- package/declarations/utils/css-mappings/eui-comment-timeline-icon.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-context-menu-item.d.ts +0 -15
- package/declarations/utils/css-mappings/eui-context-menu-item.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-described-form-group.d.ts +0 -12
- package/declarations/utils/css-mappings/eui-described-form-group.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-description-list.d.ts +0 -18
- package/declarations/utils/css-mappings/eui-description-list.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-empty-prompt.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-empty-prompt.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-file-picker.d.ts +0 -8
- package/declarations/utils/css-mappings/eui-file-picker.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-flex-grid.d.ts +0 -22
- package/declarations/utils/css-mappings/eui-flex-grid.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-flex-group.d.ts +0 -33
- package/declarations/utils/css-mappings/eui-flex-group.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-flex-item.d.ts +0 -17
- package/declarations/utils/css-mappings/eui-flex-item.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-flyout.d.ts +0 -23
- package/declarations/utils/css-mappings/eui-flyout.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-form-control-layout-clear-button.d.ts +0 -8
- package/declarations/utils/css-mappings/eui-form-control-layout-clear-button.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-form-row.d.ts +0 -12
- package/declarations/utils/css-mappings/eui-form-row.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-global-toast-list.d.ts +0 -8
- package/declarations/utils/css-mappings/eui-global-toast-list.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-header-links.d.ts +0 -18
- package/declarations/utils/css-mappings/eui-header-links.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-header-section-item.d.ts +0 -9
- package/declarations/utils/css-mappings/eui-header-section-item.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-header-section.d.ts +0 -12
- package/declarations/utils/css-mappings/eui-header-section.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-header.d.ts +0 -12
- package/declarations/utils/css-mappings/eui-header.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-health.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-health.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-horizontal-rule.d.ts +0 -18
- package/declarations/utils/css-mappings/eui-horizontal-rule.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-icon.d.ts +0 -494
- package/declarations/utils/css-mappings/eui-icon.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-image.d.ts +0 -22
- package/declarations/utils/css-mappings/eui-image.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-link.d.ts +0 -14
- package/declarations/utils/css-mappings/eui-link.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-list-group-item.d.ts +0 -17
- package/declarations/utils/css-mappings/eui-list-group-item.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-list-group.d.ts +0 -12
- package/declarations/utils/css-mappings/eui-list-group.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-loading-spinner.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-loading-spinner.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-modal.d.ts +0 -7
- package/declarations/utils/css-mappings/eui-modal.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-notification-badge.d.ts +0 -11
- package/declarations/utils/css-mappings/eui-notification-badge.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-page-body.d.ts +0 -16
- package/declarations/utils/css-mappings/eui-page-body.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-page-content-body.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-page-content-body.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-page-content.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-page-content.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-page-header.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-page-header.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-page-side-bar.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-page-side-bar.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-page.d.ts +0 -24
- package/declarations/utils/css-mappings/eui-page.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-panel.d.ts +0 -24
- package/declarations/utils/css-mappings/eui-panel.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-popover-footer.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-popover-footer.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-popover-title.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-popover-title.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-popover.d.ts +0 -22
- package/declarations/utils/css-mappings/eui-popover.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-progress-data.d.ts +0 -3
- package/declarations/utils/css-mappings/eui-progress-data.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-progress.d.ts +0 -50
- package/declarations/utils/css-mappings/eui-progress.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-range-highlight.d.ts +0 -11
- package/declarations/utils/css-mappings/eui-range-highlight.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-range-input.d.ts +0 -8
- package/declarations/utils/css-mappings/eui-range-input.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-range-levels.d.ts +0 -13
- package/declarations/utils/css-mappings/eui-range-levels.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-selectable-list-item.d.ts +0 -7
- package/declarations/utils/css-mappings/eui-selectable-list-item.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-spacer.d.ts +0 -12
- package/declarations/utils/css-mappings/eui-spacer.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-stat.d.ts +0 -17
- package/declarations/utils/css-mappings/eui-stat.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-step-number.d.ts +0 -11
- package/declarations/utils/css-mappings/eui-step-number.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-tabs.d.ts +0 -14
- package/declarations/utils/css-mappings/eui-tabs.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-text-align.d.ts +0 -9
- package/declarations/utils/css-mappings/eui-text-align.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-text-area.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-text-area.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-text-color.d.ts +0 -14
- package/declarations/utils/css-mappings/eui-text-color.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-text.d.ts +0 -9
- package/declarations/utils/css-mappings/eui-text.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-title.d.ts +0 -15
- package/declarations/utils/css-mappings/eui-title.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-toast.d.ts +0 -11
- package/declarations/utils/css-mappings/eui-toast.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-tool-tip.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-tool-tip.d.ts.map +0 -1
- package/declarations/utils/css-mappings/index.d.ts +0 -3
- package/declarations/utils/css-mappings/index.d.ts.map +0 -1
- package/declarations/utils/detect-element-resize.d.ts +0 -17
- package/declarations/utils/detect-element-resize.d.ts.map +0 -1
- package/declarations/utils/index.d.ts +0 -3
- package/declarations/utils/index.d.ts.map +0 -1
- package/declarations/utils/keys.d.ts +0 -31
- package/declarations/utils/keys.d.ts.map +0 -1
- package/declarations/utils/markdown/markdown-actions.d.ts +0 -45
- package/declarations/utils/markdown/markdown-actions.d.ts.map +0 -1
- package/declarations/utils/markdown/markdown-modes.d.ts +0 -4
- package/declarations/utils/markdown/markdown-modes.d.ts.map +0 -1
- package/declarations/utils/markdown/markdown-types.d.ts +0 -100
- package/declarations/utils/markdown/markdown-types.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-add-components/index.d.ts +0 -3
- package/declarations/utils/markdown/plugins/markdown-add-components/index.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-add-components/processor.d.ts +0 -6
- package/declarations/utils/markdown/plugins/markdown-add-components/processor.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-checkbox/index.d.ts +0 -2
- package/declarations/utils/markdown/plugins/markdown-checkbox/index.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-checkbox/parser.d.ts +0 -3
- package/declarations/utils/markdown/plugins/markdown-checkbox/parser.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-default-plugins/index.d.ts +0 -5
- package/declarations/utils/markdown/plugins/markdown-default-plugins/index.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-default-plugins/parsing-plugins.d.ts +0 -7
- package/declarations/utils/markdown/plugins/markdown-default-plugins/parsing-plugins.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-default-plugins/plugins.d.ts +0 -11
- package/declarations/utils/markdown/plugins/markdown-default-plugins/plugins.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-default-plugins/processing-plugins.d.ts +0 -21
- package/declarations/utils/markdown/plugins/markdown-default-plugins/processing-plugins.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-default-plugins/ui-plugins.d.ts +0 -7
- package/declarations/utils/markdown/plugins/markdown-default-plugins/ui-plugins.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-tooltip/index.d.ts +0 -3
- package/declarations/utils/markdown/plugins/markdown-tooltip/index.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-tooltip/parser.d.ts +0 -3
- package/declarations/utils/markdown/plugins/markdown-tooltip/parser.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-tooltip/plugin.d.ts +0 -14
- package/declarations/utils/markdown/plugins/markdown-tooltip/plugin.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/to-dom.d.ts +0 -20
- package/declarations/utils/markdown/plugins/to-dom.d.ts.map +0 -1
- package/declarations/utils/markdown/remark/remark-prismjs.d.ts +0 -5
- package/declarations/utils/markdown/remark/remark-prismjs.d.ts.map +0 -1
- package/declarations/utils/maybe-unwrap-proxy.d.ts +0 -3
- package/declarations/utils/maybe-unwrap-proxy.d.ts.map +0 -1
- package/declarations/utils/number/index.d.ts +0 -2
- package/declarations/utils/number/index.d.ts.map +0 -1
- package/declarations/utils/number/number.d.ts +0 -3
- package/declarations/utils/number/number.d.ts.map +0 -1
- package/declarations/utils/popover/index.d.ts +0 -152
- package/declarations/utils/popover/index.d.ts.map +0 -1
- package/declarations/utils/popover/types.d.ts +0 -2
- package/declarations/utils/popover/types.d.ts.map +0 -1
- package/declarations/utils/predicate/common_predicates.d.ts +0 -6
- package/declarations/utils/predicate/common_predicates.d.ts.map +0 -1
- package/declarations/utils/predicate/index.d.ts +0 -3
- package/declarations/utils/predicate/index.d.ts.map +0 -1
- package/declarations/utils/predicate/lodash_predicates.d.ts +0 -8
- package/declarations/utils/predicate/lodash_predicates.d.ts.map +0 -1
- package/declarations/utils/range/index.d.ts +0 -2
- package/declarations/utils/range/index.d.ts.map +0 -1
- package/declarations/utils/timer.d.ts +0 -13
- package/declarations/utils/timer.d.ts.map +0 -1
- package/declarations/utils/transition.d.ts +0 -8
- package/declarations/utils/transition.d.ts.map +0 -1
- package/dist/_rollupPluginBabelHelpers-9wjJaosZ.js +0 -63
- package/dist/_rollupPluginBabelHelpers-9wjJaosZ.js.map +0 -1
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { _ as _applyDecoratedDescriptor, a as _initializerDefineProperty, b as _defineProperty } from '../_rollupPluginBabelHelpers-9wjJaosZ.js';
|
|
2
|
-
import { setComponentTemplate } from '@ember/component';
|
|
3
|
-
import { precompileTemplate } from '@ember/template-compilation';
|
|
4
1
|
import Component from '@glimmer/component';
|
|
5
2
|
import { tracked } from '@glimmer/tracking';
|
|
6
3
|
import { assert } from '@ember/debug';
|
|
@@ -29,42 +26,41 @@ import { findPopoverPosition, getElementZIndex } from '../utils/popover/index.js
|
|
|
29
26
|
import { getTransitionTimings, getWaitDuration, performOnFrame } from '../utils/transition.js';
|
|
30
27
|
import EuiPanel from './eui-panel.js';
|
|
31
28
|
import EuiPortal from './eui-portal.js';
|
|
29
|
+
import { precompileTemplate } from '@ember/template-compilation';
|
|
30
|
+
import { setComponentTemplate } from '@ember/component';
|
|
31
|
+
import { g, i, n } from 'decorator-transforms/runtime';
|
|
32
32
|
|
|
33
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20;
|
|
34
33
|
const anchorPositionToPopoverPositionMap = {
|
|
35
34
|
up: 'top',
|
|
36
35
|
right: 'right',
|
|
37
36
|
down: 'bottom',
|
|
38
37
|
left: 'left'
|
|
39
38
|
};
|
|
40
|
-
function getPopoverPositionFromAnchorPosition(
|
|
39
|
+
function getPopoverPositionFromAnchorPosition(anchorPosition1) {
|
|
41
40
|
// maps the anchor position to the matching popover position
|
|
42
41
|
// e.g. "upLeft" -> "top", "downRight" -> "bottom"
|
|
43
|
-
|
|
44
42
|
// extract the first positional word from anchorPosition:
|
|
45
43
|
// starts at the beginning (" ^ ") of anchorPosition and
|
|
46
44
|
// captures all of the characters (" (.*?) ") until the
|
|
47
45
|
// first capital letter (" [A-Z] ") is encountered
|
|
48
|
-
const
|
|
49
|
-
if (
|
|
50
|
-
return anchorPositionToPopoverPositionMap[
|
|
46
|
+
const match1 = anchorPosition1.match(/^(.*?)[A-Z]/);
|
|
47
|
+
if (match1?.length && match1.length > 1) {
|
|
48
|
+
return anchorPositionToPopoverPositionMap[match1[1]];
|
|
51
49
|
}
|
|
52
50
|
return anchorPositionToPopoverPositionMap['up'];
|
|
53
51
|
}
|
|
54
|
-
function getPopoverAlignFromAnchorPosition(
|
|
52
|
+
function getPopoverAlignFromAnchorPosition(anchorPosition1) {
|
|
55
53
|
// maps the gravity to the matching popover position
|
|
56
54
|
// e.g. "upLeft" -> "left", "rightDown" -> "bottom"
|
|
57
|
-
|
|
58
55
|
// extract the second positional word from anchorPosition:
|
|
59
56
|
// starts a capture group at the first capital letter
|
|
60
57
|
// and includes everything after it
|
|
61
|
-
const
|
|
62
|
-
|
|
58
|
+
const match1 = anchorPosition1.match(/([A-Z].*)/);
|
|
63
59
|
// this performs two tasks:
|
|
64
60
|
// 1. normalizes the align position by lowercasing it
|
|
65
61
|
// 2. `center` doesn't exist in the lookup map which converts it to `undefined` meaning no align
|
|
66
|
-
if (
|
|
67
|
-
return anchorPositionToPopoverPositionMap[
|
|
62
|
+
if (match1?.length && match1.length > 1) {
|
|
63
|
+
return anchorPositionToPopoverPositionMap[match1[1]?.toLowerCase()];
|
|
68
64
|
}
|
|
69
65
|
return anchorPositionToPopoverPositionMap['left'];
|
|
70
66
|
}
|
|
@@ -74,192 +70,123 @@ const DEFAULT_POPOVER_STYLES = {
|
|
|
74
70
|
top: 50,
|
|
75
71
|
left: 50
|
|
76
72
|
};
|
|
77
|
-
function getElementFromInitialFocus(
|
|
78
|
-
const
|
|
79
|
-
if (
|
|
80
|
-
return document.querySelector(
|
|
73
|
+
function getElementFromInitialFocus(initialFocus1) {
|
|
74
|
+
const initialFocusType1 = typeof initialFocus1;
|
|
75
|
+
if (initialFocusType1 === 'string') {
|
|
76
|
+
return document.querySelector(initialFocus1);
|
|
81
77
|
}
|
|
82
|
-
if (
|
|
83
|
-
return
|
|
78
|
+
if (initialFocusType1 === 'function') {
|
|
79
|
+
return initialFocus1();
|
|
84
80
|
}
|
|
85
|
-
return
|
|
81
|
+
return initialFocus1;
|
|
86
82
|
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
subtree=true
|
|
195
|
-
)
|
|
196
|
-
@mutationObserverOptions
|
|
197
|
-
)
|
|
198
|
-
}}
|
|
199
|
-
>
|
|
200
|
-
{{yield to="content"}}
|
|
201
|
-
</div>
|
|
202
|
-
</EuiPanel>
|
|
203
|
-
{{/let}}
|
|
204
|
-
</EuiPortal>
|
|
205
|
-
{{/if}}
|
|
206
|
-
|
|
207
|
-
</div>
|
|
208
|
-
{{/let}}
|
|
209
|
-
`, {
|
|
210
|
-
strictMode: true,
|
|
211
|
-
scope: () => ({
|
|
212
|
-
randomId,
|
|
213
|
-
classNames,
|
|
214
|
-
concat,
|
|
215
|
-
or,
|
|
216
|
-
not,
|
|
217
|
-
onKey,
|
|
218
|
-
didInsert,
|
|
219
|
-
didUpdate,
|
|
220
|
-
optional,
|
|
221
|
-
and,
|
|
222
|
-
EuiPortal,
|
|
223
|
-
EuiPanel,
|
|
224
|
-
simpleStyle,
|
|
225
|
-
outsideClickDetector: OutsideClickDetector,
|
|
226
|
-
focusTrap,
|
|
227
|
-
merge,
|
|
228
|
-
hash,
|
|
229
|
-
screenReaderOnly,
|
|
230
|
-
mutationObserver
|
|
231
|
-
})
|
|
232
|
-
}), (_dec = argOrDefaultDecorator(false), _dec2 = argOrDefaultDecorator(true), _dec3 = argOrDefaultDecorator('downCenter'), _dec4 = argOrDefaultDecorator('m'), _dec5 = argOrDefaultDecorator(true), _dec6 = argOrDefaultDecorator('inlineBlock'), _dec7 = argOrDefaultDecorator(true), _dec8 = argOrDefaultDecorator(false), (_class = class EuiPopoverComponent extends Component {
|
|
233
|
-
constructor(owner, args) {
|
|
234
|
-
super(owner, args);
|
|
235
|
-
// Defaults
|
|
236
|
-
_initializerDefineProperty(this, "isOpen", _descriptor, this);
|
|
237
|
-
_initializerDefineProperty(this, "ownFocus", _descriptor2, this);
|
|
238
|
-
_initializerDefineProperty(this, "anchorPosition", _descriptor3, this);
|
|
239
|
-
_initializerDefineProperty(this, "panelPaddingSize", _descriptor4, this);
|
|
240
|
-
_initializerDefineProperty(this, "hasArrow", _descriptor5, this);
|
|
241
|
-
_initializerDefineProperty(this, "display", _descriptor6, this);
|
|
242
|
-
_initializerDefineProperty(this, "shouldSelfFocus", _descriptor7, this);
|
|
243
|
-
_initializerDefineProperty(this, "isFocusTrapPaused", _descriptor8, this);
|
|
244
|
-
//State
|
|
245
|
-
_initializerDefineProperty(this, "prevIsOpen", _descriptor9, this);
|
|
246
|
-
_initializerDefineProperty(this, "suppressingPopover", _descriptor10, this);
|
|
247
|
-
_initializerDefineProperty(this, "isClosing", _descriptor11, this);
|
|
248
|
-
_initializerDefineProperty(this, "isOpening", _descriptor12, this);
|
|
249
|
-
_initializerDefineProperty(this, "popoverStyles", _descriptor13, this);
|
|
250
|
-
_initializerDefineProperty(this, "arrowStyles", _descriptor14, this);
|
|
251
|
-
_initializerDefineProperty(this, "arrowPosition", _descriptor15, this);
|
|
252
|
-
_initializerDefineProperty(this, "openPosition", _descriptor16, this);
|
|
253
|
-
_initializerDefineProperty(this, "isOpenStable", _descriptor17, this);
|
|
254
|
-
_initializerDefineProperty(this, "isCurrentlyOpen", _descriptor18, this);
|
|
255
|
-
///
|
|
256
|
-
_defineProperty(this, "respositionTimeout", null);
|
|
257
|
-
_defineProperty(this, "closingTransitionTimeout", null);
|
|
258
|
-
_defineProperty(this, "closingTransitionAnimationFrame", void 0);
|
|
259
|
-
_defineProperty(this, "updateFocusAnimationFrame", void 0);
|
|
260
|
-
_defineProperty(this, "hasSetInitialFocus", false);
|
|
261
|
-
_initializerDefineProperty(this, "button", _descriptor19, this);
|
|
262
|
-
_initializerDefineProperty(this, "panel", _descriptor20, this);
|
|
83
|
+
class EuiPopoverComponent extends Component {
|
|
84
|
+
static {
|
|
85
|
+
g(this.prototype, "isOpen", [argOrDefaultDecorator(false)]);
|
|
86
|
+
}
|
|
87
|
+
#isOpen = (i(this, "isOpen"), void 0); // Defaults
|
|
88
|
+
static {
|
|
89
|
+
g(this.prototype, "ownFocus", [argOrDefaultDecorator(true)]);
|
|
90
|
+
}
|
|
91
|
+
#ownFocus = (i(this, "ownFocus"), void 0);
|
|
92
|
+
static {
|
|
93
|
+
g(this.prototype, "anchorPosition", [argOrDefaultDecorator('downCenter')]);
|
|
94
|
+
}
|
|
95
|
+
#anchorPosition = (i(this, "anchorPosition"), void 0);
|
|
96
|
+
static {
|
|
97
|
+
g(this.prototype, "panelPaddingSize", [argOrDefaultDecorator('m')]);
|
|
98
|
+
}
|
|
99
|
+
#panelPaddingSize = (i(this, "panelPaddingSize"), void 0);
|
|
100
|
+
static {
|
|
101
|
+
g(this.prototype, "hasArrow", [argOrDefaultDecorator(true)]);
|
|
102
|
+
}
|
|
103
|
+
#hasArrow = (i(this, "hasArrow"), void 0);
|
|
104
|
+
static {
|
|
105
|
+
g(this.prototype, "display", [argOrDefaultDecorator('inlineBlock')]);
|
|
106
|
+
}
|
|
107
|
+
#display = (i(this, "display"), void 0);
|
|
108
|
+
static {
|
|
109
|
+
g(this.prototype, "shouldSelfFocus", [argOrDefaultDecorator(true)]);
|
|
110
|
+
}
|
|
111
|
+
#shouldSelfFocus = (i(this, "shouldSelfFocus"), void 0);
|
|
112
|
+
static {
|
|
113
|
+
g(this.prototype, "isFocusTrapPaused", [argOrDefaultDecorator(false)]);
|
|
114
|
+
}
|
|
115
|
+
#isFocusTrapPaused = (i(this, "isFocusTrapPaused"), void 0);
|
|
116
|
+
static {
|
|
117
|
+
g(this.prototype, "prevIsOpen", [tracked]);
|
|
118
|
+
}
|
|
119
|
+
#prevIsOpen = (i(this, "prevIsOpen"), void 0); //State
|
|
120
|
+
static {
|
|
121
|
+
g(this.prototype, "suppressingPopover", [tracked]);
|
|
122
|
+
}
|
|
123
|
+
#suppressingPopover = (i(this, "suppressingPopover"), void 0);
|
|
124
|
+
static {
|
|
125
|
+
g(this.prototype, "isClosing", [tracked], function () {
|
|
126
|
+
return false;
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
#isClosing = (i(this, "isClosing"), void 0);
|
|
130
|
+
static {
|
|
131
|
+
g(this.prototype, "isOpening", [tracked], function () {
|
|
132
|
+
return false;
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
#isOpening = (i(this, "isOpening"), void 0);
|
|
136
|
+
static {
|
|
137
|
+
g(this.prototype, "popoverStyles", [tracked], function () {
|
|
138
|
+
return {};
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
#popoverStyles = (i(this, "popoverStyles"), void 0);
|
|
142
|
+
static {
|
|
143
|
+
g(this.prototype, "arrowStyles", [tracked], function () {
|
|
144
|
+
return {};
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
#arrowStyles = (i(this, "arrowStyles"), void 0);
|
|
148
|
+
static {
|
|
149
|
+
g(this.prototype, "arrowPosition", [tracked], function () {
|
|
150
|
+
return null;
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
#arrowPosition = (i(this, "arrowPosition"), void 0);
|
|
154
|
+
static {
|
|
155
|
+
g(this.prototype, "openPosition", [tracked], function () {
|
|
156
|
+
return null;
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
#openPosition = (i(this, "openPosition"), void 0);
|
|
160
|
+
static {
|
|
161
|
+
g(this.prototype, "isOpenStable", [tracked], function () {
|
|
162
|
+
return false;
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
#isOpenStable = (i(this, "isOpenStable"), void 0);
|
|
166
|
+
static {
|
|
167
|
+
g(this.prototype, "isCurrentlyOpen", [tracked]);
|
|
168
|
+
}
|
|
169
|
+
#isCurrentlyOpen = (i(this, "isCurrentlyOpen"), void 0);
|
|
170
|
+
///
|
|
171
|
+
respositionTimeout = null;
|
|
172
|
+
closingTransitionTimeout = null;
|
|
173
|
+
closingTransitionAnimationFrame;
|
|
174
|
+
updateFocusAnimationFrame;
|
|
175
|
+
hasSetInitialFocus = false;
|
|
176
|
+
static {
|
|
177
|
+
g(this.prototype, "button", [tracked], function () {
|
|
178
|
+
return null;
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
#button = (i(this, "button"), void 0);
|
|
182
|
+
static {
|
|
183
|
+
g(this.prototype, "panel", [tracked], function () {
|
|
184
|
+
return null;
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
#panel = (i(this, "panel"), void 0);
|
|
188
|
+
constructor(owner1, args1) {
|
|
189
|
+
super(owner1, args1);
|
|
263
190
|
assert(`Must provide closePopover function`, this.args.closePopover);
|
|
264
191
|
this.prevIsOpen = this.isOpen;
|
|
265
192
|
this.suppressingPopover = this.isOpen;
|
|
@@ -270,80 +197,89 @@ let EuiPopoverComponent = setComponentTemplate(precompileTemplate(`
|
|
|
270
197
|
this.args.closePopover();
|
|
271
198
|
}
|
|
272
199
|
}
|
|
273
|
-
|
|
200
|
+
static {
|
|
201
|
+
n(this.prototype, "closePopover", [action]);
|
|
202
|
+
}
|
|
203
|
+
onEscapeKey(event1, ekEvent1) {
|
|
274
204
|
if (this.isOpen) {
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
205
|
+
ekEvent1?.stopPropagation();
|
|
206
|
+
ekEvent1?.stopImmediatePropagation();
|
|
207
|
+
event1.preventDefault();
|
|
208
|
+
event1.stopPropagation();
|
|
279
209
|
this.closePopover();
|
|
280
210
|
}
|
|
281
211
|
}
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
212
|
+
static {
|
|
213
|
+
n(this.prototype, "onEscapeKey", [action]);
|
|
214
|
+
}
|
|
215
|
+
onKeyDown(event1, ekEvent1) {
|
|
216
|
+
if (event1.key === cascadingMenuKeys.ESCAPE) {
|
|
217
|
+
this.onEscapeKey(event1, ekEvent1);
|
|
285
218
|
}
|
|
286
219
|
}
|
|
287
|
-
|
|
220
|
+
static {
|
|
221
|
+
n(this.prototype, "onKeyDown", [action]);
|
|
222
|
+
}
|
|
223
|
+
onClickOutside(event1) {
|
|
288
224
|
if (this.args.focusTrapOptions?.onClickOutside) {
|
|
289
|
-
this.args.focusTrapOptions.onClickOutside(
|
|
225
|
+
this.args.focusTrapOptions.onClickOutside(event1);
|
|
290
226
|
} else {
|
|
291
227
|
// only close the popover if the event source isn't the anchor button
|
|
292
228
|
// otherwise, it is up to the anchor to toggle the popover's open status
|
|
293
|
-
if (this.button && this.button.contains(
|
|
229
|
+
if (this.button && this.button.contains(event1.target) === false) {
|
|
294
230
|
this.closePopover();
|
|
295
231
|
}
|
|
296
232
|
}
|
|
297
233
|
}
|
|
234
|
+
static {
|
|
235
|
+
n(this.prototype, "onClickOutside", [action]);
|
|
236
|
+
}
|
|
298
237
|
updateFocus() {
|
|
299
238
|
// Wait for the DOM to update.
|
|
300
239
|
this.updateFocusAnimationFrame = window.requestAnimationFrame(() => {
|
|
301
240
|
if (!this.ownFocus || !this.panel || this.args.initialFocus === false) {
|
|
302
241
|
return;
|
|
303
242
|
}
|
|
304
|
-
|
|
305
243
|
// If we've already focused on something inside the panel, everything's fine.
|
|
306
244
|
if (this.hasSetInitialFocus && this.panel.contains(document.activeElement)) {
|
|
307
245
|
return;
|
|
308
246
|
}
|
|
309
|
-
|
|
310
247
|
// Otherwise let's focus the first tabbable item and expedite input from the user.
|
|
311
|
-
let
|
|
248
|
+
let focusTarget1;
|
|
312
249
|
if (this.args.initialFocus != null) {
|
|
313
|
-
|
|
250
|
+
focusTarget1 = getElementFromInitialFocus(this.args.initialFocus);
|
|
314
251
|
} else {
|
|
315
|
-
const
|
|
316
|
-
if (
|
|
317
|
-
|
|
252
|
+
const tabbableItems1 = tabbable(this.panel);
|
|
253
|
+
if (tabbableItems1.length) {
|
|
254
|
+
focusTarget1 = tabbableItems1[0];
|
|
318
255
|
}
|
|
319
256
|
}
|
|
320
|
-
|
|
321
257
|
// there's a race condition between the popover content becoming visible and this function call
|
|
322
258
|
// if the element isn't visible yet (due to css styling) then it can't accept focus
|
|
323
259
|
// so wait for another render and try again
|
|
324
|
-
if (
|
|
260
|
+
if (focusTarget1 == null) {
|
|
325
261
|
// there isn't a focus target, one of two reasons:
|
|
326
262
|
// #1 is the whole panel hidden? If so, schedule another check
|
|
327
263
|
// #2 panel is visible but no tabbables exist, move focus to the panel
|
|
328
|
-
const
|
|
329
|
-
if (
|
|
264
|
+
const panelVisibility1 = window.getComputedStyle(this.panel).opacity;
|
|
265
|
+
if (panelVisibility1 === '0') {
|
|
330
266
|
// #1
|
|
331
267
|
this.updateFocus();
|
|
332
268
|
} else {
|
|
333
269
|
// #2
|
|
334
|
-
|
|
270
|
+
focusTarget1 = this.panel;
|
|
335
271
|
}
|
|
336
272
|
} else {
|
|
337
273
|
// found an element to focus, but is it visible?
|
|
338
|
-
const
|
|
339
|
-
if (
|
|
274
|
+
const visibility1 = window.getComputedStyle(focusTarget1).visibility;
|
|
275
|
+
if (visibility1 === 'hidden') {
|
|
340
276
|
// not visible, check again next render frame
|
|
341
277
|
this.updateFocus();
|
|
342
278
|
}
|
|
343
279
|
}
|
|
344
|
-
if (
|
|
280
|
+
if (focusTarget1 != null) {
|
|
345
281
|
this.hasSetInitialFocus = true;
|
|
346
|
-
|
|
282
|
+
focusTarget1.focus();
|
|
347
283
|
}
|
|
348
284
|
});
|
|
349
285
|
}
|
|
@@ -354,19 +290,18 @@ let EuiPopoverComponent = setComponentTemplate(precompileTemplate(`
|
|
|
354
290
|
this.closingTransitionAnimationFrame = window.requestAnimationFrame(() => {
|
|
355
291
|
this.isOpening = true;
|
|
356
292
|
});
|
|
357
|
-
|
|
358
293
|
// for each child element of `this.panel`, find any transition duration we should wait for before stabilizing
|
|
359
294
|
const {
|
|
360
|
-
durationMatch,
|
|
361
|
-
delayMatch
|
|
295
|
+
durationMatch: durationMatch1,
|
|
296
|
+
delayMatch: delayMatch1
|
|
362
297
|
} = Array.prototype.slice.call(this.panel ? this.panel.children : []).reduce(({
|
|
363
|
-
durationMatch,
|
|
364
|
-
delayMatch
|
|
365
|
-
},
|
|
366
|
-
const
|
|
298
|
+
durationMatch: durationMatch1,
|
|
299
|
+
delayMatch: delayMatch1
|
|
300
|
+
}, element1) => {
|
|
301
|
+
const transitionTimings1 = getTransitionTimings(element1);
|
|
367
302
|
return {
|
|
368
|
-
durationMatch: Math.max(
|
|
369
|
-
delayMatch: Math.max(
|
|
303
|
+
durationMatch: Math.max(durationMatch1, transitionTimings1.durationMatch),
|
|
304
|
+
delayMatch: Math.max(delayMatch1, transitionTimings1.delayMatch)
|
|
370
305
|
};
|
|
371
306
|
}, {
|
|
372
307
|
durationMatch: 0,
|
|
@@ -374,12 +309,15 @@ let EuiPopoverComponent = setComponentTemplate(precompileTemplate(`
|
|
|
374
309
|
});
|
|
375
310
|
this.respositionTimeout = later(this, () => {
|
|
376
311
|
this.isOpenStable = true;
|
|
377
|
-
const
|
|
312
|
+
const fn1 = () => {
|
|
378
313
|
this.positionPopoverFixed();
|
|
379
314
|
this.updateFocus();
|
|
380
315
|
};
|
|
381
|
-
scheduleOnce('afterRender', this,
|
|
382
|
-
},
|
|
316
|
+
scheduleOnce('afterRender', this, fn1);
|
|
317
|
+
}, durationMatch1 + delayMatch1);
|
|
318
|
+
}
|
|
319
|
+
static {
|
|
320
|
+
n(this.prototype, "onOpenPopover", [action]);
|
|
383
321
|
}
|
|
384
322
|
didInsertPopover() {
|
|
385
323
|
if (this.suppressingPopover) {
|
|
@@ -387,14 +325,17 @@ let EuiPopoverComponent = setComponentTemplate(precompileTemplate(`
|
|
|
387
325
|
// stop suppressing and start opening
|
|
388
326
|
this.suppressingPopover = false;
|
|
389
327
|
this.isOpening = true;
|
|
390
|
-
const
|
|
391
|
-
scheduleOnce('afterRender', this,
|
|
328
|
+
const fn1 = () => this.onOpenPopover();
|
|
329
|
+
scheduleOnce('afterRender', this, fn1);
|
|
392
330
|
}
|
|
393
331
|
if (this.args.repositionOnScroll) {
|
|
394
332
|
window.addEventListener('scroll', this.positionPopoverFixed, true);
|
|
395
333
|
}
|
|
396
334
|
this.updateFocus();
|
|
397
335
|
}
|
|
336
|
+
static {
|
|
337
|
+
n(this.prototype, "didInsertPopover", [action]);
|
|
338
|
+
}
|
|
398
339
|
didUpdateRepositionOnScroll() {
|
|
399
340
|
if (this.args.repositionOnScroll) {
|
|
400
341
|
window.addEventListener('scroll', this.positionPopoverFixed, true);
|
|
@@ -402,6 +343,9 @@ let EuiPopoverComponent = setComponentTemplate(precompileTemplate(`
|
|
|
402
343
|
window.removeEventListener('scroll', this.positionPopoverFixed, true);
|
|
403
344
|
}
|
|
404
345
|
}
|
|
346
|
+
static {
|
|
347
|
+
n(this.prototype, "didUpdateRepositionOnScroll", [action]);
|
|
348
|
+
}
|
|
405
349
|
didUpdateIsOpen() {
|
|
406
350
|
this.isCurrentlyOpen = this.isOpen;
|
|
407
351
|
if (!this.prevIsOpen && this.args.isOpen) {
|
|
@@ -418,6 +362,9 @@ let EuiPopoverComponent = setComponentTemplate(precompileTemplate(`
|
|
|
418
362
|
}
|
|
419
363
|
this.prevIsOpen = this.args.isOpen;
|
|
420
364
|
}
|
|
365
|
+
static {
|
|
366
|
+
n(this.prototype, "didUpdateIsOpen", [action]);
|
|
367
|
+
}
|
|
421
368
|
willDestroy() {
|
|
422
369
|
super.willDestroy();
|
|
423
370
|
window.removeEventListener('scroll', this.positionPopoverFixed, true);
|
|
@@ -426,29 +373,32 @@ let EuiPopoverComponent = setComponentTemplate(precompileTemplate(`
|
|
|
426
373
|
cancelAnimationFrame(this.closingTransitionAnimationFrame);
|
|
427
374
|
cancelAnimationFrame(this.updateFocusAnimationFrame);
|
|
428
375
|
}
|
|
429
|
-
onMutation(
|
|
430
|
-
const
|
|
376
|
+
onMutation(records1) {
|
|
377
|
+
const waitDuration1 = getWaitDuration(records1);
|
|
431
378
|
this.positionPopoverFixed();
|
|
432
|
-
performOnFrame(
|
|
379
|
+
performOnFrame(waitDuration1, this.positionPopoverFixed);
|
|
380
|
+
}
|
|
381
|
+
static {
|
|
382
|
+
n(this.prototype, "onMutation", [action]);
|
|
433
383
|
}
|
|
434
|
-
positionPopover(
|
|
384
|
+
positionPopover(allowEnforcePosition1) {
|
|
435
385
|
if (this.button == null || this.panel == null) return;
|
|
436
|
-
let
|
|
437
|
-
let
|
|
438
|
-
if (
|
|
439
|
-
|
|
440
|
-
|
|
386
|
+
let position1 = getPopoverPositionFromAnchorPosition(this.anchorPosition);
|
|
387
|
+
let forcePosition1 = undefined;
|
|
388
|
+
if (allowEnforcePosition1 && this.isOpenStable && this.openPosition != null) {
|
|
389
|
+
position1 = this.openPosition;
|
|
390
|
+
forcePosition1 = true;
|
|
441
391
|
}
|
|
442
392
|
const {
|
|
443
|
-
top,
|
|
444
|
-
left,
|
|
445
|
-
position:
|
|
446
|
-
arrow,
|
|
447
|
-
anchorBoundingBox
|
|
393
|
+
top: top1,
|
|
394
|
+
left: left1,
|
|
395
|
+
position: foundPosition1,
|
|
396
|
+
arrow: arrow1,
|
|
397
|
+
anchorBoundingBox: anchorBoundingBox1
|
|
448
398
|
} = findPopoverPosition({
|
|
449
399
|
container: this.args.container,
|
|
450
|
-
position,
|
|
451
|
-
forcePosition,
|
|
400
|
+
position: position1,
|
|
401
|
+
forcePosition: forcePosition1,
|
|
452
402
|
align: getPopoverAlignFromAnchorPosition(this.anchorPosition),
|
|
453
403
|
anchor: this.button,
|
|
454
404
|
popover: this.panel,
|
|
@@ -460,45 +410,47 @@ let EuiPopoverComponent = setComponentTemplate(precompileTemplate(`
|
|
|
460
410
|
returnBoundingBox: this.args.attachToAnchor,
|
|
461
411
|
buffer: this.args.buffer
|
|
462
412
|
});
|
|
463
|
-
|
|
464
413
|
// the popover's z-index must inherit from the button
|
|
465
414
|
// this keeps a button's popover under a flyout that would cover the button
|
|
466
415
|
// but a popover triggered inside a flyout will appear over that flyout
|
|
467
416
|
const {
|
|
468
|
-
zIndex:
|
|
417
|
+
zIndex: zIndexProp1
|
|
469
418
|
} = this.args;
|
|
470
|
-
const
|
|
471
|
-
const
|
|
472
|
-
top,
|
|
473
|
-
left: this.args.attachToAnchor &&
|
|
474
|
-
zIndex
|
|
419
|
+
const zIndex1 = zIndexProp1 == null ? getElementZIndex(this.button, this.panel) + 2000 : zIndexProp1;
|
|
420
|
+
const popoverStyles1 = {
|
|
421
|
+
top: top1,
|
|
422
|
+
left: this.args.attachToAnchor && anchorBoundingBox1 ? anchorBoundingBox1.left : left1,
|
|
423
|
+
zIndex: zIndex1
|
|
475
424
|
};
|
|
476
|
-
const
|
|
477
|
-
const
|
|
478
|
-
const
|
|
479
|
-
this.popoverStyles =
|
|
480
|
-
this.arrowStyles =
|
|
481
|
-
this.arrowPosition =
|
|
482
|
-
this.openPosition =
|
|
425
|
+
const willRenderArrow1 = !this.args.attachToAnchor && this.hasArrow;
|
|
426
|
+
const arrowStyles1 = willRenderArrow1 ? arrow1 : undefined;
|
|
427
|
+
const arrowPosition1 = foundPosition1;
|
|
428
|
+
this.popoverStyles = popoverStyles1;
|
|
429
|
+
this.arrowStyles = arrowStyles1;
|
|
430
|
+
this.arrowPosition = arrowPosition1;
|
|
431
|
+
this.openPosition = foundPosition1;
|
|
432
|
+
}
|
|
433
|
+
static {
|
|
434
|
+
n(this.prototype, "positionPopover", [action]);
|
|
483
435
|
}
|
|
484
436
|
get _arrowStyles() {
|
|
485
437
|
const {
|
|
486
|
-
arrowStyles
|
|
438
|
+
arrowStyles: arrowStyles1
|
|
487
439
|
} = this;
|
|
488
|
-
return
|
|
440
|
+
return arrowStyles1 ? htmlSafe(`top: ${arrowStyles1?.top}px; left: ${arrowStyles1?.left}px;`) : undefined;
|
|
489
441
|
}
|
|
490
442
|
get _popoverStyles() {
|
|
491
443
|
const {
|
|
492
|
-
panelStyle
|
|
444
|
+
panelStyle: panelStyle1
|
|
493
445
|
} = this.args;
|
|
494
446
|
const {
|
|
495
|
-
popoverStyles
|
|
447
|
+
popoverStyles: popoverStyles1
|
|
496
448
|
} = this;
|
|
497
449
|
return {
|
|
498
|
-
...
|
|
499
|
-
top: `${
|
|
500
|
-
left: `${
|
|
501
|
-
zIndex: `${
|
|
450
|
+
...panelStyle1,
|
|
451
|
+
top: `${popoverStyles1.top}px`,
|
|
452
|
+
left: `${popoverStyles1.left}px`,
|
|
453
|
+
zIndex: `${popoverStyles1.zIndex}`
|
|
502
454
|
};
|
|
503
455
|
}
|
|
504
456
|
get tabindex() {
|
|
@@ -510,17 +462,26 @@ let EuiPopoverComponent = setComponentTemplate(precompileTemplate(`
|
|
|
510
462
|
positionPopoverFixed() {
|
|
511
463
|
this.positionPopover(true);
|
|
512
464
|
}
|
|
465
|
+
static {
|
|
466
|
+
n(this.prototype, "positionPopoverFixed", [action]);
|
|
467
|
+
}
|
|
513
468
|
positionPopoverFluid() {
|
|
514
469
|
this.positionPopover(false);
|
|
515
470
|
}
|
|
516
|
-
|
|
517
|
-
this.
|
|
518
|
-
|
|
471
|
+
static {
|
|
472
|
+
n(this.prototype, "positionPopoverFluid", [action]);
|
|
473
|
+
}
|
|
474
|
+
registerButton(btn1) {
|
|
475
|
+
this.button = btn1;
|
|
476
|
+
this.args.buttonRef?.(btn1);
|
|
519
477
|
}
|
|
520
|
-
|
|
521
|
-
this.
|
|
522
|
-
|
|
523
|
-
|
|
478
|
+
static {
|
|
479
|
+
n(this.prototype, "registerButton", [action]);
|
|
480
|
+
}
|
|
481
|
+
registerPanel(panel1) {
|
|
482
|
+
this.panel = panel1;
|
|
483
|
+
this.args.panelRef?.(panel1);
|
|
484
|
+
if (panel1 === null) {
|
|
524
485
|
// panel has unmounted, restore the state defaults
|
|
525
486
|
this.popoverStyles = DEFAULT_POPOVER_STYLES;
|
|
526
487
|
this.arrowStyles = {};
|
|
@@ -534,125 +495,36 @@ let EuiPopoverComponent = setComponentTemplate(precompileTemplate(`
|
|
|
534
495
|
window.addEventListener('resize', this.positionPopoverFluid);
|
|
535
496
|
}
|
|
536
497
|
}
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
}), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, "shouldSelfFocus", [_dec7], {
|
|
568
|
-
configurable: true,
|
|
569
|
-
enumerable: true,
|
|
570
|
-
writable: true,
|
|
571
|
-
initializer: null
|
|
572
|
-
}), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, "isFocusTrapPaused", [_dec8], {
|
|
573
|
-
configurable: true,
|
|
574
|
-
enumerable: true,
|
|
575
|
-
writable: true,
|
|
576
|
-
initializer: null
|
|
577
|
-
}), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, "prevIsOpen", [tracked], {
|
|
578
|
-
configurable: true,
|
|
579
|
-
enumerable: true,
|
|
580
|
-
writable: true,
|
|
581
|
-
initializer: null
|
|
582
|
-
}), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, "suppressingPopover", [tracked], {
|
|
583
|
-
configurable: true,
|
|
584
|
-
enumerable: true,
|
|
585
|
-
writable: true,
|
|
586
|
-
initializer: null
|
|
587
|
-
}), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, "isClosing", [tracked], {
|
|
588
|
-
configurable: true,
|
|
589
|
-
enumerable: true,
|
|
590
|
-
writable: true,
|
|
591
|
-
initializer: function () {
|
|
592
|
-
return false;
|
|
593
|
-
}
|
|
594
|
-
}), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, "isOpening", [tracked], {
|
|
595
|
-
configurable: true,
|
|
596
|
-
enumerable: true,
|
|
597
|
-
writable: true,
|
|
598
|
-
initializer: function () {
|
|
599
|
-
return false;
|
|
600
|
-
}
|
|
601
|
-
}), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, "popoverStyles", [tracked], {
|
|
602
|
-
configurable: true,
|
|
603
|
-
enumerable: true,
|
|
604
|
-
writable: true,
|
|
605
|
-
initializer: function () {
|
|
606
|
-
return {};
|
|
607
|
-
}
|
|
608
|
-
}), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, "arrowStyles", [tracked], {
|
|
609
|
-
configurable: true,
|
|
610
|
-
enumerable: true,
|
|
611
|
-
writable: true,
|
|
612
|
-
initializer: function () {
|
|
613
|
-
return {};
|
|
614
|
-
}
|
|
615
|
-
}), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, "arrowPosition", [tracked], {
|
|
616
|
-
configurable: true,
|
|
617
|
-
enumerable: true,
|
|
618
|
-
writable: true,
|
|
619
|
-
initializer: function () {
|
|
620
|
-
return null;
|
|
621
|
-
}
|
|
622
|
-
}), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, "openPosition", [tracked], {
|
|
623
|
-
configurable: true,
|
|
624
|
-
enumerable: true,
|
|
625
|
-
writable: true,
|
|
626
|
-
initializer: function () {
|
|
627
|
-
return null;
|
|
628
|
-
}
|
|
629
|
-
}), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, "isOpenStable", [tracked], {
|
|
630
|
-
configurable: true,
|
|
631
|
-
enumerable: true,
|
|
632
|
-
writable: true,
|
|
633
|
-
initializer: function () {
|
|
634
|
-
return false;
|
|
635
|
-
}
|
|
636
|
-
}), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, "isCurrentlyOpen", [tracked], {
|
|
637
|
-
configurable: true,
|
|
638
|
-
enumerable: true,
|
|
639
|
-
writable: true,
|
|
640
|
-
initializer: null
|
|
641
|
-
}), _descriptor19 = _applyDecoratedDescriptor(_class.prototype, "button", [tracked], {
|
|
642
|
-
configurable: true,
|
|
643
|
-
enumerable: true,
|
|
644
|
-
writable: true,
|
|
645
|
-
initializer: function () {
|
|
646
|
-
return null;
|
|
647
|
-
}
|
|
648
|
-
}), _descriptor20 = _applyDecoratedDescriptor(_class.prototype, "panel", [tracked], {
|
|
649
|
-
configurable: true,
|
|
650
|
-
enumerable: true,
|
|
651
|
-
writable: true,
|
|
652
|
-
initializer: function () {
|
|
653
|
-
return null;
|
|
654
|
-
}
|
|
655
|
-
}), _applyDecoratedDescriptor(_class.prototype, "closePopover", [action], Object.getOwnPropertyDescriptor(_class.prototype, "closePopover"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "onEscapeKey", [action], Object.getOwnPropertyDescriptor(_class.prototype, "onEscapeKey"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "onKeyDown", [action], Object.getOwnPropertyDescriptor(_class.prototype, "onKeyDown"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "onClickOutside", [action], Object.getOwnPropertyDescriptor(_class.prototype, "onClickOutside"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "onOpenPopover", [action], Object.getOwnPropertyDescriptor(_class.prototype, "onOpenPopover"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "didInsertPopover", [action], Object.getOwnPropertyDescriptor(_class.prototype, "didInsertPopover"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "didUpdateRepositionOnScroll", [action], Object.getOwnPropertyDescriptor(_class.prototype, "didUpdateRepositionOnScroll"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "didUpdateIsOpen", [action], Object.getOwnPropertyDescriptor(_class.prototype, "didUpdateIsOpen"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "onMutation", [action], Object.getOwnPropertyDescriptor(_class.prototype, "onMutation"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "positionPopover", [action], Object.getOwnPropertyDescriptor(_class.prototype, "positionPopover"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "positionPopoverFixed", [action], Object.getOwnPropertyDescriptor(_class.prototype, "positionPopoverFixed"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "positionPopoverFluid", [action], Object.getOwnPropertyDescriptor(_class.prototype, "positionPopoverFluid"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "registerButton", [action], Object.getOwnPropertyDescriptor(_class.prototype, "registerButton"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "registerPanel", [action], Object.getOwnPropertyDescriptor(_class.prototype, "registerPanel"), _class.prototype)), _class)));
|
|
498
|
+
static {
|
|
499
|
+
n(this.prototype, "registerPanel", [action]);
|
|
500
|
+
}
|
|
501
|
+
static {
|
|
502
|
+
setComponentTemplate(precompileTemplate("\n {{#let (randomId) (classNames (if this.isOpening \"euiPopover-isOpen\") position=this.anchorPosition display=this.display componentName=\"EuiPopover\") (classNames \"euiPopover__panel\" (concat \"euiPopover__panel--\" this.arrowPosition) (if this.isOpening \"euiPopover__panel-isOpen\") (if (or (not this.hasArrow) @attachToAnchor) \"euiPopover__panel-noArrow\") (if @attachToAnchor \"euiPopover__panel-isAttached\") @panelClasses) as |descriptionId classes panelClasses|}}\n <div class={{classes}} {{onKey \"_all\" this.onKeyDown priority=1}} {{didInsert this.didInsertPopover}} {{didUpdate this.didUpdateIsOpen @isOpen}} {{didUpdate this.didUpdateRepositionOnScroll @repositionOnScroll}} {{didInsert (optional @popoverRef)}} ...attributes>\n\n {{!-- button --}}\n <div class=\"euiPopover__anchor {{@anchorClassName}}\" {{didInsert this.registerButton}}>\n {{yield to=\"button\"}}\n </div>\n\n {{!-- content --}}\n {{#if (and (not this.suppressingPopover) (or this.isCurrentlyOpen this.isClosing))}}\n <EuiPortal @insert={{@insert}}>\n {{#let (randomId) as |panelId|}}\n <EuiPanel id={{panelId}} class={{panelClasses}} aria-live={{if this.ownFocus \"off\" \"assertive\"}} role=\"dialog\" aria-label={{@ariaLabel}} aria-labelledby={{@ariaLabelledBy}} aria-modal=\"true\" aria-describedby={{if this.ownFocus descriptionId}} tabindex={{this.tabindex}} @hasShadow={{false}} @paddingSize={{this.panelPaddingSize}} {{simpleStyle this._popoverStyles}} {{didInsert this.registerPanel}} {{outsideClickDetector onOutsideClick=this.onClickOutside}} {{onKey \"Escape\" this.onEscapeKey}} {{focusTrap isActive=(not (or (not this.ownFocus) (not this.isOpenStable) this.isClosing)) shouldSelfFocus=this.shouldSelfFocus isPaused=this.isFocusTrapPaused focusTrapOptions=(merge (hash returnFocusOnDeactivate=this.isOpenStable initialFocus=(or @initialFocus this.panel) onDeactivate=(optional @onTrapDeactivation) preventScroll=true clickOutsideDeactivates=true fallbackFocus=(concat \"#\" panelId)) @focusTrapOptions)}}>\n <div class={{concat \"euiPopover__panelArrow euiPopover__panelArrow--\" this.arrowPosition}} style={{this._arrowStyles}}>\n {{yield to=\"arrowChildren\"}}\n </div>\n {{#if this.ownFocus}}\n <p id={{descriptionId}} {{screenReaderOnly}}>\n You are in a dialog. To close this dialog, hit escape.\n </p>\n {{/if}}\n <div {{mutationObserver onMutation=this.onMutation observerOptions=(merge (hash attributes=true childList=true characterData=true subtree=true) @mutationObserverOptions)}}>\n {{yield to=\"content\"}}\n </div>\n </EuiPanel>\n {{/let}}\n </EuiPortal>\n {{/if}}\n\n </div>\n {{/let}}\n ", {
|
|
503
|
+
strictMode: true,
|
|
504
|
+
scope: () => ({
|
|
505
|
+
randomId,
|
|
506
|
+
classNames,
|
|
507
|
+
concat,
|
|
508
|
+
or,
|
|
509
|
+
not,
|
|
510
|
+
onKey,
|
|
511
|
+
didInsert,
|
|
512
|
+
didUpdate,
|
|
513
|
+
optional,
|
|
514
|
+
and,
|
|
515
|
+
EuiPortal,
|
|
516
|
+
EuiPanel,
|
|
517
|
+
simpleStyle,
|
|
518
|
+
outsideClickDetector: OutsideClickDetector,
|
|
519
|
+
focusTrap,
|
|
520
|
+
merge,
|
|
521
|
+
hash,
|
|
522
|
+
screenReaderOnly,
|
|
523
|
+
mutationObserver
|
|
524
|
+
})
|
|
525
|
+
}), this);
|
|
526
|
+
}
|
|
527
|
+
}
|
|
656
528
|
|
|
657
529
|
export { ANCHOR_POSITIONS, DISPLAY, EuiPopoverComponent as default, getPopoverAlignFromAnchorPosition, getPopoverPositionFromAnchorPosition };
|
|
658
530
|
//# sourceMappingURL=eui-popover.js.map
|