@ember-eui/core 9.0.1 → 10.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/eui-accordion.js +74 -218
- package/dist/components/eui-accordion.js.map +1 -1
- package/dist/components/eui-auto-sizer.js +68 -84
- package/dist/components/eui-auto-sizer.js.map +1 -1
- package/dist/components/eui-avatar.js +5 -56
- package/dist/components/eui-avatar.js.map +1 -1
- package/dist/components/eui-badge-group.js +7 -21
- package/dist/components/eui-badge-group.js.map +1 -1
- package/dist/components/eui-badge.js +5 -159
- package/dist/components/eui-badge.js.map +1 -1
- package/dist/components/eui-beta-badge.js +5 -177
- package/dist/components/eui-beta-badge.js.map +1 -1
- package/dist/components/eui-bottom-bar.js +34 -101
- package/dist/components/eui-bottom-bar.js.map +1 -1
- package/dist/components/eui-breadcrumbs.js +78 -183
- package/dist/components/eui-breadcrumbs.js.map +1 -1
- package/dist/components/eui-button-content.js +5 -33
- package/dist/components/eui-button-content.js.map +1 -1
- package/dist/components/eui-button-empty.js +5 -67
- package/dist/components/eui-button-empty.js.map +1 -1
- package/dist/components/eui-button-group-button.js +5 -65
- package/dist/components/eui-button-group-button.js.map +1 -1
- package/dist/components/eui-button-group.js +5 -74
- package/dist/components/eui-button-group.js.map +1 -1
- package/dist/components/eui-button-icon.js +5 -60
- package/dist/components/eui-button-icon.js.map +1 -1
- package/dist/components/eui-button.js +5 -52
- package/dist/components/eui-button.js.map +1 -1
- package/dist/components/eui-call-out.js +5 -50
- package/dist/components/eui-call-out.js.map +1 -1
- package/dist/components/eui-card-select.js +22 -48
- package/dist/components/eui-card-select.js.map +1 -1
- package/dist/components/eui-card.js +41 -198
- package/dist/components/eui-card.js.map +1 -1
- package/dist/components/eui-checkable-card.js +5 -67
- package/dist/components/eui-checkable-card.js.map +1 -1
- package/dist/components/eui-checkbox-group.js +5 -52
- package/dist/components/eui-checkbox-group.js.map +1 -1
- package/dist/components/eui-checkbox.js +8 -53
- package/dist/components/eui-checkbox.js.map +1 -1
- package/dist/components/eui-code-block/controls.js +5 -36
- package/dist/components/eui-code-block/controls.js.map +1 -1
- package/dist/components/eui-code-block/full-screen-display.js +5 -18
- package/dist/components/eui-code-block/full-screen-display.js.map +1 -1
- package/dist/components/eui-code-block/virtualized.js +24 -61
- package/dist/components/eui-code-block/virtualized.js.map +1 -1
- package/dist/components/eui-code-block.js +141 -287
- package/dist/components/eui-code-block.js.map +1 -1
- package/dist/components/eui-code.js +43 -58
- package/dist/components/eui-code.js.map +1 -1
- package/dist/components/eui-collapsible-nav-group.js +5 -132
- package/dist/components/eui-collapsible-nav-group.js.map +1 -1
- package/dist/components/eui-collapsible-nav.js +48 -85
- package/dist/components/eui-collapsible-nav.js.map +1 -1
- package/dist/components/eui-combo-box/create-option.js +21 -42
- package/dist/components/eui-combo-box/create-option.js.map +1 -1
- package/dist/components/eui-combo-box/group.js +4 -15
- package/dist/components/eui-combo-box/group.js.map +1 -1
- package/dist/components/eui-combo-box/no-matches-message.js +5 -13
- package/dist/components/eui-combo-box/no-matches-message.js.map +1 -1
- package/dist/components/eui-combo-box/options.js +41 -124
- package/dist/components/eui-combo-box/options.js.map +1 -1
- package/dist/components/eui-combo-box/search-message.js +5 -13
- package/dist/components/eui-combo-box/search-message.js.map +1 -1
- package/dist/components/eui-combo-box/trigger/input.js +37 -77
- package/dist/components/eui-combo-box/trigger/input.js.map +1 -1
- package/dist/components/eui-combo-box/trigger.js +25 -156
- package/dist/components/eui-combo-box/trigger.js.map +1 -1
- package/dist/components/eui-combo-box-pill.js +5 -44
- package/dist/components/eui-combo-box-pill.js.map +1 -1
- package/dist/components/eui-combo-box.js +124 -209
- package/dist/components/eui-combo-box.js.map +1 -1
- package/dist/components/eui-comment-list.js +4 -11
- package/dist/components/eui-comment-list.js.map +1 -1
- package/dist/components/eui-comment-timeline.js +5 -34
- package/dist/components/eui-comment-timeline.js.map +1 -1
- package/dist/components/eui-comment.js +5 -88
- package/dist/components/eui-comment.js.map +1 -1
- package/dist/components/eui-confirm-modal.js +5 -46
- package/dist/components/eui-confirm-modal.js.map +1 -1
- package/dist/components/eui-context-menu-item.js +29 -94
- package/dist/components/eui-context-menu-item.js.map +1 -1
- package/dist/components/eui-context-menu-panel.js +4 -10
- package/dist/components/eui-context-menu-panel.js.map +1 -1
- package/dist/components/eui-copy.js +25 -32
- package/dist/components/eui-copy.js.map +1 -1
- package/dist/components/eui-described-form-group.js +5 -43
- package/dist/components/eui-described-form-group.js.map +1 -1
- package/dist/components/eui-description-list-description.js +4 -8
- package/dist/components/eui-description-list-description.js.map +1 -1
- package/dist/components/eui-description-list-title.js +4 -8
- package/dist/components/eui-description-list-title.js.map +1 -1
- package/dist/components/eui-description-list.js +5 -29
- package/dist/components/eui-description-list.js.map +1 -1
- package/dist/components/eui-dual-range.js +273 -650
- package/dist/components/eui-dual-range.js.map +1 -1
- package/dist/components/eui-empty-prompt.js +5 -94
- package/dist/components/eui-empty-prompt.js.map +1 -1
- package/dist/components/eui-field-number.js +5 -72
- package/dist/components/eui-field-number.js.map +1 -1
- package/dist/components/eui-field-password.js +5 -78
- package/dist/components/eui-field-password.js.map +1 -1
- package/dist/components/eui-field-search.js +77 -135
- package/dist/components/eui-field-search.js.map +1 -1
- package/dist/components/eui-field-text.js +5 -69
- package/dist/components/eui-field-text.js.map +1 -1
- package/dist/components/eui-file-picker.js +80 -167
- package/dist/components/eui-file-picker.js.map +1 -1
- package/dist/components/eui-flex-grid.js +5 -37
- package/dist/components/eui-flex-grid.js.map +1 -1
- package/dist/components/eui-flex-group.js +5 -37
- package/dist/components/eui-flex-group.js.map +1 -1
- package/dist/components/eui-flex-item.js +5 -32
- package/dist/components/eui-flex-item.js.map +1 -1
- package/dist/components/eui-flyout-body.js +5 -35
- package/dist/components/eui-flyout-body.js.map +1 -1
- package/dist/components/eui-flyout-footer.js +4 -8
- package/dist/components/eui-flyout-footer.js.map +1 -1
- package/dist/components/eui-flyout-header.js +5 -15
- package/dist/components/eui-flyout-header.js.map +1 -1
- package/dist/components/eui-flyout.js +85 -223
- package/dist/components/eui-flyout.js.map +1 -1
- package/dist/components/eui-form-control-layout-clear-button.js +5 -20
- package/dist/components/eui-form-control-layout-clear-button.js.map +1 -1
- package/dist/components/eui-form-control-layout-custom-icon.js +5 -30
- package/dist/components/eui-form-control-layout-custom-icon.js.map +1 -1
- package/dist/components/eui-form-control-layout-delimited.js +5 -50
- package/dist/components/eui-form-control-layout-delimited.js.map +1 -1
- package/dist/components/eui-form-control-layout-icons.js +5 -42
- package/dist/components/eui-form-control-layout-icons.js.map +1 -1
- package/dist/components/eui-form-control-layout.js +5 -44
- package/dist/components/eui-form-control-layout.js.map +1 -1
- package/dist/components/eui-form-error-text.js +4 -8
- package/dist/components/eui-form-error-text.js.map +1 -1
- package/dist/components/eui-form-fieldset.js +5 -22
- package/dist/components/eui-form-fieldset.js.map +1 -1
- package/dist/components/eui-form-help-text.js +4 -8
- package/dist/components/eui-form-help-text.js.map +1 -1
- package/dist/components/eui-form-label.js +5 -26
- package/dist/components/eui-form-label.js.map +1 -1
- package/dist/components/eui-form-legend.js +5 -24
- package/dist/components/eui-form-legend.js.map +1 -1
- package/dist/components/eui-form-row.js +7 -260
- package/dist/components/eui-form-row.js.map +1 -1
- package/dist/components/eui-form.js +5 -79
- package/dist/components/eui-form.js.map +1 -1
- package/dist/components/eui-global-toast-list.js +102 -123
- package/dist/components/eui-global-toast-list.js.map +1 -1
- package/dist/components/eui-header-alert.js +5 -33
- package/dist/components/eui-header-alert.js.map +1 -1
- package/dist/components/eui-header-breadcrumbs.js +5 -13
- package/dist/components/eui-header-breadcrumbs.js.map +1 -1
- package/dist/components/eui-header-link.js +5 -21
- package/dist/components/eui-header-link.js.map +1 -1
- package/dist/components/eui-header-links.js +25 -73
- package/dist/components/eui-header-links.js.map +1 -1
- package/dist/components/eui-header-logo.js +5 -19
- package/dist/components/eui-header-logo.js.map +1 -1
- package/dist/components/eui-header-section-item-button.js +42 -91
- package/dist/components/eui-header-section-item-button.js.map +1 -1
- package/dist/components/eui-header-section-item.js +5 -15
- package/dist/components/eui-header-section-item.js.map +1 -1
- package/dist/components/eui-header-section.js +5 -16
- package/dist/components/eui-header-section.js.map +1 -1
- package/dist/components/eui-header.js +7 -32
- package/dist/components/eui-header.js.map +1 -1
- package/dist/components/eui-health.js +5 -24
- package/dist/components/eui-health.js.map +1 -1
- package/dist/components/eui-hide-for.js +12 -18
- package/dist/components/eui-hide-for.js.map +1 -1
- package/dist/components/eui-horizontal-rule.js +5 -14
- package/dist/components/eui-horizontal-rule.js.map +1 -1
- package/dist/components/eui-i18n/render.js +4 -6
- package/dist/components/eui-i18n/render.js.map +1 -1
- package/dist/components/eui-i18n.js +21 -42
- package/dist/components/eui-i18n.js.map +1 -1
- package/dist/components/eui-icon-tip.js +5 -45
- package/dist/components/eui-icon-tip.js.map +1 -1
- package/dist/components/eui-icon.js +56 -127
- package/dist/components/eui-icon.js.map +1 -1
- package/dist/components/eui-image.js +38 -143
- package/dist/components/eui-image.js.map +1 -1
- package/dist/components/eui-inner-text.js +33 -37
- package/dist/components/eui-inner-text.js.map +1 -1
- package/dist/components/eui-input-popover.js +96 -142
- package/dist/components/eui-input-popover.js.map +1 -1
- package/dist/components/eui-key-pad-menu-item.js +7 -75
- package/dist/components/eui-key-pad-menu-item.js.map +1 -1
- package/dist/components/eui-key-pad-menu.js +7 -24
- package/dist/components/eui-key-pad-menu.js.map +1 -1
- package/dist/components/eui-link.js +5 -56
- package/dist/components/eui-link.js.map +1 -1
- package/dist/components/eui-list-group-item.js +5 -90
- package/dist/components/eui-list-group-item.js.map +1 -1
- package/dist/components/eui-list-group.js +5 -30
- package/dist/components/eui-list-group.js.map +1 -1
- package/dist/components/eui-loading-content.js +5 -18
- package/dist/components/eui-loading-content.js.map +1 -1
- package/dist/components/eui-loading-logo.js +5 -23
- package/dist/components/eui-loading-logo.js.map +1 -1
- package/dist/components/eui-loading-spinner.js +5 -13
- package/dist/components/eui-loading-spinner.js.map +1 -1
- package/dist/components/eui-markdown-editor-drop-zone.js +5 -18
- package/dist/components/eui-markdown-editor-drop-zone.js.map +1 -1
- package/dist/components/eui-markdown-editor-footer/icons/markdown-logo.js +4 -21
- package/dist/components/eui-markdown-editor-footer/icons/markdown-logo.js.map +1 -1
- package/dist/components/eui-markdown-editor-footer.js +38 -134
- package/dist/components/eui-markdown-editor-footer.js.map +1 -1
- package/dist/components/eui-markdown-editor-text-area.js +5 -14
- package/dist/components/eui-markdown-editor-text-area.js.map +1 -1
- package/dist/components/eui-markdown-editor-toolbar/icons/markdown-checkmark.js +4 -21
- package/dist/components/eui-markdown-editor-toolbar/icons/markdown-checkmark.js.map +1 -1
- package/dist/components/eui-markdown-editor-toolbar.js +66 -150
- package/dist/components/eui-markdown-editor-toolbar.js.map +1 -1
- package/dist/components/eui-markdown-editor.js +204 -270
- package/dist/components/eui-markdown-editor.js.map +1 -1
- package/dist/components/eui-markdown-format/markdown-checkbox.js +12 -22
- package/dist/components/eui-markdown-format/markdown-checkbox.js.map +1 -1
- package/dist/components/eui-markdown-format/markdown-code-block.js +5 -14
- package/dist/components/eui-markdown-format/markdown-code-block.js.map +1 -1
- package/dist/components/eui-markdown-format/markdown-code.js +5 -9
- package/dist/components/eui-markdown-format/markdown-code.js.map +1 -1
- package/dist/components/eui-markdown-format/markdown-tooltip.js +5 -17
- package/dist/components/eui-markdown-format/markdown-tooltip.js.map +1 -1
- package/dist/components/eui-markdown-format.js +34 -48
- package/dist/components/eui-markdown-format.js.map +1 -1
- package/dist/components/eui-modal-body.js +4 -10
- package/dist/components/eui-modal-body.js.map +1 -1
- package/dist/components/eui-modal-footer.js +4 -8
- package/dist/components/eui-modal-footer.js.map +1 -1
- package/dist/components/eui-modal-header-title.js +4 -8
- package/dist/components/eui-modal-header-title.js.map +1 -1
- package/dist/components/eui-modal-header.js +4 -8
- package/dist/components/eui-modal-header.js.map +1 -1
- package/dist/components/eui-modal.js +5 -50
- package/dist/components/eui-modal.js.map +1 -1
- package/dist/components/eui-notification-badge.js +5 -16
- package/dist/components/eui-notification-badge.js.map +1 -1
- package/dist/components/eui-notification-event-messages.js +5 -48
- package/dist/components/eui-notification-event-messages.js.map +1 -1
- package/dist/components/eui-notification-event-meta.js +5 -109
- package/dist/components/eui-notification-event-meta.js.map +1 -1
- package/dist/components/eui-notification-event-read-button.js +5 -23
- package/dist/components/eui-notification-event-read-button.js.map +1 -1
- package/dist/components/eui-notification-event-read-icon.js +5 -27
- package/dist/components/eui-notification-event-read-icon.js.map +1 -1
- package/dist/components/eui-notification-event.js +5 -110
- package/dist/components/eui-notification-event.js.map +1 -1
- package/dist/components/eui-overlay-mask.js +32 -49
- package/dist/components/eui-overlay-mask.js.map +1 -1
- package/dist/components/eui-page-body.js +5 -58
- package/dist/components/eui-page-body.js.map +1 -1
- package/dist/components/eui-page-content-body.js +5 -22
- package/dist/components/eui-page-content-body.js.map +1 -1
- package/dist/components/eui-page-content-header-section.js +4 -8
- package/dist/components/eui-page-content-header-section.js.map +1 -1
- package/dist/components/eui-page-content-header.js +5 -15
- package/dist/components/eui-page-content-header.js.map +1 -1
- package/dist/components/eui-page-content.js +5 -26
- package/dist/components/eui-page-content.js.map +1 -1
- package/dist/components/eui-page-header-content.js +45 -353
- package/dist/components/eui-page-header-content.js.map +1 -1
- package/dist/components/eui-page-header-section.js +4 -8
- package/dist/components/eui-page-header-section.js.map +1 -1
- package/dist/components/eui-page-header.js +5 -102
- package/dist/components/eui-page-header.js.map +1 -1
- package/dist/components/eui-page-side-bar.js +5 -16
- package/dist/components/eui-page-side-bar.js.map +1 -1
- package/dist/components/eui-page-template.js +50 -837
- package/dist/components/eui-page-template.js.map +1 -1
- package/dist/components/eui-page.js +5 -32
- package/dist/components/eui-page.js.map +1 -1
- package/dist/components/eui-pagination/button-wrapper.js +5 -27
- package/dist/components/eui-pagination/button-wrapper.js.map +1 -1
- package/dist/components/eui-pagination/next-button.js +5 -37
- package/dist/components/eui-pagination/next-button.js.map +1 -1
- package/dist/components/eui-pagination/previous-button.js +5 -37
- package/dist/components/eui-pagination/previous-button.js.map +1 -1
- package/dist/components/eui-pagination-button.js +5 -42
- package/dist/components/eui-pagination-button.js.map +1 -1
- package/dist/components/eui-pagination.js +62 -181
- package/dist/components/eui-pagination.js.map +1 -1
- package/dist/components/eui-panel.js +5 -68
- package/dist/components/eui-panel.js.map +1 -1
- package/dist/components/eui-popover-footer.js +5 -15
- package/dist/components/eui-popover-footer.js.map +1 -1
- package/dist/components/eui-popover-title.js +5 -15
- package/dist/components/eui-popover-title.js.map +1 -1
- package/dist/components/eui-popover.js +275 -403
- package/dist/components/eui-popover.js.map +1 -1
- package/dist/components/eui-portal.js +22 -28
- package/dist/components/eui-portal.js.map +1 -1
- package/dist/components/eui-progress.js +5 -59
- package/dist/components/eui-progress.js.map +1 -1
- package/dist/components/eui-radio-group.js +5 -45
- package/dist/components/eui-radio-group.js.map +1 -1
- package/dist/components/eui-radio.js +5 -47
- package/dist/components/eui-radio.js.map +1 -1
- package/dist/components/eui-range-highlight.js +5 -29
- package/dist/components/eui-range-highlight.js.map +1 -1
- package/dist/components/eui-range-input.js +5 -45
- package/dist/components/eui-range-input.js.map +1 -1
- package/dist/components/eui-range-label.js +5 -15
- package/dist/components/eui-range-label.js.map +1 -1
- package/dist/components/eui-range-levels.js +28 -49
- package/dist/components/eui-range-levels.js.map +1 -1
- package/dist/components/eui-range-slider.js +5 -24
- package/dist/components/eui-range-slider.js.map +1 -1
- package/dist/components/eui-range-thumb.js +5 -30
- package/dist/components/eui-range-thumb.js.map +1 -1
- package/dist/components/eui-range-ticks.js +20 -50
- package/dist/components/eui-range-ticks.js.map +1 -1
- package/dist/components/eui-range-tooltip.js +31 -47
- package/dist/components/eui-range-tooltip.js.map +1 -1
- package/dist/components/eui-range-track.js +77 -122
- package/dist/components/eui-range-track.js.map +1 -1
- package/dist/components/eui-range-wrapper.js +5 -16
- package/dist/components/eui-range-wrapper.js.map +1 -1
- package/dist/components/eui-range.js +120 -527
- package/dist/components/eui-range.js.map +1 -1
- package/dist/components/eui-select.js +5 -74
- package/dist/components/eui-select.js.map +1 -1
- package/dist/components/eui-selectable-list-item.js +5 -29
- package/dist/components/eui-selectable-list-item.js.map +1 -1
- package/dist/components/eui-show-for.js +26 -37
- package/dist/components/eui-show-for.js.map +1 -1
- package/dist/components/eui-side-nav-item/button.js +5 -33
- package/dist/components/eui-side-nav-item/button.js.map +1 -1
- package/dist/components/eui-side-nav-item.js +5 -119
- package/dist/components/eui-side-nav-item.js.map +1 -1
- package/dist/components/eui-side-nav.js +30 -189
- package/dist/components/eui-side-nav.js.map +1 -1
- package/dist/components/eui-spacer.js +5 -10
- package/dist/components/eui-spacer.js.map +1 -1
- package/dist/components/eui-split-panel/inner.js +5 -17
- package/dist/components/eui-split-panel/inner.js.map +1 -1
- package/dist/components/eui-split-panel/outer.js +5 -34
- package/dist/components/eui-split-panel/outer.js.map +1 -1
- package/dist/components/eui-stat/description.js +5 -22
- package/dist/components/eui-stat/description.js.map +1 -1
- package/dist/components/eui-stat/title.js +5 -27
- package/dist/components/eui-stat/title.js.map +1 -1
- package/dist/components/eui-stat.js +10 -90
- package/dist/components/eui-stat.js.map +1 -1
- package/dist/components/eui-step-horizontal.js +5 -48
- package/dist/components/eui-step-horizontal.js.map +1 -1
- package/dist/components/eui-step-number.js +6 -48
- package/dist/components/eui-step-number.js.map +1 -1
- package/dist/components/eui-step.js +5 -37
- package/dist/components/eui-step.js.map +1 -1
- package/dist/components/eui-steps-horizontal.js +4 -8
- package/dist/components/eui-steps-horizontal.js.map +1 -1
- package/dist/components/eui-steps.js +4 -8
- package/dist/components/eui-steps.js.map +1 -1
- package/dist/components/eui-sub-steps.js +4 -8
- package/dist/components/eui-sub-steps.js.map +1 -1
- package/dist/components/eui-super-date-picker/date-popover/absolute-tab.js +64 -96
- package/dist/components/eui-super-date-picker/date-popover/absolute-tab.js.map +1 -1
- package/dist/components/eui-super-date-picker/date-popover/datetime-picker.js +141 -284
- package/dist/components/eui-super-date-picker/date-popover/datetime-picker.js.map +1 -1
- package/dist/components/eui-super-date-picker/date-popover/eui-date-popover-button.js +30 -83
- package/dist/components/eui-super-date-picker/date-popover/eui-date-popover-button.js.map +1 -1
- package/dist/components/eui-super-date-picker/date-popover/eui-date-popover-content.js +29 -70
- package/dist/components/eui-super-date-picker/date-popover/eui-date-popover-content.js.map +1 -1
- package/dist/components/eui-super-date-picker/date-popover/now-tab.js +5 -51
- package/dist/components/eui-super-date-picker/date-popover/now-tab.js.map +1 -1
- package/dist/components/eui-super-date-picker/date-popover/relative-tab.js +74 -109
- package/dist/components/eui-super-date-picker/date-popover/relative-tab.js.map +1 -1
- package/dist/components/eui-super-date-picker/eui-date-picker-range.js +5 -28
- package/dist/components/eui-super-date-picker/eui-date-picker-range.js.map +1 -1
- package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-commonly-used-time-ranges.js +5 -47
- package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-commonly-used-time-ranges.js.map +1 -1
- package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.js +69 -204
- package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.js.map +1 -1
- package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-recently-used.js +5 -47
- package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-recently-used.js.map +1 -1
- package/dist/components/eui-super-date-picker/eui-quick-select-popover.js +36 -85
- package/dist/components/eui-super-date-picker/eui-quick-select-popover.js.map +1 -1
- package/dist/components/eui-super-date-picker/eui-super-update-button.js +5 -42
- package/dist/components/eui-super-date-picker/eui-super-update-button.js.map +1 -1
- package/dist/components/eui-super-date-picker/utils/pretty-duration.js.map +1 -1
- package/dist/components/eui-super-date-picker/utils/quick-select.js.map +1 -1
- package/dist/components/eui-super-date-picker.js +110 -224
- package/dist/components/eui-super-date-picker.js.map +1 -1
- package/dist/components/eui-switch.js +25 -84
- package/dist/components/eui-switch.js.map +1 -1
- package/dist/components/eui-tab.js +5 -69
- package/dist/components/eui-tab.js.map +1 -1
- package/dist/components/eui-tabbed-content.js +88 -125
- package/dist/components/eui-tabbed-content.js.map +1 -1
- package/dist/components/eui-tabs.js +5 -25
- package/dist/components/eui-tabs.js.map +1 -1
- package/dist/components/eui-text-align.js +5 -15
- package/dist/components/eui-text-align.js.map +1 -1
- package/dist/components/eui-text-area.js +5 -30
- package/dist/components/eui-text-area.js.map +1 -1
- package/dist/components/eui-text-color.js +5 -27
- package/dist/components/eui-text-color.js.map +1 -1
- package/dist/components/eui-text.js +5 -40
- package/dist/components/eui-text.js.map +1 -1
- package/dist/components/eui-title.js +5 -17
- package/dist/components/eui-title.js.map +1 -1
- package/dist/components/eui-toast.js +5 -62
- package/dist/components/eui-toast.js.map +1 -1
- package/dist/components/eui-tool-tip-popover.js +27 -33
- package/dist/components/eui-tool-tip-popover.js.map +1 -1
- package/dist/components/eui-tool-tip.js +161 -218
- package/dist/components/eui-tool-tip.js.map +1 -1
- package/dist/components/text-block.js +5 -39
- package/dist/components/text-block.js.map +1 -1
- package/dist/helpers/class-names.js.map +1 -1
- package/dist/helpers/eui-palette.js.map +1 -1
- package/dist/helpers/get-eui-config.js +6 -12
- package/dist/helpers/get-eui-config.js.map +1 -1
- package/dist/helpers/get-range-tick.js.map +1 -1
- package/dist/helpers/inline-styles.js.map +1 -1
- package/dist/helpers/is-within-number.js.map +1 -1
- package/dist/helpers/use-state.js +10 -17
- package/dist/helpers/use-state.js.map +1 -1
- package/dist/i18n/util.js.map +1 -1
- package/dist/modifiers/outside-click-detector.js +16 -12
- package/dist/modifiers/outside-click-detector.js.map +1 -1
- package/dist/modifiers/resize-observer.js +9 -15
- package/dist/modifiers/resize-observer.js.map +1 -1
- package/dist/modifiers/use-is-within-breakpoints.js.map +1 -1
- package/dist/services/eui-config.js +8 -14
- package/dist/services/eui-config.js.map +1 -1
- package/dist/services/eui-i18n.js +13 -8
- package/dist/services/eui-i18n.js.map +1 -1
- package/dist/services/eui-toaster.js +13 -13
- package/dist/services/eui-toaster.js.map +1 -1
- package/dist/utils/accesibility/accessible-click-keys.js.map +1 -1
- package/dist/utils/accesibility/cascading-menu-keys.js.map +1 -1
- package/dist/utils/accesibility/combo-box-keys.js.map +1 -1
- package/dist/utils/breakpoint.js.map +1 -1
- package/dist/utils/code/utils.js.map +1 -1
- package/dist/utils/color/eui_palettes.js.map +1 -1
- package/dist/utils/css-mappings/eui-avatar.js.map +1 -1
- package/dist/utils/css-mappings/eui-badge.js.map +1 -1
- package/dist/utils/css-mappings/eui-button-group-button.js.map +1 -1
- package/dist/utils/css-mappings/eui-button-group.js.map +1 -1
- package/dist/utils/css-mappings/eui-range-levels.js.map +1 -1
- package/dist/utils/css-mappings/index.js.map +1 -1
- package/dist/utils/markdown/markdown-actions.js +20 -3
- package/dist/utils/markdown/markdown-actions.js.map +1 -1
- package/dist/utils/markdown/plugins/markdown-add-components/processor.js.map +1 -1
- package/dist/utils/markdown/plugins/markdown-default-plugins/parsing-plugins.js.map +1 -1
- package/dist/utils/markdown/plugins/markdown-default-plugins/plugins.js.map +1 -1
- package/dist/utils/markdown/plugins/markdown-default-plugins/processing-plugins.js.map +1 -1
- package/dist/utils/markdown/plugins/markdown-default-plugins/ui-plugins.js.map +1 -1
- package/dist/utils/markdown/remark/remark-prismjs.js.map +1 -1
- package/dist/utils/timer.js +26 -30
- package/dist/utils/timer.js.map +1 -1
- package/package.json +12 -10
- package/declarations/-private/random-id.d.ts +0 -9
- package/declarations/-private/random-id.d.ts.map +0 -1
- package/declarations/components/common.d.ts +0 -42
- package/declarations/components/common.d.ts.map +0 -1
- package/declarations/components/eui-accordion.d.ts +0 -101
- package/declarations/components/eui-accordion.d.ts.map +0 -1
- package/declarations/components/eui-auto-sizer.d.ts +0 -64
- package/declarations/components/eui-auto-sizer.d.ts.map +0 -1
- package/declarations/components/eui-avatar.d.ts +0 -22
- package/declarations/components/eui-avatar.d.ts.map +0 -1
- package/declarations/components/eui-badge-group.d.ts +0 -23
- package/declarations/components/eui-badge-group.d.ts.map +0 -1
- package/declarations/components/eui-badge.d.ts +0 -30
- package/declarations/components/eui-badge.d.ts.map +0 -1
- package/declarations/components/eui-beta-badge.d.ts +0 -63
- package/declarations/components/eui-beta-badge.d.ts.map +0 -1
- package/declarations/components/eui-bottom-bar.d.ts +0 -35
- package/declarations/components/eui-bottom-bar.d.ts.map +0 -1
- package/declarations/components/eui-breadcrumbs.d.ts +0 -70
- package/declarations/components/eui-breadcrumbs.d.ts.map +0 -1
- package/declarations/components/eui-button-content.d.ts +0 -21
- package/declarations/components/eui-button-content.d.ts.map +0 -1
- package/declarations/components/eui-button-empty.d.ts +0 -33
- package/declarations/components/eui-button-empty.d.ts.map +0 -1
- package/declarations/components/eui-button-group-button.d.ts +0 -29
- package/declarations/components/eui-button-group-button.d.ts.map +0 -1
- package/declarations/components/eui-button-group.d.ts +0 -41
- package/declarations/components/eui-button-group.d.ts.map +0 -1
- package/declarations/components/eui-button-icon.d.ts +0 -25
- package/declarations/components/eui-button-icon.d.ts.map +0 -1
- package/declarations/components/eui-button.d.ts +0 -34
- package/declarations/components/eui-button.d.ts.map +0 -1
- package/declarations/components/eui-call-out.d.ts +0 -21
- package/declarations/components/eui-call-out.d.ts.map +0 -1
- package/declarations/components/eui-card-select.d.ts +0 -29
- package/declarations/components/eui-card-select.d.ts.map +0 -1
- package/declarations/components/eui-card.d.ts +0 -68
- package/declarations/components/eui-card.d.ts.map +0 -1
- package/declarations/components/eui-checkable-card.d.ts +0 -21
- package/declarations/components/eui-checkable-card.d.ts.map +0 -1
- package/declarations/components/eui-checkbox-group.d.ts +0 -27
- package/declarations/components/eui-checkbox-group.d.ts.map +0 -1
- package/declarations/components/eui-checkbox.d.ts +0 -27
- package/declarations/components/eui-checkbox.d.ts.map +0 -1
- package/declarations/components/eui-code-block/controls.d.ts +0 -13
- package/declarations/components/eui-code-block/controls.d.ts.map +0 -1
- package/declarations/components/eui-code-block/full-screen-display.d.ts +0 -11
- package/declarations/components/eui-code-block/full-screen-display.d.ts.map +0 -1
- package/declarations/components/eui-code-block/virtualized.d.ts +0 -20
- package/declarations/components/eui-code-block/virtualized.d.ts.map +0 -1
- package/declarations/components/eui-code-block.d.ts +0 -92
- package/declarations/components/eui-code-block.d.ts.map +0 -1
- package/declarations/components/eui-code.d.ts +0 -21
- package/declarations/components/eui-code.d.ts.map +0 -1
- package/declarations/components/eui-collapsible-nav-group.d.ts +0 -26
- package/declarations/components/eui-collapsible-nav-group.d.ts.map +0 -1
- package/declarations/components/eui-collapsible-nav.d.ts +0 -66
- package/declarations/components/eui-collapsible-nav.d.ts.map +0 -1
- package/declarations/components/eui-combo-box/create-option.d.ts +0 -16
- package/declarations/components/eui-combo-box/create-option.d.ts.map +0 -1
- package/declarations/components/eui-combo-box/group.d.ts +0 -16
- package/declarations/components/eui-combo-box/group.d.ts.map +0 -1
- package/declarations/components/eui-combo-box/no-matches-message.d.ts +0 -11
- package/declarations/components/eui-combo-box/no-matches-message.d.ts.map +0 -1
- package/declarations/components/eui-combo-box/options.d.ts +0 -12
- package/declarations/components/eui-combo-box/options.d.ts.map +0 -1
- package/declarations/components/eui-combo-box/search-message.d.ts +0 -11
- package/declarations/components/eui-combo-box/search-message.d.ts.map +0 -1
- package/declarations/components/eui-combo-box/trigger/input.d.ts +0 -6
- package/declarations/components/eui-combo-box/trigger/input.d.ts.map +0 -1
- package/declarations/components/eui-combo-box/trigger.d.ts +0 -4
- package/declarations/components/eui-combo-box/trigger.d.ts.map +0 -1
- package/declarations/components/eui-combo-box-pill.d.ts +0 -22
- package/declarations/components/eui-combo-box-pill.d.ts.map +0 -1
- package/declarations/components/eui-combo-box.d.ts +0 -69
- package/declarations/components/eui-combo-box.d.ts.map +0 -1
- package/declarations/components/eui-comment-list.d.ts +0 -10
- package/declarations/components/eui-comment-list.d.ts.map +0 -1
- package/declarations/components/eui-comment-timeline.d.ts +0 -15
- package/declarations/components/eui-comment-timeline.d.ts.map +0 -1
- package/declarations/components/eui-comment.d.ts +0 -20
- package/declarations/components/eui-comment.d.ts.map +0 -1
- package/declarations/components/eui-confirm-modal.d.ts +0 -23
- package/declarations/components/eui-confirm-modal.d.ts.map +0 -1
- package/declarations/components/eui-context-menu-item.d.ts +0 -25
- package/declarations/components/eui-context-menu-item.d.ts.map +0 -1
- package/declarations/components/eui-context-menu-panel.d.ts +0 -10
- package/declarations/components/eui-context-menu-panel.d.ts.map +0 -1
- package/declarations/components/eui-copy.d.ts +0 -36
- package/declarations/components/eui-copy.d.ts.map +0 -1
- package/declarations/components/eui-described-form-group.d.ts +0 -27
- package/declarations/components/eui-described-form-group.d.ts.map +0 -1
- package/declarations/components/eui-description-list-description.d.ts +0 -10
- package/declarations/components/eui-description-list-description.d.ts.map +0 -1
- package/declarations/components/eui-description-list-title.d.ts +0 -10
- package/declarations/components/eui-description-list-title.d.ts.map +0 -1
- package/declarations/components/eui-description-list.d.ts +0 -27
- package/declarations/components/eui-description-list.d.ts.map +0 -1
- package/declarations/components/eui-dual-range.d.ts +0 -141
- package/declarations/components/eui-dual-range.d.ts.map +0 -1
- package/declarations/components/eui-empty-prompt.d.ts +0 -29
- package/declarations/components/eui-empty-prompt.d.ts.map +0 -1
- package/declarations/components/eui-field-number.d.ts +0 -57
- package/declarations/components/eui-field-number.d.ts.map +0 -1
- package/declarations/components/eui-field-password.d.ts +0 -28
- package/declarations/components/eui-field-password.d.ts.map +0 -1
- package/declarations/components/eui-field-search.d.ts +0 -52
- package/declarations/components/eui-field-search.d.ts.map +0 -1
- package/declarations/components/eui-field-text.d.ts +0 -29
- package/declarations/components/eui-field-text.d.ts.map +0 -1
- package/declarations/components/eui-file-picker.d.ts +0 -60
- package/declarations/components/eui-file-picker.d.ts.map +0 -1
- package/declarations/components/eui-flex-grid.d.ts +0 -33
- package/declarations/components/eui-flex-grid.d.ts.map +0 -1
- package/declarations/components/eui-flex-group.d.ts +0 -20
- package/declarations/components/eui-flex-group.d.ts.map +0 -1
- package/declarations/components/eui-flex-item.d.ts +0 -15
- package/declarations/components/eui-flex-item.d.ts.map +0 -1
- package/declarations/components/eui-flyout-body.d.ts +0 -12
- package/declarations/components/eui-flyout-body.d.ts.map +0 -1
- package/declarations/components/eui-flyout-footer.d.ts +0 -10
- package/declarations/components/eui-flyout-footer.d.ts.map +0 -1
- package/declarations/components/eui-flyout-header.d.ts +0 -13
- package/declarations/components/eui-flyout-header.d.ts.map +0 -1
- package/declarations/components/eui-flyout.d.ts +0 -87
- package/declarations/components/eui-flyout.d.ts.map +0 -1
- package/declarations/components/eui-form-control-layout-clear-button.d.ts +0 -14
- package/declarations/components/eui-form-control-layout-clear-button.d.ts.map +0 -1
- package/declarations/components/eui-form-control-layout-custom-icon.d.ts +0 -16
- package/declarations/components/eui-form-control-layout-custom-icon.d.ts.map +0 -1
- package/declarations/components/eui-form-control-layout-delimited.d.ts +0 -25
- package/declarations/components/eui-form-control-layout-delimited.d.ts.map +0 -1
- package/declarations/components/eui-form-control-layout-icons.d.ts +0 -17
- package/declarations/components/eui-form-control-layout-icons.d.ts.map +0 -1
- package/declarations/components/eui-form-control-layout.d.ts +0 -30
- package/declarations/components/eui-form-control-layout.d.ts.map +0 -1
- package/declarations/components/eui-form-error-text.d.ts +0 -10
- package/declarations/components/eui-form-error-text.d.ts.map +0 -1
- package/declarations/components/eui-form-fieldset.d.ts +0 -18
- package/declarations/components/eui-form-fieldset.d.ts.map +0 -1
- package/declarations/components/eui-form-help-text.d.ts +0 -13
- package/declarations/components/eui-form-help-text.d.ts.map +0 -1
- package/declarations/components/eui-form-label.d.ts +0 -17
- package/declarations/components/eui-form-label.d.ts.map +0 -1
- package/declarations/components/eui-form-legend.d.ts +0 -14
- package/declarations/components/eui-form-legend.d.ts.map +0 -1
- package/declarations/components/eui-form-row.d.ts +0 -35
- package/declarations/components/eui-form-row.d.ts.map +0 -1
- package/declarations/components/eui-form.d.ts +0 -20
- package/declarations/components/eui-form.d.ts.map +0 -1
- package/declarations/components/eui-global-toast-list.d.ts +0 -45
- package/declarations/components/eui-global-toast-list.d.ts.map +0 -1
- package/declarations/components/eui-header-alert.d.ts +0 -14
- package/declarations/components/eui-header-alert.d.ts.map +0 -1
- package/declarations/components/eui-header-breadcrumbs.d.ts +0 -14
- package/declarations/components/eui-header-breadcrumbs.d.ts.map +0 -1
- package/declarations/components/eui-header-link.d.ts +0 -14
- package/declarations/components/eui-header-link.d.ts.map +0 -1
- package/declarations/components/eui-header-links.d.ts +0 -20
- package/declarations/components/eui-header-links.d.ts.map +0 -1
- package/declarations/components/eui-header-logo.d.ts +0 -17
- package/declarations/components/eui-header-logo.d.ts.map +0 -1
- package/declarations/components/eui-header-section-item-button.d.ts +0 -26
- package/declarations/components/eui-header-section-item-button.d.ts.map +0 -1
- package/declarations/components/eui-header-section-item.d.ts +0 -14
- package/declarations/components/eui-header-section-item.d.ts.map +0 -1
- package/declarations/components/eui-header-section.d.ts +0 -15
- package/declarations/components/eui-header-section.d.ts.map +0 -1
- package/declarations/components/eui-header.d.ts +0 -23
- package/declarations/components/eui-header.d.ts.map +0 -1
- package/declarations/components/eui-health.d.ts +0 -21
- package/declarations/components/eui-health.d.ts.map +0 -1
- package/declarations/components/eui-hide-for.d.ts +0 -21
- package/declarations/components/eui-hide-for.d.ts.map +0 -1
- package/declarations/components/eui-horizontal-rule.d.ts +0 -12
- package/declarations/components/eui-horizontal-rule.d.ts.map +0 -1
- package/declarations/components/eui-i18n/render.d.ts +0 -12
- package/declarations/components/eui-i18n/render.d.ts.map +0 -1
- package/declarations/components/eui-i18n.d.ts +0 -32
- package/declarations/components/eui-i18n.d.ts.map +0 -1
- package/declarations/components/eui-icon-tip.d.ts +0 -29
- package/declarations/components/eui-icon-tip.d.ts.map +0 -1
- package/declarations/components/eui-icon.d.ts +0 -80
- package/declarations/components/eui-icon.d.ts.map +0 -1
- package/declarations/components/eui-image.d.ts +0 -62
- package/declarations/components/eui-image.d.ts.map +0 -1
- package/declarations/components/eui-inner-text.d.ts +0 -21
- package/declarations/components/eui-inner-text.d.ts.map +0 -1
- package/declarations/components/eui-input-popover.d.ts +0 -44
- package/declarations/components/eui-input-popover.d.ts.map +0 -1
- package/declarations/components/eui-key-pad-menu-item.d.ts +0 -26
- package/declarations/components/eui-key-pad-menu-item.d.ts.map +0 -1
- package/declarations/components/eui-key-pad-menu.d.ts +0 -23
- package/declarations/components/eui-key-pad-menu.d.ts.map +0 -1
- package/declarations/components/eui-link.d.ts +0 -18
- package/declarations/components/eui-link.d.ts.map +0 -1
- package/declarations/components/eui-list-group-item.d.ts +0 -26
- package/declarations/components/eui-list-group-item.d.ts.map +0 -1
- package/declarations/components/eui-list-group.d.ts +0 -16
- package/declarations/components/eui-list-group.d.ts.map +0 -1
- package/declarations/components/eui-loading-content.d.ts +0 -14
- package/declarations/components/eui-loading-content.d.ts.map +0 -1
- package/declarations/components/eui-loading-logo.d.ts +0 -13
- package/declarations/components/eui-loading-logo.d.ts.map +0 -1
- package/declarations/components/eui-loading-spinner.d.ts +0 -11
- package/declarations/components/eui-loading-spinner.d.ts.map +0 -1
- package/declarations/components/eui-markdown-editor-drop-zone.d.ts +0 -17
- package/declarations/components/eui-markdown-editor-drop-zone.d.ts.map +0 -1
- package/declarations/components/eui-markdown-editor-footer/icons/markdown-logo.d.ts +0 -10
- package/declarations/components/eui-markdown-editor-footer/icons/markdown-logo.d.ts.map +0 -1
- package/declarations/components/eui-markdown-editor-footer.d.ts +0 -13
- package/declarations/components/eui-markdown-editor-footer.d.ts.map +0 -1
- package/declarations/components/eui-markdown-editor-text-area.d.ts +0 -14
- package/declarations/components/eui-markdown-editor-text-area.d.ts.map +0 -1
- package/declarations/components/eui-markdown-editor-toolbar/icons/markdown-checkmark.d.ts +0 -11
- package/declarations/components/eui-markdown-editor-toolbar/icons/markdown-checkmark.d.ts.map +0 -1
- package/declarations/components/eui-markdown-editor-toolbar.d.ts +0 -50
- package/declarations/components/eui-markdown-editor-toolbar.d.ts.map +0 -1
- package/declarations/components/eui-markdown-editor.d.ts +0 -95
- package/declarations/components/eui-markdown-editor.d.ts.map +0 -1
- package/declarations/components/eui-markdown-format/markdown-checkbox.d.ts +0 -24
- package/declarations/components/eui-markdown-format/markdown-checkbox.d.ts.map +0 -1
- package/declarations/components/eui-markdown-format/markdown-code-block.d.ts +0 -15
- package/declarations/components/eui-markdown-format/markdown-code-block.d.ts.map +0 -1
- package/declarations/components/eui-markdown-format/markdown-code.d.ts +0 -13
- package/declarations/components/eui-markdown-format/markdown-code.d.ts.map +0 -1
- package/declarations/components/eui-markdown-format/markdown-tooltip.d.ts +0 -15
- package/declarations/components/eui-markdown-format/markdown-tooltip.d.ts.map +0 -1
- package/declarations/components/eui-markdown-format.d.ts +0 -23
- package/declarations/components/eui-markdown-format.d.ts.map +0 -1
- package/declarations/components/eui-modal-body.d.ts +0 -10
- package/declarations/components/eui-modal-body.d.ts.map +0 -1
- package/declarations/components/eui-modal-footer.d.ts +0 -10
- package/declarations/components/eui-modal-footer.d.ts.map +0 -1
- package/declarations/components/eui-modal-header-title.d.ts +0 -10
- package/declarations/components/eui-modal-header-title.d.ts.map +0 -1
- package/declarations/components/eui-modal-header.d.ts +0 -10
- package/declarations/components/eui-modal-header.d.ts.map +0 -1
- package/declarations/components/eui-modal.d.ts +0 -27
- package/declarations/components/eui-modal.d.ts.map +0 -1
- package/declarations/components/eui-notification-badge.d.ts +0 -15
- package/declarations/components/eui-notification-badge.d.ts.map +0 -1
- package/declarations/components/eui-notification-event-messages.d.ts +0 -13
- package/declarations/components/eui-notification-event-messages.d.ts.map +0 -1
- package/declarations/components/eui-notification-event-meta.d.ts +0 -24
- package/declarations/components/eui-notification-event-meta.d.ts.map +0 -1
- package/declarations/components/eui-notification-event-read-button.d.ts +0 -13
- package/declarations/components/eui-notification-event-read-button.d.ts.map +0 -1
- package/declarations/components/eui-notification-event-read-icon.d.ts +0 -14
- package/declarations/components/eui-notification-event-read-icon.d.ts.map +0 -1
- package/declarations/components/eui-notification-event.d.ts +0 -40
- package/declarations/components/eui-notification-event.d.ts.map +0 -1
- package/declarations/components/eui-overlay-mask.d.ts +0 -20
- package/declarations/components/eui-overlay-mask.d.ts.map +0 -1
- package/declarations/components/eui-page-body.d.ts +0 -22
- package/declarations/components/eui-page-body.d.ts.map +0 -1
- package/declarations/components/eui-page-content-body.d.ts +0 -18
- package/declarations/components/eui-page-content-body.d.ts.map +0 -1
- package/declarations/components/eui-page-content-header-section.d.ts +0 -10
- package/declarations/components/eui-page-content-header-section.d.ts.map +0 -1
- package/declarations/components/eui-page-content-header.d.ts +0 -13
- package/declarations/components/eui-page-content-header.d.ts.map +0 -1
- package/declarations/components/eui-page-content.d.ts +0 -22
- package/declarations/components/eui-page-content.d.ts.map +0 -1
- package/declarations/components/eui-page-header-content.d.ts +0 -98
- package/declarations/components/eui-page-header-content.d.ts.map +0 -1
- package/declarations/components/eui-page-header-section.d.ts +0 -10
- package/declarations/components/eui-page-header-section.d.ts.map +0 -1
- package/declarations/components/eui-page-header.d.ts +0 -89
- package/declarations/components/eui-page-header.d.ts.map +0 -1
- package/declarations/components/eui-page-side-bar.d.ts +0 -15
- package/declarations/components/eui-page-side-bar.d.ts.map +0 -1
- package/declarations/components/eui-page-template.d.ts +0 -77
- package/declarations/components/eui-page-template.d.ts.map +0 -1
- package/declarations/components/eui-page.d.ts +0 -17
- package/declarations/components/eui-page.d.ts.map +0 -1
- package/declarations/components/eui-pagination/button-wrapper.d.ts +0 -16
- package/declarations/components/eui-pagination/button-wrapper.d.ts.map +0 -1
- package/declarations/components/eui-pagination/next-button.d.ts +0 -19
- package/declarations/components/eui-pagination/next-button.d.ts.map +0 -1
- package/declarations/components/eui-pagination/previous-button.d.ts +0 -18
- package/declarations/components/eui-pagination/previous-button.d.ts.map +0 -1
- package/declarations/components/eui-pagination-button.d.ts +0 -20
- package/declarations/components/eui-pagination-button.d.ts.map +0 -1
- package/declarations/components/eui-pagination.d.ts +0 -79
- package/declarations/components/eui-pagination.d.ts.map +0 -1
- package/declarations/components/eui-panel.d.ts +0 -45
- package/declarations/components/eui-panel.d.ts.map +0 -1
- package/declarations/components/eui-popover-footer.d.ts +0 -14
- package/declarations/components/eui-popover-footer.d.ts.map +0 -1
- package/declarations/components/eui-popover-title.d.ts +0 -14
- package/declarations/components/eui-popover-title.d.ts.map +0 -1
- package/declarations/components/eui-popover.d.ts +0 -207
- package/declarations/components/eui-popover.d.ts.map +0 -1
- package/declarations/components/eui-portal.d.ts +0 -28
- package/declarations/components/eui-portal.d.ts.map +0 -1
- package/declarations/components/eui-progress.d.ts +0 -22
- package/declarations/components/eui-progress.d.ts.map +0 -1
- package/declarations/components/eui-radio-group.d.ts +0 -25
- package/declarations/components/eui-radio-group.d.ts.map +0 -1
- package/declarations/components/eui-radio.d.ts +0 -24
- package/declarations/components/eui-radio.d.ts.map +0 -1
- package/declarations/components/eui-range-highlight.d.ts +0 -16
- package/declarations/components/eui-range-highlight.d.ts.map +0 -1
- package/declarations/components/eui-range-input.d.ts +0 -25
- package/declarations/components/eui-range-input.d.ts.map +0 -1
- package/declarations/components/eui-range-label.d.ts +0 -13
- package/declarations/components/eui-range-label.d.ts.map +0 -1
- package/declarations/components/eui-range-levels.d.ts +0 -27
- package/declarations/components/eui-range-levels.d.ts.map +0 -1
- package/declarations/components/eui-range-slider.d.ts +0 -25
- package/declarations/components/eui-range-slider.d.ts.map +0 -1
- package/declarations/components/eui-range-thumb.d.ts +0 -15
- package/declarations/components/eui-range-thumb.d.ts.map +0 -1
- package/declarations/components/eui-range-ticks.d.ts +0 -29
- package/declarations/components/eui-range-ticks.d.ts.map +0 -1
- package/declarations/components/eui-range-tooltip.d.ts +0 -33
- package/declarations/components/eui-range-tooltip.d.ts.map +0 -1
- package/declarations/components/eui-range-track.d.ts +0 -43
- package/declarations/components/eui-range-track.d.ts.map +0 -1
- package/declarations/components/eui-range-wrapper.d.ts +0 -14
- package/declarations/components/eui-range-wrapper.d.ts.map +0 -1
- package/declarations/components/eui-range.d.ts +0 -112
- package/declarations/components/eui-range.d.ts.map +0 -1
- package/declarations/components/eui-select.d.ts +0 -31
- package/declarations/components/eui-select.d.ts.map +0 -1
- package/declarations/components/eui-selectable-list-item.d.ts +0 -15
- package/declarations/components/eui-selectable-list-item.d.ts.map +0 -1
- package/declarations/components/eui-show-for.d.ts +0 -30
- package/declarations/components/eui-show-for.d.ts.map +0 -1
- package/declarations/components/eui-side-nav-item/button.d.ts +0 -16
- package/declarations/components/eui-side-nav-item/button.d.ts.map +0 -1
- package/declarations/components/eui-side-nav-item.d.ts +0 -32
- package/declarations/components/eui-side-nav-item.d.ts.map +0 -1
- package/declarations/components/eui-side-nav.d.ts +0 -48
- package/declarations/components/eui-side-nav.d.ts.map +0 -1
- package/declarations/components/eui-spacer.d.ts +0 -11
- package/declarations/components/eui-spacer.d.ts.map +0 -1
- package/declarations/components/eui-split-panel/inner.d.ts +0 -18
- package/declarations/components/eui-split-panel/inner.d.ts.map +0 -1
- package/declarations/components/eui-split-panel/outer.d.ts +0 -22
- package/declarations/components/eui-split-panel/outer.d.ts.map +0 -1
- package/declarations/components/eui-stat/description.d.ts +0 -15
- package/declarations/components/eui-stat/description.d.ts.map +0 -1
- package/declarations/components/eui-stat/title.d.ts +0 -17
- package/declarations/components/eui-stat/title.d.ts.map +0 -1
- package/declarations/components/eui-stat.d.ts +0 -28
- package/declarations/components/eui-stat.d.ts.map +0 -1
- package/declarations/components/eui-step-horizontal.d.ts +0 -38
- package/declarations/components/eui-step-horizontal.d.ts.map +0 -1
- package/declarations/components/eui-step-number.d.ts +0 -31
- package/declarations/components/eui-step-number.d.ts.map +0 -1
- package/declarations/components/eui-step.d.ts +0 -18
- package/declarations/components/eui-step.d.ts.map +0 -1
- package/declarations/components/eui-steps-horizontal.d.ts +0 -10
- package/declarations/components/eui-steps-horizontal.d.ts.map +0 -1
- package/declarations/components/eui-steps.d.ts +0 -13
- package/declarations/components/eui-steps.d.ts.map +0 -1
- package/declarations/components/eui-sub-steps.d.ts +0 -10
- package/declarations/components/eui-sub-steps.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/date-popover/absolute-tab.d.ts +0 -27
- package/declarations/components/eui-super-date-picker/date-popover/absolute-tab.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/date-popover/datetime-picker.d.ts +0 -65
- package/declarations/components/eui-super-date-picker/date-popover/datetime-picker.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/date-popover/eui-date-popover-button.d.ts +0 -32
- package/declarations/components/eui-super-date-picker/date-popover/eui-date-popover-button.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/date-popover/eui-date-popover-content.d.ts +0 -48
- package/declarations/components/eui-super-date-picker/date-popover/eui-date-popover-content.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/date-popover/now-tab.d.ts +0 -10
- package/declarations/components/eui-super-date-picker/date-popover/now-tab.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/date-popover/relative-tab.d.ts +0 -31
- package/declarations/components/eui-super-date-picker/date-popover/relative-tab.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/eui-date-picker-range.d.ts +0 -18
- package/declarations/components/eui-super-date-picker/eui-date-picker-range.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-commonly-used-time-ranges.d.ts +0 -14
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-commonly-used-time-ranges.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.d.ts +0 -37
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-recently-used.d.ts +0 -14
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-recently-used.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover.d.ts +0 -30
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/eui-super-update-button.d.ts +0 -20
- package/declarations/components/eui-super-date-picker/eui-super-update-button.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/utils/date-utils.d.ts +0 -15
- package/declarations/components/eui-super-date-picker/utils/date-utils.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/utils/index.d.ts +0 -31
- package/declarations/components/eui-super-date-picker/utils/index.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/utils/pretty-duration.d.ts +0 -25
- package/declarations/components/eui-super-date-picker/utils/pretty-duration.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/utils/quick-select.d.ts +0 -14
- package/declarations/components/eui-super-date-picker/utils/quick-select.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/utils/time-options.d.ts +0 -20
- package/declarations/components/eui-super-date-picker/utils/time-options.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker.d.ts +0 -93
- package/declarations/components/eui-super-date-picker.d.ts.map +0 -1
- package/declarations/components/eui-switch.d.ts +0 -30
- package/declarations/components/eui-switch.d.ts.map +0 -1
- package/declarations/components/eui-tab.d.ts +0 -21
- package/declarations/components/eui-tab.d.ts.map +0 -1
- package/declarations/components/eui-tabbed-content.d.ts +0 -65
- package/declarations/components/eui-tabbed-content.d.ts.map +0 -1
- package/declarations/components/eui-tabs.d.ts +0 -18
- package/declarations/components/eui-tabs.d.ts.map +0 -1
- package/declarations/components/eui-text-align.d.ts +0 -13
- package/declarations/components/eui-text-align.d.ts.map +0 -1
- package/declarations/components/eui-text-area.d.ts +0 -22
- package/declarations/components/eui-text-area.d.ts.map +0 -1
- package/declarations/components/eui-text-color.d.ts +0 -14
- package/declarations/components/eui-text-color.d.ts.map +0 -1
- package/declarations/components/eui-text.d.ts +0 -19
- package/declarations/components/eui-text.d.ts.map +0 -1
- package/declarations/components/eui-title.d.ts +0 -17
- package/declarations/components/eui-title.d.ts.map +0 -1
- package/declarations/components/eui-toast.d.ts +0 -35
- package/declarations/components/eui-toast.d.ts.map +0 -1
- package/declarations/components/eui-tool-tip-popover.d.ts +0 -26
- package/declarations/components/eui-tool-tip-popover.d.ts.map +0 -1
- package/declarations/components/eui-tool-tip.d.ts +0 -108
- package/declarations/components/eui-tool-tip.d.ts.map +0 -1
- package/declarations/components/text-block.d.ts +0 -13
- package/declarations/components/text-block.d.ts.map +0 -1
- package/declarations/components.d.ts +0 -150
- package/declarations/components.d.ts.map +0 -1
- package/declarations/helpers/arg-or-default.d.ts +0 -21
- package/declarations/helpers/arg-or-default.d.ts.map +0 -1
- package/declarations/helpers/cast-to.d.ts +0 -14
- package/declarations/helpers/cast-to.d.ts.map +0 -1
- package/declarations/helpers/class-names.d.ts +0 -47
- package/declarations/helpers/class-names.d.ts.map +0 -1
- package/declarations/helpers/eui-page-restrict-width.d.ts +0 -30
- package/declarations/helpers/eui-page-restrict-width.d.ts.map +0 -1
- package/declarations/helpers/eui-palette.d.ts +0 -25
- package/declarations/helpers/eui-palette.d.ts.map +0 -1
- package/declarations/helpers/get-eui-config.d.ts +0 -14
- package/declarations/helpers/get-eui-config.d.ts.map +0 -1
- package/declarations/helpers/get-range-tick.d.ts +0 -21
- package/declarations/helpers/get-range-tick.d.ts.map +0 -1
- package/declarations/helpers/hex-to-rgb.d.ts +0 -10
- package/declarations/helpers/hex-to-rgb.d.ts.map +0 -1
- package/declarations/helpers/inline-styles.d.ts +0 -19
- package/declarations/helpers/inline-styles.d.ts.map +0 -1
- package/declarations/helpers/is-color-dark.d.ts +0 -10
- package/declarations/helpers/is-color-dark.d.ts.map +0 -1
- package/declarations/helpers/is-item-open.d.ts +0 -16
- package/declarations/helpers/is-item-open.d.ts.map +0 -1
- package/declarations/helpers/is-valid-hex.d.ts +0 -10
- package/declarations/helpers/is-valid-hex.d.ts.map +0 -1
- package/declarations/helpers/is-within-number.d.ts +0 -15
- package/declarations/helpers/is-within-number.d.ts.map +0 -1
- package/declarations/helpers/merge.d.ts +0 -9
- package/declarations/helpers/merge.d.ts.map +0 -1
- package/declarations/helpers/nullish.d.ts +0 -10
- package/declarations/helpers/nullish.d.ts.map +0 -1
- package/declarations/helpers/starts-with.d.ts +0 -10
- package/declarations/helpers/starts-with.d.ts.map +0 -1
- package/declarations/helpers/to-initials.d.ts +0 -11
- package/declarations/helpers/to-initials.d.ts.map +0 -1
- package/declarations/helpers/type-of.d.ts +0 -10
- package/declarations/helpers/type-of.d.ts.map +0 -1
- package/declarations/helpers/unique-id.d.ts +0 -10
- package/declarations/helpers/unique-id.d.ts.map +0 -1
- package/declarations/helpers/use-state.d.ts +0 -21
- package/declarations/helpers/use-state.d.ts.map +0 -1
- package/declarations/helpers.d.ts +0 -9
- package/declarations/helpers.d.ts.map +0 -1
- package/declarations/i18n/util.d.ts +0 -12
- package/declarations/i18n/util.d.ts.map +0 -1
- package/declarations/modifiers/mutation-observer.d.ts +0 -12
- package/declarations/modifiers/mutation-observer.d.ts.map +0 -1
- package/declarations/modifiers/open-collapsible-nav.d.ts +0 -9
- package/declarations/modifiers/open-collapsible-nav.d.ts.map +0 -1
- package/declarations/modifiers/outside-click-detector.d.ts +0 -38
- package/declarations/modifiers/outside-click-detector.d.ts.map +0 -1
- package/declarations/modifiers/resize-observer.d.ts +0 -36
- package/declarations/modifiers/resize-observer.d.ts.map +0 -1
- package/declarations/modifiers/screen-reader-only.d.ts +0 -9
- package/declarations/modifiers/screen-reader-only.d.ts.map +0 -1
- package/declarations/modifiers/simple-style.d.ts +0 -12
- package/declarations/modifiers/simple-style.d.ts.map +0 -1
- package/declarations/modifiers/use-is-within-breakpoints.d.ts +0 -15
- package/declarations/modifiers/use-is-within-breakpoints.d.ts.map +0 -1
- package/declarations/modifiers/validatable-control.d.ts +0 -9
- package/declarations/modifiers/validatable-control.d.ts.map +0 -1
- package/declarations/modifiers.d.ts +0 -8
- package/declarations/modifiers.d.ts.map +0 -1
- package/declarations/services/eui-config.d.ts +0 -15
- package/declarations/services/eui-config.d.ts.map +0 -1
- package/declarations/services/eui-i18n.d.ts +0 -24
- package/declarations/services/eui-i18n.d.ts.map +0 -1
- package/declarations/services/eui-toaster.d.ts +0 -15
- package/declarations/services/eui-toaster.d.ts.map +0 -1
- package/declarations/template-registry.d.ts +0 -476
- package/declarations/template-registry.d.ts.map +0 -1
- package/declarations/utils/accesibility/accessible-click-keys.d.ts +0 -5
- package/declarations/utils/accesibility/accessible-click-keys.d.ts.map +0 -1
- package/declarations/utils/accesibility/cascading-menu-keys.d.ts +0 -9
- package/declarations/utils/accesibility/cascading-menu-keys.d.ts.map +0 -1
- package/declarations/utils/accesibility/combo-box-keys.d.ts +0 -8
- package/declarations/utils/accesibility/combo-box-keys.d.ts.map +0 -1
- package/declarations/utils/accesibility/index.d.ts +0 -4
- package/declarations/utils/accesibility/index.d.ts.map +0 -1
- package/declarations/utils/breakpoint.d.ts +0 -50
- package/declarations/utils/breakpoint.d.ts.map +0 -1
- package/declarations/utils/browser/browser.d.ts +0 -6
- package/declarations/utils/browser/browser.d.ts.map +0 -1
- package/declarations/utils/browser/index.d.ts +0 -2
- package/declarations/utils/browser/index.d.ts.map +0 -1
- package/declarations/utils/code/utils.d.ts +0 -32
- package/declarations/utils/code/utils.d.ts.map +0 -1
- package/declarations/utils/color/color_palette.d.ts +0 -24
- package/declarations/utils/color/color_palette.d.ts.map +0 -1
- package/declarations/utils/color/eui_palettes.d.ts +0 -37
- package/declarations/utils/color/eui_palettes.d.ts.map +0 -1
- package/declarations/utils/color/index.d.ts +0 -6
- package/declarations/utils/color/index.d.ts.map +0 -1
- package/declarations/utils/copy-to-clipboard.d.ts +0 -2
- package/declarations/utils/copy-to-clipboard.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-accordion.d.ts +0 -12
- package/declarations/utils/css-mappings/eui-accordion.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-avatar.d.ts +0 -23
- package/declarations/utils/css-mappings/eui-avatar.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-badge-group.d.ts +0 -8
- package/declarations/utils/css-mappings/eui-badge-group.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-badge.d.ts +0 -31
- package/declarations/utils/css-mappings/eui-badge.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-beta-badge.d.ts +0 -13
- package/declarations/utils/css-mappings/eui-beta-badge.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-bottom-bar.d.ts +0 -4
- package/declarations/utils/css-mappings/eui-bottom-bar.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-button-empty.d.ts +0 -22
- package/declarations/utils/css-mappings/eui-button-empty.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-button-group-button.d.ts +0 -4
- package/declarations/utils/css-mappings/eui-button-group-button.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-button-group.d.ts +0 -4
- package/declarations/utils/css-mappings/eui-button-group.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-button-icon.d.ts +0 -23
- package/declarations/utils/css-mappings/eui-button-icon.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-button.d.ts +0 -13
- package/declarations/utils/css-mappings/eui-button.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-call-out.d.ts +0 -13
- package/declarations/utils/css-mappings/eui-call-out.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-card-select.d.ts +0 -4
- package/declarations/utils/css-mappings/eui-card-select.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-card.d.ts +0 -9
- package/declarations/utils/css-mappings/eui-card.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-code-block.d.ts +0 -15
- package/declarations/utils/css-mappings/eui-code-block.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-collapsible-nav-group.d.ts +0 -9
- package/declarations/utils/css-mappings/eui-collapsible-nav-group.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-comment-event.d.ts +0 -4
- package/declarations/utils/css-mappings/eui-comment-event.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-comment-timeline-icon.d.ts +0 -7
- package/declarations/utils/css-mappings/eui-comment-timeline-icon.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-context-menu-item.d.ts +0 -15
- package/declarations/utils/css-mappings/eui-context-menu-item.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-described-form-group.d.ts +0 -12
- package/declarations/utils/css-mappings/eui-described-form-group.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-description-list.d.ts +0 -18
- package/declarations/utils/css-mappings/eui-description-list.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-empty-prompt.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-empty-prompt.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-file-picker.d.ts +0 -8
- package/declarations/utils/css-mappings/eui-file-picker.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-flex-grid.d.ts +0 -22
- package/declarations/utils/css-mappings/eui-flex-grid.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-flex-group.d.ts +0 -33
- package/declarations/utils/css-mappings/eui-flex-group.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-flex-item.d.ts +0 -17
- package/declarations/utils/css-mappings/eui-flex-item.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-flyout.d.ts +0 -23
- package/declarations/utils/css-mappings/eui-flyout.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-form-control-layout-clear-button.d.ts +0 -8
- package/declarations/utils/css-mappings/eui-form-control-layout-clear-button.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-form-row.d.ts +0 -12
- package/declarations/utils/css-mappings/eui-form-row.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-global-toast-list.d.ts +0 -8
- package/declarations/utils/css-mappings/eui-global-toast-list.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-header-links.d.ts +0 -18
- package/declarations/utils/css-mappings/eui-header-links.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-header-section-item.d.ts +0 -9
- package/declarations/utils/css-mappings/eui-header-section-item.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-header-section.d.ts +0 -12
- package/declarations/utils/css-mappings/eui-header-section.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-header.d.ts +0 -12
- package/declarations/utils/css-mappings/eui-header.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-health.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-health.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-horizontal-rule.d.ts +0 -18
- package/declarations/utils/css-mappings/eui-horizontal-rule.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-icon.d.ts +0 -494
- package/declarations/utils/css-mappings/eui-icon.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-image.d.ts +0 -22
- package/declarations/utils/css-mappings/eui-image.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-link.d.ts +0 -14
- package/declarations/utils/css-mappings/eui-link.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-list-group-item.d.ts +0 -17
- package/declarations/utils/css-mappings/eui-list-group-item.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-list-group.d.ts +0 -12
- package/declarations/utils/css-mappings/eui-list-group.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-loading-spinner.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-loading-spinner.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-modal.d.ts +0 -7
- package/declarations/utils/css-mappings/eui-modal.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-notification-badge.d.ts +0 -11
- package/declarations/utils/css-mappings/eui-notification-badge.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-page-body.d.ts +0 -16
- package/declarations/utils/css-mappings/eui-page-body.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-page-content-body.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-page-content-body.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-page-content.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-page-content.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-page-header.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-page-header.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-page-side-bar.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-page-side-bar.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-page.d.ts +0 -24
- package/declarations/utils/css-mappings/eui-page.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-panel.d.ts +0 -24
- package/declarations/utils/css-mappings/eui-panel.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-popover-footer.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-popover-footer.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-popover-title.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-popover-title.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-popover.d.ts +0 -22
- package/declarations/utils/css-mappings/eui-popover.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-progress-data.d.ts +0 -3
- package/declarations/utils/css-mappings/eui-progress-data.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-progress.d.ts +0 -50
- package/declarations/utils/css-mappings/eui-progress.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-range-highlight.d.ts +0 -11
- package/declarations/utils/css-mappings/eui-range-highlight.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-range-input.d.ts +0 -8
- package/declarations/utils/css-mappings/eui-range-input.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-range-levels.d.ts +0 -13
- package/declarations/utils/css-mappings/eui-range-levels.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-selectable-list-item.d.ts +0 -7
- package/declarations/utils/css-mappings/eui-selectable-list-item.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-spacer.d.ts +0 -12
- package/declarations/utils/css-mappings/eui-spacer.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-stat.d.ts +0 -17
- package/declarations/utils/css-mappings/eui-stat.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-step-number.d.ts +0 -11
- package/declarations/utils/css-mappings/eui-step-number.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-tabs.d.ts +0 -14
- package/declarations/utils/css-mappings/eui-tabs.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-text-align.d.ts +0 -9
- package/declarations/utils/css-mappings/eui-text-align.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-text-area.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-text-area.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-text-color.d.ts +0 -14
- package/declarations/utils/css-mappings/eui-text-color.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-text.d.ts +0 -9
- package/declarations/utils/css-mappings/eui-text.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-title.d.ts +0 -15
- package/declarations/utils/css-mappings/eui-title.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-toast.d.ts +0 -11
- package/declarations/utils/css-mappings/eui-toast.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-tool-tip.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-tool-tip.d.ts.map +0 -1
- package/declarations/utils/css-mappings/index.d.ts +0 -3
- package/declarations/utils/css-mappings/index.d.ts.map +0 -1
- package/declarations/utils/detect-element-resize.d.ts +0 -17
- package/declarations/utils/detect-element-resize.d.ts.map +0 -1
- package/declarations/utils/index.d.ts +0 -3
- package/declarations/utils/index.d.ts.map +0 -1
- package/declarations/utils/keys.d.ts +0 -31
- package/declarations/utils/keys.d.ts.map +0 -1
- package/declarations/utils/markdown/markdown-actions.d.ts +0 -45
- package/declarations/utils/markdown/markdown-actions.d.ts.map +0 -1
- package/declarations/utils/markdown/markdown-modes.d.ts +0 -4
- package/declarations/utils/markdown/markdown-modes.d.ts.map +0 -1
- package/declarations/utils/markdown/markdown-types.d.ts +0 -100
- package/declarations/utils/markdown/markdown-types.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-add-components/index.d.ts +0 -3
- package/declarations/utils/markdown/plugins/markdown-add-components/index.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-add-components/processor.d.ts +0 -6
- package/declarations/utils/markdown/plugins/markdown-add-components/processor.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-checkbox/index.d.ts +0 -2
- package/declarations/utils/markdown/plugins/markdown-checkbox/index.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-checkbox/parser.d.ts +0 -3
- package/declarations/utils/markdown/plugins/markdown-checkbox/parser.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-default-plugins/index.d.ts +0 -5
- package/declarations/utils/markdown/plugins/markdown-default-plugins/index.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-default-plugins/parsing-plugins.d.ts +0 -7
- package/declarations/utils/markdown/plugins/markdown-default-plugins/parsing-plugins.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-default-plugins/plugins.d.ts +0 -11
- package/declarations/utils/markdown/plugins/markdown-default-plugins/plugins.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-default-plugins/processing-plugins.d.ts +0 -21
- package/declarations/utils/markdown/plugins/markdown-default-plugins/processing-plugins.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-default-plugins/ui-plugins.d.ts +0 -7
- package/declarations/utils/markdown/plugins/markdown-default-plugins/ui-plugins.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-tooltip/index.d.ts +0 -3
- package/declarations/utils/markdown/plugins/markdown-tooltip/index.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-tooltip/parser.d.ts +0 -3
- package/declarations/utils/markdown/plugins/markdown-tooltip/parser.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-tooltip/plugin.d.ts +0 -14
- package/declarations/utils/markdown/plugins/markdown-tooltip/plugin.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/to-dom.d.ts +0 -20
- package/declarations/utils/markdown/plugins/to-dom.d.ts.map +0 -1
- package/declarations/utils/markdown/remark/remark-prismjs.d.ts +0 -5
- package/declarations/utils/markdown/remark/remark-prismjs.d.ts.map +0 -1
- package/declarations/utils/maybe-unwrap-proxy.d.ts +0 -3
- package/declarations/utils/maybe-unwrap-proxy.d.ts.map +0 -1
- package/declarations/utils/number/index.d.ts +0 -2
- package/declarations/utils/number/index.d.ts.map +0 -1
- package/declarations/utils/number/number.d.ts +0 -3
- package/declarations/utils/number/number.d.ts.map +0 -1
- package/declarations/utils/popover/index.d.ts +0 -152
- package/declarations/utils/popover/index.d.ts.map +0 -1
- package/declarations/utils/popover/types.d.ts +0 -2
- package/declarations/utils/popover/types.d.ts.map +0 -1
- package/declarations/utils/predicate/common_predicates.d.ts +0 -6
- package/declarations/utils/predicate/common_predicates.d.ts.map +0 -1
- package/declarations/utils/predicate/index.d.ts +0 -3
- package/declarations/utils/predicate/index.d.ts.map +0 -1
- package/declarations/utils/predicate/lodash_predicates.d.ts +0 -8
- package/declarations/utils/predicate/lodash_predicates.d.ts.map +0 -1
- package/declarations/utils/range/index.d.ts +0 -2
- package/declarations/utils/range/index.d.ts.map +0 -1
- package/declarations/utils/timer.d.ts +0 -13
- package/declarations/utils/timer.d.ts.map +0 -1
- package/declarations/utils/transition.d.ts +0 -8
- package/declarations/utils/transition.d.ts.map +0 -1
- package/dist/_rollupPluginBabelHelpers-9wjJaosZ.js +0 -63
- package/dist/_rollupPluginBabelHelpers-9wjJaosZ.js.map +0 -1
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import { _ as _applyDecoratedDescriptor, a as _initializerDefineProperty } from '../_rollupPluginBabelHelpers-9wjJaosZ.js';
|
|
2
|
-
import { setComponentTemplate } from '@ember/component';
|
|
3
|
-
import { precompileTemplate } from '@ember/template-compilation';
|
|
4
1
|
import Component from '@glimmer/component';
|
|
5
2
|
import { tracked } from '@glimmer/tracking';
|
|
6
3
|
import { helper } from '@ember/component/helper';
|
|
@@ -21,240 +18,107 @@ import classNames from '../helpers/class-names.js';
|
|
|
21
18
|
import mutationObserver from '../modifiers/mutation-observer.js';
|
|
22
19
|
import ResizeObserver from '../modifiers/resize-observer.js';
|
|
23
20
|
import { checkSupportedLanguage, highlightByLine, getHtmlContent } from '../utils/code/utils.js';
|
|
21
|
+
import { precompileTemplate } from '@ember/template-compilation';
|
|
22
|
+
import { setComponentTemplate } from '@ember/component';
|
|
23
|
+
import { g, i, n } from 'decorator-transforms/runtime';
|
|
24
24
|
|
|
25
|
-
var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;
|
|
26
25
|
const fontSizeToRowHeightMap = {
|
|
27
26
|
s: 18,
|
|
28
27
|
m: 21,
|
|
29
28
|
l: 24
|
|
30
29
|
};
|
|
31
|
-
const highlightTargetModifier = modifier((
|
|
32
|
-
element:
|
|
33
|
-
language = 'text',
|
|
34
|
-
lineNumbersConfig = {
|
|
30
|
+
const highlightTargetModifier = modifier((_e1, _pos1, {
|
|
31
|
+
element: targetEle1,
|
|
32
|
+
language: language1 = 'text',
|
|
33
|
+
lineNumbersConfig: lineNumbersConfig1 = {
|
|
35
34
|
start: 1,
|
|
36
35
|
show: false
|
|
37
36
|
},
|
|
38
|
-
onChange
|
|
37
|
+
onChange: onChange1
|
|
39
38
|
}) => {
|
|
40
|
-
let
|
|
41
|
-
const
|
|
42
|
-
const
|
|
43
|
-
let
|
|
44
|
-
if (typeof
|
|
45
|
-
|
|
39
|
+
let observer1;
|
|
40
|
+
const getHighlighedHtml1 = () => {
|
|
41
|
+
const html1 = (targetEle1?.textContent ? targetEle1.textContent : '').trim();
|
|
42
|
+
let data1;
|
|
43
|
+
if (typeof html1 !== 'string') {
|
|
44
|
+
data1 = [];
|
|
46
45
|
} else {
|
|
47
|
-
|
|
46
|
+
data1 = highlightByLine(html1, language1, lineNumbersConfig1);
|
|
48
47
|
}
|
|
49
48
|
return {
|
|
50
|
-
data,
|
|
51
|
-
element: getHtmlContent(
|
|
49
|
+
data: data1,
|
|
50
|
+
element: getHtmlContent(data1).element
|
|
52
51
|
};
|
|
53
52
|
};
|
|
54
|
-
const
|
|
55
|
-
const
|
|
56
|
-
if (
|
|
57
|
-
|
|
53
|
+
const setupObserver1 = () => {
|
|
54
|
+
const newObserver1 = new MutationObserver(mutationsList1 => {
|
|
55
|
+
if (mutationsList1.length) {
|
|
56
|
+
onChange1(getHighlighedHtml1());
|
|
58
57
|
}
|
|
59
58
|
});
|
|
60
|
-
if (
|
|
61
|
-
|
|
62
|
-
|
|
59
|
+
if (targetEle1) {
|
|
60
|
+
onChange1(getHighlighedHtml1());
|
|
61
|
+
newObserver1.observe(targetEle1, {
|
|
63
62
|
characterData: true,
|
|
64
63
|
subtree: true,
|
|
65
64
|
childList: true
|
|
66
65
|
});
|
|
67
66
|
}
|
|
68
|
-
return
|
|
67
|
+
return newObserver1;
|
|
69
68
|
};
|
|
70
|
-
if (
|
|
71
|
-
|
|
69
|
+
if (targetEle1) {
|
|
70
|
+
observer1 = setupObserver1();
|
|
72
71
|
}
|
|
73
72
|
return () => {
|
|
74
|
-
|
|
73
|
+
observer1?.disconnect();
|
|
75
74
|
};
|
|
76
75
|
});
|
|
77
|
-
const cleanTextHelper = helper(function ([
|
|
78
|
-
return
|
|
76
|
+
const cleanTextHelper = helper(function ([text1]) {
|
|
77
|
+
return text1?.replace(/[\r\n?]{2}|\n\n/g, '\n') || '';
|
|
79
78
|
});
|
|
80
|
-
const textToCopyHelper = helper(function (
|
|
81
|
-
isVirtualized,
|
|
82
|
-
element,
|
|
83
|
-
innerText
|
|
79
|
+
const textToCopyHelper = helper(function (_pos1, {
|
|
80
|
+
isVirtualized: isVirtualized1,
|
|
81
|
+
element: element1,
|
|
82
|
+
innerText: innerText1
|
|
84
83
|
}) {
|
|
85
|
-
if (
|
|
86
|
-
return
|
|
84
|
+
if (element1) {
|
|
85
|
+
return isVirtualized1 ? element1.textContent ? element1.textContent : '' : innerText1;
|
|
87
86
|
}
|
|
88
87
|
return '';
|
|
89
88
|
});
|
|
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
|
-
"euiCodeBlock__pre--whiteSpacePre"
|
|
124
|
-
)
|
|
125
|
-
(if
|
|
126
|
-
(and (eq this.whiteSpace "pre-wrap") (not this.isVirtualized))
|
|
127
|
-
"euiCodeBlock__pre--whiteSpacePreWrap"
|
|
128
|
-
)
|
|
129
|
-
(if this.isVirtualized "euiCodeBlock__pre--isVirtualized")
|
|
130
|
-
)
|
|
131
|
-
as |wrapperClasses preClasses|
|
|
132
|
-
}}
|
|
133
|
-
<div
|
|
134
|
-
class={{classNames
|
|
135
|
-
wrapperClasses
|
|
136
|
-
(if
|
|
137
|
-
this.transparentBackground "euiCodeBlock--transparentBackground"
|
|
138
|
-
)
|
|
139
|
-
componentName="EuiCodeBlock"
|
|
140
|
-
fontSize=this.fontSize
|
|
141
|
-
paddingSize=this.paddingSize
|
|
142
|
-
}}
|
|
143
|
-
{{style this.optionalStyles}}
|
|
144
|
-
{{highlightTargetModifier
|
|
145
|
-
element=this.codeTarget
|
|
146
|
-
language=this.language
|
|
147
|
-
lineNumbersConfig=this.lineNumbersConfig
|
|
148
|
-
onChange=this.updateCode
|
|
149
|
-
}}
|
|
150
|
-
>
|
|
151
|
-
{{#if this.isVirtualized}}
|
|
152
|
-
{{!virtualized}}
|
|
153
|
-
<VirtualizedCodeBlock
|
|
154
|
-
class={{preClasses}}
|
|
155
|
-
tabindex="0"
|
|
156
|
-
{{onKey "Escape" this.closeFullScreen}}
|
|
157
|
-
@language={{this.language}}
|
|
158
|
-
@data={{this.data.data}}
|
|
159
|
-
@rowHeight={{this.rowHeight}}
|
|
160
|
-
/>
|
|
161
|
-
{{else}}
|
|
162
|
-
{{!template-lint-disable}}
|
|
163
|
-
<pre
|
|
164
|
-
class={{preClasses}}
|
|
165
|
-
{{style this.optionalStyles}}
|
|
166
|
-
tabindex={{this.tabIndex}}
|
|
167
|
-
{{didInsert (set this "wrapperRef")}}
|
|
168
|
-
{{resizeObserver onResize=this.doesOverflow}}
|
|
169
|
-
{{mutationObserver
|
|
170
|
-
onMutation=this.doesOverflow
|
|
171
|
-
observerOptions=(hash subtree=true childList=true)
|
|
172
|
-
}}
|
|
173
|
-
{{didInsert setInnerTextRef}}
|
|
174
|
-
><code
|
|
175
|
-
class="euiCodeBlock__code"
|
|
176
|
-
data-code-language={{this.language}}
|
|
177
|
-
{{didInsert (set this "code")}}
|
|
178
|
-
...attributes
|
|
179
|
-
></code></pre>
|
|
180
|
-
|
|
181
|
-
{{/if}}
|
|
182
|
-
|
|
183
|
-
<Controls
|
|
184
|
-
@isFullScreen={{this.isFullScreen}}
|
|
185
|
-
@showFullScreenButton={{this.showFullScreenButton}}
|
|
186
|
-
@toggleFullScreen={{this.toggleFullScreen}}
|
|
187
|
-
@showCopyButton={{this.showCopyButton}}
|
|
188
|
-
@textToCopy={{textToCopyHelper
|
|
189
|
-
isVirtualized=this.isVirtualized
|
|
190
|
-
innerText=(cleanTextHelper innerText)
|
|
191
|
-
element=this.data.element
|
|
192
|
-
}}
|
|
193
|
-
/>
|
|
194
|
-
|
|
195
|
-
{{#if this.isFullScreen}}
|
|
196
|
-
<FullScreenDisplay class={{wrapperClasses}}>
|
|
197
|
-
{{#if this.isVirtualized}}
|
|
198
|
-
<VirtualizedCodeBlock
|
|
199
|
-
class={{preClasses}}
|
|
200
|
-
tabindex="0"
|
|
201
|
-
{{onKey "Escape" this.closeFullScreen}}
|
|
202
|
-
@language={{this.language}}
|
|
203
|
-
@data={{this.data.data}}
|
|
204
|
-
@rowHeight={{fontSizeToRowHeightMap.l}}
|
|
205
|
-
/>
|
|
206
|
-
{{else}}
|
|
207
|
-
<pre
|
|
208
|
-
class={{preClasses}}
|
|
209
|
-
tabindex="0"
|
|
210
|
-
{{onKey "Escape" this.closeFullScreen}}
|
|
211
|
-
><code
|
|
212
|
-
class="euiCodeBlock__code"
|
|
213
|
-
data-code-language={{this.language}}
|
|
214
|
-
{{didInsert (set this "codeFullScreen")}}
|
|
215
|
-
></code></pre>
|
|
216
|
-
{{/if}}
|
|
217
|
-
<Controls
|
|
218
|
-
@isFullScreen={{this.isFullScreen}}
|
|
219
|
-
@showFullScreenButton={{this.showFullScreenButton}}
|
|
220
|
-
@showCopyButton={{this.showCopyButton}}
|
|
221
|
-
@toggleFullScreen={{this.toggleFullScreen}}
|
|
222
|
-
@textToCopy={{textToCopyHelper
|
|
223
|
-
isVirtualized=this.isVirtualized
|
|
224
|
-
innerText=(cleanTextHelper innerText)
|
|
225
|
-
element=this.data.element
|
|
226
|
-
}}
|
|
227
|
-
/>
|
|
228
|
-
</FullScreenDisplay>
|
|
229
|
-
{{/if}}
|
|
230
|
-
</div>
|
|
231
|
-
{{/let}}
|
|
232
|
-
</EuiInnerText>
|
|
233
|
-
`, {
|
|
234
|
-
strictMode: true,
|
|
235
|
-
scope: () => ({
|
|
236
|
-
EuiInnerText: EuiImage,
|
|
237
|
-
classNames,
|
|
238
|
-
or,
|
|
239
|
-
and,
|
|
240
|
-
eq,
|
|
241
|
-
not,
|
|
242
|
-
style,
|
|
243
|
-
highlightTargetModifier,
|
|
244
|
-
VirtualizedCodeBlock: EuiCodeBlockVirtualizedComponent,
|
|
245
|
-
onKey,
|
|
246
|
-
didInsert,
|
|
247
|
-
set,
|
|
248
|
-
resizeObserver: ResizeObserver,
|
|
249
|
-
mutationObserver,
|
|
250
|
-
hash,
|
|
251
|
-
Controls: EuiCodeBlockControls,
|
|
252
|
-
textToCopyHelper,
|
|
253
|
-
cleanTextHelper,
|
|
254
|
-
FullScreenDisplay,
|
|
255
|
-
fontSizeToRowHeightMap
|
|
256
|
-
})
|
|
257
|
-
}), (_class = class EuiCodeBlockComponent extends Component {
|
|
89
|
+
class EuiCodeBlockComponent extends Component {
|
|
90
|
+
static {
|
|
91
|
+
g(this.prototype, "codeTarget", [tracked]);
|
|
92
|
+
}
|
|
93
|
+
#codeTarget = (i(this, "codeTarget"), void 0); //fake element where yield writes to, so we can observe and clone a highlighted version to code and codeFullSceen
|
|
94
|
+
static {
|
|
95
|
+
g(this.prototype, "code", [tracked]);
|
|
96
|
+
}
|
|
97
|
+
#code = (i(this, "code"), void 0); //<code> Element for non fullscreen
|
|
98
|
+
static {
|
|
99
|
+
g(this.prototype, "codeFullScreen", [tracked]);
|
|
100
|
+
}
|
|
101
|
+
#codeFullScreen = (i(this, "codeFullScreen"), void 0); //<code> Element for fullscreen modal
|
|
102
|
+
static {
|
|
103
|
+
g(this.prototype, "wrapperRef", [tracked]);
|
|
104
|
+
}
|
|
105
|
+
#wrapperRef = (i(this, "wrapperRef"), void 0);
|
|
106
|
+
static {
|
|
107
|
+
g(this.prototype, "tabIndex", [tracked], function () {
|
|
108
|
+
return 1;
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
#tabIndex = (i(this, "tabIndex"), void 0);
|
|
112
|
+
static {
|
|
113
|
+
g(this.prototype, "isFullScreen", [tracked], function () {
|
|
114
|
+
return false;
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
#isFullScreen = (i(this, "isFullScreen"), void 0);
|
|
118
|
+
static {
|
|
119
|
+
g(this.prototype, "data", [tracked]);
|
|
120
|
+
}
|
|
121
|
+
#data = (i(this, "data"), void 0);
|
|
258
122
|
get language() {
|
|
259
123
|
return checkSupportedLanguage(this.args.language || '');
|
|
260
124
|
}
|
|
@@ -281,24 +145,24 @@ let EuiCodeBlockComponent = setComponentTemplate(precompileTemplate(`
|
|
|
281
145
|
}
|
|
282
146
|
get lineNumbersConfig() {
|
|
283
147
|
const {
|
|
284
|
-
lineNumbers
|
|
148
|
+
lineNumbers: lineNumbers1
|
|
285
149
|
} = this;
|
|
286
|
-
const
|
|
287
|
-
return
|
|
150
|
+
const config1 = typeof lineNumbers1 === 'object' ? lineNumbers1 : {};
|
|
151
|
+
return lineNumbers1 ? {
|
|
288
152
|
start: 1,
|
|
289
153
|
show: true,
|
|
290
|
-
...
|
|
154
|
+
...config1
|
|
291
155
|
} : {
|
|
292
156
|
start: 1,
|
|
293
157
|
show: false
|
|
294
158
|
};
|
|
295
159
|
}
|
|
296
160
|
get optionalStyles() {
|
|
297
|
-
const
|
|
298
|
-
if (
|
|
299
|
-
const
|
|
161
|
+
const overflowHeight1 = this.args.overflowHeight;
|
|
162
|
+
if (overflowHeight1) {
|
|
163
|
+
const property1 = typeof overflowHeight1 === 'string' ? 'height' : 'maxHeight';
|
|
300
164
|
return {
|
|
301
|
-
[
|
|
165
|
+
[property1]: typeof overflowHeight1 === 'string' ? overflowHeight1 : `${overflowHeight1}px`
|
|
302
166
|
};
|
|
303
167
|
}
|
|
304
168
|
return {};
|
|
@@ -312,94 +176,84 @@ let EuiCodeBlockComponent = setComponentTemplate(precompileTemplate(`
|
|
|
312
176
|
get showFullScreenButton() {
|
|
313
177
|
return !!this.args.overflowHeight;
|
|
314
178
|
}
|
|
315
|
-
constructor(
|
|
316
|
-
super(
|
|
317
|
-
//fake element where yield writes to, so we can observe and clone a highlighted version to code and codeFullSceen
|
|
318
|
-
_initializerDefineProperty(this, "codeTarget", _descriptor, this);
|
|
319
|
-
//<code> Element for non fullscreen
|
|
320
|
-
_initializerDefineProperty(this, "code", _descriptor2, this);
|
|
321
|
-
//<code> Element for fullscreen modal
|
|
322
|
-
_initializerDefineProperty(this, "codeFullScreen", _descriptor3, this);
|
|
323
|
-
_initializerDefineProperty(this, "wrapperRef", _descriptor4, this);
|
|
324
|
-
_initializerDefineProperty(this, "tabIndex", _descriptor5, this);
|
|
325
|
-
_initializerDefineProperty(this, "isFullScreen", _descriptor6, this);
|
|
326
|
-
_initializerDefineProperty(this, "data", _descriptor7, this);
|
|
179
|
+
constructor(owner1, args1) {
|
|
180
|
+
super(owner1, args1);
|
|
327
181
|
this.codeTarget = document.createElement('div');
|
|
328
182
|
}
|
|
329
183
|
toggleFullScreen() {
|
|
330
184
|
this.isFullScreen = !this.isFullScreen;
|
|
331
185
|
}
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
186
|
+
static {
|
|
187
|
+
n(this.prototype, "toggleFullScreen", [action]);
|
|
188
|
+
}
|
|
189
|
+
closeFullScreen(e1) {
|
|
190
|
+
e1.preventDefault();
|
|
191
|
+
e1.stopPropagation();
|
|
335
192
|
this.isFullScreen = false;
|
|
336
193
|
}
|
|
194
|
+
static {
|
|
195
|
+
n(this.prototype, "closeFullScreen", [action]);
|
|
196
|
+
}
|
|
337
197
|
doesOverflow() {
|
|
338
198
|
if (!this.wrapperRef) return;
|
|
339
199
|
const {
|
|
340
|
-
clientWidth,
|
|
341
|
-
clientHeight,
|
|
342
|
-
scrollWidth,
|
|
343
|
-
scrollHeight
|
|
200
|
+
clientWidth: clientWidth1,
|
|
201
|
+
clientHeight: clientHeight1,
|
|
202
|
+
scrollWidth: scrollWidth1,
|
|
203
|
+
scrollHeight: scrollHeight1
|
|
344
204
|
} = this.wrapperRef;
|
|
345
|
-
const
|
|
346
|
-
this.tabIndex =
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
205
|
+
const doesOverflow1 = scrollHeight1 > clientHeight1 || scrollWidth1 > clientWidth1;
|
|
206
|
+
this.tabIndex = doesOverflow1 ? 0 : -1;
|
|
207
|
+
}
|
|
208
|
+
static {
|
|
209
|
+
n(this.prototype, "doesOverflow", [action]);
|
|
210
|
+
}
|
|
211
|
+
updateCode(resp1) {
|
|
212
|
+
const render1 = () => {
|
|
213
|
+
const code1 = this.code;
|
|
214
|
+
const codeFullScreen1 = this.codeFullScreen;
|
|
215
|
+
if (code1 && !this.isFullScreen) {
|
|
216
|
+
this.data = resp1;
|
|
217
|
+
code1.innerHTML = resp1.element.innerHTML;
|
|
355
218
|
}
|
|
356
|
-
if (
|
|
357
|
-
this.data =
|
|
358
|
-
|
|
219
|
+
if (codeFullScreen1 && this.isFullScreen) {
|
|
220
|
+
this.data = resp1;
|
|
221
|
+
codeFullScreen1.innerHTML = resp1.element.innerHTML;
|
|
359
222
|
}
|
|
360
223
|
};
|
|
361
|
-
scheduleOnce('afterRender', this,
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
})
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
initializer: function () {
|
|
395
|
-
return false;
|
|
396
|
-
}
|
|
397
|
-
}), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, "data", [tracked], {
|
|
398
|
-
configurable: true,
|
|
399
|
-
enumerable: true,
|
|
400
|
-
writable: true,
|
|
401
|
-
initializer: null
|
|
402
|
-
}), _applyDecoratedDescriptor(_class.prototype, "toggleFullScreen", [action], Object.getOwnPropertyDescriptor(_class.prototype, "toggleFullScreen"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "closeFullScreen", [action], Object.getOwnPropertyDescriptor(_class.prototype, "closeFullScreen"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "doesOverflow", [action], Object.getOwnPropertyDescriptor(_class.prototype, "doesOverflow"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "updateCode", [action], Object.getOwnPropertyDescriptor(_class.prototype, "updateCode"), _class.prototype)), _class));
|
|
224
|
+
scheduleOnce('afterRender', this, render1);
|
|
225
|
+
}
|
|
226
|
+
static {
|
|
227
|
+
n(this.prototype, "updateCode", [action]);
|
|
228
|
+
}
|
|
229
|
+
static {
|
|
230
|
+
setComponentTemplate(precompileTemplate("\n {{!-- DO NOT FORMAT AT ALL, PRE TAGS RESPECT WHITESPACE LITERALLY --}}\n {{!-- DO NOT FORMAT AT ALL, PRE TAGS RESPECT WHITESPACE LITERALLY --}}\n {{!-- DO NOT FORMAT AT ALL, PRE TAGS RESPECT WHITESPACE LITERALLY --}}\n {{!-- DO NOT FORMAT AT ALL, PRE TAGS RESPECT WHITESPACE LITERALLY --}}\n {{!-- DO NOT FORMAT AT ALL, PRE TAGS RESPECT WHITESPACE LITERALLY --}}\n {{!-- DO NOT FORMAT AT ALL, PRE TAGS RESPECT WHITESPACE LITERALLY --}}\n {{!-- DO NOT FORMAT AT ALL, PRE TAGS RESPECT WHITESPACE LITERALLY --}}\n {{!-- DO NOT FORMAT AT ALL, PRE TAGS RESPECT WHITESPACE LITERALLY --}}\n {{!-- DO NOT FORMAT AT ALL, PRE TAGS RESPECT WHITESPACE LITERALLY --}}\n {{#if this.codeTarget}}\n {{#in-element this.codeTarget}}\n {{yield}}\n {{/in-element}}\n {{/if}}\n <EuiInnerText as |setInnerTextRef innerText|>\n {{#let (classNames \"euiCodeBlock\" (if (or this.showCopyButton this.showFullScreenButton) \"euiCodeBlock--hasControl\") (if (and this.showCopyButton this.showFullScreenButton) \"euiCodeBlock--hasBothControls\") (if this.lineNumbersConfig.show \"euiCodeBlock--hasLineNumbers\")) (classNames \"euiCodeBlock__pre\" (if (or (eq this.whiteSpace \"pre\") this.isVirtualized) \"euiCodeBlock__pre--whiteSpacePre\") (if (and (eq this.whiteSpace \"pre-wrap\") (not this.isVirtualized)) \"euiCodeBlock__pre--whiteSpacePreWrap\") (if this.isVirtualized \"euiCodeBlock__pre--isVirtualized\")) as |wrapperClasses preClasses|}}\n <div class={{classNames wrapperClasses (if this.transparentBackground \"euiCodeBlock--transparentBackground\") componentName=\"EuiCodeBlock\" fontSize=this.fontSize paddingSize=this.paddingSize}} {{style this.optionalStyles}} {{highlightTargetModifier element=this.codeTarget language=this.language lineNumbersConfig=this.lineNumbersConfig onChange=this.updateCode}}>\n {{#if this.isVirtualized}}\n {{!--virtualized--}}\n <VirtualizedCodeBlock class={{preClasses}} tabindex=\"0\" {{onKey \"Escape\" this.closeFullScreen}} @language={{this.language}} @data={{this.data.data}} @rowHeight={{this.rowHeight}} />\n {{else}}\n {{!--template-lint-disable--}}\n <pre class={{preClasses}} {{style this.optionalStyles}} tabindex={{this.tabIndex}} {{didInsert (set this \"wrapperRef\")}} {{resizeObserver onResize=this.doesOverflow}} {{mutationObserver onMutation=this.doesOverflow observerOptions=(hash subtree=true childList=true)}} {{didInsert setInnerTextRef}}><code class=\"euiCodeBlock__code\" data-code-language={{this.language}} {{didInsert (set this \"code\")}} ...attributes></code></pre>\n\n {{/if}}\n\n <Controls @isFullScreen={{this.isFullScreen}} @showFullScreenButton={{this.showFullScreenButton}} @toggleFullScreen={{this.toggleFullScreen}} @showCopyButton={{this.showCopyButton}} @textToCopy={{textToCopyHelper isVirtualized=this.isVirtualized innerText=(cleanTextHelper innerText) element=this.data.element}} />\n\n {{#if this.isFullScreen}}\n <FullScreenDisplay class={{wrapperClasses}}>\n {{#if this.isVirtualized}}\n <VirtualizedCodeBlock class={{preClasses}} tabindex=\"0\" {{onKey \"Escape\" this.closeFullScreen}} @language={{this.language}} @data={{this.data.data}} @rowHeight={{fontSizeToRowHeightMap.l}} />\n {{else}}\n <pre class={{preClasses}} tabindex=\"0\" {{onKey \"Escape\" this.closeFullScreen}}><code class=\"euiCodeBlock__code\" data-code-language={{this.language}} {{didInsert (set this \"codeFullScreen\")}}></code></pre>\n {{/if}}\n <Controls @isFullScreen={{this.isFullScreen}} @showFullScreenButton={{this.showFullScreenButton}} @showCopyButton={{this.showCopyButton}} @toggleFullScreen={{this.toggleFullScreen}} @textToCopy={{textToCopyHelper isVirtualized=this.isVirtualized innerText=(cleanTextHelper innerText) element=this.data.element}} />\n </FullScreenDisplay>\n {{/if}}\n </div>\n {{/let}}\n </EuiInnerText>\n ", {
|
|
231
|
+
strictMode: true,
|
|
232
|
+
scope: () => ({
|
|
233
|
+
EuiInnerText: EuiImage,
|
|
234
|
+
classNames,
|
|
235
|
+
or,
|
|
236
|
+
and,
|
|
237
|
+
eq,
|
|
238
|
+
not,
|
|
239
|
+
style,
|
|
240
|
+
highlightTargetModifier,
|
|
241
|
+
VirtualizedCodeBlock: EuiCodeBlockVirtualizedComponent,
|
|
242
|
+
onKey,
|
|
243
|
+
didInsert,
|
|
244
|
+
set,
|
|
245
|
+
resizeObserver: ResizeObserver,
|
|
246
|
+
mutationObserver,
|
|
247
|
+
hash,
|
|
248
|
+
Controls: EuiCodeBlockControls,
|
|
249
|
+
textToCopyHelper,
|
|
250
|
+
cleanTextHelper,
|
|
251
|
+
FullScreenDisplay,
|
|
252
|
+
fontSizeToRowHeightMap
|
|
253
|
+
})
|
|
254
|
+
}), this);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
403
257
|
|
|
404
258
|
export { EuiCodeBlockComponent as default };
|
|
405
259
|
//# sourceMappingURL=eui-code-block.js.map
|