@ember-eui/core 14.1.3 → 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 +2 -1
- package/declarations/components/eui-page-body.d.ts.map +1 -1
- package/declarations/components/eui-page-content-body.d.ts +2 -1
- package/declarations/components/eui-page-content-body.d.ts.map +1 -1
- package/declarations/components/eui-page-content.d.ts +1 -1
- package/declarations/components/eui-page-content.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-page-template.d.ts +16 -15
- package/declarations/components/eui-page-template.d.ts.map +1 -1
- package/declarations/components/eui-page.d.ts +2 -1
- package/declarations/components/eui-page.d.ts.map +1 -1
- 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-pagination.d.ts.map +1 -1
- package/declarations/components/eui-panel.d.ts.map +1 -1
- 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-refresh-interval.d.ts +2 -0
- package/declarations/components/eui-refresh-interval.d.ts.map +1 -1
- 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-tabbed-content.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/helpers/eui-page-restrict-width.d.ts.map +1 -1
- 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-page-content-body.js.map +1 -1
- package/dist/components/eui-page-content.js.map +1 -1
- package/dist/components/eui-page-template.js +5 -5
- package/dist/components/eui-page-template.js.map +1 -1
- package/dist/components/eui-page.js.map +1 -1
- package/dist/components/eui-pagination.js +7 -4
- package/dist/components/eui-pagination.js.map +1 -1
- package/dist/components/eui-panel.js +1 -1
- package/dist/components/eui-panel.js.map +1 -1
- package/dist/components/eui-range.js +1 -1
- package/dist/components/eui-range.js.map +1 -1
- package/dist/components/eui-refresh-interval.js +22 -1
- package/dist/components/eui-refresh-interval.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-tabbed-content.js +6 -5
- package/dist/components/eui-tabbed-content.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/helpers/eui-page-restrict-width.js +1 -1
- package/dist/helpers/eui-page-restrict-width.js.map +1 -1
- package/dist/icons-CQELx6Ce.js.map +1 -1
- package/package.json +5 -6
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
export type EuiLiveRegionRole = 'status' | 'alert' | 'log' | 'timer' | 'marquee';
|
|
3
|
+
export type EuiAriaLive = 'off' | 'polite' | 'assertive';
|
|
4
|
+
/**
|
|
5
|
+
* Announces its content to screen readers whenever the content's text
|
|
6
|
+
* changes, without showing it (upstream `EuiScreenReaderLive`), e.g. "3
|
|
7
|
+
* results" after a search. For a one-off message that is announced once
|
|
8
|
+
* and then cleared, use `EuiLiveAnnouncer`.
|
|
9
|
+
*
|
|
10
|
+
* Like upstream, it renders two live regions and alternates between them on
|
|
11
|
+
* every change, so consecutive announcements are read reliably. The block is
|
|
12
|
+
* rendered into a `hidden` element and its text is what gets announced.
|
|
13
|
+
*/
|
|
14
|
+
export interface EuiScreenReaderLiveSignature {
|
|
15
|
+
Element: HTMLDivElement;
|
|
16
|
+
Args: {
|
|
17
|
+
/** Whether screen readers are made aware of the content. Defaults to `true`. */
|
|
18
|
+
isActive?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* `role` of both live regions, e.g. `'status'` or `'alert'`. Defaults
|
|
21
|
+
* to `'status'`.
|
|
22
|
+
*/
|
|
23
|
+
role?: EuiLiveRegionRole;
|
|
24
|
+
/**
|
|
25
|
+
* `aria-live` of both live regions: `'polite'`, `'assertive'` or
|
|
26
|
+
* `'off'`. Defaults to `'polite'`.
|
|
27
|
+
*/
|
|
28
|
+
ariaLive?: EuiAriaLive;
|
|
29
|
+
/**
|
|
30
|
+
* Focuses the region when the text changes (and on insert), so screen
|
|
31
|
+
* readers read it out. Use it for navigation or page changes, where
|
|
32
|
+
* moving focus back to a known place is desired. Defaults to `false`.
|
|
33
|
+
*/
|
|
34
|
+
focusRegionOnTextChange?: boolean;
|
|
35
|
+
};
|
|
36
|
+
Blocks: {
|
|
37
|
+
/** The content to announce. */
|
|
38
|
+
default: [];
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export default class EuiScreenReaderLive extends Component<EuiScreenReaderLiveSignature> {
|
|
42
|
+
#private;
|
|
43
|
+
/** The block's current text. */
|
|
44
|
+
text: string;
|
|
45
|
+
/** Which of the two regions holds the text (upstream's `toggle`). */
|
|
46
|
+
toggle: boolean;
|
|
47
|
+
observeLiveText: import("ember-modifier").FunctionBasedModifier<{
|
|
48
|
+
Args: {
|
|
49
|
+
Positional: [(text: string) => void, ...unknown[]];
|
|
50
|
+
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
51
|
+
};
|
|
52
|
+
Element: HTMLElement;
|
|
53
|
+
}>;
|
|
54
|
+
focusOnChange: import("ember-modifier").FunctionBasedModifier<{
|
|
55
|
+
Args: {
|
|
56
|
+
Positional: [boolean, boolean | undefined];
|
|
57
|
+
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
58
|
+
};
|
|
59
|
+
Element: HTMLElement;
|
|
60
|
+
}>;
|
|
61
|
+
get srClass(): string;
|
|
62
|
+
get role(): EuiLiveRegionRole;
|
|
63
|
+
get isActive(): boolean;
|
|
64
|
+
liveFor(active: boolean): EuiAriaLive;
|
|
65
|
+
get firstLive(): EuiAriaLive;
|
|
66
|
+
get secondLive(): EuiAriaLive;
|
|
67
|
+
get firstHidden(): "true" | undefined;
|
|
68
|
+
get secondHidden(): "true" | undefined;
|
|
69
|
+
get firstText(): string;
|
|
70
|
+
get secondText(): string;
|
|
71
|
+
get tabIndex(): "-1" | undefined;
|
|
72
|
+
/** Upstream toggles on mount and on every change of `children`. */
|
|
73
|
+
onText: (text: string) => void;
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=eui-screen-reader-live.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-screen-reader-live.d.ts","sourceRoot":"","sources":["../../src/components/eui-screen-reader-live.gts"],"names":[],"mappings":"AAqJA,OAAO,SAAS,MAAM,oBAAoB,CA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
|
|
3
|
+
import type { EuiPopoverArgs } from '../eui-popover';
|
|
4
|
+
import type { EuiRenderNode } from '../../-private/eui-render-node';
|
|
5
|
+
/** Options of the search field (upstream's `box` prop). */
|
|
6
|
+
export interface EuiSearchBoxOptions {
|
|
7
|
+
/** Placeholder. Defaults to "Search...". */
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
/** Searches as you type instead of on Enter. */
|
|
10
|
+
incremental?: boolean;
|
|
11
|
+
/** Shows the clear button while there is text. Defaults to `true`. */
|
|
12
|
+
isClearable?: boolean;
|
|
13
|
+
/** Shows a spinner in the field. */
|
|
14
|
+
isLoading?: boolean;
|
|
15
|
+
/** Disables the field. */
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
/** Makes the field read-only. */
|
|
18
|
+
readOnly?: boolean;
|
|
19
|
+
/** Stretches the field. Defaults to `true` (upstream). */
|
|
20
|
+
fullWidth?: boolean;
|
|
21
|
+
/** Shorter field. */
|
|
22
|
+
compressed?: boolean;
|
|
23
|
+
/** Id of the `<input>`. */
|
|
24
|
+
id?: string;
|
|
25
|
+
/** Name of the `<input>`. */
|
|
26
|
+
name?: string;
|
|
27
|
+
/** Overrides the default instructions read by screen readers. */
|
|
28
|
+
'aria-label'?: string;
|
|
29
|
+
/** Ids of elements describing the field. */
|
|
30
|
+
'aria-describedby'?: string;
|
|
31
|
+
/** `data-test-subj` of the `<input>`. */
|
|
32
|
+
'data-test-subj'?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Content before the field, joined to it: text (a label, as
|
|
35
|
+
* `EuiFormPrepend @label`) or a component rendered as is (e.g. one using
|
|
36
|
+
* `EuiFormPrepend` for an icon or a button).
|
|
37
|
+
*/
|
|
38
|
+
prepend?: EuiRenderNode;
|
|
39
|
+
/** Content after the field; like `prepend`, with `EuiFormAppend` for text. */
|
|
40
|
+
append?: EuiRenderNode;
|
|
41
|
+
/** Called when the field is clicked. */
|
|
42
|
+
onClick?: (event: MouseEvent) => void;
|
|
43
|
+
/** Called when the field gets focus (the hint, if any, also opens). */
|
|
44
|
+
onFocus?: (event: FocusEvent) => void;
|
|
45
|
+
/** Called when the field loses focus. */
|
|
46
|
+
onBlur?: (event: FocusEvent) => void;
|
|
47
|
+
/**
|
|
48
|
+
* The query schema (`{ strict, fields, flags, recognizedFields }`).
|
|
49
|
+
* `EuiInMemoryTable` also accepts `true` to derive it from its columns.
|
|
50
|
+
*/
|
|
51
|
+
schema?: unknown;
|
|
52
|
+
}
|
|
53
|
+
/** Popover options of the search bar's hint (upstream `hint.popoverProps`). */
|
|
54
|
+
export type EuiSearchBoxHintPopoverProps = Partial<Pick<EuiPopoverArgs, 'isOpen' | 'closePopover' | 'panelClassName' | 'panelPaddingSize' | 'panelStyle' | 'popoverScreenReaderText' | 'repositionOnScroll'> & {
|
|
55
|
+
fullWidth?: boolean;
|
|
56
|
+
disableFocusTrap?: boolean;
|
|
57
|
+
}>;
|
|
58
|
+
/** @private Upstream `hint` of EuiSearchBox (wired by EuiSearchBar). */
|
|
59
|
+
export interface EuiSearchBoxHint {
|
|
60
|
+
id: string;
|
|
61
|
+
isVisible: boolean;
|
|
62
|
+
setIsVisible: (isVisible: boolean) => void;
|
|
63
|
+
popoverProps?: EuiSearchBoxHintPopoverProps;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* @private The search field of `EuiSearchBar` and the plain-text search of
|
|
67
|
+
* `EuiInMemoryTable` (upstream `EuiSearchBox`): an `EuiFieldSearch` showing
|
|
68
|
+
* `@query`, optionally with a hint popover below it.
|
|
69
|
+
*/
|
|
70
|
+
export interface EuiSearchBoxSignature {
|
|
71
|
+
Element: HTMLInputElement;
|
|
72
|
+
Args: {
|
|
73
|
+
/** The text shown; the field is reset to it whenever it changes. */
|
|
74
|
+
query: string;
|
|
75
|
+
/** Called with the text on Enter (or as you type when incremental). */
|
|
76
|
+
onSearch: (queryText: string) => void;
|
|
77
|
+
/** The field options. */
|
|
78
|
+
box?: EuiSearchBoxOptions;
|
|
79
|
+
/** Shorter field (overridden by `@box.compressed`). */
|
|
80
|
+
compressed?: boolean;
|
|
81
|
+
/** Shows the invalid state. */
|
|
82
|
+
isInvalid?: boolean;
|
|
83
|
+
/** Ids describing the field (overrides `@box['aria-describedby']`). */
|
|
84
|
+
ariaDescribedBy?: string;
|
|
85
|
+
/** Hint shown below the field while it has focus. */
|
|
86
|
+
hint?: EuiSearchBoxHint;
|
|
87
|
+
};
|
|
88
|
+
Blocks: {
|
|
89
|
+
/** The hint's content. */
|
|
90
|
+
hint: [];
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
export default class EuiSearchBox extends Component<EuiSearchBoxSignature> {
|
|
94
|
+
euiI18n: EuiI18n;
|
|
95
|
+
get box(): EuiSearchBoxOptions;
|
|
96
|
+
get placeholder(): string;
|
|
97
|
+
get ariaLabel(): string;
|
|
98
|
+
get compressed(): boolean | undefined;
|
|
99
|
+
get testSubj(): string | undefined;
|
|
100
|
+
get describedBy(): string | undefined;
|
|
101
|
+
onFocus(event: FocusEvent): void;
|
|
102
|
+
onBlur(event: FocusEvent): void;
|
|
103
|
+
onClick(event: MouseEvent): void;
|
|
104
|
+
closeHint(): void;
|
|
105
|
+
}
|
|
106
|
+
//# sourceMappingURL=eui-search-box.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-search-box.d.ts","sourceRoot":"","sources":["../../../src/components/eui-search-bar/eui-search-box.gts"],"names":[],"mappings":"AAgSA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAc3C,OAAO,KAAK,OAAO,MAAM,yBAAyB,CAAC;AACnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AAExE,2DAA2D;AAC3D,MAAM,WAAW,mBAAmB;IAClC,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gDAAgD;IAChD,WAAW,CAAC,EAAE,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,GAAG,IAAI;IAK/B,OAAO,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;IAMhC,SAAS,IAAI,IAAI;CAyIlB"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import { Query } from '../../utils/eui/search-bar/query.ts';
|
|
3
|
+
import type Owner from '@ember/owner';
|
|
4
|
+
import type { ComponentLike } from '@glint/template';
|
|
5
|
+
import type { FieldValueOptionType, FieldValueSelectionFilterConfigType, MultiSelect } from '../../-private/search-bar.ts';
|
|
6
|
+
import type { EuiSelectableOption } from '../../-private/selectable-options.ts';
|
|
7
|
+
import type EuiI18n from '../../services/eui-i18n';
|
|
8
|
+
import type { Clause, Value } from '../../utils/eui/search-bar/ast.ts';
|
|
9
|
+
/**
|
|
10
|
+
* @private A filter button of `EuiSearchBar` opening a list of field values
|
|
11
|
+
* (upstream `FieldValueSelectionFilter`): single or multi select, `and`
|
|
12
|
+
* clauses or one `or` clause, sync or async (cached) options, a search above
|
|
13
|
+
* `searchThreshold` options and checked options sorted first.
|
|
14
|
+
*/
|
|
15
|
+
export interface FieldValueSelectionFilterSignature {
|
|
16
|
+
Args: {
|
|
17
|
+
config: FieldValueSelectionFilterConfigType;
|
|
18
|
+
query: Query;
|
|
19
|
+
onChange: (query: Query) => void;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
interface LoadedOptions {
|
|
23
|
+
unsorted: FieldValueOptionType[];
|
|
24
|
+
sorted: FieldValueOptionType[];
|
|
25
|
+
}
|
|
26
|
+
interface SelectionOption extends EuiSelectableOption {
|
|
27
|
+
data: {
|
|
28
|
+
view: string | ComponentLike;
|
|
29
|
+
value: Value;
|
|
30
|
+
optionField: string;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export default class FieldValueSelectionFilter extends Component<FieldValueSelectionFilterSignature> {
|
|
34
|
+
euiI18n: EuiI18n;
|
|
35
|
+
popoverOpen: boolean;
|
|
36
|
+
error: string | null;
|
|
37
|
+
options: LoadedOptions | null;
|
|
38
|
+
activeItemsCount: number;
|
|
39
|
+
cachedOptions: FieldValueOptionType[] | null;
|
|
40
|
+
cacheTimeout: ReturnType<typeof setTimeout> | undefined;
|
|
41
|
+
constructor(owner: Owner, args: FieldValueSelectionFilterSignature['Args']);
|
|
42
|
+
get autoSortOptions(): boolean;
|
|
43
|
+
get multiSelect(): MultiSelect;
|
|
44
|
+
/** Upstream componentDidMount/componentDidUpdate: reload on query change. */
|
|
45
|
+
watchQuery: import("ember-modifier").FunctionBasedModifier<{
|
|
46
|
+
Args: {
|
|
47
|
+
Positional: [Query];
|
|
48
|
+
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
49
|
+
};
|
|
50
|
+
Element: Element;
|
|
51
|
+
}>;
|
|
52
|
+
lastQuery: Query | undefined;
|
|
53
|
+
scheduleLoad(): Promise<void>;
|
|
54
|
+
closePopover(): void;
|
|
55
|
+
onButtonClick(): void;
|
|
56
|
+
loadOptions: () => Promise<void>;
|
|
57
|
+
resolveOptionName(option: FieldValueOptionType): string;
|
|
58
|
+
resolveChecked(clause: Clause | undefined): 'on' | 'off' | undefined;
|
|
59
|
+
isActiveField(field: string | undefined): boolean;
|
|
60
|
+
onOptionClick(field: string, value: Value, checked?: 'on' | 'off'): void;
|
|
61
|
+
get visibleOptions(): FieldValueOptionType[] | undefined;
|
|
62
|
+
get active(): boolean;
|
|
63
|
+
get buttonLabel(): string;
|
|
64
|
+
get items(): SelectionOption[];
|
|
65
|
+
get isOverSearchThreshold(): boolean;
|
|
66
|
+
get panelCss(): import("@emotion/serialize").SerializedStyles;
|
|
67
|
+
onSelectableChange(options: EuiSelectableOption[]): void;
|
|
68
|
+
}
|
|
69
|
+
export {};
|
|
70
|
+
//# sourceMappingURL=field-value-selection-filter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"field-value-selection-filter.d.ts","sourceRoot":"","sources":["../../../src/components/eui-search-bar/field-value-selection-filter.gts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Y,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,GAAG,SAAS,CAAC;gBAE5C,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,kCAAkC,CAAC,MAAM,CAAC;IAS1E,IAAI,eAAe,IAAI,OAAO,CAE7B;IAED,IAAI,WAAW,IAAI,WAAW,CAE7B;IAED,6EAA6E;IAC7E,UAAU;;;;;;OAQR;IAEF,SAAS,EAAE,KAAK,GAAG,SAAS,CAAC;IAE7B,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;IAM7B,YAAY,IAAI,IAAI;IAKpB,aAAa,IAAI,IAAI;IAiBrB,WAAW,QAAa,OAAO,CAAC,IAAI,CAAC,CAiEnC;IAEF,iBAAiB,CAAC,MAAM,EAAE,oBAAoB,GAAG,MAAM;IAIvD,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,GAAG,KAAK,GAAG,SAAS;IAOpE,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO;IAWjD,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,CAAC,EAAE,IAAI,GAAG,KAAK,GAAG,IAAI;IAmCxE,IAAI,cAAc,IAAI,oBAAoB,EAAE,GAAG,SAAS,CAIvD;IAED,IAAI,MAAM,IAAI,OAAO,CAQpB;IAED,IAAI,WAAW,IAAI,MAAM,CAMxB;IAED,IAAI,KAAK,IAAI,eAAe,EAAE,CAsB7B;IAED,IAAI,qBAAqB,IAAI,OAAO,CAKnC;IAED,IACI,QAAQ,kDAIX;IAGD,kBAAkB,CAAC,OAAO,EAAE,mBAAmB,EAAE,GAAG,IAAI;CA8FzD"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import { Query } from '../../utils/eui/search-bar/query.ts';
|
|
3
|
+
import type { FieldValueToggleFilterConfigType } from '../../-private/search-bar.ts';
|
|
4
|
+
/**
|
|
5
|
+
* @private A `field:value` toggle of `EuiSearchBar` (upstream
|
|
6
|
+
* `FieldValueToggleFilter`).
|
|
7
|
+
*/
|
|
8
|
+
export interface FieldValueToggleFilterSignature {
|
|
9
|
+
Args: {
|
|
10
|
+
config: FieldValueToggleFilterConfigType;
|
|
11
|
+
query: Query;
|
|
12
|
+
onChange: (query: Query) => void;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export default class FieldValueToggleFilter extends Component<FieldValueToggleFilterSignature> {
|
|
16
|
+
get clause(): import("../../utils/eui/search-bar/ast.ts").FieldClause | undefined;
|
|
17
|
+
get display(): {
|
|
18
|
+
hasActiveFilters: boolean;
|
|
19
|
+
name: string;
|
|
20
|
+
};
|
|
21
|
+
onClick: () => void;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=field-value-toggle-filter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"field-value-toggle-filter.d.ts","sourceRoot":"","sources":["../../../src/components/eui-search-bar/field-value-toggle-filter.gts"],"names":[],"mappings":"AAoDA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAI3C,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAG5D,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,8BAA8B,CAAC;AAErF;;;GAGG;AACH,MAAM,WAAW,+BAA+B;IAC9C,IAAI,EAAE;QACJ,MAAM,EAAE,gCAAgC,CAAC;QACzC,KAAK,EAAE,KAAK,CAAC;QACb,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;KAClC,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,SAAS,CAAC,+BAA+B,CAAC;IAC5F,IAAI,MAAM,wEAGT;IAED,IAAI,OAAO;;;MAGV;IAED,OAAO,QAAO,IAAI,CAQhB;CAmBH"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import { Query } from '../../utils/eui/search-bar/query.ts';
|
|
3
|
+
import type { FieldValueToggleGroupFilterConfigType, FieldValueToggleGroupFilterItemType } from '../../-private/search-bar.ts';
|
|
4
|
+
/**
|
|
5
|
+
* @private Joined `field:value` toggles of `EuiSearchBar`, at most one on
|
|
6
|
+
* (upstream `FieldValueToggleGroupFilter`).
|
|
7
|
+
*/
|
|
8
|
+
export interface FieldValueToggleGroupFilterSignature {
|
|
9
|
+
Args: {
|
|
10
|
+
config: FieldValueToggleGroupFilterConfigType;
|
|
11
|
+
query: Query;
|
|
12
|
+
onChange: (query: Query) => void;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
interface ToggleItem {
|
|
16
|
+
item: FieldValueToggleGroupFilterItemType;
|
|
17
|
+
active: boolean;
|
|
18
|
+
name: string;
|
|
19
|
+
isLast: boolean;
|
|
20
|
+
}
|
|
21
|
+
export default class FieldValueToggleGroupFilter extends Component<FieldValueToggleGroupFilterSignature> {
|
|
22
|
+
get items(): ToggleItem[];
|
|
23
|
+
onClick: ({ item, active }: ToggleItem) => void;
|
|
24
|
+
}
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=field-value-toggle-group-filter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"field-value-toggle-group-filter.d.ts","sourceRoot":"","sources":["../../../src/components/eui-search-bar/field-value-toggle-group-filter.gts"],"names":[],"mappings":"AAyEA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAI3C,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAG5D,OAAO,KAAK,EACV,qCAAqC,EACrC,mCAAmC,EACpC,MAAM,8BAA8B,CAAC;AAEtC;;;GAGG;AACH,MAAM,WAAW,oCAAoC;IACnD,IAAI,EAAE;QACJ,MAAM,EAAE,qCAAqC,CAAC;QAC9C,KAAK,EAAE,KAAK,CAAC;QACb,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;KAClC,CAAC;CACH;AAED,UAAU,UAAU;IAClB,IAAI,EAAE,mCAAmC,CAAC;IAC1C,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,OAAO,2BAA4B,SAAQ,SAAS,CAAC,oCAAoC,CAAC;IACtG,IAAI,KAAK,IAAI,UAAU,EAAE,CAcxB;IAED,OAAO,GAAI,kBAAkB,UAAU,KAAG,IAAI,CAU5C;CA2BH"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import { Query } from '../../utils/eui/search-bar/query.ts';
|
|
3
|
+
import type { IsFilterConfigType } from '../../-private/search-bar.ts';
|
|
4
|
+
/**
|
|
5
|
+
* @private An `is:flag` toggle of `EuiSearchBar` (upstream `IsFilter`):
|
|
6
|
+
* adds `is:<field>` to the query, or removes the clause when it is there.
|
|
7
|
+
*/
|
|
8
|
+
export interface IsFilterSignature {
|
|
9
|
+
Args: {
|
|
10
|
+
config: IsFilterConfigType;
|
|
11
|
+
query: Query;
|
|
12
|
+
onChange: (query: Query) => void;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export default class IsFilter extends Component<IsFilterSignature> {
|
|
16
|
+
get clause(): import("../../utils/eui/search-bar/ast.ts").IsClause | undefined;
|
|
17
|
+
get display(): {
|
|
18
|
+
hasActiveFilters: boolean;
|
|
19
|
+
name: string;
|
|
20
|
+
};
|
|
21
|
+
onClick: () => void;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=is-filter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-filter.d.ts","sourceRoot":"","sources":["../../../src/components/eui-search-bar/is-filter.gts"],"names":[],"mappings":"AAmDA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAI3C,OAAO,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAC;AAG5D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAEvE;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE;QACJ,MAAM,EAAE,kBAAkB,CAAC;QAC3B,KAAK,EAAE,KAAK,CAAC;QACb,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;KAClC,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,SAAS,CAAC,iBAAiB,CAAC;IAChE,IAAI,MAAM,qEAET;IAED,IAAI,OAAO;;;MAGV;IAED,OAAO,QAAO,IAAI,CAQhB;CAmBH"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type { SearchFilterConfig } from '../-private/search-bar.ts';
|
|
3
|
+
import type { Query } from '../utils/eui/search-bar/query.ts';
|
|
4
|
+
export type { CustomComponentProps, FieldValueOptionType, SearchFilterConfig } from '../-private/search-bar.ts';
|
|
5
|
+
/**
|
|
6
|
+
* The filter buttons of an `EuiSearchBar` in an `EuiFilterGroup`, built
|
|
7
|
+
* from filter configs: `is` (flag toggle), `field_value_toggle`,
|
|
8
|
+
* `field_value_toggle_group`, `field_value_selection` (popover list) and
|
|
9
|
+
* `custom_component`. Each filter edits `@query` and calls `@onChange`
|
|
10
|
+
* with the new `Query`.
|
|
11
|
+
*/
|
|
12
|
+
export interface EuiSearchBarFiltersSignature {
|
|
13
|
+
Element: HTMLDivElement;
|
|
14
|
+
Args: {
|
|
15
|
+
/** The current query (a `Query`, exported by `components/eui-search-bar`). */
|
|
16
|
+
query: Query;
|
|
17
|
+
/** Called with the updated query when a filter changes. */
|
|
18
|
+
onChange: (query: Query) => void;
|
|
19
|
+
/** The filter configs. */
|
|
20
|
+
filters?: SearchFilterConfig[];
|
|
21
|
+
/** Shorter filter group. */
|
|
22
|
+
compressed?: boolean;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export default class EuiSearchBarFilters extends Component<EuiSearchBarFiltersSignature> {
|
|
26
|
+
get filters(): SearchFilterConfig[];
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=eui-search-bar-filters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-search-bar-filters.d.ts","sourceRoot":"","sources":["../../src/components/eui-search-bar-filters.gts"],"names":[],"mappings":"AAiHA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAQ3C,OAAO,KAAK,EAMV,kBAAkB,EACnB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAE9D,YAAY,EACV,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EACnB,MAAM,2BAA2B,CAAC;AAEnC;;;;;;GAMG;AACH,MAAM,WAAW,4BAA4B;IAC3C,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QACJ,8EAA8E;QAC9E,KAAK,EAAE,KAAK,CAAC;QACb,2DAA2D;QAC3D,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;QACjC,0BAA0B;QAC1B,OAAO,CAAC,EAAE,kBAAkB,EAAE,CAAC;QAC/B,4BAA4B;QAC5B,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,SAAS,CAAC,4BAA4B,CAAC;IACtF,IAAI,OAAO,IAAI,kBAAkB,EAAE,CAOlC;CAoEF"}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import { AST } from '../utils/eui/search-bar/ast.ts';
|
|
3
|
+
import { Query } from '../utils/eui/search-bar/query.ts';
|
|
4
|
+
import type Owner from '@ember/owner';
|
|
5
|
+
import type { SearchFilterConfig } from '../-private/search-bar.ts';
|
|
6
|
+
import type { EuiCss } from '../utils/eui/styles.ts';
|
|
7
|
+
import type { EuiFlexGroupSignature } from './eui-flex-group';
|
|
8
|
+
import type { EuiSearchBoxHint, EuiSearchBoxHintPopoverProps, EuiSearchBoxOptions } from './eui-search-bar/eui-search-box';
|
|
9
|
+
export { Query, AST as Ast };
|
|
10
|
+
export type { CustomComponentProps, FieldValueOptionType, SearchFilterConfig } from '../-private/search-bar.ts';
|
|
11
|
+
export type { EuiSearchBoxOptions, EuiSearchBoxHintPopoverProps } from './eui-search-bar/eui-search-box';
|
|
12
|
+
export type QueryType = Query | string;
|
|
13
|
+
/** The query schema of `@box.schema`. */
|
|
14
|
+
export interface SchemaType {
|
|
15
|
+
strict?: boolean;
|
|
16
|
+
fields?: any;
|
|
17
|
+
flags?: string[];
|
|
18
|
+
/** Controls which phrases will be parsed as field clauses. */
|
|
19
|
+
recognizedFields?: string[];
|
|
20
|
+
}
|
|
21
|
+
/** What `@onChange` receives: a parsed query, or the parse error. */
|
|
22
|
+
export type EuiSearchBarOnChangeArgs = {
|
|
23
|
+
query: Query;
|
|
24
|
+
queryText: string;
|
|
25
|
+
error: null;
|
|
26
|
+
} | {
|
|
27
|
+
query: null;
|
|
28
|
+
queryText: string;
|
|
29
|
+
error: null;
|
|
30
|
+
} | {
|
|
31
|
+
query: null;
|
|
32
|
+
queryText: string;
|
|
33
|
+
error: Error;
|
|
34
|
+
};
|
|
35
|
+
/** The hint below the search field (upstream `hint`). */
|
|
36
|
+
export interface EuiSearchBarHint {
|
|
37
|
+
/** Text of the hint; use the `<:hint>` block for markup. */
|
|
38
|
+
content?: string;
|
|
39
|
+
/** Popover options; `isOpen` + `closePopover` control it yourself. */
|
|
40
|
+
popoverProps?: EuiSearchBoxHintPopoverProps;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* A search field parsing an EQL-like query (`text field:value is:flag
|
|
44
|
+
* -excluded (a or b)`) into a `Query`, with optional filter buttons and
|
|
45
|
+
* tools around it.
|
|
46
|
+
*/
|
|
47
|
+
export interface EuiSearchBarSignature {
|
|
48
|
+
Element: EuiFlexGroupSignature['Element'];
|
|
49
|
+
Args: {
|
|
50
|
+
/**
|
|
51
|
+
* Called with `{ query, queryText, error }` when the query text or
|
|
52
|
+
* its parse error changes.
|
|
53
|
+
*/
|
|
54
|
+
onChange?: (args: EuiSearchBarOnChangeArgs) => void | boolean;
|
|
55
|
+
/** The initial query (a `Query` or text). */
|
|
56
|
+
defaultQuery?: QueryType;
|
|
57
|
+
/**
|
|
58
|
+
* Controlled query: when its text differs from the bar's, the bar
|
|
59
|
+
* resets to it.
|
|
60
|
+
*/
|
|
61
|
+
query?: QueryType;
|
|
62
|
+
/**
|
|
63
|
+
* The search field: `{ placeholder, incremental, schema, isClearable,
|
|
64
|
+
* isLoading, compressed, fullWidth, 'aria-label', 'data-test-subj', … }`.
|
|
65
|
+
*/
|
|
66
|
+
box?: EuiSearchBoxOptions;
|
|
67
|
+
/** The filter configs, rendered in an `EuiFilterGroup`. */
|
|
68
|
+
filters?: SearchFilterConfig[];
|
|
69
|
+
/** Date format used to parse date values (upstream `dateFormat`). */
|
|
70
|
+
dateFormat?: object;
|
|
71
|
+
/** A hint shown below the field while it has focus. */
|
|
72
|
+
hint?: EuiSearchBarHint;
|
|
73
|
+
/** Shorter field and filters. */
|
|
74
|
+
compressed?: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Shows a tooltip with the parse error of an invalid query. With
|
|
77
|
+
* `false`, surface and announce parse errors yourself. Defaults to
|
|
78
|
+
* `true`.
|
|
79
|
+
*/
|
|
80
|
+
showErrorTooltip?: boolean;
|
|
81
|
+
/** Styles composed last into the root flex group's class. */
|
|
82
|
+
css?: EuiCss;
|
|
83
|
+
/** @private Whether the caller's `<:toolsLeft>` block exists (when forwarding it). */
|
|
84
|
+
hasToolsLeftBlock?: boolean;
|
|
85
|
+
/** @private Whether the caller's `<:toolsRight>` block exists (when forwarding it). */
|
|
86
|
+
hasToolsRightBlock?: boolean;
|
|
87
|
+
/** @private Whether the caller's `<:hint>` block exists (when forwarding it). */
|
|
88
|
+
hasHintBlock?: boolean;
|
|
89
|
+
};
|
|
90
|
+
Blocks: {
|
|
91
|
+
/** Tools left of the field (in a non-growing flex item). */
|
|
92
|
+
toolsLeft: [];
|
|
93
|
+
/** Tools right of the filters (in a non-growing flex item). */
|
|
94
|
+
toolsRight: [];
|
|
95
|
+
/** The hint's content (instead of `@hint.content`). */
|
|
96
|
+
hint: [];
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
interface State {
|
|
100
|
+
query: Query;
|
|
101
|
+
queryText: string;
|
|
102
|
+
error: null | Error;
|
|
103
|
+
}
|
|
104
|
+
export default class EuiSearchBar extends Component<EuiSearchBarSignature> {
|
|
105
|
+
static Query: typeof Query;
|
|
106
|
+
hintId: string;
|
|
107
|
+
/** Upstream state; `stateVersion` makes reads of it tracked. */
|
|
108
|
+
private _state;
|
|
109
|
+
private prevArgsQuery;
|
|
110
|
+
private stateVersion;
|
|
111
|
+
isHintVisibleState: boolean;
|
|
112
|
+
constructor(owner: Owner, args: EuiSearchBarSignature['Args']);
|
|
113
|
+
parseQuery(query: QueryType | undefined): Query;
|
|
114
|
+
/**
|
|
115
|
+
* Upstream derives the state from a changed `query` prop while
|
|
116
|
+
* rendering (`getDerivedStateFromProps`-like); the untracked fields it
|
|
117
|
+
* updates are only read through this getter.
|
|
118
|
+
*/
|
|
119
|
+
get state(): State;
|
|
120
|
+
private deriveStateFromArgs;
|
|
121
|
+
setState(state: State): void;
|
|
122
|
+
onSearch(newQueryText: string): void;
|
|
123
|
+
onFiltersChange(newQuery: Query): void;
|
|
124
|
+
get showErrorTooltip(): boolean;
|
|
125
|
+
get isHintVisible(): boolean;
|
|
126
|
+
get describedBy(): string | undefined;
|
|
127
|
+
setIsHintVisible: (isVisible: boolean) => void;
|
|
128
|
+
get hint(): EuiSearchBoxHint | undefined;
|
|
129
|
+
get styles(): {
|
|
130
|
+
searchHolder: import("@emotion/serialize").SerializedStyles;
|
|
131
|
+
filtersHolder: import("@emotion/serialize").SerializedStyles;
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
//# sourceMappingURL=eui-search-bar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-search-bar.d.ts","sourceRoot":"","sources":["../../src/components/eui-search-bar.gts"],"names":[],"mappings":"AAiXA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAW3C,OAAO,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAOzD,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,KAAK,EACV,gBAAgB,EAChB,4BAA4B,EAC5B,mBAAmB,EACpB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EAAE,KAAK,EAAE,GAAG,IAAI,GAAG,EAAE,CAAC;AAC7B,YAAY,EACV,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,EACnB,MAAM,2BAA2B,CAAC;AACnC,YAAY,EACV,mBAAmB,EACnB,4BAA4B,EAC7B,MAAM,qCAAqC,CAAC;AAE7C,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,MAAM,CAAC;AAEvC,yCAAyC;AACzC,MAAM,WAAW,UAAU;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,8DAA8D;IAC9D,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC7B;AAED,qEAAqE;AACrE,MAAM,MAAM,wBAAwB,GAChC;IAAE,KAAK,EAAE,KAAK,CAAC;IAAC,SAAS,E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
import Component from '@glimmer/component';
|
|
2
|
+
import type { EuiSelectableTruncationProps } from '../../-private/selectable-options.ts';
|
|
3
|
+
interface Signature {
|
|
4
|
+
Args: {
|
|
5
|
+
/** The option's label. */
|
|
6
|
+
text: string;
|
|
7
|
+
/** The search, highlighted when `@highlight` is set. */
|
|
8
|
+
search: string;
|
|
9
|
+
/** Highlight the search (upstream `highlightSearch`). */
|
|
10
|
+
highlight: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* EuiTextTruncate arguments (with the shared `width`), or nothing for
|
|
13
|
+
* CSS truncation / wrapping (upstream `getTruncationProps`).
|
|
14
|
+
*/
|
|
15
|
+
truncationProps?: EuiSelectableTruncationProps;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @private The default label of an EuiSelectableList option, upstream
|
|
20
|
+
* `renderSearchedText` / `renderTruncatedText`: plain text by default,
|
|
21
|
+
* EuiTextTruncate with `truncationProps`, and while searching the match is
|
|
22
|
+
* highlighted and kept visible (`startEnd` truncation around it).
|
|
23
|
+
*/
|
|
24
|
+
export default class EuiSelectableOptionText extends Component<Signature> {
|
|
25
|
+
/** Upstream `searchPositionCenter`. */
|
|
26
|
+
get truncationPosition(): number;
|
|
27
|
+
/** Shorter truncated text than the search: mark all of it (upstream). */
|
|
28
|
+
isShort: (text: string) => boolean;
|
|
29
|
+
}
|
|
30
|
+
export {};
|
|
31
|
+
//# sourceMappingURL=option-text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"option-text.d.ts","sourceRoot":"","sources":["../../../src/components/eui-selectable-list/option-text.gts"],"names":[],"mappings":"AAmFA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAM3C,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AAEzF,UAAU,SAAS;IACjB,IAAI,EAAE;QACJ,0BAA0B;QAC1B,IAAI,EAAE,MAAM,CAAC;QACb,wDAAwD;QACxD,MAAM,EAAE,MAAM,CAAC;QACf,yDAAyD;QACzD,SAAS,EAAE,OAAO,CAAC;QACnB;;;WAGG;QACH,eAAe,CAAC,EAAE,4BAA4B,CAAC;KAChD,CAAC;CACH;AAED;;;;;GAKG;AACH,MAAM,CAAC,OAAO,OAAO,uBAAwB,SAAQ,SAAS,CAAC,SAAS,CAAC;IACvE,uCAAuC;IACvC,IAAI,kBAAkB,IAAI,MAAM,CAK/B;IAED,yEAAyE;IACzE,OAAO,GAAI,MAAM,MAAM,aAA2C;CA8DnE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-side-nav.d.ts","sourceRoot":"","sources":["../../src/components/eui-side-nav.gts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"eui-side-nav.d.ts","sourceRoot":"","sources":["../../src/components/eui-side-nav.gts"],"names":[],"mappings":"AA0RA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAkB3C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,MAAM,WAAW,IAAI;IACnB,kDAAkD;IAClD,EAAE,EAAE,MAAM,CAAC;IACX,kEAAkE;IAClE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qDAAqD;IACrD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,6BAA6B;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,0BAA0B;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yBAAyB;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,4BAA4B;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;IACf,8BAA8B;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uBAAuB;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,iCAAiC;IACjC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,qEAAqE;IAC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;IAED,IAAI,gBAAgB,YAEnB;CAkQF"}
|
|
@@ -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
|
+
/** `'s'` (24px), `'m'` (32px), `'l'` (40px), `'xl'` (64px) at Borealis defaults. */
|
|
5
|
+
export type EuiSkeletonCircleSize = 's' | 'm' | 'l' | 'xl';
|
|
6
|
+
/**
|
|
7
|
+
* A round placeholder, e.g. for an avatar, swapped for its block once
|
|
8
|
+
* loaded.
|
|
9
|
+
*/
|
|
10
|
+
export interface EuiSkeletonCircleSignature {
|
|
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
|
+
* `'s'`, `'m'`, `'l'` or `'xl'` (theme sizes l, xl, xxl and 4 × base).
|
|
48
|
+
* Defaults to `'m'`.
|
|
49
|
+
*/
|
|
50
|
+
size?: EuiSkeletonCircleSize;
|
|
51
|
+
};
|
|
52
|
+
Blocks: {
|
|
53
|
+
/** The loaded content. */
|
|
54
|
+
default: [];
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
export default class EuiSkeletonCircle extends Component<EuiSkeletonCircleSignature> {
|
|
58
|
+
get classes(): string;
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=eui-skeleton-circle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-skeleton-circle.d.ts","sourceRoot":"","sources":["../../src/components/eui-skeleton-circle.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,oFAAoF;AACpF,MAAM,MAAM,qBAAqB,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;AAE3D;;;GAGG;AACH,MAAM,WAAW,0BAA0B;IACzC,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;;;WAGG;QACH,IAAI,CAAC,EAAE,qBAAqB,CAAC;KAC9B,CAAC;IACF,MAAM,EAAE;QACN,0BAA0B;QAC1B,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,SAAS,CAAC,0BAA0B,CAAC;IAClF,IACI,OAAO,WASV;CAoCF"}
|