@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,20 +1,15 @@
|
|
|
1
|
-
import { _ as _applyDecoratedDescriptor, a as _initializerDefineProperty } from '../_rollupPluginBabelHelpers-9wjJaosZ.js';
|
|
2
1
|
import { tracked } from '@glimmer/tracking';
|
|
3
2
|
import { helper } from '@ember/component/helper';
|
|
4
3
|
import { action } from '@ember/object';
|
|
5
4
|
import { scheduleOnce } from '@ember/runloop';
|
|
5
|
+
import { g, i, n } from 'decorator-transforms/runtime';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
* @returns - Object with a `value` property and `setState` method to set the
|
|
13
|
-
* `value`
|
|
14
|
-
*/
|
|
15
|
-
let SingleUseState = (_class = class SingleUseState {
|
|
7
|
+
class SingleUseState {
|
|
8
|
+
static {
|
|
9
|
+
g(this.prototype, "value", [tracked]);
|
|
10
|
+
}
|
|
11
|
+
#value = (i(this, "value"), void 0);
|
|
16
12
|
constructor(value) {
|
|
17
|
-
_initializerDefineProperty(this, "value", _descriptor, this);
|
|
18
13
|
this.value = value;
|
|
19
14
|
}
|
|
20
15
|
setState(value) {
|
|
@@ -24,12 +19,10 @@ let SingleUseState = (_class = class SingleUseState {
|
|
|
24
19
|
scheduleOnce('afterRender', this, updater);
|
|
25
20
|
return value;
|
|
26
21
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
initializer: null
|
|
32
|
-
}), _applyDecoratedDescriptor(_class.prototype, "setState", [action], Object.getOwnPropertyDescriptor(_class.prototype, "setState"), _class.prototype)), _class);
|
|
22
|
+
static {
|
|
23
|
+
n(this.prototype, "setState", [action]);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
33
26
|
function useState([initialValue]) {
|
|
34
27
|
return new SingleUseState(initialValue);
|
|
35
28
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-state.js","sources":["../../src/helpers/use-state.ts"],"sourcesContent":["import { tracked } from '@glimmer/tracking';\nimport { helper } from '@ember/component/helper';\nimport { action } from '@ember/object';\nimport { scheduleOnce } from '@ember/runloop';\n\n/**\n * @param value - initial value to use, undefined if not provided.\n *\n * @returns - Object with a `value` property and `setState` method to set the\n * `value`\n */\nclass SingleUseState<T> {\n @tracked value: T;\n\n constructor(value: T) {\n this.value = value;\n }\n\n @action\n setState(value: T): T {\n const updater = () => {\n this.value = value;\n };\n\n scheduleOnce('afterRender', this, updater);\n\n return value;\n }\n}\n\nexport function useState<T>([initialValue]: [T]): SingleUseState<T> {\n return new SingleUseState(initialValue);\n}\n\nexport default helper(useState);\n"],"names":["SingleUseState","
|
|
1
|
+
{"version":3,"file":"use-state.js","sources":["../../src/helpers/use-state.ts"],"sourcesContent":["import { tracked } from '@glimmer/tracking';\nimport { helper } from '@ember/component/helper';\nimport { action } from '@ember/object';\nimport { scheduleOnce } from '@ember/runloop';\n\n/**\n * @param value - initial value to use, undefined if not provided.\n *\n * @returns - Object with a `value` property and `setState` method to set the\n * `value`\n */\nclass SingleUseState<T> {\n @tracked value: T;\n\n constructor(value: T) {\n this.value = value;\n }\n\n @action\n setState(value: T): T {\n const updater = () => {\n this.value = value;\n };\n\n scheduleOnce('afterRender', this, updater);\n\n return value;\n }\n}\n\nexport function useState<T>([initialValue]: [T]): SingleUseState<T> {\n return new SingleUseState(initialValue);\n}\n\nexport default helper(useState);\n"],"names":["SingleUseState","g","this","prototype","tracked","i","void 0","constructor","value","setState","updater","scheduleOnce","n","action","useState","initialValue","helper"],"mappings":";;;;;;AAWA,MAAMA,cAAc,CAAI;AAAA,EAAA;AAAAC,IAAAA,CAAA,CAAAC,IAAA,CAAAC,SAAA,YACrBC,OAAO,CAAA,CAAA,CAAA;AAAA,GAAA;AAAA,EAAA,MAAA,IAAAC,CAAA,CAAAH,IAAA,YAAAI,KAAA,CAAA,EAAA;EAERC,WAAWA,CAACC,KAAQ,EAAE;IACpB,IAAI,CAACA,KAAK,GAAGA,KAAK,CAAA;AACpB,GAAA;EAGAC,QAAQA,CAACD,KAAQ,EAAK;IACpB,MAAME,OAAO,GAAGA,MAAM;MACpB,IAAI,CAACF,KAAK,GAAGA,KAAK,CAAA;KACnB,CAAA;AAEDG,IAAAA,YAAY,CAAC,aAAa,EAAE,IAAI,EAAED,OAAO,CAAC,CAAA;AAE1C,IAAA,OAAOF,KAAK,CAAA;AACd,GAAA;AAAC,EAAA;AAAAI,IAAAA,CAAA,CAAAV,IAAA,CAAAC,SAAA,eATAU,MAAM,CAAA,CAAA,CAAA;AAAA,GAAA;AAUT,CAAA;AAEO,SAASC,QAAQA,CAAI,CAACC,YAAY,CAAM,EAAqB;AAClE,EAAA,OAAO,IAAIf,cAAc,CAACe,YAAY,CAAC,CAAA;AACzC,CAAA;AAEA,iBAAeC,MAAM,CAACF,QAAQ,CAAC;;;;"}
|
package/dist/i18n/util.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.js","sources":["../../src/i18n/util.ts"],"sourcesContent":["/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0 and the Server Side Public License, v 1; you may not use this file except\n * in compliance with, at your election, the Elastic License 2.0 or the Server\n * Side Public License, v 1.\n */\n\nimport { assert } from '@ember/debug';\nimport { get } from '@ember/object';\n\nimport {
|
|
1
|
+
{"version":3,"file":"util.js","sources":["../../src/i18n/util.ts"],"sourcesContent":["/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0 and the Server Side Public License, v 1; you may not use this file except\n * in compliance with, at your election, the Elastic License 2.0 or the Server\n * Side Public License, v 1.\n */\n\nimport { assert } from '@ember/debug';\nimport { get } from '@ember/object';\n\nimport {\n isBoolean,\n isNumber,\n isString,\n isUndefined\n} from '../utils/predicate/index.ts';\n\nfunction isPrimitive(value: any) {\n return (\n isBoolean(value) || isString(value) || isNumber(value) || isUndefined(value)\n );\n}\n\ntype Child = string | { propName: string };\n\nfunction hasPropName(child: Child): child is { propName: string } {\n return child\n ? typeof child === 'object' && child.hasOwnProperty('propName')\n : false;\n}\n\nfunction isElement(value: any) {\n return value.hasOwnProperty('propName') && !isPrimitive(value);\n}\n\n/**\n * Replaces placeholder values in `input` with their matching value in `values`\n * e.g. input:'Hello, {name}' will replace `{name}` with `values[name]`\n * @param {string} input\n * @param {RenderableValues} values\n * @param {Function} i18nMappingFunc\n * @returns {string}\n */\nexport function processStringToChildren(\n input: string,\n values: { [key: string]: any },\n i18nMappingFunc?: (token: string) => string\n): any[] | string {\n const children: any[] = [];\n\n let child: Child | undefined = { propName: '' };\n\n function appendCharToChild(char: string) {\n if (child === undefined) {\n // starting a new string literal\n child = char;\n } else if (typeof child === 'string') {\n // existing string literal\n child = child + char;\n } else if (hasPropName(child)) {\n // adding to the propName of a values lookup\n child.propName = child.propName + char;\n }\n }\n\n function appendValueToChildren(value?: Child) {\n if (value === undefined) {\n return;\n } else if (hasPropName(value)) {\n // an array with any ReactElements will be kept as an array\n // so they need to be assigned a key\n // children.push(cloneElement(value, { key: children.length }));\n children.push(value.propName);\n } else if (isElement(value)) {\n // this won't be called, propName children are converted to a ReactChild before calling this\n } else {\n // everything else can go straight in\n if (i18nMappingFunc !== undefined && typeof value === 'string') {\n value = i18nMappingFunc(value);\n }\n\n children.push(value);\n }\n }\n\n // if we don't encounter a non-primitive\n // then `children` can be concatenated together at the end\n let encounteredNonPrimitive = false;\n\n for (let i = 0; i < input.length; i++) {\n const char = input[i];\n\n if (char === '\\\\') {\n // peek at the next character to know if this is an escape\n const nextChar = input[i + 1];\n let charToAdd = char; // if this isn't an escape sequence then we will add the backslash\n\n if (nextChar === '{' || nextChar === '}') {\n // escaping a brace\n i += 1; // advance passed the brace\n charToAdd = input[i]!;\n }\n\n appendCharToChild(charToAdd);\n } else if (char === '{') {\n appendValueToChildren(child);\n child = { propName: '' };\n } else if (char === '}') {\n const propName = (child as { propName: string }).propName as string;\n\n if (get(values, propName) === undefined) {\n assert(\n `Key \"${propName}\" not found in ${JSON.stringify(values, null, 2)}`,\n true\n );\n }\n\n const propValue = values[propName];\n\n encounteredNonPrimitive =\n encounteredNonPrimitive || !isPrimitive(propValue);\n appendValueToChildren(propValue);\n child = undefined;\n } else {\n appendCharToChild(char!);\n }\n }\n\n // include any remaining child value\n appendValueToChildren(child);\n\n return encounteredNonPrimitive ? children : children.join('');\n}\n"],"names":["isPrimitive","value","isBoolean","isString","isNumber","isUndefined","hasPropName","child","hasOwnProperty","isElement","processStringToChildren","input","values","i18nMappingFunc","children","propName","appendCharToChild","char","undefined","appendValueToChildren","push","encounteredNonPrimitive","i","length","nextChar","charToAdd","get","assert","JSON","stringify","propValue","join"],"mappings":";;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;AAYA,SAASA,WAAWA,CAACC,KAAU,EAAE;AAC/B,EAAA,OACEC,SAAS,CAACD,KAAK,CAAC,IAAIE,QAAQ,CAACF,KAAK,CAAC,IAAIG,QAAQ,CAACH,KAAK,CAAC,IAAII,WAAW,CAACJ,KAAK,CAAC,CAAA;AAEhF,CAAA;AAIA,SAASK,WAAWA,CAACC,KAAY,EAAiC;AAChE,EAAA,OAAOA,KAAK,GACR,OAAOA,KAAK,KAAK,QAAQ,IAAIA,KAAK,CAACC,cAAc,CAAC,UAAU,CAAC,GAC7D,KAAK,CAAA;AACX,CAAA;AAEA,SAASC,SAASA,CAACR,KAAU,EAAE;EAC7B,OAAOA,KAAK,CAACO,cAAc,CAAC,UAAU,CAAC,IAAI,CAACR,WAAW,CAACC,KAAK,CAAC,CAAA;AAChE,CAAA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASS,uBAAuBA,CACrCC,KAAa,EACbC,MAA8B,EAC9BC,eAA2C,EAC3B;EAChB,MAAMC,QAAe,GAAG,EAAE,CAAA;AAE1B,EAAA,IAAIP,KAAwB,GAAG;AAAEQ,IAAAA,QAAQ,EAAE,EAAA;GAAI,CAAA;EAE/C,SAASC,iBAAiBA,CAACC,IAAY,EAAE;IACvC,IAAIV,KAAK,KAAKW,SAAS,EAAE;AACvB;AACAX,MAAAA,KAAK,GAAGU,IAAI,CAAA;AACd,KAAC,MAAM,IAAI,OAAOV,KAAK,KAAK,QAAQ,EAAE;AACpC;MACAA,KAAK,GAAGA,KAAK,GAAGU,IAAI,CAAA;AACtB,KAAC,MAAM,IAAIX,WAAW,CAACC,KAAK,CAAC,EAAE;AAC7B;AACAA,MAAAA,KAAK,CAAC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AAC,MAAM,IAAIR,IAAI,KAAK,GAAG,EAAE;MACvBE,qBAAqB,CAACZ,KAAK,CAAC,CAAA;AAC5BA,MAAAA,KAAK,GAAG;AAAEQ,QAAAA,QAAQ,EAAE,EAAA;OAAI,CAAA;AAC1B,KAAC,MAAM,IAAIE,IAAI,KAAK,GAAG,EAAE;AACvB,MAAA,MAAMF,QAAQ,GAAIR,KAAK,CAA0BQ,QAAkB,CAAA;MAEnE,IAAIW,GAAG,CAACd,MAAM,EAAEG,QAAQ,CAAC,KAAKG,SAAS,EAAE;AACvCS,QAAAA,MAAM,CACH,CAAOZ,KAAAA,EAAAA,QAAS,CAAiBa,eAAAA,EAAAA,IAAI,CAACC,SAAS,CAACjB,MAAM,EAAE,IAAI,EAAE,CAAC,CAAE,CAAC,CAAA,EACnE,IACF,CAAC,CAAA;AACH,OAAA;AAEA,MAAA,MAAMkB,SAAS,GAAGlB,MAAM,CAACG,QAAQ,CAAC,CAAA;AAElCM,MAAAA,uBAAuB,GACrBA,uBAAuB,IAAI,CAACrB,WAAW,CAAC8B,SAAS,CAAC,CAAA;MACpDX,qBAAqB,CAACW,SAAS,CAAC,CAAA;AAChCvB,MAAAA,KAAK,GAAGW,SAAS,CAAA;AACnB,KAAC,MAAM;MACLF,iBAAiB,CAACC,IAAK,CAAC,CAAA;AAC1B,KAAA;AACF,GAAA;;AAEA;EACAE,qBAAqB,CAACZ,KAAK,CAAC,CAAA;EAE5B,OAAOc,uBAAuB,GAAGP,QAAQ,GAAGA,QAAQ,CAACiB,IAAI,CAAC,EAAE,CAAC,CAAA;AAC/D;;;;"}
|
|
@@ -1,19 +1,11 @@
|
|
|
1
|
-
import { _ as _applyDecoratedDescriptor, b as _defineProperty } from '../_rollupPluginBabelHelpers-9wjJaosZ.js';
|
|
2
1
|
import { registerDestructor } from '@ember/destroyable';
|
|
3
2
|
import { action } from '@ember/object';
|
|
4
3
|
import { guidFor } from '@ember/object/internals';
|
|
5
4
|
import Modifier from 'ember-modifier';
|
|
5
|
+
import { n } from 'decorator-transforms/runtime';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
constructor(...args) {
|
|
10
|
-
super(...args);
|
|
11
|
-
_defineProperty(this, "id", void 0);
|
|
12
|
-
_defineProperty(this, "capturedDownIds", []);
|
|
13
|
-
_defineProperty(this, "element", void 0);
|
|
14
|
-
_defineProperty(this, "named", void 0);
|
|
15
|
-
_defineProperty(this, "positional", void 0);
|
|
16
|
-
}
|
|
7
|
+
class OutsideClickDetector extends Modifier {
|
|
8
|
+
capturedDownIds = [];
|
|
17
9
|
onClickOutside(e) {
|
|
18
10
|
const {
|
|
19
11
|
isDisabled,
|
|
@@ -31,6 +23,9 @@ let OutsideClickDetector = (_class = class OutsideClickDetector extends Modifier
|
|
|
31
23
|
this.capturedDownIds = [];
|
|
32
24
|
return onOutsideClick(event);
|
|
33
25
|
}
|
|
26
|
+
static {
|
|
27
|
+
n(this.prototype, "onClickOutside", [action]);
|
|
28
|
+
}
|
|
34
29
|
modify(element, positional, named) {
|
|
35
30
|
this.element = element;
|
|
36
31
|
this.named = named;
|
|
@@ -76,6 +71,9 @@ let OutsideClickDetector = (_class = class OutsideClickDetector extends Modifier
|
|
|
76
71
|
}
|
|
77
72
|
if (cb) cb(event);
|
|
78
73
|
}
|
|
74
|
+
static {
|
|
75
|
+
n(this.prototype, "onChildClick", [action]);
|
|
76
|
+
}
|
|
79
77
|
onChildMouseDown(event) {
|
|
80
78
|
this.onChildClick(event, e => {
|
|
81
79
|
const nativeEvent = e;
|
|
@@ -84,13 +82,19 @@ let OutsideClickDetector = (_class = class OutsideClickDetector extends Modifier
|
|
|
84
82
|
this.named?.onTouchStart?.(e);
|
|
85
83
|
});
|
|
86
84
|
}
|
|
85
|
+
static {
|
|
86
|
+
n(this.prototype, "onChildMouseDown", [action]);
|
|
87
|
+
}
|
|
87
88
|
onChildMouseUp(event) {
|
|
88
89
|
this.onChildClick(event, e => {
|
|
89
90
|
this.named?.onMouseUp?.(e);
|
|
90
91
|
this.named?.onTouchEnd?.(e);
|
|
91
92
|
});
|
|
92
93
|
}
|
|
93
|
-
|
|
94
|
+
static {
|
|
95
|
+
n(this.prototype, "onChildMouseUp", [action]);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
94
98
|
|
|
95
99
|
export { OutsideClickDetector as default };
|
|
96
100
|
//# sourceMappingURL=outside-click-detector.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"outside-click-detector.js","sources":["../../src/modifiers/outside-click-detector.ts"],"sourcesContent":["import { registerDestructor } from '@ember/destroyable';\nimport { action } from '@ember/object';\nimport { guidFor } from '@ember/object/internals';\n\nimport Modifier from 'ember-modifier';\n\ninterface Named {\n onOutsideClick: (event: Event) => void;\n isDisabled?: boolean;\n onMouseDown?: (event: MouseEvent | TouchEvent) => void;\n onMouseUp?: (event: MouseEvent | TouchEvent) => void;\n onTouchStart?: (event: MouseEvent | TouchEvent) => void;\n onTouchEnd?: (event: MouseEvent | TouchEvent) => void;\n}\n\ntype Positional = [];\n\ninterface OutsideClickDetectorModifierArgs {\n Element: Element;\n Args: {\n Positional: Positional;\n Named: Named;\n };\n}\n\nexport interface EuiEvent extends Event {\n euiGeneratedBy: string[];\n}\n\nexport default class OutsideClickDetector extends Modifier<OutsideClickDetectorModifierArgs> {\n id!: string;\n capturedDownIds: string[] = [];\n\n element?: HTMLElement;\n named?: Named;\n positional?: Positional;\n\n @action\n onClickOutside(e: Event): void {\n const { isDisabled, onOutsideClick } = this.named!;\n\n if (isDisabled) {\n this.capturedDownIds = [];\n\n return;\n }\n\n const event = e as unknown as EuiEvent;\n\n if (\n (event.euiGeneratedBy && event.euiGeneratedBy.includes(this.id)) ||\n this.capturedDownIds.includes(this.id)\n ) {\n this.capturedDownIds = [];\n\n return;\n }\n\n this.capturedDownIds = [];\n\n return onOutsideClick(event);\n }\n\n modify(element: HTMLElement, positional: Positional, named: Named): void {\n this.element = element;\n this.named = named;\n this.positional = positional;\n this._setup();\n registerDestructor(this, () => this._teardown());\n }\n\n _setup(): void {\n this.id = guidFor({});\n document.addEventListener('mouseup', this.onClickOutside);\n document.addEventListener('touchend', this.onClickOutside);\n this.addElementEvents();\n }\n\n _teardown(): void {\n document.removeEventListener('mouseup', this.onClickOutside);\n document.removeEventListener('touchend', this.onClickOutside);\n this.removeElementEvents();\n }\n\n addElementEvents(): void {\n if (this.element) {\n this.element.addEventListener('mousedown', this.onChildMouseDown);\n this.element.addEventListener('touchstart', this.onChildMouseDown);\n this.element.addEventListener('mouseup', this.onChildMouseUp);\n this.element.addEventListener('touchend', this.onChildMouseUp);\n }\n }\n\n removeElementEvents(): void {\n if (this.element) {\n this.element.removeEventListener('mousedown', this.onChildMouseDown);\n this.element.removeEventListener('touchstart', this.onChildMouseDown);\n this.element.removeEventListener('mouseup', this.onChildMouseUp);\n this.element.removeEventListener('touchend', this.onChildMouseUp);\n }\n }\n\n @action\n onChildClick(\n event: MouseEvent | TouchEvent,\n cb: (event: MouseEvent | TouchEvent) => void\n ): void {\n // to support nested click detectors, build an array\n // of detector ids that have been encountered;\n\n if (event.hasOwnProperty('euiGeneratedBy')) {\n (event as unknown as EuiEvent).euiGeneratedBy.push(this.id);\n } else {\n (event as unknown as EuiEvent).euiGeneratedBy = [this.id];\n }\n\n if (cb) cb(event);\n }\n\n @action\n onChildMouseDown(event: MouseEvent | TouchEvent): any {\n this.onChildClick(event, (e) => {\n const nativeEvent = e as unknown as EuiEvent;\n\n this.capturedDownIds = nativeEvent.euiGeneratedBy;\n this.named?.onMouseDown?.(e);\n this.named?.onTouchStart?.(e);\n });\n }\n\n @action\n onChildMouseUp(event: TouchEvent | MouseEvent): any {\n this.onChildClick(event, (e) => {\n this.named?.onMouseUp?.(e);\n this.named?.onTouchEnd?.(e);\n });\n }\n}\n"],"names":["OutsideClickDetector","
|
|
1
|
+
{"version":3,"file":"outside-click-detector.js","sources":["../../src/modifiers/outside-click-detector.ts"],"sourcesContent":["import { registerDestructor } from '@ember/destroyable';\nimport { action } from '@ember/object';\nimport { guidFor } from '@ember/object/internals';\n\nimport Modifier from 'ember-modifier';\n\ninterface Named {\n onOutsideClick: (event: Event) => void;\n isDisabled?: boolean;\n onMouseDown?: (event: MouseEvent | TouchEvent) => void;\n onMouseUp?: (event: MouseEvent | TouchEvent) => void;\n onTouchStart?: (event: MouseEvent | TouchEvent) => void;\n onTouchEnd?: (event: MouseEvent | TouchEvent) => void;\n}\n\ntype Positional = [];\n\ninterface OutsideClickDetectorModifierArgs {\n Element: Element;\n Args: {\n Positional: Positional;\n Named: Named;\n };\n}\n\nexport interface EuiEvent extends Event {\n euiGeneratedBy: string[];\n}\n\nexport default class OutsideClickDetector extends Modifier<OutsideClickDetectorModifierArgs> {\n id!: string;\n capturedDownIds: string[] = [];\n\n element?: HTMLElement;\n named?: Named;\n positional?: Positional;\n\n @action\n onClickOutside(e: Event): void {\n const { isDisabled, onOutsideClick } = this.named!;\n\n if (isDisabled) {\n this.capturedDownIds = [];\n\n return;\n }\n\n const event = e as unknown as EuiEvent;\n\n if (\n (event.euiGeneratedBy && event.euiGeneratedBy.includes(this.id)) ||\n this.capturedDownIds.includes(this.id)\n ) {\n this.capturedDownIds = [];\n\n return;\n }\n\n this.capturedDownIds = [];\n\n return onOutsideClick(event);\n }\n\n modify(element: HTMLElement, positional: Positional, named: Named): void {\n this.element = element;\n this.named = named;\n this.positional = positional;\n this._setup();\n registerDestructor(this, () => this._teardown());\n }\n\n _setup(): void {\n this.id = guidFor({});\n document.addEventListener('mouseup', this.onClickOutside);\n document.addEventListener('touchend', this.onClickOutside);\n this.addElementEvents();\n }\n\n _teardown(): void {\n document.removeEventListener('mouseup', this.onClickOutside);\n document.removeEventListener('touchend', this.onClickOutside);\n this.removeElementEvents();\n }\n\n addElementEvents(): void {\n if (this.element) {\n this.element.addEventListener('mousedown', this.onChildMouseDown);\n this.element.addEventListener('touchstart', this.onChildMouseDown);\n this.element.addEventListener('mouseup', this.onChildMouseUp);\n this.element.addEventListener('touchend', this.onChildMouseUp);\n }\n }\n\n removeElementEvents(): void {\n if (this.element) {\n this.element.removeEventListener('mousedown', this.onChildMouseDown);\n this.element.removeEventListener('touchstart', this.onChildMouseDown);\n this.element.removeEventListener('mouseup', this.onChildMouseUp);\n this.element.removeEventListener('touchend', this.onChildMouseUp);\n }\n }\n\n @action\n onChildClick(\n event: MouseEvent | TouchEvent,\n cb: (event: MouseEvent | TouchEvent) => void\n ): void {\n // to support nested click detectors, build an array\n // of detector ids that have been encountered;\n\n if (event.hasOwnProperty('euiGeneratedBy')) {\n (event as unknown as EuiEvent).euiGeneratedBy.push(this.id);\n } else {\n (event as unknown as EuiEvent).euiGeneratedBy = [this.id];\n }\n\n if (cb) cb(event);\n }\n\n @action\n onChildMouseDown(event: MouseEvent | TouchEvent): any {\n this.onChildClick(event, (e) => {\n const nativeEvent = e as unknown as EuiEvent;\n\n this.capturedDownIds = nativeEvent.euiGeneratedBy;\n this.named?.onMouseDown?.(e);\n this.named?.onTouchStart?.(e);\n });\n }\n\n @action\n onChildMouseUp(event: TouchEvent | MouseEvent): any {\n this.onChildClick(event, (e) => {\n this.named?.onMouseUp?.(e);\n this.named?.onTouchEnd?.(e);\n });\n }\n}\n"],"names":["OutsideClickDetector","Modifier","capturedDownIds","onClickOutside","e","isDisabled","onOutsideClick","named","event","euiGeneratedBy","includes","id","n","this","prototype","action","modify","element","positional","_setup","registerDestructor","_teardown","guidFor","document","addEventListener","addElementEvents","removeEventListener","removeElementEvents","onChildMouseDown","onChildMouseUp","onChildClick","cb","hasOwnProperty","push","nativeEvent","onMouseDown","onTouchStart","onMouseUp","onTouchEnd"],"mappings":";;;;;;AA6Be,MAAMA,oBAAoB,SAASC,QAAQ,CAAmC;AAE3FC,EAAAA,eAAe,GAAa,EAAE,CAAA;EAO9BC,cAAcA,CAACC,CAAQ,EAAQ;IAC7B,MAAM;MAAEC,UAAU;AAAEC,MAAAA,cAAAA;KAAgB,GAAG,IAAI,CAACC,KAAM,CAAA;AAElD,IAAA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A,CAAA,CAAA;AAAA,GAAA;AAOT;;;;"}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import { _ as _applyDecoratedDescriptor, b as _defineProperty } from '../_rollupPluginBabelHelpers-9wjJaosZ.js';
|
|
2
1
|
import { registerDestructor } from '@ember/destroyable';
|
|
3
2
|
import { action } from '@ember/object';
|
|
4
3
|
import Modifier from 'ember-modifier';
|
|
4
|
+
import { n } from 'decorator-transforms/runtime';
|
|
5
5
|
|
|
6
|
-
var _class;
|
|
7
|
-
|
|
8
|
-
// IE11 and Safari don't support the `ResizeObserver` API at the time of writing
|
|
9
6
|
const hasResizeObserver = typeof window !== 'undefined' && typeof window.ResizeObserver !== 'undefined';
|
|
10
7
|
const mutationObserverOptions = {
|
|
11
8
|
// [MutationObserverInit](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserverInit)
|
|
@@ -40,16 +37,10 @@ const makeResizeObserver = (node, callback) => {
|
|
|
40
37
|
}
|
|
41
38
|
return observer;
|
|
42
39
|
};
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
_defineProperty(this, "width", 0);
|
|
48
|
-
_defineProperty(this, "observer", null);
|
|
49
|
-
_defineProperty(this, "element", void 0);
|
|
50
|
-
_defineProperty(this, "named", void 0);
|
|
51
|
-
_defineProperty(this, "positional", void 0);
|
|
52
|
-
}
|
|
40
|
+
class ResizeObserver extends Modifier {
|
|
41
|
+
height = 0;
|
|
42
|
+
width = 0;
|
|
43
|
+
observer = null;
|
|
53
44
|
setSize({
|
|
54
45
|
width,
|
|
55
46
|
height
|
|
@@ -66,6 +57,9 @@ let ResizeObserver = (_class = class ResizeObserver extends Modifier {
|
|
|
66
57
|
});
|
|
67
58
|
}
|
|
68
59
|
}
|
|
60
|
+
static {
|
|
61
|
+
n(this.prototype, "setSize", [action]);
|
|
62
|
+
}
|
|
69
63
|
modify(element, positional = [], named) {
|
|
70
64
|
this.element = element;
|
|
71
65
|
this.named = named;
|
|
@@ -103,7 +97,7 @@ let ResizeObserver = (_class = class ResizeObserver extends Modifier {
|
|
|
103
97
|
_teardown() {
|
|
104
98
|
this.observer?.disconnect();
|
|
105
99
|
}
|
|
106
|
-
}
|
|
100
|
+
}
|
|
107
101
|
|
|
108
102
|
export { ResizeObserver as default };
|
|
109
103
|
//# sourceMappingURL=resize-observer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resize-observer.js","sources":["../../src/modifiers/resize-observer.ts"],"sourcesContent":["import { registerDestructor } from '@ember/destroyable';\nimport { action } from '@ember/object';\n\nimport Modifier from 'ember-modifier';\n\n// IE11 and Safari don't support the `ResizeObserver` API at the time of writing\nconst hasResizeObserver =\n typeof window !== 'undefined' &&\n typeof (window as any).ResizeObserver !== 'undefined';\n\nexport interface Observer {\n disconnect: () => void;\n observe: (element: Element, options?: { [key: string]: any }) => void;\n}\n\nconst mutationObserverOptions = {\n // [MutationObserverInit](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserverInit)\n attributes: true, // Account for style changes from `className` or `style`\n characterData: true, // Account for text content size differences\n childList: true, // Account for adding/removing child nodes\n subtree: true // Account for deep child nodes\n};\n\ninterface ResizeObserverSignature {\n Element: Element;\n Args: {\n Positional: [('width' | 'height')] | [];\n Named: {\n onResize: (dimensions: { height: number; width: number }) => void;\n };\n }\n}\n\nconst makeCompatibleObserver = (node: Element, callback: () => void) => {\n const observer = new MutationObserver(callback);\n //eslint-disable-next-line\n observer.observe(node, mutationObserverOptions);\n\n window.addEventListener('resize', callback);\n\n const _disconnect = observer.disconnect.bind(observer);\n\n observer.disconnect = () => {\n _disconnect();\n window.removeEventListener('resize', callback);\n };\n\n return observer;\n};\n\nconst makeResizeObserver = (node: Element, callback: () => void) => {\n let observer: Observer | undefined;\n\n if (hasResizeObserver) {\n observer = new (window as any).ResizeObserver(callback);\n observer!.observe(node);\n } else {\n observer = makeCompatibleObserver(node, callback);\n requestAnimationFrame(callback); // Mimic ResizeObserver behavior of triggering a resize event on init\n }\n\n return observer;\n};\n\nexport default class ResizeObserver extends Modifier<ResizeObserverSignature> {\n height: number = 0;\n width: number = 0;\n observer: Observer | null = null;\n\n element!: Element;\n named!: ResizeObserverSignature['Args']['Named'];\n positional!: ResizeObserverSignature['Args']['Positional'];\n\n @action\n setSize({ width, height }: { width: number; height: number }) {\n let [dimension] = this.positional;\n const doesWidthMatter = dimension !== 'height';\n const doesHeightMatter = dimension !== 'width';\n\n if (\n (doesWidthMatter && width !== this.width) ||\n (doesHeightMatter && height !== this.height)\n ) {\n this.width = width;\n this.height = height;\n this.named?.onResize({ width, height });\n }\n }\n\n\n modify(\n element: Element,\n positional: ResizeObserverSignature['Args']['Positional'] = [],\n named: ResizeObserverSignature['Args']['Named']\n ) {\n this.element = element;\n this.named = named;\n this.positional = positional;\n this._setup();\n registerDestructor(this, () => this._teardown());\n }\n\n _setup() {\n let { setSize, element } = this;\n\n if (element != null) {\n // ResizeObserver's first call to the observation callback is scheduled in the future\n // so find the element's initial dimensions now\n const boundingRect = element.getBoundingClientRect();\n\n setSize({\n width: boundingRect.width,\n height: boundingRect.height\n });\n\n this.observer = makeResizeObserver(element, () => {\n const boundingRect = element.getBoundingClientRect();\n\n setSize({\n width: boundingRect.width,\n height: boundingRect.height\n });\n })!;\n } else {\n setSize({\n width: 0,\n height: 0\n });\n }\n }\n\n _teardown() {\n this.observer?.disconnect();\n }\n}\n"],"names":["hasResizeObserver","window","ResizeObserver","mutationObserverOptions","attributes","characterData","childList","subtree","makeCompatibleObserver","node","callback","observer","MutationObserver","observe","addEventListener","_disconnect","disconnect","bind","removeEventListener","makeResizeObserver","requestAnimationFrame","
|
|
1
|
+
{"version":3,"file":"resize-observer.js","sources":["../../src/modifiers/resize-observer.ts"],"sourcesContent":["import { registerDestructor } from '@ember/destroyable';\nimport { action } from '@ember/object';\n\nimport Modifier from 'ember-modifier';\n\n// IE11 and Safari don't support the `ResizeObserver` API at the time of writing\nconst hasResizeObserver =\n typeof window !== 'undefined' &&\n typeof (window as any).ResizeObserver !== 'undefined';\n\nexport interface Observer {\n disconnect: () => void;\n observe: (element: Element, options?: { [key: string]: any }) => void;\n}\n\nconst mutationObserverOptions = {\n // [MutationObserverInit](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserverInit)\n attributes: true, // Account for style changes from `className` or `style`\n characterData: true, // Account for text content size differences\n childList: true, // Account for adding/removing child nodes\n subtree: true // Account for deep child nodes\n};\n\ninterface ResizeObserverSignature {\n Element: Element;\n Args: {\n Positional: [('width' | 'height')] | [];\n Named: {\n onResize: (dimensions: { height: number; width: number }) => void;\n };\n }\n}\n\nconst makeCompatibleObserver = (node: Element, callback: () => void) => {\n const observer = new MutationObserver(callback);\n //eslint-disable-next-line\n observer.observe(node, mutationObserverOptions);\n\n window.addEventListener('resize', callback);\n\n const _disconnect = observer.disconnect.bind(observer);\n\n observer.disconnect = () => {\n _disconnect();\n window.removeEventListener('resize', callback);\n };\n\n return observer;\n};\n\nconst makeResizeObserver = (node: Element, callback: () => void) => {\n let observer: Observer | undefined;\n\n if (hasResizeObserver) {\n observer = new (window as any).ResizeObserver(callback);\n observer!.observe(node);\n } else {\n observer = makeCompatibleObserver(node, callback);\n requestAnimationFrame(callback); // Mimic ResizeObserver behavior of triggering a resize event on init\n }\n\n return observer;\n};\n\nexport default class ResizeObserver extends Modifier<ResizeObserverSignature> {\n height: number = 0;\n width: number = 0;\n observer: Observer | null = null;\n\n element!: Element;\n named!: ResizeObserverSignature['Args']['Named'];\n positional!: ResizeObserverSignature['Args']['Positional'];\n\n @action\n setSize({ width, height }: { width: number; height: number }) {\n let [dimension] = this.positional;\n const doesWidthMatter = dimension !== 'height';\n const doesHeightMatter = dimension !== 'width';\n\n if (\n (doesWidthMatter && width !== this.width) ||\n (doesHeightMatter && height !== this.height)\n ) {\n this.width = width;\n this.height = height;\n this.named?.onResize({ width, height });\n }\n }\n\n\n modify(\n element: Element,\n positional: ResizeObserverSignature['Args']['Positional'] = [],\n named: ResizeObserverSignature['Args']['Named']\n ) {\n this.element = element;\n this.named = named;\n this.positional = positional;\n this._setup();\n registerDestructor(this, () => this._teardown());\n }\n\n _setup() {\n let { setSize, element } = this;\n\n if (element != null) {\n // ResizeObserver's first call to the observation callback is scheduled in the future\n // so find the element's initial dimensions now\n const boundingRect = element.getBoundingClientRect();\n\n setSize({\n width: boundingRect.width,\n height: boundingRect.height\n });\n\n this.observer = makeResizeObserver(element, () => {\n const boundingRect = element.getBoundingClientRect();\n\n setSize({\n width: boundingRect.width,\n height: boundingRect.height\n });\n })!;\n } else {\n setSize({\n width: 0,\n height: 0\n });\n }\n }\n\n _teardown() {\n this.observer?.disconnect();\n }\n}\n"],"names":["hasResizeObserver","window","ResizeObserver","mutationObserverOptions","attributes","characterData","childList","subtree","makeCompatibleObserver","node","callback","observer","MutationObserver","observe","addEventListener","_disconnect","disconnect","bind","removeEventListener","makeResizeObserver","requestAnimationFrame","Modifier","height","width","setSize","dimension","positional","doesWidthMatter","doesHeightMatter","named","onResize","n","this","prototype","action","modify","element","_setup","registerDestructor","_teardown","boundingRect","getBoundingClientRect"],"mappings":";;;;;AAMA,MAAMA,iBAAiB,GACrB,OAAOC,MAAM,KAAK,WAAW,IAC7B,OAAQA,MAAM,CAASC,cAAc,KAAK,WAAW,CAAA;AAOvD,MAAMC,uBAAuB,GAAG;AAC9B;AACAC,EAAAA,UAAU,EAAE,IAAI;AAAE;AAClBC,EAAAA,aAAa,EAAE,IAAI;AAAE;AACrBC,EAAAA,SAAS,EAAE,IAAI;AAAE;EACjBC,OAAO,EAAE,IAAI;AACf,CAAC,CAAA;AAYD,MAAMC,sBAAsB,GAAGA,CAACC,IAAa,EAAEC,QAAoB,KAAK;AACtE,EAAA,MAAMC,QAAQ,GAAG,IAAIC,gBAAgB,CAACF,QAAQ,CAAC,CAAA;AAC/C;AACAC,EAAAA,QAAQ,CAACE,OAAO,CAACJ,IAAI,EAAEN,uBAAuB,CAAC,CAAA;AAE/CF,EAAAA,MAAM,CAACa,gBAAgB,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,OAAO,CAACK,qBAAqB,EAAE,CAAA;AAEpDjB,QAAAA,OAAO,CAAC;UACND,KAAK,EAAEiB,YAAY,CAACjB,KAAK;UACzBD,MAAM,EAAEkB,YAAY,CAAClB,MAAAA;AACvB,SAAC,CAAC,CAAA;AACJ,OAAC,CAAE,CAAA;AACL,KAAC,MAAM;AACLE,MAAAA,OAAO,CAAC;AACND,QAAAA,KAAK,EAAE,CAAC;AACRD,QAAAA,MAAM,EAAE,CAAA;AACV,OAAC,CAAC,CAAA;AACJ,KAAA;AACF,GAAA;AAEAiB,EAAAA,SAASA,GAAG;AACV,IAAA,IAAI,CAAC5B,QAAQ,EAAEK,UAAU,EAAE,CAAA;AAC7B,GAAA;AACF;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-is-within-breakpoints.js","sources":["../../src/modifiers/use-is-within-breakpoints.ts"],"sourcesContent":["import { modifier } from \"ember-modifier\";\n\nimport { isWithinBreakpoints } from \"../utils/breakpoint\";\n\nimport type { EuiBreakpointSize } from \"../utils/breakpoint\";\n\nexport interface Named {\n sizes: EuiBreakpointSize[];\n isActive: boolean;\n setIsWithinBreakpointsValue: (value: boolean) => void;\n}\n\nexport default modifier(function (\n _element: Element,\n _pos: any[],\n {\n sizes,\n isActive = true,\n setIsWithinBreakpointsValue,\n }: Named,\n) {\n function handleResize() {\n setIsWithinBreakpointsValue(isWithinBreakpoints(window.innerWidth, sizes));\n }\n\n if (isActive) {\n window.removeEventListener(\"resize\", handleResize);\n window.addEventListener(\"resize\", handleResize);\n handleResize();\n }\n\n return () => window.removeEventListener(\"resize\", handleResize);\n});\n"],"names":["modifier","_element","_pos","sizes","isActive","setIsWithinBreakpointsValue","handleResize","isWithinBreakpoints","window","innerWidth","removeEventListener","addEventListener"],"mappings":";;;AAYA,6BAAeA,QAAQ,CAAC,UACtBC,QAAiB,EACjBC,IAAW,EACX;EACEC,KAAK;AACLC,EAAAA,QAAQ,GAAG,IAAI;AACfC,EAAAA,2BAAAA;AACK,CAAC,EACR;EACA,SAASC,YAAYA,GAAG;IACtBD,2BAA2B,CAACE,mBAAmB,CAACC,MAAM,CAACC,UAAU,EAAEN,KAAK,CAAC,CAAC,CAAA;AAC5E,GAAA;AAEA,EAAA,IAAIC,QAAQ,EAAE;AACZI,IAAAA,MAAM,CAACE,mBAAmB,CAAC,QAAQ,EAAEJ,YAAY,CAAC,CAAA;AAClDE,IAAAA,MAAM,CAACG,gBAAgB,CAAC,QAAQ,EAAEL,YAAY,CAAC,CAAA;AAC/CA,IAAAA,YAAY,EAAE,CAAA;AAChB,GAAA;EAEA,OAAO,MAAME,MAAM,CAACE,mBAAmB,CAAC,QAAQ,EAAEJ,YAAY,CAAC,CAAA;AACjE,CAAC,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"use-is-within-breakpoints.js","sources":["../../src/modifiers/use-is-within-breakpoints.ts"],"sourcesContent":["import { modifier } from \"ember-modifier\";\n\nimport { isWithinBreakpoints } from \"../utils/breakpoint.ts\";\n\nimport type { EuiBreakpointSize } from \"../utils/breakpoint.ts\";\n\nexport interface Named {\n sizes: EuiBreakpointSize[];\n isActive: boolean;\n setIsWithinBreakpointsValue: (value: boolean) => void;\n}\n\nexport default modifier(function (\n _element: Element,\n _pos: any[],\n {\n sizes,\n isActive = true,\n setIsWithinBreakpointsValue,\n }: Named,\n) {\n function handleResize() {\n setIsWithinBreakpointsValue(isWithinBreakpoints(window.innerWidth, sizes));\n }\n\n if (isActive) {\n window.removeEventListener(\"resize\", handleResize);\n window.addEventListener(\"resize\", handleResize);\n handleResize();\n }\n\n return () => window.removeEventListener(\"resize\", handleResize);\n});\n"],"names":["modifier","_element","_pos","sizes","isActive","setIsWithinBreakpointsValue","handleResize","isWithinBreakpoints","window","innerWidth","removeEventListener","addEventListener"],"mappings":";;;AAYA,6BAAeA,QAAQ,CAAC,UACtBC,QAAiB,EACjBC,IAAW,EACX;EACEC,KAAK;AACLC,EAAAA,QAAQ,GAAG,IAAI;AACfC,EAAAA,2BAAAA;AACK,CAAC,EACR;EACA,SAASC,YAAYA,GAAG;IACtBD,2BAA2B,CAACE,mBAAmB,CAACC,MAAM,CAACC,UAAU,EAAEN,KAAK,CAAC,CAAC,CAAA;AAC5E,GAAA;AAEA,EAAA,IAAIC,QAAQ,EAAE;AACZI,IAAAA,MAAM,CAACE,mBAAmB,CAAC,QAAQ,EAAEJ,YAAY,CAAC,CAAA;AAClDE,IAAAA,MAAM,CAACG,gBAAgB,CAAC,QAAQ,EAAEL,YAAY,CAAC,CAAA;AAC/CA,IAAAA,YAAY,EAAE,CAAA;AAChB,GAAA;EAEA,OAAO,MAAME,MAAM,CAACE,mBAAmB,CAAC,QAAQ,EAAEJ,YAAY,CAAC,CAAA;AACjE,CAAC,CAAC;;;;"}
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { _ as _applyDecoratedDescriptor, a as _initializerDefineProperty } from '../_rollupPluginBabelHelpers-9wjJaosZ.js';
|
|
2
1
|
import { tracked } from '@glimmer/tracking';
|
|
3
2
|
import Service from '@ember/service';
|
|
4
3
|
import { merge } from 'lodash-es';
|
|
4
|
+
import { g, i } from 'decorator-transforms/runtime';
|
|
5
5
|
|
|
6
|
-
var _class, _descriptor;
|
|
7
6
|
const DEFAULT_CONFIG = {
|
|
8
7
|
'euiIcon.useSvg': true,
|
|
9
8
|
euiIconUseSvg: true,
|
|
10
9
|
euiComboBoxOptionsHeight: 33
|
|
11
10
|
};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
class EuiConfigService extends Service {
|
|
12
|
+
static {
|
|
13
|
+
g(this.prototype, "_config", [tracked], function () {
|
|
14
|
+
return DEFAULT_CONFIG;
|
|
15
|
+
});
|
|
16
16
|
}
|
|
17
|
+
#_config = (i(this, "_config"), void 0);
|
|
17
18
|
getConfig(key) {
|
|
18
19
|
return this._config[key];
|
|
19
20
|
}
|
|
@@ -23,14 +24,7 @@ let EuiConfigService = (_class = class EuiConfigService extends Service {
|
|
|
23
24
|
setConfig(config) {
|
|
24
25
|
this._config = config;
|
|
25
26
|
}
|
|
26
|
-
}
|
|
27
|
-
configurable: true,
|
|
28
|
-
enumerable: true,
|
|
29
|
-
writable: true,
|
|
30
|
-
initializer: function () {
|
|
31
|
-
return DEFAULT_CONFIG;
|
|
32
|
-
}
|
|
33
|
-
})), _class);
|
|
27
|
+
}
|
|
34
28
|
|
|
35
29
|
export { EuiConfigService as default };
|
|
36
30
|
//# sourceMappingURL=eui-config.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-config.js","sources":["../../src/services/eui-config.ts"],"sourcesContent":["import { tracked } from '@glimmer/tracking';\nimport Service from '@ember/service';\n\nimport { merge } from 'lodash-es';\n\nimport type { EuiButtonIconSignature } from '../components/eui-button-icon';\n\nexport interface EuiConfig {\n 'euiIcon.useSvg'?: boolean;\n euiIconUseSvg?: boolean;\n 'euiButtonIcon.size'?: EuiButtonIconSignature['Args']['iconSize'];\n euiComboBoxOptionsHeight?: number;\n}\n\nconst DEFAULT_CONFIG: EuiConfig = {\n 'euiIcon.useSvg': true,\n euiIconUseSvg: true,\n euiComboBoxOptionsHeight: 33\n};\n\nexport default class EuiConfigService extends Service {\n @tracked private _config: EuiConfig = DEFAULT_CONFIG;\n\n getConfig<T extends keyof EuiConfig>(key: T): EuiConfig[T] | undefined {\n return this._config[key];\n }\n\n updateConfig(config: Partial<EuiConfig>) {\n this._config = merge<Partial<EuiConfig>, EuiConfig, Partial<EuiConfig>>(\n {},\n this._config,\n config\n );\n }\n\n setConfig(config: EuiConfig) {\n this._config = config;\n }\n}\n"],"names":["DEFAULT_CONFIG","euiIconUseSvg","euiComboBoxOptionsHeight","EuiConfigService","
|
|
1
|
+
{"version":3,"file":"eui-config.js","sources":["../../src/services/eui-config.ts"],"sourcesContent":["import { tracked } from '@glimmer/tracking';\nimport Service from '@ember/service';\n\nimport { merge } from 'lodash-es';\n\nimport type { EuiButtonIconSignature } from '../components/eui-button-icon';\n\nexport interface EuiConfig {\n 'euiIcon.useSvg'?: boolean;\n euiIconUseSvg?: boolean;\n 'euiButtonIcon.size'?: EuiButtonIconSignature['Args']['iconSize'];\n euiComboBoxOptionsHeight?: number;\n}\n\nconst DEFAULT_CONFIG: EuiConfig = {\n 'euiIcon.useSvg': true,\n euiIconUseSvg: true,\n euiComboBoxOptionsHeight: 33\n};\n\nexport default class EuiConfigService extends Service {\n @tracked private _config: EuiConfig = DEFAULT_CONFIG;\n\n getConfig<T extends keyof EuiConfig>(key: T): EuiConfig[T] | undefined {\n return this._config[key];\n }\n\n updateConfig(config: Partial<EuiConfig>) {\n this._config = merge<Partial<EuiConfig>, EuiConfig, Partial<EuiConfig>>(\n {},\n this._config,\n config\n );\n }\n\n setConfig(config: EuiConfig) {\n this._config = config;\n }\n}\n"],"names":["DEFAULT_CONFIG","euiIconUseSvg","euiComboBoxOptionsHeight","EuiConfigService","Service","g","this","prototype","tracked","i","void 0","getConfig","key","_config","updateConfig","config","merge","setConfig"],"mappings":";;;;;AAcA,MAAMA,cAAyB,GAAG;AAChC,EAAA,gBAAgB,EAAE,IAAI;AACtBC,EAAAA,aAAa,EAAE,IAAI;AACnBC,EAAAA,wBAAwB,EAAE,EAAA;AAC5B,CAAC,CAAA;AAEc,MAAMC,gBAAgB,SAASC,OAAO,CAAC;AAAA,EAAA;AAAAC,IAAAA,CAAA,CAAAC,IAAA,CAAAC,SAAA,cACnDC,OAAO,CAAA,EAAA,YAAA;AAAA,MAAA,OAA8BR,cAAc,CAAA;AAAA,KAAA,CAAA,CAAA;AAAA,GAAA;AAAA,EAAA,QAAA,IAAAS,CAAA,CAAAH,IAAA,cAAAI,KAAA,CAAA,EAAA;EAEpDC,SAASA,CAA4BC,GAAM,EAA4B;AACrE,IAAA,OAAO,IAAI,CAACC,OAAO,CAACD,GAAG,CAAC,CAAA;AAC1B,GAAA;EAEAE,YAAYA,CAACC,MAA0B,EAAE;AACvC,IAAA,IAAI,CAACF,OAAO,GAAGG,KAAK,CAClB,EAAE,EACF,IAAI,CAACH,OAAO,EACZE,MACF,CAAC,CAAA;AACH,GAAA;EAEAE,SAASA,CAACF,MAAiB,EAAE;IAC3B,IAAI,CAACF,OAAO,GAAGE,MAAM,CAAA;AACvB,GAAA;AACF;;;;"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { _ as _applyDecoratedDescriptor, b as _defineProperty } from '../_rollupPluginBabelHelpers-9wjJaosZ.js';
|
|
2
1
|
import { action } from '@ember/object';
|
|
3
2
|
import Service from '@ember/service';
|
|
4
3
|
import { processStringToChildren } from '../i18n/util.js';
|
|
4
|
+
import { n } from 'decorator-transforms/runtime';
|
|
5
5
|
|
|
6
|
-
var _class;
|
|
7
6
|
function flatten(acc = {}, obj, path = '') {
|
|
8
7
|
path = path.length > 0 ? path + '.' : path;
|
|
9
8
|
for (const key in obj) {
|
|
@@ -15,11 +14,8 @@ function flatten(acc = {}, obj, path = '') {
|
|
|
15
14
|
}
|
|
16
15
|
return acc;
|
|
17
16
|
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
super(...args);
|
|
21
|
-
_defineProperty(this, "translations", {});
|
|
22
|
-
}
|
|
17
|
+
class EuiI18n extends Service {
|
|
18
|
+
translations = {};
|
|
23
19
|
addTranslations(translations) {
|
|
24
20
|
// TODO: deep merge?
|
|
25
21
|
this.translations = {
|
|
@@ -27,6 +23,9 @@ let EuiI18n = (_class = class EuiI18n extends Service {
|
|
|
27
23
|
...flatten({}, translations)
|
|
28
24
|
};
|
|
29
25
|
}
|
|
26
|
+
static {
|
|
27
|
+
n(this.prototype, "addTranslations", [action]);
|
|
28
|
+
}
|
|
30
29
|
get mapping() {
|
|
31
30
|
return this.translations;
|
|
32
31
|
}
|
|
@@ -37,6 +36,9 @@ let EuiI18n = (_class = class EuiI18n extends Service {
|
|
|
37
36
|
values
|
|
38
37
|
});
|
|
39
38
|
}
|
|
39
|
+
static {
|
|
40
|
+
n(this.prototype, "lookupToken", [action]);
|
|
41
|
+
}
|
|
40
42
|
getTokenFromMapping(token, valueDefault, _values, i18nMapping) {
|
|
41
43
|
return i18nMapping && i18nMapping[token] || valueDefault;
|
|
42
44
|
}
|
|
@@ -54,7 +56,10 @@ let EuiI18n = (_class = class EuiI18n extends Service {
|
|
|
54
56
|
const children = processStringToChildren(renderable, values);
|
|
55
57
|
return children;
|
|
56
58
|
}
|
|
57
|
-
|
|
59
|
+
static {
|
|
60
|
+
n(this.prototype, "_lookupToken", [action]);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
58
63
|
|
|
59
64
|
export { EuiI18n as default };
|
|
60
65
|
//# sourceMappingURL=eui-i18n.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-i18n.js","sources":["../../src/services/eui-i18n.ts"],"sourcesContent":["import { action } from '@ember/object';\nimport Service from '@ember/service';\n\nimport { processStringToChildren } from '../i18n/util';\n\ninterface LookupTokenOptions {\n token: string;\n i18nMapping?: Record<string, string>;\n valueDefault: string | ((values: Record<string, unknown>) => string);\n values?: Record<string, unknown>;\n}\n\nfunction flatten(\n acc: Record<string, unknown> = {},\n obj: Record<string, unknown>,\n path = ''\n) {\n path = path.length > 0 ? path + '.' : path;\n\n for (const key in obj) {\n if (typeof obj[key] === 'object' && obj[key] !== null) {\n flatten(acc, obj[key] as Record<string, unknown>, path + key);\n } else {\n acc[path + key] = obj[key];\n }\n }\n\n return acc;\n}\n\nexport default class EuiI18n extends Service {\n translations = {};\n @action\n addTranslations(translations: Record<string, unknown>) {\n // TODO: deep merge?\n this.translations = {\n ...this.translations,\n ...flatten({}, translations)\n };\n }\n\n get mapping() {\n return this.translations;\n }\n\n @action\n lookupToken(\n token: string,\n valueDefault: string | ((values: { [key: string]: unknown }) => string),\n values?: Record<string, any>\n ): string {\n return this._lookupToken({\n token,\n valueDefault,\n values\n });\n }\n\n getTokenFromMapping(\n token: LookupTokenOptions['token'],\n valueDefault: LookupTokenOptions['valueDefault'],\n _values: LookupTokenOptions['values'],\n i18nMapping: LookupTokenOptions['i18nMapping']\n ) {\n return (i18nMapping && i18nMapping[token]) || valueDefault;\n }\n\n @action\n _lookupToken(options: LookupTokenOptions) {\n const {\n token,\n i18nMapping = this.mapping,\n valueDefault,\n values = {}\n } = options;\n\n let renderable = this.getTokenFromMapping(\n token,\n valueDefault,\n values,\n i18nMapping\n );\n\n if (typeof renderable === 'function') {\n renderable = renderable(values);\n }\n\n const children = processStringToChildren(renderable, values);\n\n return children as string;\n }\n}\n\ndeclare module '@ember/service' {\n interface Registry {\n 'eui-i18n': EuiI18n;\n }\n}\n"],"names":["flatten","acc","obj","path","length","key","EuiI18n","
|
|
1
|
+
{"version":3,"file":"eui-i18n.js","sources":["../../src/services/eui-i18n.ts"],"sourcesContent":["import { action } from '@ember/object';\nimport Service from '@ember/service';\n\nimport { processStringToChildren } from '../i18n/util.ts';\n\ninterface LookupTokenOptions {\n token: string;\n i18nMapping?: Record<string, string>;\n valueDefault: string | ((values: Record<string, unknown>) => string);\n values?: Record<string, unknown>;\n}\n\nfunction flatten(\n acc: Record<string, unknown> = {},\n obj: Record<string, unknown>,\n path = ''\n) {\n path = path.length > 0 ? path + '.' : path;\n\n for (const key in obj) {\n if (typeof obj[key] === 'object' && obj[key] !== null) {\n flatten(acc, obj[key] as Record<string, unknown>, path + key);\n } else {\n acc[path + key] = obj[key];\n }\n }\n\n return acc;\n}\n\nexport default class EuiI18n extends Service {\n translations = {};\n @action\n addTranslations(translations: Record<string, unknown>) {\n // TODO: deep merge?\n this.translations = {\n ...this.translations,\n ...flatten({}, translations)\n };\n }\n\n get mapping() {\n return this.translations;\n }\n\n @action\n lookupToken(\n token: string,\n valueDefault: string | ((values: { [key: string]: unknown }) => string),\n values?: Record<string, any>\n ): string {\n return this._lookupToken({\n token,\n valueDefault,\n values\n });\n }\n\n getTokenFromMapping(\n token: LookupTokenOptions['token'],\n valueDefault: LookupTokenOptions['valueDefault'],\n _values: LookupTokenOptions['values'],\n i18nMapping: LookupTokenOptions['i18nMapping']\n ) {\n return (i18nMapping && i18nMapping[token]) || valueDefault;\n }\n\n @action\n _lookupToken(options: LookupTokenOptions) {\n const {\n token,\n i18nMapping = this.mapping,\n valueDefault,\n values = {}\n } = options;\n\n let renderable = this.getTokenFromMapping(\n token,\n valueDefault,\n values,\n i18nMapping\n );\n\n if (typeof renderable === 'function') {\n renderable = renderable(values);\n }\n\n const children = processStringToChildren(renderable, values);\n\n return children as string;\n }\n}\n\ndeclare module '@ember/service' {\n interface Registry {\n 'eui-i18n': EuiI18n;\n }\n}\n"],"names":["flatten","acc","obj","path","length","key","EuiI18n","Service","translations","addTranslations","n","this","prototype","action","mapping","lookupToken","token","valueDefault","values","_lookupToken","getTokenFromMapping","_values","i18nMapping","options","renderable","children","processStringToChildren"],"mappings":";;;;;AAYA,SAASA,OAAOA,CACdC,GAA4B,GAAG,EAAE,EACjCC,GAA4B,EAC5BC,IAAI,GAAG,EAAE,EACT;EACAA,IAAI,GAAGA,IAAI,CAACC,MAAM,GAAG,CAAC,GAAGD,IAAI,GAAG,GAAG,GAAGA,IAAI,CAAA;AAE1C,EAAA,KAAK,MAAME,GAAG,IAAIH,GAAG,EAAE;AACrB,IAAA,IAAI,OAAOA,GAAG,CAACG,GAAG,CAAC,KAAK,QAAQ,IAAIH,GAAG,CAACG,GAAG,CAAC,KAAK,IAAI,EAAE;MACrDL,OAAO,CAACC,GAAG,EAAEC,GAAG,CAACG,GAAG,CAAC,EAA6BF,IAAI,GAAGE,GAAG,CAAC,CAAA;AAC/D,KAAC,MAAM;MACLJ,GAAG,CAACE,IAAI,GAAGE,GAAG,CAAC,GAAGH,GAAG,CAACG,GAAG,CAAC,CAAA;AAC5B,KAAA;AACF,GAAA;AAEA,EAAA,OAAOJ,GAAG,CAAA;AACZ,CAAA;AAEe,MAAMK,OAAO,SAASC,OAAO,CAAC;EAC3CC,YAAY,GAAG,EAAE,CAAA;EAEjBC,eAAeA,CAACD,YAAqC,EAAE;AACrD;IACA,IAAI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AAM,CAAC,CAAA;AAE5D,IAAA,OAAOO,QAAQ,CAAA;AACjB,GAAA;AAAC,EAAA;AAAAf,IAAAA,CAAA,CAAAC,IAAA,CAAAC,SAAA,mBAvBAC,MAAM,CAAA,CAAA,CAAA;AAAA,GAAA;AAwBT;;;;"}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { _ as _applyDecoratedDescriptor, a as _initializerDefineProperty } from '../_rollupPluginBabelHelpers-9wjJaosZ.js';
|
|
2
1
|
import { tracked } from '@glimmer/tracking';
|
|
3
2
|
import { action } from '@ember/object';
|
|
4
3
|
import { guidFor } from '@ember/object/internals';
|
|
5
4
|
import Service from '@ember/service';
|
|
5
|
+
import { g, i, n } from 'decorator-transforms/runtime';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
class EuiToasterService extends Service {
|
|
8
|
+
static {
|
|
9
|
+
g(this.prototype, "toasts", [tracked], function () {
|
|
10
|
+
return [];
|
|
11
|
+
});
|
|
12
12
|
}
|
|
13
|
+
#toasts = (i(this, "toasts"), void 0);
|
|
13
14
|
show(props) {
|
|
14
15
|
if (!props.id) {
|
|
15
16
|
props.id = guidFor(props);
|
|
16
17
|
}
|
|
17
18
|
this.toasts = [...this.toasts, props];
|
|
18
19
|
}
|
|
20
|
+
static {
|
|
21
|
+
n(this.prototype, "show", [action]);
|
|
22
|
+
}
|
|
19
23
|
remove(toastToRemove) {
|
|
20
24
|
this.toasts = this.toasts.filter(toast => toast !== toastToRemove);
|
|
21
25
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
enumerable: true,
|
|
25
|
-
writable: true,
|
|
26
|
-
initializer: function () {
|
|
27
|
-
return [];
|
|
26
|
+
static {
|
|
27
|
+
n(this.prototype, "remove", [action]);
|
|
28
28
|
}
|
|
29
|
-
}
|
|
29
|
+
}
|
|
30
30
|
|
|
31
31
|
export { EuiToasterService as default };
|
|
32
32
|
//# sourceMappingURL=eui-toaster.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-toaster.js","sources":["../../src/services/eui-toaster.ts"],"sourcesContent":["import { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { guidFor } from '@ember/object/internals';\nimport Service from '@ember/service';\n\nimport type { IEuiToast } from '../components/eui-toast';\n\n\nexport interface EuiToastProps extends IEuiToast {\n id?: string;\n toastLifeTimeMs?: number;\n}\n\nexport interface EuiToastPropsWithId extends EuiToastProps {\n id: string;\n}\n\nexport default class EuiToasterService extends Service {\n @tracked toasts: EuiToastPropsWithId[] = [];\n\n @action\n show(props: EuiToastProps): void {\n if (!props.id) {\n props.id = guidFor(props);\n }\n\n this.toasts = [...this.toasts, props as EuiToastPropsWithId];\n }\n\n @action\n remove(toastToRemove: EuiToastProps): void {\n this.toasts = this.toasts.filter((toast) => toast !== toastToRemove);\n }\n}\n"],"names":["EuiToasterService","
|
|
1
|
+
{"version":3,"file":"eui-toaster.js","sources":["../../src/services/eui-toaster.ts"],"sourcesContent":["import { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\nimport { guidFor } from '@ember/object/internals';\nimport Service from '@ember/service';\n\nimport type { IEuiToast } from '../components/eui-toast';\n\n\nexport interface EuiToastProps extends IEuiToast {\n id?: string;\n toastLifeTimeMs?: number;\n}\n\nexport interface EuiToastPropsWithId extends EuiToastProps {\n id: string;\n}\n\nexport default class EuiToasterService extends Service {\n @tracked toasts: EuiToastPropsWithId[] = [];\n\n @action\n show(props: EuiToastProps): void {\n if (!props.id) {\n props.id = guidFor(props);\n }\n\n this.toasts = [...this.toasts, props as EuiToastPropsWithId];\n }\n\n @action\n remove(toastToRemove: EuiToastProps): void {\n this.toasts = this.toasts.filter((toast) => toast !== toastToRemove);\n }\n}\n"],"names":["EuiToasterService","Service","g","this","prototype","tracked","i","void 0","show","props","id","guidFor","toasts","n","action","remove","toastToRemove","filter","toast"],"mappings":";;;;;;AAiBe,MAAMA,iBAAiB,SAASC,OAAO,CAAC;AAAA,EAAA;AAAAC,IAAAA,CAAA,CAAAC,IAAA,CAAAC,SAAA,aACpDC,OAAO,CAAA,EAAA,YAAA;AAAA,MAAA,OAAiC,EAAE,CAAA;AAAA,KAAA,CAAA,CAAA;AAAA,GAAA;AAAA,EAAA,OAAA,IAAAC,CAAA,CAAAH,IAAA,aAAAI,KAAA,CAAA,EAAA;EAG3CC,IAAIA,CAACC,KAAoB,EAAQ;AAC/B,IAAA,IAAI,CAACA,KAAK,CAACC,EAAE,EAAE;AACbD,MAAAA,KAAK,CAACC,EAAE,GAAGC,OAAO,CAACF,KAAK,CAAC,CAAA;AAC3B,KAAA;IAEA,IAAI,CAACG,MAAM,GAAG,CAAC,GAAG,IAAI,CAACA,MAAM,EAAEH,KAAK,CAAwB,CAAA;AAC9D,GAAA;AAAC,EAAA;AAAAI,IAAAA,CAAA,CAAAV,IAAA,CAAAC,SAAA,WAPAU,MAAM,CAAA,CAAA,CAAA;AAAA,GAAA;EAUPC,MAAMA,CAACC,aAA4B,EAAQ;AACzC,IAAA,IAAI,CAACJ,MAAM,GAAG,IAAI,CAACA,MAAM,CAACK,MAAM,CAAEC,KAAK,IAAKA,KAAK,KAAKF,aAAa,CAAC,CAAA;AACtE,GAAA;AAAC,EAAA;AAAAH,IAAAA,CAAA,CAAAV,IAAA,CAAAC,SAAA,aAHAU,MAAM,CAAA,CAAA,CAAA;AAAA,GAAA;AAIT;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accessible-click-keys.js","sources":["../../../src/utils/accesibility/accessible-click-keys.ts"],"sourcesContent":["/*\n * Licensed to Elasticsearch B.V. under one or more contributor\n * license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright\n * ownership. Elasticsearch B.V. licenses this file to you under\n * the Apache License, Version 2.0 (the \"License\"); you may\n * not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport { ENTER, SPACE } from '../keys';\n\n// These keys are used to execute click actions on interactive elements like buttons and links.\nexport const accessibleClickKeys = {\n [ENTER]: 'enter',\n [SPACE]: 'space'\n};\n"],"names":["accessibleClickKeys","ENTER","SPACE"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAIA;AACO,MAAMA,mBAAmB,GAAG;EACjC,CAACC,KAAK,GAAG,OAAO;AAChB,EAAA,CAACC,KAAK,GAAG,OAAA;AACX;;;;"}
|
|
1
|
+
{"version":3,"file":"accessible-click-keys.js","sources":["../../../src/utils/accesibility/accessible-click-keys.ts"],"sourcesContent":["/*\n * Licensed to Elasticsearch B.V. under one or more contributor\n * license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright\n * ownership. Elasticsearch B.V. licenses this file to you under\n * the Apache License, Version 2.0 (the \"License\"); you may\n * not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\nimport { ENTER, SPACE } from '../keys.ts';\n\n// These keys are used to execute click actions on interactive elements like buttons and links.\nexport const accessibleClickKeys = {\n [ENTER]: 'enter',\n [SPACE]: 'space'\n};\n"],"names":["accessibleClickKeys","ENTER","SPACE"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAIA;AACO,MAAMA,mBAAmB,GAAG;EACjC,CAACC,KAAK,GAAG,OAAO;AAChB,EAAA,CAACC,KAAK,GAAG,OAAA;AACX;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cascading-menu-keys.js","sources":["../../../src/utils/accesibility/cascading-menu-keys.ts"],"sourcesContent":["/*\n * Licensed to Elasticsearch B.V. under one or more contributor\n * license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright\n * ownership. Elasticsearch B.V. licenses this file to you under\n * the Apache License, Version 2.0 (the \"License\"); you may\n * not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\n/**\n * These keys are used for navigating cascading menu UI components.\n *\n * ARROW_DOWN: Select the next item in the list.\n * ARROW_LEFT: Show the previous menu.\n * ARROW_RIGHT: Show the next menu for the selected item.\n * ARROW_UP: Select the previous item in the list.\n * ESC: Deselect the current selection and hide the list.\n * TAB: Normal tabbing navigation is still supported.\n */\n\nimport {\n ARROW_DOWN,\n ARROW_LEFT,\n ARROW_RIGHT,\n ARROW_UP,\n ESCAPE,\n TAB\n} from '../keys';\n\nexport const cascadingMenuKeys = {\n ARROW_DOWN,\n ARROW_LEFT,\n ARROW_RIGHT,\n ARROW_UP,\n ESCAPE,\n TAB\n};\n"],"names":["cascadingMenuKeys","ARROW_DOWN","ARROW_LEFT","ARROW_RIGHT","ARROW_UP","ESCAPE","TAB"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAsBO,MAAMA,iBAAiB,GAAG;EAC/BC,UAAU;EACVC,UAAU;EACVC,WAAW;EACXC,QAAQ;EACRC,MAAM;AACNC,EAAAA,GAAAA;AACF;;;;"}
|
|
1
|
+
{"version":3,"file":"cascading-menu-keys.js","sources":["../../../src/utils/accesibility/cascading-menu-keys.ts"],"sourcesContent":["/*\n * Licensed to Elasticsearch B.V. under one or more contributor\n * license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright\n * ownership. Elasticsearch B.V. licenses this file to you under\n * the Apache License, Version 2.0 (the \"License\"); you may\n * not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\n/**\n * These keys are used for navigating cascading menu UI components.\n *\n * ARROW_DOWN: Select the next item in the list.\n * ARROW_LEFT: Show the previous menu.\n * ARROW_RIGHT: Show the next menu for the selected item.\n * ARROW_UP: Select the previous item in the list.\n * ESC: Deselect the current selection and hide the list.\n * TAB: Normal tabbing navigation is still supported.\n */\n\nimport {\n ARROW_DOWN,\n ARROW_LEFT,\n ARROW_RIGHT,\n ARROW_UP,\n ESCAPE,\n TAB\n} from '../keys.ts';\n\nexport const cascadingMenuKeys = {\n ARROW_DOWN,\n ARROW_LEFT,\n ARROW_RIGHT,\n ARROW_UP,\n ESCAPE,\n TAB\n};\n"],"names":["cascadingMenuKeys","ARROW_DOWN","ARROW_LEFT","ARROW_RIGHT","ARROW_UP","ESCAPE","TAB"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAsBO,MAAMA,iBAAiB,GAAG;EAC/BC,UAAU;EACVC,UAAU;EACVC,WAAW;EACXC,QAAQ;EACRC,MAAM;AACNC,EAAAA,GAAAA;AACF;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combo-box-keys.js","sources":["../../../src/utils/accesibility/combo-box-keys.ts"],"sourcesContent":["/*\n * Licensed to Elasticsearch B.V. under one or more contributor\n * license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright\n * ownership. Elasticsearch B.V. licenses this file to you under\n * the Apache License, Version 2.0 (the \"License\"); you may\n * not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\n/**\n * These keys are used for navigating combobox UI components.\n *\n * ARROW_UP: Select the previous item in the list.\n * ARROW_DOWN: Select the next item in the list.\n * ENTER / TAB: Complete input with the current selection.\n * ESC: Deselect the current selection and hide the list.\n */\n\nimport { ARROW_DOWN, ARROW_UP,ENTER, ESCAPE, TAB } from '../keys';\n\nexport const comboBoxKeys = {\n ARROW_DOWN,\n ARROW_UP,\n ENTER,\n ESCAPE,\n TAB\n};\n"],"names":["comboBoxKeys","ARROW_DOWN","ARROW_UP","ENTER","ESCAPE","TAB"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAaO,MAAMA,YAAY,GAAG;EAC1BC,UAAU;EACVC,QAAQ;EACRC,KAAK;EACLC,MAAM;AACNC,EAAAA,GAAAA;AACF;;;;"}
|
|
1
|
+
{"version":3,"file":"combo-box-keys.js","sources":["../../../src/utils/accesibility/combo-box-keys.ts"],"sourcesContent":["/*\n * Licensed to Elasticsearch B.V. under one or more contributor\n * license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright\n * ownership. Elasticsearch B.V. licenses this file to you under\n * the Apache License, Version 2.0 (the \"License\"); you may\n * not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\n/**\n * These keys are used for navigating combobox UI components.\n *\n * ARROW_UP: Select the previous item in the list.\n * ARROW_DOWN: Select the next item in the list.\n * ENTER / TAB: Complete input with the current selection.\n * ESC: Deselect the current selection and hide the list.\n */\n\nimport { ARROW_DOWN, ARROW_UP,ENTER, ESCAPE, TAB } from '../keys.ts';\n\nexport const comboBoxKeys = {\n ARROW_DOWN,\n ARROW_UP,\n ENTER,\n ESCAPE,\n TAB\n};\n"],"names":["comboBoxKeys","ARROW_DOWN","ARROW_UP","ENTER","ESCAPE","TAB"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAaO,MAAMA,YAAY,GAAG;EAC1BC,UAAU;EACVC,QAAQ;EACRC,KAAK;EACLC,MAAM;AACNC,EAAAA,GAAAA;AACF;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breakpoint.js","sources":["../../src/utils/breakpoint.ts"],"sourcesContent":["/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0 and the Server Side Public License, v 1; you may not use this file except\n * in compliance with, at your election, the Elastic License 2.0 or the Server\n * Side Public License, v 1.\n */\n\nimport { keysOf } from '../components/common';\n\nexport type EuiBreakpointSize = 'xs' | 's' | 'm' | 'l' | 'xl';\n\nexport type EuiBreakpoints = {\n /**\n * Set the minimum window width at which to start to the breakpoint\n */\n [key in EuiBreakpointSize]: number;\n};\n\nexport const BREAKPOINTS: EuiBreakpoints = {\n xl: 1200,\n l: 992,\n m: 768,\n s: 575,\n xs: 0\n};\n\nexport const BREAKPOINT_KEYS = keysOf(BREAKPOINTS);\n\n/**\n * Given the current `width` and an object of `EuiBreakpoints`,\n * this function returns the string that is the name of the breakpoint key\n * that is less than or equal to the width\n *\n * @param {number} width Can either be the full window width or any width\n * @param {EuiBreakpoints} breakpoints An object with keys for sizing and values for minimum width\n * @returns {string | undefined} Name of the breakpoint key or `undefined` if a key doesn't exist\n */\nexport function getBreakpoint(\n width: number,\n breakpoints: EuiBreakpoints = BREAKPOINTS\n): EuiBreakpointSize | undefined {\n // Find the breakpoint (key) whose value is <= windowWidth starting with largest first\n return keysOf(BREAKPOINTS).find((key) => breakpoints[key] <= width);\n}\n\n/**\n * Given the current `width` and a max breakpoint key,\n * this function returns true or false if the `width` falls within the max\n * breakpoint or any breakpoints below\n *\n * @param {number} width Can either be the full window width or any width\n * @param {EuiBreakpointSize | number} max The named breakpoint or custom number to check against\n * @param {EuiBreakpoints} breakpoints An object with keys for sizing and values for minimum width\n * @returns {boolean} Will return `false` if it can't find a value for the `max` breakpoint\n */\nexport function isWithinMaxBreakpoint(\n width: number,\n max: EuiBreakpointSize | number,\n breakpoints: EuiBreakpoints = BREAKPOINTS\n): boolean {\n if (typeof max === 'number') {\n return width <= max;\n } else {\n const currentBreakpoint = getBreakpoint(width, breakpoints);\n\n return currentBreakpoint\n ? breakpoints[currentBreakpoint] <= breakpoints[max]\n : false;\n }\n}\n\n/**\n * Given the current `width` and a min breakpoint key,\n * this function returns true or false if the `width` falls within the min\n * breakpoint or any breakpoints above\n *\n * @param {number} width Can either be the full window width or any width\n * @param {EuiBreakpointSize | number} min The named breakpoint or custom number to check against\n * @param {EuiBreakpoints} breakpoints An object with keys for sizing and values for minimum width\n * @returns {boolean} Will return `false` if it can't find a value for the `min` breakpoint\n */\nexport function isWithinMinBreakpoint(\n width: number,\n min: EuiBreakpointSize | number,\n breakpoints: EuiBreakpoints = BREAKPOINTS\n): boolean {\n if (typeof min === 'number') {\n return width >= min;\n } else {\n const currentBreakpoint = getBreakpoint(width, breakpoints);\n\n return currentBreakpoint\n ? breakpoints[currentBreakpoint] >= breakpoints[min]\n : false;\n }\n}\n\n/**\n * Given the current `width` and an array of breakpoint keys,\n * this function returns true or false if the `width` falls within\n * any of the named breakpoints\n *\n * @param {number} width Can either be the full window width or any width\n * @param {EuiBreakpointSize[]} sizes An array of named breakpoints\n * @param {EuiBreakpoints} breakpoints An object with keys for sizing and values for minimum width\n * @returns {boolean} Returns `true` if current breakpoint name is included in `sizes`\n */\nexport function isWithinBreakpoints(\n width: number,\n sizes: EuiBreakpointSize[],\n breakpoints: EuiBreakpoints = BREAKPOINTS\n): boolean {\n const currentBreakpoint = getBreakpoint(width, breakpoints);\n\n return currentBreakpoint ? sizes.includes(currentBreakpoint) : false;\n}\n"],"names":["BREAKPOINTS","xl","l","m","s","xs","BREAKPOINT_KEYS","keysOf","getBreakpoint","width","breakpoints","find","key","isWithinMaxBreakpoint","max","currentBreakpoint","isWithinMinBreakpoint","min","isWithinBreakpoints","sizes","includes"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;AAaO,MAAMA,WAA2B,GAAG;AACzCC,EAAAA,EAAE,EAAE,IAAI;AACRC,EAAAA,CAAC,EAAE,GAAG;AACNC,EAAAA,CAAC,EAAE,GAAG;AACNC,EAAAA,CAAC,EAAE,GAAG;AACNC,EAAAA,EAAE,EAAE,CAAA;AACN,EAAC;MAEYC,eAAe,GAAGC,MAAM,CAACP,WAAW,EAAC;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASQ,aAAaA,CAC3BC,KAAa,EACbC,WAA2B,GAAGV,WAAW,EACV;AAC/B;AACA,EAAA,OAAOO,MAAM,CAACP,WAAW,CAAC,CAACW,IAAI,CAAEC,GAAG,IAAKF,WAAW,CAACE,GAAG,CAAC,IAAIH,KAAK,CAAC,CAAA;AACrE,CAAA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASI,qBAAqBA,CACnCJ,KAAa,EACbK,GAA+B,EAC/BJ,WAA2B,GAAGV,WAAW,EAChC;AACT,EAAA,IAAI,OAAOc,GAAG,KAAK,QAAQ,EAAE;IAC3B,OAAOL,KAAK,IAAIK,GAAG,CAAA;AACrB,GAAC,MAAM;AACL,IAAA,MAAMC,iBAAiB,GAAGP,aAAa,CAACC,KAAK,EAAEC,WAAW,CAAC,CAAA;AAE3D,IAAA,OAAOK,iBAAiB,GACpBL,WAAW,CAACK,iBAAiB,CAAC,IAAIL,WAAW,CAACI,GAAG,CAAC,GAClD,KAAK,CAAA;AACX,GAAA;AACF,CAAA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASE,qBAAqBA,CACnCP,KAAa,EACbQ,GAA+B,EAC/BP,WAA2B,GAAGV,WAAW,EAChC;AACT,EAAA,IAAI,OAAOiB,GAAG,KAAK,QAAQ,EAAE;IAC3B,OAAOR,KAAK,IAAIQ,GAAG,CAAA;AACrB,GAAC,MAAM;AACL,IAAA,MAAMF,iBAAiB,GAAGP,aAAa,CAACC,KAAK,EAAEC,WAAW,CAAC,CAAA;AAE3D,IAAA,OAAOK,iBAAiB,GACpBL,WAAW,CAACK,iBAAiB,CAAC,IAAIL,WAAW,CAACO,GAAG,CAAC,GAClD,KAAK,CAAA;AACX,GAAA;AACF,CAAA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASC,mBAAmBA,CACjCT,KAAa,EACbU,KAA0B,EAC1BT,WAA2B,GAAGV,WAAW,EAChC;AACT,EAAA,MAAMe,iBAAiB,GAAGP,aAAa,CAACC,KAAK,EAAEC,WAAW,CAAC,CAAA;EAE3D,OAAOK,iBAAiB,GAAGI,KAAK,CAACC,QAAQ,CAACL,iBAAiB,CAAC,GAAG,KAAK,CAAA;AACtE;;;;"}
|
|
1
|
+
{"version":3,"file":"breakpoint.js","sources":["../../src/utils/breakpoint.ts"],"sourcesContent":["/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0 and the Server Side Public License, v 1; you may not use this file except\n * in compliance with, at your election, the Elastic License 2.0 or the Server\n * Side Public License, v 1.\n */\n\nimport { keysOf } from '../components/common.ts';\n\nexport type EuiBreakpointSize = 'xs' | 's' | 'm' | 'l' | 'xl';\n\nexport type EuiBreakpoints = {\n /**\n * Set the minimum window width at which to start to the breakpoint\n */\n [key in EuiBreakpointSize]: number;\n};\n\nexport const BREAKPOINTS: EuiBreakpoints = {\n xl: 1200,\n l: 992,\n m: 768,\n s: 575,\n xs: 0\n};\n\nexport const BREAKPOINT_KEYS = keysOf(BREAKPOINTS);\n\n/**\n * Given the current `width` and an object of `EuiBreakpoints`,\n * this function returns the string that is the name of the breakpoint key\n * that is less than or equal to the width\n *\n * @param {number} width Can either be the full window width or any width\n * @param {EuiBreakpoints} breakpoints An object with keys for sizing and values for minimum width\n * @returns {string | undefined} Name of the breakpoint key or `undefined` if a key doesn't exist\n */\nexport function getBreakpoint(\n width: number,\n breakpoints: EuiBreakpoints = BREAKPOINTS\n): EuiBreakpointSize | undefined {\n // Find the breakpoint (key) whose value is <= windowWidth starting with largest first\n return keysOf(BREAKPOINTS).find((key) => breakpoints[key] <= width);\n}\n\n/**\n * Given the current `width` and a max breakpoint key,\n * this function returns true or false if the `width` falls within the max\n * breakpoint or any breakpoints below\n *\n * @param {number} width Can either be the full window width or any width\n * @param {EuiBreakpointSize | number} max The named breakpoint or custom number to check against\n * @param {EuiBreakpoints} breakpoints An object with keys for sizing and values for minimum width\n * @returns {boolean} Will return `false` if it can't find a value for the `max` breakpoint\n */\nexport function isWithinMaxBreakpoint(\n width: number,\n max: EuiBreakpointSize | number,\n breakpoints: EuiBreakpoints = BREAKPOINTS\n): boolean {\n if (typeof max === 'number') {\n return width <= max;\n } else {\n const currentBreakpoint = getBreakpoint(width, breakpoints);\n\n return currentBreakpoint\n ? breakpoints[currentBreakpoint] <= breakpoints[max]\n : false;\n }\n}\n\n/**\n * Given the current `width` and a min breakpoint key,\n * this function returns true or false if the `width` falls within the min\n * breakpoint or any breakpoints above\n *\n * @param {number} width Can either be the full window width or any width\n * @param {EuiBreakpointSize | number} min The named breakpoint or custom number to check against\n * @param {EuiBreakpoints} breakpoints An object with keys for sizing and values for minimum width\n * @returns {boolean} Will return `false` if it can't find a value for the `min` breakpoint\n */\nexport function isWithinMinBreakpoint(\n width: number,\n min: EuiBreakpointSize | number,\n breakpoints: EuiBreakpoints = BREAKPOINTS\n): boolean {\n if (typeof min === 'number') {\n return width >= min;\n } else {\n const currentBreakpoint = getBreakpoint(width, breakpoints);\n\n return currentBreakpoint\n ? breakpoints[currentBreakpoint] >= breakpoints[min]\n : false;\n }\n}\n\n/**\n * Given the current `width` and an array of breakpoint keys,\n * this function returns true or false if the `width` falls within\n * any of the named breakpoints\n *\n * @param {number} width Can either be the full window width or any width\n * @param {EuiBreakpointSize[]} sizes An array of named breakpoints\n * @param {EuiBreakpoints} breakpoints An object with keys for sizing and values for minimum width\n * @returns {boolean} Returns `true` if current breakpoint name is included in `sizes`\n */\nexport function isWithinBreakpoints(\n width: number,\n sizes: EuiBreakpointSize[],\n breakpoints: EuiBreakpoints = BREAKPOINTS\n): boolean {\n const currentBreakpoint = getBreakpoint(width, breakpoints);\n\n return currentBreakpoint ? sizes.includes(currentBreakpoint) : false;\n}\n"],"names":["BREAKPOINTS","xl","l","m","s","xs","BREAKPOINT_KEYS","keysOf","getBreakpoint","width","breakpoints","find","key","isWithinMaxBreakpoint","max","currentBreakpoint","isWithinMinBreakpoint","min","isWithinBreakpoints","sizes","includes"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;AAaO,MAAMA,WAA2B,GAAG;AACzCC,EAAAA,EAAE,EAAE,IAAI;AACRC,EAAAA,CAAC,EAAE,GAAG;AACNC,EAAAA,CAAC,EAAE,GAAG;AACNC,EAAAA,CAAC,EAAE,GAAG;AACNC,EAAAA,EAAE,EAAE,CAAA;AACN,EAAC;MAEYC,eAAe,GAAGC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