@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,21 @@
|
|
|
1
|
+
import type { EuiBorealisContext } from './theme.ts';
|
|
2
|
+
import type { SerializedStyles } from '@emotion/serialize';
|
|
3
|
+
export declare const euiButtonGroupButtonStyles: (euiThemeContext: EuiBorealisContext) => {
|
|
4
|
+
euiButtonGroupButton: SerializedStyles;
|
|
5
|
+
iconOnly: {
|
|
6
|
+
iconOnly: SerializedStyles;
|
|
7
|
+
s: string;
|
|
8
|
+
m: string;
|
|
9
|
+
};
|
|
10
|
+
s: SerializedStyles;
|
|
11
|
+
m: SerializedStyles;
|
|
12
|
+
isSelected: SerializedStyles;
|
|
13
|
+
disabledAndSelected: SerializedStyles;
|
|
14
|
+
tooltipWrapper: SerializedStyles;
|
|
15
|
+
text: {
|
|
16
|
+
euiButtonGroupButton__text: SerializedStyles;
|
|
17
|
+
euiButtonGroupButton__iconOnly: SerializedStyles;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export declare const _compressedButtonFocusColors: (euiThemeContext: EuiBorealisContext) => Record<string, SerializedStyles>;
|
|
21
|
+
//# sourceMappingURL=buttons-misc.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buttons-misc.d.ts","sourceRoot":"","sources":["../../../src/utils/eui/buttons-misc.ts"],"names":[],"mappings":"AAiCA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAcrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAmB3D,eAAO,MAAM,0BAA0B,GACrC,iBAAiB,kBAAkB;;;;;;;;;;;;;;;;CAuIpC,CAAC;AAEF,eAAO,MAAM,4BAA4B,GACvC,iBAAiB,kBAAkB,KAClC,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAcjC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { SerializedStyles } from '@emotion/serialize';
|
|
2
|
+
import type { EuiBorealisContext } from './theme.ts';
|
|
3
|
+
/** Upstream `euiCodeBlockLineStyles`. */
|
|
4
|
+
export declare function euiCodeBlockLineStyles(euiThemeContext: EuiBorealisContext): {
|
|
5
|
+
euiCodeBlock__line: SerializedStyles;
|
|
6
|
+
hasLineNumbers: SerializedStyles;
|
|
7
|
+
lineText: {
|
|
8
|
+
euiCodeBlock__lineText: SerializedStyles;
|
|
9
|
+
isHighlighted: SerializedStyles;
|
|
10
|
+
};
|
|
11
|
+
lineNumber: {
|
|
12
|
+
euiCodeBlock__lineNumberWrapper: SerializedStyles;
|
|
13
|
+
euiCodeBlock__lineNumber: SerializedStyles;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=code-block.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"code-block.d.ts","sourceRoot":"","sources":["../../../src/utils/eui/code-block.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAUrD,yCAAyC;AACzC,wBAAgB,sBAAsB,CAAC,eAAe,EAAE,kBAAkB;;;;;;;;;;;EAwDzE"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { EuiBorealisContext } from './theme.ts';
|
|
2
|
+
import type { CSSObject } from '@emotion/css/create-instance';
|
|
3
|
+
/** React global `button` reset (upstream `resetStyles`), composed first. */
|
|
4
|
+
export declare const buttonReset: CSSObject;
|
|
5
|
+
/** React global `ul` reset (margin, padding, list style). */
|
|
6
|
+
export declare const listReset: CSSObject;
|
|
7
|
+
/** React global `input` reset (margin, padding) plus `*` box sizing. */
|
|
8
|
+
export declare const inputReset: CSSObject;
|
|
9
|
+
/** React global `*` box sizing for a wrapper and its descendants. */
|
|
10
|
+
export declare const boxReset: CSSObject;
|
|
11
|
+
/** EUI 88.5.4 `euiColorPickerVariables().width`: 5 swatches and 4 gaps. */
|
|
12
|
+
export declare const euiColorPickerWidth: ({ euiTheme }: EuiBorealisContext) => string;
|
|
13
|
+
/** EUI 88.5.4 `euiColorStopsStyles` on the 123.1.0 range variables. */
|
|
14
|
+
export declare const euiColorStopsStyles: (euiThemeContext: EuiBorealisContext) => {
|
|
15
|
+
euiColorStops: import("@emotion/serialize").SerializedStyles;
|
|
16
|
+
isEnabled: import("@emotion/serialize").SerializedStyles;
|
|
17
|
+
isDisabled: import("@emotion/serialize").SerializedStyles;
|
|
18
|
+
isReadOnly: import("@emotion/serialize").SerializedStyles;
|
|
19
|
+
isDragging: import("@emotion/serialize").SerializedStyles;
|
|
20
|
+
euiColorStops__track: import("@emotion/serialize").SerializedStyles;
|
|
21
|
+
euiColorStops__addTarget: import("@emotion/serialize").SerializedStyles;
|
|
22
|
+
};
|
|
23
|
+
/** EUI 88.5.4 `euiColorStopsAddContainerStyles`. */
|
|
24
|
+
export declare const euiColorStopsAddContainerStyles: (euiThemeContext: EuiBorealisContext) => {
|
|
25
|
+
euiColorStopsAddContainer: import("@emotion/serialize").SerializedStyles;
|
|
26
|
+
isEnabled: import("@emotion/serialize").SerializedStyles;
|
|
27
|
+
isDisabled: import("@emotion/serialize").SerializedStyles;
|
|
28
|
+
};
|
|
29
|
+
/** EUI 88.5.4 `euiColorStopThumbStyles` (composed after `euiRangeThumbStyles`). */
|
|
30
|
+
export declare const euiColorStopThumbStyles: (euiThemeContext: EuiBorealisContext) => {
|
|
31
|
+
euiColorStopThumb: import("@emotion/serialize").SerializedStyles;
|
|
32
|
+
isPopoverOpen: import("@emotion/serialize").SerializedStyles;
|
|
33
|
+
};
|
|
34
|
+
/** EUI 88.5.4 `euiColorStopThumbPopoverStyles` (the popover root). */
|
|
35
|
+
export declare const euiColorStopThumbPopoverStyles: (euiThemeContext: EuiBorealisContext) => {
|
|
36
|
+
euiColorStopThumbPopover: import("@emotion/serialize").SerializedStyles;
|
|
37
|
+
hasFocus: import("@emotion/serialize").SerializedStyles;
|
|
38
|
+
};
|
|
39
|
+
/** EUI 88.5.4 `euiColorStopStyles` (the edit form in the popover). */
|
|
40
|
+
export declare const euiColorStopStyles: (euiThemeContext: EuiBorealisContext) => {
|
|
41
|
+
euiColorStop: import("@emotion/serialize").SerializedStyles;
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=color-picker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"color-picker.d.ts","sourceRoot":"","sources":["../../../src/utils/eui/color-picker.ts"],"names":[],"mappings":"AAqCA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAY9D,4EAA4E;AAC5E,eAAO,MAAM,WAAW,EAAE,SASzB,CAAC;AAEF,6DAA6D;AAC7D,eAAO,MAAM,SAAS,EAAE,SAIvB,CAAC;AAEF,wEAAwE;AACxE,eAAO,MAAM,UAAU,EAAE,SAIxB,CAAC;AAEF,qEAAqE;AACrE,eAAO,MAAM,QAAQ,EAAE,SAGtB,CAAC;AAEF,2EAA2E;AAC3E,eAAO,MAAM,mBAAmB,GAAI,cAAc,kBAAkB,WAIjE,CAAC;AAEJ,uEAAuE;AACvE,eAAO,MAAM,mBAAmB,GAAI,iBAAiB,kBAAkB;;;;;;;;CAyDtE,CAAC;AAEF,oDAAoD;AACpD,eAAO,MAAM,+BAA+B,GAC1C,iBAAiB,kBAAkB;;;;CAkBpC,CAAC;AAEF,mFAAmF;AACnF,eAAO,MAAM,uBAAuB,GAAI,iBAAiB,kBAAkB;;;CAQzE,CAAC;AAEH,sEAAsE;AACtE,eAAO,MAAM,8BAA8B,GACzC,iBAAiB,kBAAkB;;;CAwBpC,CAAC;AAEF,sEAAsE;AACtE,eAAO,MAAM,kBAAkB,GAAI,iBAAiB,kBAAkB;;CAMpE,CAAC"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Combo box helpers. The group label style port it needs is shared with
|
|
3
|
+
* EuiSelectableList (`utils/eui/selectable.ts`).
|
|
4
|
+
*/
|
|
5
|
+
import type { CSSObject } from '@emotion/css/create-instance';
|
|
6
|
+
/**
|
|
7
|
+
* Ember has no React global reset: box sizing for the combo box's own
|
|
8
|
+
* elements (upstream `*` reset) and the list's `button`-free rows.
|
|
9
|
+
*/
|
|
10
|
+
export declare const comboBoxBoxReset: CSSObject;
|
|
11
|
+
/** The text of an option: strings as they are, else `label` (or `@searchField`). */
|
|
12
|
+
export declare function comboBoxOptionLabel(option: unknown, searchField?: string): string;
|
|
13
|
+
/** Upstream `SortMatchesBy`. */
|
|
14
|
+
export type EuiComboBoxSortMatchesBy = 'none' | 'startsWith';
|
|
15
|
+
/** Upstream `transformForCaseSensitivity`. */
|
|
16
|
+
export declare const transformForCaseSensitivity: (text: string, isCaseSensitive?: boolean) => string;
|
|
17
|
+
/**
|
|
18
|
+
* A group: upstream's `{ label, options }` or ember-power-select's
|
|
19
|
+
* `{ groupName, options }`.
|
|
20
|
+
*/
|
|
21
|
+
export declare const isComboBoxGroup: (option: unknown) => option is {
|
|
22
|
+
options: unknown[];
|
|
23
|
+
groupName?: string;
|
|
24
|
+
label?: string;
|
|
25
|
+
};
|
|
26
|
+
/** The title of a group (`groupName`, else upstream's `label`). */
|
|
27
|
+
export declare const comboBoxGroupLabel: (group: {
|
|
28
|
+
groupName?: string;
|
|
29
|
+
label?: string;
|
|
30
|
+
}) => string;
|
|
31
|
+
/** Upstream `flattenOptionGroups`: the options of groups, in one list. */
|
|
32
|
+
export declare function flattenOptionGroups(options: readonly unknown[]): unknown[];
|
|
33
|
+
/** Upstream `EuiComboBoxOptionMatcherArgs`. */
|
|
34
|
+
export interface EuiComboBoxOptionMatcherArgs {
|
|
35
|
+
/** The option being matched. */
|
|
36
|
+
option: any;
|
|
37
|
+
/** The search text, as typed. */
|
|
38
|
+
searchValue: string;
|
|
39
|
+
/** The search text trimmed, and lower case unless case-sensitive. */
|
|
40
|
+
normalizedSearchValue: string;
|
|
41
|
+
/** Whether matching is case-sensitive. */
|
|
42
|
+
isCaseSensitive: boolean;
|
|
43
|
+
}
|
|
44
|
+
/** Upstream `EuiComboBoxOptionMatcher`: `true` when the option matches. */
|
|
45
|
+
export type EuiComboBoxOptionMatcher = (args: EuiComboBoxOptionMatcherArgs) => boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Upstream `createPartialStringEqualityOptionMatcher`: options whose label
|
|
48
|
+
* (trimmed) includes the normalized search text.
|
|
49
|
+
*/
|
|
50
|
+
export declare function createPartialStringEqualityOptionMatcher(searchField?: string): EuiComboBoxOptionMatcher;
|
|
51
|
+
/**
|
|
52
|
+
* Upstream's "already selected" test of `getMatchingOptions`: a selected
|
|
53
|
+
* option has the same label (case per `isCaseSensitive`) and, when the
|
|
54
|
+
* option has a `key`, the same key. The same object always is.
|
|
55
|
+
*/
|
|
56
|
+
export declare function isComboBoxOptionSelected(option: unknown, selectedOptions: readonly unknown[], searchField?: string, isCaseSensitive?: boolean): boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Upstream single selection check mark: the selected option has the same
|
|
59
|
+
* label and key (or is the same object).
|
|
60
|
+
*/
|
|
61
|
+
export declare function isComboBoxOptionChecked(option: unknown, selectedOptions: readonly unknown[] | undefined, searchField?: string): boolean;
|
|
62
|
+
interface GetMatchingOptions {
|
|
63
|
+
options: readonly unknown[];
|
|
64
|
+
selectedOptions: readonly unknown[];
|
|
65
|
+
searchValue: string;
|
|
66
|
+
optionMatcher: EuiComboBoxOptionMatcher;
|
|
67
|
+
searchField?: string;
|
|
68
|
+
isCaseSensitive?: boolean;
|
|
69
|
+
isPreFiltered?: boolean;
|
|
70
|
+
showPrevSelected?: boolean;
|
|
71
|
+
sortMatchesBy?: EuiComboBoxSortMatchesBy;
|
|
72
|
+
}
|
|
73
|
+
/** A group title in the flat list of matches (upstream `isGroupLabelOption`). */
|
|
74
|
+
export interface ComboBoxGroupLabel {
|
|
75
|
+
isGroupLabelOption: true;
|
|
76
|
+
group: {
|
|
77
|
+
options: unknown[];
|
|
78
|
+
groupName?: string;
|
|
79
|
+
label?: string;
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
export declare const isComboBoxGroupLabel: (entry: unknown) => entry is ComboBoxGroupLabel;
|
|
83
|
+
/**
|
|
84
|
+
* Upstream `getMatchingOptions`, as a flat list with group titles: the
|
|
85
|
+
* options (not yet selected, unless `showPrevSelected`) matching the search
|
|
86
|
+
* text, groups with matches preceded by their title, and with
|
|
87
|
+
* `sortMatchesBy: 'startsWith'` the entries (titles included) whose label
|
|
88
|
+
* starts with the search text first.
|
|
89
|
+
*/
|
|
90
|
+
export declare function getMatchingEntries({ options, selectedOptions, searchValue, optionMatcher, searchField, isCaseSensitive, isPreFiltered, showPrevSelected, sortMatchesBy }: GetMatchingOptions): unknown[];
|
|
91
|
+
/**
|
|
92
|
+
* The flat list of matches as ember-power-select options: every option
|
|
93
|
+
* after a group title belongs to that group (as rendered upstream), the
|
|
94
|
+
* others are top level. Groups are copies with the matching options (and a
|
|
95
|
+
* `groupName`), the options themselves are never copied.
|
|
96
|
+
*/
|
|
97
|
+
export declare function entriesToPowerSelectOptions(entries: readonly unknown[]): unknown[];
|
|
98
|
+
/**
|
|
99
|
+
* Groups and their options in one list (group objects included), the rows
|
|
100
|
+
* of EuiComboBox's list and upstream's `matchingOptions` order.
|
|
101
|
+
*/
|
|
102
|
+
export declare function flattenComboBoxRows(options: readonly unknown[]): unknown[];
|
|
103
|
+
/** An option that can be highlighted or chosen (not a group, not disabled). */
|
|
104
|
+
export declare const isSelectableRow: (row: unknown, group?: unknown) => boolean;
|
|
105
|
+
/**
|
|
106
|
+
* Upstream `findNextSelectableOptionIndex`: from `startIndex`, the first
|
|
107
|
+
* selectable row in `direction`, wrapping around; `-1` when none.
|
|
108
|
+
*/
|
|
109
|
+
export declare function findNextSelectableIndex(rows: readonly unknown[], selectable: (index: number) => boolean, startIndex: number, direction?: 1 | -1): number;
|
|
110
|
+
/**
|
|
111
|
+
* Upstream `getSelectedOptionForSearchValue`: the selected option whose
|
|
112
|
+
* label equals the text.
|
|
113
|
+
*/
|
|
114
|
+
export declare function selectedOptionForSearchValue(selectedOptions: readonly unknown[], searchValue: string, searchField: string | undefined, isCaseSensitive?: boolean): unknown;
|
|
115
|
+
/**
|
|
116
|
+
* Upstream `EuiComboBoxOptionAppendPrepend` spacing: margin between an
|
|
117
|
+
* option's `prepend` / `append` and its text, with block icons so they
|
|
118
|
+
* align with the text.
|
|
119
|
+
*/
|
|
120
|
+
export declare function comboBoxAppendPrependStyles(margin: string): {
|
|
121
|
+
prepend: CSSObject;
|
|
122
|
+
append: CSSObject;
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* Option `prepend` / `append` and EuiComboBox's `@prepend` / `@append`:
|
|
126
|
+
* text, or a component (rendered with the option as `@option`).
|
|
127
|
+
*/
|
|
128
|
+
export declare const isTextNode: (value: unknown) => boolean;
|
|
129
|
+
export {};
|
|
130
|
+
//# sourceMappingURL=combo-box.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combo-box.d.ts","sourceRoot":"","sources":["../../../src/utils/eui/combo-box.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAE9D;;;GAGG;AACH,eAAO,MAAM,gBAAgB,EAAE,SAG9B,CAAC;AAEF,oFAAoF;AACpF,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,OAAO,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAajF;AAUD,gCAAgC;AAChC,MAAM,MAAM,wBAAwB,GAAG,MAAM,GAAG,YAAY,CAAC;AAE7D,8CAA8C;AAC9C,eAAO,MAAM,2BAA2B,GACtC,MAAM,MAAM,EACZ,kBAAkB,OAAO,KACxB,MAAuD,CAAC;AAE3D;;;GAG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ClB,SAAS,GAAE,CAAC,GAAG,CAAC,CAAK,GACpB,MAAM,CAYR;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,CAC1C,eAAe,EAAE,SAAS,OAAO,EAAE,EACnC,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,eAAe,CAAC,EAAE,OAAO,GACxB,OAAO,CAUT;AAED;;;;GAIG;AACH,wBAAgB,2BAA2B,CACzC,MAAM,EAAE,MAAM,GACb;IAAE,OAAO,EAAE,SAAS,CAAC;IAAC,MAAM,EAAE,SAAS,CAAA;CAAE,CAO3C;AAED;;;GAGG;AACH,eAAO,MAAM,UAAU,GAAI,OAAO,OAAO,KAAG,OAMqB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { CSSInterpolation } from '@emotion/css/create-instance';
|
|
2
|
+
import type { EuiThemeContext } from '../emotion/context.ts';
|
|
3
|
+
export interface EuiPanelSurfaceOptions {
|
|
4
|
+
color: string;
|
|
5
|
+
hasBorder: boolean;
|
|
6
|
+
borderRadius: 'none' | 'm';
|
|
7
|
+
grow: boolean;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* EuiPanel's surface (`paddingSize="none"`, no shadow) plus its scoped reset,
|
|
11
|
+
* in upstream's order. Factories go through `useEuiBorealisStyles`.
|
|
12
|
+
*/
|
|
13
|
+
export declare function euiPanelSurfaceCss(context: EuiThemeContext, { color, hasBorder, borderRadius, grow }: EuiPanelSurfaceOptions): CSSInterpolation[];
|
|
14
|
+
//# sourceMappingURL=content-blocks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"content-blocks.d.ts","sourceRoot":"","sources":["../../../src/utils/eui/content-blocks.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,gBAAgB,EAAa,MAAM,8BAA8B,CAAC;AAChF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,MAAM,GAAG,GAAG,CAAC;IAC3B,IAAI,EAAE,OAAO,CAAC;CACf;AAcD;;;GAGG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,eAAe,EACxB,EAAE,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,IAAI,EAAE,EAAE,sBAAsB,GAC/D,gBAAgB,EAAE,CAkBpB"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { SerializedStyles } from '@emotion/serialize';
|
|
2
|
+
import type { EuiBorealisContext } from './theme.ts';
|
|
3
|
+
export declare const CONTROL_BAR_SIZES: readonly ["s", "m", "l"];
|
|
4
|
+
export type EuiControlBarSize = (typeof CONTROL_BAR_SIZES)[number];
|
|
5
|
+
export declare const CONTROL_BAR_POSITIONS: readonly ["fixed", "absolute", "relative"];
|
|
6
|
+
export type EuiControlBarPosition = (typeof CONTROL_BAR_POSITIONS)[number];
|
|
7
|
+
/** `$euiControlBarInitialHeight`, `$euiControlBarMaxHeight`, `$euiControlBarHeights`. */
|
|
8
|
+
export declare const euiControlBarVariables: ({ euiTheme }: EuiBorealisContext) => {
|
|
9
|
+
initialHeight: string;
|
|
10
|
+
maxHeight: string;
|
|
11
|
+
heights: Record<EuiControlBarSize, string>;
|
|
12
|
+
};
|
|
13
|
+
/** The bar, controls and control types; call it with the bar's (dark) theme. */
|
|
14
|
+
export declare const euiControlBarStyles: (euiThemeContext: EuiBorealisContext) => {
|
|
15
|
+
euiControlBar: SerializedStyles;
|
|
16
|
+
showOnMobile: SerializedStyles;
|
|
17
|
+
fixed: SerializedStyles;
|
|
18
|
+
absolute: SerializedStyles;
|
|
19
|
+
relative: SerializedStyles;
|
|
20
|
+
open: Record<EuiControlBarSize, SerializedStyles>;
|
|
21
|
+
euiControlBar__controls: SerializedStyles;
|
|
22
|
+
euiControlBar__icon: SerializedStyles;
|
|
23
|
+
euiControlBar__buttonIcon: SerializedStyles;
|
|
24
|
+
euiControlBar__spacer: SerializedStyles;
|
|
25
|
+
euiControlBar__divider: SerializedStyles;
|
|
26
|
+
euiControlBar__text: SerializedStyles;
|
|
27
|
+
euiControlBar__tab: SerializedStyles;
|
|
28
|
+
};
|
|
29
|
+
/** Parts styled with the page (surrounding) theme. */
|
|
30
|
+
export declare const euiControlBarPageStyles: (euiThemeContext: EuiBorealisContext) => {
|
|
31
|
+
/** On the bar: the page color its flicker-guard shadow shows. */
|
|
32
|
+
pageBackground: SerializedStyles;
|
|
33
|
+
euiControlBar__content: SerializedStyles;
|
|
34
|
+
activeTab: SerializedStyles;
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=control-bar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"control-bar.d.ts","sourceRoot":"","sources":["../../../src/utils/eui/control-bar.ts"],"names":[],"mappings":"AA2DA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAmBrD,eAAO,MAAM,iBAAiB,0BAA2B,CAAC;AAC1D,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEnE,eAAO,MAAM,qBAAqB,4CAA6C,CAAC;AAChF,MAAM,MAAM,qBAAqB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE3E,yFAAyF;AACzF,eAAO,MAAM,sBAAsB,GAAI,cAAc,kBAAkB;;;aAS9D,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAAC;CAEzC,CAAC;AAEF,gFAAgF;AAChF,eAAO,MAAM,mBAAmB,GAAI,iBAAiB,kBAAkB;;;;;;UAgF9D,MAAM,CAAC,iBAAiB,EAAE,gBAAgB,CAAC;;;;;;;;CA4EnD,CAAC;AAEF,sDAAsD;AACtD,eAAO,MAAM,uBAAuB,GAAI,iBAAiB,kBAAkB;IAKvE,iEAAiE;;;;CAuCpE,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { EuiBorealisContext } from './theme.ts';
|
|
2
|
+
/**
|
|
3
|
+
* Theme tokens as CSS custom properties, so plain app CSS can follow the
|
|
4
|
+
* nearest provider's color mode, high contrast mode and overrides.
|
|
5
|
+
*
|
|
6
|
+
* Upstream EUI 123.1.0 has no token-level CSS variables (only per-component
|
|
7
|
+
* ones such as `--euiFixedHeadersOffset`), so the names are Ember EUI's own,
|
|
8
|
+
* derived deterministically from the token path:
|
|
9
|
+
*
|
|
10
|
+
* - `--eui-` + the path segments in kebab case joined by `-`;
|
|
11
|
+
* - the `colors` group is singular: `colors.textSubdued` →
|
|
12
|
+
* `--eui-color-text-subdued`, `colors.severity.danger` →
|
|
13
|
+
* `--eui-color-severity-danger`;
|
|
14
|
+
* - `size.s` → `--eui-size-s`, `border.radius.medium` →
|
|
15
|
+
* `--eui-border-radius-medium`, `font.familyCode` → `--eui-font-family-code`;
|
|
16
|
+
* - font sizes are computed like upstream `euiFontSize(theme, scale)`:
|
|
17
|
+
* `--eui-font-size-s`, `--eui-line-height-s` (rem, relative to the root
|
|
18
|
+
* font size the root provider sets).
|
|
19
|
+
*
|
|
20
|
+
* Published groups: every string color (plus `colors.severity`; `colors.vis`
|
|
21
|
+
* is left out), `size`, `border`, `font` families/feature settings/weights,
|
|
22
|
+
* the font size scale, `focus` color/width and `animation`.
|
|
23
|
+
*/
|
|
24
|
+
export type EuiCssVariables = Record<string, string>;
|
|
25
|
+
/** `'colors.textSubdued'` → `'--eui-color-text-subdued'`. */
|
|
26
|
+
export declare function euiCssVariableName(path: string): string;
|
|
27
|
+
/**
|
|
28
|
+
* `var(--eui-…)` for a token path, e.g. `euiCssVar('colors.textSubdued')`.
|
|
29
|
+
* Usable in JS style objects and, as a plain function helper, in templates.
|
|
30
|
+
*/
|
|
31
|
+
export declare function euiCssVar(path: string, fallback?: string): string;
|
|
32
|
+
/** The variables for one resolved theme; memoize with `memoizedStyles`. */
|
|
33
|
+
export declare function euiThemeCssVariables({ euiTheme }: EuiBorealisContext): EuiCssVariables;
|
|
34
|
+
//# sourceMappingURL=css-variables.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css-variables.d.ts","sourceRoot":"","sources":["../../../src/utils/eui/css-variables.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAOrD,6DAA6D;AAC7D,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAIvD;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAGjE;AAiBD,2EAA2E;AAC3E,wBAAgB,oBAAoB,CAAC,EACnC,QAAQ,EACT,EAAE,kBAAkB,GAAG,eAAe,CAkCtC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { EuiBorealisContext } from './theme.ts';
|
|
2
|
+
import type { SerializedStyles } from '@emotion/serialize';
|
|
3
|
+
/** `fullscreen_selector.styles.js` */
|
|
4
|
+
export declare const euiDataGridFullScreenStyles: (euiThemeContext: EuiBorealisContext) => {
|
|
5
|
+
"euiDataGrid--fullScreen": SerializedStyles;
|
|
6
|
+
euiDataGrid__restrictBody: SerializedStyles;
|
|
7
|
+
};
|
|
8
|
+
/** `data_grid_toolbar_control.js` `interactiveStyles` and `badgeStyles`. */
|
|
9
|
+
export declare const euiDataGridToolbarControlStyles: ({ euiTheme }: EuiBorealisContext) => {
|
|
10
|
+
interactive: SerializedStyles;
|
|
11
|
+
badge: SerializedStyles;
|
|
12
|
+
};
|
|
13
|
+
/** `display_selector.js`: the row height button group's flex basis. */
|
|
14
|
+
export declare const euiDataGridRowHeightControlStyles: SerializedStyles;
|
|
15
|
+
/**
|
|
16
|
+
* `display_selector.js`: the display popover panel is the form max width
|
|
17
|
+
* (`euiFormMaxWidth`) plus the `s` panel padding on both sides.
|
|
18
|
+
*/
|
|
19
|
+
export declare const euiDataGridDisplayPopoverWidth: ({ euiTheme }: EuiBorealisContext) => string;
|
|
20
|
+
//# sourceMappingURL=data-grid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-grid.d.ts","sourceRoot":"","sources":["../../../src/utils/eui/data-grid.ts"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAM3D,sCAAsC;AACtC,eAAO,MAAM,2BAA2B,GACtC,iBAAiB,kBAAkB,KAClC;IACD,yBAAyB,EAAE,gBAAgB,CAAC;IAC5C,yBAAyB,EAAE,gBAAgB,CAAC;CAyB7C,CAAC;AAEF,4EAA4E;AAC5E,eAAO,MAAM,+BAA+B,GAAI,cAE7C,kBAAkB,KAAG;IACtB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,KAAK,EAAE,gBAAgB,CAAC;CAWxB,CAAC;AAEH,uEAAuE;AACvE,eAAO,MAAM,iCAAiC,EAGzC,gBAAgB,CAAC;AAEtB;;;GAGG;AACH,eAAO,MAAM,8BAA8B,GAAI,cAE5C,kBAAkB,KAAG,MAIrB,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import type { EuiBorealisContext } from './theme.ts';
|
|
2
|
+
import type { SerializedStyles } from '@emotion/serialize';
|
|
3
|
+
type Ctx = EuiBorealisContext;
|
|
4
|
+
export declare const euiDatePickerVariables: (euiThemeContext: Ctx) => {
|
|
5
|
+
gapSize: any;
|
|
6
|
+
readonly paddingSize: any;
|
|
7
|
+
headerButtonSize: any;
|
|
8
|
+
readonly headerOffset: any;
|
|
9
|
+
colors: {
|
|
10
|
+
day: {
|
|
11
|
+
inMonth: any;
|
|
12
|
+
outsideMonth: any;
|
|
13
|
+
header: any;
|
|
14
|
+
today: any;
|
|
15
|
+
};
|
|
16
|
+
hover: {
|
|
17
|
+
border: undefined;
|
|
18
|
+
};
|
|
19
|
+
disabled: {
|
|
20
|
+
border: undefined;
|
|
21
|
+
};
|
|
22
|
+
readonly inRange: {
|
|
23
|
+
border: undefined;
|
|
24
|
+
};
|
|
25
|
+
inRangeAndDisabled: {
|
|
26
|
+
backgroundColor: any;
|
|
27
|
+
};
|
|
28
|
+
selected: any;
|
|
29
|
+
selectedAndDisabled: any;
|
|
30
|
+
highlighted: any;
|
|
31
|
+
};
|
|
32
|
+
animationSpeed: any;
|
|
33
|
+
};
|
|
34
|
+
export declare const euiReactDatePickerStyles: (euiThemeContext: Ctx) => {
|
|
35
|
+
euiReactDatePicker: SerializedStyles;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* `quick_select.js` module-level styles: the panel lets the previous/next
|
|
39
|
+
* time window buttons overflow it, and they sit above the inputs, aligned
|
|
40
|
+
* with the panel title.
|
|
41
|
+
*/
|
|
42
|
+
export declare const euiQuickSelectStyles: {
|
|
43
|
+
readonly panel: {
|
|
44
|
+
readonly name: "7yqi2-EuiQuickSelect";
|
|
45
|
+
readonly styles: "> div{position:relative;overflow:visible;};label:EuiQuickSelect;";
|
|
46
|
+
};
|
|
47
|
+
readonly timeWindowButtons: {
|
|
48
|
+
readonly name: "qbrd7j-EuiQuickSelect";
|
|
49
|
+
readonly styles: "position:absolute;right:0;bottom:100%;transform:translateY(-33%);label:EuiQuickSelect;";
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
/** `fieldset` reset (quick select panels, refresh interval). */
|
|
53
|
+
export declare const fieldsetReset: {
|
|
54
|
+
readonly margin: 0;
|
|
55
|
+
readonly padding: 0;
|
|
56
|
+
readonly border: "none";
|
|
57
|
+
readonly minInlineSize: "auto";
|
|
58
|
+
};
|
|
59
|
+
/** `legend` reset (quick select panel titles). */
|
|
60
|
+
export declare const legendReset: {
|
|
61
|
+
readonly boxSizing: "border-box";
|
|
62
|
+
readonly margin: 0;
|
|
63
|
+
readonly padding: 0;
|
|
64
|
+
readonly border: "none";
|
|
65
|
+
};
|
|
66
|
+
/** `ol, ul` reset (commonly / recently used lists). */
|
|
67
|
+
export declare const listReset: {
|
|
68
|
+
readonly margin: 0;
|
|
69
|
+
readonly padding: 0;
|
|
70
|
+
readonly listStyle: "none";
|
|
71
|
+
};
|
|
72
|
+
export {};
|
|
73
|
+
//# sourceMappingURL=date-pickers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date-pickers.d.ts","sourceRoot":"","sources":["../../../src/utils/eui/date-pickers.ts"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,KAAK,GAAG,GAAG,kBAAkB,CAAC;AAiC9B,eAAO,MAAM,sBAAsB,GACjC,iBAAiB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmErB,CAAC;AACF,eAAO,MAAM,wBAAwB,GACnC,iBAAiB,GAAG;;CA2DrB,CAAC;AA6OF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;CAUvB,CAAC;AAOX,gEAAgE;AAChE,eAAO,MAAM,aAAa;;;;;CAKhB,CAAC;AAEX,kDAAkD;AAClD,eAAO,MAAM,WAAW;;;;;CAKd,CAAC;AAEX,uDAAuD;AACvD,eAAO,MAAM,SAAS;;;;CAIZ,CAAC"}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import type { EuiFlyoutMenuPagination } from '../../../components/eui-flyout-menu';
|
|
2
|
+
import type { EuiFlyoutActivityStage, EuiFlyoutLevel, EuiFlyoutLayoutMode, IconType } from './types.ts';
|
|
3
|
+
declare const PREFIX: "eui/flyoutManager";
|
|
4
|
+
interface BaseAction {
|
|
5
|
+
type: `${typeof PREFIX}/${string}`;
|
|
6
|
+
}
|
|
7
|
+
/** Dispatched when a flyout registers itself with the manager. */
|
|
8
|
+
export declare const ACTION_ADD: "eui/flyoutManager/add";
|
|
9
|
+
/** Dispatched to remove a flyout from the manager (usually on close/unmount). */
|
|
10
|
+
export declare const ACTION_CLOSE: "eui/flyoutManager/close";
|
|
11
|
+
/** Dispatched to remove all flyouts from the manager. */
|
|
12
|
+
export declare const ACTION_CLOSE_ALL: "eui/flyoutManager/closeAll";
|
|
13
|
+
/** Dispatched to set which flyout is currently active within the session. */
|
|
14
|
+
export declare const ACTION_SET_ACTIVE: "eui/flyoutManager/setActive";
|
|
15
|
+
/** Dispatched when an active flyout's pixel width changes (for responsive layout). */
|
|
16
|
+
export declare const ACTION_SET_WIDTH: "eui/flyoutManager/setWidth";
|
|
17
|
+
/** Dispatched to set a flyout's menu pagination. */
|
|
18
|
+
export declare const ACTION_SET_PAGINATION: "eui/flyoutManager/setPagination";
|
|
19
|
+
/** Dispatched to switch layout mode between `side-by-side` and `stacked`. */
|
|
20
|
+
export declare const ACTION_SET_LAYOUT_MODE: "eui/flyoutManager/setLayoutMode";
|
|
21
|
+
/** Dispatched to update a flyout's activity stage (e.g., opening -> active). */
|
|
22
|
+
export declare const ACTION_SET_ACTIVITY_STAGE: "eui/flyoutManager/setActivityStage";
|
|
23
|
+
/** Dispatched to go back one session (remove current session). */
|
|
24
|
+
export declare const ACTION_GO_BACK: "eui/flyoutManager/goBack";
|
|
25
|
+
/** Dispatched to navigate to a specific flyout (remove all sessions after it). */
|
|
26
|
+
export declare const ACTION_GO_TO_FLYOUT: "eui/flyoutManager/goToFlyout";
|
|
27
|
+
/** Dispatched to set push padding offset for a side. */
|
|
28
|
+
export declare const ACTION_SET_PUSH_PADDING: "eui/flyoutManager/setPushPadding";
|
|
29
|
+
/** Dispatched to set the container element for container-relative flyouts. */
|
|
30
|
+
export declare const ACTION_SET_CONTAINER_ELEMENT: "eui/flyoutManager/setContainerElement";
|
|
31
|
+
/** Dispatched to set the reference width used for layout and resize clamping. */
|
|
32
|
+
export declare const ACTION_SET_REFERENCE_WIDTH: "eui/flyoutManager/setReferenceWidth";
|
|
33
|
+
export declare const ACTION_ADD_UNMANAGED_FLYOUT: "eui/flyoutManager/addUnmanagedFlyout";
|
|
34
|
+
export declare const ACTION_CLOSE_UNMANAGED_FLYOUT: "eui/flyoutManager/closeUnmanagedFlyout";
|
|
35
|
+
/**
|
|
36
|
+
* Add a flyout to manager state. The manager will create or update
|
|
37
|
+
* the current session depending on the `level` provided.
|
|
38
|
+
*/
|
|
39
|
+
export interface AddFlyoutAction extends BaseAction {
|
|
40
|
+
type: typeof ACTION_ADD;
|
|
41
|
+
flyoutId: string;
|
|
42
|
+
title: string;
|
|
43
|
+
level: EuiFlyoutLevel;
|
|
44
|
+
size?: string;
|
|
45
|
+
historyKey?: symbol;
|
|
46
|
+
iconType?: IconType;
|
|
47
|
+
minWidth?: number;
|
|
48
|
+
}
|
|
49
|
+
/** Remove a flyout from manager state. Also updates the active session. */
|
|
50
|
+
export interface CloseFlyoutAction extends BaseAction {
|
|
51
|
+
type: typeof ACTION_CLOSE;
|
|
52
|
+
flyoutId: string;
|
|
53
|
+
}
|
|
54
|
+
/** Remove all flyouts from manager state. */
|
|
55
|
+
export interface CloseAllFlyoutsAction extends BaseAction {
|
|
56
|
+
type: typeof ACTION_CLOSE_ALL;
|
|
57
|
+
}
|
|
58
|
+
/** Set the active flyout within the current session (or clear with `null`). */
|
|
59
|
+
export interface SetActiveFlyoutAction extends BaseAction {
|
|
60
|
+
type: typeof ACTION_SET_ACTIVE;
|
|
61
|
+
flyoutId: string | null;
|
|
62
|
+
}
|
|
63
|
+
/** Update a flyout's measured width in pixels. */
|
|
64
|
+
export interface SetWidthAction extends BaseAction {
|
|
65
|
+
type: typeof ACTION_SET_WIDTH;
|
|
66
|
+
flyoutId: string;
|
|
67
|
+
width: number;
|
|
68
|
+
}
|
|
69
|
+
/** Set the manager pagination value for a flyout. */
|
|
70
|
+
export interface SetPaginationAction extends BaseAction {
|
|
71
|
+
type: typeof ACTION_SET_PAGINATION;
|
|
72
|
+
flyoutId: string;
|
|
73
|
+
pagination: EuiFlyoutMenuPagination | undefined;
|
|
74
|
+
}
|
|
75
|
+
/** Change how flyouts are arranged: `side-by-side` or `stacked`. */
|
|
76
|
+
export interface SetLayoutModeAction extends BaseAction {
|
|
77
|
+
type: typeof ACTION_SET_LAYOUT_MODE;
|
|
78
|
+
layoutMode: EuiFlyoutLayoutMode;
|
|
79
|
+
}
|
|
80
|
+
/** Set a specific flyout's activity stage. */
|
|
81
|
+
export interface SetActivityStageAction extends BaseAction {
|
|
82
|
+
type: typeof ACTION_SET_ACTIVITY_STAGE;
|
|
83
|
+
flyoutId: string;
|
|
84
|
+
activityStage: EuiFlyoutActivityStage;
|
|
85
|
+
}
|
|
86
|
+
/** Go back one session (remove current session from stack). */
|
|
87
|
+
export interface GoBackAction extends BaseAction {
|
|
88
|
+
type: typeof ACTION_GO_BACK;
|
|
89
|
+
}
|
|
90
|
+
/** Navigate to a specific flyout (remove all sessions after it, or pop to child in history). */
|
|
91
|
+
export interface GoToFlyoutAction extends BaseAction {
|
|
92
|
+
type: typeof ACTION_GO_TO_FLYOUT;
|
|
93
|
+
flyoutId: string;
|
|
94
|
+
/** When 'child', find flyout in current session's childHistory and pop to it. When 'main' or omitted, find session by mainFlyoutId. */
|
|
95
|
+
level?: EuiFlyoutLevel;
|
|
96
|
+
}
|
|
97
|
+
/** Set push padding offset for a specific side. */
|
|
98
|
+
export interface SetPushPaddingAction extends BaseAction {
|
|
99
|
+
type: typeof ACTION_SET_PUSH_PADDING;
|
|
100
|
+
side: 'left' | 'right';
|
|
101
|
+
width: number;
|
|
102
|
+
}
|
|
103
|
+
export interface AddUnmanagedFlyoutAction extends BaseAction {
|
|
104
|
+
type: typeof ACTION_ADD_UNMANAGED_FLYOUT;
|
|
105
|
+
flyoutId: string;
|
|
106
|
+
}
|
|
107
|
+
export interface CloseUnmanagedFlyoutAction extends BaseAction {
|
|
108
|
+
type: typeof ACTION_CLOSE_UNMANAGED_FLYOUT;
|
|
109
|
+
flyoutId: string;
|
|
110
|
+
}
|
|
111
|
+
/** Set the container element for container-relative positioning. */
|
|
112
|
+
export interface SetContainerElementAction extends BaseAction {
|
|
113
|
+
type: typeof ACTION_SET_CONTAINER_ELEMENT;
|
|
114
|
+
element: HTMLElement | null;
|
|
115
|
+
}
|
|
116
|
+
/** Set the reference width for layout and resize clamping. */
|
|
117
|
+
export interface SetReferenceWidthAction extends BaseAction {
|
|
118
|
+
type: typeof ACTION_SET_REFERENCE_WIDTH;
|
|
119
|
+
width: number;
|
|
120
|
+
}
|
|
121
|
+
/** Union of all flyout manager actions. */
|
|
122
|
+
export type Action = AddFlyoutAction | CloseFlyoutAction | CloseAllFlyoutsAction | SetActiveFlyoutAction | SetWidthAction | SetPaginationAction | SetLayoutModeAction | SetActivityStageAction | GoBackAction | GoToFlyoutAction | SetPushPaddingAction | AddUnmanagedFlyoutAction | CloseUnmanagedFlyoutAction | SetContainerElementAction | SetReferenceWidthAction;
|
|
123
|
+
/**
|
|
124
|
+
* Register a flyout with the manager.
|
|
125
|
+
* - `title` is used for the flyout menu.
|
|
126
|
+
* - `level` determines whether the flyout is `main` or `child`.
|
|
127
|
+
* - Optional `size` is the named EUI size (e.g. `s`, `m`, `l`).
|
|
128
|
+
* - Optional `historyKey` (Symbol) scopes history; only flyouts with the same reference share Back/history. Omit for a unique group per session.
|
|
129
|
+
* - Optional `iconType` is shown next to the session title in the history menu.
|
|
130
|
+
*/
|
|
131
|
+
export declare const addFlyout: (flyoutId: string, title: string, level?: EuiFlyoutLevel, size?: string, historyKey?: symbol, iconType?: IconType, minWidth?: number) => AddFlyoutAction;
|
|
132
|
+
/** Unregister a flyout and update the session accordingly. */
|
|
133
|
+
export declare const closeFlyout: (flyoutId: string) => CloseFlyoutAction;
|
|
134
|
+
/** Unregister all flyouts. */
|
|
135
|
+
export declare const closeAllFlyouts: () => CloseAllFlyoutsAction;
|
|
136
|
+
/** Set or clear the active flyout for the current session. */
|
|
137
|
+
export declare const setActiveFlyout: (flyoutId: string | null) => SetActiveFlyoutAction;
|
|
138
|
+
/** Record a flyout's current width in pixels. */
|
|
139
|
+
export declare const setFlyoutWidth: (flyoutId: string, width: number) => SetWidthAction;
|
|
140
|
+
/**
|
|
141
|
+
* Set (or clear) the menu pagination config for a flyout. When set, this
|
|
142
|
+
* overrides any pagination passed via `flyoutMenuProps.pagination` on the
|
|
143
|
+
* flyout itself, allowing reactive updates from a different React root.
|
|
144
|
+
*
|
|
145
|
+
* Only works for managed flyouts. Unmanaged flyouts (session={false}) must use
|
|
146
|
+
* the `flyoutMenuProps.pagination` prop instead.
|
|
147
|
+
*/
|
|
148
|
+
export declare const setPagination: (flyoutId: string, pagination: EuiFlyoutMenuPagination | undefined) => SetPaginationAction;
|
|
149
|
+
/** Switch layout mode between `side-by-side` and `stacked`. */
|
|
150
|
+
export declare const setLayoutMode: (layoutMode: EuiFlyoutLayoutMode) => SetLayoutModeAction;
|
|
151
|
+
/** Update a flyout's activity stage. */
|
|
152
|
+
export declare const setActivityStage: (flyoutId: string, activityStage: EuiFlyoutActivityStage) => SetActivityStageAction;
|
|
153
|
+
/** Go back one session (remove current session from stack). */
|
|
154
|
+
export declare const goBack: () => GoBackAction;
|
|
155
|
+
/** Navigate to a specific flyout (remove all sessions after it, or pop to child in history when level === 'child'). */
|
|
156
|
+
export declare const goToFlyout: (flyoutId: string, level?: EuiFlyoutLevel) => GoToFlyoutAction;
|
|
157
|
+
/** Set push padding offset for a specific side. */
|
|
158
|
+
export declare const setPushPadding: (side: "left" | "right", width: number) => SetPushPaddingAction;
|
|
159
|
+
/** Register an unmanaged flyout for z-index positioning purposes */
|
|
160
|
+
export declare const addUnmanagedFlyout: (flyoutId: string) => AddUnmanagedFlyoutAction;
|
|
161
|
+
/** Unregister an unmanaged flyout */
|
|
162
|
+
export declare const closeUnmanagedFlyout: (flyoutId: string) => CloseUnmanagedFlyoutAction;
|
|
163
|
+
/** Set the container element for container-relative flyout positioning. */
|
|
164
|
+
export declare const setContainerElement: (element: HTMLElement | null) => SetContainerElementAction;
|
|
165
|
+
/** Set the reference width for layout and resize clamping. */
|
|
166
|
+
export declare const setReferenceWidth: (width: number) => SetReferenceWidthAction;
|
|
167
|
+
export {};
|
|
168
|
+
//# sourceMappingURL=actions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../src/utils/eui/flyout-manager/actions.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AACvF,OAAO,KAAK,EACV,sBAAsB,EACtB,cAAc,EACd,mBAAmB,EACnB,QAAQ,EACT,MAAM,YAAY,CAAC;AAEpB,QAAA,MAAM,MAAM,EAAG,mBAA4B,CAAC;AAE5C,UAAU,UAAU;IAClB,IAAI,EAAE,GAAG,OAAO,MAAM,IAAI,MAAM,EAAE,CAAC;CACpC;AAED,kEAAkE;AAClE,eAAO,MAAM,UAAU,yBAA2B,CAAC;AACnD,iFAAiF;AACjF,eAAO,MAAM,YAAY,2BAA6B,CAAC;AACvD,yDAAyD;AACzD,eAAO,MAAM,gBAAgB,8BAAgC,CAAC;AAC9D,6EAA6E;AAC7E,eAAO,MAAM,iBAAiB,+BAAiC,CAAC;AAChE,sFAAsF;AACtF,eAAO,MAAM,gBAAgB,8BAAgC,CAAC;AAC9D,oDAAoD;AACpD,eAAO,MAAM,qBAAqB,mCAAqC,CAAC;AACxE,6EAA6E;AAC7E,eAAO,MAAM,sBAAsB,mCAAqC,CAAC;AACzE,gFAAgF;AAChF,eAAO,MAAM,yBAAyB,sCAAwC,CAAC;AAC/E,kEAAk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MAAM,QAAO,YAExB,CAAC;AAEH,uHAAuH;AACvH,eAAO,MAAM,UAAU,GACrB,UAAU,MAAM,EAChB,QAAQ,cAAc,KACrB,gBAID,CAAC;AAEH,mDAAmD;AACnD,eAAO,MAAM,cAAc,GACzB,MAAM,MAAM,GAAG,OAAO,EACtB,OAAO,MAAM,KACZ,oBAID,CAAC;AAEH,oEAAoE;AACpE,eAAO,MAAM,kBAAkB,GAC7B,UAAU,MAAM,KACf,wBAGD,CAAC;AAEH,qCAAqC;AACrC,eAAO,MAAM,oBAAoB,GAC/B,UAAU,MAAM,KACf,0BAGD,CAAC;AAEH,2EAA2E;AAC3E,eAAO,MAAM,mBAAmB,GAC9B,SAAS,WAAW,GAAG,IAAI,KAC1B,yBAGD,CAAC;AAEH,8DAA8D;AAC9D,eAAO,MAAM,iBAAiB,GAAI,OAAO,MAAM,KAAG,uBAGhD,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { EuiFlyoutActivityStage, EuiFlyoutLayoutMode, EuiFlyoutLevel, EuiFlyoutManagerState } from './types.ts';
|
|
2
|
+
/**
|
|
3
|
+
* Returns the final stage after an animation completes.
|
|
4
|
+
* OPENING/RETURNING -> ACTIVE; CLOSING -> INACTIVE; BACKGROUNDING -> BACKGROUNDED.
|
|
5
|
+
*/
|
|
6
|
+
export declare const getNextStage: (stage: EuiFlyoutActivityStage) => EuiFlyoutActivityStage | null;
|
|
7
|
+
export interface EuiFlyoutActivity {
|
|
8
|
+
/** The flyout's stage (stored, else ACTIVE/INACTIVE from `isActive`). */
|
|
9
|
+
stage: EuiFlyoutActivityStage;
|
|
10
|
+
/** Main or child of the latest session. */
|
|
11
|
+
isActive: boolean;
|
|
12
|
+
/** Its session has a child flyout. */
|
|
13
|
+
hasChild: boolean;
|
|
14
|
+
layoutMode: EuiFlyoutLayoutMode;
|
|
15
|
+
}
|
|
16
|
+
/** Derives the activity inputs of a flyout from the manager state. */
|
|
17
|
+
export declare const getFlyoutActivity: (state: EuiFlyoutManagerState | null | undefined, flyoutId: string) => EuiFlyoutActivity;
|
|
18
|
+
/**
|
|
19
|
+
* 1. ACTIVE -> CLOSING (or INACTIVE when !shouldAnimate) when no longer the active flyout.
|
|
20
|
+
* 2. INACTIVE -> RETURNING (or ACTIVE when !shouldAnimate) when it becomes active again.
|
|
21
|
+
* 3. (Main only) ACTIVE + stacked + has child -> BACKGROUNDING (or BACKGROUNDED when !shouldAnimate).
|
|
22
|
+
* 4. (Main only) BACKGROUNDED/BACKGROUNDING + (child gone OR side-by-side) -> RETURNING (or ACTIVE when !shouldAnimate).
|
|
23
|
+
*
|
|
24
|
+
* Returns the stage to transition to, or `null` for none.
|
|
25
|
+
*/
|
|
26
|
+
export declare const getStageTransition: ({ stage: s, isActive, hasChild, layoutMode }: EuiFlyoutActivity, level: EuiFlyoutLevel, shouldAnimate?: boolean) => EuiFlyoutActivityStage | null;
|
|
27
|
+
//# sourceMappingURL=activity-stage.d.ts.map
|