@ember-eui/core 9.0.0 → 10.0.0
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 +82 -226
- package/dist/components/eui-accordion.js.map +1 -1
- package/dist/components/eui-auto-sizer.js +69 -85
- package/dist/components/eui-auto-sizer.js.map +1 -1
- package/dist/components/eui-avatar.js +10 -61
- package/dist/components/eui-avatar.js.map +1 -1
- package/dist/components/eui-badge-group.js +10 -24
- package/dist/components/eui-badge-group.js.map +1 -1
- package/dist/components/eui-badge.js +12 -166
- package/dist/components/eui-badge.js.map +1 -1
- package/dist/components/eui-beta-badge.js +9 -181
- package/dist/components/eui-beta-badge.js.map +1 -1
- package/dist/components/eui-bottom-bar.js +37 -104
- package/dist/components/eui-bottom-bar.js.map +1 -1
- package/dist/components/eui-breadcrumbs.js +87 -192
- package/dist/components/eui-breadcrumbs.js.map +1 -1
- package/dist/components/eui-button-content.js +9 -37
- package/dist/components/eui-button-content.js.map +1 -1
- package/dist/components/eui-button-empty.js +8 -70
- package/dist/components/eui-button-empty.js.map +1 -1
- package/dist/components/eui-button-group-button.js +13 -73
- package/dist/components/eui-button-group-button.js.map +1 -1
- package/dist/components/eui-button-group.js +10 -79
- package/dist/components/eui-button-group.js.map +1 -1
- package/dist/components/eui-button-icon.js +9 -64
- package/dist/components/eui-button-icon.js.map +1 -1
- package/dist/components/eui-button.js +11 -58
- package/dist/components/eui-button.js.map +1 -1
- package/dist/components/eui-call-out.js +10 -55
- package/dist/components/eui-call-out.js.map +1 -1
- package/dist/components/eui-card-select.js +25 -51
- package/dist/components/eui-card-select.js.map +1 -1
- package/dist/components/eui-card.js +51 -208
- package/dist/components/eui-card.js.map +1 -1
- package/dist/components/eui-checkable-card.js +10 -72
- package/dist/components/eui-checkable-card.js.map +1 -1
- package/dist/components/eui-checkbox-group.js +11 -58
- package/dist/components/eui-checkbox-group.js.map +1 -1
- package/dist/components/eui-checkbox.js +13 -58
- package/dist/components/eui-checkbox.js.map +1 -1
- package/dist/components/eui-code-block/controls.js +8 -39
- package/dist/components/eui-code-block/controls.js.map +1 -1
- package/dist/components/eui-code-block/full-screen-display.js +9 -22
- package/dist/components/eui-code-block/full-screen-display.js.map +1 -1
- package/dist/components/eui-code-block/virtualized.js +28 -65
- package/dist/components/eui-code-block/virtualized.js.map +1 -1
- package/dist/components/eui-code-block.js +152 -298
- package/dist/components/eui-code-block.js.map +1 -1
- package/dist/components/eui-code.js +48 -63
- package/dist/components/eui-code.js.map +1 -1
- package/dist/components/eui-collapsible-nav-group.js +11 -138
- package/dist/components/eui-collapsible-nav-group.js.map +1 -1
- package/dist/components/eui-collapsible-nav.js +50 -88
- package/dist/components/eui-collapsible-nav.js.map +1 -1
- package/dist/components/eui-combo-box/create-option.js +23 -44
- 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 +7 -15
- package/dist/components/eui-combo-box/no-matches-message.js.map +1 -1
- package/dist/components/eui-combo-box/options.js +49 -132
- package/dist/components/eui-combo-box/options.js.map +1 -1
- package/dist/components/eui-combo-box/search-message.js +7 -15
- package/dist/components/eui-combo-box/search-message.js.map +1 -1
- package/dist/components/eui-combo-box/trigger/input.js +39 -79
- package/dist/components/eui-combo-box/trigger/input.js.map +1 -1
- package/dist/components/eui-combo-box/trigger.js +32 -163
- package/dist/components/eui-combo-box/trigger.js.map +1 -1
- package/dist/components/eui-combo-box-pill.js +9 -48
- package/dist/components/eui-combo-box-pill.js.map +1 -1
- package/dist/components/eui-combo-box.js +133 -218
- 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 +8 -37
- package/dist/components/eui-comment-timeline.js.map +1 -1
- package/dist/components/eui-comment.js +9 -92
- package/dist/components/eui-comment.js.map +1 -1
- package/dist/components/eui-confirm-modal.js +13 -54
- package/dist/components/eui-confirm-modal.js.map +1 -1
- package/dist/components/eui-context-menu-item.js +34 -99
- 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 +9 -47
- 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 +9 -33
- package/dist/components/eui-description-list.js.map +1 -1
- package/dist/components/eui-dual-range.js +285 -662
- package/dist/components/eui-dual-range.js.map +1 -1
- package/dist/components/eui-empty-prompt.js +14 -103
- package/dist/components/eui-empty-prompt.js.map +1 -1
- package/dist/components/eui-field-number.js +10 -77
- package/dist/components/eui-field-number.js.map +1 -1
- package/dist/components/eui-field-password.js +14 -87
- package/dist/components/eui-field-password.js.map +1 -1
- package/dist/components/eui-field-search.js +85 -143
- package/dist/components/eui-field-search.js.map +1 -1
- package/dist/components/eui-field-text.js +10 -74
- package/dist/components/eui-field-text.js.map +1 -1
- package/dist/components/eui-file-picker.js +86 -173
- package/dist/components/eui-file-picker.js.map +1 -1
- package/dist/components/eui-flex-grid.js +9 -41
- package/dist/components/eui-flex-grid.js.map +1 -1
- package/dist/components/eui-flex-group.js +8 -40
- package/dist/components/eui-flex-group.js.map +1 -1
- package/dist/components/eui-flex-item.js +9 -36
- package/dist/components/eui-flex-item.js.map +1 -1
- package/dist/components/eui-flyout-body.js +8 -38
- 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 +7 -17
- package/dist/components/eui-flyout-header.js.map +1 -1
- package/dist/components/eui-flyout.js +95 -234
- package/dist/components/eui-flyout.js.map +1 -1
- package/dist/components/eui-form-control-layout-clear-button.js +8 -23
- package/dist/components/eui-form-control-layout-clear-button.js.map +1 -1
- package/dist/components/eui-form-control-layout-custom-icon.js +7 -32
- package/dist/components/eui-form-control-layout-custom-icon.js.map +1 -1
- package/dist/components/eui-form-control-layout-delimited.js +8 -53
- package/dist/components/eui-form-control-layout-delimited.js.map +1 -1
- package/dist/components/eui-form-control-layout-icons.js +10 -47
- package/dist/components/eui-form-control-layout-icons.js.map +1 -1
- package/dist/components/eui-form-control-layout.js +8 -47
- 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 +7 -24
- 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 +8 -29
- package/dist/components/eui-form-label.js.map +1 -1
- package/dist/components/eui-form-legend.js +8 -27
- package/dist/components/eui-form-legend.js.map +1 -1
- package/dist/components/eui-form-row.js +15 -268
- package/dist/components/eui-form-row.js.map +1 -1
- package/dist/components/eui-form.js +9 -83
- package/dist/components/eui-form.js.map +1 -1
- package/dist/components/eui-global-toast-list.js +109 -130
- package/dist/components/eui-global-toast-list.js.map +1 -1
- package/dist/components/eui-header-alert.js +7 -35
- package/dist/components/eui-header-alert.js.map +1 -1
- package/dist/components/eui-header-breadcrumbs.js +7 -15
- package/dist/components/eui-header-breadcrumbs.js.map +1 -1
- package/dist/components/eui-header-link.js +8 -24
- package/dist/components/eui-header-link.js.map +1 -1
- package/dist/components/eui-header-links.js +31 -79
- package/dist/components/eui-header-links.js.map +1 -1
- package/dist/components/eui-header-logo.js +8 -22
- package/dist/components/eui-header-logo.js.map +1 -1
- package/dist/components/eui-header-section-item-button.js +45 -94
- package/dist/components/eui-header-section-item-button.js.map +1 -1
- package/dist/components/eui-header-section-item.js +8 -18
- package/dist/components/eui-header-section-item.js.map +1 -1
- package/dist/components/eui-header-section.js +8 -19
- package/dist/components/eui-header-section.js.map +1 -1
- package/dist/components/eui-header.js +11 -36
- package/dist/components/eui-header.js.map +1 -1
- package/dist/components/eui-health.js +8 -27
- 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 +8 -17
- 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 +22 -43
- package/dist/components/eui-i18n.js.map +1 -1
- package/dist/components/eui-icon-tip.js +9 -49
- package/dist/components/eui-icon-tip.js.map +1 -1
- package/dist/components/eui-icon.js +59 -130
- package/dist/components/eui-icon.js.map +1 -1
- package/dist/components/eui-image.js +44 -149
- 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 +102 -148
- package/dist/components/eui-input-popover.js.map +1 -1
- package/dist/components/eui-key-pad-menu-item.js +15 -83
- package/dist/components/eui-key-pad-menu-item.js.map +1 -1
- package/dist/components/eui-key-pad-menu.js +8 -25
- package/dist/components/eui-key-pad-menu.js.map +1 -1
- package/dist/components/eui-link.js +9 -60
- package/dist/components/eui-link.js.map +1 -1
- package/dist/components/eui-list-group-item.js +11 -96
- package/dist/components/eui-list-group-item.js.map +1 -1
- package/dist/components/eui-list-group.js +11 -36
- package/dist/components/eui-list-group.js.map +1 -1
- package/dist/components/eui-loading-content.js +7 -20
- package/dist/components/eui-loading-content.js.map +1 -1
- package/dist/components/eui-loading-logo.js +9 -27
- package/dist/components/eui-loading-logo.js.map +1 -1
- package/dist/components/eui-loading-spinner.js +8 -16
- package/dist/components/eui-loading-spinner.js.map +1 -1
- package/dist/components/eui-markdown-editor-drop-zone.js +7 -20
- 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 +49 -145
- package/dist/components/eui-markdown-editor-footer.js.map +1 -1
- package/dist/components/eui-markdown-editor-text-area.js +8 -17
- 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 +71 -155
- package/dist/components/eui-markdown-editor-toolbar.js.map +1 -1
- package/dist/components/eui-markdown-editor.js +217 -283
- package/dist/components/eui-markdown-editor.js.map +1 -1
- package/dist/components/eui-markdown-format/markdown-checkbox.js +16 -26
- package/dist/components/eui-markdown-format/markdown-checkbox.js.map +1 -1
- package/dist/components/eui-markdown-format/markdown-code-block.js +7 -16
- package/dist/components/eui-markdown-format/markdown-code-block.js.map +1 -1
- package/dist/components/eui-markdown-format/markdown-code.js +7 -11
- package/dist/components/eui-markdown-format/markdown-code.js.map +1 -1
- package/dist/components/eui-markdown-format/markdown-tooltip.js +8 -20
- package/dist/components/eui-markdown-format/markdown-tooltip.js.map +1 -1
- package/dist/components/eui-markdown-format.js +36 -50
- 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 +16 -61
- package/dist/components/eui-modal.js.map +1 -1
- package/dist/components/eui-notification-badge.js +8 -19
- package/dist/components/eui-notification-badge.js.map +1 -1
- package/dist/components/eui-notification-event-messages.js +10 -53
- package/dist/components/eui-notification-event-messages.js.map +1 -1
- package/dist/components/eui-notification-event-meta.js +15 -119
- package/dist/components/eui-notification-event-meta.js.map +1 -1
- package/dist/components/eui-notification-event-read-button.js +8 -26
- package/dist/components/eui-notification-event-read-button.js.map +1 -1
- package/dist/components/eui-notification-event-read-icon.js +9 -31
- package/dist/components/eui-notification-event-read-icon.js.map +1 -1
- package/dist/components/eui-notification-event.js +14 -119
- package/dist/components/eui-notification-event.js.map +1 -1
- package/dist/components/eui-overlay-mask.js +35 -52
- package/dist/components/eui-overlay-mask.js.map +1 -1
- package/dist/components/eui-page-body.js +12 -65
- package/dist/components/eui-page-body.js.map +1 -1
- package/dist/components/eui-page-content-body.js +10 -27
- 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 +7 -17
- package/dist/components/eui-page-content-header.js.map +1 -1
- package/dist/components/eui-page-content.js +9 -30
- package/dist/components/eui-page-content.js.map +1 -1
- package/dist/components/eui-page-header-content.js +55 -363
- 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 +11 -108
- package/dist/components/eui-page-header.js.map +1 -1
- package/dist/components/eui-page-side-bar.js +8 -19
- package/dist/components/eui-page-side-bar.js.map +1 -1
- package/dist/components/eui-page-template.js +59 -846
- package/dist/components/eui-page-template.js.map +1 -1
- package/dist/components/eui-page.js +10 -37
- package/dist/components/eui-page.js.map +1 -1
- package/dist/components/eui-pagination/button-wrapper.js +10 -32
- package/dist/components/eui-pagination/button-wrapper.js.map +1 -1
- package/dist/components/eui-pagination/next-button.js +11 -43
- package/dist/components/eui-pagination/next-button.js.map +1 -1
- package/dist/components/eui-pagination/previous-button.js +10 -42
- package/dist/components/eui-pagination/previous-button.js.map +1 -1
- package/dist/components/eui-pagination-button.js +11 -48
- package/dist/components/eui-pagination-button.js.map +1 -1
- package/dist/components/eui-pagination.js +67 -186
- package/dist/components/eui-pagination.js.map +1 -1
- package/dist/components/eui-panel.js +9 -72
- package/dist/components/eui-panel.js.map +1 -1
- package/dist/components/eui-popover-footer.js +7 -17
- package/dist/components/eui-popover-footer.js.map +1 -1
- package/dist/components/eui-popover-title.js +7 -17
- package/dist/components/eui-popover-title.js.map +1 -1
- package/dist/components/eui-popover.js +290 -418
- 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 +8 -62
- package/dist/components/eui-progress.js.map +1 -1
- package/dist/components/eui-radio-group.js +10 -50
- package/dist/components/eui-radio-group.js.map +1 -1
- package/dist/components/eui-radio.js +10 -52
- package/dist/components/eui-radio.js.map +1 -1
- package/dist/components/eui-range-highlight.js +9 -33
- package/dist/components/eui-range-highlight.js.map +1 -1
- package/dist/components/eui-range-input.js +10 -50
- package/dist/components/eui-range-input.js.map +1 -1
- package/dist/components/eui-range-label.js +8 -18
- package/dist/components/eui-range-label.js.map +1 -1
- package/dist/components/eui-range-levels.js +31 -52
- package/dist/components/eui-range-levels.js.map +1 -1
- package/dist/components/eui-range-slider.js +7 -26
- package/dist/components/eui-range-slider.js.map +1 -1
- package/dist/components/eui-range-thumb.js +8 -33
- package/dist/components/eui-range-thumb.js.map +1 -1
- package/dist/components/eui-range-ticks.js +24 -54
- package/dist/components/eui-range-ticks.js.map +1 -1
- package/dist/components/eui-range-tooltip.js +32 -48
- package/dist/components/eui-range-tooltip.js.map +1 -1
- package/dist/components/eui-range-track.js +82 -127
- package/dist/components/eui-range-track.js.map +1 -1
- package/dist/components/eui-range-wrapper.js +7 -18
- package/dist/components/eui-range-wrapper.js.map +1 -1
- package/dist/components/eui-range.js +129 -536
- package/dist/components/eui-range.js.map +1 -1
- package/dist/components/eui-select.js +11 -80
- package/dist/components/eui-select.js.map +1 -1
- package/dist/components/eui-selectable-list-item.js +8 -32
- 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 +9 -37
- package/dist/components/eui-side-nav-item/button.js.map +1 -1
- package/dist/components/eui-side-nav-item.js +10 -124
- package/dist/components/eui-side-nav-item.js.map +1 -1
- package/dist/components/eui-side-nav.js +39 -198
- package/dist/components/eui-side-nav.js.map +1 -1
- package/dist/components/eui-spacer.js +8 -13
- package/dist/components/eui-spacer.js.map +1 -1
- package/dist/components/eui-split-panel/inner.js +8 -20
- package/dist/components/eui-split-panel/inner.js.map +1 -1
- package/dist/components/eui-split-panel/outer.js +10 -39
- package/dist/components/eui-split-panel/outer.js.map +1 -1
- package/dist/components/eui-stat/description.js +7 -24
- package/dist/components/eui-stat/description.js.map +1 -1
- package/dist/components/eui-stat/title.js +9 -31
- package/dist/components/eui-stat/title.js.map +1 -1
- package/dist/components/eui-stat.js +16 -96
- package/dist/components/eui-stat.js.map +1 -1
- package/dist/components/eui-step-horizontal.js +10 -53
- package/dist/components/eui-step-horizontal.js.map +1 -1
- package/dist/components/eui-step-number.js +10 -52
- package/dist/components/eui-step-number.js.map +1 -1
- package/dist/components/eui-step.js +9 -41
- 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 +69 -101
- 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 +146 -289
- 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 +35 -88
- 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 +33 -74
- 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 +11 -57
- 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 +82 -117
- 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 +7 -30
- 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 +11 -53
- 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 +80 -215
- 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 +11 -53
- 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 +42 -91
- 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 +11 -48
- 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 +116 -230
- package/dist/components/eui-super-date-picker.js.map +1 -1
- package/dist/components/eui-switch.js +28 -87
- package/dist/components/eui-switch.js.map +1 -1
- package/dist/components/eui-tab.js +9 -73
- package/dist/components/eui-tab.js.map +1 -1
- package/dist/components/eui-tabbed-content.js +94 -131
- package/dist/components/eui-tabbed-content.js.map +1 -1
- package/dist/components/eui-tabs.js +7 -27
- package/dist/components/eui-tabs.js.map +1 -1
- package/dist/components/eui-text-align.js +8 -18
- package/dist/components/eui-text-align.js.map +1 -1
- package/dist/components/eui-text-area.js +11 -36
- package/dist/components/eui-text-area.js.map +1 -1
- package/dist/components/eui-text-color.js +8 -30
- package/dist/components/eui-text-color.js.map +1 -1
- package/dist/components/eui-text.js +9 -44
- package/dist/components/eui-text.js.map +1 -1
- package/dist/components/eui-title.js +8 -20
- package/dist/components/eui-title.js.map +1 -1
- package/dist/components/eui-toast.js +9 -66
- package/dist/components/eui-toast.js.map +1 -1
- package/dist/components/eui-tool-tip-popover.js +28 -34
- package/dist/components/eui-tool-tip-popover.js.map +1 -1
- package/dist/components/eui-tool-tip.js +167 -224
- package/dist/components/eui-tool-tip.js.map +1 -1
- package/dist/components/text-block.js +7 -41
- 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 +10 -8
- 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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-form.js","sources":["../../src/components/eui-form.ts"],"sourcesContent":["import { array } from '@ember/helper';\n\nimport { and, eq, gt } from 'ember-truth-helpers';\nimport isArray from 'ember-truth-helpers/helpers/is-array';\n\nimport argOrDefault from '../helpers/arg-or-default';\nimport EuiCallOut from './eui-call-out.gts';\n\nimport type { TemplateOnlyComponent } from '@ember/component/template-only';\n\nexport interface EuiFormSignature {\n Element: HTMLDivElement | HTMLFormElement;\n Args: {\n errorTitle?: string;\n invalidCallout?: 'above' | 'none';\n error?: string | string[];\n isInvalid?: boolean;\n array?: boolean;\n tagName?: 'form' | 'div';\n };\n Blocks: {\n default?: [];\n content?: [];\n error?: [string];\n };\n}\n\nconst EuiForm: TemplateOnlyComponent<EuiFormSignature> = [__GLIMMER_TEMPLATE(`\n {{#let\n (argOrDefault @invalidCallout \"above\")\n (if (isArray @error) @error (if @array (array @error)))\n as |invalidCallout errors|\n }}\n {{#if (eq @tagName \"form\")}}\n <form class=\"euiForm\" ...attributes>\n {{#if\n (and (eq invalidCallout \"above\") (gt errors.length 0) @isInvalid)\n }}\n <EuiCallOut\n class=\"euiForm__errors\"\n role=\"alert\"\n aria-live=\"assertive\"\n @title={{argOrDefault @errorTitle \"Please correct the fields\"}}\n @color=\"danger\"\n >\n <:body>\n {{#each errors as |error|}}\n <li class=\"euiForm__error\">\n {{#if (has-block \"error\")}}\n {{!@glint-expect-error}}\n {{yield error to=\"error\"}}\n {{else}}\n {{!@glint-expect-error}}\n {{error}}\n {{/if}}\n </li>\n {{/each}}\n </:body>\n </EuiCallOut>\n {{/if}}\n {{#if (has-block \"content\")}}\n {{yield to=\"content\"}}\n {{else}}\n {{yield}}\n {{/if}}\n </form>\n {{else}}\n <div class=\"euiForm\" ...attributes>\n {{#if\n (and (eq invalidCallout \"above\") (gt errors.length 0) @isInvalid)\n }}\n <EuiCallOut\n class=\"euiForm__errors\"\n role=\"alert\"\n aria-live=\"assertive\"\n @title={{argOrDefault @errorTitle \"Please correct the fields\"}}\n @color=\"danger\"\n >\n <:body>\n {{#each errors as |error|}}\n <li class=\"euiForm__error\">\n {{#if (has-block \"error\")}}\n {{!@glint-expect-error}}\n {{yield error to=\"error\"}}\n {{else}}\n {{!@glint-expect-error}}\n {{error}}\n {{/if}}\n </li>\n {{/each}}\n </:body>\n </EuiCallOut>\n {{/if}}\n {{#if (has-block \"content\")}}\n {{yield to=\"content\"}}\n {{else}}\n {{yield}}\n {{/if}}\n </div>\n {{/if}}\n {{/let}}\n`, { strictMode: true, scope: () => ({argOrDefault,isArray,array,eq,and,gt,EuiCallOut}) })];\n\nexport default EuiForm;\n\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpLWZvcm0uanMiLCJzb3VyY2VzIjpbImV1aS1mb3JtLmd0cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBhcnJheSB9IGZyb20gJ0BlbWJlci9oZWxwZXInO1xuXG5pbXBvcnQgeyBhbmQsIGVxLCBndCB9IGZyb20gJ2VtYmVyLXRydXRoLWhlbHBlcnMnO1xuaW1wb3J0IGlzQXJyYXkgZnJvbSAnZW1iZXItdHJ1dGgtaGVscGVycy9oZWxwZXJzL2lzLWFycmF5JztcblxuaW1wb3J0IGFyZ09yRGVmYXVsdCBmcm9tICcuLi9oZWxwZXJzL2FyZy1vci1kZWZhdWx0JztcbmltcG9ydCBFdWlDYWxsT3V0IGZyb20gJy4vZXVpLWNhbGwtb3V0Lmd0cyc7XG5cbmltcG9ydCB0eXBlIHsgVGVtcGxhdGVPbmx5Q29tcG9uZW50IH0gZnJvbSAnQGVtYmVyL2NvbXBvbmVudC90ZW1wbGF0ZS1vbmx5JztcblxuZXhwb3J0IGludGVyZmFjZSBFdWlGb3JtU2lnbmF0dXJlIHtcbiAgRWxlbWVudDogSFRNTERpdkVsZW1lbnQgfCBIVE1MRm9ybUVsZW1lbnQ7XG4gIEFyZ3M6IHtcbiAgICBlcnJvclRpdGxlPzogc3RyaW5nO1xuICAgIGludmFsaWRDYWxsb3V0PzogJ2Fib3ZlJyB8ICdub25lJztcbiAgICBlcnJvcj86IHN0cmluZyB8IHN0cmluZ1tdO1xuICAgIGlzSW52YWxpZD86IGJvb2xlYW47XG4gICAgYXJyYXk/OiBib29sZWFuO1xuICAgIHRhZ05hbWU/OiAnZm9ybScgfCAnZGl2JztcbiAgfTtcbiAgQmxvY2tzOiB7XG4gICAgZGVmYXVsdD86IFtdO1x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biAgICAgICAgICAgICAgICAgIHt7I2lmIChoYXMtYmxvY2sgXCJlcnJvclwiKX19XG4gICAgICAgICAgICAgICAgICAgIHt7IUBnbGludC1leHBlY3QtZXJyb3J9fVxuICAgICAgICAgICAgICAgICAgICB7e3lpZWxkIGVycm9yIHRvPVwiZXJyb3JcIn19XG4gICAgICAgICAgICAgICAgICB7e2Vsc2V9fVxuICAgICAgICAgICAgICAgICAgICB7eyFAZ2xpbnQtZXhwZWN0LWVycm9yfX1cbiAgICAgICAgICAgICAgICAgICAge3tlcnJvcn19XG4gICAgICAgICAgICAgICAgICB7ey9pZn19XG4gICAgICAgICAgICAgICAgPC9saT5cbiAgICAgICAgICAgICAge3svZWFjaH19XG4gICAgICAgICAgICA8Lzpib2R5PlxuICAgICAgICAgIDwvRXVpQ2FsbE91dD5cbiAgICAgICAge3svaWZ9fVxuICAgICAgICB7eyNpZiAoaGFzLWJsb2NrIFwiY29udGVudFwiKX19XG4gICAgICAgICAge3t5aWVsZCB0bz1cImNvbnRlbnRcIn19XG4gICAgICAgIHt7ZWxzZX19XG4gICAgICAgICAge3t5aWVsZH19XG4gICAgICAgIHt7L2lmfX1cbiAgICAgIDwvZm9ybT5cbiAgICB7e2Vsc2V9fVxuICAgICAgPGRpdiBjbGFzcz1cImV1aUZvcm1cIiAuLi5hdHRyaWJ1dGVzPlxuICAgICAgICB7eyNpZlxuICAgICAgICAgIChhbmQgKGVxIGludmFsaWRDYWxsb3V0IFwiYWJvdmVcIikgKGd0IGVycm9ycy5sZW5ndGggMCkgQGlzSW52YWxpZClcbiAgICAgICAgfX1cbiAgICAgICAgICA8RXVpQ2FsbE91dFxuICAgICAgICAgICAgY2xhc3M9XCJldWlGb3JtX19lcnJvcnNcIlxuICAgICAgICAgICAgcm9sZT1cImFsZXJ0XCJcbiAgICAgICAgICAgIGFyaWEtbGl2ZT1cImFzc2VydGl2ZVwiXG4gICAgICAgICAgICBAdGl0bGU9e3thcmdPckRlZmF1bHQgQGVycm9yVGl0bGUgXCJQbGVhc2UgY29ycmVjdCB0aGUgZmllbGRzXCJ9fVxuICAgICAgICAgICAgQGNvbG9yPVwiZGFuZ2VyXCJcbiAgICAgICAgICA+XG4gICAgICAgICAgICA8OmJvZHk+XG4gICAgICAgICAgICAgIHt7I2VhY2ggZXJyb3JzIGFzIHxlcnJvcnx9fVxuICAgICAgICAgICAgICAgIDxsaSBjbGFzcz1cImV1aUZvcm1fX2Vycm9yXCI+XG4gICAgICAgICAgICAgICAgICB7eyNpZiAoaGFzLWJsb2NrIFwiZXJyb3JcIil9fVxuICAgICAgICAgICAgICAgICAgICB7eyFAZ2xpbnQtZXhwZWN0LWVycm9yfX1cbiAgICAgICAgICAgICAgICAgICAge3t5aWVsZCBlcnJvciB0bz1cImVycm9yXCJ9fVxuICAgICAgICAgICAgICAgICAge3tlbHNlfX1cbiAgICAgICAgICAgICAgICAgICAge3shQGdsaW50LWV4cGVjdC1lcnJvcn19XG4gICAgICAgICAgICAgICAgICAgIHt7ZXJyb3J9fVxuICAgICAgICAgICAgICAgICAge3svaWZ9fVxuICAgICAgICAgICAgICAgIDwvbGk+XG4gICAgICAgICAgICAgIHt7L2VhY2h9fVxuICAgICAgICAgICAgPC86Ym9keT5cbiAgICAgICAgICA8L0V1aUNhbGxPdXQ+XG4gICAgICAgIHt7L2lmfX1cbiAgICAgICAge3sjaWYgKGhhcy1ibG9jayBcImNvbnRlbnRcIil9fVxuICAgICAgICAgIHt7eWllbGQgdG89XCJjb250ZW50XCJ9fVxuICAgICAgICB7e2Vsc2V9fVxuICAgICAgICAgIHt7eWllbGR9fVxuICAgICAgICB7ey9pZn19XG4gICAgICA8L2Rpdj5cbiAgICB7ey9pZn19XG4gIHt7L2xldH19XG48L3RlbXBsYXRlPjtcblxuZXhwb3J0IGRlZmF1bHQgRXVpRm9ybTtcbiJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDL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FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUM7In0="],"names":["EuiForm","setComponentTemplate","precompileTemplate","strictMode","scope","argOrDefault","isArray","array","eq","and","gt","EuiCallOut","templateOnly"],"mappings":";;;;;;;;;AA2BA,MAAMA,OAAgD,GAAAC,oBAAA,CAAAC,kBAAA,CAAa,CAAA;AACnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyEA,CAAA,EAAA;EAAAC,UAAA,EAAA,IAAA;AAAAC,EAAAA,KAAA,EAAAA,OAAA;IAAAC,YAAA;IAAAC,OAAA;IAAAC,KAAA;IAAAC,EAAA;IAAAC,GAAA;IAAAC,EAAA;AAAAC,IAAAA,UAAAA;AAAA,GAAA,CAAA;AAAA,CAAA,CAAA,EAAAC,YAAA,CAAW,UAAA,EAAA,SAAA,CAAA;;;;"}
|
|
1
|
+
{"version":3,"file":"eui-form.js","sources":["../../src/components/eui-form.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { array } from '@ember/helper';\nimport { and, eq, gt } from 'ember-truth-helpers';\nimport isArray from 'ember-truth-helpers/helpers/is-array';\nimport argOrDefault from '../helpers/arg-or-default.ts';\nimport EuiCallOut from './eui-call-out.gts';\nimport type { TemplateOnlyComponent } from '@ember/component/template-only';\nexport interface EuiFormSignature {\n Element: HTMLDivElement | HTMLFormElement;\n Args: {\n errorTitle?: string;\n invalidCallout?: 'above' | 'none';\n error?: string | string[];\n isInvalid?: boolean;\n array?: boolean;\n tagName?: 'form' | 'div';\n };\n Blocks: {\n default?: [];\n content?: [];\n error?: [string];\n };\n}\nconst EuiForm: TemplateOnlyComponent<EuiFormSignature> = template(`\n {{#let\n (argOrDefault @invalidCallout \"above\")\n (if (isArray @error) @error (if @array (array @error)))\n as |invalidCallout errors|\n }}\n {{#if (eq @tagName \"form\")}}\n <form class=\"euiForm\" ...attributes>\n {{#if\n (and (eq invalidCallout \"above\") (gt errors.length 0) @isInvalid)\n }}\n <EuiCallOut\n class=\"euiForm__errors\"\n role=\"alert\"\n aria-live=\"assertive\"\n @title={{argOrDefault @errorTitle \"Please correct the fields\"}}\n @color=\"danger\"\n >\n <:body>\n {{#each errors as |error|}}\n <li class=\"euiForm__error\">\n {{#if (has-block \"error\")}}\n {{!@glint-expect-error}}\n {{yield error to=\"error\"}}\n {{else}}\n {{!@glint-expect-error}}\n {{error}}\n {{/if}}\n </li>\n {{/each}}\n </:body>\n </EuiCallOut>\n {{/if}}\n {{#if (has-block \"content\")}}\n {{yield to=\"content\"}}\n {{else}}\n {{yield}}\n {{/if}}\n </form>\n {{else}}\n <div class=\"euiForm\" ...attributes>\n {{#if\n (and (eq invalidCallout \"above\") (gt errors.length 0) @isInvalid)\n }}\n <EuiCallOut\n class=\"euiForm__errors\"\n role=\"alert\"\n aria-live=\"assertive\"\n @title={{argOrDefault @errorTitle \"Please correct the fields\"}}\n @color=\"danger\"\n >\n <:body>\n {{#each errors as |error|}}\n <li class=\"euiForm__error\">\n {{#if (has-block \"error\")}}\n {{!@glint-expect-error}}\n {{yield error to=\"error\"}}\n {{else}}\n {{!@glint-expect-error}}\n {{error}}\n {{/if}}\n </li>\n {{/each}}\n </:body>\n </EuiCallOut>\n {{/if}}\n {{#if (has-block \"content\")}}\n {{yield to=\"content\"}}\n {{else}}\n {{yield}}\n {{/if}}\n </div>\n {{/if}}\n {{/let}}\n`, {\n eval () {\n return eval(arguments[0]);\n }\n});\nexport default EuiForm;\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9Vc2Vycy9iZXRvY2FudHU5My9wcnlzbWV4L2VtYmVyLWV1aS9wYWNrYWdlcy9jb3JlL3NyYy9jb21wb25lbnRzL2V1aS1mb3JtLmd0cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBhcnJheSB9IGZyb20gJ0BlbWJlci9oZW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N0LWVycm9yfX1cbiAgICAgICAgICAgICAgICAgICAge3tlcnJvcn19XG4gICAgICAgICAgICAgICAgICB7ey9pZn19XG4gICAgICAgICAgICAgICAgPC9saT5cbiAgICAgICAgICAgICAge3svZWFjaH19XG4gICAgICAgICAgICA8Lzpib2R5PlxuICAgICAgICAgIDwvRXVpQ2FsbE91dD5cbiAgICAgICAge3svaWZ9fVxuICAgICAgICB7eyNpZiAoaGFzLWJsb2NrIFwiY29udGVudFwiKX19XG4gICAgICAgICAge3t5aWVsZCB0bz1cImNvbnRlbnRcIn19XG4gICAgICAgIHt7ZWxzZX19XG4gICAgICAgICAge3t5aWVsZH19XG4gICAgICAgIHt7L2lmfX1cbiAgICAgIDwvZm9ybT5cbiAgICB7e2Vsc2V9fVxuICAgICAgPGRpdiBjbGFzcz1cImV1aUZvcm1cIiAuLi5hdHRyaWJ1dGVzPlxuICAgICAgICB7eyNpZlxuICAgICAgICAgIChhbmQgKGVxIGludmFsaWRDYWxsb3V0IFwiYWJvdmVcIikgKGd0IGVycm9ycy5sZW5ndGggMCkgQGlzSW52YWxpZClcbiAgICAgICAgfX1cbiAgICAgICAgICA8RXVpQ2FsbE91dFxuICAgICAgICAgICAgY2xhc3M9XCJldWlGb3JtX19lcnJvcnNcIlxuICAgICAgICAgICAgcm9sZT1cImFsZXJ0XCJcbiAgICAgICAgICAgIGFyaWEtbGl2ZT1cImFzc2VydGl2ZVwiXG4gICAgICAgICAgICBAdGl0bGU9e3thcmdPckRlZmF1bHQgQGVycm9yVGl0bGUgXCJQbGVhc2UgY29ycmVjdCB0aGUgZmllbGRzXCJ9fVxuICAgICAgICAgICAgQGNvbG9yPVwiZGFuZ2VyXCJcbiAgICAgICAgICA-XG4gICAgICAgICAgICA8OmJvZHk-XG4gICAgICAgICAgICAgIHt7I2VhY2ggZXJyb3JzIGFzIHxlcnJvcnx9fVxuICAgICAgICAgICAgICAgIDxsaSBjbGFzcz1cImV1aUZvcm1fX2Vycm9yXCI-XG4gICAgICAg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BQWEsTUFBTTtRQUNuQixpQkFBaUIsVUFBVTtRQUMzQixRQUFRLE1BQU0sR0FBRyxNQUFNO1FBQ3ZCLFlBQVksT0FBTztRQUNuQixRQUFRLE9BQU87UUFDZixVQUFVLFNBQVM7O0lBRXJCO1FBQ0U7UUFDQTtRQUNBLFNBQVMsTUFBTTs7O0FBSW5CLE1BQU0sU0FBUyxzQkFBc0Isb0JBQW9CLFNBQVUsQ0FBQTs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUEwRW5FLENBQUEsRUFBQTtJQUFBO1FBQUEsT0FBQSxLQUFBLFNBQUEsQ0FBQSxFQUFXO0lBQUQ7QUFBQTtBQUVWLGVBQWUsUUFBUSJ9"],"names":["EuiForm","setComponentTemplate","precompileTemplate","scope","argOrDefault","isArray","array","eq","and","gt","EuiCallOut","strictMode","templateOnly"],"mappings":";;;;;;;;;AA2BA,MAAMA,OAA+B,GAAAC,oBAAA,CAAoBC,kBAAA,CA0EzD,qlEAAA,EAAA;AAAAC,EAAAA,KAAA,EAAAA,OAAA;IAAAC,YAAA;IAAAC,OAAA;IAAAC,KAAA;IAAAC,EAAA;IAAAC,GAAA;IAAAC,EAAA;AAAAC,IAAAA,UAAAA;AAAA,GAAA,CAAA;EAAAC,UAAA,EAAA,IAAA;AAAU,CAAA,CAAA,EAAAC,YAAA,EAAA;;;;"}
|
|
@@ -1,101 +1,68 @@
|
|
|
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
|
-
import { get, fn } from '@ember/helper';
|
|
7
|
-
import { on } from '@ember/modifier';
|
|
8
3
|
import { action } from '@ember/object';
|
|
9
|
-
import didInsert from '@ember/render-modifiers/modifiers/did-insert';
|
|
10
4
|
import { inject } from '@ember/service';
|
|
11
|
-
import optional from 'ember-composable-helpers/helpers/optional';
|
|
12
|
-
import queue from 'ember-composable-helpers/helpers/queue';
|
|
13
|
-
import argOrDefault from '../helpers/arg-or-default.js';
|
|
14
|
-
import classNames from '../helpers/class-names.js';
|
|
15
5
|
import Timer from '../utils/timer.js';
|
|
6
|
+
import { g, i, n } from 'decorator-transforms/runtime';
|
|
7
|
+
import classNames from '../helpers/class-names.js';
|
|
8
|
+
import argOrDefault from '../helpers/arg-or-default.js';
|
|
9
|
+
import didInsert from '@ember/render-modifiers/modifiers/did-insert';
|
|
10
|
+
import { on } from '@ember/modifier';
|
|
16
11
|
import EuiToast from './eui-toast.js';
|
|
12
|
+
import { get, fn } from '@ember/helper';
|
|
13
|
+
import queue from 'ember-composable-helpers/helpers/queue';
|
|
14
|
+
import optional from 'ember-composable-helpers/helpers/optional';
|
|
15
|
+
import { precompileTemplate } from '@ember/template-compilation';
|
|
16
|
+
import { setComponentTemplate } from '@ember/component';
|
|
17
17
|
|
|
18
|
-
var _class, _descriptor, _descriptor2;
|
|
19
18
|
const TOAST_FADE_OUT_MS = 250;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
"euiGlobalToastListItem-isDismissed"
|
|
42
|
-
)
|
|
43
|
-
}}
|
|
44
|
-
@title={{toast.title}}
|
|
45
|
-
@useMarkdownFormat={{toast.useMarkdownFormat}}
|
|
46
|
-
@body={{toast.body}}
|
|
47
|
-
@color={{toast.color}}
|
|
48
|
-
@iconType={{toast.iconType}}
|
|
49
|
-
@onClose={{queue
|
|
50
|
-
(fn this.dismissToast toast)
|
|
51
|
-
(optional toast.onClose)
|
|
52
|
-
}}
|
|
53
|
-
{{didInsert (fn this.didInsertToast toast)}}
|
|
54
|
-
{{on "focus" this.onMouseEnter}}
|
|
55
|
-
{{on "blur" this.onMouseLeave}}
|
|
56
|
-
/>
|
|
57
|
-
{{/each}}
|
|
58
|
-
</div>
|
|
59
|
-
`, {
|
|
60
|
-
strictMode: true,
|
|
61
|
-
scope: () => ({
|
|
62
|
-
classNames,
|
|
63
|
-
argOrDefault,
|
|
64
|
-
didInsert,
|
|
65
|
-
on,
|
|
66
|
-
EuiToast,
|
|
67
|
-
get,
|
|
68
|
-
queue,
|
|
69
|
-
fn,
|
|
70
|
-
optional
|
|
71
|
-
})
|
|
72
|
-
}), (_class = class EuiGlobalToastList extends Component {
|
|
19
|
+
class EuiGlobalToastList extends Component {
|
|
20
|
+
static {
|
|
21
|
+
g(this.prototype, "euiToaster", [inject]);
|
|
22
|
+
}
|
|
23
|
+
#euiToaster = (i(this, "euiToaster"), void 0);
|
|
24
|
+
dismissTimeoutIds = [];
|
|
25
|
+
toastIdToTimerMap = {};
|
|
26
|
+
isScrollingToBottom = false;
|
|
27
|
+
isScrolledToBottom = true;
|
|
28
|
+
isUserInteracting = false;
|
|
29
|
+
// See [Return Value](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestAnimationFrame#Return_value)
|
|
30
|
+
// for information on initial value of 0
|
|
31
|
+
isScrollingAnimationFrame = 0;
|
|
32
|
+
startScrollingAnimationFrame = 0;
|
|
33
|
+
listElement = null;
|
|
34
|
+
static {
|
|
35
|
+
g(this.prototype, "toastIdToDismissedMap", [tracked], function () {
|
|
36
|
+
return {};
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
#toastIdToDismissedMap = (i(this, "toastIdToDismissedMap"), void 0);
|
|
73
40
|
startScrollingToBottom() {
|
|
74
41
|
this.isScrollingToBottom = true;
|
|
75
|
-
const
|
|
42
|
+
const scrollToBottom1 = () => {
|
|
76
43
|
// Although we cancel the requestAnimationFrame in componentWillUnmount,
|
|
77
44
|
// it's possible for this.listElement to become null in the meantime
|
|
78
45
|
if (!this.listElement) {
|
|
79
46
|
return;
|
|
80
47
|
}
|
|
81
|
-
const
|
|
82
|
-
const
|
|
83
|
-
const
|
|
84
|
-
if (
|
|
85
|
-
this.listElement.scrollTop =
|
|
48
|
+
const position1 = this.listElement.scrollTop;
|
|
49
|
+
const destination1 = this.listElement.scrollHeight - this.listElement.clientHeight;
|
|
50
|
+
const distanceToDestination1 = destination1 - position1;
|
|
51
|
+
if (distanceToDestination1 < 5) {
|
|
52
|
+
this.listElement.scrollTop = destination1;
|
|
86
53
|
this.isScrollingToBottom = false;
|
|
87
54
|
this.isScrolledToBottom = true;
|
|
88
55
|
return;
|
|
89
56
|
}
|
|
90
|
-
this.listElement.scrollTop =
|
|
57
|
+
this.listElement.scrollTop = position1 + distanceToDestination1 * 0.25;
|
|
91
58
|
if (this.isScrollingToBottom) {
|
|
92
|
-
this.isScrollingAnimationFrame = window.requestAnimationFrame(
|
|
59
|
+
this.isScrollingAnimationFrame = window.requestAnimationFrame(scrollToBottom1);
|
|
93
60
|
}
|
|
94
61
|
};
|
|
95
|
-
this.startScrollingAnimationFrame = window.requestAnimationFrame(
|
|
62
|
+
this.startScrollingAnimationFrame = window.requestAnimationFrame(scrollToBottom1);
|
|
96
63
|
}
|
|
97
|
-
didInsertToast(
|
|
98
|
-
this.scheduleToastForDismissal(
|
|
64
|
+
didInsertToast(toast1) {
|
|
65
|
+
this.scheduleToastForDismissal(toast1);
|
|
99
66
|
if (!this.isUserInteracting) {
|
|
100
67
|
// If the user has scrolled up the toast list then we don't want to annoy them by scrolling
|
|
101
68
|
// all the way back to the bottom.
|
|
@@ -104,88 +71,96 @@ let EuiGlobalToastList = setComponentTemplate(precompileTemplate(`
|
|
|
104
71
|
}
|
|
105
72
|
}
|
|
106
73
|
}
|
|
74
|
+
static {
|
|
75
|
+
n(this.prototype, "didInsertToast", [action]);
|
|
76
|
+
}
|
|
107
77
|
onMouseEnter() {
|
|
108
78
|
// Stop scrolling to bottom if we're in mid-scroll, because the user wants to interact with
|
|
109
79
|
// the list.
|
|
110
80
|
this.isScrollingToBottom = false;
|
|
111
81
|
this.isUserInteracting = true;
|
|
112
|
-
|
|
113
82
|
// Don't let toasts dismiss themselves while the user is interacting with them.
|
|
114
|
-
for (const
|
|
115
|
-
if (this.toastIdToTimerMap.hasOwnProperty(
|
|
116
|
-
const
|
|
117
|
-
|
|
83
|
+
for (const toastId1 in this.toastIdToTimerMap) {
|
|
84
|
+
if (this.toastIdToTimerMap.hasOwnProperty(toastId1)) {
|
|
85
|
+
const timer1 = this.toastIdToTimerMap[toastId1];
|
|
86
|
+
timer1?.pause();
|
|
118
87
|
}
|
|
119
88
|
}
|
|
120
89
|
}
|
|
90
|
+
static {
|
|
91
|
+
n(this.prototype, "onMouseEnter", [action]);
|
|
92
|
+
}
|
|
121
93
|
onMouseLeave() {
|
|
122
94
|
this.isUserInteracting = false;
|
|
123
|
-
for (const
|
|
124
|
-
if (this.toastIdToTimerMap.hasOwnProperty(
|
|
125
|
-
const
|
|
126
|
-
|
|
95
|
+
for (const toastId1 in this.toastIdToTimerMap) {
|
|
96
|
+
if (this.toastIdToTimerMap.hasOwnProperty(toastId1)) {
|
|
97
|
+
const timer1 = this.toastIdToTimerMap[toastId1];
|
|
98
|
+
timer1?.resume();
|
|
127
99
|
}
|
|
128
100
|
}
|
|
129
101
|
}
|
|
102
|
+
static {
|
|
103
|
+
n(this.prototype, "onMouseLeave", [action]);
|
|
104
|
+
}
|
|
130
105
|
onScroll() {
|
|
131
106
|
if (this.listElement) {
|
|
132
107
|
this.isScrolledToBottom = this.listElement.scrollHeight - this.listElement.scrollTop === this.listElement.clientHeight;
|
|
133
108
|
}
|
|
134
109
|
}
|
|
110
|
+
static {
|
|
111
|
+
n(this.prototype, "onScroll", [action]);
|
|
112
|
+
}
|
|
135
113
|
scheduleAllToastsForDismissal() {
|
|
136
|
-
this.euiToaster.toasts.forEach(
|
|
137
|
-
if (!this.toastIdToTimerMap[
|
|
138
|
-
this.scheduleToastForDismissal(
|
|
114
|
+
this.euiToaster.toasts.forEach(toast1 => {
|
|
115
|
+
if (!this.toastIdToTimerMap[toast1.id]) {
|
|
116
|
+
this.scheduleToastForDismissal(toast1);
|
|
139
117
|
}
|
|
140
118
|
});
|
|
141
119
|
}
|
|
142
|
-
scheduleToastForDismissal(
|
|
120
|
+
scheduleToastForDismissal(toast1) {
|
|
143
121
|
// Start fading the toast out once its lifetime elapses.
|
|
144
|
-
this.toastIdToTimerMap[
|
|
122
|
+
this.toastIdToTimerMap[toast1.id] = new Timer(this.dismissToast.bind(this, toast1), toast1.toastLifeTimeMs != null ? toast1.toastLifeTimeMs : this.args.toastLifeTimeMs);
|
|
123
|
+
}
|
|
124
|
+
static {
|
|
125
|
+
n(this.prototype, "scheduleToastForDismissal", [action]);
|
|
145
126
|
}
|
|
146
|
-
dismissToast(
|
|
127
|
+
dismissToast(toast1) {
|
|
147
128
|
// Remove the toast after it's done fading out.
|
|
148
129
|
this.dismissTimeoutIds.push(window.setTimeout(() => {
|
|
149
130
|
// Because this is wrapped in a setTimeout, and because React does not guarantee when
|
|
150
131
|
// state updates happen, it is possible to double-dismiss a toast
|
|
151
132
|
// including by double-clicking the "x" button on the toast
|
|
152
133
|
// so, first check to make sure we haven't already dismissed this toast
|
|
153
|
-
if (this.toastIdToTimerMap.hasOwnProperty(
|
|
134
|
+
if (this.toastIdToTimerMap.hasOwnProperty(toast1.id)) {
|
|
154
135
|
if (this.args.dismissToast) {
|
|
155
|
-
this.args.dismissToast.apply(this, [
|
|
136
|
+
this.args.dismissToast.apply(this, [toast1]);
|
|
156
137
|
}
|
|
157
|
-
this.toastIdToTimerMap[
|
|
158
|
-
delete this.toastIdToTimerMap[
|
|
159
|
-
delete this.toastIdToDismissedMap[
|
|
138
|
+
this.toastIdToTimerMap[toast1.id].clear();
|
|
139
|
+
delete this.toastIdToTimerMap[toast1.id];
|
|
140
|
+
delete this.toastIdToDismissedMap[toast1.id];
|
|
160
141
|
this.toastIdToDismissedMap = {
|
|
161
142
|
...this.toastIdToDismissedMap
|
|
162
143
|
};
|
|
163
|
-
this.euiToaster.remove(
|
|
144
|
+
this.euiToaster.remove(toast1);
|
|
164
145
|
}
|
|
165
146
|
}, TOAST_FADE_OUT_MS));
|
|
166
147
|
this.toastIdToDismissedMap = {
|
|
167
148
|
...this.toastIdToDismissedMap,
|
|
168
|
-
[
|
|
149
|
+
[toast1.id]: true
|
|
169
150
|
};
|
|
170
151
|
}
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
_defineProperty(this, "isScrollingToBottom", false);
|
|
177
|
-
_defineProperty(this, "isScrolledToBottom", true);
|
|
178
|
-
_defineProperty(this, "isUserInteracting", false);
|
|
179
|
-
// See [Return Value](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestAnimationFrame#Return_value)
|
|
180
|
-
// for information on initial value of 0
|
|
181
|
-
_defineProperty(this, "isScrollingAnimationFrame", 0);
|
|
182
|
-
_defineProperty(this, "startScrollingAnimationFrame", 0);
|
|
183
|
-
_defineProperty(this, "listElement", null);
|
|
184
|
-
_initializerDefineProperty(this, "toastIdToDismissedMap", _descriptor2, this);
|
|
152
|
+
static {
|
|
153
|
+
n(this.prototype, "dismissToast", [action]);
|
|
154
|
+
}
|
|
155
|
+
constructor(owner1, args1) {
|
|
156
|
+
super(owner1, args1);
|
|
185
157
|
this.scheduleAllToastsForDismissal();
|
|
186
158
|
}
|
|
187
|
-
didInsert(
|
|
188
|
-
this.listElement =
|
|
159
|
+
didInsert(element1) {
|
|
160
|
+
this.listElement = element1;
|
|
161
|
+
}
|
|
162
|
+
static {
|
|
163
|
+
n(this.prototype, "didInsert", [action]);
|
|
189
164
|
}
|
|
190
165
|
willDestroy() {
|
|
191
166
|
super.willDestroy();
|
|
@@ -196,26 +171,30 @@ let EuiGlobalToastList = setComponentTemplate(precompileTemplate(`
|
|
|
196
171
|
window.cancelAnimationFrame(this.startScrollingAnimationFrame);
|
|
197
172
|
}
|
|
198
173
|
this.dismissTimeoutIds.forEach(clearTimeout);
|
|
199
|
-
for (const
|
|
200
|
-
if (this.toastIdToTimerMap.hasOwnProperty(
|
|
201
|
-
const
|
|
202
|
-
|
|
174
|
+
for (const toastId1 in this.toastIdToTimerMap) {
|
|
175
|
+
if (this.toastIdToTimerMap.hasOwnProperty(toastId1)) {
|
|
176
|
+
const timer1 = this.toastIdToTimerMap[toastId1];
|
|
177
|
+
timer1?.clear();
|
|
203
178
|
}
|
|
204
179
|
}
|
|
205
180
|
}
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
}),
|
|
181
|
+
static {
|
|
182
|
+
setComponentTemplate(precompileTemplate("\n <div aria-live=\"polite\" role=\"region\" class={{classNames componentName=\"EuiGlobalToastList\" side=(argOrDefault @side \"right\")}} style={{unless this.euiToaster.toasts.length \"padding:0px;\"}} {{didInsert this.didInsert}} {{on \"scroll\" this.onScroll}} {{on \"mouseenter\" this.onMouseEnter}} {{on \"mouseleave\" this.onMouseLeave}} ...attributes>\n {{#each this.euiToaster.toasts as |toast|}}\n <EuiToast class={{classNames \"euiGlobalToastListItem\" (if (get this.toastIdToDismissedMap toast.id) \"euiGlobalToastListItem-isDismissed\")}} @title={{toast.title}} @useMarkdownFormat={{toast.useMarkdownFormat}} @body={{toast.body}} @color={{toast.color}} @iconType={{toast.iconType}} @onClose={{queue (fn this.dismissToast toast) (optional toast.onClose)}} {{didInsert (fn this.didInsertToast toast)}} {{on \"focus\" this.onMouseEnter}} {{on \"blur\" this.onMouseLeave}} />\n {{/each}}\n </div>\n ", {
|
|
183
|
+
scope: () => ({
|
|
184
|
+
classNames,
|
|
185
|
+
argOrDefault,
|
|
186
|
+
didInsert,
|
|
187
|
+
on,
|
|
188
|
+
EuiToast,
|
|
189
|
+
get,
|
|
190
|
+
queue,
|
|
191
|
+
fn,
|
|
192
|
+
optional
|
|
193
|
+
}),
|
|
194
|
+
strictMode: true
|
|
195
|
+
}), this);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
219
198
|
|
|
220
199
|
export { EuiGlobalToastList as default };
|
|
221
200
|
//# sourceMappingURL=eui-global-toast-list.js.map
|