@ember-eui/core 9.0.1 → 10.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/eui-accordion.js +74 -218
- package/dist/components/eui-accordion.js.map +1 -1
- package/dist/components/eui-auto-sizer.js +68 -84
- package/dist/components/eui-auto-sizer.js.map +1 -1
- package/dist/components/eui-avatar.js +5 -56
- package/dist/components/eui-avatar.js.map +1 -1
- package/dist/components/eui-badge-group.js +7 -21
- package/dist/components/eui-badge-group.js.map +1 -1
- package/dist/components/eui-badge.js +5 -159
- package/dist/components/eui-badge.js.map +1 -1
- package/dist/components/eui-beta-badge.js +5 -177
- package/dist/components/eui-beta-badge.js.map +1 -1
- package/dist/components/eui-bottom-bar.js +34 -101
- package/dist/components/eui-bottom-bar.js.map +1 -1
- package/dist/components/eui-breadcrumbs.js +78 -183
- package/dist/components/eui-breadcrumbs.js.map +1 -1
- package/dist/components/eui-button-content.js +5 -33
- package/dist/components/eui-button-content.js.map +1 -1
- package/dist/components/eui-button-empty.js +5 -67
- package/dist/components/eui-button-empty.js.map +1 -1
- package/dist/components/eui-button-group-button.js +5 -65
- package/dist/components/eui-button-group-button.js.map +1 -1
- package/dist/components/eui-button-group.js +5 -74
- package/dist/components/eui-button-group.js.map +1 -1
- package/dist/components/eui-button-icon.js +5 -60
- package/dist/components/eui-button-icon.js.map +1 -1
- package/dist/components/eui-button.js +5 -52
- package/dist/components/eui-button.js.map +1 -1
- package/dist/components/eui-call-out.js +5 -50
- package/dist/components/eui-call-out.js.map +1 -1
- package/dist/components/eui-card-select.js +22 -48
- package/dist/components/eui-card-select.js.map +1 -1
- package/dist/components/eui-card.js +41 -198
- package/dist/components/eui-card.js.map +1 -1
- package/dist/components/eui-checkable-card.js +5 -67
- package/dist/components/eui-checkable-card.js.map +1 -1
- package/dist/components/eui-checkbox-group.js +5 -52
- package/dist/components/eui-checkbox-group.js.map +1 -1
- package/dist/components/eui-checkbox.js +8 -53
- package/dist/components/eui-checkbox.js.map +1 -1
- package/dist/components/eui-code-block/controls.js +5 -36
- package/dist/components/eui-code-block/controls.js.map +1 -1
- package/dist/components/eui-code-block/full-screen-display.js +5 -18
- package/dist/components/eui-code-block/full-screen-display.js.map +1 -1
- package/dist/components/eui-code-block/virtualized.js +24 -61
- package/dist/components/eui-code-block/virtualized.js.map +1 -1
- package/dist/components/eui-code-block.js +141 -287
- package/dist/components/eui-code-block.js.map +1 -1
- package/dist/components/eui-code.js +43 -58
- package/dist/components/eui-code.js.map +1 -1
- package/dist/components/eui-collapsible-nav-group.js +5 -132
- package/dist/components/eui-collapsible-nav-group.js.map +1 -1
- package/dist/components/eui-collapsible-nav.js +48 -85
- package/dist/components/eui-collapsible-nav.js.map +1 -1
- package/dist/components/eui-combo-box/create-option.js +21 -42
- package/dist/components/eui-combo-box/create-option.js.map +1 -1
- package/dist/components/eui-combo-box/group.js +4 -15
- package/dist/components/eui-combo-box/group.js.map +1 -1
- package/dist/components/eui-combo-box/no-matches-message.js +5 -13
- package/dist/components/eui-combo-box/no-matches-message.js.map +1 -1
- package/dist/components/eui-combo-box/options.js +41 -124
- package/dist/components/eui-combo-box/options.js.map +1 -1
- package/dist/components/eui-combo-box/search-message.js +5 -13
- package/dist/components/eui-combo-box/search-message.js.map +1 -1
- package/dist/components/eui-combo-box/trigger/input.js +37 -77
- package/dist/components/eui-combo-box/trigger/input.js.map +1 -1
- package/dist/components/eui-combo-box/trigger.js +25 -156
- package/dist/components/eui-combo-box/trigger.js.map +1 -1
- package/dist/components/eui-combo-box-pill.js +5 -44
- package/dist/components/eui-combo-box-pill.js.map +1 -1
- package/dist/components/eui-combo-box.js +124 -209
- package/dist/components/eui-combo-box.js.map +1 -1
- package/dist/components/eui-comment-list.js +4 -11
- package/dist/components/eui-comment-list.js.map +1 -1
- package/dist/components/eui-comment-timeline.js +5 -34
- package/dist/components/eui-comment-timeline.js.map +1 -1
- package/dist/components/eui-comment.js +5 -88
- package/dist/components/eui-comment.js.map +1 -1
- package/dist/components/eui-confirm-modal.js +5 -46
- package/dist/components/eui-confirm-modal.js.map +1 -1
- package/dist/components/eui-context-menu-item.js +29 -94
- package/dist/components/eui-context-menu-item.js.map +1 -1
- package/dist/components/eui-context-menu-panel.js +4 -10
- package/dist/components/eui-context-menu-panel.js.map +1 -1
- package/dist/components/eui-copy.js +25 -32
- package/dist/components/eui-copy.js.map +1 -1
- package/dist/components/eui-described-form-group.js +5 -43
- package/dist/components/eui-described-form-group.js.map +1 -1
- package/dist/components/eui-description-list-description.js +4 -8
- package/dist/components/eui-description-list-description.js.map +1 -1
- package/dist/components/eui-description-list-title.js +4 -8
- package/dist/components/eui-description-list-title.js.map +1 -1
- package/dist/components/eui-description-list.js +5 -29
- package/dist/components/eui-description-list.js.map +1 -1
- package/dist/components/eui-dual-range.js +273 -650
- package/dist/components/eui-dual-range.js.map +1 -1
- package/dist/components/eui-empty-prompt.js +5 -94
- package/dist/components/eui-empty-prompt.js.map +1 -1
- package/dist/components/eui-field-number.js +5 -72
- package/dist/components/eui-field-number.js.map +1 -1
- package/dist/components/eui-field-password.js +5 -78
- package/dist/components/eui-field-password.js.map +1 -1
- package/dist/components/eui-field-search.js +77 -135
- package/dist/components/eui-field-search.js.map +1 -1
- package/dist/components/eui-field-text.js +5 -69
- package/dist/components/eui-field-text.js.map +1 -1
- package/dist/components/eui-file-picker.js +80 -167
- package/dist/components/eui-file-picker.js.map +1 -1
- package/dist/components/eui-flex-grid.js +5 -37
- package/dist/components/eui-flex-grid.js.map +1 -1
- package/dist/components/eui-flex-group.js +5 -37
- package/dist/components/eui-flex-group.js.map +1 -1
- package/dist/components/eui-flex-item.js +5 -32
- package/dist/components/eui-flex-item.js.map +1 -1
- package/dist/components/eui-flyout-body.js +5 -35
- package/dist/components/eui-flyout-body.js.map +1 -1
- package/dist/components/eui-flyout-footer.js +4 -8
- package/dist/components/eui-flyout-footer.js.map +1 -1
- package/dist/components/eui-flyout-header.js +5 -15
- package/dist/components/eui-flyout-header.js.map +1 -1
- package/dist/components/eui-flyout.js +85 -223
- package/dist/components/eui-flyout.js.map +1 -1
- package/dist/components/eui-form-control-layout-clear-button.js +5 -20
- package/dist/components/eui-form-control-layout-clear-button.js.map +1 -1
- package/dist/components/eui-form-control-layout-custom-icon.js +5 -30
- package/dist/components/eui-form-control-layout-custom-icon.js.map +1 -1
- package/dist/components/eui-form-control-layout-delimited.js +5 -50
- package/dist/components/eui-form-control-layout-delimited.js.map +1 -1
- package/dist/components/eui-form-control-layout-icons.js +5 -42
- package/dist/components/eui-form-control-layout-icons.js.map +1 -1
- package/dist/components/eui-form-control-layout.js +5 -44
- package/dist/components/eui-form-control-layout.js.map +1 -1
- package/dist/components/eui-form-error-text.js +4 -8
- package/dist/components/eui-form-error-text.js.map +1 -1
- package/dist/components/eui-form-fieldset.js +5 -22
- package/dist/components/eui-form-fieldset.js.map +1 -1
- package/dist/components/eui-form-help-text.js +4 -8
- package/dist/components/eui-form-help-text.js.map +1 -1
- package/dist/components/eui-form-label.js +5 -26
- package/dist/components/eui-form-label.js.map +1 -1
- package/dist/components/eui-form-legend.js +5 -24
- package/dist/components/eui-form-legend.js.map +1 -1
- package/dist/components/eui-form-row.js +7 -260
- package/dist/components/eui-form-row.js.map +1 -1
- package/dist/components/eui-form.js +5 -79
- package/dist/components/eui-form.js.map +1 -1
- package/dist/components/eui-global-toast-list.js +102 -123
- package/dist/components/eui-global-toast-list.js.map +1 -1
- package/dist/components/eui-header-alert.js +5 -33
- package/dist/components/eui-header-alert.js.map +1 -1
- package/dist/components/eui-header-breadcrumbs.js +5 -13
- package/dist/components/eui-header-breadcrumbs.js.map +1 -1
- package/dist/components/eui-header-link.js +5 -21
- package/dist/components/eui-header-link.js.map +1 -1
- package/dist/components/eui-header-links.js +25 -73
- package/dist/components/eui-header-links.js.map +1 -1
- package/dist/components/eui-header-logo.js +5 -19
- package/dist/components/eui-header-logo.js.map +1 -1
- package/dist/components/eui-header-section-item-button.js +42 -91
- package/dist/components/eui-header-section-item-button.js.map +1 -1
- package/dist/components/eui-header-section-item.js +5 -15
- package/dist/components/eui-header-section-item.js.map +1 -1
- package/dist/components/eui-header-section.js +5 -16
- package/dist/components/eui-header-section.js.map +1 -1
- package/dist/components/eui-header.js +7 -32
- package/dist/components/eui-header.js.map +1 -1
- package/dist/components/eui-health.js +5 -24
- package/dist/components/eui-health.js.map +1 -1
- package/dist/components/eui-hide-for.js +12 -18
- package/dist/components/eui-hide-for.js.map +1 -1
- package/dist/components/eui-horizontal-rule.js +5 -14
- package/dist/components/eui-horizontal-rule.js.map +1 -1
- package/dist/components/eui-i18n/render.js +4 -6
- package/dist/components/eui-i18n/render.js.map +1 -1
- package/dist/components/eui-i18n.js +21 -42
- package/dist/components/eui-i18n.js.map +1 -1
- package/dist/components/eui-icon-tip.js +5 -45
- package/dist/components/eui-icon-tip.js.map +1 -1
- package/dist/components/eui-icon.js +56 -127
- package/dist/components/eui-icon.js.map +1 -1
- package/dist/components/eui-image.js +38 -143
- package/dist/components/eui-image.js.map +1 -1
- package/dist/components/eui-inner-text.js +33 -37
- package/dist/components/eui-inner-text.js.map +1 -1
- package/dist/components/eui-input-popover.js +96 -142
- package/dist/components/eui-input-popover.js.map +1 -1
- package/dist/components/eui-key-pad-menu-item.js +7 -75
- package/dist/components/eui-key-pad-menu-item.js.map +1 -1
- package/dist/components/eui-key-pad-menu.js +7 -24
- package/dist/components/eui-key-pad-menu.js.map +1 -1
- package/dist/components/eui-link.js +5 -56
- package/dist/components/eui-link.js.map +1 -1
- package/dist/components/eui-list-group-item.js +5 -90
- package/dist/components/eui-list-group-item.js.map +1 -1
- package/dist/components/eui-list-group.js +5 -30
- package/dist/components/eui-list-group.js.map +1 -1
- package/dist/components/eui-loading-content.js +5 -18
- package/dist/components/eui-loading-content.js.map +1 -1
- package/dist/components/eui-loading-logo.js +5 -23
- package/dist/components/eui-loading-logo.js.map +1 -1
- package/dist/components/eui-loading-spinner.js +5 -13
- package/dist/components/eui-loading-spinner.js.map +1 -1
- package/dist/components/eui-markdown-editor-drop-zone.js +5 -18
- package/dist/components/eui-markdown-editor-drop-zone.js.map +1 -1
- package/dist/components/eui-markdown-editor-footer/icons/markdown-logo.js +4 -21
- package/dist/components/eui-markdown-editor-footer/icons/markdown-logo.js.map +1 -1
- package/dist/components/eui-markdown-editor-footer.js +38 -134
- package/dist/components/eui-markdown-editor-footer.js.map +1 -1
- package/dist/components/eui-markdown-editor-text-area.js +5 -14
- package/dist/components/eui-markdown-editor-text-area.js.map +1 -1
- package/dist/components/eui-markdown-editor-toolbar/icons/markdown-checkmark.js +4 -21
- package/dist/components/eui-markdown-editor-toolbar/icons/markdown-checkmark.js.map +1 -1
- package/dist/components/eui-markdown-editor-toolbar.js +66 -150
- package/dist/components/eui-markdown-editor-toolbar.js.map +1 -1
- package/dist/components/eui-markdown-editor.js +204 -270
- package/dist/components/eui-markdown-editor.js.map +1 -1
- package/dist/components/eui-markdown-format/markdown-checkbox.js +12 -22
- package/dist/components/eui-markdown-format/markdown-checkbox.js.map +1 -1
- package/dist/components/eui-markdown-format/markdown-code-block.js +5 -14
- package/dist/components/eui-markdown-format/markdown-code-block.js.map +1 -1
- package/dist/components/eui-markdown-format/markdown-code.js +5 -9
- package/dist/components/eui-markdown-format/markdown-code.js.map +1 -1
- package/dist/components/eui-markdown-format/markdown-tooltip.js +5 -17
- package/dist/components/eui-markdown-format/markdown-tooltip.js.map +1 -1
- package/dist/components/eui-markdown-format.js +34 -48
- package/dist/components/eui-markdown-format.js.map +1 -1
- package/dist/components/eui-modal-body.js +4 -10
- package/dist/components/eui-modal-body.js.map +1 -1
- package/dist/components/eui-modal-footer.js +4 -8
- package/dist/components/eui-modal-footer.js.map +1 -1
- package/dist/components/eui-modal-header-title.js +4 -8
- package/dist/components/eui-modal-header-title.js.map +1 -1
- package/dist/components/eui-modal-header.js +4 -8
- package/dist/components/eui-modal-header.js.map +1 -1
- package/dist/components/eui-modal.js +5 -50
- package/dist/components/eui-modal.js.map +1 -1
- package/dist/components/eui-notification-badge.js +5 -16
- package/dist/components/eui-notification-badge.js.map +1 -1
- package/dist/components/eui-notification-event-messages.js +5 -48
- package/dist/components/eui-notification-event-messages.js.map +1 -1
- package/dist/components/eui-notification-event-meta.js +5 -109
- package/dist/components/eui-notification-event-meta.js.map +1 -1
- package/dist/components/eui-notification-event-read-button.js +5 -23
- package/dist/components/eui-notification-event-read-button.js.map +1 -1
- package/dist/components/eui-notification-event-read-icon.js +5 -27
- package/dist/components/eui-notification-event-read-icon.js.map +1 -1
- package/dist/components/eui-notification-event.js +5 -110
- package/dist/components/eui-notification-event.js.map +1 -1
- package/dist/components/eui-overlay-mask.js +32 -49
- package/dist/components/eui-overlay-mask.js.map +1 -1
- package/dist/components/eui-page-body.js +5 -58
- package/dist/components/eui-page-body.js.map +1 -1
- package/dist/components/eui-page-content-body.js +5 -22
- package/dist/components/eui-page-content-body.js.map +1 -1
- package/dist/components/eui-page-content-header-section.js +4 -8
- package/dist/components/eui-page-content-header-section.js.map +1 -1
- package/dist/components/eui-page-content-header.js +5 -15
- package/dist/components/eui-page-content-header.js.map +1 -1
- package/dist/components/eui-page-content.js +5 -26
- package/dist/components/eui-page-content.js.map +1 -1
- package/dist/components/eui-page-header-content.js +45 -353
- package/dist/components/eui-page-header-content.js.map +1 -1
- package/dist/components/eui-page-header-section.js +4 -8
- package/dist/components/eui-page-header-section.js.map +1 -1
- package/dist/components/eui-page-header.js +5 -102
- package/dist/components/eui-page-header.js.map +1 -1
- package/dist/components/eui-page-side-bar.js +5 -16
- package/dist/components/eui-page-side-bar.js.map +1 -1
- package/dist/components/eui-page-template.js +50 -837
- package/dist/components/eui-page-template.js.map +1 -1
- package/dist/components/eui-page.js +5 -32
- package/dist/components/eui-page.js.map +1 -1
- package/dist/components/eui-pagination/button-wrapper.js +5 -27
- package/dist/components/eui-pagination/button-wrapper.js.map +1 -1
- package/dist/components/eui-pagination/next-button.js +5 -37
- package/dist/components/eui-pagination/next-button.js.map +1 -1
- package/dist/components/eui-pagination/previous-button.js +5 -37
- package/dist/components/eui-pagination/previous-button.js.map +1 -1
- package/dist/components/eui-pagination-button.js +5 -42
- package/dist/components/eui-pagination-button.js.map +1 -1
- package/dist/components/eui-pagination.js +62 -181
- package/dist/components/eui-pagination.js.map +1 -1
- package/dist/components/eui-panel.js +5 -68
- package/dist/components/eui-panel.js.map +1 -1
- package/dist/components/eui-popover-footer.js +5 -15
- package/dist/components/eui-popover-footer.js.map +1 -1
- package/dist/components/eui-popover-title.js +5 -15
- package/dist/components/eui-popover-title.js.map +1 -1
- package/dist/components/eui-popover.js +275 -403
- package/dist/components/eui-popover.js.map +1 -1
- package/dist/components/eui-portal.js +22 -28
- package/dist/components/eui-portal.js.map +1 -1
- package/dist/components/eui-progress.js +5 -59
- package/dist/components/eui-progress.js.map +1 -1
- package/dist/components/eui-radio-group.js +5 -45
- package/dist/components/eui-radio-group.js.map +1 -1
- package/dist/components/eui-radio.js +5 -47
- package/dist/components/eui-radio.js.map +1 -1
- package/dist/components/eui-range-highlight.js +5 -29
- package/dist/components/eui-range-highlight.js.map +1 -1
- package/dist/components/eui-range-input.js +5 -45
- package/dist/components/eui-range-input.js.map +1 -1
- package/dist/components/eui-range-label.js +5 -15
- package/dist/components/eui-range-label.js.map +1 -1
- package/dist/components/eui-range-levels.js +28 -49
- package/dist/components/eui-range-levels.js.map +1 -1
- package/dist/components/eui-range-slider.js +5 -24
- package/dist/components/eui-range-slider.js.map +1 -1
- package/dist/components/eui-range-thumb.js +5 -30
- package/dist/components/eui-range-thumb.js.map +1 -1
- package/dist/components/eui-range-ticks.js +20 -50
- package/dist/components/eui-range-ticks.js.map +1 -1
- package/dist/components/eui-range-tooltip.js +31 -47
- package/dist/components/eui-range-tooltip.js.map +1 -1
- package/dist/components/eui-range-track.js +77 -122
- package/dist/components/eui-range-track.js.map +1 -1
- package/dist/components/eui-range-wrapper.js +5 -16
- package/dist/components/eui-range-wrapper.js.map +1 -1
- package/dist/components/eui-range.js +120 -527
- package/dist/components/eui-range.js.map +1 -1
- package/dist/components/eui-select.js +5 -74
- package/dist/components/eui-select.js.map +1 -1
- package/dist/components/eui-selectable-list-item.js +5 -29
- package/dist/components/eui-selectable-list-item.js.map +1 -1
- package/dist/components/eui-show-for.js +26 -37
- package/dist/components/eui-show-for.js.map +1 -1
- package/dist/components/eui-side-nav-item/button.js +5 -33
- package/dist/components/eui-side-nav-item/button.js.map +1 -1
- package/dist/components/eui-side-nav-item.js +5 -119
- package/dist/components/eui-side-nav-item.js.map +1 -1
- package/dist/components/eui-side-nav.js +30 -189
- package/dist/components/eui-side-nav.js.map +1 -1
- package/dist/components/eui-spacer.js +5 -10
- package/dist/components/eui-spacer.js.map +1 -1
- package/dist/components/eui-split-panel/inner.js +5 -17
- package/dist/components/eui-split-panel/inner.js.map +1 -1
- package/dist/components/eui-split-panel/outer.js +5 -34
- package/dist/components/eui-split-panel/outer.js.map +1 -1
- package/dist/components/eui-stat/description.js +5 -22
- package/dist/components/eui-stat/description.js.map +1 -1
- package/dist/components/eui-stat/title.js +5 -27
- package/dist/components/eui-stat/title.js.map +1 -1
- package/dist/components/eui-stat.js +10 -90
- package/dist/components/eui-stat.js.map +1 -1
- package/dist/components/eui-step-horizontal.js +5 -48
- package/dist/components/eui-step-horizontal.js.map +1 -1
- package/dist/components/eui-step-number.js +6 -48
- package/dist/components/eui-step-number.js.map +1 -1
- package/dist/components/eui-step.js +5 -37
- package/dist/components/eui-step.js.map +1 -1
- package/dist/components/eui-steps-horizontal.js +4 -8
- package/dist/components/eui-steps-horizontal.js.map +1 -1
- package/dist/components/eui-steps.js +4 -8
- package/dist/components/eui-steps.js.map +1 -1
- package/dist/components/eui-sub-steps.js +4 -8
- package/dist/components/eui-sub-steps.js.map +1 -1
- package/dist/components/eui-super-date-picker/date-popover/absolute-tab.js +64 -96
- package/dist/components/eui-super-date-picker/date-popover/absolute-tab.js.map +1 -1
- package/dist/components/eui-super-date-picker/date-popover/datetime-picker.js +141 -284
- package/dist/components/eui-super-date-picker/date-popover/datetime-picker.js.map +1 -1
- package/dist/components/eui-super-date-picker/date-popover/eui-date-popover-button.js +30 -83
- package/dist/components/eui-super-date-picker/date-popover/eui-date-popover-button.js.map +1 -1
- package/dist/components/eui-super-date-picker/date-popover/eui-date-popover-content.js +29 -70
- package/dist/components/eui-super-date-picker/date-popover/eui-date-popover-content.js.map +1 -1
- package/dist/components/eui-super-date-picker/date-popover/now-tab.js +5 -51
- package/dist/components/eui-super-date-picker/date-popover/now-tab.js.map +1 -1
- package/dist/components/eui-super-date-picker/date-popover/relative-tab.js +74 -109
- package/dist/components/eui-super-date-picker/date-popover/relative-tab.js.map +1 -1
- package/dist/components/eui-super-date-picker/eui-date-picker-range.js +5 -28
- package/dist/components/eui-super-date-picker/eui-date-picker-range.js.map +1 -1
- package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-commonly-used-time-ranges.js +5 -47
- package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-commonly-used-time-ranges.js.map +1 -1
- package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.js +69 -204
- package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.js.map +1 -1
- package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-recently-used.js +5 -47
- package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-recently-used.js.map +1 -1
- package/dist/components/eui-super-date-picker/eui-quick-select-popover.js +36 -85
- package/dist/components/eui-super-date-picker/eui-quick-select-popover.js.map +1 -1
- package/dist/components/eui-super-date-picker/eui-super-update-button.js +5 -42
- package/dist/components/eui-super-date-picker/eui-super-update-button.js.map +1 -1
- package/dist/components/eui-super-date-picker/utils/pretty-duration.js.map +1 -1
- package/dist/components/eui-super-date-picker/utils/quick-select.js.map +1 -1
- package/dist/components/eui-super-date-picker.js +110 -224
- package/dist/components/eui-super-date-picker.js.map +1 -1
- package/dist/components/eui-switch.js +25 -84
- package/dist/components/eui-switch.js.map +1 -1
- package/dist/components/eui-tab.js +5 -69
- package/dist/components/eui-tab.js.map +1 -1
- package/dist/components/eui-tabbed-content.js +88 -125
- package/dist/components/eui-tabbed-content.js.map +1 -1
- package/dist/components/eui-tabs.js +5 -25
- package/dist/components/eui-tabs.js.map +1 -1
- package/dist/components/eui-text-align.js +5 -15
- package/dist/components/eui-text-align.js.map +1 -1
- package/dist/components/eui-text-area.js +5 -30
- package/dist/components/eui-text-area.js.map +1 -1
- package/dist/components/eui-text-color.js +5 -27
- package/dist/components/eui-text-color.js.map +1 -1
- package/dist/components/eui-text.js +5 -40
- package/dist/components/eui-text.js.map +1 -1
- package/dist/components/eui-title.js +5 -17
- package/dist/components/eui-title.js.map +1 -1
- package/dist/components/eui-toast.js +5 -62
- package/dist/components/eui-toast.js.map +1 -1
- package/dist/components/eui-tool-tip-popover.js +27 -33
- package/dist/components/eui-tool-tip-popover.js.map +1 -1
- package/dist/components/eui-tool-tip.js +161 -218
- package/dist/components/eui-tool-tip.js.map +1 -1
- package/dist/components/text-block.js +5 -39
- package/dist/components/text-block.js.map +1 -1
- package/dist/helpers/class-names.js.map +1 -1
- package/dist/helpers/eui-palette.js.map +1 -1
- package/dist/helpers/get-eui-config.js +6 -12
- package/dist/helpers/get-eui-config.js.map +1 -1
- package/dist/helpers/get-range-tick.js.map +1 -1
- package/dist/helpers/inline-styles.js.map +1 -1
- package/dist/helpers/is-within-number.js.map +1 -1
- package/dist/helpers/use-state.js +10 -17
- package/dist/helpers/use-state.js.map +1 -1
- package/dist/i18n/util.js.map +1 -1
- package/dist/modifiers/outside-click-detector.js +16 -12
- package/dist/modifiers/outside-click-detector.js.map +1 -1
- package/dist/modifiers/resize-observer.js +9 -15
- package/dist/modifiers/resize-observer.js.map +1 -1
- package/dist/modifiers/use-is-within-breakpoints.js.map +1 -1
- package/dist/services/eui-config.js +8 -14
- package/dist/services/eui-config.js.map +1 -1
- package/dist/services/eui-i18n.js +13 -8
- package/dist/services/eui-i18n.js.map +1 -1
- package/dist/services/eui-toaster.js +13 -13
- package/dist/services/eui-toaster.js.map +1 -1
- package/dist/utils/accesibility/accessible-click-keys.js.map +1 -1
- package/dist/utils/accesibility/cascading-menu-keys.js.map +1 -1
- package/dist/utils/accesibility/combo-box-keys.js.map +1 -1
- package/dist/utils/breakpoint.js.map +1 -1
- package/dist/utils/code/utils.js.map +1 -1
- package/dist/utils/color/eui_palettes.js.map +1 -1
- package/dist/utils/css-mappings/eui-avatar.js.map +1 -1
- package/dist/utils/css-mappings/eui-badge.js.map +1 -1
- package/dist/utils/css-mappings/eui-button-group-button.js.map +1 -1
- package/dist/utils/css-mappings/eui-button-group.js.map +1 -1
- package/dist/utils/css-mappings/eui-range-levels.js.map +1 -1
- package/dist/utils/css-mappings/index.js.map +1 -1
- package/dist/utils/markdown/markdown-actions.js +20 -3
- package/dist/utils/markdown/markdown-actions.js.map +1 -1
- package/dist/utils/markdown/plugins/markdown-add-components/processor.js.map +1 -1
- package/dist/utils/markdown/plugins/markdown-default-plugins/parsing-plugins.js.map +1 -1
- package/dist/utils/markdown/plugins/markdown-default-plugins/plugins.js.map +1 -1
- package/dist/utils/markdown/plugins/markdown-default-plugins/processing-plugins.js.map +1 -1
- package/dist/utils/markdown/plugins/markdown-default-plugins/ui-plugins.js.map +1 -1
- package/dist/utils/markdown/remark/remark-prismjs.js.map +1 -1
- package/dist/utils/timer.js +26 -30
- package/dist/utils/timer.js.map +1 -1
- package/package.json +12 -10
- package/declarations/-private/random-id.d.ts +0 -9
- package/declarations/-private/random-id.d.ts.map +0 -1
- package/declarations/components/common.d.ts +0 -42
- package/declarations/components/common.d.ts.map +0 -1
- package/declarations/components/eui-accordion.d.ts +0 -101
- package/declarations/components/eui-accordion.d.ts.map +0 -1
- package/declarations/components/eui-auto-sizer.d.ts +0 -64
- package/declarations/components/eui-auto-sizer.d.ts.map +0 -1
- package/declarations/components/eui-avatar.d.ts +0 -22
- package/declarations/components/eui-avatar.d.ts.map +0 -1
- package/declarations/components/eui-badge-group.d.ts +0 -23
- package/declarations/components/eui-badge-group.d.ts.map +0 -1
- package/declarations/components/eui-badge.d.ts +0 -30
- package/declarations/components/eui-badge.d.ts.map +0 -1
- package/declarations/components/eui-beta-badge.d.ts +0 -63
- package/declarations/components/eui-beta-badge.d.ts.map +0 -1
- package/declarations/components/eui-bottom-bar.d.ts +0 -35
- package/declarations/components/eui-bottom-bar.d.ts.map +0 -1
- package/declarations/components/eui-breadcrumbs.d.ts +0 -70
- package/declarations/components/eui-breadcrumbs.d.ts.map +0 -1
- package/declarations/components/eui-button-content.d.ts +0 -21
- package/declarations/components/eui-button-content.d.ts.map +0 -1
- package/declarations/components/eui-button-empty.d.ts +0 -33
- package/declarations/components/eui-button-empty.d.ts.map +0 -1
- package/declarations/components/eui-button-group-button.d.ts +0 -29
- package/declarations/components/eui-button-group-button.d.ts.map +0 -1
- package/declarations/components/eui-button-group.d.ts +0 -41
- package/declarations/components/eui-button-group.d.ts.map +0 -1
- package/declarations/components/eui-button-icon.d.ts +0 -25
- package/declarations/components/eui-button-icon.d.ts.map +0 -1
- package/declarations/components/eui-button.d.ts +0 -34
- package/declarations/components/eui-button.d.ts.map +0 -1
- package/declarations/components/eui-call-out.d.ts +0 -21
- package/declarations/components/eui-call-out.d.ts.map +0 -1
- package/declarations/components/eui-card-select.d.ts +0 -29
- package/declarations/components/eui-card-select.d.ts.map +0 -1
- package/declarations/components/eui-card.d.ts +0 -68
- package/declarations/components/eui-card.d.ts.map +0 -1
- package/declarations/components/eui-checkable-card.d.ts +0 -21
- package/declarations/components/eui-checkable-card.d.ts.map +0 -1
- package/declarations/components/eui-checkbox-group.d.ts +0 -27
- package/declarations/components/eui-checkbox-group.d.ts.map +0 -1
- package/declarations/components/eui-checkbox.d.ts +0 -27
- package/declarations/components/eui-checkbox.d.ts.map +0 -1
- package/declarations/components/eui-code-block/controls.d.ts +0 -13
- package/declarations/components/eui-code-block/controls.d.ts.map +0 -1
- package/declarations/components/eui-code-block/full-screen-display.d.ts +0 -11
- package/declarations/components/eui-code-block/full-screen-display.d.ts.map +0 -1
- package/declarations/components/eui-code-block/virtualized.d.ts +0 -20
- package/declarations/components/eui-code-block/virtualized.d.ts.map +0 -1
- package/declarations/components/eui-code-block.d.ts +0 -92
- package/declarations/components/eui-code-block.d.ts.map +0 -1
- package/declarations/components/eui-code.d.ts +0 -21
- package/declarations/components/eui-code.d.ts.map +0 -1
- package/declarations/components/eui-collapsible-nav-group.d.ts +0 -26
- package/declarations/components/eui-collapsible-nav-group.d.ts.map +0 -1
- package/declarations/components/eui-collapsible-nav.d.ts +0 -66
- package/declarations/components/eui-collapsible-nav.d.ts.map +0 -1
- package/declarations/components/eui-combo-box/create-option.d.ts +0 -16
- package/declarations/components/eui-combo-box/create-option.d.ts.map +0 -1
- package/declarations/components/eui-combo-box/group.d.ts +0 -16
- package/declarations/components/eui-combo-box/group.d.ts.map +0 -1
- package/declarations/components/eui-combo-box/no-matches-message.d.ts +0 -11
- package/declarations/components/eui-combo-box/no-matches-message.d.ts.map +0 -1
- package/declarations/components/eui-combo-box/options.d.ts +0 -12
- package/declarations/components/eui-combo-box/options.d.ts.map +0 -1
- package/declarations/components/eui-combo-box/search-message.d.ts +0 -11
- package/declarations/components/eui-combo-box/search-message.d.ts.map +0 -1
- package/declarations/components/eui-combo-box/trigger/input.d.ts +0 -6
- package/declarations/components/eui-combo-box/trigger/input.d.ts.map +0 -1
- package/declarations/components/eui-combo-box/trigger.d.ts +0 -4
- package/declarations/components/eui-combo-box/trigger.d.ts.map +0 -1
- package/declarations/components/eui-combo-box-pill.d.ts +0 -22
- package/declarations/components/eui-combo-box-pill.d.ts.map +0 -1
- package/declarations/components/eui-combo-box.d.ts +0 -69
- package/declarations/components/eui-combo-box.d.ts.map +0 -1
- package/declarations/components/eui-comment-list.d.ts +0 -10
- package/declarations/components/eui-comment-list.d.ts.map +0 -1
- package/declarations/components/eui-comment-timeline.d.ts +0 -15
- package/declarations/components/eui-comment-timeline.d.ts.map +0 -1
- package/declarations/components/eui-comment.d.ts +0 -20
- package/declarations/components/eui-comment.d.ts.map +0 -1
- package/declarations/components/eui-confirm-modal.d.ts +0 -23
- package/declarations/components/eui-confirm-modal.d.ts.map +0 -1
- package/declarations/components/eui-context-menu-item.d.ts +0 -25
- package/declarations/components/eui-context-menu-item.d.ts.map +0 -1
- package/declarations/components/eui-context-menu-panel.d.ts +0 -10
- package/declarations/components/eui-context-menu-panel.d.ts.map +0 -1
- package/declarations/components/eui-copy.d.ts +0 -36
- package/declarations/components/eui-copy.d.ts.map +0 -1
- package/declarations/components/eui-described-form-group.d.ts +0 -27
- package/declarations/components/eui-described-form-group.d.ts.map +0 -1
- package/declarations/components/eui-description-list-description.d.ts +0 -10
- package/declarations/components/eui-description-list-description.d.ts.map +0 -1
- package/declarations/components/eui-description-list-title.d.ts +0 -10
- package/declarations/components/eui-description-list-title.d.ts.map +0 -1
- package/declarations/components/eui-description-list.d.ts +0 -27
- package/declarations/components/eui-description-list.d.ts.map +0 -1
- package/declarations/components/eui-dual-range.d.ts +0 -141
- package/declarations/components/eui-dual-range.d.ts.map +0 -1
- package/declarations/components/eui-empty-prompt.d.ts +0 -29
- package/declarations/components/eui-empty-prompt.d.ts.map +0 -1
- package/declarations/components/eui-field-number.d.ts +0 -57
- package/declarations/components/eui-field-number.d.ts.map +0 -1
- package/declarations/components/eui-field-password.d.ts +0 -28
- package/declarations/components/eui-field-password.d.ts.map +0 -1
- package/declarations/components/eui-field-search.d.ts +0 -52
- package/declarations/components/eui-field-search.d.ts.map +0 -1
- package/declarations/components/eui-field-text.d.ts +0 -29
- package/declarations/components/eui-field-text.d.ts.map +0 -1
- package/declarations/components/eui-file-picker.d.ts +0 -60
- package/declarations/components/eui-file-picker.d.ts.map +0 -1
- package/declarations/components/eui-flex-grid.d.ts +0 -33
- package/declarations/components/eui-flex-grid.d.ts.map +0 -1
- package/declarations/components/eui-flex-group.d.ts +0 -20
- package/declarations/components/eui-flex-group.d.ts.map +0 -1
- package/declarations/components/eui-flex-item.d.ts +0 -15
- package/declarations/components/eui-flex-item.d.ts.map +0 -1
- package/declarations/components/eui-flyout-body.d.ts +0 -12
- package/declarations/components/eui-flyout-body.d.ts.map +0 -1
- package/declarations/components/eui-flyout-footer.d.ts +0 -10
- package/declarations/components/eui-flyout-footer.d.ts.map +0 -1
- package/declarations/components/eui-flyout-header.d.ts +0 -13
- package/declarations/components/eui-flyout-header.d.ts.map +0 -1
- package/declarations/components/eui-flyout.d.ts +0 -87
- package/declarations/components/eui-flyout.d.ts.map +0 -1
- package/declarations/components/eui-form-control-layout-clear-button.d.ts +0 -14
- package/declarations/components/eui-form-control-layout-clear-button.d.ts.map +0 -1
- package/declarations/components/eui-form-control-layout-custom-icon.d.ts +0 -16
- package/declarations/components/eui-form-control-layout-custom-icon.d.ts.map +0 -1
- package/declarations/components/eui-form-control-layout-delimited.d.ts +0 -25
- package/declarations/components/eui-form-control-layout-delimited.d.ts.map +0 -1
- package/declarations/components/eui-form-control-layout-icons.d.ts +0 -17
- package/declarations/components/eui-form-control-layout-icons.d.ts.map +0 -1
- package/declarations/components/eui-form-control-layout.d.ts +0 -30
- package/declarations/components/eui-form-control-layout.d.ts.map +0 -1
- package/declarations/components/eui-form-error-text.d.ts +0 -10
- package/declarations/components/eui-form-error-text.d.ts.map +0 -1
- package/declarations/components/eui-form-fieldset.d.ts +0 -18
- package/declarations/components/eui-form-fieldset.d.ts.map +0 -1
- package/declarations/components/eui-form-help-text.d.ts +0 -13
- package/declarations/components/eui-form-help-text.d.ts.map +0 -1
- package/declarations/components/eui-form-label.d.ts +0 -17
- package/declarations/components/eui-form-label.d.ts.map +0 -1
- package/declarations/components/eui-form-legend.d.ts +0 -14
- package/declarations/components/eui-form-legend.d.ts.map +0 -1
- package/declarations/components/eui-form-row.d.ts +0 -35
- package/declarations/components/eui-form-row.d.ts.map +0 -1
- package/declarations/components/eui-form.d.ts +0 -20
- package/declarations/components/eui-form.d.ts.map +0 -1
- package/declarations/components/eui-global-toast-list.d.ts +0 -45
- package/declarations/components/eui-global-toast-list.d.ts.map +0 -1
- package/declarations/components/eui-header-alert.d.ts +0 -14
- package/declarations/components/eui-header-alert.d.ts.map +0 -1
- package/declarations/components/eui-header-breadcrumbs.d.ts +0 -14
- package/declarations/components/eui-header-breadcrumbs.d.ts.map +0 -1
- package/declarations/components/eui-header-link.d.ts +0 -14
- package/declarations/components/eui-header-link.d.ts.map +0 -1
- package/declarations/components/eui-header-links.d.ts +0 -20
- package/declarations/components/eui-header-links.d.ts.map +0 -1
- package/declarations/components/eui-header-logo.d.ts +0 -17
- package/declarations/components/eui-header-logo.d.ts.map +0 -1
- package/declarations/components/eui-header-section-item-button.d.ts +0 -26
- package/declarations/components/eui-header-section-item-button.d.ts.map +0 -1
- package/declarations/components/eui-header-section-item.d.ts +0 -14
- package/declarations/components/eui-header-section-item.d.ts.map +0 -1
- package/declarations/components/eui-header-section.d.ts +0 -15
- package/declarations/components/eui-header-section.d.ts.map +0 -1
- package/declarations/components/eui-header.d.ts +0 -23
- package/declarations/components/eui-header.d.ts.map +0 -1
- package/declarations/components/eui-health.d.ts +0 -21
- package/declarations/components/eui-health.d.ts.map +0 -1
- package/declarations/components/eui-hide-for.d.ts +0 -21
- package/declarations/components/eui-hide-for.d.ts.map +0 -1
- package/declarations/components/eui-horizontal-rule.d.ts +0 -12
- package/declarations/components/eui-horizontal-rule.d.ts.map +0 -1
- package/declarations/components/eui-i18n/render.d.ts +0 -12
- package/declarations/components/eui-i18n/render.d.ts.map +0 -1
- package/declarations/components/eui-i18n.d.ts +0 -32
- package/declarations/components/eui-i18n.d.ts.map +0 -1
- package/declarations/components/eui-icon-tip.d.ts +0 -29
- package/declarations/components/eui-icon-tip.d.ts.map +0 -1
- package/declarations/components/eui-icon.d.ts +0 -80
- package/declarations/components/eui-icon.d.ts.map +0 -1
- package/declarations/components/eui-image.d.ts +0 -62
- package/declarations/components/eui-image.d.ts.map +0 -1
- package/declarations/components/eui-inner-text.d.ts +0 -21
- package/declarations/components/eui-inner-text.d.ts.map +0 -1
- package/declarations/components/eui-input-popover.d.ts +0 -44
- package/declarations/components/eui-input-popover.d.ts.map +0 -1
- package/declarations/components/eui-key-pad-menu-item.d.ts +0 -26
- package/declarations/components/eui-key-pad-menu-item.d.ts.map +0 -1
- package/declarations/components/eui-key-pad-menu.d.ts +0 -23
- package/declarations/components/eui-key-pad-menu.d.ts.map +0 -1
- package/declarations/components/eui-link.d.ts +0 -18
- package/declarations/components/eui-link.d.ts.map +0 -1
- package/declarations/components/eui-list-group-item.d.ts +0 -26
- package/declarations/components/eui-list-group-item.d.ts.map +0 -1
- package/declarations/components/eui-list-group.d.ts +0 -16
- package/declarations/components/eui-list-group.d.ts.map +0 -1
- package/declarations/components/eui-loading-content.d.ts +0 -14
- package/declarations/components/eui-loading-content.d.ts.map +0 -1
- package/declarations/components/eui-loading-logo.d.ts +0 -13
- package/declarations/components/eui-loading-logo.d.ts.map +0 -1
- package/declarations/components/eui-loading-spinner.d.ts +0 -11
- package/declarations/components/eui-loading-spinner.d.ts.map +0 -1
- package/declarations/components/eui-markdown-editor-drop-zone.d.ts +0 -17
- package/declarations/components/eui-markdown-editor-drop-zone.d.ts.map +0 -1
- package/declarations/components/eui-markdown-editor-footer/icons/markdown-logo.d.ts +0 -10
- package/declarations/components/eui-markdown-editor-footer/icons/markdown-logo.d.ts.map +0 -1
- package/declarations/components/eui-markdown-editor-footer.d.ts +0 -13
- package/declarations/components/eui-markdown-editor-footer.d.ts.map +0 -1
- package/declarations/components/eui-markdown-editor-text-area.d.ts +0 -14
- package/declarations/components/eui-markdown-editor-text-area.d.ts.map +0 -1
- package/declarations/components/eui-markdown-editor-toolbar/icons/markdown-checkmark.d.ts +0 -11
- package/declarations/components/eui-markdown-editor-toolbar/icons/markdown-checkmark.d.ts.map +0 -1
- package/declarations/components/eui-markdown-editor-toolbar.d.ts +0 -50
- package/declarations/components/eui-markdown-editor-toolbar.d.ts.map +0 -1
- package/declarations/components/eui-markdown-editor.d.ts +0 -95
- package/declarations/components/eui-markdown-editor.d.ts.map +0 -1
- package/declarations/components/eui-markdown-format/markdown-checkbox.d.ts +0 -24
- package/declarations/components/eui-markdown-format/markdown-checkbox.d.ts.map +0 -1
- package/declarations/components/eui-markdown-format/markdown-code-block.d.ts +0 -15
- package/declarations/components/eui-markdown-format/markdown-code-block.d.ts.map +0 -1
- package/declarations/components/eui-markdown-format/markdown-code.d.ts +0 -13
- package/declarations/components/eui-markdown-format/markdown-code.d.ts.map +0 -1
- package/declarations/components/eui-markdown-format/markdown-tooltip.d.ts +0 -15
- package/declarations/components/eui-markdown-format/markdown-tooltip.d.ts.map +0 -1
- package/declarations/components/eui-markdown-format.d.ts +0 -23
- package/declarations/components/eui-markdown-format.d.ts.map +0 -1
- package/declarations/components/eui-modal-body.d.ts +0 -10
- package/declarations/components/eui-modal-body.d.ts.map +0 -1
- package/declarations/components/eui-modal-footer.d.ts +0 -10
- package/declarations/components/eui-modal-footer.d.ts.map +0 -1
- package/declarations/components/eui-modal-header-title.d.ts +0 -10
- package/declarations/components/eui-modal-header-title.d.ts.map +0 -1
- package/declarations/components/eui-modal-header.d.ts +0 -10
- package/declarations/components/eui-modal-header.d.ts.map +0 -1
- package/declarations/components/eui-modal.d.ts +0 -27
- package/declarations/components/eui-modal.d.ts.map +0 -1
- package/declarations/components/eui-notification-badge.d.ts +0 -15
- package/declarations/components/eui-notification-badge.d.ts.map +0 -1
- package/declarations/components/eui-notification-event-messages.d.ts +0 -13
- package/declarations/components/eui-notification-event-messages.d.ts.map +0 -1
- package/declarations/components/eui-notification-event-meta.d.ts +0 -24
- package/declarations/components/eui-notification-event-meta.d.ts.map +0 -1
- package/declarations/components/eui-notification-event-read-button.d.ts +0 -13
- package/declarations/components/eui-notification-event-read-button.d.ts.map +0 -1
- package/declarations/components/eui-notification-event-read-icon.d.ts +0 -14
- package/declarations/components/eui-notification-event-read-icon.d.ts.map +0 -1
- package/declarations/components/eui-notification-event.d.ts +0 -40
- package/declarations/components/eui-notification-event.d.ts.map +0 -1
- package/declarations/components/eui-overlay-mask.d.ts +0 -20
- package/declarations/components/eui-overlay-mask.d.ts.map +0 -1
- package/declarations/components/eui-page-body.d.ts +0 -22
- package/declarations/components/eui-page-body.d.ts.map +0 -1
- package/declarations/components/eui-page-content-body.d.ts +0 -18
- package/declarations/components/eui-page-content-body.d.ts.map +0 -1
- package/declarations/components/eui-page-content-header-section.d.ts +0 -10
- package/declarations/components/eui-page-content-header-section.d.ts.map +0 -1
- package/declarations/components/eui-page-content-header.d.ts +0 -13
- package/declarations/components/eui-page-content-header.d.ts.map +0 -1
- package/declarations/components/eui-page-content.d.ts +0 -22
- package/declarations/components/eui-page-content.d.ts.map +0 -1
- package/declarations/components/eui-page-header-content.d.ts +0 -98
- package/declarations/components/eui-page-header-content.d.ts.map +0 -1
- package/declarations/components/eui-page-header-section.d.ts +0 -10
- package/declarations/components/eui-page-header-section.d.ts.map +0 -1
- package/declarations/components/eui-page-header.d.ts +0 -89
- package/declarations/components/eui-page-header.d.ts.map +0 -1
- package/declarations/components/eui-page-side-bar.d.ts +0 -15
- package/declarations/components/eui-page-side-bar.d.ts.map +0 -1
- package/declarations/components/eui-page-template.d.ts +0 -77
- package/declarations/components/eui-page-template.d.ts.map +0 -1
- package/declarations/components/eui-page.d.ts +0 -17
- package/declarations/components/eui-page.d.ts.map +0 -1
- package/declarations/components/eui-pagination/button-wrapper.d.ts +0 -16
- package/declarations/components/eui-pagination/button-wrapper.d.ts.map +0 -1
- package/declarations/components/eui-pagination/next-button.d.ts +0 -19
- package/declarations/components/eui-pagination/next-button.d.ts.map +0 -1
- package/declarations/components/eui-pagination/previous-button.d.ts +0 -18
- package/declarations/components/eui-pagination/previous-button.d.ts.map +0 -1
- package/declarations/components/eui-pagination-button.d.ts +0 -20
- package/declarations/components/eui-pagination-button.d.ts.map +0 -1
- package/declarations/components/eui-pagination.d.ts +0 -79
- package/declarations/components/eui-pagination.d.ts.map +0 -1
- package/declarations/components/eui-panel.d.ts +0 -45
- package/declarations/components/eui-panel.d.ts.map +0 -1
- package/declarations/components/eui-popover-footer.d.ts +0 -14
- package/declarations/components/eui-popover-footer.d.ts.map +0 -1
- package/declarations/components/eui-popover-title.d.ts +0 -14
- package/declarations/components/eui-popover-title.d.ts.map +0 -1
- package/declarations/components/eui-popover.d.ts +0 -207
- package/declarations/components/eui-popover.d.ts.map +0 -1
- package/declarations/components/eui-portal.d.ts +0 -28
- package/declarations/components/eui-portal.d.ts.map +0 -1
- package/declarations/components/eui-progress.d.ts +0 -22
- package/declarations/components/eui-progress.d.ts.map +0 -1
- package/declarations/components/eui-radio-group.d.ts +0 -25
- package/declarations/components/eui-radio-group.d.ts.map +0 -1
- package/declarations/components/eui-radio.d.ts +0 -24
- package/declarations/components/eui-radio.d.ts.map +0 -1
- package/declarations/components/eui-range-highlight.d.ts +0 -16
- package/declarations/components/eui-range-highlight.d.ts.map +0 -1
- package/declarations/components/eui-range-input.d.ts +0 -25
- package/declarations/components/eui-range-input.d.ts.map +0 -1
- package/declarations/components/eui-range-label.d.ts +0 -13
- package/declarations/components/eui-range-label.d.ts.map +0 -1
- package/declarations/components/eui-range-levels.d.ts +0 -27
- package/declarations/components/eui-range-levels.d.ts.map +0 -1
- package/declarations/components/eui-range-slider.d.ts +0 -25
- package/declarations/components/eui-range-slider.d.ts.map +0 -1
- package/declarations/components/eui-range-thumb.d.ts +0 -15
- package/declarations/components/eui-range-thumb.d.ts.map +0 -1
- package/declarations/components/eui-range-ticks.d.ts +0 -29
- package/declarations/components/eui-range-ticks.d.ts.map +0 -1
- package/declarations/components/eui-range-tooltip.d.ts +0 -33
- package/declarations/components/eui-range-tooltip.d.ts.map +0 -1
- package/declarations/components/eui-range-track.d.ts +0 -43
- package/declarations/components/eui-range-track.d.ts.map +0 -1
- package/declarations/components/eui-range-wrapper.d.ts +0 -14
- package/declarations/components/eui-range-wrapper.d.ts.map +0 -1
- package/declarations/components/eui-range.d.ts +0 -112
- package/declarations/components/eui-range.d.ts.map +0 -1
- package/declarations/components/eui-select.d.ts +0 -31
- package/declarations/components/eui-select.d.ts.map +0 -1
- package/declarations/components/eui-selectable-list-item.d.ts +0 -15
- package/declarations/components/eui-selectable-list-item.d.ts.map +0 -1
- package/declarations/components/eui-show-for.d.ts +0 -30
- package/declarations/components/eui-show-for.d.ts.map +0 -1
- package/declarations/components/eui-side-nav-item/button.d.ts +0 -16
- package/declarations/components/eui-side-nav-item/button.d.ts.map +0 -1
- package/declarations/components/eui-side-nav-item.d.ts +0 -32
- package/declarations/components/eui-side-nav-item.d.ts.map +0 -1
- package/declarations/components/eui-side-nav.d.ts +0 -48
- package/declarations/components/eui-side-nav.d.ts.map +0 -1
- package/declarations/components/eui-spacer.d.ts +0 -11
- package/declarations/components/eui-spacer.d.ts.map +0 -1
- package/declarations/components/eui-split-panel/inner.d.ts +0 -18
- package/declarations/components/eui-split-panel/inner.d.ts.map +0 -1
- package/declarations/components/eui-split-panel/outer.d.ts +0 -22
- package/declarations/components/eui-split-panel/outer.d.ts.map +0 -1
- package/declarations/components/eui-stat/description.d.ts +0 -15
- package/declarations/components/eui-stat/description.d.ts.map +0 -1
- package/declarations/components/eui-stat/title.d.ts +0 -17
- package/declarations/components/eui-stat/title.d.ts.map +0 -1
- package/declarations/components/eui-stat.d.ts +0 -28
- package/declarations/components/eui-stat.d.ts.map +0 -1
- package/declarations/components/eui-step-horizontal.d.ts +0 -38
- package/declarations/components/eui-step-horizontal.d.ts.map +0 -1
- package/declarations/components/eui-step-number.d.ts +0 -31
- package/declarations/components/eui-step-number.d.ts.map +0 -1
- package/declarations/components/eui-step.d.ts +0 -18
- package/declarations/components/eui-step.d.ts.map +0 -1
- package/declarations/components/eui-steps-horizontal.d.ts +0 -10
- package/declarations/components/eui-steps-horizontal.d.ts.map +0 -1
- package/declarations/components/eui-steps.d.ts +0 -13
- package/declarations/components/eui-steps.d.ts.map +0 -1
- package/declarations/components/eui-sub-steps.d.ts +0 -10
- package/declarations/components/eui-sub-steps.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/date-popover/absolute-tab.d.ts +0 -27
- package/declarations/components/eui-super-date-picker/date-popover/absolute-tab.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/date-popover/datetime-picker.d.ts +0 -65
- package/declarations/components/eui-super-date-picker/date-popover/datetime-picker.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/date-popover/eui-date-popover-button.d.ts +0 -32
- package/declarations/components/eui-super-date-picker/date-popover/eui-date-popover-button.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/date-popover/eui-date-popover-content.d.ts +0 -48
- package/declarations/components/eui-super-date-picker/date-popover/eui-date-popover-content.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/date-popover/now-tab.d.ts +0 -10
- package/declarations/components/eui-super-date-picker/date-popover/now-tab.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/date-popover/relative-tab.d.ts +0 -31
- package/declarations/components/eui-super-date-picker/date-popover/relative-tab.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/eui-date-picker-range.d.ts +0 -18
- package/declarations/components/eui-super-date-picker/eui-date-picker-range.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-commonly-used-time-ranges.d.ts +0 -14
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-commonly-used-time-ranges.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.d.ts +0 -37
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-recently-used.d.ts +0 -14
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-recently-used.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover.d.ts +0 -30
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/eui-super-update-button.d.ts +0 -20
- package/declarations/components/eui-super-date-picker/eui-super-update-button.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/utils/date-utils.d.ts +0 -15
- package/declarations/components/eui-super-date-picker/utils/date-utils.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/utils/index.d.ts +0 -31
- package/declarations/components/eui-super-date-picker/utils/index.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/utils/pretty-duration.d.ts +0 -25
- package/declarations/components/eui-super-date-picker/utils/pretty-duration.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/utils/quick-select.d.ts +0 -14
- package/declarations/components/eui-super-date-picker/utils/quick-select.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/utils/time-options.d.ts +0 -20
- package/declarations/components/eui-super-date-picker/utils/time-options.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker.d.ts +0 -93
- package/declarations/components/eui-super-date-picker.d.ts.map +0 -1
- package/declarations/components/eui-switch.d.ts +0 -30
- package/declarations/components/eui-switch.d.ts.map +0 -1
- package/declarations/components/eui-tab.d.ts +0 -21
- package/declarations/components/eui-tab.d.ts.map +0 -1
- package/declarations/components/eui-tabbed-content.d.ts +0 -65
- package/declarations/components/eui-tabbed-content.d.ts.map +0 -1
- package/declarations/components/eui-tabs.d.ts +0 -18
- package/declarations/components/eui-tabs.d.ts.map +0 -1
- package/declarations/components/eui-text-align.d.ts +0 -13
- package/declarations/components/eui-text-align.d.ts.map +0 -1
- package/declarations/components/eui-text-area.d.ts +0 -22
- package/declarations/components/eui-text-area.d.ts.map +0 -1
- package/declarations/components/eui-text-color.d.ts +0 -14
- package/declarations/components/eui-text-color.d.ts.map +0 -1
- package/declarations/components/eui-text.d.ts +0 -19
- package/declarations/components/eui-text.d.ts.map +0 -1
- package/declarations/components/eui-title.d.ts +0 -17
- package/declarations/components/eui-title.d.ts.map +0 -1
- package/declarations/components/eui-toast.d.ts +0 -35
- package/declarations/components/eui-toast.d.ts.map +0 -1
- package/declarations/components/eui-tool-tip-popover.d.ts +0 -26
- package/declarations/components/eui-tool-tip-popover.d.ts.map +0 -1
- package/declarations/components/eui-tool-tip.d.ts +0 -108
- package/declarations/components/eui-tool-tip.d.ts.map +0 -1
- package/declarations/components/text-block.d.ts +0 -13
- package/declarations/components/text-block.d.ts.map +0 -1
- package/declarations/components.d.ts +0 -150
- package/declarations/components.d.ts.map +0 -1
- package/declarations/helpers/arg-or-default.d.ts +0 -21
- package/declarations/helpers/arg-or-default.d.ts.map +0 -1
- package/declarations/helpers/cast-to.d.ts +0 -14
- package/declarations/helpers/cast-to.d.ts.map +0 -1
- package/declarations/helpers/class-names.d.ts +0 -47
- package/declarations/helpers/class-names.d.ts.map +0 -1
- package/declarations/helpers/eui-page-restrict-width.d.ts +0 -30
- package/declarations/helpers/eui-page-restrict-width.d.ts.map +0 -1
- package/declarations/helpers/eui-palette.d.ts +0 -25
- package/declarations/helpers/eui-palette.d.ts.map +0 -1
- package/declarations/helpers/get-eui-config.d.ts +0 -14
- package/declarations/helpers/get-eui-config.d.ts.map +0 -1
- package/declarations/helpers/get-range-tick.d.ts +0 -21
- package/declarations/helpers/get-range-tick.d.ts.map +0 -1
- package/declarations/helpers/hex-to-rgb.d.ts +0 -10
- package/declarations/helpers/hex-to-rgb.d.ts.map +0 -1
- package/declarations/helpers/inline-styles.d.ts +0 -19
- package/declarations/helpers/inline-styles.d.ts.map +0 -1
- package/declarations/helpers/is-color-dark.d.ts +0 -10
- package/declarations/helpers/is-color-dark.d.ts.map +0 -1
- package/declarations/helpers/is-item-open.d.ts +0 -16
- package/declarations/helpers/is-item-open.d.ts.map +0 -1
- package/declarations/helpers/is-valid-hex.d.ts +0 -10
- package/declarations/helpers/is-valid-hex.d.ts.map +0 -1
- package/declarations/helpers/is-within-number.d.ts +0 -15
- package/declarations/helpers/is-within-number.d.ts.map +0 -1
- package/declarations/helpers/merge.d.ts +0 -9
- package/declarations/helpers/merge.d.ts.map +0 -1
- package/declarations/helpers/nullish.d.ts +0 -10
- package/declarations/helpers/nullish.d.ts.map +0 -1
- package/declarations/helpers/starts-with.d.ts +0 -10
- package/declarations/helpers/starts-with.d.ts.map +0 -1
- package/declarations/helpers/to-initials.d.ts +0 -11
- package/declarations/helpers/to-initials.d.ts.map +0 -1
- package/declarations/helpers/type-of.d.ts +0 -10
- package/declarations/helpers/type-of.d.ts.map +0 -1
- package/declarations/helpers/unique-id.d.ts +0 -10
- package/declarations/helpers/unique-id.d.ts.map +0 -1
- package/declarations/helpers/use-state.d.ts +0 -21
- package/declarations/helpers/use-state.d.ts.map +0 -1
- package/declarations/helpers.d.ts +0 -9
- package/declarations/helpers.d.ts.map +0 -1
- package/declarations/i18n/util.d.ts +0 -12
- package/declarations/i18n/util.d.ts.map +0 -1
- package/declarations/modifiers/mutation-observer.d.ts +0 -12
- package/declarations/modifiers/mutation-observer.d.ts.map +0 -1
- package/declarations/modifiers/open-collapsible-nav.d.ts +0 -9
- package/declarations/modifiers/open-collapsible-nav.d.ts.map +0 -1
- package/declarations/modifiers/outside-click-detector.d.ts +0 -38
- package/declarations/modifiers/outside-click-detector.d.ts.map +0 -1
- package/declarations/modifiers/resize-observer.d.ts +0 -36
- package/declarations/modifiers/resize-observer.d.ts.map +0 -1
- package/declarations/modifiers/screen-reader-only.d.ts +0 -9
- package/declarations/modifiers/screen-reader-only.d.ts.map +0 -1
- package/declarations/modifiers/simple-style.d.ts +0 -12
- package/declarations/modifiers/simple-style.d.ts.map +0 -1
- package/declarations/modifiers/use-is-within-breakpoints.d.ts +0 -15
- package/declarations/modifiers/use-is-within-breakpoints.d.ts.map +0 -1
- package/declarations/modifiers/validatable-control.d.ts +0 -9
- package/declarations/modifiers/validatable-control.d.ts.map +0 -1
- package/declarations/modifiers.d.ts +0 -8
- package/declarations/modifiers.d.ts.map +0 -1
- package/declarations/services/eui-config.d.ts +0 -15
- package/declarations/services/eui-config.d.ts.map +0 -1
- package/declarations/services/eui-i18n.d.ts +0 -24
- package/declarations/services/eui-i18n.d.ts.map +0 -1
- package/declarations/services/eui-toaster.d.ts +0 -15
- package/declarations/services/eui-toaster.d.ts.map +0 -1
- package/declarations/template-registry.d.ts +0 -476
- package/declarations/template-registry.d.ts.map +0 -1
- package/declarations/utils/accesibility/accessible-click-keys.d.ts +0 -5
- package/declarations/utils/accesibility/accessible-click-keys.d.ts.map +0 -1
- package/declarations/utils/accesibility/cascading-menu-keys.d.ts +0 -9
- package/declarations/utils/accesibility/cascading-menu-keys.d.ts.map +0 -1
- package/declarations/utils/accesibility/combo-box-keys.d.ts +0 -8
- package/declarations/utils/accesibility/combo-box-keys.d.ts.map +0 -1
- package/declarations/utils/accesibility/index.d.ts +0 -4
- package/declarations/utils/accesibility/index.d.ts.map +0 -1
- package/declarations/utils/breakpoint.d.ts +0 -50
- package/declarations/utils/breakpoint.d.ts.map +0 -1
- package/declarations/utils/browser/browser.d.ts +0 -6
- package/declarations/utils/browser/browser.d.ts.map +0 -1
- package/declarations/utils/browser/index.d.ts +0 -2
- package/declarations/utils/browser/index.d.ts.map +0 -1
- package/declarations/utils/code/utils.d.ts +0 -32
- package/declarations/utils/code/utils.d.ts.map +0 -1
- package/declarations/utils/color/color_palette.d.ts +0 -24
- package/declarations/utils/color/color_palette.d.ts.map +0 -1
- package/declarations/utils/color/eui_palettes.d.ts +0 -37
- package/declarations/utils/color/eui_palettes.d.ts.map +0 -1
- package/declarations/utils/color/index.d.ts +0 -6
- package/declarations/utils/color/index.d.ts.map +0 -1
- package/declarations/utils/copy-to-clipboard.d.ts +0 -2
- package/declarations/utils/copy-to-clipboard.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-accordion.d.ts +0 -12
- package/declarations/utils/css-mappings/eui-accordion.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-avatar.d.ts +0 -23
- package/declarations/utils/css-mappings/eui-avatar.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-badge-group.d.ts +0 -8
- package/declarations/utils/css-mappings/eui-badge-group.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-badge.d.ts +0 -31
- package/declarations/utils/css-mappings/eui-badge.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-beta-badge.d.ts +0 -13
- package/declarations/utils/css-mappings/eui-beta-badge.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-bottom-bar.d.ts +0 -4
- package/declarations/utils/css-mappings/eui-bottom-bar.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-button-empty.d.ts +0 -22
- package/declarations/utils/css-mappings/eui-button-empty.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-button-group-button.d.ts +0 -4
- package/declarations/utils/css-mappings/eui-button-group-button.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-button-group.d.ts +0 -4
- package/declarations/utils/css-mappings/eui-button-group.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-button-icon.d.ts +0 -23
- package/declarations/utils/css-mappings/eui-button-icon.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-button.d.ts +0 -13
- package/declarations/utils/css-mappings/eui-button.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-call-out.d.ts +0 -13
- package/declarations/utils/css-mappings/eui-call-out.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-card-select.d.ts +0 -4
- package/declarations/utils/css-mappings/eui-card-select.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-card.d.ts +0 -9
- package/declarations/utils/css-mappings/eui-card.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-code-block.d.ts +0 -15
- package/declarations/utils/css-mappings/eui-code-block.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-collapsible-nav-group.d.ts +0 -9
- package/declarations/utils/css-mappings/eui-collapsible-nav-group.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-comment-event.d.ts +0 -4
- package/declarations/utils/css-mappings/eui-comment-event.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-comment-timeline-icon.d.ts +0 -7
- package/declarations/utils/css-mappings/eui-comment-timeline-icon.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-context-menu-item.d.ts +0 -15
- package/declarations/utils/css-mappings/eui-context-menu-item.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-described-form-group.d.ts +0 -12
- package/declarations/utils/css-mappings/eui-described-form-group.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-description-list.d.ts +0 -18
- package/declarations/utils/css-mappings/eui-description-list.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-empty-prompt.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-empty-prompt.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-file-picker.d.ts +0 -8
- package/declarations/utils/css-mappings/eui-file-picker.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-flex-grid.d.ts +0 -22
- package/declarations/utils/css-mappings/eui-flex-grid.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-flex-group.d.ts +0 -33
- package/declarations/utils/css-mappings/eui-flex-group.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-flex-item.d.ts +0 -17
- package/declarations/utils/css-mappings/eui-flex-item.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-flyout.d.ts +0 -23
- package/declarations/utils/css-mappings/eui-flyout.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-form-control-layout-clear-button.d.ts +0 -8
- package/declarations/utils/css-mappings/eui-form-control-layout-clear-button.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-form-row.d.ts +0 -12
- package/declarations/utils/css-mappings/eui-form-row.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-global-toast-list.d.ts +0 -8
- package/declarations/utils/css-mappings/eui-global-toast-list.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-header-links.d.ts +0 -18
- package/declarations/utils/css-mappings/eui-header-links.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-header-section-item.d.ts +0 -9
- package/declarations/utils/css-mappings/eui-header-section-item.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-header-section.d.ts +0 -12
- package/declarations/utils/css-mappings/eui-header-section.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-header.d.ts +0 -12
- package/declarations/utils/css-mappings/eui-header.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-health.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-health.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-horizontal-rule.d.ts +0 -18
- package/declarations/utils/css-mappings/eui-horizontal-rule.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-icon.d.ts +0 -494
- package/declarations/utils/css-mappings/eui-icon.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-image.d.ts +0 -22
- package/declarations/utils/css-mappings/eui-image.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-link.d.ts +0 -14
- package/declarations/utils/css-mappings/eui-link.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-list-group-item.d.ts +0 -17
- package/declarations/utils/css-mappings/eui-list-group-item.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-list-group.d.ts +0 -12
- package/declarations/utils/css-mappings/eui-list-group.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-loading-spinner.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-loading-spinner.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-modal.d.ts +0 -7
- package/declarations/utils/css-mappings/eui-modal.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-notification-badge.d.ts +0 -11
- package/declarations/utils/css-mappings/eui-notification-badge.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-page-body.d.ts +0 -16
- package/declarations/utils/css-mappings/eui-page-body.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-page-content-body.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-page-content-body.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-page-content.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-page-content.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-page-header.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-page-header.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-page-side-bar.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-page-side-bar.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-page.d.ts +0 -24
- package/declarations/utils/css-mappings/eui-page.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-panel.d.ts +0 -24
- package/declarations/utils/css-mappings/eui-panel.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-popover-footer.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-popover-footer.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-popover-title.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-popover-title.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-popover.d.ts +0 -22
- package/declarations/utils/css-mappings/eui-popover.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-progress-data.d.ts +0 -3
- package/declarations/utils/css-mappings/eui-progress-data.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-progress.d.ts +0 -50
- package/declarations/utils/css-mappings/eui-progress.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-range-highlight.d.ts +0 -11
- package/declarations/utils/css-mappings/eui-range-highlight.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-range-input.d.ts +0 -8
- package/declarations/utils/css-mappings/eui-range-input.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-range-levels.d.ts +0 -13
- package/declarations/utils/css-mappings/eui-range-levels.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-selectable-list-item.d.ts +0 -7
- package/declarations/utils/css-mappings/eui-selectable-list-item.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-spacer.d.ts +0 -12
- package/declarations/utils/css-mappings/eui-spacer.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-stat.d.ts +0 -17
- package/declarations/utils/css-mappings/eui-stat.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-step-number.d.ts +0 -11
- package/declarations/utils/css-mappings/eui-step-number.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-tabs.d.ts +0 -14
- package/declarations/utils/css-mappings/eui-tabs.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-text-align.d.ts +0 -9
- package/declarations/utils/css-mappings/eui-text-align.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-text-area.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-text-area.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-text-color.d.ts +0 -14
- package/declarations/utils/css-mappings/eui-text-color.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-text.d.ts +0 -9
- package/declarations/utils/css-mappings/eui-text.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-title.d.ts +0 -15
- package/declarations/utils/css-mappings/eui-title.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-toast.d.ts +0 -11
- package/declarations/utils/css-mappings/eui-toast.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-tool-tip.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-tool-tip.d.ts.map +0 -1
- package/declarations/utils/css-mappings/index.d.ts +0 -3
- package/declarations/utils/css-mappings/index.d.ts.map +0 -1
- package/declarations/utils/detect-element-resize.d.ts +0 -17
- package/declarations/utils/detect-element-resize.d.ts.map +0 -1
- package/declarations/utils/index.d.ts +0 -3
- package/declarations/utils/index.d.ts.map +0 -1
- package/declarations/utils/keys.d.ts +0 -31
- package/declarations/utils/keys.d.ts.map +0 -1
- package/declarations/utils/markdown/markdown-actions.d.ts +0 -45
- package/declarations/utils/markdown/markdown-actions.d.ts.map +0 -1
- package/declarations/utils/markdown/markdown-modes.d.ts +0 -4
- package/declarations/utils/markdown/markdown-modes.d.ts.map +0 -1
- package/declarations/utils/markdown/markdown-types.d.ts +0 -100
- package/declarations/utils/markdown/markdown-types.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-add-components/index.d.ts +0 -3
- package/declarations/utils/markdown/plugins/markdown-add-components/index.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-add-components/processor.d.ts +0 -6
- package/declarations/utils/markdown/plugins/markdown-add-components/processor.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-checkbox/index.d.ts +0 -2
- package/declarations/utils/markdown/plugins/markdown-checkbox/index.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-checkbox/parser.d.ts +0 -3
- package/declarations/utils/markdown/plugins/markdown-checkbox/parser.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-default-plugins/index.d.ts +0 -5
- package/declarations/utils/markdown/plugins/markdown-default-plugins/index.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-default-plugins/parsing-plugins.d.ts +0 -7
- package/declarations/utils/markdown/plugins/markdown-default-plugins/parsing-plugins.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-default-plugins/plugins.d.ts +0 -11
- package/declarations/utils/markdown/plugins/markdown-default-plugins/plugins.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-default-plugins/processing-plugins.d.ts +0 -21
- package/declarations/utils/markdown/plugins/markdown-default-plugins/processing-plugins.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-default-plugins/ui-plugins.d.ts +0 -7
- package/declarations/utils/markdown/plugins/markdown-default-plugins/ui-plugins.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-tooltip/index.d.ts +0 -3
- package/declarations/utils/markdown/plugins/markdown-tooltip/index.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-tooltip/parser.d.ts +0 -3
- package/declarations/utils/markdown/plugins/markdown-tooltip/parser.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-tooltip/plugin.d.ts +0 -14
- package/declarations/utils/markdown/plugins/markdown-tooltip/plugin.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/to-dom.d.ts +0 -20
- package/declarations/utils/markdown/plugins/to-dom.d.ts.map +0 -1
- package/declarations/utils/markdown/remark/remark-prismjs.d.ts +0 -5
- package/declarations/utils/markdown/remark/remark-prismjs.d.ts.map +0 -1
- package/declarations/utils/maybe-unwrap-proxy.d.ts +0 -3
- package/declarations/utils/maybe-unwrap-proxy.d.ts.map +0 -1
- package/declarations/utils/number/index.d.ts +0 -2
- package/declarations/utils/number/index.d.ts.map +0 -1
- package/declarations/utils/number/number.d.ts +0 -3
- package/declarations/utils/number/number.d.ts.map +0 -1
- package/declarations/utils/popover/index.d.ts +0 -152
- package/declarations/utils/popover/index.d.ts.map +0 -1
- package/declarations/utils/popover/types.d.ts +0 -2
- package/declarations/utils/popover/types.d.ts.map +0 -1
- package/declarations/utils/predicate/common_predicates.d.ts +0 -6
- package/declarations/utils/predicate/common_predicates.d.ts.map +0 -1
- package/declarations/utils/predicate/index.d.ts +0 -3
- package/declarations/utils/predicate/index.d.ts.map +0 -1
- package/declarations/utils/predicate/lodash_predicates.d.ts +0 -8
- package/declarations/utils/predicate/lodash_predicates.d.ts.map +0 -1
- package/declarations/utils/range/index.d.ts +0 -2
- package/declarations/utils/range/index.d.ts.map +0 -1
- package/declarations/utils/timer.d.ts +0 -13
- package/declarations/utils/timer.d.ts.map +0 -1
- package/declarations/utils/transition.d.ts +0 -8
- package/declarations/utils/transition.d.ts.map +0 -1
- package/dist/_rollupPluginBabelHelpers-9wjJaosZ.js +0 -63
- package/dist/_rollupPluginBabelHelpers-9wjJaosZ.js.map +0 -1
|
@@ -1,9 +1,5 @@
|
|
|
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
|
-
import { macroCondition, dependencySatisfies, importSync } from '@embroider/macros';
|
|
5
1
|
import Component from '@glimmer/component';
|
|
6
|
-
import { tracked } from '@glimmer/tracking';
|
|
2
|
+
import { tracked, cached } from '@glimmer/tracking';
|
|
7
3
|
import { hash } from '@ember/helper';
|
|
8
4
|
import { on } from '@ember/modifier';
|
|
9
5
|
import { action } from '@ember/object';
|
|
@@ -32,151 +28,125 @@ import EuiMarkdownEditorDropZone from './eui-markdown-editor-drop-zone.js';
|
|
|
32
28
|
import EuiMarkdownEditorTextArea from './eui-markdown-editor-text-area.js';
|
|
33
29
|
import EuiMarkdownEditorToolbarComponent from './eui-markdown-editor-toolbar.js';
|
|
34
30
|
import EuiMarkdownEditorToolbarComponent$1 from './eui-markdown-format.js';
|
|
31
|
+
import { precompileTemplate } from '@ember/template-compilation';
|
|
32
|
+
import { setComponentTemplate } from '@ember/component';
|
|
33
|
+
import { g, i, n } from 'decorator-transforms/runtime';
|
|
35
34
|
|
|
36
|
-
|
|
37
|
-
let cached = macroCondition(dependencySatisfies('ember-source', '>= 4.1.0-alpha.0')) ? importSync('@glimmer/tracking').cached : importSync('ember-cached-decorator-polyfill').cached;
|
|
38
|
-
const getCursorNode = (textareaRef, parsed) => {
|
|
35
|
+
const getCursorNode = (textareaRef1, parsed1) => {
|
|
39
36
|
const {
|
|
40
|
-
selectionStart
|
|
41
|
-
} =
|
|
42
|
-
let
|
|
43
|
-
|
|
37
|
+
selectionStart: selectionStart1
|
|
38
|
+
} = textareaRef1;
|
|
39
|
+
let node1 = parsed1.result ?? parsed1.contents;
|
|
44
40
|
//eslint-disable-next-line
|
|
45
41
|
outer: while (true) {
|
|
46
|
-
if (
|
|
47
|
-
for (let
|
|
48
|
-
const
|
|
49
|
-
if (
|
|
50
|
-
if (
|
|
51
|
-
|
|
42
|
+
if (node1.children) {
|
|
43
|
+
for (let i1 = 0; i1 < node1.children.length; i1++) {
|
|
44
|
+
const child1 = node1.children[i1];
|
|
45
|
+
if (child1 && child1.position.start.offset < selectionStart1 && selectionStart1 < child1.position.end.offset) {
|
|
46
|
+
if (child1.type === 'text') break outer; // don't dive into `text` nodes
|
|
47
|
+
node1 = child1;
|
|
52
48
|
continue outer;
|
|
53
49
|
}
|
|
54
50
|
}
|
|
55
51
|
}
|
|
56
52
|
break;
|
|
57
53
|
}
|
|
58
|
-
return
|
|
54
|
+
return node1;
|
|
59
55
|
};
|
|
60
|
-
function wrapper(
|
|
61
|
-
const
|
|
62
|
-
|
|
56
|
+
function wrapper(textarea1, parsed1, callback1) {
|
|
57
|
+
const node1 = getCursorNode(textarea1, parsed1);
|
|
58
|
+
callback1(node1);
|
|
63
59
|
}
|
|
64
|
-
const getCursorNodeModifier = modifier(function
|
|
65
|
-
const
|
|
66
|
-
|
|
67
|
-
|
|
60
|
+
const getCursorNodeModifier = modifier(function getCursorNodeModifier1(textarea1, [parsed1, onSelectedNode1]) {
|
|
61
|
+
const fn1 = wrapper.bind(null, textarea1, parsed1, onSelectedNode1);
|
|
62
|
+
textarea1.addEventListener('keyup', fn1);
|
|
63
|
+
textarea1.addEventListener('mouseup', fn1);
|
|
68
64
|
return () => {
|
|
69
|
-
|
|
70
|
-
|
|
65
|
+
textarea1.removeEventListener('keyup', fn1);
|
|
66
|
+
textarea1.removeEventListener('mouseup', fn1);
|
|
71
67
|
};
|
|
72
68
|
});
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
EuiMarkdownFormat: EuiMarkdownEditorToolbarComponent$1,
|
|
150
|
-
EuiMarkdownEditorDropZone,
|
|
151
|
-
resizeObserver: ResizeObserver,
|
|
152
|
-
EuiMarkdownEditorTextArea,
|
|
153
|
-
getCursorNodeModifier,
|
|
154
|
-
on,
|
|
155
|
-
pick,
|
|
156
|
-
validatableControl
|
|
157
|
-
})
|
|
158
|
-
}), (_dec = argOrDefaultDecorator(defaultParsingPlugins), _dec2 = argOrDefaultDecorator(250), _dec3 = argOrDefaultDecorator(500), _dec4 = argOrDefaultDecorator(true), _dec5 = argOrDefaultDecorator(defaultProcessingPlugins), (_class = class EuiMarkdownEditorComponent extends Component {
|
|
69
|
+
class EuiMarkdownEditorComponent extends Component {
|
|
70
|
+
static {
|
|
71
|
+
g(this.prototype, "parsingPluginList", [argOrDefaultDecorator(defaultParsingPlugins)]);
|
|
72
|
+
}
|
|
73
|
+
#parsingPluginList = (i(this, "parsingPluginList"), void 0); // Defaults
|
|
74
|
+
static {
|
|
75
|
+
g(this.prototype, "height", [argOrDefaultDecorator(250)]);
|
|
76
|
+
}
|
|
77
|
+
#height = (i(this, "height"), void 0);
|
|
78
|
+
static {
|
|
79
|
+
g(this.prototype, "maxHeight", [argOrDefaultDecorator(500)]);
|
|
80
|
+
}
|
|
81
|
+
#maxHeight = (i(this, "maxHeight"), void 0);
|
|
82
|
+
static {
|
|
83
|
+
g(this.prototype, "autoExpandPreview", [argOrDefaultDecorator(true)]);
|
|
84
|
+
}
|
|
85
|
+
#autoExpandPreview = (i(this, "autoExpandPreview"), void 0);
|
|
86
|
+
static {
|
|
87
|
+
g(this.prototype, "processingPluginList", [argOrDefaultDecorator(defaultProcessingPlugins)]);
|
|
88
|
+
}
|
|
89
|
+
#processingPluginList = (i(this, "processingPluginList"), void 0);
|
|
90
|
+
static {
|
|
91
|
+
g(this.prototype, "selectedNode", [tracked], function () {
|
|
92
|
+
return null;
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
#selectedNode = (i(this, "selectedNode"), void 0);
|
|
96
|
+
static {
|
|
97
|
+
g(this.prototype, "editorId", [tracked], function () {
|
|
98
|
+
return this.args.editorId ?? guidFor({});
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
#editorId = (i(this, "editorId"), void 0);
|
|
102
|
+
static {
|
|
103
|
+
g(this.prototype, "viewMode", [tracked], function () {
|
|
104
|
+
return this.args.initialViewMode || MODE_EDITING;
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
#viewMode = (i(this, "viewMode"), void 0);
|
|
108
|
+
static {
|
|
109
|
+
g(this.prototype, "textareaRef", [tracked], function () {
|
|
110
|
+
return null;
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
#textareaRef = (i(this, "textareaRef"), void 0);
|
|
114
|
+
static {
|
|
115
|
+
g(this.prototype, "previewRef", [tracked], function () {
|
|
116
|
+
return null;
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
#previewRef = (i(this, "previewRef"), void 0);
|
|
120
|
+
static {
|
|
121
|
+
g(this.prototype, "editorToolbarRef", [tracked], function () {
|
|
122
|
+
return null;
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
#editorToolbarRef = (i(this, "editorToolbarRef"), void 0);
|
|
126
|
+
static {
|
|
127
|
+
g(this.prototype, "currentHeight", [tracked], function () {
|
|
128
|
+
return 250;
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
#currentHeight = (i(this, "currentHeight"), void 0);
|
|
132
|
+
static {
|
|
133
|
+
g(this.prototype, "editorFooterHeight", [tracked], function () {
|
|
134
|
+
return 0;
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
#editorFooterHeight = (i(this, "editorFooterHeight"), void 0);
|
|
138
|
+
static {
|
|
139
|
+
g(this.prototype, "editorToolbarHeight", [tracked], function () {
|
|
140
|
+
return 0;
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
#editorToolbarHeight = (i(this, "editorToolbarHeight"), void 0);
|
|
144
|
+
markdownActions;
|
|
159
145
|
get toolbarPlugins() {
|
|
160
146
|
return [tooltipPlugin, ...(this.args.uiPlugins || [])];
|
|
161
147
|
}
|
|
162
|
-
constructor(
|
|
163
|
-
super(
|
|
164
|
-
// Defaults
|
|
165
|
-
_initializerDefineProperty(this, "parsingPluginList", _descriptor, this);
|
|
166
|
-
_initializerDefineProperty(this, "height", _descriptor2, this);
|
|
167
|
-
_initializerDefineProperty(this, "maxHeight", _descriptor3, this);
|
|
168
|
-
_initializerDefineProperty(this, "autoExpandPreview", _descriptor4, this);
|
|
169
|
-
_initializerDefineProperty(this, "processingPluginList", _descriptor5, this);
|
|
170
|
-
_initializerDefineProperty(this, "selectedNode", _descriptor6, this);
|
|
171
|
-
_initializerDefineProperty(this, "editorId", _descriptor7, this);
|
|
172
|
-
_initializerDefineProperty(this, "viewMode", _descriptor8, this);
|
|
173
|
-
_initializerDefineProperty(this, "textareaRef", _descriptor9, this);
|
|
174
|
-
_initializerDefineProperty(this, "previewRef", _descriptor10, this);
|
|
175
|
-
_initializerDefineProperty(this, "editorToolbarRef", _descriptor11, this);
|
|
176
|
-
_initializerDefineProperty(this, "currentHeight", _descriptor12, this);
|
|
177
|
-
_initializerDefineProperty(this, "editorFooterHeight", _descriptor13, this);
|
|
178
|
-
_initializerDefineProperty(this, "editorToolbarHeight", _descriptor14, this);
|
|
179
|
-
_defineProperty(this, "markdownActions", void 0);
|
|
148
|
+
constructor(owner1, args1) {
|
|
149
|
+
super(owner1, args1);
|
|
180
150
|
this.markdownActions = new MarkdownActions(this.editorId,
|
|
181
151
|
// @ts-expect-error
|
|
182
152
|
this.toolbarPlugins);
|
|
@@ -199,55 +169,69 @@ let EuiMarkdownEditorComponent = setComponentTemplate(precompileTemplate(`
|
|
|
199
169
|
}
|
|
200
170
|
onResize() {
|
|
201
171
|
if (this.textareaRef && this.isEditing && this.height !== 'full') {
|
|
202
|
-
const
|
|
203
|
-
const
|
|
204
|
-
this.currentHeight =
|
|
172
|
+
const resizedTextareaHeight1 = this.textareaRef.offsetHeight + this.editorFooterHeight;
|
|
173
|
+
const update1 = () => {
|
|
174
|
+
this.currentHeight = resizedTextareaHeight1;
|
|
205
175
|
};
|
|
206
|
-
scheduleOnce('afterRender', this,
|
|
176
|
+
scheduleOnce('afterRender', this, update1);
|
|
207
177
|
}
|
|
208
178
|
}
|
|
179
|
+
static {
|
|
180
|
+
n(this.prototype, "onResize", [action]);
|
|
181
|
+
}
|
|
209
182
|
updateCurrentHeight() {
|
|
210
183
|
let {
|
|
211
|
-
isPreviewing,
|
|
212
|
-
autoExpandPreview,
|
|
213
|
-
height,
|
|
214
|
-
previewRef,
|
|
215
|
-
currentHeight
|
|
184
|
+
isPreviewing: isPreviewing1,
|
|
185
|
+
autoExpandPreview: autoExpandPreview1,
|
|
186
|
+
height: height1,
|
|
187
|
+
previewRef: previewRef1,
|
|
188
|
+
currentHeight: currentHeight1
|
|
216
189
|
} = this;
|
|
217
|
-
if (
|
|
190
|
+
if (isPreviewing1 && autoExpandPreview1 && height1 !== 'full' && previewRef1) {
|
|
218
191
|
//@ts-ignore
|
|
219
|
-
if (
|
|
192
|
+
if (previewRef1.scrollHeight > currentHeight1) {
|
|
220
193
|
// scrollHeight does not include the border or margin
|
|
221
194
|
// so we ask for the computed value for those,
|
|
222
195
|
// which is always in pixels because getComputedValue
|
|
223
196
|
// returns the resolved values
|
|
224
|
-
const
|
|
225
|
-
const
|
|
226
|
-
const
|
|
227
|
-
|
|
197
|
+
const elementComputedStyle1 = window.getComputedStyle(previewRef1);
|
|
198
|
+
const borderWidth1 = parseFloat(elementComputedStyle1.borderTopWidth) + parseFloat(elementComputedStyle1.borderBottomWidth);
|
|
199
|
+
const marginWidth1 = parseFloat(elementComputedStyle1.marginTop) + parseFloat(elementComputedStyle1.marginBottom);
|
|
228
200
|
// then add an extra pixel for safety and because the scrollHeight value is rounded
|
|
229
|
-
const
|
|
230
|
-
const
|
|
231
|
-
if (
|
|
232
|
-
this.currentHeight =
|
|
201
|
+
const extraHeight1 = borderWidth1 + marginWidth1 + 1;
|
|
202
|
+
const update1 = () => {
|
|
203
|
+
if (previewRef1) {
|
|
204
|
+
this.currentHeight = previewRef1.scrollHeight + extraHeight1;
|
|
233
205
|
}
|
|
234
206
|
};
|
|
235
|
-
scheduleOnce('afterRender', this,
|
|
207
|
+
scheduleOnce('afterRender', this, update1);
|
|
236
208
|
}
|
|
237
209
|
}
|
|
238
210
|
}
|
|
239
|
-
|
|
240
|
-
this.
|
|
211
|
+
static {
|
|
212
|
+
n(this.prototype, "updateCurrentHeight", [action]);
|
|
213
|
+
}
|
|
214
|
+
setTextAreaRef(ref1) {
|
|
215
|
+
this.textareaRef = ref1;
|
|
216
|
+
}
|
|
217
|
+
static {
|
|
218
|
+
n(this.prototype, "setTextAreaRef", [action]);
|
|
219
|
+
}
|
|
220
|
+
setEditorToolbarRef(ref1) {
|
|
221
|
+
this.editorToolbarRef = ref1;
|
|
222
|
+
this.editorToolbarHeight = ref1.offsetHeight;
|
|
223
|
+
}
|
|
224
|
+
static {
|
|
225
|
+
n(this.prototype, "setEditorToolbarRef", [action]);
|
|
241
226
|
}
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
227
|
+
replaceNode(position1, next1) {
|
|
228
|
+
let value1 = this.args.value;
|
|
229
|
+
const leading1 = value1.substr(0, position1.start.offset);
|
|
230
|
+
const trailing1 = value1.substr(position1.end.offset);
|
|
231
|
+
this.args.onChange?.(`${leading1}${next1}${trailing1}`);
|
|
245
232
|
}
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
const leading = value.substr(0, position.start.offset);
|
|
249
|
-
const trailing = value.substr(position.end.offset);
|
|
250
|
-
this.args.onChange?.(`${leading}${next}${trailing}`);
|
|
233
|
+
static {
|
|
234
|
+
n(this.prototype, "replaceNode", [action]);
|
|
251
235
|
}
|
|
252
236
|
get isEditing() {
|
|
253
237
|
return this.viewMode === MODE_EDITING;
|
|
@@ -258,131 +242,81 @@ let EuiMarkdownEditorComponent = setComponentTemplate(precompileTemplate(`
|
|
|
258
242
|
setViewMode() {
|
|
259
243
|
this.viewMode = this.isPreviewing ? MODE_EDITING : MODE_VIEWING;
|
|
260
244
|
}
|
|
245
|
+
static {
|
|
246
|
+
n(this.prototype, "setViewMode", [action]);
|
|
247
|
+
}
|
|
261
248
|
get parser() {
|
|
262
|
-
const
|
|
263
|
-
return
|
|
249
|
+
const Compiler1 = tree1 => {
|
|
250
|
+
return tree1;
|
|
264
251
|
};
|
|
265
|
-
function
|
|
252
|
+
function identityCompiler1(this1) {
|
|
266
253
|
//eslint-disable-next-line
|
|
267
|
-
this.Compiler =
|
|
254
|
+
this.Compiler = Compiler1;
|
|
268
255
|
}
|
|
269
|
-
return unified().use(this.parsingPluginList).use(
|
|
256
|
+
return unified().use(this.parsingPluginList).use(identityCompiler1);
|
|
257
|
+
}
|
|
258
|
+
static {
|
|
259
|
+
n(this.prototype, "parser", [cached]);
|
|
270
260
|
}
|
|
271
261
|
get parsed() {
|
|
272
262
|
try {
|
|
273
|
-
const
|
|
274
|
-
return [
|
|
275
|
-
} catch (
|
|
276
|
-
return [null,
|
|
263
|
+
const parsed1 = this.parser.processSync(this.args.value);
|
|
264
|
+
return [parsed1, null];
|
|
265
|
+
} catch (e1) {
|
|
266
|
+
return [null, e1];
|
|
277
267
|
}
|
|
278
268
|
}
|
|
269
|
+
static {
|
|
270
|
+
n(this.prototype, "parsed", [cached]);
|
|
271
|
+
}
|
|
279
272
|
get vFile() {
|
|
280
273
|
return this.parsed[0];
|
|
281
274
|
}
|
|
282
275
|
onParse() {
|
|
283
276
|
if (this.args.onParse) {
|
|
284
|
-
const [
|
|
285
|
-
const
|
|
286
|
-
const
|
|
287
|
-
const
|
|
288
|
-
|
|
289
|
-
messages,
|
|
290
|
-
ast
|
|
277
|
+
const [parsed1, parseError1] = this.parsed;
|
|
278
|
+
const onParse1 = this.args.onParse;
|
|
279
|
+
const messages1 = parsed1 ? parsed1.messages : [];
|
|
280
|
+
const ast1 = parsed1 ? parsed1['result'] ?? parsed1.contents : null;
|
|
281
|
+
onParse1(parseError1, {
|
|
282
|
+
messages: messages1,
|
|
283
|
+
ast: ast1
|
|
291
284
|
});
|
|
292
285
|
}
|
|
293
286
|
}
|
|
294
|
-
|
|
295
|
-
this.
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
return null;
|
|
328
|
-
}
|
|
329
|
-
}), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, "editorId", [tracked], {
|
|
330
|
-
configurable: true,
|
|
331
|
-
enumerable: true,
|
|
332
|
-
writable: true,
|
|
333
|
-
initializer: function () {
|
|
334
|
-
return this.args.editorId ?? guidFor({});
|
|
335
|
-
}
|
|
336
|
-
}), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, "viewMode", [tracked], {
|
|
337
|
-
configurable: true,
|
|
338
|
-
enumerable: true,
|
|
339
|
-
writable: true,
|
|
340
|
-
initializer: function () {
|
|
341
|
-
return this.args.initialViewMode || MODE_EDITING;
|
|
342
|
-
}
|
|
343
|
-
}), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, "textareaRef", [tracked], {
|
|
344
|
-
configurable: true,
|
|
345
|
-
enumerable: true,
|
|
346
|
-
writable: true,
|
|
347
|
-
initializer: function () {
|
|
348
|
-
return null;
|
|
349
|
-
}
|
|
350
|
-
}), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, "previewRef", [tracked], {
|
|
351
|
-
configurable: true,
|
|
352
|
-
enumerable: true,
|
|
353
|
-
writable: true,
|
|
354
|
-
initializer: function () {
|
|
355
|
-
return null;
|
|
356
|
-
}
|
|
357
|
-
}), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, "editorToolbarRef", [tracked], {
|
|
358
|
-
configurable: true,
|
|
359
|
-
enumerable: true,
|
|
360
|
-
writable: true,
|
|
361
|
-
initializer: function () {
|
|
362
|
-
return null;
|
|
363
|
-
}
|
|
364
|
-
}), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, "currentHeight", [tracked], {
|
|
365
|
-
configurable: true,
|
|
366
|
-
enumerable: true,
|
|
367
|
-
writable: true,
|
|
368
|
-
initializer: function () {
|
|
369
|
-
return 250;
|
|
370
|
-
}
|
|
371
|
-
}), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, "editorFooterHeight", [tracked], {
|
|
372
|
-
configurable: true,
|
|
373
|
-
enumerable: true,
|
|
374
|
-
writable: true,
|
|
375
|
-
initializer: function () {
|
|
376
|
-
return 0;
|
|
377
|
-
}
|
|
378
|
-
}), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, "editorToolbarHeight", [tracked], {
|
|
379
|
-
configurable: true,
|
|
380
|
-
enumerable: true,
|
|
381
|
-
writable: true,
|
|
382
|
-
initializer: function () {
|
|
383
|
-
return 0;
|
|
384
|
-
}
|
|
385
|
-
}), _applyDecoratedDescriptor(_class.prototype, "onResize", [action], Object.getOwnPropertyDescriptor(_class.prototype, "onResize"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "updateCurrentHeight", [action], Object.getOwnPropertyDescriptor(_class.prototype, "updateCurrentHeight"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "setTextAreaRef", [action], Object.getOwnPropertyDescriptor(_class.prototype, "setTextAreaRef"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "setEditorToolbarRef", [action], Object.getOwnPropertyDescriptor(_class.prototype, "setEditorToolbarRef"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "replaceNode", [action], Object.getOwnPropertyDescriptor(_class.prototype, "replaceNode"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "setViewMode", [action], Object.getOwnPropertyDescriptor(_class.prototype, "setViewMode"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "parser", [cached], Object.getOwnPropertyDescriptor(_class.prototype, "parser"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "parsed", [cached], Object.getOwnPropertyDescriptor(_class.prototype, "parsed"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "onParse", [action], Object.getOwnPropertyDescriptor(_class.prototype, "onParse"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "setSelectedNode", [action], Object.getOwnPropertyDescriptor(_class.prototype, "setSelectedNode"), _class.prototype)), _class)));
|
|
287
|
+
static {
|
|
288
|
+
n(this.prototype, "onParse", [action]);
|
|
289
|
+
}
|
|
290
|
+
setSelectedNode(node1) {
|
|
291
|
+
this.selectedNode = node1;
|
|
292
|
+
}
|
|
293
|
+
static {
|
|
294
|
+
n(this.prototype, "setSelectedNode", [action]);
|
|
295
|
+
}
|
|
296
|
+
static {
|
|
297
|
+
setComponentTemplate(precompileTemplate("\n <div class={{classNames \"euiMarkdownEditor\" (if (eq this.height \"full\") \"euiMarkdownEditor--fullHeight\") (if this.isPreviewing \"euiMarkdownEditor--isPreviewing\")}} {{didUpdate this.updateCurrentHeight this.currentHeight this.isPreviewing this.height this.autoExpandPreview}}>\n <EuiMarkdownEditorToolbar @selectedNode={{this.selectedNode}} @markdownActions={{this.markdownActions}} @onClickPreview={{this.setViewMode}} @viewMode={{this.viewMode}} @uiPlugins={{this.toolbarPlugins}} {{didInsert this.setEditorToolbarRef}} />\n {{#if this.isPreviewing}}\n <div class=\"euiMarkdownEditorPreview\" {{didInsert (set this \"previewRef\")}} {{style (hash height=this.previewHeight)}}>\n <EuiMarkdownFormat @parsingPluginList={{this.parsingPluginList}} @processingPluginList={{this.processingPluginList}} @value={{@value}} @replaceNode={{this.replaceNode}} />\n </div>\n {{/if}}\n\n <div class=\"euiMarkdownEditor__toggleContainer\" {{style height=this.editorToggleContainerHeight}}>\n <EuiMarkdownEditorDropZone @uiPlugins={{this.toolbarPlugins}} {{resizeObserver onResize=this.onResize}}>\n <EuiMarkdownEditorTextArea {{getCursorNodeModifier this.vFile this.setSelectedNode}} {{didUpdate this.onParse this.parsed}} {{didInsert this.setTextAreaRef}} disabled={{@disabled}} id={{this.editorId}} @height={{this.textAreaHeight}} @maxHeight={{this.textAreaMaxHeight}} value={{@value}} aria-label={{@ariaLabel}} aria-labelledby={{@ariaLabelledBy}} aria-describedby={{@ariaDescribedBy}} {{on \"input\" (pick \"target.value\" @onChange)}} {{validatableControl @isInvalid}} ...attributes />\n </EuiMarkdownEditorDropZone>\n </div>\n </div>\n ", {
|
|
298
|
+
strictMode: true,
|
|
299
|
+
scope: () => ({
|
|
300
|
+
classNames,
|
|
301
|
+
eq,
|
|
302
|
+
didUpdate,
|
|
303
|
+
EuiMarkdownEditorToolbar: EuiMarkdownEditorToolbarComponent,
|
|
304
|
+
didInsert,
|
|
305
|
+
set,
|
|
306
|
+
style,
|
|
307
|
+
hash,
|
|
308
|
+
EuiMarkdownFormat: EuiMarkdownEditorToolbarComponent$1,
|
|
309
|
+
EuiMarkdownEditorDropZone,
|
|
310
|
+
resizeObserver: ResizeObserver,
|
|
311
|
+
EuiMarkdownEditorTextArea,
|
|
312
|
+
getCursorNodeModifier,
|
|
313
|
+
on,
|
|
314
|
+
pick,
|
|
315
|
+
validatableControl
|
|
316
|
+
})
|
|
317
|
+
}), this);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
386
320
|
|
|
387
321
|
export { EuiMarkdownEditorComponent as default, getCursorNode, getCursorNodeModifier };
|
|
388
322
|
//# sourceMappingURL=eui-markdown-editor.js.map
|