@ember-eui/core 9.0.1 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/eui-accordion.js +82 -226
- package/dist/components/eui-accordion.js.map +1 -1
- package/dist/components/eui-auto-sizer.js +69 -85
- package/dist/components/eui-auto-sizer.js.map +1 -1
- package/dist/components/eui-avatar.js +10 -61
- package/dist/components/eui-avatar.js.map +1 -1
- package/dist/components/eui-badge-group.js +10 -24
- package/dist/components/eui-badge-group.js.map +1 -1
- package/dist/components/eui-badge.js +12 -166
- package/dist/components/eui-badge.js.map +1 -1
- package/dist/components/eui-beta-badge.js +9 -181
- package/dist/components/eui-beta-badge.js.map +1 -1
- package/dist/components/eui-bottom-bar.js +37 -104
- package/dist/components/eui-bottom-bar.js.map +1 -1
- package/dist/components/eui-breadcrumbs.js +87 -192
- package/dist/components/eui-breadcrumbs.js.map +1 -1
- package/dist/components/eui-button-content.js +9 -37
- package/dist/components/eui-button-content.js.map +1 -1
- package/dist/components/eui-button-empty.js +8 -70
- package/dist/components/eui-button-empty.js.map +1 -1
- package/dist/components/eui-button-group-button.js +13 -73
- package/dist/components/eui-button-group-button.js.map +1 -1
- package/dist/components/eui-button-group.js +10 -79
- package/dist/components/eui-button-group.js.map +1 -1
- package/dist/components/eui-button-icon.js +9 -64
- package/dist/components/eui-button-icon.js.map +1 -1
- package/dist/components/eui-button.js +11 -58
- package/dist/components/eui-button.js.map +1 -1
- package/dist/components/eui-call-out.js +10 -55
- package/dist/components/eui-call-out.js.map +1 -1
- package/dist/components/eui-card-select.js +25 -51
- package/dist/components/eui-card-select.js.map +1 -1
- package/dist/components/eui-card.js +51 -208
- package/dist/components/eui-card.js.map +1 -1
- package/dist/components/eui-checkable-card.js +10 -72
- package/dist/components/eui-checkable-card.js.map +1 -1
- package/dist/components/eui-checkbox-group.js +11 -58
- package/dist/components/eui-checkbox-group.js.map +1 -1
- package/dist/components/eui-checkbox.js +13 -58
- package/dist/components/eui-checkbox.js.map +1 -1
- package/dist/components/eui-code-block/controls.js +8 -39
- package/dist/components/eui-code-block/controls.js.map +1 -1
- package/dist/components/eui-code-block/full-screen-display.js +9 -22
- package/dist/components/eui-code-block/full-screen-display.js.map +1 -1
- package/dist/components/eui-code-block/virtualized.js +28 -65
- package/dist/components/eui-code-block/virtualized.js.map +1 -1
- package/dist/components/eui-code-block.js +152 -298
- package/dist/components/eui-code-block.js.map +1 -1
- package/dist/components/eui-code.js +48 -63
- package/dist/components/eui-code.js.map +1 -1
- package/dist/components/eui-collapsible-nav-group.js +11 -138
- package/dist/components/eui-collapsible-nav-group.js.map +1 -1
- package/dist/components/eui-collapsible-nav.js +50 -88
- package/dist/components/eui-collapsible-nav.js.map +1 -1
- package/dist/components/eui-combo-box/create-option.js +23 -44
- package/dist/components/eui-combo-box/create-option.js.map +1 -1
- package/dist/components/eui-combo-box/group.js +4 -15
- package/dist/components/eui-combo-box/group.js.map +1 -1
- package/dist/components/eui-combo-box/no-matches-message.js +7 -15
- package/dist/components/eui-combo-box/no-matches-message.js.map +1 -1
- package/dist/components/eui-combo-box/options.js +49 -132
- package/dist/components/eui-combo-box/options.js.map +1 -1
- package/dist/components/eui-combo-box/search-message.js +7 -15
- package/dist/components/eui-combo-box/search-message.js.map +1 -1
- package/dist/components/eui-combo-box/trigger/input.js +39 -79
- package/dist/components/eui-combo-box/trigger/input.js.map +1 -1
- package/dist/components/eui-combo-box/trigger.js +32 -163
- package/dist/components/eui-combo-box/trigger.js.map +1 -1
- package/dist/components/eui-combo-box-pill.js +9 -48
- package/dist/components/eui-combo-box-pill.js.map +1 -1
- package/dist/components/eui-combo-box.js +133 -218
- package/dist/components/eui-combo-box.js.map +1 -1
- package/dist/components/eui-comment-list.js +4 -11
- package/dist/components/eui-comment-list.js.map +1 -1
- package/dist/components/eui-comment-timeline.js +8 -37
- package/dist/components/eui-comment-timeline.js.map +1 -1
- package/dist/components/eui-comment.js +9 -92
- package/dist/components/eui-comment.js.map +1 -1
- package/dist/components/eui-confirm-modal.js +13 -54
- package/dist/components/eui-confirm-modal.js.map +1 -1
- package/dist/components/eui-context-menu-item.js +34 -99
- package/dist/components/eui-context-menu-item.js.map +1 -1
- package/dist/components/eui-context-menu-panel.js +4 -10
- package/dist/components/eui-context-menu-panel.js.map +1 -1
- package/dist/components/eui-copy.js +25 -32
- package/dist/components/eui-copy.js.map +1 -1
- package/dist/components/eui-described-form-group.js +9 -47
- package/dist/components/eui-described-form-group.js.map +1 -1
- package/dist/components/eui-description-list-description.js +4 -8
- package/dist/components/eui-description-list-description.js.map +1 -1
- package/dist/components/eui-description-list-title.js +4 -8
- package/dist/components/eui-description-list-title.js.map +1 -1
- package/dist/components/eui-description-list.js +9 -33
- package/dist/components/eui-description-list.js.map +1 -1
- package/dist/components/eui-dual-range.js +285 -662
- package/dist/components/eui-dual-range.js.map +1 -1
- package/dist/components/eui-empty-prompt.js +14 -103
- package/dist/components/eui-empty-prompt.js.map +1 -1
- package/dist/components/eui-field-number.js +10 -77
- package/dist/components/eui-field-number.js.map +1 -1
- package/dist/components/eui-field-password.js +14 -87
- package/dist/components/eui-field-password.js.map +1 -1
- package/dist/components/eui-field-search.js +85 -143
- package/dist/components/eui-field-search.js.map +1 -1
- package/dist/components/eui-field-text.js +10 -74
- package/dist/components/eui-field-text.js.map +1 -1
- package/dist/components/eui-file-picker.js +86 -173
- package/dist/components/eui-file-picker.js.map +1 -1
- package/dist/components/eui-flex-grid.js +9 -41
- package/dist/components/eui-flex-grid.js.map +1 -1
- package/dist/components/eui-flex-group.js +8 -40
- package/dist/components/eui-flex-group.js.map +1 -1
- package/dist/components/eui-flex-item.js +9 -36
- package/dist/components/eui-flex-item.js.map +1 -1
- package/dist/components/eui-flyout-body.js +8 -38
- package/dist/components/eui-flyout-body.js.map +1 -1
- package/dist/components/eui-flyout-footer.js +4 -8
- package/dist/components/eui-flyout-footer.js.map +1 -1
- package/dist/components/eui-flyout-header.js +7 -17
- package/dist/components/eui-flyout-header.js.map +1 -1
- package/dist/components/eui-flyout.js +95 -234
- package/dist/components/eui-flyout.js.map +1 -1
- package/dist/components/eui-form-control-layout-clear-button.js +8 -23
- package/dist/components/eui-form-control-layout-clear-button.js.map +1 -1
- package/dist/components/eui-form-control-layout-custom-icon.js +7 -32
- package/dist/components/eui-form-control-layout-custom-icon.js.map +1 -1
- package/dist/components/eui-form-control-layout-delimited.js +8 -53
- package/dist/components/eui-form-control-layout-delimited.js.map +1 -1
- package/dist/components/eui-form-control-layout-icons.js +10 -47
- package/dist/components/eui-form-control-layout-icons.js.map +1 -1
- package/dist/components/eui-form-control-layout.js +8 -47
- package/dist/components/eui-form-control-layout.js.map +1 -1
- package/dist/components/eui-form-error-text.js +4 -8
- package/dist/components/eui-form-error-text.js.map +1 -1
- package/dist/components/eui-form-fieldset.js +7 -24
- package/dist/components/eui-form-fieldset.js.map +1 -1
- package/dist/components/eui-form-help-text.js +4 -8
- package/dist/components/eui-form-help-text.js.map +1 -1
- package/dist/components/eui-form-label.js +8 -29
- package/dist/components/eui-form-label.js.map +1 -1
- package/dist/components/eui-form-legend.js +8 -27
- package/dist/components/eui-form-legend.js.map +1 -1
- package/dist/components/eui-form-row.js +15 -268
- package/dist/components/eui-form-row.js.map +1 -1
- package/dist/components/eui-form.js +9 -83
- package/dist/components/eui-form.js.map +1 -1
- package/dist/components/eui-global-toast-list.js +109 -130
- package/dist/components/eui-global-toast-list.js.map +1 -1
- package/dist/components/eui-header-alert.js +7 -35
- package/dist/components/eui-header-alert.js.map +1 -1
- package/dist/components/eui-header-breadcrumbs.js +7 -15
- package/dist/components/eui-header-breadcrumbs.js.map +1 -1
- package/dist/components/eui-header-link.js +8 -24
- package/dist/components/eui-header-link.js.map +1 -1
- package/dist/components/eui-header-links.js +31 -79
- package/dist/components/eui-header-links.js.map +1 -1
- package/dist/components/eui-header-logo.js +8 -22
- package/dist/components/eui-header-logo.js.map +1 -1
- package/dist/components/eui-header-section-item-button.js +45 -94
- package/dist/components/eui-header-section-item-button.js.map +1 -1
- package/dist/components/eui-header-section-item.js +8 -18
- package/dist/components/eui-header-section-item.js.map +1 -1
- package/dist/components/eui-header-section.js +8 -19
- package/dist/components/eui-header-section.js.map +1 -1
- package/dist/components/eui-header.js +11 -36
- package/dist/components/eui-header.js.map +1 -1
- package/dist/components/eui-health.js +8 -27
- package/dist/components/eui-health.js.map +1 -1
- package/dist/components/eui-hide-for.js +12 -18
- package/dist/components/eui-hide-for.js.map +1 -1
- package/dist/components/eui-horizontal-rule.js +8 -17
- package/dist/components/eui-horizontal-rule.js.map +1 -1
- package/dist/components/eui-i18n/render.js +4 -6
- package/dist/components/eui-i18n/render.js.map +1 -1
- package/dist/components/eui-i18n.js +22 -43
- package/dist/components/eui-i18n.js.map +1 -1
- package/dist/components/eui-icon-tip.js +9 -49
- package/dist/components/eui-icon-tip.js.map +1 -1
- package/dist/components/eui-icon.js +59 -130
- package/dist/components/eui-icon.js.map +1 -1
- package/dist/components/eui-image.js +44 -149
- package/dist/components/eui-image.js.map +1 -1
- package/dist/components/eui-inner-text.js +33 -37
- package/dist/components/eui-inner-text.js.map +1 -1
- package/dist/components/eui-input-popover.js +102 -148
- package/dist/components/eui-input-popover.js.map +1 -1
- package/dist/components/eui-key-pad-menu-item.js +15 -83
- package/dist/components/eui-key-pad-menu-item.js.map +1 -1
- package/dist/components/eui-key-pad-menu.js +8 -25
- package/dist/components/eui-key-pad-menu.js.map +1 -1
- package/dist/components/eui-link.js +9 -60
- package/dist/components/eui-link.js.map +1 -1
- package/dist/components/eui-list-group-item.js +11 -96
- package/dist/components/eui-list-group-item.js.map +1 -1
- package/dist/components/eui-list-group.js +11 -36
- package/dist/components/eui-list-group.js.map +1 -1
- package/dist/components/eui-loading-content.js +7 -20
- package/dist/components/eui-loading-content.js.map +1 -1
- package/dist/components/eui-loading-logo.js +9 -27
- package/dist/components/eui-loading-logo.js.map +1 -1
- package/dist/components/eui-loading-spinner.js +8 -16
- package/dist/components/eui-loading-spinner.js.map +1 -1
- package/dist/components/eui-markdown-editor-drop-zone.js +7 -20
- package/dist/components/eui-markdown-editor-drop-zone.js.map +1 -1
- package/dist/components/eui-markdown-editor-footer/icons/markdown-logo.js +4 -21
- package/dist/components/eui-markdown-editor-footer/icons/markdown-logo.js.map +1 -1
- package/dist/components/eui-markdown-editor-footer.js +49 -145
- package/dist/components/eui-markdown-editor-footer.js.map +1 -1
- package/dist/components/eui-markdown-editor-text-area.js +8 -17
- package/dist/components/eui-markdown-editor-text-area.js.map +1 -1
- package/dist/components/eui-markdown-editor-toolbar/icons/markdown-checkmark.js +4 -21
- package/dist/components/eui-markdown-editor-toolbar/icons/markdown-checkmark.js.map +1 -1
- package/dist/components/eui-markdown-editor-toolbar.js +71 -155
- package/dist/components/eui-markdown-editor-toolbar.js.map +1 -1
- package/dist/components/eui-markdown-editor.js +217 -283
- package/dist/components/eui-markdown-editor.js.map +1 -1
- package/dist/components/eui-markdown-format/markdown-checkbox.js +16 -26
- package/dist/components/eui-markdown-format/markdown-checkbox.js.map +1 -1
- package/dist/components/eui-markdown-format/markdown-code-block.js +7 -16
- package/dist/components/eui-markdown-format/markdown-code-block.js.map +1 -1
- package/dist/components/eui-markdown-format/markdown-code.js +7 -11
- package/dist/components/eui-markdown-format/markdown-code.js.map +1 -1
- package/dist/components/eui-markdown-format/markdown-tooltip.js +8 -20
- package/dist/components/eui-markdown-format/markdown-tooltip.js.map +1 -1
- package/dist/components/eui-markdown-format.js +36 -50
- package/dist/components/eui-markdown-format.js.map +1 -1
- package/dist/components/eui-modal-body.js +4 -10
- package/dist/components/eui-modal-body.js.map +1 -1
- package/dist/components/eui-modal-footer.js +4 -8
- package/dist/components/eui-modal-footer.js.map +1 -1
- package/dist/components/eui-modal-header-title.js +4 -8
- package/dist/components/eui-modal-header-title.js.map +1 -1
- package/dist/components/eui-modal-header.js +4 -8
- package/dist/components/eui-modal-header.js.map +1 -1
- package/dist/components/eui-modal.js +16 -61
- package/dist/components/eui-modal.js.map +1 -1
- package/dist/components/eui-notification-badge.js +8 -19
- package/dist/components/eui-notification-badge.js.map +1 -1
- package/dist/components/eui-notification-event-messages.js +10 -53
- package/dist/components/eui-notification-event-messages.js.map +1 -1
- package/dist/components/eui-notification-event-meta.js +15 -119
- package/dist/components/eui-notification-event-meta.js.map +1 -1
- package/dist/components/eui-notification-event-read-button.js +8 -26
- package/dist/components/eui-notification-event-read-button.js.map +1 -1
- package/dist/components/eui-notification-event-read-icon.js +9 -31
- package/dist/components/eui-notification-event-read-icon.js.map +1 -1
- package/dist/components/eui-notification-event.js +14 -119
- package/dist/components/eui-notification-event.js.map +1 -1
- package/dist/components/eui-overlay-mask.js +35 -52
- package/dist/components/eui-overlay-mask.js.map +1 -1
- package/dist/components/eui-page-body.js +12 -65
- package/dist/components/eui-page-body.js.map +1 -1
- package/dist/components/eui-page-content-body.js +10 -27
- package/dist/components/eui-page-content-body.js.map +1 -1
- package/dist/components/eui-page-content-header-section.js +4 -8
- package/dist/components/eui-page-content-header-section.js.map +1 -1
- package/dist/components/eui-page-content-header.js +7 -17
- package/dist/components/eui-page-content-header.js.map +1 -1
- package/dist/components/eui-page-content.js +9 -30
- package/dist/components/eui-page-content.js.map +1 -1
- package/dist/components/eui-page-header-content.js +55 -363
- package/dist/components/eui-page-header-content.js.map +1 -1
- package/dist/components/eui-page-header-section.js +4 -8
- package/dist/components/eui-page-header-section.js.map +1 -1
- package/dist/components/eui-page-header.js +11 -108
- package/dist/components/eui-page-header.js.map +1 -1
- package/dist/components/eui-page-side-bar.js +8 -19
- package/dist/components/eui-page-side-bar.js.map +1 -1
- package/dist/components/eui-page-template.js +59 -846
- package/dist/components/eui-page-template.js.map +1 -1
- package/dist/components/eui-page.js +10 -37
- package/dist/components/eui-page.js.map +1 -1
- package/dist/components/eui-pagination/button-wrapper.js +10 -32
- package/dist/components/eui-pagination/button-wrapper.js.map +1 -1
- package/dist/components/eui-pagination/next-button.js +11 -43
- package/dist/components/eui-pagination/next-button.js.map +1 -1
- package/dist/components/eui-pagination/previous-button.js +10 -42
- package/dist/components/eui-pagination/previous-button.js.map +1 -1
- package/dist/components/eui-pagination-button.js +11 -48
- package/dist/components/eui-pagination-button.js.map +1 -1
- package/dist/components/eui-pagination.js +67 -186
- package/dist/components/eui-pagination.js.map +1 -1
- package/dist/components/eui-panel.js +9 -72
- package/dist/components/eui-panel.js.map +1 -1
- package/dist/components/eui-popover-footer.js +7 -17
- package/dist/components/eui-popover-footer.js.map +1 -1
- package/dist/components/eui-popover-title.js +7 -17
- package/dist/components/eui-popover-title.js.map +1 -1
- package/dist/components/eui-popover.js +290 -418
- package/dist/components/eui-popover.js.map +1 -1
- package/dist/components/eui-portal.js +22 -28
- package/dist/components/eui-portal.js.map +1 -1
- package/dist/components/eui-progress.js +8 -62
- package/dist/components/eui-progress.js.map +1 -1
- package/dist/components/eui-radio-group.js +10 -50
- package/dist/components/eui-radio-group.js.map +1 -1
- package/dist/components/eui-radio.js +10 -52
- package/dist/components/eui-radio.js.map +1 -1
- package/dist/components/eui-range-highlight.js +9 -33
- package/dist/components/eui-range-highlight.js.map +1 -1
- package/dist/components/eui-range-input.js +10 -50
- package/dist/components/eui-range-input.js.map +1 -1
- package/dist/components/eui-range-label.js +8 -18
- package/dist/components/eui-range-label.js.map +1 -1
- package/dist/components/eui-range-levels.js +31 -52
- package/dist/components/eui-range-levels.js.map +1 -1
- package/dist/components/eui-range-slider.js +7 -26
- package/dist/components/eui-range-slider.js.map +1 -1
- package/dist/components/eui-range-thumb.js +8 -33
- package/dist/components/eui-range-thumb.js.map +1 -1
- package/dist/components/eui-range-ticks.js +24 -54
- package/dist/components/eui-range-ticks.js.map +1 -1
- package/dist/components/eui-range-tooltip.js +32 -48
- package/dist/components/eui-range-tooltip.js.map +1 -1
- package/dist/components/eui-range-track.js +82 -127
- package/dist/components/eui-range-track.js.map +1 -1
- package/dist/components/eui-range-wrapper.js +7 -18
- package/dist/components/eui-range-wrapper.js.map +1 -1
- package/dist/components/eui-range.js +129 -536
- package/dist/components/eui-range.js.map +1 -1
- package/dist/components/eui-select.js +11 -80
- package/dist/components/eui-select.js.map +1 -1
- package/dist/components/eui-selectable-list-item.js +8 -32
- package/dist/components/eui-selectable-list-item.js.map +1 -1
- package/dist/components/eui-show-for.js +26 -37
- package/dist/components/eui-show-for.js.map +1 -1
- package/dist/components/eui-side-nav-item/button.js +9 -37
- package/dist/components/eui-side-nav-item/button.js.map +1 -1
- package/dist/components/eui-side-nav-item.js +10 -124
- package/dist/components/eui-side-nav-item.js.map +1 -1
- package/dist/components/eui-side-nav.js +39 -198
- package/dist/components/eui-side-nav.js.map +1 -1
- package/dist/components/eui-spacer.js +8 -13
- package/dist/components/eui-spacer.js.map +1 -1
- package/dist/components/eui-split-panel/inner.js +8 -20
- package/dist/components/eui-split-panel/inner.js.map +1 -1
- package/dist/components/eui-split-panel/outer.js +10 -39
- package/dist/components/eui-split-panel/outer.js.map +1 -1
- package/dist/components/eui-stat/description.js +7 -24
- package/dist/components/eui-stat/description.js.map +1 -1
- package/dist/components/eui-stat/title.js +9 -31
- package/dist/components/eui-stat/title.js.map +1 -1
- package/dist/components/eui-stat.js +16 -96
- package/dist/components/eui-stat.js.map +1 -1
- package/dist/components/eui-step-horizontal.js +10 -53
- package/dist/components/eui-step-horizontal.js.map +1 -1
- package/dist/components/eui-step-number.js +10 -52
- package/dist/components/eui-step-number.js.map +1 -1
- package/dist/components/eui-step.js +9 -41
- package/dist/components/eui-step.js.map +1 -1
- package/dist/components/eui-steps-horizontal.js +4 -8
- package/dist/components/eui-steps-horizontal.js.map +1 -1
- package/dist/components/eui-steps.js +4 -8
- package/dist/components/eui-steps.js.map +1 -1
- package/dist/components/eui-sub-steps.js +4 -8
- package/dist/components/eui-sub-steps.js.map +1 -1
- package/dist/components/eui-super-date-picker/date-popover/absolute-tab.js +69 -101
- package/dist/components/eui-super-date-picker/date-popover/absolute-tab.js.map +1 -1
- package/dist/components/eui-super-date-picker/date-popover/datetime-picker.js +146 -289
- package/dist/components/eui-super-date-picker/date-popover/datetime-picker.js.map +1 -1
- package/dist/components/eui-super-date-picker/date-popover/eui-date-popover-button.js +35 -88
- package/dist/components/eui-super-date-picker/date-popover/eui-date-popover-button.js.map +1 -1
- package/dist/components/eui-super-date-picker/date-popover/eui-date-popover-content.js +33 -74
- package/dist/components/eui-super-date-picker/date-popover/eui-date-popover-content.js.map +1 -1
- package/dist/components/eui-super-date-picker/date-popover/now-tab.js +11 -57
- package/dist/components/eui-super-date-picker/date-popover/now-tab.js.map +1 -1
- package/dist/components/eui-super-date-picker/date-popover/relative-tab.js +82 -117
- package/dist/components/eui-super-date-picker/date-popover/relative-tab.js.map +1 -1
- package/dist/components/eui-super-date-picker/eui-date-picker-range.js +7 -30
- package/dist/components/eui-super-date-picker/eui-date-picker-range.js.map +1 -1
- package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-commonly-used-time-ranges.js +11 -53
- package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-commonly-used-time-ranges.js.map +1 -1
- package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.js +80 -215
- package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.js.map +1 -1
- package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-recently-used.js +11 -53
- package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-recently-used.js.map +1 -1
- package/dist/components/eui-super-date-picker/eui-quick-select-popover.js +42 -91
- package/dist/components/eui-super-date-picker/eui-quick-select-popover.js.map +1 -1
- package/dist/components/eui-super-date-picker/eui-super-update-button.js +11 -48
- package/dist/components/eui-super-date-picker/eui-super-update-button.js.map +1 -1
- package/dist/components/eui-super-date-picker/utils/pretty-duration.js.map +1 -1
- package/dist/components/eui-super-date-picker/utils/quick-select.js.map +1 -1
- package/dist/components/eui-super-date-picker.js +116 -230
- package/dist/components/eui-super-date-picker.js.map +1 -1
- package/dist/components/eui-switch.js +28 -87
- package/dist/components/eui-switch.js.map +1 -1
- package/dist/components/eui-tab.js +9 -73
- package/dist/components/eui-tab.js.map +1 -1
- package/dist/components/eui-tabbed-content.js +94 -131
- package/dist/components/eui-tabbed-content.js.map +1 -1
- package/dist/components/eui-tabs.js +7 -27
- package/dist/components/eui-tabs.js.map +1 -1
- package/dist/components/eui-text-align.js +8 -18
- package/dist/components/eui-text-align.js.map +1 -1
- package/dist/components/eui-text-area.js +11 -36
- package/dist/components/eui-text-area.js.map +1 -1
- package/dist/components/eui-text-color.js +8 -30
- package/dist/components/eui-text-color.js.map +1 -1
- package/dist/components/eui-text.js +9 -44
- package/dist/components/eui-text.js.map +1 -1
- package/dist/components/eui-title.js +8 -20
- package/dist/components/eui-title.js.map +1 -1
- package/dist/components/eui-toast.js +9 -66
- package/dist/components/eui-toast.js.map +1 -1
- package/dist/components/eui-tool-tip-popover.js +28 -34
- package/dist/components/eui-tool-tip-popover.js.map +1 -1
- package/dist/components/eui-tool-tip.js +167 -224
- package/dist/components/eui-tool-tip.js.map +1 -1
- package/dist/components/text-block.js +7 -41
- package/dist/components/text-block.js.map +1 -1
- package/dist/helpers/class-names.js.map +1 -1
- package/dist/helpers/eui-palette.js.map +1 -1
- package/dist/helpers/get-eui-config.js +6 -12
- package/dist/helpers/get-eui-config.js.map +1 -1
- package/dist/helpers/get-range-tick.js.map +1 -1
- package/dist/helpers/inline-styles.js.map +1 -1
- package/dist/helpers/is-within-number.js.map +1 -1
- package/dist/helpers/use-state.js +10 -17
- package/dist/helpers/use-state.js.map +1 -1
- package/dist/i18n/util.js.map +1 -1
- package/dist/modifiers/outside-click-detector.js +16 -12
- package/dist/modifiers/outside-click-detector.js.map +1 -1
- package/dist/modifiers/resize-observer.js +9 -15
- package/dist/modifiers/resize-observer.js.map +1 -1
- package/dist/modifiers/use-is-within-breakpoints.js.map +1 -1
- package/dist/services/eui-config.js +8 -14
- package/dist/services/eui-config.js.map +1 -1
- package/dist/services/eui-i18n.js +13 -8
- package/dist/services/eui-i18n.js.map +1 -1
- package/dist/services/eui-toaster.js +13 -13
- package/dist/services/eui-toaster.js.map +1 -1
- package/dist/utils/accesibility/accessible-click-keys.js.map +1 -1
- package/dist/utils/accesibility/cascading-menu-keys.js.map +1 -1
- package/dist/utils/accesibility/combo-box-keys.js.map +1 -1
- package/dist/utils/breakpoint.js.map +1 -1
- package/dist/utils/code/utils.js.map +1 -1
- package/dist/utils/color/eui_palettes.js.map +1 -1
- package/dist/utils/css-mappings/eui-avatar.js.map +1 -1
- package/dist/utils/css-mappings/eui-badge.js.map +1 -1
- package/dist/utils/css-mappings/eui-button-group-button.js.map +1 -1
- package/dist/utils/css-mappings/eui-button-group.js.map +1 -1
- package/dist/utils/css-mappings/eui-range-levels.js.map +1 -1
- package/dist/utils/css-mappings/index.js.map +1 -1
- package/dist/utils/markdown/markdown-actions.js +20 -3
- package/dist/utils/markdown/markdown-actions.js.map +1 -1
- package/dist/utils/markdown/plugins/markdown-add-components/processor.js.map +1 -1
- package/dist/utils/markdown/plugins/markdown-default-plugins/parsing-plugins.js.map +1 -1
- package/dist/utils/markdown/plugins/markdown-default-plugins/plugins.js.map +1 -1
- package/dist/utils/markdown/plugins/markdown-default-plugins/processing-plugins.js.map +1 -1
- package/dist/utils/markdown/plugins/markdown-default-plugins/ui-plugins.js.map +1 -1
- package/dist/utils/markdown/remark/remark-prismjs.js.map +1 -1
- package/dist/utils/timer.js +26 -30
- package/dist/utils/timer.js.map +1 -1
- package/package.json +10 -8
- package/declarations/-private/random-id.d.ts +0 -9
- package/declarations/-private/random-id.d.ts.map +0 -1
- package/declarations/components/common.d.ts +0 -42
- package/declarations/components/common.d.ts.map +0 -1
- package/declarations/components/eui-accordion.d.ts +0 -101
- package/declarations/components/eui-accordion.d.ts.map +0 -1
- package/declarations/components/eui-auto-sizer.d.ts +0 -64
- package/declarations/components/eui-auto-sizer.d.ts.map +0 -1
- package/declarations/components/eui-avatar.d.ts +0 -22
- package/declarations/components/eui-avatar.d.ts.map +0 -1
- package/declarations/components/eui-badge-group.d.ts +0 -23
- package/declarations/components/eui-badge-group.d.ts.map +0 -1
- package/declarations/components/eui-badge.d.ts +0 -30
- package/declarations/components/eui-badge.d.ts.map +0 -1
- package/declarations/components/eui-beta-badge.d.ts +0 -63
- package/declarations/components/eui-beta-badge.d.ts.map +0 -1
- package/declarations/components/eui-bottom-bar.d.ts +0 -35
- package/declarations/components/eui-bottom-bar.d.ts.map +0 -1
- package/declarations/components/eui-breadcrumbs.d.ts +0 -70
- package/declarations/components/eui-breadcrumbs.d.ts.map +0 -1
- package/declarations/components/eui-button-content.d.ts +0 -21
- package/declarations/components/eui-button-content.d.ts.map +0 -1
- package/declarations/components/eui-button-empty.d.ts +0 -33
- package/declarations/components/eui-button-empty.d.ts.map +0 -1
- package/declarations/components/eui-button-group-button.d.ts +0 -29
- package/declarations/components/eui-button-group-button.d.ts.map +0 -1
- package/declarations/components/eui-button-group.d.ts +0 -41
- package/declarations/components/eui-button-group.d.ts.map +0 -1
- package/declarations/components/eui-button-icon.d.ts +0 -25
- package/declarations/components/eui-button-icon.d.ts.map +0 -1
- package/declarations/components/eui-button.d.ts +0 -34
- package/declarations/components/eui-button.d.ts.map +0 -1
- package/declarations/components/eui-call-out.d.ts +0 -21
- package/declarations/components/eui-call-out.d.ts.map +0 -1
- package/declarations/components/eui-card-select.d.ts +0 -29
- package/declarations/components/eui-card-select.d.ts.map +0 -1
- package/declarations/components/eui-card.d.ts +0 -68
- package/declarations/components/eui-card.d.ts.map +0 -1
- package/declarations/components/eui-checkable-card.d.ts +0 -21
- package/declarations/components/eui-checkable-card.d.ts.map +0 -1
- package/declarations/components/eui-checkbox-group.d.ts +0 -27
- package/declarations/components/eui-checkbox-group.d.ts.map +0 -1
- package/declarations/components/eui-checkbox.d.ts +0 -27
- package/declarations/components/eui-checkbox.d.ts.map +0 -1
- package/declarations/components/eui-code-block/controls.d.ts +0 -13
- package/declarations/components/eui-code-block/controls.d.ts.map +0 -1
- package/declarations/components/eui-code-block/full-screen-display.d.ts +0 -11
- package/declarations/components/eui-code-block/full-screen-display.d.ts.map +0 -1
- package/declarations/components/eui-code-block/virtualized.d.ts +0 -20
- package/declarations/components/eui-code-block/virtualized.d.ts.map +0 -1
- package/declarations/components/eui-code-block.d.ts +0 -92
- package/declarations/components/eui-code-block.d.ts.map +0 -1
- package/declarations/components/eui-code.d.ts +0 -21
- package/declarations/components/eui-code.d.ts.map +0 -1
- package/declarations/components/eui-collapsible-nav-group.d.ts +0 -26
- package/declarations/components/eui-collapsible-nav-group.d.ts.map +0 -1
- package/declarations/components/eui-collapsible-nav.d.ts +0 -66
- package/declarations/components/eui-collapsible-nav.d.ts.map +0 -1
- package/declarations/components/eui-combo-box/create-option.d.ts +0 -16
- package/declarations/components/eui-combo-box/create-option.d.ts.map +0 -1
- package/declarations/components/eui-combo-box/group.d.ts +0 -16
- package/declarations/components/eui-combo-box/group.d.ts.map +0 -1
- package/declarations/components/eui-combo-box/no-matches-message.d.ts +0 -11
- package/declarations/components/eui-combo-box/no-matches-message.d.ts.map +0 -1
- package/declarations/components/eui-combo-box/options.d.ts +0 -12
- package/declarations/components/eui-combo-box/options.d.ts.map +0 -1
- package/declarations/components/eui-combo-box/search-message.d.ts +0 -11
- package/declarations/components/eui-combo-box/search-message.d.ts.map +0 -1
- package/declarations/components/eui-combo-box/trigger/input.d.ts +0 -6
- package/declarations/components/eui-combo-box/trigger/input.d.ts.map +0 -1
- package/declarations/components/eui-combo-box/trigger.d.ts +0 -4
- package/declarations/components/eui-combo-box/trigger.d.ts.map +0 -1
- package/declarations/components/eui-combo-box-pill.d.ts +0 -22
- package/declarations/components/eui-combo-box-pill.d.ts.map +0 -1
- package/declarations/components/eui-combo-box.d.ts +0 -69
- package/declarations/components/eui-combo-box.d.ts.map +0 -1
- package/declarations/components/eui-comment-list.d.ts +0 -10
- package/declarations/components/eui-comment-list.d.ts.map +0 -1
- package/declarations/components/eui-comment-timeline.d.ts +0 -15
- package/declarations/components/eui-comment-timeline.d.ts.map +0 -1
- package/declarations/components/eui-comment.d.ts +0 -20
- package/declarations/components/eui-comment.d.ts.map +0 -1
- package/declarations/components/eui-confirm-modal.d.ts +0 -23
- package/declarations/components/eui-confirm-modal.d.ts.map +0 -1
- package/declarations/components/eui-context-menu-item.d.ts +0 -25
- package/declarations/components/eui-context-menu-item.d.ts.map +0 -1
- package/declarations/components/eui-context-menu-panel.d.ts +0 -10
- package/declarations/components/eui-context-menu-panel.d.ts.map +0 -1
- package/declarations/components/eui-copy.d.ts +0 -36
- package/declarations/components/eui-copy.d.ts.map +0 -1
- package/declarations/components/eui-described-form-group.d.ts +0 -27
- package/declarations/components/eui-described-form-group.d.ts.map +0 -1
- package/declarations/components/eui-description-list-description.d.ts +0 -10
- package/declarations/components/eui-description-list-description.d.ts.map +0 -1
- package/declarations/components/eui-description-list-title.d.ts +0 -10
- package/declarations/components/eui-description-list-title.d.ts.map +0 -1
- package/declarations/components/eui-description-list.d.ts +0 -27
- package/declarations/components/eui-description-list.d.ts.map +0 -1
- package/declarations/components/eui-dual-range.d.ts +0 -141
- package/declarations/components/eui-dual-range.d.ts.map +0 -1
- package/declarations/components/eui-empty-prompt.d.ts +0 -29
- package/declarations/components/eui-empty-prompt.d.ts.map +0 -1
- package/declarations/components/eui-field-number.d.ts +0 -57
- package/declarations/components/eui-field-number.d.ts.map +0 -1
- package/declarations/components/eui-field-password.d.ts +0 -28
- package/declarations/components/eui-field-password.d.ts.map +0 -1
- package/declarations/components/eui-field-search.d.ts +0 -52
- package/declarations/components/eui-field-search.d.ts.map +0 -1
- package/declarations/components/eui-field-text.d.ts +0 -29
- package/declarations/components/eui-field-text.d.ts.map +0 -1
- package/declarations/components/eui-file-picker.d.ts +0 -60
- package/declarations/components/eui-file-picker.d.ts.map +0 -1
- package/declarations/components/eui-flex-grid.d.ts +0 -33
- package/declarations/components/eui-flex-grid.d.ts.map +0 -1
- package/declarations/components/eui-flex-group.d.ts +0 -20
- package/declarations/components/eui-flex-group.d.ts.map +0 -1
- package/declarations/components/eui-flex-item.d.ts +0 -15
- package/declarations/components/eui-flex-item.d.ts.map +0 -1
- package/declarations/components/eui-flyout-body.d.ts +0 -12
- package/declarations/components/eui-flyout-body.d.ts.map +0 -1
- package/declarations/components/eui-flyout-footer.d.ts +0 -10
- package/declarations/components/eui-flyout-footer.d.ts.map +0 -1
- package/declarations/components/eui-flyout-header.d.ts +0 -13
- package/declarations/components/eui-flyout-header.d.ts.map +0 -1
- package/declarations/components/eui-flyout.d.ts +0 -87
- package/declarations/components/eui-flyout.d.ts.map +0 -1
- package/declarations/components/eui-form-control-layout-clear-button.d.ts +0 -14
- package/declarations/components/eui-form-control-layout-clear-button.d.ts.map +0 -1
- package/declarations/components/eui-form-control-layout-custom-icon.d.ts +0 -16
- package/declarations/components/eui-form-control-layout-custom-icon.d.ts.map +0 -1
- package/declarations/components/eui-form-control-layout-delimited.d.ts +0 -25
- package/declarations/components/eui-form-control-layout-delimited.d.ts.map +0 -1
- package/declarations/components/eui-form-control-layout-icons.d.ts +0 -17
- package/declarations/components/eui-form-control-layout-icons.d.ts.map +0 -1
- package/declarations/components/eui-form-control-layout.d.ts +0 -30
- package/declarations/components/eui-form-control-layout.d.ts.map +0 -1
- package/declarations/components/eui-form-error-text.d.ts +0 -10
- package/declarations/components/eui-form-error-text.d.ts.map +0 -1
- package/declarations/components/eui-form-fieldset.d.ts +0 -18
- package/declarations/components/eui-form-fieldset.d.ts.map +0 -1
- package/declarations/components/eui-form-help-text.d.ts +0 -13
- package/declarations/components/eui-form-help-text.d.ts.map +0 -1
- package/declarations/components/eui-form-label.d.ts +0 -17
- package/declarations/components/eui-form-label.d.ts.map +0 -1
- package/declarations/components/eui-form-legend.d.ts +0 -14
- package/declarations/components/eui-form-legend.d.ts.map +0 -1
- package/declarations/components/eui-form-row.d.ts +0 -35
- package/declarations/components/eui-form-row.d.ts.map +0 -1
- package/declarations/components/eui-form.d.ts +0 -20
- package/declarations/components/eui-form.d.ts.map +0 -1
- package/declarations/components/eui-global-toast-list.d.ts +0 -45
- package/declarations/components/eui-global-toast-list.d.ts.map +0 -1
- package/declarations/components/eui-header-alert.d.ts +0 -14
- package/declarations/components/eui-header-alert.d.ts.map +0 -1
- package/declarations/components/eui-header-breadcrumbs.d.ts +0 -14
- package/declarations/components/eui-header-breadcrumbs.d.ts.map +0 -1
- package/declarations/components/eui-header-link.d.ts +0 -14
- package/declarations/components/eui-header-link.d.ts.map +0 -1
- package/declarations/components/eui-header-links.d.ts +0 -20
- package/declarations/components/eui-header-links.d.ts.map +0 -1
- package/declarations/components/eui-header-logo.d.ts +0 -17
- package/declarations/components/eui-header-logo.d.ts.map +0 -1
- package/declarations/components/eui-header-section-item-button.d.ts +0 -26
- package/declarations/components/eui-header-section-item-button.d.ts.map +0 -1
- package/declarations/components/eui-header-section-item.d.ts +0 -14
- package/declarations/components/eui-header-section-item.d.ts.map +0 -1
- package/declarations/components/eui-header-section.d.ts +0 -15
- package/declarations/components/eui-header-section.d.ts.map +0 -1
- package/declarations/components/eui-header.d.ts +0 -23
- package/declarations/components/eui-header.d.ts.map +0 -1
- package/declarations/components/eui-health.d.ts +0 -21
- package/declarations/components/eui-health.d.ts.map +0 -1
- package/declarations/components/eui-hide-for.d.ts +0 -21
- package/declarations/components/eui-hide-for.d.ts.map +0 -1
- package/declarations/components/eui-horizontal-rule.d.ts +0 -12
- package/declarations/components/eui-horizontal-rule.d.ts.map +0 -1
- package/declarations/components/eui-i18n/render.d.ts +0 -12
- package/declarations/components/eui-i18n/render.d.ts.map +0 -1
- package/declarations/components/eui-i18n.d.ts +0 -32
- package/declarations/components/eui-i18n.d.ts.map +0 -1
- package/declarations/components/eui-icon-tip.d.ts +0 -29
- package/declarations/components/eui-icon-tip.d.ts.map +0 -1
- package/declarations/components/eui-icon.d.ts +0 -80
- package/declarations/components/eui-icon.d.ts.map +0 -1
- package/declarations/components/eui-image.d.ts +0 -62
- package/declarations/components/eui-image.d.ts.map +0 -1
- package/declarations/components/eui-inner-text.d.ts +0 -21
- package/declarations/components/eui-inner-text.d.ts.map +0 -1
- package/declarations/components/eui-input-popover.d.ts +0 -44
- package/declarations/components/eui-input-popover.d.ts.map +0 -1
- package/declarations/components/eui-key-pad-menu-item.d.ts +0 -26
- package/declarations/components/eui-key-pad-menu-item.d.ts.map +0 -1
- package/declarations/components/eui-key-pad-menu.d.ts +0 -23
- package/declarations/components/eui-key-pad-menu.d.ts.map +0 -1
- package/declarations/components/eui-link.d.ts +0 -18
- package/declarations/components/eui-link.d.ts.map +0 -1
- package/declarations/components/eui-list-group-item.d.ts +0 -26
- package/declarations/components/eui-list-group-item.d.ts.map +0 -1
- package/declarations/components/eui-list-group.d.ts +0 -16
- package/declarations/components/eui-list-group.d.ts.map +0 -1
- package/declarations/components/eui-loading-content.d.ts +0 -14
- package/declarations/components/eui-loading-content.d.ts.map +0 -1
- package/declarations/components/eui-loading-logo.d.ts +0 -13
- package/declarations/components/eui-loading-logo.d.ts.map +0 -1
- package/declarations/components/eui-loading-spinner.d.ts +0 -11
- package/declarations/components/eui-loading-spinner.d.ts.map +0 -1
- package/declarations/components/eui-markdown-editor-drop-zone.d.ts +0 -17
- package/declarations/components/eui-markdown-editor-drop-zone.d.ts.map +0 -1
- package/declarations/components/eui-markdown-editor-footer/icons/markdown-logo.d.ts +0 -10
- package/declarations/components/eui-markdown-editor-footer/icons/markdown-logo.d.ts.map +0 -1
- package/declarations/components/eui-markdown-editor-footer.d.ts +0 -13
- package/declarations/components/eui-markdown-editor-footer.d.ts.map +0 -1
- package/declarations/components/eui-markdown-editor-text-area.d.ts +0 -14
- package/declarations/components/eui-markdown-editor-text-area.d.ts.map +0 -1
- package/declarations/components/eui-markdown-editor-toolbar/icons/markdown-checkmark.d.ts +0 -11
- package/declarations/components/eui-markdown-editor-toolbar/icons/markdown-checkmark.d.ts.map +0 -1
- package/declarations/components/eui-markdown-editor-toolbar.d.ts +0 -50
- package/declarations/components/eui-markdown-editor-toolbar.d.ts.map +0 -1
- package/declarations/components/eui-markdown-editor.d.ts +0 -95
- package/declarations/components/eui-markdown-editor.d.ts.map +0 -1
- package/declarations/components/eui-markdown-format/markdown-checkbox.d.ts +0 -24
- package/declarations/components/eui-markdown-format/markdown-checkbox.d.ts.map +0 -1
- package/declarations/components/eui-markdown-format/markdown-code-block.d.ts +0 -15
- package/declarations/components/eui-markdown-format/markdown-code-block.d.ts.map +0 -1
- package/declarations/components/eui-markdown-format/markdown-code.d.ts +0 -13
- package/declarations/components/eui-markdown-format/markdown-code.d.ts.map +0 -1
- package/declarations/components/eui-markdown-format/markdown-tooltip.d.ts +0 -15
- package/declarations/components/eui-markdown-format/markdown-tooltip.d.ts.map +0 -1
- package/declarations/components/eui-markdown-format.d.ts +0 -23
- package/declarations/components/eui-markdown-format.d.ts.map +0 -1
- package/declarations/components/eui-modal-body.d.ts +0 -10
- package/declarations/components/eui-modal-body.d.ts.map +0 -1
- package/declarations/components/eui-modal-footer.d.ts +0 -10
- package/declarations/components/eui-modal-footer.d.ts.map +0 -1
- package/declarations/components/eui-modal-header-title.d.ts +0 -10
- package/declarations/components/eui-modal-header-title.d.ts.map +0 -1
- package/declarations/components/eui-modal-header.d.ts +0 -10
- package/declarations/components/eui-modal-header.d.ts.map +0 -1
- package/declarations/components/eui-modal.d.ts +0 -27
- package/declarations/components/eui-modal.d.ts.map +0 -1
- package/declarations/components/eui-notification-badge.d.ts +0 -15
- package/declarations/components/eui-notification-badge.d.ts.map +0 -1
- package/declarations/components/eui-notification-event-messages.d.ts +0 -13
- package/declarations/components/eui-notification-event-messages.d.ts.map +0 -1
- package/declarations/components/eui-notification-event-meta.d.ts +0 -24
- package/declarations/components/eui-notification-event-meta.d.ts.map +0 -1
- package/declarations/components/eui-notification-event-read-button.d.ts +0 -13
- package/declarations/components/eui-notification-event-read-button.d.ts.map +0 -1
- package/declarations/components/eui-notification-event-read-icon.d.ts +0 -14
- package/declarations/components/eui-notification-event-read-icon.d.ts.map +0 -1
- package/declarations/components/eui-notification-event.d.ts +0 -40
- package/declarations/components/eui-notification-event.d.ts.map +0 -1
- package/declarations/components/eui-overlay-mask.d.ts +0 -20
- package/declarations/components/eui-overlay-mask.d.ts.map +0 -1
- package/declarations/components/eui-page-body.d.ts +0 -22
- package/declarations/components/eui-page-body.d.ts.map +0 -1
- package/declarations/components/eui-page-content-body.d.ts +0 -18
- package/declarations/components/eui-page-content-body.d.ts.map +0 -1
- package/declarations/components/eui-page-content-header-section.d.ts +0 -10
- package/declarations/components/eui-page-content-header-section.d.ts.map +0 -1
- package/declarations/components/eui-page-content-header.d.ts +0 -13
- package/declarations/components/eui-page-content-header.d.ts.map +0 -1
- package/declarations/components/eui-page-content.d.ts +0 -22
- package/declarations/components/eui-page-content.d.ts.map +0 -1
- package/declarations/components/eui-page-header-content.d.ts +0 -98
- package/declarations/components/eui-page-header-content.d.ts.map +0 -1
- package/declarations/components/eui-page-header-section.d.ts +0 -10
- package/declarations/components/eui-page-header-section.d.ts.map +0 -1
- package/declarations/components/eui-page-header.d.ts +0 -89
- package/declarations/components/eui-page-header.d.ts.map +0 -1
- package/declarations/components/eui-page-side-bar.d.ts +0 -15
- package/declarations/components/eui-page-side-bar.d.ts.map +0 -1
- package/declarations/components/eui-page-template.d.ts +0 -77
- package/declarations/components/eui-page-template.d.ts.map +0 -1
- package/declarations/components/eui-page.d.ts +0 -17
- package/declarations/components/eui-page.d.ts.map +0 -1
- package/declarations/components/eui-pagination/button-wrapper.d.ts +0 -16
- package/declarations/components/eui-pagination/button-wrapper.d.ts.map +0 -1
- package/declarations/components/eui-pagination/next-button.d.ts +0 -19
- package/declarations/components/eui-pagination/next-button.d.ts.map +0 -1
- package/declarations/components/eui-pagination/previous-button.d.ts +0 -18
- package/declarations/components/eui-pagination/previous-button.d.ts.map +0 -1
- package/declarations/components/eui-pagination-button.d.ts +0 -20
- package/declarations/components/eui-pagination-button.d.ts.map +0 -1
- package/declarations/components/eui-pagination.d.ts +0 -79
- package/declarations/components/eui-pagination.d.ts.map +0 -1
- package/declarations/components/eui-panel.d.ts +0 -45
- package/declarations/components/eui-panel.d.ts.map +0 -1
- package/declarations/components/eui-popover-footer.d.ts +0 -14
- package/declarations/components/eui-popover-footer.d.ts.map +0 -1
- package/declarations/components/eui-popover-title.d.ts +0 -14
- package/declarations/components/eui-popover-title.d.ts.map +0 -1
- package/declarations/components/eui-popover.d.ts +0 -207
- package/declarations/components/eui-popover.d.ts.map +0 -1
- package/declarations/components/eui-portal.d.ts +0 -28
- package/declarations/components/eui-portal.d.ts.map +0 -1
- package/declarations/components/eui-progress.d.ts +0 -22
- package/declarations/components/eui-progress.d.ts.map +0 -1
- package/declarations/components/eui-radio-group.d.ts +0 -25
- package/declarations/components/eui-radio-group.d.ts.map +0 -1
- package/declarations/components/eui-radio.d.ts +0 -24
- package/declarations/components/eui-radio.d.ts.map +0 -1
- package/declarations/components/eui-range-highlight.d.ts +0 -16
- package/declarations/components/eui-range-highlight.d.ts.map +0 -1
- package/declarations/components/eui-range-input.d.ts +0 -25
- package/declarations/components/eui-range-input.d.ts.map +0 -1
- package/declarations/components/eui-range-label.d.ts +0 -13
- package/declarations/components/eui-range-label.d.ts.map +0 -1
- package/declarations/components/eui-range-levels.d.ts +0 -27
- package/declarations/components/eui-range-levels.d.ts.map +0 -1
- package/declarations/components/eui-range-slider.d.ts +0 -25
- package/declarations/components/eui-range-slider.d.ts.map +0 -1
- package/declarations/components/eui-range-thumb.d.ts +0 -15
- package/declarations/components/eui-range-thumb.d.ts.map +0 -1
- package/declarations/components/eui-range-ticks.d.ts +0 -29
- package/declarations/components/eui-range-ticks.d.ts.map +0 -1
- package/declarations/components/eui-range-tooltip.d.ts +0 -33
- package/declarations/components/eui-range-tooltip.d.ts.map +0 -1
- package/declarations/components/eui-range-track.d.ts +0 -43
- package/declarations/components/eui-range-track.d.ts.map +0 -1
- package/declarations/components/eui-range-wrapper.d.ts +0 -14
- package/declarations/components/eui-range-wrapper.d.ts.map +0 -1
- package/declarations/components/eui-range.d.ts +0 -112
- package/declarations/components/eui-range.d.ts.map +0 -1
- package/declarations/components/eui-select.d.ts +0 -31
- package/declarations/components/eui-select.d.ts.map +0 -1
- package/declarations/components/eui-selectable-list-item.d.ts +0 -15
- package/declarations/components/eui-selectable-list-item.d.ts.map +0 -1
- package/declarations/components/eui-show-for.d.ts +0 -30
- package/declarations/components/eui-show-for.d.ts.map +0 -1
- package/declarations/components/eui-side-nav-item/button.d.ts +0 -16
- package/declarations/components/eui-side-nav-item/button.d.ts.map +0 -1
- package/declarations/components/eui-side-nav-item.d.ts +0 -32
- package/declarations/components/eui-side-nav-item.d.ts.map +0 -1
- package/declarations/components/eui-side-nav.d.ts +0 -48
- package/declarations/components/eui-side-nav.d.ts.map +0 -1
- package/declarations/components/eui-spacer.d.ts +0 -11
- package/declarations/components/eui-spacer.d.ts.map +0 -1
- package/declarations/components/eui-split-panel/inner.d.ts +0 -18
- package/declarations/components/eui-split-panel/inner.d.ts.map +0 -1
- package/declarations/components/eui-split-panel/outer.d.ts +0 -22
- package/declarations/components/eui-split-panel/outer.d.ts.map +0 -1
- package/declarations/components/eui-stat/description.d.ts +0 -15
- package/declarations/components/eui-stat/description.d.ts.map +0 -1
- package/declarations/components/eui-stat/title.d.ts +0 -17
- package/declarations/components/eui-stat/title.d.ts.map +0 -1
- package/declarations/components/eui-stat.d.ts +0 -28
- package/declarations/components/eui-stat.d.ts.map +0 -1
- package/declarations/components/eui-step-horizontal.d.ts +0 -38
- package/declarations/components/eui-step-horizontal.d.ts.map +0 -1
- package/declarations/components/eui-step-number.d.ts +0 -31
- package/declarations/components/eui-step-number.d.ts.map +0 -1
- package/declarations/components/eui-step.d.ts +0 -18
- package/declarations/components/eui-step.d.ts.map +0 -1
- package/declarations/components/eui-steps-horizontal.d.ts +0 -10
- package/declarations/components/eui-steps-horizontal.d.ts.map +0 -1
- package/declarations/components/eui-steps.d.ts +0 -13
- package/declarations/components/eui-steps.d.ts.map +0 -1
- package/declarations/components/eui-sub-steps.d.ts +0 -10
- package/declarations/components/eui-sub-steps.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/date-popover/absolute-tab.d.ts +0 -27
- package/declarations/components/eui-super-date-picker/date-popover/absolute-tab.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/date-popover/datetime-picker.d.ts +0 -65
- package/declarations/components/eui-super-date-picker/date-popover/datetime-picker.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/date-popover/eui-date-popover-button.d.ts +0 -32
- package/declarations/components/eui-super-date-picker/date-popover/eui-date-popover-button.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/date-popover/eui-date-popover-content.d.ts +0 -48
- package/declarations/components/eui-super-date-picker/date-popover/eui-date-popover-content.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/date-popover/now-tab.d.ts +0 -10
- package/declarations/components/eui-super-date-picker/date-popover/now-tab.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/date-popover/relative-tab.d.ts +0 -31
- package/declarations/components/eui-super-date-picker/date-popover/relative-tab.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/eui-date-picker-range.d.ts +0 -18
- package/declarations/components/eui-super-date-picker/eui-date-picker-range.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-commonly-used-time-ranges.d.ts +0 -14
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-commonly-used-time-ranges.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.d.ts +0 -37
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-recently-used.d.ts +0 -14
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-recently-used.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover.d.ts +0 -30
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/eui-super-update-button.d.ts +0 -20
- package/declarations/components/eui-super-date-picker/eui-super-update-button.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/utils/date-utils.d.ts +0 -15
- package/declarations/components/eui-super-date-picker/utils/date-utils.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/utils/index.d.ts +0 -31
- package/declarations/components/eui-super-date-picker/utils/index.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/utils/pretty-duration.d.ts +0 -25
- package/declarations/components/eui-super-date-picker/utils/pretty-duration.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/utils/quick-select.d.ts +0 -14
- package/declarations/components/eui-super-date-picker/utils/quick-select.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker/utils/time-options.d.ts +0 -20
- package/declarations/components/eui-super-date-picker/utils/time-options.d.ts.map +0 -1
- package/declarations/components/eui-super-date-picker.d.ts +0 -93
- package/declarations/components/eui-super-date-picker.d.ts.map +0 -1
- package/declarations/components/eui-switch.d.ts +0 -30
- package/declarations/components/eui-switch.d.ts.map +0 -1
- package/declarations/components/eui-tab.d.ts +0 -21
- package/declarations/components/eui-tab.d.ts.map +0 -1
- package/declarations/components/eui-tabbed-content.d.ts +0 -65
- package/declarations/components/eui-tabbed-content.d.ts.map +0 -1
- package/declarations/components/eui-tabs.d.ts +0 -18
- package/declarations/components/eui-tabs.d.ts.map +0 -1
- package/declarations/components/eui-text-align.d.ts +0 -13
- package/declarations/components/eui-text-align.d.ts.map +0 -1
- package/declarations/components/eui-text-area.d.ts +0 -22
- package/declarations/components/eui-text-area.d.ts.map +0 -1
- package/declarations/components/eui-text-color.d.ts +0 -14
- package/declarations/components/eui-text-color.d.ts.map +0 -1
- package/declarations/components/eui-text.d.ts +0 -19
- package/declarations/components/eui-text.d.ts.map +0 -1
- package/declarations/components/eui-title.d.ts +0 -17
- package/declarations/components/eui-title.d.ts.map +0 -1
- package/declarations/components/eui-toast.d.ts +0 -35
- package/declarations/components/eui-toast.d.ts.map +0 -1
- package/declarations/components/eui-tool-tip-popover.d.ts +0 -26
- package/declarations/components/eui-tool-tip-popover.d.ts.map +0 -1
- package/declarations/components/eui-tool-tip.d.ts +0 -108
- package/declarations/components/eui-tool-tip.d.ts.map +0 -1
- package/declarations/components/text-block.d.ts +0 -13
- package/declarations/components/text-block.d.ts.map +0 -1
- package/declarations/components.d.ts +0 -150
- package/declarations/components.d.ts.map +0 -1
- package/declarations/helpers/arg-or-default.d.ts +0 -21
- package/declarations/helpers/arg-or-default.d.ts.map +0 -1
- package/declarations/helpers/cast-to.d.ts +0 -14
- package/declarations/helpers/cast-to.d.ts.map +0 -1
- package/declarations/helpers/class-names.d.ts +0 -47
- package/declarations/helpers/class-names.d.ts.map +0 -1
- package/declarations/helpers/eui-page-restrict-width.d.ts +0 -30
- package/declarations/helpers/eui-page-restrict-width.d.ts.map +0 -1
- package/declarations/helpers/eui-palette.d.ts +0 -25
- package/declarations/helpers/eui-palette.d.ts.map +0 -1
- package/declarations/helpers/get-eui-config.d.ts +0 -14
- package/declarations/helpers/get-eui-config.d.ts.map +0 -1
- package/declarations/helpers/get-range-tick.d.ts +0 -21
- package/declarations/helpers/get-range-tick.d.ts.map +0 -1
- package/declarations/helpers/hex-to-rgb.d.ts +0 -10
- package/declarations/helpers/hex-to-rgb.d.ts.map +0 -1
- package/declarations/helpers/inline-styles.d.ts +0 -19
- package/declarations/helpers/inline-styles.d.ts.map +0 -1
- package/declarations/helpers/is-color-dark.d.ts +0 -10
- package/declarations/helpers/is-color-dark.d.ts.map +0 -1
- package/declarations/helpers/is-item-open.d.ts +0 -16
- package/declarations/helpers/is-item-open.d.ts.map +0 -1
- package/declarations/helpers/is-valid-hex.d.ts +0 -10
- package/declarations/helpers/is-valid-hex.d.ts.map +0 -1
- package/declarations/helpers/is-within-number.d.ts +0 -15
- package/declarations/helpers/is-within-number.d.ts.map +0 -1
- package/declarations/helpers/merge.d.ts +0 -9
- package/declarations/helpers/merge.d.ts.map +0 -1
- package/declarations/helpers/nullish.d.ts +0 -10
- package/declarations/helpers/nullish.d.ts.map +0 -1
- package/declarations/helpers/starts-with.d.ts +0 -10
- package/declarations/helpers/starts-with.d.ts.map +0 -1
- package/declarations/helpers/to-initials.d.ts +0 -11
- package/declarations/helpers/to-initials.d.ts.map +0 -1
- package/declarations/helpers/type-of.d.ts +0 -10
- package/declarations/helpers/type-of.d.ts.map +0 -1
- package/declarations/helpers/unique-id.d.ts +0 -10
- package/declarations/helpers/unique-id.d.ts.map +0 -1
- package/declarations/helpers/use-state.d.ts +0 -21
- package/declarations/helpers/use-state.d.ts.map +0 -1
- package/declarations/helpers.d.ts +0 -9
- package/declarations/helpers.d.ts.map +0 -1
- package/declarations/i18n/util.d.ts +0 -12
- package/declarations/i18n/util.d.ts.map +0 -1
- package/declarations/modifiers/mutation-observer.d.ts +0 -12
- package/declarations/modifiers/mutation-observer.d.ts.map +0 -1
- package/declarations/modifiers/open-collapsible-nav.d.ts +0 -9
- package/declarations/modifiers/open-collapsible-nav.d.ts.map +0 -1
- package/declarations/modifiers/outside-click-detector.d.ts +0 -38
- package/declarations/modifiers/outside-click-detector.d.ts.map +0 -1
- package/declarations/modifiers/resize-observer.d.ts +0 -36
- package/declarations/modifiers/resize-observer.d.ts.map +0 -1
- package/declarations/modifiers/screen-reader-only.d.ts +0 -9
- package/declarations/modifiers/screen-reader-only.d.ts.map +0 -1
- package/declarations/modifiers/simple-style.d.ts +0 -12
- package/declarations/modifiers/simple-style.d.ts.map +0 -1
- package/declarations/modifiers/use-is-within-breakpoints.d.ts +0 -15
- package/declarations/modifiers/use-is-within-breakpoints.d.ts.map +0 -1
- package/declarations/modifiers/validatable-control.d.ts +0 -9
- package/declarations/modifiers/validatable-control.d.ts.map +0 -1
- package/declarations/modifiers.d.ts +0 -8
- package/declarations/modifiers.d.ts.map +0 -1
- package/declarations/services/eui-config.d.ts +0 -15
- package/declarations/services/eui-config.d.ts.map +0 -1
- package/declarations/services/eui-i18n.d.ts +0 -24
- package/declarations/services/eui-i18n.d.ts.map +0 -1
- package/declarations/services/eui-toaster.d.ts +0 -15
- package/declarations/services/eui-toaster.d.ts.map +0 -1
- package/declarations/template-registry.d.ts +0 -476
- package/declarations/template-registry.d.ts.map +0 -1
- package/declarations/utils/accesibility/accessible-click-keys.d.ts +0 -5
- package/declarations/utils/accesibility/accessible-click-keys.d.ts.map +0 -1
- package/declarations/utils/accesibility/cascading-menu-keys.d.ts +0 -9
- package/declarations/utils/accesibility/cascading-menu-keys.d.ts.map +0 -1
- package/declarations/utils/accesibility/combo-box-keys.d.ts +0 -8
- package/declarations/utils/accesibility/combo-box-keys.d.ts.map +0 -1
- package/declarations/utils/accesibility/index.d.ts +0 -4
- package/declarations/utils/accesibility/index.d.ts.map +0 -1
- package/declarations/utils/breakpoint.d.ts +0 -50
- package/declarations/utils/breakpoint.d.ts.map +0 -1
- package/declarations/utils/browser/browser.d.ts +0 -6
- package/declarations/utils/browser/browser.d.ts.map +0 -1
- package/declarations/utils/browser/index.d.ts +0 -2
- package/declarations/utils/browser/index.d.ts.map +0 -1
- package/declarations/utils/code/utils.d.ts +0 -32
- package/declarations/utils/code/utils.d.ts.map +0 -1
- package/declarations/utils/color/color_palette.d.ts +0 -24
- package/declarations/utils/color/color_palette.d.ts.map +0 -1
- package/declarations/utils/color/eui_palettes.d.ts +0 -37
- package/declarations/utils/color/eui_palettes.d.ts.map +0 -1
- package/declarations/utils/color/index.d.ts +0 -6
- package/declarations/utils/color/index.d.ts.map +0 -1
- package/declarations/utils/copy-to-clipboard.d.ts +0 -2
- package/declarations/utils/copy-to-clipboard.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-accordion.d.ts +0 -12
- package/declarations/utils/css-mappings/eui-accordion.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-avatar.d.ts +0 -23
- package/declarations/utils/css-mappings/eui-avatar.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-badge-group.d.ts +0 -8
- package/declarations/utils/css-mappings/eui-badge-group.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-badge.d.ts +0 -31
- package/declarations/utils/css-mappings/eui-badge.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-beta-badge.d.ts +0 -13
- package/declarations/utils/css-mappings/eui-beta-badge.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-bottom-bar.d.ts +0 -4
- package/declarations/utils/css-mappings/eui-bottom-bar.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-button-empty.d.ts +0 -22
- package/declarations/utils/css-mappings/eui-button-empty.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-button-group-button.d.ts +0 -4
- package/declarations/utils/css-mappings/eui-button-group-button.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-button-group.d.ts +0 -4
- package/declarations/utils/css-mappings/eui-button-group.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-button-icon.d.ts +0 -23
- package/declarations/utils/css-mappings/eui-button-icon.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-button.d.ts +0 -13
- package/declarations/utils/css-mappings/eui-button.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-call-out.d.ts +0 -13
- package/declarations/utils/css-mappings/eui-call-out.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-card-select.d.ts +0 -4
- package/declarations/utils/css-mappings/eui-card-select.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-card.d.ts +0 -9
- package/declarations/utils/css-mappings/eui-card.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-code-block.d.ts +0 -15
- package/declarations/utils/css-mappings/eui-code-block.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-collapsible-nav-group.d.ts +0 -9
- package/declarations/utils/css-mappings/eui-collapsible-nav-group.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-comment-event.d.ts +0 -4
- package/declarations/utils/css-mappings/eui-comment-event.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-comment-timeline-icon.d.ts +0 -7
- package/declarations/utils/css-mappings/eui-comment-timeline-icon.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-context-menu-item.d.ts +0 -15
- package/declarations/utils/css-mappings/eui-context-menu-item.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-described-form-group.d.ts +0 -12
- package/declarations/utils/css-mappings/eui-described-form-group.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-description-list.d.ts +0 -18
- package/declarations/utils/css-mappings/eui-description-list.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-empty-prompt.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-empty-prompt.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-file-picker.d.ts +0 -8
- package/declarations/utils/css-mappings/eui-file-picker.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-flex-grid.d.ts +0 -22
- package/declarations/utils/css-mappings/eui-flex-grid.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-flex-group.d.ts +0 -33
- package/declarations/utils/css-mappings/eui-flex-group.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-flex-item.d.ts +0 -17
- package/declarations/utils/css-mappings/eui-flex-item.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-flyout.d.ts +0 -23
- package/declarations/utils/css-mappings/eui-flyout.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-form-control-layout-clear-button.d.ts +0 -8
- package/declarations/utils/css-mappings/eui-form-control-layout-clear-button.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-form-row.d.ts +0 -12
- package/declarations/utils/css-mappings/eui-form-row.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-global-toast-list.d.ts +0 -8
- package/declarations/utils/css-mappings/eui-global-toast-list.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-header-links.d.ts +0 -18
- package/declarations/utils/css-mappings/eui-header-links.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-header-section-item.d.ts +0 -9
- package/declarations/utils/css-mappings/eui-header-section-item.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-header-section.d.ts +0 -12
- package/declarations/utils/css-mappings/eui-header-section.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-header.d.ts +0 -12
- package/declarations/utils/css-mappings/eui-header.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-health.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-health.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-horizontal-rule.d.ts +0 -18
- package/declarations/utils/css-mappings/eui-horizontal-rule.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-icon.d.ts +0 -494
- package/declarations/utils/css-mappings/eui-icon.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-image.d.ts +0 -22
- package/declarations/utils/css-mappings/eui-image.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-link.d.ts +0 -14
- package/declarations/utils/css-mappings/eui-link.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-list-group-item.d.ts +0 -17
- package/declarations/utils/css-mappings/eui-list-group-item.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-list-group.d.ts +0 -12
- package/declarations/utils/css-mappings/eui-list-group.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-loading-spinner.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-loading-spinner.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-modal.d.ts +0 -7
- package/declarations/utils/css-mappings/eui-modal.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-notification-badge.d.ts +0 -11
- package/declarations/utils/css-mappings/eui-notification-badge.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-page-body.d.ts +0 -16
- package/declarations/utils/css-mappings/eui-page-body.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-page-content-body.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-page-content-body.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-page-content.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-page-content.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-page-header.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-page-header.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-page-side-bar.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-page-side-bar.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-page.d.ts +0 -24
- package/declarations/utils/css-mappings/eui-page.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-panel.d.ts +0 -24
- package/declarations/utils/css-mappings/eui-panel.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-popover-footer.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-popover-footer.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-popover-title.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-popover-title.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-popover.d.ts +0 -22
- package/declarations/utils/css-mappings/eui-popover.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-progress-data.d.ts +0 -3
- package/declarations/utils/css-mappings/eui-progress-data.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-progress.d.ts +0 -50
- package/declarations/utils/css-mappings/eui-progress.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-range-highlight.d.ts +0 -11
- package/declarations/utils/css-mappings/eui-range-highlight.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-range-input.d.ts +0 -8
- package/declarations/utils/css-mappings/eui-range-input.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-range-levels.d.ts +0 -13
- package/declarations/utils/css-mappings/eui-range-levels.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-selectable-list-item.d.ts +0 -7
- package/declarations/utils/css-mappings/eui-selectable-list-item.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-spacer.d.ts +0 -12
- package/declarations/utils/css-mappings/eui-spacer.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-stat.d.ts +0 -17
- package/declarations/utils/css-mappings/eui-stat.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-step-number.d.ts +0 -11
- package/declarations/utils/css-mappings/eui-step-number.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-tabs.d.ts +0 -14
- package/declarations/utils/css-mappings/eui-tabs.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-text-align.d.ts +0 -9
- package/declarations/utils/css-mappings/eui-text-align.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-text-area.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-text-area.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-text-color.d.ts +0 -14
- package/declarations/utils/css-mappings/eui-text-color.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-text.d.ts +0 -9
- package/declarations/utils/css-mappings/eui-text.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-title.d.ts +0 -15
- package/declarations/utils/css-mappings/eui-title.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-toast.d.ts +0 -11
- package/declarations/utils/css-mappings/eui-toast.d.ts.map +0 -1
- package/declarations/utils/css-mappings/eui-tool-tip.d.ts +0 -10
- package/declarations/utils/css-mappings/eui-tool-tip.d.ts.map +0 -1
- package/declarations/utils/css-mappings/index.d.ts +0 -3
- package/declarations/utils/css-mappings/index.d.ts.map +0 -1
- package/declarations/utils/detect-element-resize.d.ts +0 -17
- package/declarations/utils/detect-element-resize.d.ts.map +0 -1
- package/declarations/utils/index.d.ts +0 -3
- package/declarations/utils/index.d.ts.map +0 -1
- package/declarations/utils/keys.d.ts +0 -31
- package/declarations/utils/keys.d.ts.map +0 -1
- package/declarations/utils/markdown/markdown-actions.d.ts +0 -45
- package/declarations/utils/markdown/markdown-actions.d.ts.map +0 -1
- package/declarations/utils/markdown/markdown-modes.d.ts +0 -4
- package/declarations/utils/markdown/markdown-modes.d.ts.map +0 -1
- package/declarations/utils/markdown/markdown-types.d.ts +0 -100
- package/declarations/utils/markdown/markdown-types.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-add-components/index.d.ts +0 -3
- package/declarations/utils/markdown/plugins/markdown-add-components/index.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-add-components/processor.d.ts +0 -6
- package/declarations/utils/markdown/plugins/markdown-add-components/processor.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-checkbox/index.d.ts +0 -2
- package/declarations/utils/markdown/plugins/markdown-checkbox/index.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-checkbox/parser.d.ts +0 -3
- package/declarations/utils/markdown/plugins/markdown-checkbox/parser.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-default-plugins/index.d.ts +0 -5
- package/declarations/utils/markdown/plugins/markdown-default-plugins/index.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-default-plugins/parsing-plugins.d.ts +0 -7
- package/declarations/utils/markdown/plugins/markdown-default-plugins/parsing-plugins.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-default-plugins/plugins.d.ts +0 -11
- package/declarations/utils/markdown/plugins/markdown-default-plugins/plugins.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-default-plugins/processing-plugins.d.ts +0 -21
- package/declarations/utils/markdown/plugins/markdown-default-plugins/processing-plugins.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-default-plugins/ui-plugins.d.ts +0 -7
- package/declarations/utils/markdown/plugins/markdown-default-plugins/ui-plugins.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-tooltip/index.d.ts +0 -3
- package/declarations/utils/markdown/plugins/markdown-tooltip/index.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-tooltip/parser.d.ts +0 -3
- package/declarations/utils/markdown/plugins/markdown-tooltip/parser.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/markdown-tooltip/plugin.d.ts +0 -14
- package/declarations/utils/markdown/plugins/markdown-tooltip/plugin.d.ts.map +0 -1
- package/declarations/utils/markdown/plugins/to-dom.d.ts +0 -20
- package/declarations/utils/markdown/plugins/to-dom.d.ts.map +0 -1
- package/declarations/utils/markdown/remark/remark-prismjs.d.ts +0 -5
- package/declarations/utils/markdown/remark/remark-prismjs.d.ts.map +0 -1
- package/declarations/utils/maybe-unwrap-proxy.d.ts +0 -3
- package/declarations/utils/maybe-unwrap-proxy.d.ts.map +0 -1
- package/declarations/utils/number/index.d.ts +0 -2
- package/declarations/utils/number/index.d.ts.map +0 -1
- package/declarations/utils/number/number.d.ts +0 -3
- package/declarations/utils/number/number.d.ts.map +0 -1
- package/declarations/utils/popover/index.d.ts +0 -152
- package/declarations/utils/popover/index.d.ts.map +0 -1
- package/declarations/utils/popover/types.d.ts +0 -2
- package/declarations/utils/popover/types.d.ts.map +0 -1
- package/declarations/utils/predicate/common_predicates.d.ts +0 -6
- package/declarations/utils/predicate/common_predicates.d.ts.map +0 -1
- package/declarations/utils/predicate/index.d.ts +0 -3
- package/declarations/utils/predicate/index.d.ts.map +0 -1
- package/declarations/utils/predicate/lodash_predicates.d.ts +0 -8
- package/declarations/utils/predicate/lodash_predicates.d.ts.map +0 -1
- package/declarations/utils/range/index.d.ts +0 -2
- package/declarations/utils/range/index.d.ts.map +0 -1
- package/declarations/utils/timer.d.ts +0 -13
- package/declarations/utils/timer.d.ts.map +0 -1
- package/declarations/utils/transition.d.ts +0 -8
- package/declarations/utils/transition.d.ts.map +0 -1
- package/dist/_rollupPluginBabelHelpers-9wjJaosZ.js +0 -63
- package/dist/_rollupPluginBabelHelpers-9wjJaosZ.js.map +0 -1
|
@@ -1,501 +1,122 @@
|
|
|
1
|
-
import { _ as _applyDecoratedDescriptor, a as _initializerDefineProperty, b as _defineProperty } from '../_rollupPluginBabelHelpers-9wjJaosZ.js';
|
|
2
|
-
import { setComponentTemplate } from '@ember/component';
|
|
3
|
-
import { precompileTemplate } from '@ember/template-compilation';
|
|
4
1
|
import Component from '@glimmer/component';
|
|
5
2
|
import { tracked } from '@glimmer/tracking';
|
|
6
|
-
import { fn } from '@ember/helper';
|
|
7
|
-
import { on } from '@ember/modifier';
|
|
8
3
|
import { action } from '@ember/object';
|
|
9
4
|
import { guidFor } from '@ember/object/internals';
|
|
10
|
-
import didInsert from '@ember/render-modifiers/modifiers/did-insert';
|
|
11
5
|
import { later } from '@ember/runloop';
|
|
12
|
-
import optional from 'ember-composable-helpers/helpers/optional';
|
|
13
|
-
import onKey from 'ember-keyboard/modifiers/on-key';
|
|
14
|
-
import { and, not, or, eq } from 'ember-truth-helpers';
|
|
15
6
|
import argOrDefault, { argOrDefaultDecorator } from '../helpers/arg-or-default.js';
|
|
16
|
-
import castTo from '../helpers/cast-to.js';
|
|
17
|
-
import simpleStyle from '../modifiers/simple-style.js';
|
|
18
7
|
import { keys } from '../utils/keys.js';
|
|
19
8
|
import { isWithinRange } from '../utils/number/number.js';
|
|
20
9
|
import { EUI_THUMB_SIZE } from '../utils/range/index.js';
|
|
21
|
-
import
|
|
10
|
+
import { g, i, n } from 'decorator-transforms/runtime';
|
|
11
|
+
import { and, not, or, eq } from 'ember-truth-helpers';
|
|
22
12
|
import EuiInputPopoverComponent from './eui-input-popover.js';
|
|
23
|
-
import
|
|
13
|
+
import EuiFormControlLayoutDelimited from './eui-form-control-layout-delimited.js';
|
|
24
14
|
import EuiRangeInput from './eui-range-input.js';
|
|
15
|
+
import castTo from '../helpers/cast-to.js';
|
|
16
|
+
import { on } from '@ember/modifier';
|
|
17
|
+
import { fn } from '@ember/helper';
|
|
18
|
+
import onKey from 'ember-keyboard/modifiers/on-key';
|
|
19
|
+
import optional from 'ember-composable-helpers/helpers/optional';
|
|
20
|
+
import EuiRangeWrapper from './eui-range-wrapper.js';
|
|
25
21
|
import EuiRangeLabel from './eui-range-label.js';
|
|
22
|
+
import EuiRangeTrackComponent from './eui-range-track.js';
|
|
23
|
+
import EuiRangeHighlight from './eui-range-highlight.js';
|
|
26
24
|
import EuiRangeSlider from './eui-range-slider.js';
|
|
25
|
+
import didInsert from '@ember/render-modifiers/modifiers/did-insert';
|
|
27
26
|
import EuiRangeThumb from './eui-range-thumb.js';
|
|
28
|
-
import
|
|
29
|
-
import
|
|
27
|
+
import simpleStyle from '../modifiers/simple-style.js';
|
|
28
|
+
import { precompileTemplate } from '@ember/template-compilation';
|
|
29
|
+
import { setComponentTemplate } from '@ember/component';
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
@min={{castTo this.lowerValue to="number"}}
|
|
114
|
-
@max={{this.max}}
|
|
115
|
-
@step={{this.step}}
|
|
116
|
-
@value={{this.upperValue}}
|
|
117
|
-
@disabled={{@disabled}}
|
|
118
|
-
@compressed={{this.compressed}}
|
|
119
|
-
@name="{{@name}}-maxValue"
|
|
120
|
-
@readOnly={{@readOnly}}
|
|
121
|
-
@autoSize={{false}}
|
|
122
|
-
@fullWidth={{this.fullWidth}}
|
|
123
|
-
@isInvalid={{@isInvalid}}
|
|
124
|
-
@isPrependProvided={{hasAppend}}
|
|
125
|
-
@isAppendProvided={{hasPrepend}}
|
|
126
|
-
@controlOnly={{true}}
|
|
127
|
-
@disable={{@disable}}
|
|
128
|
-
...attributes
|
|
129
|
-
{{on "mousedown" (fn this.setPreventPopoverClose true)}}
|
|
130
|
-
{{onKey "_all" this.handleInputKeyDown}}
|
|
131
|
-
{{on
|
|
132
|
-
"focus"
|
|
133
|
-
(if
|
|
134
|
-
this.canShowDropdown this.onInputFocus (optional @onFocus)
|
|
135
|
-
)
|
|
136
|
-
}}
|
|
137
|
-
{{on
|
|
138
|
-
"blur"
|
|
139
|
-
(if
|
|
140
|
-
this.canShowDropdown this.onInputBlur (optional @onBlur)
|
|
141
|
-
)
|
|
142
|
-
}}
|
|
143
|
-
{{on "input" this.handleUpperInputChange}}
|
|
144
|
-
>
|
|
145
|
-
<:prepend as |classes|>
|
|
146
|
-
{{yield classes to="prepend"}}
|
|
147
|
-
</:prepend>
|
|
148
|
-
<:append as |classes|>
|
|
149
|
-
{{yield classes to="append"}}
|
|
150
|
-
</:append>
|
|
151
|
-
</EuiRangeInput>
|
|
152
|
-
</:endControl>
|
|
153
|
-
<:append as |appendClasses|>
|
|
154
|
-
{{yield appendClasses to="append"}}
|
|
155
|
-
</:append>
|
|
156
|
-
</EuiFormControlLayoutDelimited>
|
|
157
|
-
</:input>
|
|
158
|
-
<:content>
|
|
159
|
-
<EuiRangeWrapper
|
|
160
|
-
class="euiDualRange"
|
|
161
|
-
@fullWidth={{this.fullWidth}}
|
|
162
|
-
@compressed={{this.compressed}}
|
|
163
|
-
>
|
|
164
|
-
{{#if this.showLabels}}
|
|
165
|
-
<EuiRangeLabel @side="min" @disabled={{@disabled}}>
|
|
166
|
-
{{#if hasMinBlock}}
|
|
167
|
-
{{yield this.min to="min"}}
|
|
168
|
-
{{else}}
|
|
169
|
-
{{this.min}}
|
|
170
|
-
{{/if}}
|
|
171
|
-
</EuiRangeLabel>
|
|
172
|
-
{{/if}}
|
|
173
|
-
<EuiRangeTrack
|
|
174
|
-
aria-hidden={{if (eq this.showInput true) "true" "false"}}
|
|
175
|
-
@compressed={{this.compressed}}
|
|
176
|
-
@disabled={{@disabled}}
|
|
177
|
-
@max={{this.max}}
|
|
178
|
-
@min={{this.min}}
|
|
179
|
-
@step={{this.step}}
|
|
180
|
-
@showTicks={{this.showTicks}}
|
|
181
|
-
@tickInterval={{@tickInterval}}
|
|
182
|
-
@ticks={{@ticks}}
|
|
183
|
-
@levels={{this.levels}}
|
|
184
|
-
@onChange={{this.handleSliderChange}}
|
|
185
|
-
@value={{@value}}
|
|
186
|
-
>
|
|
187
|
-
{{#if (and this.showRange this.isValid)}}
|
|
188
|
-
<EuiRangeHighlight
|
|
189
|
-
@compressed={{this.compressed}}
|
|
190
|
-
@hasFocus={{this.hasFocus}}
|
|
191
|
-
@showTicks={{this.showTicks}}
|
|
192
|
-
{{!@glint-expect-error}}
|
|
193
|
-
@min={{castTo this.min to="number"}}
|
|
194
|
-
{{!@glint-expect-error}}
|
|
195
|
-
@max={{castTo this.max to="number"}}
|
|
196
|
-
{{!@glint-expect-error}}
|
|
197
|
-
@lowerValue={{castTo this.lowerValue to="number"}}
|
|
198
|
-
{{!@glint-expect-error}}
|
|
199
|
-
@upperValue={{castTo this.upperValue to="number"}}
|
|
200
|
-
/>
|
|
201
|
-
{{/if}}
|
|
202
|
-
<EuiRangeSlider
|
|
203
|
-
class="euiDualRange__slider"
|
|
204
|
-
aria-hidden="true"
|
|
205
|
-
@id={{this.id}}
|
|
206
|
-
@name={{@name}}
|
|
207
|
-
@min={{this.min}}
|
|
208
|
-
@max={{this.max}}
|
|
209
|
-
@step={{this.step}}
|
|
210
|
-
@disabled={{@disabled}}
|
|
211
|
-
@compressed={{this.compressed}}
|
|
212
|
-
@onChange={{this.handleSliderChange}}
|
|
213
|
-
@showTicks={{this.showTicks}}
|
|
214
|
-
@hasFocus={{this.hasFocus}}
|
|
215
|
-
tabindex="-1"
|
|
216
|
-
@showRange={{this.showRange}}
|
|
217
|
-
...attributes
|
|
218
|
-
{{didInsert this.didInsertRangeSlider}}
|
|
219
|
-
{{on "mousedown" (fn this.setPreventPopoverClose true)}}
|
|
220
|
-
{{on "focus" (optional @onFocus)}}
|
|
221
|
-
{{on "blur" (optional @onBlur)}}
|
|
222
|
-
{{on "input" this.handleSliderChange}}
|
|
223
|
-
/>
|
|
224
|
-
{{#if this.rangeSliderRefAvailable}}
|
|
225
|
-
<EuiRangeThumb
|
|
226
|
-
@min={{this.min}}
|
|
227
|
-
{{!@glint-expect-error}}
|
|
228
|
-
@max={{castTo this.upperValue to="number"}}
|
|
229
|
-
{{!@glint-expect-error}}
|
|
230
|
-
@value={{this.lowerValue}}
|
|
231
|
-
@disabled={{@disabled}}
|
|
232
|
-
@showTicks={{this.showTicks}}
|
|
233
|
-
@showInput={{not this.showInput}}
|
|
234
|
-
aria-describedby={{@ariaDescribedby}}
|
|
235
|
-
aria-label={{@ariaLabel}}
|
|
236
|
-
{{simpleStyle this.calculateLowerValueThumbPositionStyle}}
|
|
237
|
-
{{on "focus" this.onThumbFocus}}
|
|
238
|
-
{{on "blur" this.onThumbBlur}}
|
|
239
|
-
{{onKey "_all" this.handleLowerKeyDown}}
|
|
240
|
-
/>
|
|
241
|
-
<EuiRangeThumb
|
|
242
|
-
{{!@glint-expect-error}}
|
|
243
|
-
@min={{castTo this.lowerValue to="number"}}
|
|
244
|
-
@max={{this.max}}
|
|
245
|
-
{{!@glint-expect-error}}
|
|
246
|
-
@value={{this.upperValue}}
|
|
247
|
-
@disabled={{@disabled}}
|
|
248
|
-
@showTicks={{this.showTicks}}
|
|
249
|
-
@showInput={{not this.showInput}}
|
|
250
|
-
aria-describedby={{@ariaDescribedby}}
|
|
251
|
-
aria-label={{@ariaLabel}}
|
|
252
|
-
{{simpleStyle this.calculateUpperValueThumbPositionStyle}}
|
|
253
|
-
{{on "focus" this.onThumbFocus}}
|
|
254
|
-
{{on "blur" this.onThumbBlur}}
|
|
255
|
-
{{onKey "_all" this.handleUpperKeyDown}}
|
|
256
|
-
/>
|
|
257
|
-
{{/if}}
|
|
258
|
-
</EuiRangeTrack>
|
|
259
|
-
{{#if this.showLabels}}
|
|
260
|
-
<EuiRangeLabel @disabled={{@disabled}}>
|
|
261
|
-
{{#if hasMaxBlock}}
|
|
262
|
-
{{yield this.max to="max"}}
|
|
263
|
-
{{else}}
|
|
264
|
-
{{this.max}}
|
|
265
|
-
{{/if}}
|
|
266
|
-
</EuiRangeLabel>
|
|
267
|
-
{{/if}}
|
|
268
|
-
</EuiRangeWrapper>
|
|
269
|
-
</:content>
|
|
270
|
-
</EuiInputPopover>
|
|
271
|
-
{{else}}
|
|
272
|
-
<EuiRangeWrapper
|
|
273
|
-
class="euiDualRange"
|
|
274
|
-
@fullWidth={{this.fullWidth}}
|
|
275
|
-
@compressed={{this.compressed}}
|
|
276
|
-
>
|
|
277
|
-
{{#if this.showInput}}
|
|
278
|
-
<EuiRangeInput
|
|
279
|
-
@digitTolerance={{this.digitTolerance}}
|
|
280
|
-
@side="min"
|
|
281
|
-
@min={{this.min}}
|
|
282
|
-
{{!@glint-expect-error}}
|
|
283
|
-
@max={{castTo this.upperValue to="number"}}
|
|
284
|
-
@step={{this.step}}
|
|
285
|
-
@value={{this.lowerValue}}
|
|
286
|
-
@disabled={{@disabled}}
|
|
287
|
-
@compressed={{this.compressed}}
|
|
288
|
-
@onChange={{this.handleLowerInputChange}}
|
|
289
|
-
@name="{{@name}}-minValue"
|
|
290
|
-
@readOnly={{@readOnly}}
|
|
291
|
-
@fullWidth={{this.fullWidth}}
|
|
292
|
-
@isInvalid={{@isInvalid}}
|
|
293
|
-
@isPrependProvided={{false}}
|
|
294
|
-
@isAppendProvided={{false}}
|
|
295
|
-
@controlOnly={{true}}
|
|
296
|
-
@disable={{@disable}}
|
|
297
|
-
...attributes
|
|
298
|
-
{{onKey "_all" this.handleInputKeyDown}}
|
|
299
|
-
{{on "focus" (optional @onFocus)}}
|
|
300
|
-
{{on "blur" (optional @onBlur)}}
|
|
301
|
-
{{on "input" this.handleLowerInputChange}}
|
|
302
|
-
/>
|
|
303
|
-
<div class="euiRange__horizontalSpacer"></div>
|
|
304
|
-
{{/if}}
|
|
305
|
-
{{#if this.showLabels}}
|
|
306
|
-
<EuiRangeLabel @side="min" @disabled={{@disabled}}>
|
|
307
|
-
{{#if hasMinBlock}}
|
|
308
|
-
{{yield this.min to="min"}}
|
|
309
|
-
{{else}}
|
|
310
|
-
{{this.min}}
|
|
311
|
-
{{/if}}
|
|
312
|
-
</EuiRangeLabel>
|
|
313
|
-
{{/if}}
|
|
314
|
-
<EuiRangeTrack
|
|
315
|
-
aria-hidden={{if (eq this.showInput true) "true" "false"}}
|
|
316
|
-
@compressed={{this.compressed}}
|
|
317
|
-
@disabled={{@disabled}}
|
|
318
|
-
@max={{this.max}}
|
|
319
|
-
@min={{this.min}}
|
|
320
|
-
@step={{this.step}}
|
|
321
|
-
@showTicks={{this.showTicks}}
|
|
322
|
-
@tickInterval={{@tickInterval}}
|
|
323
|
-
@ticks={{@ticks}}
|
|
324
|
-
@levels={{this.levels}}
|
|
325
|
-
@onChange={{this.handleSliderChange}}
|
|
326
|
-
@value={{@value}}
|
|
327
|
-
>
|
|
328
|
-
{{#if (and this.showRange this.isValid)}}
|
|
329
|
-
<EuiRangeHighlight
|
|
330
|
-
@compressed={{this.compressed}}
|
|
331
|
-
@hasFocus={{this.hasFocus}}
|
|
332
|
-
@showTicks={{this.showTicks}}
|
|
333
|
-
{{!@glint-expect-error}}
|
|
334
|
-
@min={{castTo this.min to="number"}}
|
|
335
|
-
{{!@glint-expect-error}}
|
|
336
|
-
@max={{castTo this.max to="number"}}
|
|
337
|
-
{{!@glint-expect-error}}
|
|
338
|
-
@lowerValue={{castTo this.lowerValue to="number"}}
|
|
339
|
-
{{!@glint-expect-error}}
|
|
340
|
-
@upperValue={{castTo this.upperValue to="number"}}
|
|
341
|
-
/>
|
|
342
|
-
{{/if}}
|
|
343
|
-
<EuiRangeSlider
|
|
344
|
-
class="euiDualRange__slider"
|
|
345
|
-
aria-hidden="true"
|
|
346
|
-
@id={{this.id}}
|
|
347
|
-
@name={{@name}}
|
|
348
|
-
@min={{this.min}}
|
|
349
|
-
@max={{this.max}}
|
|
350
|
-
@step={{this.step}}
|
|
351
|
-
@disabled={{@disabled}}
|
|
352
|
-
@compressed={{this.compressed}}
|
|
353
|
-
@onChange={{this.handleSliderChange}}
|
|
354
|
-
@showTicks={{this.showTicks}}
|
|
355
|
-
@hasFocus={{this.hasFocus}}
|
|
356
|
-
tabindex="-1"
|
|
357
|
-
@showRange={{this.showRange}}
|
|
358
|
-
...attributes
|
|
359
|
-
{{didInsert this.didInsertRangeSlider}}
|
|
360
|
-
{{on "mousedown" (fn this.setPreventPopoverClose true)}}
|
|
361
|
-
{{on "focus" (optional @onFocus)}}
|
|
362
|
-
{{on "blur" (optional @onBlur)}}
|
|
363
|
-
{{on "input" this.handleSliderChange}}
|
|
364
|
-
/>
|
|
365
|
-
{{#if this.rangeSliderRefAvailable}}
|
|
366
|
-
<EuiRangeThumb
|
|
367
|
-
@min={{this.min}}
|
|
368
|
-
{{!@glint-expect-error}}
|
|
369
|
-
@max={{castTo this.upperValue to="number"}}
|
|
370
|
-
{{!@glint-expect-error}}
|
|
371
|
-
@value={{this.lowerValue}}
|
|
372
|
-
@disabled={{@disabled}}
|
|
373
|
-
@showTicks={{this.showTicks}}
|
|
374
|
-
@showInput={{not this.showInput}}
|
|
375
|
-
aria-describedby={{@ariaDescribedby}}
|
|
376
|
-
aria-label={{@ariaLabel}}
|
|
377
|
-
{{simpleStyle this.calculateLowerValueThumbPositionStyle}}
|
|
378
|
-
{{on "focus" this.onThumbFocus}}
|
|
379
|
-
{{on "blur" this.onThumbBlur}}
|
|
380
|
-
{{!@glint-expect-error}}
|
|
381
|
-
{{on "click" this.handleLowerKeyDown}}
|
|
382
|
-
/>
|
|
383
|
-
<EuiRangeThumb
|
|
384
|
-
{{!@glint-expect-error}}
|
|
385
|
-
@min={{castTo this.lowerValue to="number"}}
|
|
386
|
-
@max={{this.max}}
|
|
387
|
-
{{!@glint-expect-error}}
|
|
388
|
-
@value={{this.upperValue}}
|
|
389
|
-
@disabled={{@disabled}}
|
|
390
|
-
@showTicks={{this.showTicks}}
|
|
391
|
-
@showInput={{not this.showInput}}
|
|
392
|
-
aria-describedby={{@ariaDescribedby}}
|
|
393
|
-
aria-label={{@ariaLabel}}
|
|
394
|
-
{{simpleStyle this.calculateUpperValueThumbPositionStyle}}
|
|
395
|
-
{{on "focus" this.onThumbFocus}}
|
|
396
|
-
{{on "blur" this.onThumbBlur}}
|
|
397
|
-
{{on "keydown" this.handleUpperKeyDown}}
|
|
398
|
-
/>
|
|
399
|
-
{{/if}}
|
|
400
|
-
</EuiRangeTrack>
|
|
401
|
-
{{#if this.showLabels}}
|
|
402
|
-
<EuiRangeLabel @disabled={{@disabled}}>
|
|
403
|
-
{{#if hasMaxBlock}}
|
|
404
|
-
{{yield this.max to="max"}}
|
|
405
|
-
{{else}}
|
|
406
|
-
{{this.max}}
|
|
407
|
-
{{/if}}
|
|
408
|
-
</EuiRangeLabel>
|
|
409
|
-
{{/if}}
|
|
410
|
-
{{#if this.showInput}}
|
|
411
|
-
<div class="euiRange__horizontalSpacer"></div>
|
|
412
|
-
{{! maxinput }}
|
|
413
|
-
<EuiRangeInput
|
|
414
|
-
@digitTolerance={{this.digitTolerance}}
|
|
415
|
-
@side="max"
|
|
416
|
-
{{!@glint-expect-error}}
|
|
417
|
-
@min={{castTo this.lowerValue to="number"}}
|
|
418
|
-
@max={{this.max}}
|
|
419
|
-
@step={{this.step}}
|
|
420
|
-
@value={{this.upperValue}}
|
|
421
|
-
@disabled={{@disabled}}
|
|
422
|
-
@compressed={{this.compressed}}
|
|
423
|
-
@name="{{@name}}-maxValue"
|
|
424
|
-
@readOnly={{@readOnly}}
|
|
425
|
-
@fullWidth={{this.fullWidth}}
|
|
426
|
-
@isInvalid={{@isInvalid}}
|
|
427
|
-
@controlOnly={{this.showInputOnly}}
|
|
428
|
-
@isPrependProvided={{false}}
|
|
429
|
-
@isAppendProvided={{false}}
|
|
430
|
-
@disable={{@disable}}
|
|
431
|
-
...attributes
|
|
432
|
-
{{onKey "_all" this.handleInputKeyDown}}
|
|
433
|
-
{{on "focus" (optional @onFocus)}}
|
|
434
|
-
{{on "blur" (optional @onBlur)}}
|
|
435
|
-
{{on "input" this.handleUpperInputChange}}
|
|
436
|
-
/>
|
|
437
|
-
{{/if}}
|
|
438
|
-
</EuiRangeWrapper>
|
|
439
|
-
{{/if}}
|
|
440
|
-
{{/let}}
|
|
441
|
-
`, {
|
|
442
|
-
strictMode: true,
|
|
443
|
-
scope: () => ({
|
|
444
|
-
and,
|
|
445
|
-
argOrDefault,
|
|
446
|
-
not,
|
|
447
|
-
EuiInputPopover: EuiInputPopoverComponent,
|
|
448
|
-
EuiFormControlLayoutDelimited,
|
|
449
|
-
or,
|
|
450
|
-
EuiRangeInput,
|
|
451
|
-
castTo,
|
|
452
|
-
on,
|
|
453
|
-
fn,
|
|
454
|
-
onKey,
|
|
455
|
-
optional,
|
|
456
|
-
EuiRangeWrapper,
|
|
457
|
-
EuiRangeLabel,
|
|
458
|
-
EuiRangeTrack: EuiRangeTrackComponent,
|
|
459
|
-
eq,
|
|
460
|
-
EuiRangeHighlight,
|
|
461
|
-
EuiRangeSlider,
|
|
462
|
-
didInsert,
|
|
463
|
-
EuiRangeThumb,
|
|
464
|
-
simpleStyle
|
|
465
|
-
})
|
|
466
|
-
}), (_dec = argOrDefaultDecorator(0), _dec2 = argOrDefaultDecorator(100), _dec3 = argOrDefaultDecorator(1), _dec4 = argOrDefaultDecorator(false), _dec5 = argOrDefaultDecorator(false), _dec6 = argOrDefaultDecorator(false), _dec7 = argOrDefaultDecorator(false), _dec8 = argOrDefaultDecorator(true), _dec9 = argOrDefaultDecorator(false), _dec10 = argOrDefaultDecorator([]), (_class = class EuiDualRangeComponent extends Component {
|
|
467
|
-
constructor(...args) {
|
|
468
|
-
super(...args);
|
|
469
|
-
// Defaults
|
|
470
|
-
_initializerDefineProperty(this, "min", _descriptor, this);
|
|
471
|
-
_initializerDefineProperty(this, "max", _descriptor2, this);
|
|
472
|
-
_initializerDefineProperty(this, "step", _descriptor3, this);
|
|
473
|
-
_initializerDefineProperty(this, "fullWidth", _descriptor4, this);
|
|
474
|
-
_initializerDefineProperty(this, "compressed", _descriptor5, this);
|
|
475
|
-
_initializerDefineProperty(this, "showLabels", _descriptor6, this);
|
|
476
|
-
_initializerDefineProperty(this, "showInput", _descriptor7, this);
|
|
477
|
-
_initializerDefineProperty(this, "showRange", _descriptor8, this);
|
|
478
|
-
_initializerDefineProperty(this, "showTicks", _descriptor9, this);
|
|
479
|
-
_initializerDefineProperty(this, "levels", _descriptor10, this);
|
|
480
|
-
//State
|
|
481
|
-
_initializerDefineProperty(this, "id", _descriptor11, this);
|
|
482
|
-
_initializerDefineProperty(this, "hasFocus", _descriptor12, this);
|
|
483
|
-
_initializerDefineProperty(this, "rangeSliderRefAvailable", _descriptor13, this);
|
|
484
|
-
_initializerDefineProperty(this, "isPopoverOpen", _descriptor14, this);
|
|
485
|
-
_initializerDefineProperty(this, "rangeWidth", _descriptor15, this);
|
|
486
|
-
_initializerDefineProperty(this, "isVisible", _descriptor16, this);
|
|
487
|
-
///
|
|
488
|
-
_defineProperty(this, "preventPopoverClose", false);
|
|
489
|
-
_defineProperty(this, "rangeSliderRef", null);
|
|
490
|
-
}
|
|
491
|
-
didInsertRangeSlider(ref) {
|
|
492
|
-
this.rangeSliderRef = ref;
|
|
493
|
-
this.rangeSliderRefAvailable = !!ref;
|
|
494
|
-
this.rangeWidth = ref ? ref.clientWidth : undefined;
|
|
31
|
+
class EuiDualRangeComponent extends Component {
|
|
32
|
+
static {
|
|
33
|
+
g(this.prototype, "min", [argOrDefaultDecorator(0)]);
|
|
34
|
+
}
|
|
35
|
+
#min = (i(this, "min"), void 0); // Defaults
|
|
36
|
+
static {
|
|
37
|
+
g(this.prototype, "max", [argOrDefaultDecorator(100)]);
|
|
38
|
+
}
|
|
39
|
+
#max = (i(this, "max"), void 0);
|
|
40
|
+
static {
|
|
41
|
+
g(this.prototype, "step", [argOrDefaultDecorator(1)]);
|
|
42
|
+
}
|
|
43
|
+
#step = (i(this, "step"), void 0);
|
|
44
|
+
static {
|
|
45
|
+
g(this.prototype, "fullWidth", [argOrDefaultDecorator(false)]);
|
|
46
|
+
}
|
|
47
|
+
#fullWidth = (i(this, "fullWidth"), void 0);
|
|
48
|
+
static {
|
|
49
|
+
g(this.prototype, "compressed", [argOrDefaultDecorator(false)]);
|
|
50
|
+
}
|
|
51
|
+
#compressed = (i(this, "compressed"), void 0);
|
|
52
|
+
static {
|
|
53
|
+
g(this.prototype, "showLabels", [argOrDefaultDecorator(false)]);
|
|
54
|
+
}
|
|
55
|
+
#showLabels = (i(this, "showLabels"), void 0);
|
|
56
|
+
static {
|
|
57
|
+
g(this.prototype, "showInput", [argOrDefaultDecorator(false)]);
|
|
58
|
+
}
|
|
59
|
+
#showInput = (i(this, "showInput"), void 0);
|
|
60
|
+
static {
|
|
61
|
+
g(this.prototype, "showRange", [argOrDefaultDecorator(true)]);
|
|
62
|
+
}
|
|
63
|
+
#showRange = (i(this, "showRange"), void 0);
|
|
64
|
+
static {
|
|
65
|
+
g(this.prototype, "showTicks", [argOrDefaultDecorator(false)]);
|
|
66
|
+
}
|
|
67
|
+
#showTicks = (i(this, "showTicks"), void 0);
|
|
68
|
+
static {
|
|
69
|
+
g(this.prototype, "levels", [argOrDefaultDecorator([])]);
|
|
70
|
+
}
|
|
71
|
+
#levels = (i(this, "levels"), void 0);
|
|
72
|
+
static {
|
|
73
|
+
g(this.prototype, "id", [tracked], function () {
|
|
74
|
+
return this.args.id || guidFor({});
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
#id = (i(this, "id"), void 0); //State
|
|
78
|
+
static {
|
|
79
|
+
g(this.prototype, "hasFocus", [tracked], function () {
|
|
80
|
+
return false;
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
#hasFocus = (i(this, "hasFocus"), void 0);
|
|
84
|
+
static {
|
|
85
|
+
g(this.prototype, "rangeSliderRefAvailable", [tracked], function () {
|
|
86
|
+
return false;
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
#rangeSliderRefAvailable = (i(this, "rangeSliderRefAvailable"), void 0);
|
|
90
|
+
static {
|
|
91
|
+
g(this.prototype, "isPopoverOpen", [tracked], function () {
|
|
92
|
+
return false;
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
#isPopoverOpen = (i(this, "isPopoverOpen"), void 0);
|
|
96
|
+
static {
|
|
97
|
+
g(this.prototype, "rangeWidth", [tracked]);
|
|
98
|
+
}
|
|
99
|
+
#rangeWidth = (i(this, "rangeWidth"), void 0);
|
|
100
|
+
static {
|
|
101
|
+
g(this.prototype, "isVisible", [tracked], function () {
|
|
102
|
+
return true;
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
#isVisible = (i(this, "isVisible"), void 0);
|
|
106
|
+
///
|
|
107
|
+
preventPopoverClose = false;
|
|
108
|
+
rangeSliderRef = null;
|
|
109
|
+
didInsertRangeSlider(ref1) {
|
|
110
|
+
this.rangeSliderRef = ref1;
|
|
111
|
+
this.rangeSliderRefAvailable = !!ref1;
|
|
112
|
+
this.rangeWidth = ref1 ? ref1.clientWidth : undefined;
|
|
495
113
|
if (this.rangeSliderRef?.clientWidth && !this.isVisible) {
|
|
496
114
|
this.isVisible = true;
|
|
497
115
|
}
|
|
498
116
|
}
|
|
117
|
+
static {
|
|
118
|
+
n(this.prototype, "didInsertRangeSlider", [action]);
|
|
119
|
+
}
|
|
499
120
|
get lowerValue() {
|
|
500
121
|
return this.args.value ? this.args.value[0] : this.min;
|
|
501
122
|
}
|
|
@@ -511,149 +132,192 @@ let EuiDualRangeComponent = setComponentTemplate(precompileTemplate(`
|
|
|
511
132
|
get isValid() {
|
|
512
133
|
return this.lowerValueIsValid && this.upperValueIsValid;
|
|
513
134
|
}
|
|
514
|
-
_determineInvalidThumbMovement(
|
|
135
|
+
_determineInvalidThumbMovement(newVal1, lower1, upper1, e1) {
|
|
515
136
|
// If the values are invalid, find whether the new value is in the upper
|
|
516
137
|
// or lower half and move the appropriate handle to the new value,
|
|
517
138
|
// while the other handle gets moved to the opposite bound (if invalid)
|
|
518
|
-
const
|
|
519
|
-
const
|
|
520
|
-
if (
|
|
521
|
-
|
|
522
|
-
|
|
139
|
+
const lowerHalf1 = Math.abs(this.max - this.min) / 2 + this.min;
|
|
140
|
+
const newValIsLow1 = isWithinRange(this.min, lowerHalf1, newVal1);
|
|
141
|
+
if (newValIsLow1) {
|
|
142
|
+
lower1 = newVal1;
|
|
143
|
+
upper1 = !this.upperValueIsValid ? this.max : upper1;
|
|
523
144
|
} else {
|
|
524
|
-
|
|
525
|
-
|
|
145
|
+
lower1 = !this.lowerValueIsValid ? this.min : lower1;
|
|
146
|
+
upper1 = newVal1;
|
|
526
147
|
}
|
|
527
|
-
this._handleOnChange(
|
|
148
|
+
this._handleOnChange(lower1, upper1, e1);
|
|
528
149
|
}
|
|
529
|
-
|
|
150
|
+
static {
|
|
151
|
+
n(this.prototype, "_determineInvalidThumbMovement", [action]);
|
|
152
|
+
}
|
|
153
|
+
_determineValidThumbMovement(newVal1, lower1, upper1, e1) {
|
|
530
154
|
// Lower thumb targeted or right-moving swap has occurred
|
|
531
|
-
if (Math.abs(
|
|
532
|
-
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
else {
|
|
536
|
-
upper = newVal;
|
|
155
|
+
if (Math.abs(lower1 - newVal1) < Math.abs(upper1 - newVal1)) {
|
|
156
|
+
lower1 = newVal1;
|
|
157
|
+
} else {
|
|
158
|
+
upper1 = newVal1;
|
|
537
159
|
}
|
|
538
|
-
this._handleOnChange(
|
|
160
|
+
this._handleOnChange(lower1, upper1, e1);
|
|
161
|
+
}
|
|
162
|
+
static {
|
|
163
|
+
n(this.prototype, "_determineValidThumbMovement", [action]);
|
|
539
164
|
}
|
|
540
|
-
_determineThumbMovement(
|
|
165
|
+
_determineThumbMovement(newVal1, e1) {
|
|
541
166
|
// Determine thumb movement based on slider interaction
|
|
542
167
|
if (!this.isValid) {
|
|
543
168
|
// Non-standard positioning follows
|
|
544
|
-
this._determineInvalidThumbMovement(
|
|
169
|
+
this._determineInvalidThumbMovement(newVal1, this.lowerValue, this.upperValue, e1);
|
|
545
170
|
} else {
|
|
546
171
|
// Standard positioning based on click event proximity to thumb locations
|
|
547
|
-
this._determineValidThumbMovement(
|
|
172
|
+
this._determineValidThumbMovement(newVal1, this.lowerValue, this.upperValue, e1);
|
|
548
173
|
}
|
|
549
174
|
}
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
175
|
+
static {
|
|
176
|
+
n(this.prototype, "_determineThumbMovement", [action]);
|
|
177
|
+
}
|
|
178
|
+
_handleOnChange(lower1, upper1, e1) {
|
|
179
|
+
const isValid1 = isWithinRange(this.min, upper1, lower1) && isWithinRange(lower1, this.max, upper1);
|
|
180
|
+
this.args.onChange([lower1, upper1], isValid1, e1);
|
|
553
181
|
}
|
|
554
|
-
|
|
555
|
-
this.
|
|
182
|
+
static {
|
|
183
|
+
n(this.prototype, "_handleOnChange", [action]);
|
|
556
184
|
}
|
|
557
|
-
|
|
185
|
+
handleSliderChange(e1) {
|
|
186
|
+
this._determineThumbMovement(Number(e1.currentTarget.value), e1);
|
|
187
|
+
}
|
|
188
|
+
static {
|
|
189
|
+
n(this.prototype, "handleSliderChange", [action]);
|
|
190
|
+
}
|
|
191
|
+
_resetToRangeEnds(e1) {
|
|
558
192
|
// Arbitrary decision to pass `min` instead of `max`. Result is the same.
|
|
559
|
-
this._determineInvalidThumbMovement(this.min, this.lowerValue, this.upperValue,
|
|
193
|
+
this._determineInvalidThumbMovement(this.min, this.lowerValue, this.upperValue, e1);
|
|
194
|
+
}
|
|
195
|
+
static {
|
|
196
|
+
n(this.prototype, "_resetToRangeEnds", [action]);
|
|
560
197
|
}
|
|
561
|
-
_isDirectionalKeyPress(
|
|
562
|
-
return [keys.ARROW_UP, keys.ARROW_RIGHT, keys.ARROW_DOWN, keys.ARROW_LEFT].indexOf(
|
|
198
|
+
_isDirectionalKeyPress(event1) {
|
|
199
|
+
return [keys.ARROW_UP, keys.ARROW_RIGHT, keys.ARROW_DOWN, keys.ARROW_LEFT].indexOf(event1.key) > -1;
|
|
563
200
|
}
|
|
564
|
-
|
|
201
|
+
static {
|
|
202
|
+
n(this.prototype, "_isDirectionalKeyPress", [action]);
|
|
203
|
+
}
|
|
204
|
+
handleInputKeyDown(e1) {
|
|
565
205
|
// Relevant only when initial values are both `''` and `showInput` is set
|
|
566
|
-
if (this._isDirectionalKeyPress(
|
|
567
|
-
|
|
568
|
-
this._resetToRangeEnds(
|
|
206
|
+
if (this._isDirectionalKeyPress(e1) && !this.isValid) {
|
|
207
|
+
e1.preventDefault();
|
|
208
|
+
this._resetToRangeEnds(e1);
|
|
569
209
|
}
|
|
570
210
|
}
|
|
571
|
-
|
|
572
|
-
this.
|
|
211
|
+
static {
|
|
212
|
+
n(this.prototype, "handleInputKeyDown", [action]);
|
|
213
|
+
}
|
|
214
|
+
handleLowerInputChange(e1) {
|
|
215
|
+
this._handleOnChange(e1.target.value, this.upperValue, e1);
|
|
216
|
+
}
|
|
217
|
+
static {
|
|
218
|
+
n(this.prototype, "handleLowerInputChange", [action]);
|
|
573
219
|
}
|
|
574
|
-
handleUpperInputChange(
|
|
575
|
-
this._handleOnChange(this.lowerValue,
|
|
220
|
+
handleUpperInputChange(e1) {
|
|
221
|
+
this._handleOnChange(this.lowerValue, e1.target.value, e1);
|
|
576
222
|
}
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
223
|
+
static {
|
|
224
|
+
n(this.prototype, "handleUpperInputChange", [action]);
|
|
225
|
+
}
|
|
226
|
+
_handleKeyDown(value1, event1) {
|
|
227
|
+
let newVal1 = Number(value1);
|
|
228
|
+
let stepRemainder1 = 0;
|
|
229
|
+
const step1 = this.args.step || 1;
|
|
230
|
+
switch (event1.key) {
|
|
582
231
|
case keys.ARROW_UP:
|
|
583
232
|
case keys.ARROW_RIGHT:
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
if (
|
|
588
|
-
|
|
233
|
+
event1.preventDefault();
|
|
234
|
+
newVal1 += step1;
|
|
235
|
+
stepRemainder1 = (newVal1 - this.min) % step1;
|
|
236
|
+
if (step1 !== 1 && stepRemainder1 > 0) {
|
|
237
|
+
newVal1 = newVal1 - stepRemainder1;
|
|
589
238
|
}
|
|
590
239
|
break;
|
|
591
240
|
case keys.ARROW_DOWN:
|
|
592
241
|
case keys.ARROW_LEFT:
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
if (
|
|
597
|
-
|
|
242
|
+
event1.preventDefault();
|
|
243
|
+
newVal1 -= step1;
|
|
244
|
+
stepRemainder1 = (newVal1 - this.min) % step1;
|
|
245
|
+
if (step1 !== 1 && stepRemainder1 > 0) {
|
|
246
|
+
newVal1 = newVal1 + (step1 - stepRemainder1);
|
|
598
247
|
}
|
|
599
248
|
break;
|
|
600
249
|
}
|
|
601
|
-
return
|
|
250
|
+
return newVal1;
|
|
251
|
+
}
|
|
252
|
+
static {
|
|
253
|
+
n(this.prototype, "_handleKeyDown", [action]);
|
|
602
254
|
}
|
|
603
|
-
handleLowerKeyDown(
|
|
604
|
-
let
|
|
605
|
-
switch (
|
|
255
|
+
handleLowerKeyDown(event1) {
|
|
256
|
+
let lower1 = this.lowerValue;
|
|
257
|
+
switch (event1.key) {
|
|
606
258
|
case keys.TAB:
|
|
607
259
|
return;
|
|
608
260
|
default:
|
|
609
261
|
if (!this.lowerValueIsValid) {
|
|
610
262
|
// Relevant only when initial value is `''` and `showInput` is not set
|
|
611
|
-
|
|
612
|
-
this._resetToRangeEnds(
|
|
263
|
+
event1.preventDefault();
|
|
264
|
+
this._resetToRangeEnds(event1);
|
|
613
265
|
return;
|
|
614
266
|
}
|
|
615
|
-
|
|
267
|
+
lower1 = this._handleKeyDown(lower1, event1);
|
|
616
268
|
}
|
|
617
|
-
if (
|
|
618
|
-
this._handleOnChange(
|
|
269
|
+
if (lower1 >= this.upperValue || lower1 < this.min) return;
|
|
270
|
+
this._handleOnChange(lower1, this.upperValue, event1);
|
|
619
271
|
}
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
272
|
+
static {
|
|
273
|
+
n(this.prototype, "handleLowerKeyDown", [action]);
|
|
274
|
+
}
|
|
275
|
+
handleUpperKeyDown(event1) {
|
|
276
|
+
let upper1 = this.upperValue;
|
|
277
|
+
switch (event1.key) {
|
|
623
278
|
case keys.TAB:
|
|
624
279
|
return;
|
|
625
280
|
default:
|
|
626
281
|
if (!this.upperValueIsValid) {
|
|
627
282
|
// Relevant only when initial value is `''` and `showInput` is not set
|
|
628
|
-
|
|
629
|
-
this._resetToRangeEnds(
|
|
283
|
+
event1.preventDefault();
|
|
284
|
+
this._resetToRangeEnds(event1);
|
|
630
285
|
return;
|
|
631
286
|
}
|
|
632
|
-
|
|
287
|
+
upper1 = this._handleKeyDown(upper1, event1);
|
|
633
288
|
}
|
|
634
|
-
if (
|
|
635
|
-
this._handleOnChange(this.lowerValue,
|
|
289
|
+
if (upper1 <= this.lowerValue || upper1 > this.max) return;
|
|
290
|
+
this._handleOnChange(this.lowerValue, upper1, event1);
|
|
291
|
+
}
|
|
292
|
+
static {
|
|
293
|
+
n(this.prototype, "handleUpperKeyDown", [action]);
|
|
636
294
|
}
|
|
637
|
-
calculateThumbPositionStyle(
|
|
295
|
+
calculateThumbPositionStyle(value1, width1) {
|
|
638
296
|
// Calculate the left position based on value
|
|
639
|
-
const
|
|
297
|
+
const decimal1 = (value1 - this.min) / (this.max - this.min);
|
|
640
298
|
// Must be between 0-100%
|
|
641
|
-
let
|
|
642
|
-
|
|
643
|
-
const
|
|
644
|
-
let
|
|
645
|
-
if (
|
|
646
|
-
|
|
299
|
+
let valuePosition1 = decimal1 <= 1 ? decimal1 : 1;
|
|
300
|
+
valuePosition1 = valuePosition1 >= 0 ? valuePosition1 : 0;
|
|
301
|
+
const trackWidth1 = this.args.showInput === 'inputWithPopover' && !!width1 ? width1 : this.rangeSliderRef?.clientWidth;
|
|
302
|
+
let thumbToTrackRatio1 = 0;
|
|
303
|
+
if (trackWidth1) {
|
|
304
|
+
thumbToTrackRatio1 = EUI_THUMB_SIZE / trackWidth1;
|
|
647
305
|
} else {
|
|
648
|
-
|
|
306
|
+
thumbToTrackRatio1 = EUI_THUMB_SIZE / 1;
|
|
649
307
|
}
|
|
650
|
-
const
|
|
308
|
+
const trackPositionScale1 = (1 - thumbToTrackRatio1) * 100;
|
|
651
309
|
return {
|
|
652
|
-
left: `${
|
|
310
|
+
left: `${valuePosition1 * trackPositionScale1}%`
|
|
653
311
|
};
|
|
654
312
|
}
|
|
655
|
-
|
|
656
|
-
this.
|
|
313
|
+
static {
|
|
314
|
+
n(this.prototype, "calculateThumbPositionStyle", [action]);
|
|
315
|
+
}
|
|
316
|
+
setPreventPopoverClose(value1) {
|
|
317
|
+
this.preventPopoverClose = value1;
|
|
318
|
+
}
|
|
319
|
+
static {
|
|
320
|
+
n(this.prototype, "setPreventPopoverClose", [action]);
|
|
657
321
|
}
|
|
658
322
|
get calculateLowerValueThumbPositionStyle() {
|
|
659
323
|
return this.calculateThumbPositionStyle(Number(this.lowerValue) || this.min, this.rangeWidth);
|
|
@@ -664,26 +328,38 @@ let EuiDualRangeComponent = setComponentTemplate(precompileTemplate(`
|
|
|
664
328
|
toggleHasFocus() {
|
|
665
329
|
this.hasFocus = !this.hasFocus;
|
|
666
330
|
}
|
|
667
|
-
|
|
331
|
+
static {
|
|
332
|
+
n(this.prototype, "toggleHasFocus", [action]);
|
|
333
|
+
}
|
|
334
|
+
onThumbFocus(e1) {
|
|
668
335
|
if (this.args.onFocus) {
|
|
669
|
-
this.args.onFocus(
|
|
336
|
+
this.args.onFocus(e1);
|
|
670
337
|
}
|
|
671
338
|
this.hasFocus = true;
|
|
672
339
|
}
|
|
673
|
-
|
|
340
|
+
static {
|
|
341
|
+
n(this.prototype, "onThumbFocus", [action]);
|
|
342
|
+
}
|
|
343
|
+
onThumbBlur(e1) {
|
|
674
344
|
if (this.args.onBlur) {
|
|
675
|
-
this.args.onBlur(
|
|
345
|
+
this.args.onBlur(e1);
|
|
676
346
|
}
|
|
677
347
|
this.hasFocus = false;
|
|
678
348
|
}
|
|
679
|
-
|
|
349
|
+
static {
|
|
350
|
+
n(this.prototype, "onThumbBlur", [action]);
|
|
351
|
+
}
|
|
352
|
+
onInputFocus(e1) {
|
|
680
353
|
if (this.args.onFocus) {
|
|
681
|
-
this.args.onFocus(
|
|
354
|
+
this.args.onFocus(e1);
|
|
682
355
|
}
|
|
683
356
|
this.preventPopoverClose = true;
|
|
684
357
|
this.isPopoverOpen = true;
|
|
685
358
|
}
|
|
686
|
-
|
|
359
|
+
static {
|
|
360
|
+
n(this.prototype, "onInputFocus", [action]);
|
|
361
|
+
}
|
|
362
|
+
onInputBlur(e1) {
|
|
687
363
|
later(this, () => {
|
|
688
364
|
// Safari does not recognize any focus-related eventing for input[type=range]
|
|
689
365
|
// making it impossible to capture its state using active/focus/relatedTarget
|
|
@@ -694,17 +370,26 @@ let EuiDualRangeComponent = setComponentTemplate(precompileTemplate(`
|
|
|
694
370
|
return;
|
|
695
371
|
}
|
|
696
372
|
if (this.args.onBlur) {
|
|
697
|
-
this.args.onBlur(
|
|
373
|
+
this.args.onBlur(e1);
|
|
698
374
|
}
|
|
699
375
|
this.closePopover();
|
|
700
376
|
}, 200);
|
|
701
377
|
}
|
|
378
|
+
static {
|
|
379
|
+
n(this.prototype, "onInputBlur", [action]);
|
|
380
|
+
}
|
|
702
381
|
closePopover() {
|
|
703
382
|
this.preventPopoverClose = false;
|
|
704
383
|
this.isPopoverOpen = false;
|
|
705
384
|
}
|
|
706
|
-
|
|
707
|
-
this.
|
|
385
|
+
static {
|
|
386
|
+
n(this.prototype, "closePopover", [action]);
|
|
387
|
+
}
|
|
388
|
+
onResize(width1) {
|
|
389
|
+
this.rangeWidth = width1;
|
|
390
|
+
}
|
|
391
|
+
static {
|
|
392
|
+
n(this.prototype, "onResize", [action]);
|
|
708
393
|
}
|
|
709
394
|
get digitTolerance() {
|
|
710
395
|
return Math.max(String(this.min).length, String(this.max).length);
|
|
@@ -715,97 +400,35 @@ let EuiDualRangeComponent = setComponentTemplate(precompileTemplate(`
|
|
|
715
400
|
get canShowDropdown() {
|
|
716
401
|
return this.showInputOnly && !this.args.readOnly && !this.args.disabled;
|
|
717
402
|
}
|
|
718
|
-
|
|
719
|
-
configurable: true,
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
initializer: null
|
|
748
|
-
}), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, "showInput", [_dec7], {
|
|
749
|
-
configurable: true,
|
|
750
|
-
enumerable: true,
|
|
751
|
-
writable: true,
|
|
752
|
-
initializer: null
|
|
753
|
-
}), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, "showRange", [_dec8], {
|
|
754
|
-
configurable: true,
|
|
755
|
-
enumerable: true,
|
|
756
|
-
writable: true,
|
|
757
|
-
initializer: null
|
|
758
|
-
}), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, "showTicks", [_dec9], {
|
|
759
|
-
configurable: true,
|
|
760
|
-
enumerable: true,
|
|
761
|
-
writable: true,
|
|
762
|
-
initializer: null
|
|
763
|
-
}), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, "levels", [_dec10], {
|
|
764
|
-
configurable: true,
|
|
765
|
-
enumerable: true,
|
|
766
|
-
writable: true,
|
|
767
|
-
initializer: null
|
|
768
|
-
}), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, "id", [tracked], {
|
|
769
|
-
configurable: true,
|
|
770
|
-
enumerable: true,
|
|
771
|
-
writable: true,
|
|
772
|
-
initializer: function () {
|
|
773
|
-
return this.args.id || guidFor({});
|
|
774
|
-
}
|
|
775
|
-
}), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, "hasFocus", [tracked], {
|
|
776
|
-
configurable: true,
|
|
777
|
-
enumerable: true,
|
|
778
|
-
writable: true,
|
|
779
|
-
initializer: function () {
|
|
780
|
-
return false;
|
|
781
|
-
}
|
|
782
|
-
}), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, "rangeSliderRefAvailable", [tracked], {
|
|
783
|
-
configurable: true,
|
|
784
|
-
enumerable: true,
|
|
785
|
-
writable: true,
|
|
786
|
-
initializer: function () {
|
|
787
|
-
return false;
|
|
788
|
-
}
|
|
789
|
-
}), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, "isPopoverOpen", [tracked], {
|
|
790
|
-
configurable: true,
|
|
791
|
-
enumerable: true,
|
|
792
|
-
writable: true,
|
|
793
|
-
initializer: function () {
|
|
794
|
-
return false;
|
|
795
|
-
}
|
|
796
|
-
}), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, "rangeWidth", [tracked], {
|
|
797
|
-
configurable: true,
|
|
798
|
-
enumerable: true,
|
|
799
|
-
writable: true,
|
|
800
|
-
initializer: null
|
|
801
|
-
}), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, "isVisible", [tracked], {
|
|
802
|
-
configurable: true,
|
|
803
|
-
enumerable: true,
|
|
804
|
-
writable: true,
|
|
805
|
-
initializer: function () {
|
|
806
|
-
return true;
|
|
807
|
-
}
|
|
808
|
-
}), _applyDecoratedDescriptor(_class.prototype, "didInsertRangeSlider", [action], Object.getOwnPropertyDescriptor(_class.prototype, "didInsertRangeSlider"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "_determineInvalidThumbMovement", [action], Object.getOwnPropertyDescriptor(_class.prototype, "_determineInvalidThumbMovement"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "_determineValidThumbMovement", [action], Object.getOwnPropertyDescriptor(_class.prototype, "_determineValidThumbMovement"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "_determineThumbMovement", [action], Object.getOwnPropertyDescriptor(_class.prototype, "_determineThumbMovement"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "_handleOnChange", [action], Object.getOwnPropertyDescriptor(_class.prototype, "_handleOnChange"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "handleSliderChange", [action], Object.getOwnPropertyDescriptor(_class.prototype, "handleSliderChange"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "_resetToRangeEnds", [action], Object.getOwnPropertyDescriptor(_class.prototype, "_resetToRangeEnds"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "_isDirectionalKeyPress", [action], Object.getOwnPropertyDescriptor(_class.prototype, "_isDirectionalKeyPress"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "handleInputKeyDown", [action], Object.getOwnPropertyDescriptor(_class.prototype, "handleInputKeyDown"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "handleLowerInputChange", [action], Object.getOwnPropertyDescriptor(_class.prototype, "handleLowerInputChange"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "handleUpperInputChange", [action], Object.getOwnPropertyDescriptor(_class.prototype, "handleUpperInputChange"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "_handleKeyDown", [action], Object.getOwnPropertyDescriptor(_class.prototype, "_handleKeyDown"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "handleLowerKeyDown", [action], Object.getOwnPropertyDescriptor(_class.prototype, "handleLowerKeyDown"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "handleUpperKeyDown", [action], Object.getOwnPropertyDescriptor(_class.prototype, "handleUpperKeyDown"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "calculateThumbPositionStyle", [action], Object.getOwnPropertyDescriptor(_class.prototype, "calculateThumbPositionStyle"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "setPreventPopoverClose", [action], Object.getOwnPropertyDescriptor(_class.prototype, "setPreventPopoverClose"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "toggleHasFocus", [action], Object.getOwnPropertyDescriptor(_class.prototype, "toggleHasFocus"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "onThumbFocus", [action], Object.getOwnPropertyDescriptor(_class.prototype, "onThumbFocus"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "onThumbBlur", [action], Object.getOwnPropertyDescriptor(_class.prototype, "onThumbBlur"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "onInputFocus", [action], Object.getOwnPropertyDescriptor(_class.prototype, "onInputFocus"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "onInputBlur", [action], Object.getOwnPropertyDescriptor(_class.prototype, "onInputBlur"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "closePopover", [action], Object.getOwnPropertyDescriptor(_class.prototype, "closePopover"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "onResize", [action], Object.getOwnPropertyDescriptor(_class.prototype, "onResize"), _class.prototype)), _class)));
|
|
403
|
+
static {
|
|
404
|
+
setComponentTemplate(precompileTemplate("\n {{#let (and (argOrDefault @isPrependProvided true) (has-block \"prepend\")) (and (argOrDefault @isAppendProvided true) (has-block \"append\")) (and (not (argOrDefault @isFakeMaxBlock false)) (has-block \"max\")) (and (not (argOrDefault @isFakeMinBlock false)) (has-block \"min\")) as |hasPrepend hasAppend hasMaxBlock hasMinBlock|}}\n {{#if this.showInputOnly}}\n <EuiInputPopover class=\"euiRange__popover\" @fullWidth={{this.fullWidth}} @isOpen={{this.isPopoverOpen}} @closePopover={{this.closePopover}} @disableFocusTrap={{true}} @onPanelResize={{this.onResize}}>\n <:input>\n <EuiFormControlLayoutDelimited @fullWidth={{this.fullWidth}} @compressed={{this.compressed}} @readOnly={{@readOnly}} @disabled={{@disabled}} @useGroup={{or hasPrepend hasAppend}}>\n <:prepend as |prependClasses|>\n {{yield prependClasses to=\"prepend\"}}\n </:prepend>\n <:startControl as |classes|>\n <EuiRangeInput class={{classes}} @digitTolerance={{this.digitTolerance}} @side=\"min\" @min={{this.min}} {{!--@glint-expect-error--}} @max={{castTo this.upperValue to=\"number\"}} @step={{this.step}} @value={{this.lowerValue}} @disabled={{@disabled}} @compressed={{this.compressed}} @onChange={{this.handleLowerInputChange}} @name=\"{{@name}}-minValue\" @readOnly={{@readOnly}} @autoSize={{false}} @fullWidth={{this.fullWidth}} @isInvalid={{@isInvalid}} @isPrependProvided={{hasAppend}} @isAppendProvided={{hasPrepend}} @controlOnly={{true}} @disable={{@disable}} ...attributes {{on \"mousedown\" (fn this.setPreventPopoverClose true)}} {{onKey \"_all\" this.handleInputKeyDown}} {{on \"focus\" (if this.canShowDropdown this.onInputFocus (optional @onFocus))}} {{on \"blur\" (if this.canShowDropdown this.onInputBlur (optional @onBlur))}} {{on \"input\" this.handleLowerInputChange}}>\n <:prepend as |classes|>\n {{yield classes to=\"prepend\"}}\n </:prepend>\n <:append as |classes|>\n {{yield classes to=\"append\"}}\n </:append>\n </EuiRangeInput>\n </:startControl>\n <:endControl as |classes|>\n <EuiRangeInput class={{classes}} @digitTolerance={{this.digitTolerance}} @side=\"max\" {{!--@glint-expect-error--}} @min={{castTo this.lowerValue to=\"number\"}} @max={{this.max}} @step={{this.step}} @value={{this.upperValue}} @disabled={{@disabled}} @compressed={{this.compressed}} @name=\"{{@name}}-maxValue\" @readOnly={{@readOnly}} @autoSize={{false}} @fullWidth={{this.fullWidth}} @isInvalid={{@isInvalid}} @isPrependProvided={{hasAppend}} @isAppendProvided={{hasPrepend}} @controlOnly={{true}} @disable={{@disable}} ...attributes {{on \"mousedown\" (fn this.setPreventPopoverClose true)}} {{onKey \"_all\" this.handleInputKeyDown}} {{on \"focus\" (if this.canShowDropdown this.onInputFocus (optional @onFocus))}} {{on \"blur\" (if this.canShowDropdown this.onInputBlur (optional @onBlur))}} {{on \"input\" this.handleUpperInputChange}}>\n <:prepend as |classes|>\n {{yield classes to=\"prepend\"}}\n </:prepend>\n <:append as |classes|>\n {{yield classes to=\"append\"}}\n </:append>\n </EuiRangeInput>\n </:endControl>\n <:append as |appendClasses|>\n {{yield appendClasses to=\"append\"}}\n </:append>\n </EuiFormControlLayoutDelimited>\n </:input>\n <:content>\n <EuiRangeWrapper class=\"euiDualRange\" @fullWidth={{this.fullWidth}} @compressed={{this.compressed}}>\n {{#if this.showLabels}}\n <EuiRangeLabel @side=\"min\" @disabled={{@disabled}}>\n {{#if hasMinBlock}}\n {{yield this.min to=\"min\"}}\n {{else}}\n {{this.min}}\n {{/if}}\n </EuiRangeLabel>\n {{/if}}\n <EuiRangeTrack aria-hidden={{if (eq this.showInput true) \"true\" \"false\"}} @compressed={{this.compressed}} @disabled={{@disabled}} @max={{this.max}} @min={{this.min}} @step={{this.step}} @showTicks={{this.showTicks}} @tickInterval={{@tickInterval}} @ticks={{@ticks}} @levels={{this.levels}} @onChange={{this.handleSliderChange}} @value={{@value}}>\n {{#if (and this.showRange this.isValid)}}\n <EuiRangeHighlight @compressed={{this.compressed}} @hasFocus={{this.hasFocus}} @showTicks={{this.showTicks}} {{!--@glint-expect-error--}} @min={{castTo this.min to=\"number\"}} {{!--@glint-expect-error--}} @max={{castTo this.max to=\"number\"}} {{!--@glint-expect-error--}} @lowerValue={{castTo this.lowerValue to=\"number\"}} {{!--@glint-expect-error--}} @upperValue={{castTo this.upperValue to=\"number\"}} />\n {{/if}}\n <EuiRangeSlider class=\"euiDualRange__slider\" aria-hidden=\"true\" @id={{this.id}} @name={{@name}} @min={{this.min}} @max={{this.max}} @step={{this.step}} @disabled={{@disabled}} @compressed={{this.compressed}} @onChange={{this.handleSliderChange}} @showTicks={{this.showTicks}} @hasFocus={{this.hasFocus}} tabindex=\"-1\" @showRange={{this.showRange}} ...attributes {{didInsert this.didInsertRangeSlider}} {{on \"mousedown\" (fn this.setPreventPopoverClose true)}} {{on \"focus\" (optional @onFocus)}} {{on \"blur\" (optional @onBlur)}} {{on \"input\" this.handleSliderChange}} />\n {{#if this.rangeSliderRefAvailable}}\n <EuiRangeThumb @min={{this.min}} {{!--@glint-expect-error--}} @max={{castTo this.upperValue to=\"number\"}} {{!--@glint-expect-error--}} @value={{this.lowerValue}} @disabled={{@disabled}} @showTicks={{this.showTicks}} @showInput={{not this.showInput}} aria-describedby={{@ariaDescribedby}} aria-label={{@ariaLabel}} {{simpleStyle this.calculateLowerValueThumbPositionStyle}} {{on \"focus\" this.onThumbFocus}} {{on \"blur\" this.onThumbBlur}} {{onKey \"_all\" this.handleLowerKeyDown}} />\n <EuiRangeThumb {{!--@glint-expect-error--}} @min={{castTo this.lowerValue to=\"number\"}} @max={{this.max}} {{!--@glint-expect-error--}} @value={{this.upperValue}} @disabled={{@disabled}} @showTicks={{this.showTicks}} @showInput={{not this.showInput}} aria-describedby={{@ariaDescribedby}} aria-label={{@ariaLabel}} {{simpleStyle this.calculateUpperValueThumbPositionStyle}} {{on \"focus\" this.onThumbFocus}} {{on \"blur\" this.onThumbBlur}} {{onKey \"_all\" this.handleUpperKeyDown}} />\n {{/if}}\n </EuiRangeTrack>\n {{#if this.showLabels}}\n <EuiRangeLabel @disabled={{@disabled}}>\n {{#if hasMaxBlock}}\n {{yield this.max to=\"max\"}}\n {{else}}\n {{this.max}}\n {{/if}}\n </EuiRangeLabel>\n {{/if}}\n </EuiRangeWrapper>\n </:content>\n </EuiInputPopover>\n {{else}}\n <EuiRangeWrapper class=\"euiDualRange\" @fullWidth={{this.fullWidth}} @compressed={{this.compressed}}>\n {{#if this.showInput}}\n <EuiRangeInput @digitTolerance={{this.digitTolerance}} @side=\"min\" @min={{this.min}} {{!--@glint-expect-error--}} @max={{castTo this.upperValue to=\"number\"}} @step={{this.step}} @value={{this.lowerValue}} @disabled={{@disabled}} @compressed={{this.compressed}} @onChange={{this.handleLowerInputChange}} @name=\"{{@name}}-minValue\" @readOnly={{@readOnly}} @fullWidth={{this.fullWidth}} @isInvalid={{@isInvalid}} @isPrependProvided={{false}} @isAppendProvided={{false}} @controlOnly={{true}} @disable={{@disable}} ...attributes {{onKey \"_all\" this.handleInputKeyDown}} {{on \"focus\" (optional @onFocus)}} {{on \"blur\" (optional @onBlur)}} {{on \"input\" this.handleLowerInputChange}} />\n <div class=\"euiRange__horizontalSpacer\"></div>\n {{/if}}\n {{#if this.showLabels}}\n <EuiRangeLabel @side=\"min\" @disabled={{@disabled}}>\n {{#if hasMinBlock}}\n {{yield this.min to=\"min\"}}\n {{else}}\n {{this.min}}\n {{/if}}\n </EuiRangeLabel>\n {{/if}}\n <EuiRangeTrack aria-hidden={{if (eq this.showInput true) \"true\" \"false\"}} @compressed={{this.compressed}} @disabled={{@disabled}} @max={{this.max}} @min={{this.min}} @step={{this.step}} @showTicks={{this.showTicks}} @tickInterval={{@tickInterval}} @ticks={{@ticks}} @levels={{this.levels}} @onChange={{this.handleSliderChange}} @value={{@value}}>\n {{#if (and this.showRange this.isValid)}}\n <EuiRangeHighlight @compressed={{this.compressed}} @hasFocus={{this.hasFocus}} @showTicks={{this.showTicks}} {{!--@glint-expect-error--}} @min={{castTo this.min to=\"number\"}} {{!--@glint-expect-error--}} @max={{castTo this.max to=\"number\"}} {{!--@glint-expect-error--}} @lowerValue={{castTo this.lowerValue to=\"number\"}} {{!--@glint-expect-error--}} @upperValue={{castTo this.upperValue to=\"number\"}} />\n {{/if}}\n <EuiRangeSlider class=\"euiDualRange__slider\" aria-hidden=\"true\" @id={{this.id}} @name={{@name}} @min={{this.min}} @max={{this.max}} @step={{this.step}} @disabled={{@disabled}} @compressed={{this.compressed}} @onChange={{this.handleSliderChange}} @showTicks={{this.showTicks}} @hasFocus={{this.hasFocus}} tabindex=\"-1\" @showRange={{this.showRange}} ...attributes {{didInsert this.didInsertRangeSlider}} {{on \"mousedown\" (fn this.setPreventPopoverClose true)}} {{on \"focus\" (optional @onFocus)}} {{on \"blur\" (optional @onBlur)}} {{on \"input\" this.handleSliderChange}} />\n {{#if this.rangeSliderRefAvailable}}\n <EuiRangeThumb @min={{this.min}} {{!--@glint-expect-error--}} @max={{castTo this.upperValue to=\"number\"}} {{!--@glint-expect-error--}} @value={{this.lowerValue}} @disabled={{@disabled}} @showTicks={{this.showTicks}} @showInput={{not this.showInput}} aria-describedby={{@ariaDescribedby}} aria-label={{@ariaLabel}} {{simpleStyle this.calculateLowerValueThumbPositionStyle}} {{on \"focus\" this.onThumbFocus}} {{on \"blur\" this.onThumbBlur}} {{!--@glint-expect-error--}} {{on \"click\" this.handleLowerKeyDown}} />\n <EuiRangeThumb {{!--@glint-expect-error--}} @min={{castTo this.lowerValue to=\"number\"}} @max={{this.max}} {{!--@glint-expect-error--}} @value={{this.upperValue}} @disabled={{@disabled}} @showTicks={{this.showTicks}} @showInput={{not this.showInput}} aria-describedby={{@ariaDescribedby}} aria-label={{@ariaLabel}} {{simpleStyle this.calculateUpperValueThumbPositionStyle}} {{on \"focus\" this.onThumbFocus}} {{on \"blur\" this.onThumbBlur}} {{on \"keydown\" this.handleUpperKeyDown}} />\n {{/if}}\n </EuiRangeTrack>\n {{#if this.showLabels}}\n <EuiRangeLabel @disabled={{@disabled}}>\n {{#if hasMaxBlock}}\n {{yield this.max to=\"max\"}}\n {{else}}\n {{this.max}}\n {{/if}}\n </EuiRangeLabel>\n {{/if}}\n {{#if this.showInput}}\n <div class=\"euiRange__horizontalSpacer\"></div>\n {{!-- maxinput --}}\n <EuiRangeInput @digitTolerance={{this.digitTolerance}} @side=\"max\" {{!--@glint-expect-error--}} @min={{castTo this.lowerValue to=\"number\"}} @max={{this.max}} @step={{this.step}} @value={{this.upperValue}} @disabled={{@disabled}} @compressed={{this.compressed}} @name=\"{{@name}}-maxValue\" @readOnly={{@readOnly}} @fullWidth={{this.fullWidth}} @isInvalid={{@isInvalid}} @controlOnly={{this.showInputOnly}} @isPrependProvided={{false}} @isAppendProvided={{false}} @disable={{@disable}} ...attributes {{onKey \"_all\" this.handleInputKeyDown}} {{on \"focus\" (optional @onFocus)}} {{on \"blur\" (optional @onBlur)}} {{on \"input\" this.handleUpperInputChange}} />\n {{/if}}\n </EuiRangeWrapper>\n {{/if}}\n {{/let}}\n ", {
|
|
405
|
+
scope: () => ({
|
|
406
|
+
and,
|
|
407
|
+
argOrDefault,
|
|
408
|
+
not,
|
|
409
|
+
EuiInputPopover: EuiInputPopoverComponent,
|
|
410
|
+
EuiFormControlLayoutDelimited,
|
|
411
|
+
or,
|
|
412
|
+
EuiRangeInput,
|
|
413
|
+
castTo,
|
|
414
|
+
on,
|
|
415
|
+
fn,
|
|
416
|
+
onKey,
|
|
417
|
+
optional,
|
|
418
|
+
EuiRangeWrapper,
|
|
419
|
+
EuiRangeLabel,
|
|
420
|
+
EuiRangeTrack: EuiRangeTrackComponent,
|
|
421
|
+
eq,
|
|
422
|
+
EuiRangeHighlight,
|
|
423
|
+
EuiRangeSlider,
|
|
424
|
+
didInsert,
|
|
425
|
+
EuiRangeThumb,
|
|
426
|
+
simpleStyle
|
|
427
|
+
}),
|
|
428
|
+
strictMode: true
|
|
429
|
+
}), this);
|
|
430
|
+
}
|
|
431
|
+
}
|
|
809
432
|
|
|
810
433
|
export { EuiDualRangeComponent as default };
|
|
811
434
|
//# sourceMappingURL=eui-dual-range.js.map
|