@ember-eui/core 14.1.4 → 15.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/README.md +3 -3
- package/declarations/-private/basic-table.d.ts +366 -0
- package/declarations/-private/basic-table.d.ts.map +1 -0
- package/declarations/-private/eui-apply-props.d.ts +37 -0
- package/declarations/-private/eui-apply-props.d.ts.map +1 -0
- package/declarations/-private/eui-button-context.d.ts +65 -0
- package/declarations/-private/eui-button-context.d.ts.map +1 -0
- package/declarations/-private/eui-button-group-item.d.ts +17 -0
- package/declarations/-private/eui-button-group-item.d.ts.map +1 -0
- package/declarations/-private/eui-comment-item.d.ts +72 -0
- package/declarations/-private/eui-comment-item.d.ts.map +1 -0
- package/declarations/-private/eui-context-menu-entry.d.ts +18 -0
- package/declarations/-private/eui-context-menu-entry.d.ts.map +1 -0
- package/declarations/-private/eui-disabled-element.d.ts +24 -0
- package/declarations/-private/eui-disabled-element.d.ts.map +1 -0
- package/declarations/-private/eui-filter-group-context.d.ts +18 -0
- package/declarations/-private/eui-filter-group-context.d.ts.map +1 -0
- package/declarations/-private/eui-flyout-context.d.ts +32 -0
- package/declarations/-private/eui-flyout-context.d.ts.map +1 -0
- package/declarations/-private/eui-form-context.d.ts +18 -0
- package/declarations/-private/eui-form-context.d.ts.map +1 -0
- package/declarations/-private/eui-form-control-layout-context.d.ts +22 -0
- package/declarations/-private/eui-form-control-layout-context.d.ts.map +1 -0
- package/declarations/-private/eui-list-context.d.ts +42 -0
- package/declarations/-private/eui-list-context.d.ts.map +1 -0
- package/declarations/-private/eui-maybe-popover.d.ts +26 -0
- package/declarations/-private/eui-maybe-popover.d.ts.map +1 -0
- package/declarations/-private/eui-maybe-tool-tip.d.ts +29 -0
- package/declarations/-private/eui-maybe-tool-tip.d.ts.map +1 -0
- package/declarations/-private/eui-node.d.ts +19 -0
- package/declarations/-private/eui-node.d.ts.map +1 -0
- package/declarations/-private/eui-popover-panel-context.d.ts +19 -0
- package/declarations/-private/eui-popover-panel-context.d.ts.map +1 -0
- package/declarations/-private/eui-render-node.d.ts +19 -0
- package/declarations/-private/eui-render-node.d.ts.map +1 -0
- package/declarations/-private/eui-split-button-context.d.ts +23 -0
- package/declarations/-private/eui-split-button-context.d.ts.map +1 -0
- package/declarations/-private/eui-split-panel-context.d.ts +22 -0
- package/declarations/-private/eui-split-panel-context.d.ts.map +1 -0
- package/declarations/-private/eui-spread-attributes.d.ts +17 -0
- package/declarations/-private/eui-spread-attributes.d.ts.map +1 -0
- package/declarations/-private/eui-steps-context.d.ts +18 -0
- package/declarations/-private/eui-steps-context.d.ts.map +1 -0
- package/declarations/-private/eui-steps-horizontal-context.d.ts +15 -0
- package/declarations/-private/eui-steps-horizontal-context.d.ts.map +1 -0
- package/declarations/-private/eui-tabs-context.d.ts +16 -0
- package/declarations/-private/eui-tabs-context.d.ts.map +1 -0
- package/declarations/-private/eui-tour-parts.d.ts +28 -0
- package/declarations/-private/eui-tour-parts.d.ts.map +1 -0
- package/declarations/-private/focus-trap-effects.d.ts +14 -0
- package/declarations/-private/focus-trap-effects.d.ts.map +1 -0
- package/declarations/-private/focus-trap-registry.d.ts +20 -0
- package/declarations/-private/focus-trap-registry.d.ts.map +1 -0
- package/declarations/-private/live-text.d.ts +18 -0
- package/declarations/-private/live-text.d.ts.map +1 -0
- package/declarations/-private/next-frame.d.ts +7 -0
- package/declarations/-private/next-frame.d.ts.map +1 -0
- package/declarations/-private/removed-upstream.d.ts +12 -0
- package/declarations/-private/removed-upstream.d.ts.map +1 -0
- package/declarations/-private/search-bar.d.ts +85 -0
- package/declarations/-private/search-bar.d.ts.map +1 -0
- package/declarations/-private/table-node.d.ts +25 -0
- package/declarations/-private/table-node.d.ts.map +1 -0
- package/declarations/-private/table-pagination-defaults.d.ts +19 -0
- package/declarations/-private/table-pagination-defaults.d.ts.map +1 -0
- package/declarations/-private/tabular-copy-marker.d.ts +17 -0
- package/declarations/-private/tabular-copy-marker.d.ts.map +1 -0
- package/declarations/-private/unused-after-borealis.d.ts +12 -0
- package/declarations/-private/unused-after-borealis.d.ts.map +1 -0
- package/declarations/-private/value-modifier.d.ts +17 -0
- package/declarations/-private/value-modifier.d.ts.map +1 -0
- package/declarations/-private/window-resize.d.ts +10 -0
- package/declarations/-private/window-resize.d.ts.map +1 -0
- package/declarations/components/eui-accordion.d.ts.map +1 -1
- package/declarations/components/eui-auto-refresh-button.d.ts +73 -0
- package/declarations/components/eui-auto-refresh-button.d.ts.map +1 -0
- package/declarations/components/eui-auto-refresh.d.ts +73 -0
- package/declarations/components/eui-auto-refresh.d.ts.map +1 -0
- package/declarations/components/eui-banner.d.ts +132 -0
- package/declarations/components/eui-banner.d.ts.map +1 -0
- package/declarations/components/eui-basic-table/collapsed-item-actions.d.ts +40 -0
- package/declarations/components/eui-basic-table/collapsed-item-actions.d.ts.map +1 -0
- package/declarations/components/eui-basic-table/default-item-action.d.ts +28 -0
- package/declarations/components/eui-basic-table/default-item-action.d.ts.map +1 -0
- package/declarations/components/eui-basic-table/expanded-item-actions.d.ts +25 -0
- package/declarations/components/eui-basic-table/expanded-item-actions.d.ts.map +1 -0
- package/declarations/components/eui-basic-table/pagination-bar.d.ts +47 -0
- package/declarations/components/eui-basic-table/pagination-bar.d.ts.map +1 -0
- package/declarations/components/eui-basic-table-panel.d.ts +43 -0
- package/declarations/components/eui-basic-table-panel.d.ts.map +1 -0
- package/declarations/components/eui-basic-table.d.ts +264 -0
- package/declarations/components/eui-basic-table.d.ts.map +1 -0
- package/declarations/components/eui-button.d.ts.map +1 -1
- package/declarations/components/eui-card.d.ts.map +1 -1
- package/declarations/components/eui-code-block/annotation.d.ts +41 -0
- package/declarations/components/eui-code-block/annotation.d.ts.map +1 -0
- package/declarations/components/eui-collapsible-nav-group.d.ts.map +1 -1
- package/declarations/components/eui-combo-box/node.d.ts +21 -0
- package/declarations/components/eui-combo-box/node.d.ts.map +1 -0
- package/declarations/components/eui-combo-box/option-text.d.ts +37 -0
- package/declarations/components/eui-combo-box/option-text.d.ts.map +1 -0
- package/declarations/components/eui-container-query.d.ts +44 -0
- package/declarations/components/eui-container-query.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/body-base.d.ts +66 -0
- package/declarations/components/eui-data-grid/body-base.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/body.d.ts +215 -0
- package/declarations/components/eui-data-grid/body.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/cell-actions.d.ts +78 -0
- package/declarations/components/eui-data-grid/cell-actions.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/cell.d.ts +220 -0
- package/declarations/components/eui-data-grid/cell.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/column-actions.d.ts +61 -0
- package/declarations/components/eui-data-grid/column-actions.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/column-resizer.d.ts +22 -0
- package/declarations/components/eui-data-grid/column-resizer.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/column-selector.d.ts +47 -0
- package/declarations/components/eui-data-grid/column-selector.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/column-sorting.d.ts +61 -0
- package/declarations/components/eui-data-grid/column-sorting.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/copy-marker.d.ts +16 -0
- package/declarations/components/eui-data-grid/copy-marker.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/custom-body.d.ts +113 -0
- package/declarations/components/eui-data-grid/custom-body.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/default-cell-popover.d.ts +23 -0
- package/declarations/components/eui-data-grid/default-cell-popover.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/display-selector.d.ts +56 -0
- package/declarations/components/eui-data-grid/display-selector.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/footer-row.d.ts +21 -0
- package/declarations/components/eui-data-grid/footer-row.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/fullscreen-selector.d.ts +14 -0
- package/declarations/components/eui-data-grid/fullscreen-selector.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/header-cell.d.ts +159 -0
- package/declarations/components/eui-data-grid/header-cell.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/header-row.d.ts +91 -0
- package/declarations/components/eui-data-grid/header-row.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/in-memory-renderer.d.ts +46 -0
- package/declarations/components/eui-data-grid/in-memory-renderer.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/keyboard-shortcuts.d.ts +24 -0
- package/declarations/components/eui-data-grid/keyboard-shortcuts.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/pagination.d.ts +31 -0
- package/declarations/components/eui-data-grid/pagination.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/row-model.d.ts +81 -0
- package/declarations/components/eui-data-grid/row-model.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/row-tree-hooks.d.ts +65 -0
- package/declarations/components/eui-data-grid/row-tree-hooks.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/row.d.ts +26 -0
- package/declarations/components/eui-data-grid/row.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/toolbar.d.ts +43 -0
- package/declarations/components/eui-data-grid/toolbar.d.ts.map +1 -0
- package/declarations/components/eui-data-grid/tree-cell.d.ts +36 -0
- package/declarations/components/eui-data-grid/tree-cell.d.ts.map +1 -0
- package/declarations/components/eui-data-grid-toolbar-control.d.ts +61 -0
- package/declarations/components/eui-data-grid-toolbar-control.d.ts.map +1 -0
- package/declarations/components/eui-data-grid.d.ts +405 -0
- package/declarations/components/eui-data-grid.d.ts.map +1 -0
- package/declarations/components/eui-emotion-button.d.ts +31 -0
- package/declarations/components/eui-emotion-button.d.ts.map +1 -0
- package/declarations/components/eui-emotion-provider.d.ts +100 -0
- package/declarations/components/eui-emotion-provider.d.ts.map +1 -0
- package/declarations/components/eui-error-message.d.ts +36 -0
- package/declarations/components/eui-error-message.d.ts.map +1 -0
- package/declarations/components/eui-expression.d.ts.map +1 -1
- package/declarations/components/eui-flex-grid.d.ts.map +1 -1
- package/declarations/components/eui-flex-item.d.ts.map +1 -1
- package/declarations/components/eui-flyout-menu.d.ts +194 -0
- package/declarations/components/eui-flyout-menu.d.ts.map +1 -0
- package/declarations/components/eui-flyout-resizable.d.ts +21 -0
- package/declarations/components/eui-flyout-resizable.d.ts.map +1 -0
- package/declarations/components/eui-flyout-resize-button.d.ts +25 -0
- package/declarations/components/eui-flyout-resize-button.d.ts.map +1 -0
- package/declarations/components/eui-flyout.d.ts.map +1 -1
- package/declarations/components/eui-focus-trap.d.ts +96 -0
- package/declarations/components/eui-focus-trap.d.ts.map +1 -0
- package/declarations/components/eui-form-append.d.ts +18 -0
- package/declarations/components/eui-form-append.d.ts.map +1 -0
- package/declarations/components/eui-form-control-button.d.ts +108 -0
- package/declarations/components/eui-form-control-button.d.ts.map +1 -0
- package/declarations/components/eui-form-control-layout/eui-form-append-prepend.d.ts +75 -0
- package/declarations/components/eui-form-control-layout/eui-form-append-prepend.d.ts.map +1 -0
- package/declarations/components/eui-form-prepend.d.ts +18 -0
- package/declarations/components/eui-form-prepend.d.ts.map +1 -0
- package/declarations/components/eui-header-logo/elastic-logo-full.d.ts +11 -0
- package/declarations/components/eui-header-logo/elastic-logo-full.d.ts.map +1 -0
- package/declarations/components/eui-illustration.d.ts +53 -0
- package/declarations/components/eui-illustration.d.ts.map +1 -0
- package/declarations/components/eui-in-memory-table.d.ts +171 -0
- package/declarations/components/eui-in-memory-table.d.ts.map +1 -0
- package/declarations/components/eui-inline-edit/eui-inline-edit-form.d.ts +205 -0
- package/declarations/components/eui-inline-edit/eui-inline-edit-form.d.ts.map +1 -0
- package/declarations/components/eui-inline-edit-text.d.ts +23 -0
- package/declarations/components/eui-inline-edit-text.d.ts.map +1 -0
- package/declarations/components/eui-inline-edit-title.d.ts +38 -0
- package/declarations/components/eui-inline-edit-title.d.ts.map +1 -0
- package/declarations/components/eui-key-pad-menu-item.d.ts.map +1 -1
- package/declarations/components/eui-live-announcer.d.ts +60 -0
- package/declarations/components/eui-live-announcer.d.ts.map +1 -0
- package/declarations/components/eui-markdown-format/markdown-horizontal-rule.d.ts +16 -0
- package/declarations/components/eui-markdown-format/markdown-horizontal-rule.d.ts.map +1 -0
- package/declarations/components/eui-markdown-format/markdown-link.d.ts +28 -0
- package/declarations/components/eui-markdown-format/markdown-link.d.ts.map +1 -0
- package/declarations/components/eui-notification-event.d.ts.map +1 -1
- package/declarations/components/eui-page-body.d.ts.map +1 -1
- package/declarations/components/eui-page-section.d.ts +76 -0
- package/declarations/components/eui-page-section.d.ts.map +1 -0
- package/declarations/components/eui-page-sidebar.d.ts +60 -0
- package/declarations/components/eui-page-sidebar.d.ts.map +1 -0
- package/declarations/components/eui-page-template/bottom-bar.d.ts +54 -0
- package/declarations/components/eui-page-template/bottom-bar.d.ts.map +1 -0
- package/declarations/components/eui-page-template/empty-prompt.d.ts +91 -0
- package/declarations/components/eui-page-template/empty-prompt.d.ts.map +1 -0
- package/declarations/components/eui-page-template/sidebar.d.ts +32 -0
- package/declarations/components/eui-page-template/sidebar.d.ts.map +1 -0
- package/declarations/components/eui-pagination/arrow-button.d.ts +26 -0
- package/declarations/components/eui-pagination/arrow-button.d.ts.map +1 -0
- package/declarations/components/eui-pretty-duration.d.ts +29 -0
- package/declarations/components/eui-pretty-duration.d.ts.map +1 -0
- package/declarations/components/eui-screen-reader-live.d.ts +75 -0
- package/declarations/components/eui-screen-reader-live.d.ts.map +1 -0
- package/declarations/components/eui-search-bar/eui-search-box.d.ts +106 -0
- package/declarations/components/eui-search-bar/eui-search-box.d.ts.map +1 -0
- package/declarations/components/eui-search-bar/field-value-selection-filter.d.ts +70 -0
- package/declarations/components/eui-search-bar/field-value-selection-filter.d.ts.map +1 -0
- package/declarations/components/eui-search-bar/field-value-toggle-filter.d.ts +23 -0
- package/declarations/components/eui-search-bar/field-value-toggle-filter.d.ts.map +1 -0
- package/declarations/components/eui-search-bar/field-value-toggle-group-filter.d.ts +26 -0
- package/declarations/components/eui-search-bar/field-value-toggle-group-filter.d.ts.map +1 -0
- package/declarations/components/eui-search-bar/is-filter.d.ts +23 -0
- package/declarations/components/eui-search-bar/is-filter.d.ts.map +1 -0
- package/declarations/components/eui-search-bar-filters.d.ts +28 -0
- package/declarations/components/eui-search-bar-filters.d.ts.map +1 -0
- package/declarations/components/eui-search-bar.d.ts +134 -0
- package/declarations/components/eui-search-bar.d.ts.map +1 -0
- package/declarations/components/eui-selectable-list/option-text.d.ts +31 -0
- package/declarations/components/eui-selectable-list/option-text.d.ts.map +1 -0
- package/declarations/components/eui-side-nav.d.ts.map +1 -1
- package/declarations/components/eui-skeleton-circle.d.ts +60 -0
- package/declarations/components/eui-skeleton-circle.d.ts.map +1 -0
- package/declarations/components/eui-skeleton-loading/screen-reader-live.d.ts +60 -0
- package/declarations/components/eui-skeleton-loading/screen-reader-live.d.ts.map +1 -0
- package/declarations/components/eui-skeleton-loading.d.ts +86 -0
- package/declarations/components/eui-skeleton-loading.d.ts.map +1 -0
- package/declarations/components/eui-skeleton-rectangle.d.ts +70 -0
- package/declarations/components/eui-skeleton-rectangle.d.ts.map +1 -0
- package/declarations/components/eui-skeleton-text.d.ts +64 -0
- package/declarations/components/eui-skeleton-text.d.ts.map +1 -0
- package/declarations/components/eui-skeleton-title.d.ts +60 -0
- package/declarations/components/eui-skeleton-title.d.ts.map +1 -0
- package/declarations/components/eui-split-button/eui-split-button-action-primary.d.ts +58 -0
- package/declarations/components/eui-split-button/eui-split-button-action-primary.d.ts.map +1 -0
- package/declarations/components/eui-split-button/eui-split-button-action-secondary.d.ts +63 -0
- package/declarations/components/eui-split-button/eui-split-button-action-secondary.d.ts.map +1 -0
- package/declarations/components/eui-split-button.d.ts +76 -0
- package/declarations/components/eui-split-button.d.ts.map +1 -0
- package/declarations/components/eui-stat/description.d.ts.map +1 -1
- package/declarations/components/eui-stat/title.d.ts.map +1 -1
- package/declarations/components/eui-suggest-item.d.ts.map +1 -1
- package/declarations/components/eui-super-date-picker/date-popover/eui-time-zone-display.d.ts +59 -0
- package/declarations/components/eui-super-date-picker/date-popover/eui-time-zone-display.d.ts.map +1 -0
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select-panel.d.ts +46 -0
- package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select-panel.d.ts.map +1 -0
- package/declarations/components/eui-super-date-picker/eui-time-window-buttons.d.ts +63 -0
- package/declarations/components/eui-super-date-picker/eui-time-window-buttons.d.ts.map +1 -0
- package/declarations/components/eui-super-date-picker/utils/pretty-interval.d.ts +14 -0
- package/declarations/components/eui-super-date-picker/utils/pretty-interval.d.ts.map +1 -0
- package/declarations/components/eui-super-date-picker/utils/time-window.d.ts +34 -0
- package/declarations/components/eui-super-date-picker/utils/time-window.d.ts.map +1 -0
- package/declarations/components/eui-super-date-picker.d.ts +1 -1
- package/declarations/components/eui-super-date-picker.d.ts.map +1 -1
- package/declarations/components/eui-table/sticky-header.d.ts +56 -0
- package/declarations/components/eui-table/sticky-header.d.ts.map +1 -0
- package/declarations/components/eui-table/sticky-scrollbar.d.ts +47 -0
- package/declarations/components/eui-table/sticky-scrollbar.d.ts.map +1 -0
- package/declarations/components/eui-table-header-cell.d.ts.map +1 -1
- package/declarations/components/eui-text-block-truncate.d.ts +42 -0
- package/declarations/components/eui-text-block-truncate.d.ts.map +1 -0
- package/declarations/components/eui-text-truncate.d.ts +116 -0
- package/declarations/components/eui-text-truncate.d.ts.map +1 -0
- package/declarations/components/eui-timeline-item-event.d.ts +21 -0
- package/declarations/components/eui-timeline-item-event.d.ts.map +1 -0
- package/declarations/components/eui-timeline-item-icon.d.ts +41 -0
- package/declarations/components/eui-timeline-item-icon.d.ts.map +1 -0
- package/declarations/components/eui-timeline-item.d.ts +46 -0
- package/declarations/components/eui-timeline-item.d.ts.map +1 -0
- package/declarations/components/eui-timeline.d.ts +24 -0
- package/declarations/components/eui-timeline.d.ts.map +1 -0
- package/declarations/components/eui-window-event.d.ts +16 -0
- package/declarations/components/eui-window-event.d.ts.map +1 -0
- package/declarations/modifiers/container-query.d.ts +26 -0
- package/declarations/modifiers/container-query.d.ts.map +1 -0
- package/declarations/services/eui-emotion.d.ts +21 -0
- package/declarations/services/eui-emotion.d.ts.map +1 -0
- package/declarations/services/eui-flyout-manager.d.ts +103 -0
- package/declarations/services/eui-flyout-manager.d.ts.map +1 -0
- package/declarations/theming.d.ts +84 -0
- package/declarations/theming.d.ts.map +1 -0
- package/declarations/utils/color/eui_palettes_deprecated.d.ts +20 -0
- package/declarations/utils/color/eui_palettes_deprecated.d.ts.map +1 -0
- package/declarations/utils/container-query/match-container.d.ts +85 -0
- package/declarations/utils/container-query/match-container.d.ts.map +1 -0
- package/declarations/utils/data-grid/focus.d.ts +33 -0
- package/declarations/utils/data-grid/focus.d.ts.map +1 -0
- package/declarations/utils/data-grid/row-heights.d.ts +26 -0
- package/declarations/utils/data-grid/row-heights.d.ts.map +1 -0
- package/declarations/utils/data-grid/row-tree.d.ts +102 -0
- package/declarations/utils/data-grid/row-tree.d.ts.map +1 -0
- package/declarations/utils/data-grid/scheduling.d.ts +12 -0
- package/declarations/utils/data-grid/scheduling.d.ts.map +1 -0
- package/declarations/utils/data-grid/schema.d.ts +21 -0
- package/declarations/utils/data-grid/schema.d.ts.map +1 -0
- package/declarations/utils/data-grid/sorting.d.ts +13 -0
- package/declarations/utils/data-grid/sorting.d.ts.map +1 -0
- package/declarations/utils/data-grid/tabular-copy.d.ts +25 -0
- package/declarations/utils/data-grid/tabular-copy.d.ts.map +1 -0
- package/declarations/utils/data-grid/toolbar.d.ts +14 -0
- package/declarations/utils/data-grid/toolbar.d.ts.map +1 -0
- package/declarations/utils/data-grid/types.d.ts +495 -0
- package/declarations/utils/data-grid/types.d.ts.map +1 -0
- package/declarations/utils/emotion/consume.d.ts +10 -0
- package/declarations/utils/emotion/consume.d.ts.map +1 -0
- package/declarations/utils/emotion/context.d.ts +56 -0
- package/declarations/utils/emotion/context.d.ts.map +1 -0
- package/declarations/utils/emotion/system.d.ts +27 -0
- package/declarations/utils/emotion/system.d.ts.map +1 -0
- package/declarations/utils/emotion/theme.d.ts +27 -0
- package/declarations/utils/emotion/theme.d.ts.map +1 -0
- package/declarations/utils/eui/buttons-misc.d.ts +21 -0
- package/declarations/utils/eui/buttons-misc.d.ts.map +1 -0
- package/declarations/utils/eui/code-block.d.ts +16 -0
- package/declarations/utils/eui/code-block.d.ts.map +1 -0
- package/declarations/utils/eui/color-picker.d.ts +43 -0
- package/declarations/utils/eui/color-picker.d.ts.map +1 -0
- package/declarations/utils/eui/combo-box.d.ts +130 -0
- package/declarations/utils/eui/combo-box.d.ts.map +1 -0
- package/declarations/utils/eui/content-blocks.d.ts +14 -0
- package/declarations/utils/eui/content-blocks.d.ts.map +1 -0
- package/declarations/utils/eui/control-bar.d.ts +36 -0
- package/declarations/utils/eui/control-bar.d.ts.map +1 -0
- package/declarations/utils/eui/css-variables.d.ts +34 -0
- package/declarations/utils/eui/css-variables.d.ts.map +1 -0
- package/declarations/utils/eui/data-grid.d.ts +20 -0
- package/declarations/utils/eui/data-grid.d.ts.map +1 -0
- package/declarations/utils/eui/date-pickers.d.ts +73 -0
- package/declarations/utils/eui/date-pickers.d.ts.map +1 -0
- package/declarations/utils/eui/flyout-manager/actions.d.ts +168 -0
- package/declarations/utils/eui/flyout-manager/actions.d.ts.map +1 -0
- package/declarations/utils/eui/flyout-manager/activity-stage.d.ts +27 -0
- package/declarations/utils/eui/flyout-manager/activity-stage.d.ts.map +1 -0
- package/declarations/utils/eui/flyout-manager/const.d.ts +49 -0
- package/declarations/utils/eui/flyout-manager/const.d.ts.map +1 -0
- package/declarations/utils/eui/flyout-manager/history.d.ts +9 -0
- package/declarations/utils/eui/flyout-manager/history.d.ts.map +1 -0
- package/declarations/utils/eui/flyout-manager/layout-mode.d.ts +15 -0
- package/declarations/utils/eui/flyout-manager/layout-mode.d.ts.map +1 -0
- package/declarations/utils/eui/flyout-manager/reducer.d.ts +11 -0
- package/declarations/utils/eui/flyout-manager/reducer.d.ts.map +1 -0
- package/declarations/utils/eui/flyout-manager/selectors.d.ts +34 -0
- package/declarations/utils/eui/flyout-manager/selectors.d.ts.map +1 -0
- package/declarations/utils/eui/flyout-manager/types.d.ts +84 -0
- package/declarations/utils/eui/flyout-manager/types.d.ts.map +1 -0
- package/declarations/utils/eui/flyout-manager/validation.d.ts +30 -0
- package/declarations/utils/eui/flyout-manager/validation.d.ts.map +1 -0
- package/declarations/utils/eui/flyout-menu.d.ts +12 -0
- package/declarations/utils/eui/flyout-menu.d.ts.map +1 -0
- package/declarations/utils/eui/form-controls.d.ts +36 -0
- package/declarations/utils/eui/form-controls.d.ts.map +1 -0
- package/declarations/utils/eui/format.d.ts +43 -0
- package/declarations/utils/eui/format.d.ts.map +1 -0
- package/declarations/utils/eui/global-styles.d.ts +11 -0
- package/declarations/utils/eui/global-styles.d.ts.map +1 -0
- package/declarations/utils/eui/lists.d.ts +20 -0
- package/declarations/utils/eui/lists.d.ts.map +1 -0
- package/declarations/utils/eui/markdown.d.ts +16 -0
- package/declarations/utils/eui/markdown.d.ts.map +1 -0
- package/declarations/utils/eui/modal-flyout.d.ts +63 -0
- package/declarations/utils/eui/modal-flyout.d.ts.map +1 -0
- package/declarations/utils/eui/notification-event.d.ts +23 -0
- package/declarations/utils/eui/notification-event.d.ts.map +1 -0
- package/declarations/utils/eui/page-layout.d.ts +39 -0
- package/declarations/utils/eui/page-layout.d.ts.map +1 -0
- package/declarations/utils/eui/range.d.ts +37 -0
- package/declarations/utils/eui/range.d.ts.map +1 -0
- package/declarations/utils/eui/search-bar/ast-to-es-query-dsl.d.ts +38 -0
- package/declarations/utils/eui/search-bar/ast-to-es-query-dsl.d.ts.map +1 -0
- package/declarations/utils/eui/search-bar/ast-to-es-query-string.d.ts +3 -0
- package/declarations/utils/eui/search-bar/ast-to-es-query-string.d.ts.map +1 -0
- package/declarations/utils/eui/search-bar/ast.d.ts +287 -0
- package/declarations/utils/eui/search-bar/ast.d.ts.map +1 -0
- package/declarations/utils/eui/search-bar/date-format.d.ts +28 -0
- package/declarations/utils/eui/search-bar/date-format.d.ts.map +1 -0
- package/declarations/utils/eui/search-bar/date-value.d.ts +19 -0
- package/declarations/utils/eui/search-bar/date-value.d.ts.map +1 -0
- package/declarations/utils/eui/search-bar/default-syntax-parser.d.ts +9 -0
- package/declarations/utils/eui/search-bar/default-syntax-parser.d.ts.map +1 -0
- package/declarations/utils/eui/search-bar/default-syntax.d.ts +17 -0
- package/declarations/utils/eui/search-bar/default-syntax.d.ts.map +1 -0
- package/declarations/utils/eui/search-bar/execute-ast.d.ts +20 -0
- package/declarations/utils/eui/search-bar/execute-ast.d.ts.map +1 -0
- package/declarations/utils/eui/search-bar/index.d.ts +10 -0
- package/declarations/utils/eui/search-bar/index.d.ts.map +1 -0
- package/declarations/utils/eui/search-bar/operators.d.ts +16 -0
- package/declarations/utils/eui/search-bar/operators.d.ts.map +1 -0
- package/declarations/utils/eui/search-bar/predicate.d.ts +8 -0
- package/declarations/utils/eui/search-bar/predicate.d.ts.map +1 -0
- package/declarations/utils/eui/search-bar/query.d.ts +89 -0
- package/declarations/utils/eui/search-bar/query.d.ts.map +1 -0
- package/declarations/utils/eui/selectable.d.ts +33 -0
- package/declarations/utils/eui/selectable.d.ts.map +1 -0
- package/declarations/utils/eui/sort.d.ts +23 -0
- package/declarations/utils/eui/sort.d.ts.map +1 -0
- package/declarations/utils/eui/split-button.d.ts +13 -0
- package/declarations/utils/eui/split-button.d.ts.map +1 -0
- package/declarations/utils/eui/styles.d.ts +37 -0
- package/declarations/utils/eui/styles.d.ts.map +1 -0
- package/declarations/utils/eui/styles.generated.d.ts +4467 -0
- package/declarations/utils/eui/styles.generated.d.ts.map +1 -0
- package/declarations/utils/eui/suggest.d.ts +24 -0
- package/declarations/utils/eui/suggest.d.ts.map +1 -0
- package/declarations/utils/eui/table.d.ts +12 -0
- package/declarations/utils/eui/table.d.ts.map +1 -0
- package/declarations/utils/eui/text-truncate.d.ts +5 -0
- package/declarations/utils/eui/text-truncate.d.ts.map +1 -0
- package/declarations/utils/eui/theme.d.ts +30 -0
- package/declarations/utils/eui/theme.d.ts.map +1 -0
- package/declarations/utils/eui/token.d.ts +7 -0
- package/declarations/utils/eui/token.d.ts.map +1 -0
- package/declarations/utils/eui/utilities.d.ts +18 -0
- package/declarations/utils/eui/utilities.d.ts.map +1 -0
- package/declarations/utils/html-id-generator.d.ts +11 -0
- package/declarations/utils/html-id-generator.d.ts.map +1 -0
- package/declarations/utils/markdown/plugins/markdown-link-validator.d.ts +53 -0
- package/declarations/utils/markdown/plugins/markdown-link-validator.d.ts.map +1 -0
- package/declarations/utils/markdown/remark/remark-intraword-underscore.d.ts +4 -0
- package/declarations/utils/markdown/remark/remark-intraword-underscore.d.ts.map +1 -0
- package/declarations/utils/pretty-duration.d.ts +12 -0
- package/declarations/utils/pretty-duration.d.ts.map +1 -0
- package/dist/components/eui-accordion.js +1 -3
- package/dist/components/eui-accordion.js.map +1 -1
- package/dist/components/eui-button.js +0 -2
- package/dist/components/eui-button.js.map +1 -1
- package/dist/components/eui-card.js +0 -2
- package/dist/components/eui-card.js.map +1 -1
- package/dist/components/eui-collapsible-nav-group.js +1 -3
- package/dist/components/eui-collapsible-nav-group.js.map +1 -1
- package/dist/components/eui-expression.js +0 -2
- package/dist/components/eui-expression.js.map +1 -1
- package/dist/components/eui-flex-grid.js +1 -3
- package/dist/components/eui-flex-grid.js.map +1 -1
- package/dist/components/eui-flex-item.js +1 -3
- package/dist/components/eui-flex-item.js.map +1 -1
- package/dist/components/eui-flyout.js +0 -2
- package/dist/components/eui-flyout.js.map +1 -1
- package/dist/components/eui-key-pad-menu-item.js +0 -2
- package/dist/components/eui-key-pad-menu-item.js.map +1 -1
- package/dist/components/eui-notification-event.js +0 -2
- package/dist/components/eui-notification-event.js.map +1 -1
- package/dist/components/eui-page-body.js +1 -3
- package/dist/components/eui-page-body.js.map +1 -1
- package/dist/components/eui-side-nav.js +0 -2
- package/dist/components/eui-side-nav.js.map +1 -1
- package/dist/components/eui-stat/description.js +0 -2
- package/dist/components/eui-stat/description.js.map +1 -1
- package/dist/components/eui-stat/title.js +0 -2
- package/dist/components/eui-stat/title.js.map +1 -1
- package/dist/components/eui-suggest-item.js +0 -2
- package/dist/components/eui-suggest-item.js.map +1 -1
- package/dist/components/eui-super-date-picker.js.map +1 -1
- package/dist/components/eui-table-header-cell.js +0 -2
- package/dist/components/eui-table-header-cell.js.map +1 -1
- package/dist/icons-CQELx6Ce.js.map +1 -1
- package/package.json +5 -6
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type { EuiCss } from '../utils/eui/styles.ts';
|
|
3
|
+
import type { EuiScreenReaderLiveProps, EuiSkeletonAriaWrapperProps } from './eui-skeleton-loading';
|
|
4
|
+
/** `'s'` and `'m'` use the theme's inline radius; `'none'` is square. */
|
|
5
|
+
export type EuiSkeletonRectangleRadius = 's' | 'm' | 'none';
|
|
6
|
+
/**
|
|
7
|
+
* A rectangular placeholder of any size, e.g. for an image or chart,
|
|
8
|
+
* swapped for its block once loaded.
|
|
9
|
+
*/
|
|
10
|
+
export interface EuiSkeletonRectangleSignature {
|
|
11
|
+
Element: HTMLDivElement;
|
|
12
|
+
Args: {
|
|
13
|
+
/**
|
|
14
|
+
* When true, shows the skeleton; when false, shows the block and
|
|
15
|
+
* announces to screen readers that the content loaded. Defaults to
|
|
16
|
+
* `true`.
|
|
17
|
+
*/
|
|
18
|
+
isLoading?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Label your loading sections to give screen readers more context: pass
|
|
21
|
+
* "API keys" to have them read "Loading API keys" and "Loaded API keys".
|
|
22
|
+
*/
|
|
23
|
+
contentAriaLabel?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Makes a live screen reader announcement when `@isLoading` is true.
|
|
26
|
+
* Defaults to `false`.
|
|
27
|
+
*/
|
|
28
|
+
announceLoadingStatus?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Makes a live screen reader announcement when `@isLoading` is false.
|
|
31
|
+
* Defaults to `true`.
|
|
32
|
+
*/
|
|
33
|
+
announceLoadedStatus?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Options for the live region that announces the status:
|
|
36
|
+
* `{ isActive, role, 'aria-live', focusRegionOnTextChange }`.
|
|
37
|
+
*/
|
|
38
|
+
ariaLiveProps?: EuiScreenReaderLiveProps;
|
|
39
|
+
/** Attributes for the `aria-busy` wrapper around the skeleton. */
|
|
40
|
+
ariaWrapperProps?: EuiSkeletonAriaWrapperProps;
|
|
41
|
+
/**
|
|
42
|
+
* Extra styles composed last into the skeleton's class (like upstream's
|
|
43
|
+
* `css` prop).
|
|
44
|
+
*/
|
|
45
|
+
css?: EuiCss;
|
|
46
|
+
/**
|
|
47
|
+
* Width: a number (px) or any CSS length. Defaults to `'24px'`.
|
|
48
|
+
*/
|
|
49
|
+
width?: string | number;
|
|
50
|
+
/**
|
|
51
|
+
* Height: a number (px) or any CSS length. Defaults to `'24px'`.
|
|
52
|
+
*/
|
|
53
|
+
height?: string | number;
|
|
54
|
+
/**
|
|
55
|
+
* `'s'` or `'m'` (the theme's inline radius) or `'none'`. Defaults to
|
|
56
|
+
* `'s'`.
|
|
57
|
+
*/
|
|
58
|
+
borderRadius?: EuiSkeletonRectangleRadius;
|
|
59
|
+
};
|
|
60
|
+
Blocks: {
|
|
61
|
+
/** The loaded content. */
|
|
62
|
+
default: [];
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
export default class EuiSkeletonRectangle extends Component<EuiSkeletonRectangleSignature> {
|
|
66
|
+
get width(): string;
|
|
67
|
+
get height(): string;
|
|
68
|
+
get classes(): string;
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=eui-skeleton-rectangle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-skeleton-rectangle.d.ts","sourceRoot":"","sources":["../../src/components/eui-skeleton-rectangle.gts"],"names":[],"mappings":"AAyIA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAO3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAIpC,yEAAyE;AACzE,MAAM,MAAM,0BAA0B,GAAG,GAAG,GAAG,GAAG,GAAG,MAAM,CAAC;AAkB5D;;;GAGG;AACH,MAAM,WAAW,6BAA6B;IAC5C,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QACJ;;;;WAIG;QACH,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB;;;WAGG;QACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B;;;WAGG;QACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;QAChC;;;WAGG;QACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;QAC/B;;;WAGG;QACH,aAAa,CAAC,EAAE,wBAAwB,CAAC;QACzC,kEAAkE;QAClE,gBAAgB,CAAC,EAAE,2BAA2B,CAAC;QAC/C;;;WAGG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;QACb;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACxB;;WAEG;QACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACzB;;;WAGG;QACH,YAAY,CAAC,EAAE,0BAA0B,CAAC;KAC3C,CAAC;IACF,MAAM,EAAE;QACN,0BAA0B;QAC1B,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,SAAS,CAAC,6BAA6B,CAAC;IACxF,IAAI,KAAK,WAER;IAED,IAAI,MAAM,WAET;IAED,IACI,OAAO,WASV;CAqCF"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type { EuiCss } from '../utils/eui/styles.ts';
|
|
3
|
+
import type { EuiScreenReaderLiveProps, EuiSkeletonAriaWrapperProps } from './eui-skeleton-loading';
|
|
4
|
+
/** Line heights of the text being replaced. */
|
|
5
|
+
export type EuiSkeletonTextSize = 'm' | 's' | 'xs' | 'relative';
|
|
6
|
+
/**
|
|
7
|
+
* Placeholder lines for text that is loading, swapped for its block once
|
|
8
|
+
* loaded.
|
|
9
|
+
*/
|
|
10
|
+
export interface EuiSkeletonTextSignature {
|
|
11
|
+
Element: HTMLSpanElement;
|
|
12
|
+
Args: {
|
|
13
|
+
/**
|
|
14
|
+
* When true, shows the skeleton; when false, shows the block and
|
|
15
|
+
* announces to screen readers that the content loaded. Defaults to
|
|
16
|
+
* `true`.
|
|
17
|
+
*/
|
|
18
|
+
isLoading?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Label your loading sections to give screen readers more context: pass
|
|
21
|
+
* "API keys" to have them read "Loading API keys" and "Loaded API keys".
|
|
22
|
+
*/
|
|
23
|
+
contentAriaLabel?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Makes a live screen reader announcement when `@isLoading` is true.
|
|
26
|
+
* Defaults to `false`.
|
|
27
|
+
*/
|
|
28
|
+
announceLoadingStatus?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Makes a live screen reader announcement when `@isLoading` is false.
|
|
31
|
+
* Defaults to `true`.
|
|
32
|
+
*/
|
|
33
|
+
announceLoadedStatus?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Options for the live region that announces the status:
|
|
36
|
+
* `{ isActive, role, 'aria-live', focusRegionOnTextChange }`.
|
|
37
|
+
*/
|
|
38
|
+
ariaLiveProps?: EuiScreenReaderLiveProps;
|
|
39
|
+
/** Attributes for the `aria-busy` wrapper around the skeleton. */
|
|
40
|
+
ariaWrapperProps?: EuiSkeletonAriaWrapperProps;
|
|
41
|
+
/**
|
|
42
|
+
* Extra styles composed last into the skeleton's class (like upstream's
|
|
43
|
+
* `css` prop).
|
|
44
|
+
*/
|
|
45
|
+
css?: EuiCss;
|
|
46
|
+
/** Number of lines to display (1 to 10). Defaults to `3`. */
|
|
47
|
+
lines?: number;
|
|
48
|
+
/**
|
|
49
|
+
* EuiText size the lines stand in for: `'m'`, `'s'`, `'xs'`, or
|
|
50
|
+
* `'relative'` (`1em`). Defaults to `'m'`.
|
|
51
|
+
*/
|
|
52
|
+
size?: EuiSkeletonTextSize;
|
|
53
|
+
};
|
|
54
|
+
Blocks: {
|
|
55
|
+
/** The loaded content. */
|
|
56
|
+
default: [];
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
export default class EuiSkeletonText extends Component<EuiSkeletonTextSignature> {
|
|
60
|
+
get lines(): unknown[];
|
|
61
|
+
get lineClass(): string;
|
|
62
|
+
get rootClass(): string;
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=eui-skeleton-text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-skeleton-text.d.ts","sourceRoot":"","sources":["../../src/components/eui-skeleton-text.gts"],"names":[],"mappings":"AA8GA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAO3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAGpC,+CAA+C;AAC/C,MAAM,MAAM,mBAAmB,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,UAAU,CAAC;AAEhE;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,eAAe,CAAC;IACzB,IAAI,EAAE;QACJ;;;;WAIG;QACH,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB;;;WAGG;QACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B;;;WAGG;QACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;QAChC;;;WAGG;QACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;QAC/B;;;WAGG;QACH,aAAa,CAAC,EAAE,wBAAwB,CAAC;QACzC,kEAAkE;QAClE,gBAAgB,CAAC,EAAE,2BAA2B,CAAC;QAC/C;;;WAGG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,6DAA6D;QAC7D,KAAK,CAAC,EAAE,MAAM,CAAC;QACf;;;WAGG;QACH,IAAI,CAAC,EAAE,mBAAmB,CAAC;KAC5B,CAAC;IACF,MAAM,EAAE;QACN,0BAA0B;QAC1B,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,SAAS,CAAC,wBAAwB,CAAC;IAC9E,IAAI,KAAK,cAER;IAED,IACI,SAAS,WAIZ;IAED,IACI,SAAS,WAGZ;CAmDF"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type { EuiCss } from '../utils/eui/styles.ts';
|
|
3
|
+
import type { EuiScreenReaderLiveProps, EuiSkeletonAriaWrapperProps } from './eui-skeleton-loading';
|
|
4
|
+
/** EuiTitle sizes. */
|
|
5
|
+
export type EuiSkeletonTitleSize = 'xxxs' | 'xxs' | 'xs' | 's' | 'm' | 'l';
|
|
6
|
+
/**
|
|
7
|
+
* A placeholder bar as tall as an EuiTitle's line, swapped for its block
|
|
8
|
+
* once loaded.
|
|
9
|
+
*/
|
|
10
|
+
export interface EuiSkeletonTitleSignature {
|
|
11
|
+
Element: HTMLSpanElement;
|
|
12
|
+
Args: {
|
|
13
|
+
/**
|
|
14
|
+
* When true, shows the skeleton; when false, shows the block and
|
|
15
|
+
* announces to screen readers that the content loaded. Defaults to
|
|
16
|
+
* `true`.
|
|
17
|
+
*/
|
|
18
|
+
isLoading?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Label your loading sections to give screen readers more context: pass
|
|
21
|
+
* "API keys" to have them read "Loading API keys" and "Loaded API keys".
|
|
22
|
+
*/
|
|
23
|
+
contentAriaLabel?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Makes a live screen reader announcement when `@isLoading` is true.
|
|
26
|
+
* Defaults to `false`.
|
|
27
|
+
*/
|
|
28
|
+
announceLoadingStatus?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Makes a live screen reader announcement when `@isLoading` is false.
|
|
31
|
+
* Defaults to `true`.
|
|
32
|
+
*/
|
|
33
|
+
announceLoadedStatus?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Options for the live region that announces the status:
|
|
36
|
+
* `{ isActive, role, 'aria-live', focusRegionOnTextChange }`.
|
|
37
|
+
*/
|
|
38
|
+
ariaLiveProps?: EuiScreenReaderLiveProps;
|
|
39
|
+
/** Attributes for the `aria-busy` wrapper around the skeleton. */
|
|
40
|
+
ariaWrapperProps?: EuiSkeletonAriaWrapperProps;
|
|
41
|
+
/**
|
|
42
|
+
* Extra styles composed last into the skeleton's class (like upstream's
|
|
43
|
+
* `css` prop).
|
|
44
|
+
*/
|
|
45
|
+
css?: EuiCss;
|
|
46
|
+
/**
|
|
47
|
+
* EuiTitle size it stands in for: `'xxxs'`, `'xxs'`, `'xs'`, `'s'`,
|
|
48
|
+
* `'m'` or `'l'`. Defaults to `'m'`.
|
|
49
|
+
*/
|
|
50
|
+
size?: EuiSkeletonTitleSize;
|
|
51
|
+
};
|
|
52
|
+
Blocks: {
|
|
53
|
+
/** The loaded content. */
|
|
54
|
+
default: [];
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
export default class EuiSkeletonTitle extends Component<EuiSkeletonTitleSignature> {
|
|
58
|
+
get classes(): string;
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=eui-skeleton-title.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-skeleton-title.d.ts","sourceRoot":"","sources":["../../src/components/eui-skeleton-title.gts"],"names":[],"mappings":"AAuGA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAO3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAGpC,sBAAsB;AACtB,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAE3E;;;GAGG;AACH,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,eAAe,CAAC;IACzB,IAAI,EAAE;QACJ;;;;WAIG;QACH,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB;;;WAGG;QACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B;;;WAGG;QACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;QAChC;;;WAGG;QACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;QAC/B;;;WAGG;QACH,aAAa,CAAC,EAAE,wBAAwB,CAAC;QACzC,kEAAkE;QAClE,gBAAgB,CAAC,EAAE,2BAA2B,CAAC;QAC/C;;;WAGG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;QACb;;;WAGG;QACH,IAAI,CAAC,EAAE,oBAAoB,CAAC;KAC7B,CAAC;IACF,MAAM,EAAE;QACN,0BAA0B;QAC1B,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,SAAS,CAAC,yBAAyB,CAAC;IAChF,IACI,OAAO,WASV;CAoCF"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type { EuiCss } from '../../utils/eui/styles.ts';
|
|
3
|
+
import type { EuiButtonSignature } from '../eui-button';
|
|
4
|
+
import type { EuiToolTipSignature } from '../eui-tool-tip';
|
|
5
|
+
/** `EuiToolTip` arguments for an action (upstream `tooltipProps`). */
|
|
6
|
+
export type EuiSplitButtonTooltipProps = Partial<Pick<EuiToolTipSignature['Args'], 'content' | 'title' | 'position' | 'delay' | 'display' | 'anchorClassName'>>;
|
|
7
|
+
export interface EuiSplitButtonActionPrimarySignature {
|
|
8
|
+
Element: EuiButtonSignature['Element'];
|
|
9
|
+
Args: {
|
|
10
|
+
/** Renders an `EuiButtonIcon` (pass an `aria-label`). */
|
|
11
|
+
isIconOnly?: boolean;
|
|
12
|
+
/** Icon; anything `EuiIcon`'s `@type` accepts. */
|
|
13
|
+
iconType?: EuiButtonSignature['Args']['iconType'];
|
|
14
|
+
/** `'right'` puts the icon after the text. */
|
|
15
|
+
iconSide?: EuiButtonSignature['Args']['iconSide'];
|
|
16
|
+
/** Size of the icon. */
|
|
17
|
+
iconSize?: EuiButtonSignature['Args']['iconSize'];
|
|
18
|
+
/** Disables this action (the split button's `@isDisabled` also does). */
|
|
19
|
+
isDisabled?: boolean;
|
|
20
|
+
/** Same as `@isDisabled`. */
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
/** Shows a spinner and disables this action. */
|
|
23
|
+
isLoading?: boolean;
|
|
24
|
+
/** For toggle buttons: sets `aria-pressed`. */
|
|
25
|
+
isSelected?: boolean;
|
|
26
|
+
/** Renders an `<a>` link. */
|
|
27
|
+
href?: string;
|
|
28
|
+
/** `target` of the `@href` link. */
|
|
29
|
+
target?: string;
|
|
30
|
+
/** `type` of the `<button>`. Defaults to `'button'`. */
|
|
31
|
+
type?: 'button' | 'submit' | 'reset';
|
|
32
|
+
/** Wraps the action in an `EuiToolTip` with these arguments. */
|
|
33
|
+
tooltipProps?: EuiSplitButtonTooltipProps;
|
|
34
|
+
/**
|
|
35
|
+
* Extra styles composed last into this component's class (like upstream's
|
|
36
|
+
* `css` prop).
|
|
37
|
+
*/
|
|
38
|
+
css?: EuiCss;
|
|
39
|
+
};
|
|
40
|
+
Blocks: {
|
|
41
|
+
/** The button's text. */
|
|
42
|
+
default: [];
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* The main action of an `EuiSplitButton` (upstream
|
|
47
|
+
* `EuiSplitButton.ActionPrimary`): an `EuiButton`, or an `EuiButtonIcon`
|
|
48
|
+
* with `@isIconOnly`. Size, color and fill come from the split button.
|
|
49
|
+
*/
|
|
50
|
+
export default class EuiSplitButtonActionPrimary extends Component<EuiSplitButtonActionPrimarySignature> {
|
|
51
|
+
get split(): import("../../-private/eui-split-button-context.ts").EuiSplitButtonContext;
|
|
52
|
+
get isLoading(): boolean;
|
|
53
|
+
get isDisabled(): boolean;
|
|
54
|
+
get buttonSize(): "s" | "m";
|
|
55
|
+
get display(): "fill" | "base";
|
|
56
|
+
get css(): EuiCss[];
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=eui-split-button-action-primary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-split-button-action-primary.d.ts","sourceRoot":"","sources":["../../../src/components/eui-split-button/eui-split-button-action-primary.gts"],"names":[],"mappings":"AA4LA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAU3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAE3D,sEAAsE;AACtE,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAC9C,IAAI,CACF,mBAAmB,CAAC,MAAM,CAAC,EAC3B,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,iBAAiB,CAC3E,CACF,CAAC;AAEF,MAAM,WAAW,oCAAoC;IACnD,OAAO,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC;IACvC,IAAI,EAAE;QACJ,yDAAyD;QACzD,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,kDAAkD;QAClD,QAAQ,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC,UAAU,CAAC,CAAC;QAClD,8CAA8C;QAC9C,QAAQ,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC,UAAU,CAAC,CAAC;QAClD,wBAAwB;QACxB,QAAQ,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC,UAAU,CAAC,CAAC;QAClD,yEAAyE;QACzE,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,6BAA6B;QAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,gDAAgD;QAChD,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,+CAA+C;QAC/C,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,6BAA6B;QAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,oCAAoC;QACpC,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,wDAAwD;QACxD,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;QACrC,gEAAgE;QAChE,YAAY,CAAC,EAAE,0BAA0B,CAAC;QAC1C;;;WAGG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;KACd,CAAC;IACF,MAAM,EAAE;QACN,yBAAyB;QACzB,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,2BAA4B,SAAQ,SAAS,CAAC,oCAAoC,CAAC;IACtG,IAAI,KAAK,+EAER;IACD,IAAI,SAAS,YAEZ;IACD,IAAI,UAAU,YAOb;IACD,IAAI,UAAU,cAIb;IACD,IAAI,OAAO,oBAEV;IAED,IACI,GAAG,aAMN;CAoHF"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type { EuiCss } from '../../utils/eui/styles.ts';
|
|
3
|
+
import type { EuiButtonIconSignature } from '../eui-button-icon';
|
|
4
|
+
import type { EuiPopoverArgs } from '../eui-popover';
|
|
5
|
+
import type { EuiSplitButtonTooltipProps } from './eui-split-button-action-primary';
|
|
6
|
+
/** `EuiPopover` arguments for the secondary action (upstream `popoverProps`). */
|
|
7
|
+
export type EuiSplitButtonPopoverProps = Pick<EuiPopoverArgs, 'closePopover'> & Partial<Pick<EuiPopoverArgs, 'isOpen' | 'anchorPosition' | 'panelPaddingSize' | 'ownFocus' | 'display' | 'hasArrow' | 'initialFocus' | 'ariaLabel' | 'ariaLabelledBy' | 'repositionOnScroll' | 'panelCss'>>;
|
|
8
|
+
export interface EuiSplitButtonActionSecondarySignature {
|
|
9
|
+
Element: HTMLButtonElement | HTMLAnchorElement;
|
|
10
|
+
Args: {
|
|
11
|
+
/**
|
|
12
|
+
* Icon; anything `EuiIcon`'s `@type` accepts. Always `chevronSingleDown`
|
|
13
|
+
* with `@popoverProps`. Pass an `aria-label` describing the action.
|
|
14
|
+
*/
|
|
15
|
+
iconType?: EuiButtonIconSignature['Args']['iconType'];
|
|
16
|
+
/** Size of the icon. */
|
|
17
|
+
iconSize?: EuiButtonIconSignature['Args']['iconSize'];
|
|
18
|
+
/** Disables this action (the split button's `@isDisabled` also does). */
|
|
19
|
+
isDisabled?: boolean;
|
|
20
|
+
/** Same as `@isDisabled`. */
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
/** Shows a spinner and disables this action. */
|
|
23
|
+
isLoading?: boolean;
|
|
24
|
+
/** For toggle buttons: sets `aria-pressed`. */
|
|
25
|
+
isSelected?: boolean;
|
|
26
|
+
/** Renders an `<a>` link. */
|
|
27
|
+
href?: string;
|
|
28
|
+
/** `target` of the `@href` link. */
|
|
29
|
+
target?: string;
|
|
30
|
+
/** `type` of the `<button>`. Defaults to `'button'`. */
|
|
31
|
+
type?: 'button' | 'submit' | 'reset';
|
|
32
|
+
/** Wraps the action in an `EuiToolTip` with these arguments. */
|
|
33
|
+
tooltipProps?: EuiSplitButtonTooltipProps;
|
|
34
|
+
/**
|
|
35
|
+
* Anchors an `EuiPopover` to the action with these arguments (default
|
|
36
|
+
* `anchorPosition`: `'downCenter'`); the block is its content.
|
|
37
|
+
*/
|
|
38
|
+
popoverProps?: EuiSplitButtonPopoverProps;
|
|
39
|
+
/**
|
|
40
|
+
* Extra styles composed last into this component's class (like upstream's
|
|
41
|
+
* `css` prop).
|
|
42
|
+
*/
|
|
43
|
+
css?: EuiCss;
|
|
44
|
+
};
|
|
45
|
+
Blocks: {
|
|
46
|
+
/** The popover content (with `@popoverProps`). */
|
|
47
|
+
default: [];
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* The secondary icon action of an `EuiSplitButton` (upstream
|
|
52
|
+
* `EuiSplitButton.ActionSecondary`), optionally opening a popover. The
|
|
53
|
+
* divider before it is rendered here.
|
|
54
|
+
*/
|
|
55
|
+
export default class EuiSplitButtonActionSecondary extends Component<EuiSplitButtonActionSecondarySignature> {
|
|
56
|
+
get split(): import("../../-private/eui-split-button-context.ts").EuiSplitButtonContext;
|
|
57
|
+
get isLoading(): boolean;
|
|
58
|
+
get isDisabled(): boolean;
|
|
59
|
+
get display(): "fill" | "base";
|
|
60
|
+
get iconType(): import('../eui-icon').IconType | undefined;
|
|
61
|
+
get css(): EuiCss[];
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=eui-split-button-action-secondary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-split-button-action-secondary.d.ts","sourceRoot":"","sources":["../../../src/components/eui-split-button/eui-split-button-action-secondary.gts"],"names":[],"mappings":"AA0OA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAU3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AAEpF,iFAAiF;AACjF,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC,cAAc,EAAE,cAAc,CAAC,GAC3E,OAAO,CACL,IAAI,CACF,cAAc,EACZ,QAAQ,GACR,gBAAgB,GAChB,kBAAkB,GAClB,UAAU,GACV,SAAS,GACT,UAAU,GACV,cAAc,GACd,WAAW,GACX,gBAAgB,GAChB,oBAAoB,GACpB,UAAU,CACb,CACF,CAAC;AAEJ,MAAM,WAAW,sCAAsC;IACrD,OAAO,EAAE,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,IAAI,EAAE;QACJ;;;WAGG;QACH,QAAQ,CAAC,EAAE,sBAAsB,CAAC,MAAM,CAAC,CAAC,UAAU,CAAC,CAAC;QACtD,wBAAwB;QACxB,QAAQ,CAAC,EAAE,sBAAsB,CAAC,MAAM,CAAC,CAAC,UAAU,CAAC,CAAC;QACtD,yEAAyE;QACzE,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,6BAA6B;QAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,gDAAgD;QAChD,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,+CAA+C;QAC/C,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,6BAA6B;QAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,oCAAoC;QACpC,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,wDAAwD;QACxD,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;QACrC,gEAAgE;QAChE,YAAY,CAAC,EAAE,0BAA0B,CAAC;QAC1C;;;WAGG;QACH,YAAY,CAAC,EAAE,0BAA0B,CAAC;QAC1C;;;WAGG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;KACd,CAAC;IACF,MAAM,EAAE;QACN,kDAAkD;QAClD,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,6BAA8B,SAAQ,SAAS,CAAC,sCAAsC,CAAC;IAC1G,IAAI,KAAK,+EAER;IACD,IAAI,SAAS,YAEZ;IACD,IAAI,UAAU,YAOb;IACD,IAAI,OAAO,oBAEV;IACD,IAAI,QAAQ,mDAEX;IAED,IACI,GAAG,aAMN;CAyJF"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import EuiSplitButtonActionPrimary from './eui-split-button/eui-split-button-action-primary';
|
|
3
|
+
import EuiSplitButtonActionSecondary from './eui-split-button/eui-split-button-action-secondary';
|
|
4
|
+
import type { EuiSplitButtonContext } from '../-private/eui-split-button-context.ts';
|
|
5
|
+
import type { EuiCss } from '../utils/eui/styles.ts';
|
|
6
|
+
type ButtonColorValues = {
|
|
7
|
+
backgroundColor: string;
|
|
8
|
+
color: string;
|
|
9
|
+
};
|
|
10
|
+
export interface EuiSplitButtonSignature {
|
|
11
|
+
Element: HTMLDivElement;
|
|
12
|
+
Args: {
|
|
13
|
+
/** `'s'` or `'m'` (32/40px). Defaults to `'m'`. */
|
|
14
|
+
size?: 'xs' | 's' | 'm';
|
|
15
|
+
/**
|
|
16
|
+
* `'primary'`, `'accent'`, `'accentSecondary'`, `'neutral'`,
|
|
17
|
+
* `'success'`, `'warning'`, `'risk'`, `'danger'` or `'text'`. Defaults
|
|
18
|
+
* to `'primary'`.
|
|
19
|
+
*/
|
|
20
|
+
color?: string;
|
|
21
|
+
/** Solid background. Defaults to `false`. */
|
|
22
|
+
fill?: boolean;
|
|
23
|
+
/** Disables both actions. */
|
|
24
|
+
isDisabled?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Beta: renders the disabled actions with `aria-disabled` instead of
|
|
27
|
+
* `disabled`, so they stay focusable (e.g. for a tooltip).
|
|
28
|
+
*/
|
|
29
|
+
hasAriaDisabled?: boolean;
|
|
30
|
+
/** Shows a loading spinner in both actions and disables them. */
|
|
31
|
+
isLoading?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Extra styles composed last into this component's class (like upstream's
|
|
34
|
+
* `css` prop). Prefer this to an extra class when styling it from a parent.
|
|
35
|
+
*/
|
|
36
|
+
css?: EuiCss;
|
|
37
|
+
};
|
|
38
|
+
Blocks: {
|
|
39
|
+
/**
|
|
40
|
+
* The two actions, in this order: `<split.ActionPrimary>` then
|
|
41
|
+
* `<split.ActionSecondary>`.
|
|
42
|
+
*/
|
|
43
|
+
default: [
|
|
44
|
+
{
|
|
45
|
+
ActionPrimary: typeof EuiSplitButtonActionPrimary;
|
|
46
|
+
ActionSecondary: typeof EuiSplitButtonActionSecondary;
|
|
47
|
+
}
|
|
48
|
+
];
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* A primary action and a secondary icon action (often opening a popover of
|
|
53
|
+
* related actions) joined into one control (upstream `EuiSplitButton`).
|
|
54
|
+
*/
|
|
55
|
+
export default class EuiSplitButton extends Component<EuiSplitButtonSignature> {
|
|
56
|
+
actions: {
|
|
57
|
+
ActionPrimary: typeof EuiSplitButtonActionPrimary;
|
|
58
|
+
ActionSecondary: typeof EuiSplitButtonActionSecondary;
|
|
59
|
+
};
|
|
60
|
+
get context(): import("../theming.ts").EuiThemeContext;
|
|
61
|
+
get size(): 'xs' | 's' | 'm';
|
|
62
|
+
get color(): string;
|
|
63
|
+
get fill(): boolean;
|
|
64
|
+
get splitButtonContext(): EuiSplitButtonContext;
|
|
65
|
+
get colors(): {
|
|
66
|
+
filled: ButtonColorValues;
|
|
67
|
+
base: ButtonColorValues;
|
|
68
|
+
};
|
|
69
|
+
/** Upstream `dividerColor` (also the `--euiSplitButtonBorderColor`). */
|
|
70
|
+
get dividerColor(): string;
|
|
71
|
+
get classes(): string;
|
|
72
|
+
get dividerClass(): string;
|
|
73
|
+
get style(): import("@ember/template").TrustedHTML;
|
|
74
|
+
}
|
|
75
|
+
export {};
|
|
76
|
+
//# sourceMappingURL=eui-split-button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-split-button.d.ts","sourceRoot":"","sources":["../../src/components/eui-split-button.gts"],"names":[],"mappings":"AAkMA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAiB3C,OAAO,2BAA2B,MAAM,wDAAwD,CAAC;AACjG,OAAO,6BAA6B,MAAM,0DAA0D,CAAC;AAErG,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AACrF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAErD,KAAK,iBAAiB,GAAG;IAAE,eAAe,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAEpE,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QACJ,mDAAmD;QACnD,IAAI,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,GAAG,CAAC;QACxB;;;;WAIG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,6CAA6C;QAC7C,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,6BAA6B;QAC7B,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB;;;WAGG;QACH,eAAe,CAAC,EAAE,OAAO,CAAC;QAC1B,iEAAiE;QACjE,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB;;;WAGG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;KACd,CAAC;IACF,MAAM,EAAE;QACN;;;WAGG;QACH,OAAO,EAAE;YACP;gBACE,aAAa,EAAE,OAAO,2BAA2B,CAAC;gBAClD,eAAe,EAAE,OAAO,6BAA6B,CAAC;aACvD;SACF,CAAC;KACH,CAAC;CACH;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,SAAS,CAAC,uBAAuB,CAAC;IAC5E,OAAO;;;MAGL;IAEF,IAAI,OAAO,4CAEV;IACD,IAAI,IAAI,IAAI,IAAI,GAAG,GAAG,GAAG,GAAG,CAG3B;IACD,IAAI,KAAK,WAER;IACD,IAAI,IAAI,YAEP;IAED,IACI,kBAAkB,IAAI,qBAAqB,CA0B9C;IAED,IACI,MAAM,IAAI;QAAE,MAAM,EAAE,iBAAiB,CAAC;QAAC,IAAI,EAAE,iBAAiB,CAAA;KAAE,CAOnE;IAED,wEAAwE;IACxE,IACI,YAAY,IAAI,MAAM,CAOzB;IAED,IACI,OAAO,WAgBV;IAED,IACI,YAAY,WAaf;IAED,IACI,KAAK,0CAER;CA2BF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"description.d.ts","sourceRoot":"","sources":["../../../src/components/eui-stat/description.gts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"description.d.ts","sourceRoot":"","sources":["../../../src/components/eui-stat/description.gts"],"names":[],"mappings":"AA6CA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E,8CAA8C;AAC9C,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE;QACJ;;WAEG;QACH,kBAAkB,CAAC,EAAE,MAAM,qBAAqB,CAAC;KAClD,CAAC;IACF,MAAM,EAAE;QACN,gBAAgB;QAChB,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,QAAA,MAAM,kBAAkB,EAAE,qBAAqB,CAAC,2BAA2B,CAoDzE,CAAC;AAEH,eAAe,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"title.d.ts","sourceRoot":"","sources":["../../../src/components/eui-stat/title.gts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"title.d.ts","sourceRoot":"","sources":["../../../src/components/eui-stat/title.gts"],"names":[],"mappings":"AA2DA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E,wCAAwC;AACxC,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,GAAG,CAAC;IACb,IAAI,EAAE;QACJ,iCAAiC;QACjC,SAAS,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;QAC9C,2DAA2D;QAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,2CAA2C;QAC3C,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,wDAAwD;QACxD,YAAY,CAAC,EAAE,OAAO,CAAC;KACxB,CAAC;IACF,MAAM,EAAE;QACN,gBAAgB;QAChB,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,QAAA,MAAM,YAAY,EAAE,qBAAqB,CAAC,qBAAqB,CAqD7D,CAAC;AAEH,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-suggest-item.d.ts","sourceRoot":"","sources":["../../src/components/eui-suggest-item.gts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"eui-suggest-item.d.ts","sourceRoot":"","sources":["../../src/components/eui-suggest-item.gts"],"names":[],"mappings":"AA4GA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAgB5E,MAAM,WAAW,kBAAkB;IACjC,sEAAsE;IACtE,QAAQ,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;IAC3C,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,iBAAiB,GAAG,cAAc,CAAC;IAC5C,IAAI,EAAE;QACJ,iDAAiD;QACjD,IAAI,EAAE,kBAAkB,CAAC;QACzB,sBAAsB;QACtB,KAAK,EAAE,MAAM,CAAC;QACd,sCAAsC;QACtC,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB;;;;WAIG;QACH,YAAY,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;QAClC,mFAAmF;QACnF,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;QACnE,6EAA6E;QAC7E,kBAAkB,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC;QACzC,yBAAyB;QACzB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;KACvC,CAAC;CACH;AAsBD,QAAA,MAAM,cAAc,EAAE,qBAAqB,CAAC,uBAAuB,CAwDjE,CAAC;AAEH,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type { TOC } from '@ember/component/template-only';
|
|
3
|
+
import type { ComponentLike } from '@glint/template';
|
|
4
|
+
import type { Moment } from 'moment';
|
|
5
|
+
/**
|
|
6
|
+
* Upstream `EuiTimeZoneDisplayProps`. `customRender` is a component (instead
|
|
7
|
+
* of a render function) rendered with `@nameDisplay` (a component showing
|
|
8
|
+
* the globe icon and the label), `@utcOffset` (`'UTC+1'`) and
|
|
9
|
+
* `@timeZoneName` (`'Europe/Brussels'`).
|
|
10
|
+
*/
|
|
11
|
+
export interface EuiTimeZoneDisplayProps {
|
|
12
|
+
/**
|
|
13
|
+
* An IANA time zone name, e.g. `'America/Los_Angeles'`, or `'Browser'`
|
|
14
|
+
* (the browser's zone) or `'UTC'`. Nothing renders without a valid one.
|
|
15
|
+
*/
|
|
16
|
+
timeZone?: string;
|
|
17
|
+
/** Reference date for the UTC offset (daylight saving edge cases). */
|
|
18
|
+
date?: Moment;
|
|
19
|
+
/** Extra content next to (or instead of) the name, see above. */
|
|
20
|
+
customRender?: ComponentLike<{
|
|
21
|
+
Args: {
|
|
22
|
+
nameDisplay: ComponentLike;
|
|
23
|
+
utcOffset?: string;
|
|
24
|
+
timeZoneName?: string;
|
|
25
|
+
};
|
|
26
|
+
}>;
|
|
27
|
+
/** `id` of the display (upstream spreads `div` props). */
|
|
28
|
+
id?: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Port of upstream `useEuiUTCOffsetDisplay`: the UTC offset label of an
|
|
32
|
+
* IANA zone name ("UTC+2"), through `Intl.DateTimeFormat`.
|
|
33
|
+
*/
|
|
34
|
+
export declare function useEuiUTCOffsetDisplay(timeZoneName: string, date?: Date): {
|
|
35
|
+
utc: string;
|
|
36
|
+
name: string;
|
|
37
|
+
isInvalid: boolean;
|
|
38
|
+
};
|
|
39
|
+
/** @private Time zone information under the date popover tabs. */
|
|
40
|
+
export interface EuiTimeZoneDisplaySignature {
|
|
41
|
+
Args: EuiTimeZoneDisplayProps;
|
|
42
|
+
}
|
|
43
|
+
export default class EuiTimeZoneDisplay extends Component<EuiTimeZoneDisplaySignature> {
|
|
44
|
+
NameDisplay: TOC<{
|
|
45
|
+
Args: {
|
|
46
|
+
label: string;
|
|
47
|
+
};
|
|
48
|
+
}>;
|
|
49
|
+
get offset(): {
|
|
50
|
+
utc: string;
|
|
51
|
+
name: string;
|
|
52
|
+
isInvalid: boolean;
|
|
53
|
+
};
|
|
54
|
+
get isVisible(): boolean;
|
|
55
|
+
get label(): string;
|
|
56
|
+
/** Upstream `euiTimeZoneDisplayStyles`: `s` padding at the sides and bottom. */
|
|
57
|
+
get css(): import("@emotion/serialize").SerializedStyles;
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=eui-time-zone-display.d.ts.map
|
package/declarations/components/eui-super-date-picker/date-popover/eui-time-zone-display.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-time-zone-display.d.ts","sourceRoot":"","sources":["../../../../src/components/eui-super-date-picker/date-popover/eui-time-zone-display.gts"],"names":[],"mappings":"AAsIA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAU3C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErC;;;;;GAKG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sEAAsE;IACtE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,iEAAiE;IACjE,YAAY,CAAC,EAAE,aAAa,CAAC;QAC3B,IAAI,EAAE;YACJ,WAAW,EAAE,aAAa,CAAC;YAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;YACnB,YAAY,CAAC,EAAE,MAAM,CAAC;SACvB,CAAC;KACH,CAAC,CAAC;IACH,0DAA0D;IAC1D,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,YAAY,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,IAAI;;;;EA2BvE;AAqBD,kEAAkE;AAClE,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE,uBAAuB,CAAC;CAC/B;AAED,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,SAAS,CAAC,2BAA2B,CAAC;IACpF,WAAW;cAzBkB;YAAE,KAAK,EAAE,MAAM,CAAA;SAAE;OAyBpB;IAE1B,IAAI,MAAM;;;;MAKT;IAED,IAAI,SAAS,YAEZ;IAED,IAAI,KAAK,WAGR;IAED,gFAAgF;IAChF,IACI,GAAG,kDAKN;CAsCF"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type { EuiCss } from '../../../utils/eui/styles.ts';
|
|
3
|
+
/**
|
|
4
|
+
* @private A section of the quick select popover (upstream
|
|
5
|
+
* `EuiQuickSelectPanel`): a top border and spacing between panels, an
|
|
6
|
+
* optional `xxxs` title (a `<legend>` when rendered as a fieldset) and a
|
|
7
|
+
* scrollable section for the content.
|
|
8
|
+
*/
|
|
9
|
+
export interface EuiQuickSelectPanelSignature {
|
|
10
|
+
Element: HTMLFieldSetElement;
|
|
11
|
+
Args: {
|
|
12
|
+
/** `'div'` (default) or `'fieldset'` (upstream `component`). */
|
|
13
|
+
component?: 'div' | 'fieldset';
|
|
14
|
+
/** Same as `@component`, which wins. */
|
|
15
|
+
tagName?: 'div' | 'fieldset';
|
|
16
|
+
/** Panel title; the content then goes in a scrollable section. */
|
|
17
|
+
title?: string;
|
|
18
|
+
/** Id of the title, e.g. for `aria-labelledby`. */
|
|
19
|
+
titleId?: string;
|
|
20
|
+
/** Extra styles composed last onto the panel's class. */
|
|
21
|
+
css?: EuiCss;
|
|
22
|
+
};
|
|
23
|
+
Blocks: {
|
|
24
|
+
default: [];
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export default class EuiQuickSelectPanel extends Component<EuiQuickSelectPanelSignature> {
|
|
28
|
+
get context(): import("../../../theming.ts").EuiThemeContext;
|
|
29
|
+
get tagName(): "div" | "fieldset";
|
|
30
|
+
get isFieldset(): boolean;
|
|
31
|
+
get hasTitle(): boolean;
|
|
32
|
+
get styles(): {
|
|
33
|
+
euiQuickSelectPanel: import("@emotion/serialize").SerializedStyles;
|
|
34
|
+
euiQuickSelectPanel__title: import("@emotion/serialize").SerializedStyles;
|
|
35
|
+
euiQuickSelectPanel__section: import("@emotion/serialize").SerializedStyles;
|
|
36
|
+
};
|
|
37
|
+
get classes(): string;
|
|
38
|
+
/**
|
|
39
|
+
* Upstream clones the title element into `EuiTitle size="xxxs"`, so the
|
|
40
|
+
* title styles, the heading reset and the panel title styles share one
|
|
41
|
+
* class here.
|
|
42
|
+
*/
|
|
43
|
+
get titleClasses(): string;
|
|
44
|
+
get sectionClasses(): string;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=eui-quick-select-panel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-quick-select-panel.d.ts","sourceRoot":"","sources":["../../../../src/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select-panel.gts"],"names":[],"mappings":"AAyHA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAW3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAE3D;;;;;GAKG;AACH,MAAM,WAAW,4BAA4B;IAG3C,OAAO,EAAE,mBAAmB,CAAC;IAC7B,IAAI,EAAE;QACJ,gEAAgE;QAChE,SAAS,CAAC,EAAE,KAAK,GAAG,UAAU,CAAC;QAC/B,wCAAwC;QACxC,OAAO,CAAC,EAAE,KAAK,GAAG,UAAU,CAAC;QAC7B,kEAAkE;QAClE,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,mDAAmD;QACnD,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,yDAAyD;QACzD,GAAG,CAAC,EAAE,MAAM,CAAC;KACd,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,SAAS,CAAC,4BAA4B,CAAC;IACtF,IAAI,OAAO,kDAEV;IAED,IAAI,OAAO,uBAEV;IAED,IAAI,UAAU,YAEb;IAED,IAAI,QAAQ,YAEX;IAED,IACI,MAAM;;;;MAET;IAED,IACI,OAAO,WAQV;IAED;;;;OAIG;IACH,IACI,YAAY,WAWf;IAED,IACI,cAAc,WAMjB;CAkEF"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type EuiI18n from '../../services/eui-i18n';
|
|
3
|
+
import type { ApplyTime, ShortDate } from './types/global';
|
|
4
|
+
import type { EuiTimeWindowButtonsConfig } from './utils/time-window.ts';
|
|
5
|
+
export type { EuiTimeWindowButtonsConfig };
|
|
6
|
+
/**
|
|
7
|
+
* @private EuiSuperDatePicker's time window controls (upstream
|
|
8
|
+
* `EuiTimeWindowButtons`): a segmented group to shift the window back and
|
|
9
|
+
* forward by its own duration, and to zoom it out (or in).
|
|
10
|
+
*/
|
|
11
|
+
export interface EuiTimeWindowButtonsSignature {
|
|
12
|
+
Args: EuiTimeWindowButtonsConfig & {
|
|
13
|
+
/** Applies a new `{ start, end }` range. */
|
|
14
|
+
applyTime: ApplyTime;
|
|
15
|
+
/** Start of the range. */
|
|
16
|
+
start: ShortDate;
|
|
17
|
+
/** End of the range. */
|
|
18
|
+
end: ShortDate;
|
|
19
|
+
/** Small (`s`) buttons. */
|
|
20
|
+
compressed?: boolean;
|
|
21
|
+
/** Disables every button and drops the tooltips. */
|
|
22
|
+
isDisabled?: boolean;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export default class EuiTimeWindowButtons extends Component<EuiTimeWindowButtonsSignature> {
|
|
26
|
+
euiI18n: EuiI18n;
|
|
27
|
+
previousId: string;
|
|
28
|
+
zoomInId: string;
|
|
29
|
+
zoomOutId: string;
|
|
30
|
+
nextId: string;
|
|
31
|
+
get showZoomOut(): boolean;
|
|
32
|
+
get showZoomIn(): boolean;
|
|
33
|
+
get showShiftArrows(): boolean;
|
|
34
|
+
get isVisible(): boolean;
|
|
35
|
+
get buttonSize(): "s" | "m";
|
|
36
|
+
get timeWindow(): {
|
|
37
|
+
displayInterval: string;
|
|
38
|
+
isInvalid: boolean;
|
|
39
|
+
stepForward: () => void;
|
|
40
|
+
stepBackward: () => void;
|
|
41
|
+
expandWindow: () => void;
|
|
42
|
+
shrinkWindow: () => void;
|
|
43
|
+
isWindowDurationZero: boolean;
|
|
44
|
+
};
|
|
45
|
+
t: (token: string, fallback: string, values?: Record<string, unknown>) => string;
|
|
46
|
+
get groupLabel(): string;
|
|
47
|
+
get previousLabel(): string;
|
|
48
|
+
get nextLabel(): string;
|
|
49
|
+
get zoomInLabel(): string;
|
|
50
|
+
get zoomOutLabel(): string;
|
|
51
|
+
/** Tooltips: none while disabled (upstream `content={!isDisabled && …}`). */
|
|
52
|
+
get previousTooltip(): string | undefined;
|
|
53
|
+
get nextTooltip(): string | undefined;
|
|
54
|
+
get zoomInTooltip(): string | undefined;
|
|
55
|
+
get zoomOutTooltip(): string | undefined;
|
|
56
|
+
get zoomInTooltipIsLabel(): boolean;
|
|
57
|
+
get zoomOutTooltipIsLabel(): boolean;
|
|
58
|
+
stepBackward: () => void;
|
|
59
|
+
stepForward: () => void;
|
|
60
|
+
expandWindow: () => void;
|
|
61
|
+
shrinkWindow: () => void;
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=eui-time-window-buttons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-time-window-buttons.d.ts","sourceRoot":"","sources":["../../../src/components/eui-super-date-picker/eui-time-window-buttons.gts"],"names":[],"mappings":"AA+NA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAW3C,OAAO,KAAK,OAAO,MAAM,yBAAyB,CAAC;AACnD,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAEzE,YAAY,EAAE,0BAA0B,EAAE,CAAC;AAE3C;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE,0BAA0B,GAAG;QACjC,4CAA4C;QAC5C,SAAS,EAAE,SAAS,CAAC;QACrB,0BAA0B;QAC1B,KAAK,EAAE,SAAS,CAAC;QACjB,wBAAwB;QACxB,GAAG,EAAE,SAAS,CAAC;QACf,2BAA2B;QAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,oDAAoD;QACpD,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,SAAS,CAAC,6BAA6B,CAAC;IACvE,OAAO,EAAE,OAAO,CAAC;IAElC,UAAU,SAA4B;IACtC,QAAQ,SAA2B;IACnC,SAAS,SAA4B;IACrC,MAAM,SAAwB;IAE9B,IAAI,WAAW,YAEd;IAED,IAAI,UAAU,YAEb;IAED,IAAI,eAAe,YAElB;IAED,IAAI,SAAS,YAEZ;IAED,IAAI,UAAU,cAEb;IAED,IAAI,UAAU;;;;;;;;MAQb;IAED,CAAC,GAAI,OAAO,MAAM,EAAE,UAAU,MAAM,EAAE,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,YACQ;IAE9E,IAAI,UAAU,WAEb;IAED,IAAI,aAAa,WAEhB;IAED,IAAI,SAAS,WAEZ;IAED,IAAI,WAAW,WAEd;IAED,IAAI,YAAY,WAEf;IAED,6EAA6E;IAC7E,IAAI,eAAe,uBAQlB;IAED,IAAI,WAAW,uBAQd;IAED,IAAI,aAAa,uBAQhB;IAED,IAAI,cAAc,uBAKjB;IAED,IAAI,oBAAoB,YAEvB;IAED,IAAI,qBAAqB,YAExB;IAED,YAAY,aAAwC;IACpD,WAAW,aAAuC;IAClD,YAAY,aAAwC;IACpD,YAAY,aAAwC;CA4HrD"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type EuiI18n from '../../../services/eui-i18n';
|
|
2
|
+
export type PrettyIntervalUnit = 's' | 'm' | 'h' | 'd';
|
|
3
|
+
export interface PrettyIntervalOptions {
|
|
4
|
+
/** Reduces the unit to a single letter, e.g. `5 m`. */
|
|
5
|
+
shortHand?: boolean;
|
|
6
|
+
/** Forces the unit instead of rounding to the largest one that fits. */
|
|
7
|
+
unit?: PrettyIntervalUnit;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Port of upstream `usePrettyInterval`: the label of an auto refresh
|
|
11
|
+
* interval, e.g. `5 minutes`, or `Off` while paused (or for `0`).
|
|
12
|
+
*/
|
|
13
|
+
export declare function prettyInterval(euiI18n: EuiI18n, isPaused: boolean, intervalInMs: number, options?: PrettyIntervalOptions): string;
|
|
14
|
+
//# sourceMappingURL=pretty-interval.d.ts.map
|