@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,60 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
/**
|
|
3
|
+
* Upstream `EuiScreenReaderLive` props, as accepted by the skeleton
|
|
4
|
+
* components' `@ariaLiveProps`.
|
|
5
|
+
*/
|
|
6
|
+
export interface EuiScreenReaderLiveProps {
|
|
7
|
+
/** Whether screen readers are told about the text. Defaults to `true`. */
|
|
8
|
+
isActive?: boolean;
|
|
9
|
+
/** `role` of both live regions. Defaults to `'status'`. */
|
|
10
|
+
role?: string;
|
|
11
|
+
/** `aria-live` of both live regions. Defaults to `'polite'`. */
|
|
12
|
+
'aria-live'?: 'polite' | 'assertive' | 'off';
|
|
13
|
+
/**
|
|
14
|
+
* Focus the region whenever the text changes, so screen readers read it
|
|
15
|
+
* immediately. Defaults to `false`.
|
|
16
|
+
*/
|
|
17
|
+
focusRegionOnTextChange?: boolean;
|
|
18
|
+
}
|
|
19
|
+
interface ScreenReaderLiveSignature {
|
|
20
|
+
Args: {
|
|
21
|
+
/** Text to announce. */
|
|
22
|
+
text: string;
|
|
23
|
+
/** Upstream `EuiScreenReaderLive` props. */
|
|
24
|
+
options?: EuiScreenReaderLiveProps;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Private port of upstream `EuiScreenReaderLive` (used by the skeleton
|
|
29
|
+
* components): two visually hidden live regions whose content alternates on
|
|
30
|
+
* every text change, so repeated announcements are not swallowed. Like the
|
|
31
|
+
* upstream effect, the first swap happens right after insertion.
|
|
32
|
+
*/
|
|
33
|
+
export default class EuiScreenReaderLive extends Component<ScreenReaderLiveSignature> {
|
|
34
|
+
toggle: boolean;
|
|
35
|
+
get isActive(): boolean;
|
|
36
|
+
get role(): string;
|
|
37
|
+
get focusRegion(): boolean;
|
|
38
|
+
get ariaLive(): "off" | "assertive" | "polite";
|
|
39
|
+
get firstHidden(): "true" | undefined;
|
|
40
|
+
get secondHidden(): "true" | undefined;
|
|
41
|
+
get firstLive(): "off" | "assertive" | "polite";
|
|
42
|
+
get secondLive(): "off" | "assertive" | "polite";
|
|
43
|
+
get firstText(): string;
|
|
44
|
+
get secondText(): string;
|
|
45
|
+
get srClass(): string;
|
|
46
|
+
/**
|
|
47
|
+
* Runs on insertion and whenever the text changes (upstream's
|
|
48
|
+
* `useEffect(…, [children])`); the swap is deferred to a microtask so it
|
|
49
|
+
* does not update state that this render already read.
|
|
50
|
+
*/
|
|
51
|
+
swapOnChange: import("ember-modifier").FunctionBasedModifier<{
|
|
52
|
+
Args: {
|
|
53
|
+
Positional: [string];
|
|
54
|
+
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
55
|
+
};
|
|
56
|
+
Element: HTMLElement;
|
|
57
|
+
}>;
|
|
58
|
+
}
|
|
59
|
+
export {};
|
|
60
|
+
//# sourceMappingURL=screen-reader-live.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"screen-reader-live.d.ts","sourceRoot":"","sources":["../../../src/components/eui-skeleton-loading/screen-reader-live.gts"],"names":[],"mappings":"AA+HA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAS3C;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACvC,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,2DAA2D;IAC3D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gEAAgE;IAChE,WAAW,CAAC,EAAE,QAAQ,GAAG,WAAW,GAAG,KAAK,CAAC;IAC7C;;;OAGG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC;AAED,UAAU,yBAAyB;IACjC,IAAI,EAAE;QACJ,wBAAwB;QACxB,IAAI,EAAE,MAAM,CAAC;QACb,4CAA4C;QAC5C,OAAO,CAAC,EAAE,wBAAwB,CAAC;KACpC,CAAC;CACH;AAED;;;;;GAKG;AACH,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,SAAS,CAAC,yBAAyB,CAAC;IAC1E,MAAM,UAAS;IAExB,IAAI,QAAQ,YAEX;IAED,IAAI,IAAI,WAEP;IAED,IAAI,WAAW,YAEd;IAED,IAAI,QAAQ,mCAEX;IAED,IAAI,WAAW,uBAEd;IAED,IAAI,YAAY,uBAEf;IAED,IAAI,SAAS,mCAEZ;IAED,IAAI,UAAU,mCAEb;IAED,IAAI,SAAS,WAEZ;IAED,IAAI,UAAU,WAEb;IAED,IACI,OAAO,WAEV;IAED;;;;OAIG;IACH,YAAY;;;;;;OAST;CAqDJ"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type { EuiCss } from '../utils/eui/styles.ts';
|
|
3
|
+
import type EuiI18n from '../services/eui-i18n.ts';
|
|
4
|
+
import type { EuiScreenReaderLiveProps } from './eui-skeleton-loading/screen-reader-live';
|
|
5
|
+
export type { EuiScreenReaderLiveProps };
|
|
6
|
+
/** Attributes for the `aria-busy` wrapper (upstream `ariaWrapperProps`). */
|
|
7
|
+
export type EuiSkeletonAriaWrapperProps = Record<string, string | number | boolean | null | undefined>;
|
|
8
|
+
/** What `<:loadingContent>` receives: apply both to its root element. */
|
|
9
|
+
export interface EuiSkeletonLoadingProps {
|
|
10
|
+
role: 'progressbar';
|
|
11
|
+
ariaLabel: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Sets the attributes of a props object on an element (upstream spreads
|
|
15
|
+
* `ariaWrapperProps` onto the wrapper). `className`/`class` add classes;
|
|
16
|
+
* previous values are restored when the props change or the element goes.
|
|
17
|
+
*/
|
|
18
|
+
export declare const applyAttributes: import("ember-modifier").FunctionBasedModifier<{
|
|
19
|
+
Args: {
|
|
20
|
+
Positional: [EuiSkeletonAriaWrapperProps | undefined];
|
|
21
|
+
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
22
|
+
};
|
|
23
|
+
Element: Element;
|
|
24
|
+
}>;
|
|
25
|
+
/**
|
|
26
|
+
* Swaps loading content for loaded content, marking the region
|
|
27
|
+
* `aria-busy` while loading and announcing the change to screen readers
|
|
28
|
+
* ("Loading …" / "Loaded …"). The other EuiSkeleton components use it.
|
|
29
|
+
*/
|
|
30
|
+
export interface EuiSkeletonLoadingSignature {
|
|
31
|
+
Element: HTMLDivElement;
|
|
32
|
+
Args: {
|
|
33
|
+
/**
|
|
34
|
+
* When true, shows `<:loadingContent>`; when false, shows
|
|
35
|
+
* `<:loadedContent>` and announces to screen readers that it loaded.
|
|
36
|
+
* Defaults to `true`.
|
|
37
|
+
*/
|
|
38
|
+
isLoading?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Label your loading sections to give screen readers more context: pass
|
|
41
|
+
* "API keys" to have them read "Loading API keys" and "Loaded API keys".
|
|
42
|
+
*/
|
|
43
|
+
contentAriaLabel?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Makes a live screen reader announcement when `@isLoading` is true.
|
|
46
|
+
* Defaults to `false`.
|
|
47
|
+
*/
|
|
48
|
+
announceLoadingStatus?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Makes a live screen reader announcement when `@isLoading` is false.
|
|
51
|
+
* Defaults to `true`.
|
|
52
|
+
*/
|
|
53
|
+
announceLoadedStatus?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Options for the live region that announces the status:
|
|
56
|
+
* `{ isActive, role, 'aria-live', focusRegionOnTextChange }` (upstream
|
|
57
|
+
* EuiScreenReaderLive props).
|
|
58
|
+
*/
|
|
59
|
+
ariaLiveProps?: EuiScreenReaderLiveProps;
|
|
60
|
+
/**
|
|
61
|
+
* Extra styles composed into the wrapper's class (like upstream's `css`
|
|
62
|
+
* prop).
|
|
63
|
+
*/
|
|
64
|
+
css?: EuiCss;
|
|
65
|
+
};
|
|
66
|
+
Blocks: {
|
|
67
|
+
/**
|
|
68
|
+
* Shown while loading. Put `role` and `aria-label` from the yielded
|
|
69
|
+
* object on its root element (upstream adds them to `loadingContent`).
|
|
70
|
+
*/
|
|
71
|
+
loadingContent: [EuiSkeletonLoadingProps];
|
|
72
|
+
/** Shown once loaded. */
|
|
73
|
+
loadedContent: [];
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
export default class EuiSkeletonLoading extends Component<EuiSkeletonLoadingSignature> {
|
|
77
|
+
euiI18n: EuiI18n;
|
|
78
|
+
get isLoading(): boolean;
|
|
79
|
+
get announceLoading(): boolean;
|
|
80
|
+
get announceLoaded(): boolean;
|
|
81
|
+
get loadingLabel(): string;
|
|
82
|
+
get loadedLabel(): string;
|
|
83
|
+
get loadingProps(): EuiSkeletonLoadingProps;
|
|
84
|
+
get cssClass(): string | undefined;
|
|
85
|
+
}
|
|
86
|
+
//# sourceMappingURL=eui-skeleton-loading.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-skeleton-loading.d.ts","sourceRoot":"","sources":["../../src/components/eui-skeleton-loading.gts"],"names":[],"mappings":"AAoLA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAU3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,OAAO,MAAM,yBAAyB,CAAC;AACnD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,+CAA+C,CAAC;AAE9F,YAAY,EAAE,wBAAwB,EAAE,CAAC;AAEzC,4EAA4E;AAC5E,MAAM,MAAM,2BAA2B,GAAG,MAAM,CAC9C,MAAM,EACN,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,CAC7C,CAAC;AAEF,yEAAyE;AACzE,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,aAAa,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe;;;;;;EAwB3B,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IAC1C,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;;;;WAIG;QACH,aAAa,CAAC,EAAE,wBAAwB,CAAC;QACzC;;;WAGG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;KACd,CAAC;IACF,MAAM,EAAE;QACN;;;WAGG;QACH,cAAc,EAAE,CAAC,uBAAuB,CAAC,CAAC;QAC1C,yBAAyB;QACzB,aAAa,EAAE,EAAE,CAAC;KACnB,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,SAAS,CAAC,2BAA2B,CAAC;IACnE,OAAO,EAAE,OAAO,CAAC;IAElC,IAAI,SAAS,YAEZ;IAED,IAAI,eAAe,YAElB;IAED,IAAI,cAAc,YAEjB;IAED,IAAI,YAAY,WAMf;IAED,IAAI,WAAW,WAMd;IAED,IACI,YAAY,IAAI,uBAAuB,CAE1C;IAED,IACI,QAAQ,uBAGX;CAuCF"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type { EuiCss } from '../utils/eui/styles.ts';
|
|
3
|
+
import type { EuiScreenReaderLiveProps, EuiSkeletonAriaWrapperProps } from './eui-skeleton-loading';
|
|
4
|
+
/** `'s'` and `'m'` use the theme's inline radius; `'none'` is square. */
|
|
5
|
+
export type EuiSkeletonRectangleRadius = 's' | 'm' | 'none';
|
|
6
|
+
/**
|
|
7
|
+
* A rectangular placeholder of any size, e.g. for an image or chart,
|
|
8
|
+
* swapped for its block once loaded.
|
|
9
|
+
*/
|
|
10
|
+
export interface EuiSkeletonRectangleSignature {
|
|
11
|
+
Element: HTMLDivElement;
|
|
12
|
+
Args: {
|
|
13
|
+
/**
|
|
14
|
+
* When true, shows the skeleton; when false, shows the block and
|
|
15
|
+
* announces to screen readers that the content loaded. Defaults to
|
|
16
|
+
* `true`.
|
|
17
|
+
*/
|
|
18
|
+
isLoading?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Label your loading sections to give screen readers more context: pass
|
|
21
|
+
* "API keys" to have them read "Loading API keys" and "Loaded API keys".
|
|
22
|
+
*/
|
|
23
|
+
contentAriaLabel?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Makes a live screen reader announcement when `@isLoading` is true.
|
|
26
|
+
* Defaults to `false`.
|
|
27
|
+
*/
|
|
28
|
+
announceLoadingStatus?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Makes a live screen reader announcement when `@isLoading` is false.
|
|
31
|
+
* Defaults to `true`.
|
|
32
|
+
*/
|
|
33
|
+
announceLoadedStatus?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Options for the live region that announces the status:
|
|
36
|
+
* `{ isActive, role, 'aria-live', focusRegionOnTextChange }`.
|
|
37
|
+
*/
|
|
38
|
+
ariaLiveProps?: EuiScreenReaderLiveProps;
|
|
39
|
+
/** Attributes for the `aria-busy` wrapper around the skeleton. */
|
|
40
|
+
ariaWrapperProps?: EuiSkeletonAriaWrapperProps;
|
|
41
|
+
/**
|
|
42
|
+
* Extra styles composed last into the skeleton's class (like upstream's
|
|
43
|
+
* `css` prop).
|
|
44
|
+
*/
|
|
45
|
+
css?: EuiCss;
|
|
46
|
+
/**
|
|
47
|
+
* Width: a number (px) or any CSS length. Defaults to `'24px'`.
|
|
48
|
+
*/
|
|
49
|
+
width?: string | number;
|
|
50
|
+
/**
|
|
51
|
+
* Height: a number (px) or any CSS length. Defaults to `'24px'`.
|
|
52
|
+
*/
|
|
53
|
+
height?: string | number;
|
|
54
|
+
/**
|
|
55
|
+
* `'s'` or `'m'` (the theme's inline radius) or `'none'`. Defaults to
|
|
56
|
+
* `'s'`.
|
|
57
|
+
*/
|
|
58
|
+
borderRadius?: EuiSkeletonRectangleRadius;
|
|
59
|
+
};
|
|
60
|
+
Blocks: {
|
|
61
|
+
/** The loaded content. */
|
|
62
|
+
default: [];
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
export default class EuiSkeletonRectangle extends Component<EuiSkeletonRectangleSignature> {
|
|
66
|
+
get width(): string;
|
|
67
|
+
get height(): string;
|
|
68
|
+
get classes(): string;
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=eui-skeleton-rectangle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-skeleton-rectangle.d.ts","sourceRoot":"","sources":["../../src/components/eui-skeleton-rectangle.gts"],"names":[],"mappings":"AAyIA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAO3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAIpC,yEAAyE;AACzE,MAAM,MAAM,0BAA0B,GAAG,GAAG,GAAG,GAAG,GAAG,MAAM,CAAC;AAkB5D;;;GAGG;AACH,MAAM,WAAW,6BAA6B;IAC5C,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QACJ;;;;WAIG;QACH,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB;;;WAGG;QACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B;;;WAGG;QACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;QAChC;;;WAGG;QACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;QAC/B;;;WAGG;QACH,aAAa,CAAC,EAAE,wBAAwB,CAAC;QACzC,kEAAkE;QAClE,gBAAgB,CAAC,EAAE,2BAA2B,CAAC;QAC/C;;;WAGG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;QACb;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACxB;;WAEG;QACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACzB;;;WAGG;QACH,YAAY,CAAC,EAAE,0BAA0B,CAAC;KAC3C,CAAC;IACF,MAAM,EAAE;QACN,0BAA0B;QAC1B,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,SAAS,CAAC,6BAA6B,CAAC;IACxF,IAAI,KAAK,WAER;IAED,IAAI,MAAM,WAET;IAED,IACI,OAAO,WASV;CAqCF"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type { EuiCss } from '../utils/eui/styles.ts';
|
|
3
|
+
import type { EuiScreenReaderLiveProps, EuiSkeletonAriaWrapperProps } from './eui-skeleton-loading';
|
|
4
|
+
/** Line heights of the text being replaced. */
|
|
5
|
+
export type EuiSkeletonTextSize = 'm' | 's' | 'xs' | 'relative';
|
|
6
|
+
/**
|
|
7
|
+
* Placeholder lines for text that is loading, swapped for its block once
|
|
8
|
+
* loaded.
|
|
9
|
+
*/
|
|
10
|
+
export interface EuiSkeletonTextSignature {
|
|
11
|
+
Element: HTMLSpanElement;
|
|
12
|
+
Args: {
|
|
13
|
+
/**
|
|
14
|
+
* When true, shows the skeleton; when false, shows the block and
|
|
15
|
+
* announces to screen readers that the content loaded. Defaults to
|
|
16
|
+
* `true`.
|
|
17
|
+
*/
|
|
18
|
+
isLoading?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Label your loading sections to give screen readers more context: pass
|
|
21
|
+
* "API keys" to have them read "Loading API keys" and "Loaded API keys".
|
|
22
|
+
*/
|
|
23
|
+
contentAriaLabel?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Makes a live screen reader announcement when `@isLoading` is true.
|
|
26
|
+
* Defaults to `false`.
|
|
27
|
+
*/
|
|
28
|
+
announceLoadingStatus?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Makes a live screen reader announcement when `@isLoading` is false.
|
|
31
|
+
* Defaults to `true`.
|
|
32
|
+
*/
|
|
33
|
+
announceLoadedStatus?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Options for the live region that announces the status:
|
|
36
|
+
* `{ isActive, role, 'aria-live', focusRegionOnTextChange }`.
|
|
37
|
+
*/
|
|
38
|
+
ariaLiveProps?: EuiScreenReaderLiveProps;
|
|
39
|
+
/** Attributes for the `aria-busy` wrapper around the skeleton. */
|
|
40
|
+
ariaWrapperProps?: EuiSkeletonAriaWrapperProps;
|
|
41
|
+
/**
|
|
42
|
+
* Extra styles composed last into the skeleton's class (like upstream's
|
|
43
|
+
* `css` prop).
|
|
44
|
+
*/
|
|
45
|
+
css?: EuiCss;
|
|
46
|
+
/** Number of lines to display (1 to 10). Defaults to `3`. */
|
|
47
|
+
lines?: number;
|
|
48
|
+
/**
|
|
49
|
+
* EuiText size the lines stand in for: `'m'`, `'s'`, `'xs'`, or
|
|
50
|
+
* `'relative'` (`1em`). Defaults to `'m'`.
|
|
51
|
+
*/
|
|
52
|
+
size?: EuiSkeletonTextSize;
|
|
53
|
+
};
|
|
54
|
+
Blocks: {
|
|
55
|
+
/** The loaded content. */
|
|
56
|
+
default: [];
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
export default class EuiSkeletonText extends Component<EuiSkeletonTextSignature> {
|
|
60
|
+
get lines(): unknown[];
|
|
61
|
+
get lineClass(): string;
|
|
62
|
+
get rootClass(): string;
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=eui-skeleton-text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-skeleton-text.d.ts","sourceRoot":"","sources":["../../src/components/eui-skeleton-text.gts"],"names":[],"mappings":"AA8GA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAO3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAGpC,+CAA+C;AAC/C,MAAM,MAAM,mBAAmB,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,UAAU,CAAC;AAEhE;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,eAAe,CAAC;IACzB,IAAI,EAAE;QACJ;;;;WAIG;QACH,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB;;;WAGG;QACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B;;;WAGG;QACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;QAChC;;;WAGG;QACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;QAC/B;;;WAGG;QACH,aAAa,CAAC,EAAE,wBAAwB,CAAC;QACzC,kEAAkE;QAClE,gBAAgB,CAAC,EAAE,2BAA2B,CAAC;QAC/C;;;WAGG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,6DAA6D;QAC7D,KAAK,CAAC,EAAE,MAAM,CAAC;QACf;;;WAGG;QACH,IAAI,CAAC,EAAE,mBAAmB,CAAC;KAC5B,CAAC;IACF,MAAM,EAAE;QACN,0BAA0B;QAC1B,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,SAAS,CAAC,wBAAwB,CAAC;IAC9E,IAAI,KAAK,cAER;IAED,IACI,SAAS,WAIZ;IAED,IACI,SAAS,WAGZ;CAmDF"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type { EuiCss } from '../utils/eui/styles.ts';
|
|
3
|
+
import type { EuiScreenReaderLiveProps, EuiSkeletonAriaWrapperProps } from './eui-skeleton-loading';
|
|
4
|
+
/** EuiTitle sizes. */
|
|
5
|
+
export type EuiSkeletonTitleSize = 'xxxs' | 'xxs' | 'xs' | 's' | 'm' | 'l';
|
|
6
|
+
/**
|
|
7
|
+
* A placeholder bar as tall as an EuiTitle's line, swapped for its block
|
|
8
|
+
* once loaded.
|
|
9
|
+
*/
|
|
10
|
+
export interface EuiSkeletonTitleSignature {
|
|
11
|
+
Element: HTMLSpanElement;
|
|
12
|
+
Args: {
|
|
13
|
+
/**
|
|
14
|
+
* When true, shows the skeleton; when false, shows the block and
|
|
15
|
+
* announces to screen readers that the content loaded. Defaults to
|
|
16
|
+
* `true`.
|
|
17
|
+
*/
|
|
18
|
+
isLoading?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Label your loading sections to give screen readers more context: pass
|
|
21
|
+
* "API keys" to have them read "Loading API keys" and "Loaded API keys".
|
|
22
|
+
*/
|
|
23
|
+
contentAriaLabel?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Makes a live screen reader announcement when `@isLoading` is true.
|
|
26
|
+
* Defaults to `false`.
|
|
27
|
+
*/
|
|
28
|
+
announceLoadingStatus?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Makes a live screen reader announcement when `@isLoading` is false.
|
|
31
|
+
* Defaults to `true`.
|
|
32
|
+
*/
|
|
33
|
+
announceLoadedStatus?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Options for the live region that announces the status:
|
|
36
|
+
* `{ isActive, role, 'aria-live', focusRegionOnTextChange }`.
|
|
37
|
+
*/
|
|
38
|
+
ariaLiveProps?: EuiScreenReaderLiveProps;
|
|
39
|
+
/** Attributes for the `aria-busy` wrapper around the skeleton. */
|
|
40
|
+
ariaWrapperProps?: EuiSkeletonAriaWrapperProps;
|
|
41
|
+
/**
|
|
42
|
+
* Extra styles composed last into the skeleton's class (like upstream's
|
|
43
|
+
* `css` prop).
|
|
44
|
+
*/
|
|
45
|
+
css?: EuiCss;
|
|
46
|
+
/**
|
|
47
|
+
* EuiTitle size it stands in for: `'xxxs'`, `'xxs'`, `'xs'`, `'s'`,
|
|
48
|
+
* `'m'` or `'l'`. Defaults to `'m'`.
|
|
49
|
+
*/
|
|
50
|
+
size?: EuiSkeletonTitleSize;
|
|
51
|
+
};
|
|
52
|
+
Blocks: {
|
|
53
|
+
/** The loaded content. */
|
|
54
|
+
default: [];
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
export default class EuiSkeletonTitle extends Component<EuiSkeletonTitleSignature> {
|
|
58
|
+
get classes(): string;
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=eui-skeleton-title.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-skeleton-title.d.ts","sourceRoot":"","sources":["../../src/components/eui-skeleton-title.gts"],"names":[],"mappings":"AAuGA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAO3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAGpC,sBAAsB;AACtB,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAE3E;;;GAGG;AACH,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,eAAe,CAAC;IACzB,IAAI,EAAE;QACJ;;;;WAIG;QACH,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB;;;WAGG;QACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B;;;WAGG;QACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;QAChC;;;WAGG;QACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;QAC/B;;;WAGG;QACH,aAAa,CAAC,EAAE,wBAAwB,CAAC;QACzC,kEAAkE;QAClE,gBAAgB,CAAC,EAAE,2BAA2B,CAAC;QAC/C;;;WAGG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;QACb;;;WAGG;QACH,IAAI,CAAC,EAAE,oBAAoB,CAAC;KAC7B,CAAC;IACF,MAAM,EAAE;QACN,0BAA0B;QAC1B,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,SAAS,CAAC,yBAAyB,CAAC;IAChF,IACI,OAAO,WASV;CAoCF"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type { EuiCss } from '../../utils/eui/styles.ts';
|
|
3
|
+
import type { EuiButtonSignature } from '../eui-button';
|
|
4
|
+
import type { EuiToolTipSignature } from '../eui-tool-tip';
|
|
5
|
+
/** `EuiToolTip` arguments for an action (upstream `tooltipProps`). */
|
|
6
|
+
export type EuiSplitButtonTooltipProps = Partial<Pick<EuiToolTipSignature['Args'], 'content' | 'title' | 'position' | 'delay' | 'display' | 'anchorClassName'>>;
|
|
7
|
+
export interface EuiSplitButtonActionPrimarySignature {
|
|
8
|
+
Element: EuiButtonSignature['Element'];
|
|
9
|
+
Args: {
|
|
10
|
+
/** Renders an `EuiButtonIcon` (pass an `aria-label`). */
|
|
11
|
+
isIconOnly?: boolean;
|
|
12
|
+
/** Icon; anything `EuiIcon`'s `@type` accepts. */
|
|
13
|
+
iconType?: EuiButtonSignature['Args']['iconType'];
|
|
14
|
+
/** `'right'` puts the icon after the text. */
|
|
15
|
+
iconSide?: EuiButtonSignature['Args']['iconSide'];
|
|
16
|
+
/** Size of the icon. */
|
|
17
|
+
iconSize?: EuiButtonSignature['Args']['iconSize'];
|
|
18
|
+
/** Disables this action (the split button's `@isDisabled` also does). */
|
|
19
|
+
isDisabled?: boolean;
|
|
20
|
+
/** Same as `@isDisabled`. */
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
/** Shows a spinner and disables this action. */
|
|
23
|
+
isLoading?: boolean;
|
|
24
|
+
/** For toggle buttons: sets `aria-pressed`. */
|
|
25
|
+
isSelected?: boolean;
|
|
26
|
+
/** Renders an `<a>` link. */
|
|
27
|
+
href?: string;
|
|
28
|
+
/** `target` of the `@href` link. */
|
|
29
|
+
target?: string;
|
|
30
|
+
/** `type` of the `<button>`. Defaults to `'button'`. */
|
|
31
|
+
type?: 'button' | 'submit' | 'reset';
|
|
32
|
+
/** Wraps the action in an `EuiToolTip` with these arguments. */
|
|
33
|
+
tooltipProps?: EuiSplitButtonTooltipProps;
|
|
34
|
+
/**
|
|
35
|
+
* Extra styles composed last into this component's class (like upstream's
|
|
36
|
+
* `css` prop).
|
|
37
|
+
*/
|
|
38
|
+
css?: EuiCss;
|
|
39
|
+
};
|
|
40
|
+
Blocks: {
|
|
41
|
+
/** The button's text. */
|
|
42
|
+
default: [];
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* The main action of an `EuiSplitButton` (upstream
|
|
47
|
+
* `EuiSplitButton.ActionPrimary`): an `EuiButton`, or an `EuiButtonIcon`
|
|
48
|
+
* with `@isIconOnly`. Size, color and fill come from the split button.
|
|
49
|
+
*/
|
|
50
|
+
export default class EuiSplitButtonActionPrimary extends Component<EuiSplitButtonActionPrimarySignature> {
|
|
51
|
+
get split(): import("../../-private/eui-split-button-context.ts").EuiSplitButtonContext;
|
|
52
|
+
get isLoading(): boolean;
|
|
53
|
+
get isDisabled(): boolean;
|
|
54
|
+
get buttonSize(): "s" | "m";
|
|
55
|
+
get display(): "fill" | "base";
|
|
56
|
+
get css(): EuiCss[];
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=eui-split-button-action-primary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-split-button-action-primary.d.ts","sourceRoot":"","sources":["../../../src/components/eui-split-button/eui-split-button-action-primary.gts"],"names":[],"mappings":"AA4LA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAU3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAE3D,sEAAsE;AACtE,MAAM,MAAM,0BAA0B,GAAG,OAAO,CAC9C,IAAI,CACF,mBAAmB,CAAC,MAAM,CAAC,EAC3B,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,iBAAiB,CAC3E,CACF,CAAC;AAEF,MAAM,WAAW,oCAAoC;IACnD,OAAO,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC;IACvC,IAAI,EAAE;QACJ,yDAAyD;QACzD,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,kDAAkD;QAClD,QAAQ,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC,UAAU,CAAC,CAAC;QAClD,8CAA8C;QAC9C,QAAQ,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC,UAAU,CAAC,CAAC;QAClD,wBAAwB;QACxB,QAAQ,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC,UAAU,CAAC,CAAC;QAClD,yEAAyE;QACzE,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,6BAA6B;QAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,gDAAgD;QAChD,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,+CAA+C;QAC/C,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,6BAA6B;QAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,oCAAoC;QACpC,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,wDAAwD;QACxD,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;QACrC,gEAAgE;QAChE,YAAY,CAAC,EAAE,0BAA0B,CAAC;QAC1C;;;WAGG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;KACd,CAAC;IACF,MAAM,EAAE;QACN,yBAAyB;QACzB,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,2BAA4B,SAAQ,SAAS,CAAC,oCAAoC,CAAC;IACtG,IAAI,KAAK,+EAER;IACD,IAAI,SAAS,YAEZ;IACD,IAAI,UAAU,YAOb;IACD,IAAI,UAAU,cAIb;IACD,IAAI,OAAO,oBAEV;IAED,IACI,GAAG,aAMN;CAoHF"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type { EuiCss } from '../../utils/eui/styles.ts';
|
|
3
|
+
import type { EuiButtonIconSignature } from '../eui-button-icon';
|
|
4
|
+
import type { EuiPopoverArgs } from '../eui-popover';
|
|
5
|
+
import type { EuiSplitButtonTooltipProps } from './eui-split-button-action-primary';
|
|
6
|
+
/** `EuiPopover` arguments for the secondary action (upstream `popoverProps`). */
|
|
7
|
+
export type EuiSplitButtonPopoverProps = Pick<EuiPopoverArgs, 'closePopover'> & Partial<Pick<EuiPopoverArgs, 'isOpen' | 'anchorPosition' | 'panelPaddingSize' | 'ownFocus' | 'display' | 'hasArrow' | 'initialFocus' | 'ariaLabel' | 'ariaLabelledBy' | 'repositionOnScroll' | 'panelCss'>>;
|
|
8
|
+
export interface EuiSplitButtonActionSecondarySignature {
|
|
9
|
+
Element: HTMLButtonElement | HTMLAnchorElement;
|
|
10
|
+
Args: {
|
|
11
|
+
/**
|
|
12
|
+
* Icon; anything `EuiIcon`'s `@type` accepts. Always `chevronSingleDown`
|
|
13
|
+
* with `@popoverProps`. Pass an `aria-label` describing the action.
|
|
14
|
+
*/
|
|
15
|
+
iconType?: EuiButtonIconSignature['Args']['iconType'];
|
|
16
|
+
/** Size of the icon. */
|
|
17
|
+
iconSize?: EuiButtonIconSignature['Args']['iconSize'];
|
|
18
|
+
/** Disables this action (the split button's `@isDisabled` also does). */
|
|
19
|
+
isDisabled?: boolean;
|
|
20
|
+
/** Same as `@isDisabled`. */
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
/** Shows a spinner and disables this action. */
|
|
23
|
+
isLoading?: boolean;
|
|
24
|
+
/** For toggle buttons: sets `aria-pressed`. */
|
|
25
|
+
isSelected?: boolean;
|
|
26
|
+
/** Renders an `<a>` link. */
|
|
27
|
+
href?: string;
|
|
28
|
+
/** `target` of the `@href` link. */
|
|
29
|
+
target?: string;
|
|
30
|
+
/** `type` of the `<button>`. Defaults to `'button'`. */
|
|
31
|
+
type?: 'button' | 'submit' | 'reset';
|
|
32
|
+
/** Wraps the action in an `EuiToolTip` with these arguments. */
|
|
33
|
+
tooltipProps?: EuiSplitButtonTooltipProps;
|
|
34
|
+
/**
|
|
35
|
+
* Anchors an `EuiPopover` to the action with these arguments (default
|
|
36
|
+
* `anchorPosition`: `'downCenter'`); the block is its content.
|
|
37
|
+
*/
|
|
38
|
+
popoverProps?: EuiSplitButtonPopoverProps;
|
|
39
|
+
/**
|
|
40
|
+
* Extra styles composed last into this component's class (like upstream's
|
|
41
|
+
* `css` prop).
|
|
42
|
+
*/
|
|
43
|
+
css?: EuiCss;
|
|
44
|
+
};
|
|
45
|
+
Blocks: {
|
|
46
|
+
/** The popover content (with `@popoverProps`). */
|
|
47
|
+
default: [];
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* The secondary icon action of an `EuiSplitButton` (upstream
|
|
52
|
+
* `EuiSplitButton.ActionSecondary`), optionally opening a popover. The
|
|
53
|
+
* divider before it is rendered here.
|
|
54
|
+
*/
|
|
55
|
+
export default class EuiSplitButtonActionSecondary extends Component<EuiSplitButtonActionSecondarySignature> {
|
|
56
|
+
get split(): import("../../-private/eui-split-button-context.ts").EuiSplitButtonContext;
|
|
57
|
+
get isLoading(): boolean;
|
|
58
|
+
get isDisabled(): boolean;
|
|
59
|
+
get display(): "fill" | "base";
|
|
60
|
+
get iconType(): import('../eui-icon').IconType | undefined;
|
|
61
|
+
get css(): EuiCss[];
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=eui-split-button-action-secondary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-split-button-action-secondary.d.ts","sourceRoot":"","sources":["../../../src/components/eui-split-button/eui-split-button-action-secondary.gts"],"names":[],"mappings":"AA0OA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAU3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AAEpF,iFAAiF;AACjF,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAAC,cAAc,EAAE,cAAc,CAAC,GAC3E,OAAO,CACL,IAAI,CACF,cAAc,EACZ,QAAQ,GACR,gBAAgB,GAChB,kBAAkB,GAClB,UAAU,GACV,SAAS,GACT,UAAU,GACV,cAAc,GACd,WAAW,GACX,gBAAgB,GAChB,oBAAoB,GACpB,UAAU,CACb,CACF,CAAC;AAEJ,MAAM,WAAW,sCAAsC;IACrD,OAAO,EAAE,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,IAAI,EAAE;QACJ;;;WAGG;QACH,QAAQ,CAAC,EAAE,sBAAsB,CAAC,MAAM,CAAC,CAAC,UAAU,CAAC,CAAC;QACtD,wBAAwB;QACxB,QAAQ,CAAC,EAAE,sBAAsB,CAAC,MAAM,CAAC,CAAC,UAAU,CAAC,CAAC;QACtD,yEAAyE;QACzE,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,6BAA6B;QAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,gDAAgD;QAChD,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,+CAA+C;QAC/C,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,6BAA6B;QAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,oCAAoC;QACpC,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,wDAAwD;QACxD,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;QACrC,gEAAgE;QAChE,YAAY,CAAC,EAAE,0BAA0B,CAAC;QAC1C;;;WAGG;QACH,YAAY,CAAC,EAAE,0BAA0B,CAAC;QAC1C;;;WAGG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;KACd,CAAC;IACF,MAAM,EAAE;QACN,kDAAkD;QAClD,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,6BAA8B,SAAQ,SAAS,CAAC,sCAAsC,CAAC;IAC1G,IAAI,KAAK,+EAER;IACD,IAAI,SAAS,YAEZ;IACD,IAAI,UAAU,YAOb;IACD,IAAI,OAAO,oBAEV;IACD,IAAI,QAAQ,mDAEX;IAED,IACI,GAAG,aAMN;CAyJF"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import EuiSplitButtonActionPrimary from './eui-split-button/eui-split-button-action-primary';
|
|
3
|
+
import EuiSplitButtonActionSecondary from './eui-split-button/eui-split-button-action-secondary';
|
|
4
|
+
import type { EuiSplitButtonContext } from '../-private/eui-split-button-context.ts';
|
|
5
|
+
import type { EuiCss } from '../utils/eui/styles.ts';
|
|
6
|
+
type ButtonColorValues = {
|
|
7
|
+
backgroundColor: string;
|
|
8
|
+
color: string;
|
|
9
|
+
};
|
|
10
|
+
export interface EuiSplitButtonSignature {
|
|
11
|
+
Element: HTMLDivElement;
|
|
12
|
+
Args: {
|
|
13
|
+
/** `'s'` or `'m'` (32/40px). Defaults to `'m'`. */
|
|
14
|
+
size?: 'xs' | 's' | 'm';
|
|
15
|
+
/**
|
|
16
|
+
* `'primary'`, `'accent'`, `'accentSecondary'`, `'neutral'`,
|
|
17
|
+
* `'success'`, `'warning'`, `'risk'`, `'danger'` or `'text'`. Defaults
|
|
18
|
+
* to `'primary'`.
|
|
19
|
+
*/
|
|
20
|
+
color?: string;
|
|
21
|
+
/** Solid background. Defaults to `false`. */
|
|
22
|
+
fill?: boolean;
|
|
23
|
+
/** Disables both actions. */
|
|
24
|
+
isDisabled?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Beta: renders the disabled actions with `aria-disabled` instead of
|
|
27
|
+
* `disabled`, so they stay focusable (e.g. for a tooltip).
|
|
28
|
+
*/
|
|
29
|
+
hasAriaDisabled?: boolean;
|
|
30
|
+
/** Shows a loading spinner in both actions and disables them. */
|
|
31
|
+
isLoading?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Extra styles composed last into this component's class (like upstream's
|
|
34
|
+
* `css` prop). Prefer this to an extra class when styling it from a parent.
|
|
35
|
+
*/
|
|
36
|
+
css?: EuiCss;
|
|
37
|
+
};
|
|
38
|
+
Blocks: {
|
|
39
|
+
/**
|
|
40
|
+
* The two actions, in this order: `<split.ActionPrimary>` then
|
|
41
|
+
* `<split.ActionSecondary>`.
|
|
42
|
+
*/
|
|
43
|
+
default: [
|
|
44
|
+
{
|
|
45
|
+
ActionPrimary: typeof EuiSplitButtonActionPrimary;
|
|
46
|
+
ActionSecondary: typeof EuiSplitButtonActionSecondary;
|
|
47
|
+
}
|
|
48
|
+
];
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* A primary action and a secondary icon action (often opening a popover of
|
|
53
|
+
* related actions) joined into one control (upstream `EuiSplitButton`).
|
|
54
|
+
*/
|
|
55
|
+
export default class EuiSplitButton extends Component<EuiSplitButtonSignature> {
|
|
56
|
+
actions: {
|
|
57
|
+
ActionPrimary: typeof EuiSplitButtonActionPrimary;
|
|
58
|
+
ActionSecondary: typeof EuiSplitButtonActionSecondary;
|
|
59
|
+
};
|
|
60
|
+
get context(): import("../theming.ts").EuiThemeContext;
|
|
61
|
+
get size(): 'xs' | 's' | 'm';
|
|
62
|
+
get color(): string;
|
|
63
|
+
get fill(): boolean;
|
|
64
|
+
get splitButtonContext(): EuiSplitButtonContext;
|
|
65
|
+
get colors(): {
|
|
66
|
+
filled: ButtonColorValues;
|
|
67
|
+
base: ButtonColorValues;
|
|
68
|
+
};
|
|
69
|
+
/** Upstream `dividerColor` (also the `--euiSplitButtonBorderColor`). */
|
|
70
|
+
get dividerColor(): string;
|
|
71
|
+
get classes(): string;
|
|
72
|
+
get dividerClass(): string;
|
|
73
|
+
get style(): import("@ember/template").TrustedHTML;
|
|
74
|
+
}
|
|
75
|
+
export {};
|
|
76
|
+
//# sourceMappingURL=eui-split-button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"eui-split-button.d.ts","sourceRoot":"","sources":["../../src/components/eui-split-button.gts"],"names":[],"mappings":"AAkMA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAiB3C,OAAO,2BAA2B,MAAM,wDAAwD,CAAC;AACjG,OAAO,6BAA6B,MAAM,0DAA0D,CAAC;AAErG,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AACrF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAErD,KAAK,iBAAiB,GAAG;IAAE,eAAe,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAEpE,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QACJ,mDAAmD;QACnD,IAAI,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,GAAG,CAAC;QACxB;;;;WAIG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,6CAA6C;QAC7C,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,6BAA6B;QAC7B,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB;;;WAGG;QACH,eAAe,CAAC,EAAE,OAAO,CAAC;QAC1B,iEAAiE;QACjE,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB;;;WAGG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;KACd,CAAC;IACF,MAAM,EAAE;QACN;;;WAGG;QACH,OAAO,EAAE;YACP;gBACE,aAAa,EAAE,OAAO,2BAA2B,CAAC;gBAClD,eAAe,EAAE,OAAO,6BAA6B,CAAC;aACvD;SACF,CAAC;KACH,CAAC;CACH;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,SAAS,CAAC,uBAAuB,CAAC;IAC5E,OAAO;;;MAGL;IAEF,IAAI,OAAO,4CAEV;IACD,IAAI,IAAI,IAAI,IAAI,GAAG,GAAG,GAAG,GAAG,CAG3B;IACD,IAAI,KAAK,WAER;IACD,IAAI,IAAI,YAEP;IAED,IACI,kBAAkB,IAAI,qBAAqB,CA0B9C;IAED,IACI,MAAM,IAAI;QAAE,MAAM,EAAE,iBAAiB,CAAC;QAAC,IAAI,EAAE,iBAAiB,CAAA;KAAE,CAOnE;IAED,wEAAwE;IACxE,IACI,YAAY,IAAI,MAAM,CAOzB;IAED,IACI,OAAO,WAgBV;IAED,IACI,YAAY,WAaf;IAED,IACI,KAAK,0CAER;CA2BF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"description.d.ts","sourceRoot":"","sources":["../../../src/components/eui-stat/description.gts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"description.d.ts","sourceRoot":"","sources":["../../../src/components/eui-stat/description.gts"],"names":[],"mappings":"AA6CA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E,8CAA8C;AAC9C,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE;QACJ;;WAEG;QACH,kBAAkB,CAAC,EAAE,MAAM,qBAAqB,CAAC;KAClD,CAAC;IACF,MAAM,EAAE;QACN,gBAAgB;QAChB,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,QAAA,MAAM,kBAAkB,EAAE,qBAAqB,CAAC,2BAA2B,CAoDzE,CAAC;AAEH,eAAe,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"title.d.ts","sourceRoot":"","sources":["../../../src/components/eui-stat/title.gts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"title.d.ts","sourceRoot":"","sources":["../../../src/components/eui-stat/title.gts"],"names":[],"mappings":"AA2DA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E,wCAAwC;AACxC,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,GAAG,CAAC;IACb,IAAI,EAAE;QACJ,iCAAiC;QACjC,SAAS,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;QAC9C,2DAA2D;QAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,2CAA2C;QAC3C,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,wDAAwD;QACxD,YAAY,CAAC,EAAE,OAAO,CAAC;KACxB,CAAC;IACF,MAAM,EAAE;QACN,gBAAgB;QAChB,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,QAAA,MAAM,YAAY,EAAE,qBAAqB,CAAC,qBAAqB,CAqD7D,CAAC;AAEH,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-suggest-item.d.ts","sourceRoot":"","sources":["../../src/components/eui-suggest-item.gts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"eui-suggest-item.d.ts","sourceRoot":"","sources":["../../src/components/eui-suggest-item.gts"],"names":[],"mappings":"AA4GA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAgB5E,MAAM,WAAW,kBAAkB;IACjC,sEAAsE;IACtE,QAAQ,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;IAC3C,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,iBAAiB,GAAG,cAAc,CAAC;IAC5C,IAAI,EAAE;QACJ,iDAAiD;QACjD,IAAI,EAAE,kBAAkB,CAAC;QACzB,sBAAsB;QACtB,KAAK,EAAE,MAAM,CAAC;QACd,sCAAsC;QACtC,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB;;;;WAIG;QACH,YAAY,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;QAClC,mFAAmF;QACnF,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;QACnE,6EAA6E;QAC7E,kBAAkB,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC;QACzC,yBAAyB;QACzB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;KACvC,CAAC;CACH;AAsBD,QAAA,MAAM,cAAc,EAAE,qBAAqB,CAAC,uBAAuB,CAwDjE,CAAC;AAEH,eAAe,cAAc,CAAC"}
|