@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.
Files changed (502) hide show
  1. package/README.md +3 -3
  2. package/declarations/-private/basic-table.d.ts +366 -0
  3. package/declarations/-private/basic-table.d.ts.map +1 -0
  4. package/declarations/-private/eui-apply-props.d.ts +37 -0
  5. package/declarations/-private/eui-apply-props.d.ts.map +1 -0
  6. package/declarations/-private/eui-button-context.d.ts +65 -0
  7. package/declarations/-private/eui-button-context.d.ts.map +1 -0
  8. package/declarations/-private/eui-button-group-item.d.ts +17 -0
  9. package/declarations/-private/eui-button-group-item.d.ts.map +1 -0
  10. package/declarations/-private/eui-comment-item.d.ts +72 -0
  11. package/declarations/-private/eui-comment-item.d.ts.map +1 -0
  12. package/declarations/-private/eui-context-menu-entry.d.ts +18 -0
  13. package/declarations/-private/eui-context-menu-entry.d.ts.map +1 -0
  14. package/declarations/-private/eui-disabled-element.d.ts +24 -0
  15. package/declarations/-private/eui-disabled-element.d.ts.map +1 -0
  16. package/declarations/-private/eui-filter-group-context.d.ts +18 -0
  17. package/declarations/-private/eui-filter-group-context.d.ts.map +1 -0
  18. package/declarations/-private/eui-flyout-context.d.ts +32 -0
  19. package/declarations/-private/eui-flyout-context.d.ts.map +1 -0
  20. package/declarations/-private/eui-form-context.d.ts +18 -0
  21. package/declarations/-private/eui-form-context.d.ts.map +1 -0
  22. package/declarations/-private/eui-form-control-layout-context.d.ts +22 -0
  23. package/declarations/-private/eui-form-control-layout-context.d.ts.map +1 -0
  24. package/declarations/-private/eui-list-context.d.ts +42 -0
  25. package/declarations/-private/eui-list-context.d.ts.map +1 -0
  26. package/declarations/-private/eui-maybe-popover.d.ts +26 -0
  27. package/declarations/-private/eui-maybe-popover.d.ts.map +1 -0
  28. package/declarations/-private/eui-maybe-tool-tip.d.ts +29 -0
  29. package/declarations/-private/eui-maybe-tool-tip.d.ts.map +1 -0
  30. package/declarations/-private/eui-node.d.ts +19 -0
  31. package/declarations/-private/eui-node.d.ts.map +1 -0
  32. package/declarations/-private/eui-popover-panel-context.d.ts +19 -0
  33. package/declarations/-private/eui-popover-panel-context.d.ts.map +1 -0
  34. package/declarations/-private/eui-render-node.d.ts +19 -0
  35. package/declarations/-private/eui-render-node.d.ts.map +1 -0
  36. package/declarations/-private/eui-split-button-context.d.ts +23 -0
  37. package/declarations/-private/eui-split-button-context.d.ts.map +1 -0
  38. package/declarations/-private/eui-split-panel-context.d.ts +22 -0
  39. package/declarations/-private/eui-split-panel-context.d.ts.map +1 -0
  40. package/declarations/-private/eui-spread-attributes.d.ts +17 -0
  41. package/declarations/-private/eui-spread-attributes.d.ts.map +1 -0
  42. package/declarations/-private/eui-steps-context.d.ts +18 -0
  43. package/declarations/-private/eui-steps-context.d.ts.map +1 -0
  44. package/declarations/-private/eui-steps-horizontal-context.d.ts +15 -0
  45. package/declarations/-private/eui-steps-horizontal-context.d.ts.map +1 -0
  46. package/declarations/-private/eui-tabs-context.d.ts +16 -0
  47. package/declarations/-private/eui-tabs-context.d.ts.map +1 -0
  48. package/declarations/-private/eui-tour-parts.d.ts +28 -0
  49. package/declarations/-private/eui-tour-parts.d.ts.map +1 -0
  50. package/declarations/-private/focus-trap-effects.d.ts +14 -0
  51. package/declarations/-private/focus-trap-effects.d.ts.map +1 -0
  52. package/declarations/-private/focus-trap-registry.d.ts +20 -0
  53. package/declarations/-private/focus-trap-registry.d.ts.map +1 -0
  54. package/declarations/-private/live-text.d.ts +18 -0
  55. package/declarations/-private/live-text.d.ts.map +1 -0
  56. package/declarations/-private/next-frame.d.ts +7 -0
  57. package/declarations/-private/next-frame.d.ts.map +1 -0
  58. package/declarations/-private/removed-upstream.d.ts +12 -0
  59. package/declarations/-private/removed-upstream.d.ts.map +1 -0
  60. package/declarations/-private/search-bar.d.ts +85 -0
  61. package/declarations/-private/search-bar.d.ts.map +1 -0
  62. package/declarations/-private/table-node.d.ts +25 -0
  63. package/declarations/-private/table-node.d.ts.map +1 -0
  64. package/declarations/-private/table-pagination-defaults.d.ts +19 -0
  65. package/declarations/-private/table-pagination-defaults.d.ts.map +1 -0
  66. package/declarations/-private/tabular-copy-marker.d.ts +17 -0
  67. package/declarations/-private/tabular-copy-marker.d.ts.map +1 -0
  68. package/declarations/-private/unused-after-borealis.d.ts +12 -0
  69. package/declarations/-private/unused-after-borealis.d.ts.map +1 -0
  70. package/declarations/-private/value-modifier.d.ts +17 -0
  71. package/declarations/-private/value-modifier.d.ts.map +1 -0
  72. package/declarations/-private/window-resize.d.ts +10 -0
  73. package/declarations/-private/window-resize.d.ts.map +1 -0
  74. package/declarations/components/eui-accordion.d.ts.map +1 -1
  75. package/declarations/components/eui-auto-refresh-button.d.ts +73 -0
  76. package/declarations/components/eui-auto-refresh-button.d.ts.map +1 -0
  77. package/declarations/components/eui-auto-refresh.d.ts +73 -0
  78. package/declarations/components/eui-auto-refresh.d.ts.map +1 -0
  79. package/declarations/components/eui-banner.d.ts +132 -0
  80. package/declarations/components/eui-banner.d.ts.map +1 -0
  81. package/declarations/components/eui-basic-table/collapsed-item-actions.d.ts +40 -0
  82. package/declarations/components/eui-basic-table/collapsed-item-actions.d.ts.map +1 -0
  83. package/declarations/components/eui-basic-table/default-item-action.d.ts +28 -0
  84. package/declarations/components/eui-basic-table/default-item-action.d.ts.map +1 -0
  85. package/declarations/components/eui-basic-table/expanded-item-actions.d.ts +25 -0
  86. package/declarations/components/eui-basic-table/expanded-item-actions.d.ts.map +1 -0
  87. package/declarations/components/eui-basic-table/pagination-bar.d.ts +47 -0
  88. package/declarations/components/eui-basic-table/pagination-bar.d.ts.map +1 -0
  89. package/declarations/components/eui-basic-table-panel.d.ts +43 -0
  90. package/declarations/components/eui-basic-table-panel.d.ts.map +1 -0
  91. package/declarations/components/eui-basic-table.d.ts +264 -0
  92. package/declarations/components/eui-basic-table.d.ts.map +1 -0
  93. package/declarations/components/eui-button.d.ts.map +1 -1
  94. package/declarations/components/eui-card.d.ts.map +1 -1
  95. package/declarations/components/eui-code-block/annotation.d.ts +41 -0
  96. package/declarations/components/eui-code-block/annotation.d.ts.map +1 -0
  97. package/declarations/components/eui-collapsible-nav-group.d.ts.map +1 -1
  98. package/declarations/components/eui-combo-box/node.d.ts +21 -0
  99. package/declarations/components/eui-combo-box/node.d.ts.map +1 -0
  100. package/declarations/components/eui-combo-box/option-text.d.ts +37 -0
  101. package/declarations/components/eui-combo-box/option-text.d.ts.map +1 -0
  102. package/declarations/components/eui-container-query.d.ts +44 -0
  103. package/declarations/components/eui-container-query.d.ts.map +1 -0
  104. package/declarations/components/eui-data-grid/body-base.d.ts +66 -0
  105. package/declarations/components/eui-data-grid/body-base.d.ts.map +1 -0
  106. package/declarations/components/eui-data-grid/body.d.ts +215 -0
  107. package/declarations/components/eui-data-grid/body.d.ts.map +1 -0
  108. package/declarations/components/eui-data-grid/cell-actions.d.ts +78 -0
  109. package/declarations/components/eui-data-grid/cell-actions.d.ts.map +1 -0
  110. package/declarations/components/eui-data-grid/cell.d.ts +220 -0
  111. package/declarations/components/eui-data-grid/cell.d.ts.map +1 -0
  112. package/declarations/components/eui-data-grid/column-actions.d.ts +61 -0
  113. package/declarations/components/eui-data-grid/column-actions.d.ts.map +1 -0
  114. package/declarations/components/eui-data-grid/column-resizer.d.ts +22 -0
  115. package/declarations/components/eui-data-grid/column-resizer.d.ts.map +1 -0
  116. package/declarations/components/eui-data-grid/column-selector.d.ts +47 -0
  117. package/declarations/components/eui-data-grid/column-selector.d.ts.map +1 -0
  118. package/declarations/components/eui-data-grid/column-sorting.d.ts +61 -0
  119. package/declarations/components/eui-data-grid/column-sorting.d.ts.map +1 -0
  120. package/declarations/components/eui-data-grid/copy-marker.d.ts +16 -0
  121. package/declarations/components/eui-data-grid/copy-marker.d.ts.map +1 -0
  122. package/declarations/components/eui-data-grid/custom-body.d.ts +113 -0
  123. package/declarations/components/eui-data-grid/custom-body.d.ts.map +1 -0
  124. package/declarations/components/eui-data-grid/default-cell-popover.d.ts +23 -0
  125. package/declarations/components/eui-data-grid/default-cell-popover.d.ts.map +1 -0
  126. package/declarations/components/eui-data-grid/display-selector.d.ts +56 -0
  127. package/declarations/components/eui-data-grid/display-selector.d.ts.map +1 -0
  128. package/declarations/components/eui-data-grid/footer-row.d.ts +21 -0
  129. package/declarations/components/eui-data-grid/footer-row.d.ts.map +1 -0
  130. package/declarations/components/eui-data-grid/fullscreen-selector.d.ts +14 -0
  131. package/declarations/components/eui-data-grid/fullscreen-selector.d.ts.map +1 -0
  132. package/declarations/components/eui-data-grid/header-cell.d.ts +159 -0
  133. package/declarations/components/eui-data-grid/header-cell.d.ts.map +1 -0
  134. package/declarations/components/eui-data-grid/header-row.d.ts +91 -0
  135. package/declarations/components/eui-data-grid/header-row.d.ts.map +1 -0
  136. package/declarations/components/eui-data-grid/in-memory-renderer.d.ts +46 -0
  137. package/declarations/components/eui-data-grid/in-memory-renderer.d.ts.map +1 -0
  138. package/declarations/components/eui-data-grid/keyboard-shortcuts.d.ts +24 -0
  139. package/declarations/components/eui-data-grid/keyboard-shortcuts.d.ts.map +1 -0
  140. package/declarations/components/eui-data-grid/pagination.d.ts +31 -0
  141. package/declarations/components/eui-data-grid/pagination.d.ts.map +1 -0
  142. package/declarations/components/eui-data-grid/row-model.d.ts +81 -0
  143. package/declarations/components/eui-data-grid/row-model.d.ts.map +1 -0
  144. package/declarations/components/eui-data-grid/row-tree-hooks.d.ts +65 -0
  145. package/declarations/components/eui-data-grid/row-tree-hooks.d.ts.map +1 -0
  146. package/declarations/components/eui-data-grid/row.d.ts +26 -0
  147. package/declarations/components/eui-data-grid/row.d.ts.map +1 -0
  148. package/declarations/components/eui-data-grid/toolbar.d.ts +43 -0
  149. package/declarations/components/eui-data-grid/toolbar.d.ts.map +1 -0
  150. package/declarations/components/eui-data-grid/tree-cell.d.ts +36 -0
  151. package/declarations/components/eui-data-grid/tree-cell.d.ts.map +1 -0
  152. package/declarations/components/eui-data-grid-toolbar-control.d.ts +61 -0
  153. package/declarations/components/eui-data-grid-toolbar-control.d.ts.map +1 -0
  154. package/declarations/components/eui-data-grid.d.ts +405 -0
  155. package/declarations/components/eui-data-grid.d.ts.map +1 -0
  156. package/declarations/components/eui-emotion-button.d.ts +31 -0
  157. package/declarations/components/eui-emotion-button.d.ts.map +1 -0
  158. package/declarations/components/eui-emotion-provider.d.ts +100 -0
  159. package/declarations/components/eui-emotion-provider.d.ts.map +1 -0
  160. package/declarations/components/eui-error-message.d.ts +36 -0
  161. package/declarations/components/eui-error-message.d.ts.map +1 -0
  162. package/declarations/components/eui-expression.d.ts.map +1 -1
  163. package/declarations/components/eui-flex-grid.d.ts.map +1 -1
  164. package/declarations/components/eui-flex-item.d.ts.map +1 -1
  165. package/declarations/components/eui-flyout-menu.d.ts +194 -0
  166. package/declarations/components/eui-flyout-menu.d.ts.map +1 -0
  167. package/declarations/components/eui-flyout-resizable.d.ts +21 -0
  168. package/declarations/components/eui-flyout-resizable.d.ts.map +1 -0
  169. package/declarations/components/eui-flyout-resize-button.d.ts +25 -0
  170. package/declarations/components/eui-flyout-resize-button.d.ts.map +1 -0
  171. package/declarations/components/eui-flyout.d.ts.map +1 -1
  172. package/declarations/components/eui-focus-trap.d.ts +96 -0
  173. package/declarations/components/eui-focus-trap.d.ts.map +1 -0
  174. package/declarations/components/eui-form-append.d.ts +18 -0
  175. package/declarations/components/eui-form-append.d.ts.map +1 -0
  176. package/declarations/components/eui-form-control-button.d.ts +108 -0
  177. package/declarations/components/eui-form-control-button.d.ts.map +1 -0
  178. package/declarations/components/eui-form-control-layout/eui-form-append-prepend.d.ts +75 -0
  179. package/declarations/components/eui-form-control-layout/eui-form-append-prepend.d.ts.map +1 -0
  180. package/declarations/components/eui-form-prepend.d.ts +18 -0
  181. package/declarations/components/eui-form-prepend.d.ts.map +1 -0
  182. package/declarations/components/eui-header-logo/elastic-logo-full.d.ts +11 -0
  183. package/declarations/components/eui-header-logo/elastic-logo-full.d.ts.map +1 -0
  184. package/declarations/components/eui-illustration.d.ts +53 -0
  185. package/declarations/components/eui-illustration.d.ts.map +1 -0
  186. package/declarations/components/eui-in-memory-table.d.ts +171 -0
  187. package/declarations/components/eui-in-memory-table.d.ts.map +1 -0
  188. package/declarations/components/eui-inline-edit/eui-inline-edit-form.d.ts +205 -0
  189. package/declarations/components/eui-inline-edit/eui-inline-edit-form.d.ts.map +1 -0
  190. package/declarations/components/eui-inline-edit-text.d.ts +23 -0
  191. package/declarations/components/eui-inline-edit-text.d.ts.map +1 -0
  192. package/declarations/components/eui-inline-edit-title.d.ts +38 -0
  193. package/declarations/components/eui-inline-edit-title.d.ts.map +1 -0
  194. package/declarations/components/eui-key-pad-menu-item.d.ts.map +1 -1
  195. package/declarations/components/eui-live-announcer.d.ts +60 -0
  196. package/declarations/components/eui-live-announcer.d.ts.map +1 -0
  197. package/declarations/components/eui-markdown-format/markdown-horizontal-rule.d.ts +16 -0
  198. package/declarations/components/eui-markdown-format/markdown-horizontal-rule.d.ts.map +1 -0
  199. package/declarations/components/eui-markdown-format/markdown-link.d.ts +28 -0
  200. package/declarations/components/eui-markdown-format/markdown-link.d.ts.map +1 -0
  201. package/declarations/components/eui-notification-event.d.ts.map +1 -1
  202. package/declarations/components/eui-page-body.d.ts +2 -1
  203. package/declarations/components/eui-page-body.d.ts.map +1 -1
  204. package/declarations/components/eui-page-content-body.d.ts +2 -1
  205. package/declarations/components/eui-page-content-body.d.ts.map +1 -1
  206. package/declarations/components/eui-page-content.d.ts +1 -1
  207. package/declarations/components/eui-page-content.d.ts.map +1 -1
  208. package/declarations/components/eui-page-section.d.ts +76 -0
  209. package/declarations/components/eui-page-section.d.ts.map +1 -0
  210. package/declarations/components/eui-page-sidebar.d.ts +60 -0
  211. package/declarations/components/eui-page-sidebar.d.ts.map +1 -0
  212. package/declarations/components/eui-page-template/bottom-bar.d.ts +54 -0
  213. package/declarations/components/eui-page-template/bottom-bar.d.ts.map +1 -0
  214. package/declarations/components/eui-page-template/empty-prompt.d.ts +91 -0
  215. package/declarations/components/eui-page-template/empty-prompt.d.ts.map +1 -0
  216. package/declarations/components/eui-page-template/sidebar.d.ts +32 -0
  217. package/declarations/components/eui-page-template/sidebar.d.ts.map +1 -0
  218. package/declarations/components/eui-page-template.d.ts +16 -15
  219. package/declarations/components/eui-page-template.d.ts.map +1 -1
  220. package/declarations/components/eui-page.d.ts +2 -1
  221. package/declarations/components/eui-page.d.ts.map +1 -1
  222. package/declarations/components/eui-pagination/arrow-button.d.ts +26 -0
  223. package/declarations/components/eui-pagination/arrow-button.d.ts.map +1 -0
  224. package/declarations/components/eui-pagination.d.ts.map +1 -1
  225. package/declarations/components/eui-panel.d.ts.map +1 -1
  226. package/declarations/components/eui-pretty-duration.d.ts +29 -0
  227. package/declarations/components/eui-pretty-duration.d.ts.map +1 -0
  228. package/declarations/components/eui-refresh-interval.d.ts +2 -0
  229. package/declarations/components/eui-refresh-interval.d.ts.map +1 -1
  230. package/declarations/components/eui-screen-reader-live.d.ts +75 -0
  231. package/declarations/components/eui-screen-reader-live.d.ts.map +1 -0
  232. package/declarations/components/eui-search-bar/eui-search-box.d.ts +106 -0
  233. package/declarations/components/eui-search-bar/eui-search-box.d.ts.map +1 -0
  234. package/declarations/components/eui-search-bar/field-value-selection-filter.d.ts +70 -0
  235. package/declarations/components/eui-search-bar/field-value-selection-filter.d.ts.map +1 -0
  236. package/declarations/components/eui-search-bar/field-value-toggle-filter.d.ts +23 -0
  237. package/declarations/components/eui-search-bar/field-value-toggle-filter.d.ts.map +1 -0
  238. package/declarations/components/eui-search-bar/field-value-toggle-group-filter.d.ts +26 -0
  239. package/declarations/components/eui-search-bar/field-value-toggle-group-filter.d.ts.map +1 -0
  240. package/declarations/components/eui-search-bar/is-filter.d.ts +23 -0
  241. package/declarations/components/eui-search-bar/is-filter.d.ts.map +1 -0
  242. package/declarations/components/eui-search-bar-filters.d.ts +28 -0
  243. package/declarations/components/eui-search-bar-filters.d.ts.map +1 -0
  244. package/declarations/components/eui-search-bar.d.ts +134 -0
  245. package/declarations/components/eui-search-bar.d.ts.map +1 -0
  246. package/declarations/components/eui-selectable-list/option-text.d.ts +31 -0
  247. package/declarations/components/eui-selectable-list/option-text.d.ts.map +1 -0
  248. package/declarations/components/eui-side-nav.d.ts.map +1 -1
  249. package/declarations/components/eui-skeleton-circle.d.ts +60 -0
  250. package/declarations/components/eui-skeleton-circle.d.ts.map +1 -0
  251. package/declarations/components/eui-skeleton-loading/screen-reader-live.d.ts +60 -0
  252. package/declarations/components/eui-skeleton-loading/screen-reader-live.d.ts.map +1 -0
  253. package/declarations/components/eui-skeleton-loading.d.ts +86 -0
  254. package/declarations/components/eui-skeleton-loading.d.ts.map +1 -0
  255. package/declarations/components/eui-skeleton-rectangle.d.ts +70 -0
  256. package/declarations/components/eui-skeleton-rectangle.d.ts.map +1 -0
  257. package/declarations/components/eui-skeleton-text.d.ts +64 -0
  258. package/declarations/components/eui-skeleton-text.d.ts.map +1 -0
  259. package/declarations/components/eui-skeleton-title.d.ts +60 -0
  260. package/declarations/components/eui-skeleton-title.d.ts.map +1 -0
  261. package/declarations/components/eui-split-button/eui-split-button-action-primary.d.ts +58 -0
  262. package/declarations/components/eui-split-button/eui-split-button-action-primary.d.ts.map +1 -0
  263. package/declarations/components/eui-split-button/eui-split-button-action-secondary.d.ts +63 -0
  264. package/declarations/components/eui-split-button/eui-split-button-action-secondary.d.ts.map +1 -0
  265. package/declarations/components/eui-split-button.d.ts +76 -0
  266. package/declarations/components/eui-split-button.d.ts.map +1 -0
  267. package/declarations/components/eui-stat/description.d.ts.map +1 -1
  268. package/declarations/components/eui-stat/title.d.ts.map +1 -1
  269. package/declarations/components/eui-suggest-item.d.ts.map +1 -1
  270. package/declarations/components/eui-super-date-picker/date-popover/eui-time-zone-display.d.ts +59 -0
  271. package/declarations/components/eui-super-date-picker/date-popover/eui-time-zone-display.d.ts.map +1 -0
  272. package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select-panel.d.ts +46 -0
  273. package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select-panel.d.ts.map +1 -0
  274. package/declarations/components/eui-super-date-picker/eui-time-window-buttons.d.ts +63 -0
  275. package/declarations/components/eui-super-date-picker/eui-time-window-buttons.d.ts.map +1 -0
  276. package/declarations/components/eui-super-date-picker/utils/pretty-interval.d.ts +14 -0
  277. package/declarations/components/eui-super-date-picker/utils/pretty-interval.d.ts.map +1 -0
  278. package/declarations/components/eui-super-date-picker/utils/time-window.d.ts +34 -0
  279. package/declarations/components/eui-super-date-picker/utils/time-window.d.ts.map +1 -0
  280. package/declarations/components/eui-super-date-picker.d.ts +1 -1
  281. package/declarations/components/eui-super-date-picker.d.ts.map +1 -1
  282. package/declarations/components/eui-tabbed-content.d.ts.map +1 -1
  283. package/declarations/components/eui-table/sticky-header.d.ts +56 -0
  284. package/declarations/components/eui-table/sticky-header.d.ts.map +1 -0
  285. package/declarations/components/eui-table/sticky-scrollbar.d.ts +47 -0
  286. package/declarations/components/eui-table/sticky-scrollbar.d.ts.map +1 -0
  287. package/declarations/components/eui-table-header-cell.d.ts.map +1 -1
  288. package/declarations/components/eui-text-block-truncate.d.ts +42 -0
  289. package/declarations/components/eui-text-block-truncate.d.ts.map +1 -0
  290. package/declarations/components/eui-text-truncate.d.ts +116 -0
  291. package/declarations/components/eui-text-truncate.d.ts.map +1 -0
  292. package/declarations/components/eui-timeline-item-event.d.ts +21 -0
  293. package/declarations/components/eui-timeline-item-event.d.ts.map +1 -0
  294. package/declarations/components/eui-timeline-item-icon.d.ts +41 -0
  295. package/declarations/components/eui-timeline-item-icon.d.ts.map +1 -0
  296. package/declarations/components/eui-timeline-item.d.ts +46 -0
  297. package/declarations/components/eui-timeline-item.d.ts.map +1 -0
  298. package/declarations/components/eui-timeline.d.ts +24 -0
  299. package/declarations/components/eui-timeline.d.ts.map +1 -0
  300. package/declarations/components/eui-window-event.d.ts +16 -0
  301. package/declarations/components/eui-window-event.d.ts.map +1 -0
  302. package/declarations/helpers/eui-page-restrict-width.d.ts.map +1 -1
  303. package/declarations/modifiers/container-query.d.ts +26 -0
  304. package/declarations/modifiers/container-query.d.ts.map +1 -0
  305. package/declarations/services/eui-emotion.d.ts +21 -0
  306. package/declarations/services/eui-emotion.d.ts.map +1 -0
  307. package/declarations/services/eui-flyout-manager.d.ts +103 -0
  308. package/declarations/services/eui-flyout-manager.d.ts.map +1 -0
  309. package/declarations/theming.d.ts +84 -0
  310. package/declarations/theming.d.ts.map +1 -0
  311. package/declarations/utils/color/eui_palettes_deprecated.d.ts +20 -0
  312. package/declarations/utils/color/eui_palettes_deprecated.d.ts.map +1 -0
  313. package/declarations/utils/container-query/match-container.d.ts +85 -0
  314. package/declarations/utils/container-query/match-container.d.ts.map +1 -0
  315. package/declarations/utils/data-grid/focus.d.ts +33 -0
  316. package/declarations/utils/data-grid/focus.d.ts.map +1 -0
  317. package/declarations/utils/data-grid/row-heights.d.ts +26 -0
  318. package/declarations/utils/data-grid/row-heights.d.ts.map +1 -0
  319. package/declarations/utils/data-grid/row-tree.d.ts +102 -0
  320. package/declarations/utils/data-grid/row-tree.d.ts.map +1 -0
  321. package/declarations/utils/data-grid/scheduling.d.ts +12 -0
  322. package/declarations/utils/data-grid/scheduling.d.ts.map +1 -0
  323. package/declarations/utils/data-grid/schema.d.ts +21 -0
  324. package/declarations/utils/data-grid/schema.d.ts.map +1 -0
  325. package/declarations/utils/data-grid/sorting.d.ts +13 -0
  326. package/declarations/utils/data-grid/sorting.d.ts.map +1 -0
  327. package/declarations/utils/data-grid/tabular-copy.d.ts +25 -0
  328. package/declarations/utils/data-grid/tabular-copy.d.ts.map +1 -0
  329. package/declarations/utils/data-grid/toolbar.d.ts +14 -0
  330. package/declarations/utils/data-grid/toolbar.d.ts.map +1 -0
  331. package/declarations/utils/data-grid/types.d.ts +495 -0
  332. package/declarations/utils/data-grid/types.d.ts.map +1 -0
  333. package/declarations/utils/emotion/consume.d.ts +10 -0
  334. package/declarations/utils/emotion/consume.d.ts.map +1 -0
  335. package/declarations/utils/emotion/context.d.ts +56 -0
  336. package/declarations/utils/emotion/context.d.ts.map +1 -0
  337. package/declarations/utils/emotion/system.d.ts +27 -0
  338. package/declarations/utils/emotion/system.d.ts.map +1 -0
  339. package/declarations/utils/emotion/theme.d.ts +27 -0
  340. package/declarations/utils/emotion/theme.d.ts.map +1 -0
  341. package/declarations/utils/eui/buttons-misc.d.ts +21 -0
  342. package/declarations/utils/eui/buttons-misc.d.ts.map +1 -0
  343. package/declarations/utils/eui/code-block.d.ts +16 -0
  344. package/declarations/utils/eui/code-block.d.ts.map +1 -0
  345. package/declarations/utils/eui/color-picker.d.ts +43 -0
  346. package/declarations/utils/eui/color-picker.d.ts.map +1 -0
  347. package/declarations/utils/eui/combo-box.d.ts +130 -0
  348. package/declarations/utils/eui/combo-box.d.ts.map +1 -0
  349. package/declarations/utils/eui/content-blocks.d.ts +14 -0
  350. package/declarations/utils/eui/content-blocks.d.ts.map +1 -0
  351. package/declarations/utils/eui/control-bar.d.ts +36 -0
  352. package/declarations/utils/eui/control-bar.d.ts.map +1 -0
  353. package/declarations/utils/eui/css-variables.d.ts +34 -0
  354. package/declarations/utils/eui/css-variables.d.ts.map +1 -0
  355. package/declarations/utils/eui/data-grid.d.ts +20 -0
  356. package/declarations/utils/eui/data-grid.d.ts.map +1 -0
  357. package/declarations/utils/eui/date-pickers.d.ts +73 -0
  358. package/declarations/utils/eui/date-pickers.d.ts.map +1 -0
  359. package/declarations/utils/eui/flyout-manager/actions.d.ts +168 -0
  360. package/declarations/utils/eui/flyout-manager/actions.d.ts.map +1 -0
  361. package/declarations/utils/eui/flyout-manager/activity-stage.d.ts +27 -0
  362. package/declarations/utils/eui/flyout-manager/activity-stage.d.ts.map +1 -0
  363. package/declarations/utils/eui/flyout-manager/const.d.ts +49 -0
  364. package/declarations/utils/eui/flyout-manager/const.d.ts.map +1 -0
  365. package/declarations/utils/eui/flyout-manager/history.d.ts +9 -0
  366. package/declarations/utils/eui/flyout-manager/history.d.ts.map +1 -0
  367. package/declarations/utils/eui/flyout-manager/layout-mode.d.ts +15 -0
  368. package/declarations/utils/eui/flyout-manager/layout-mode.d.ts.map +1 -0
  369. package/declarations/utils/eui/flyout-manager/reducer.d.ts +11 -0
  370. package/declarations/utils/eui/flyout-manager/reducer.d.ts.map +1 -0
  371. package/declarations/utils/eui/flyout-manager/selectors.d.ts +34 -0
  372. package/declarations/utils/eui/flyout-manager/selectors.d.ts.map +1 -0
  373. package/declarations/utils/eui/flyout-manager/types.d.ts +84 -0
  374. package/declarations/utils/eui/flyout-manager/types.d.ts.map +1 -0
  375. package/declarations/utils/eui/flyout-manager/validation.d.ts +30 -0
  376. package/declarations/utils/eui/flyout-manager/validation.d.ts.map +1 -0
  377. package/declarations/utils/eui/flyout-menu.d.ts +12 -0
  378. package/declarations/utils/eui/flyout-menu.d.ts.map +1 -0
  379. package/declarations/utils/eui/form-controls.d.ts +36 -0
  380. package/declarations/utils/eui/form-controls.d.ts.map +1 -0
  381. package/declarations/utils/eui/format.d.ts +43 -0
  382. package/declarations/utils/eui/format.d.ts.map +1 -0
  383. package/declarations/utils/eui/global-styles.d.ts +11 -0
  384. package/declarations/utils/eui/global-styles.d.ts.map +1 -0
  385. package/declarations/utils/eui/lists.d.ts +20 -0
  386. package/declarations/utils/eui/lists.d.ts.map +1 -0
  387. package/declarations/utils/eui/markdown.d.ts +16 -0
  388. package/declarations/utils/eui/markdown.d.ts.map +1 -0
  389. package/declarations/utils/eui/modal-flyout.d.ts +63 -0
  390. package/declarations/utils/eui/modal-flyout.d.ts.map +1 -0
  391. package/declarations/utils/eui/notification-event.d.ts +23 -0
  392. package/declarations/utils/eui/notification-event.d.ts.map +1 -0
  393. package/declarations/utils/eui/page-layout.d.ts +39 -0
  394. package/declarations/utils/eui/page-layout.d.ts.map +1 -0
  395. package/declarations/utils/eui/range.d.ts +37 -0
  396. package/declarations/utils/eui/range.d.ts.map +1 -0
  397. package/declarations/utils/eui/search-bar/ast-to-es-query-dsl.d.ts +38 -0
  398. package/declarations/utils/eui/search-bar/ast-to-es-query-dsl.d.ts.map +1 -0
  399. package/declarations/utils/eui/search-bar/ast-to-es-query-string.d.ts +3 -0
  400. package/declarations/utils/eui/search-bar/ast-to-es-query-string.d.ts.map +1 -0
  401. package/declarations/utils/eui/search-bar/ast.d.ts +287 -0
  402. package/declarations/utils/eui/search-bar/ast.d.ts.map +1 -0
  403. package/declarations/utils/eui/search-bar/date-format.d.ts +28 -0
  404. package/declarations/utils/eui/search-bar/date-format.d.ts.map +1 -0
  405. package/declarations/utils/eui/search-bar/date-value.d.ts +19 -0
  406. package/declarations/utils/eui/search-bar/date-value.d.ts.map +1 -0
  407. package/declarations/utils/eui/search-bar/default-syntax-parser.d.ts +9 -0
  408. package/declarations/utils/eui/search-bar/default-syntax-parser.d.ts.map +1 -0
  409. package/declarations/utils/eui/search-bar/default-syntax.d.ts +17 -0
  410. package/declarations/utils/eui/search-bar/default-syntax.d.ts.map +1 -0
  411. package/declarations/utils/eui/search-bar/execute-ast.d.ts +20 -0
  412. package/declarations/utils/eui/search-bar/execute-ast.d.ts.map +1 -0
  413. package/declarations/utils/eui/search-bar/index.d.ts +10 -0
  414. package/declarations/utils/eui/search-bar/index.d.ts.map +1 -0
  415. package/declarations/utils/eui/search-bar/operators.d.ts +16 -0
  416. package/declarations/utils/eui/search-bar/operators.d.ts.map +1 -0
  417. package/declarations/utils/eui/search-bar/predicate.d.ts +8 -0
  418. package/declarations/utils/eui/search-bar/predicate.d.ts.map +1 -0
  419. package/declarations/utils/eui/search-bar/query.d.ts +89 -0
  420. package/declarations/utils/eui/search-bar/query.d.ts.map +1 -0
  421. package/declarations/utils/eui/selectable.d.ts +33 -0
  422. package/declarations/utils/eui/selectable.d.ts.map +1 -0
  423. package/declarations/utils/eui/sort.d.ts +23 -0
  424. package/declarations/utils/eui/sort.d.ts.map +1 -0
  425. package/declarations/utils/eui/split-button.d.ts +13 -0
  426. package/declarations/utils/eui/split-button.d.ts.map +1 -0
  427. package/declarations/utils/eui/styles.d.ts +37 -0
  428. package/declarations/utils/eui/styles.d.ts.map +1 -0
  429. package/declarations/utils/eui/styles.generated.d.ts +4467 -0
  430. package/declarations/utils/eui/styles.generated.d.ts.map +1 -0
  431. package/declarations/utils/eui/suggest.d.ts +24 -0
  432. package/declarations/utils/eui/suggest.d.ts.map +1 -0
  433. package/declarations/utils/eui/table.d.ts +12 -0
  434. package/declarations/utils/eui/table.d.ts.map +1 -0
  435. package/declarations/utils/eui/text-truncate.d.ts +5 -0
  436. package/declarations/utils/eui/text-truncate.d.ts.map +1 -0
  437. package/declarations/utils/eui/theme.d.ts +30 -0
  438. package/declarations/utils/eui/theme.d.ts.map +1 -0
  439. package/declarations/utils/eui/token.d.ts +7 -0
  440. package/declarations/utils/eui/token.d.ts.map +1 -0
  441. package/declarations/utils/eui/utilities.d.ts +18 -0
  442. package/declarations/utils/eui/utilities.d.ts.map +1 -0
  443. package/declarations/utils/html-id-generator.d.ts +11 -0
  444. package/declarations/utils/html-id-generator.d.ts.map +1 -0
  445. package/declarations/utils/markdown/plugins/markdown-link-validator.d.ts +53 -0
  446. package/declarations/utils/markdown/plugins/markdown-link-validator.d.ts.map +1 -0
  447. package/declarations/utils/markdown/remark/remark-intraword-underscore.d.ts +4 -0
  448. package/declarations/utils/markdown/remark/remark-intraword-underscore.d.ts.map +1 -0
  449. package/declarations/utils/pretty-duration.d.ts +12 -0
  450. package/declarations/utils/pretty-duration.d.ts.map +1 -0
  451. package/dist/components/eui-accordion.js +1 -3
  452. package/dist/components/eui-accordion.js.map +1 -1
  453. package/dist/components/eui-button.js +0 -2
  454. package/dist/components/eui-button.js.map +1 -1
  455. package/dist/components/eui-card.js +0 -2
  456. package/dist/components/eui-card.js.map +1 -1
  457. package/dist/components/eui-collapsible-nav-group.js +1 -3
  458. package/dist/components/eui-collapsible-nav-group.js.map +1 -1
  459. package/dist/components/eui-expression.js +0 -2
  460. package/dist/components/eui-expression.js.map +1 -1
  461. package/dist/components/eui-flex-grid.js +1 -3
  462. package/dist/components/eui-flex-grid.js.map +1 -1
  463. package/dist/components/eui-flex-item.js +1 -3
  464. package/dist/components/eui-flex-item.js.map +1 -1
  465. package/dist/components/eui-flyout.js +0 -2
  466. package/dist/components/eui-flyout.js.map +1 -1
  467. package/dist/components/eui-key-pad-menu-item.js +0 -2
  468. package/dist/components/eui-key-pad-menu-item.js.map +1 -1
  469. package/dist/components/eui-notification-event.js +0 -2
  470. package/dist/components/eui-notification-event.js.map +1 -1
  471. package/dist/components/eui-page-body.js +1 -3
  472. package/dist/components/eui-page-body.js.map +1 -1
  473. package/dist/components/eui-page-content-body.js.map +1 -1
  474. package/dist/components/eui-page-content.js.map +1 -1
  475. package/dist/components/eui-page-template.js +5 -5
  476. package/dist/components/eui-page-template.js.map +1 -1
  477. package/dist/components/eui-page.js.map +1 -1
  478. package/dist/components/eui-pagination.js +7 -4
  479. package/dist/components/eui-pagination.js.map +1 -1
  480. package/dist/components/eui-panel.js +1 -1
  481. package/dist/components/eui-panel.js.map +1 -1
  482. package/dist/components/eui-range.js +1 -1
  483. package/dist/components/eui-range.js.map +1 -1
  484. package/dist/components/eui-refresh-interval.js +22 -1
  485. package/dist/components/eui-refresh-interval.js.map +1 -1
  486. package/dist/components/eui-side-nav.js +0 -2
  487. package/dist/components/eui-side-nav.js.map +1 -1
  488. package/dist/components/eui-stat/description.js +0 -2
  489. package/dist/components/eui-stat/description.js.map +1 -1
  490. package/dist/components/eui-stat/title.js +0 -2
  491. package/dist/components/eui-stat/title.js.map +1 -1
  492. package/dist/components/eui-suggest-item.js +0 -2
  493. package/dist/components/eui-suggest-item.js.map +1 -1
  494. package/dist/components/eui-super-date-picker.js.map +1 -1
  495. package/dist/components/eui-tabbed-content.js +6 -5
  496. package/dist/components/eui-tabbed-content.js.map +1 -1
  497. package/dist/components/eui-table-header-cell.js +0 -2
  498. package/dist/components/eui-table-header-cell.js.map +1 -1
  499. package/dist/helpers/eui-page-restrict-width.js +1 -1
  500. package/dist/helpers/eui-page-restrict-width.js.map +1 -1
  501. package/dist/icons-CQELx6Ce.js.map +1 -1
  502. package/package.json +5 -6
@@ -0,0 +1,53 @@
1
+ import Component from '@glimmer/component';
2
+ import type { EuiCss } from '../utils/eui/styles.ts';
3
+ /**
4
+ * An illustration asset (upstream's contract, e.g. an export of
5
+ * `@elastic/eui-illustrations`). `light` and `dark` are inlined as-is: only
6
+ * pass trusted, package-authored SVG markup, never user-supplied markup.
7
+ */
8
+ export interface EuiIllustrationType {
9
+ /** Unique id for the illustration. */
10
+ id: string;
11
+ /** Human-readable title, used as the default accessible label. */
12
+ title: string;
13
+ /** Trusted SVG markup for the light color mode. */
14
+ light: string;
15
+ /** Trusted SVG markup for the dark color mode. */
16
+ dark: string;
17
+ }
18
+ /**
19
+ * An inline SVG illustration that follows the nearest theme's color mode.
20
+ */
21
+ export interface EuiIllustrationSignature {
22
+ Element: HTMLSpanElement;
23
+ Args: {
24
+ /**
25
+ * The illustration asset (`{ id, title, light, dark }`), typically
26
+ * imported from `@elastic/eui-illustrations`. Its markup is inlined
27
+ * verbatim, so it must be trusted.
28
+ */
29
+ type: EuiIllustrationType;
30
+ /**
31
+ * Accessible label; pass `''` to mark the illustration as decorative
32
+ * (`aria-hidden`). Defaults to the illustration's `title`.
33
+ */
34
+ alt?: string;
35
+ /**
36
+ * When `true`, the SVG stretches to the container's full width; when
37
+ * `false`, it keeps its intrinsic width. Defaults to `true`.
38
+ */
39
+ fullWidth?: boolean;
40
+ /**
41
+ * Extra styles composed last into this component's class (like upstream's
42
+ * `css` prop).
43
+ */
44
+ css?: EuiCss;
45
+ };
46
+ }
47
+ export default class EuiIllustration extends Component<EuiIllustrationSignature> {
48
+ get classes(): string;
49
+ get svg(): import("@ember/template").TrustedHTML;
50
+ get isDecorative(): boolean;
51
+ get label(): string | undefined;
52
+ }
53
+ //# sourceMappingURL=eui-illustration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-illustration.d.ts","sourceRoot":"","sources":["../../src/components/eui-illustration.gts"],"names":[],"mappings":"AA8FA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAQ3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAErD;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,sCAAsC;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,kEAAkE;IAClE,KAAK,EAAE,MAAM,CAAC;IACd,mDAAmD;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,eAAe,CAAC;IACzB,IAAI,EAAE;QACJ;;;;WAIG;QACH,IAAI,EAAE,mBAAmB,CAAC;QAC1B;;;WAGG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;QACb;;;WAGG;QACH,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB;;;WAGG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;KACd,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,SAAS,CAAC,wBAAwB,CAAC;IAC9E,IACI,OAAO,WASV;IAED,IAAI,GAAG,0CAKN;IAED,IAAI,YAAY,YAEf;IAED,IAAI,KAAK,uBAER;CAwBF"}
@@ -0,0 +1,171 @@
1
+ import Component from '@glimmer/component';
2
+ import { Query } from '../utils/eui/search-bar/query.ts';
3
+ import EuiBasicTablePanel from './eui-basic-table-panel';
4
+ import type { Criteria, EuiTableSortingType, Pagination as PaginationBarType } from '../-private/basic-table.ts';
5
+ import type { Direction, PropertySort } from '../utils/eui/sort.ts';
6
+ import type { EuiBasicTableSignature } from './eui-basic-table';
7
+ import type { EuiBasicTablePanelProps } from './eui-basic-table-panel';
8
+ import type { EuiSearchBarOnChangeArgs, EuiSearchBarSignature, SchemaType } from './eui-search-bar';
9
+ import type Owner from '@ember/owner';
10
+ /** The search bar options (`EuiSearchBar` args). */
11
+ export type EuiInMemoryTableSearch = Omit<EuiSearchBarSignature['Args'], 'onChange'> & {
12
+ /**
13
+ * Called with `{ query, queryText, error }`; return `true` to also
14
+ * filter the items in memory.
15
+ */
16
+ onChange?: (args: EuiSearchBarOnChangeArgs) => boolean | void;
17
+ };
18
+ export type Search = boolean | EuiInMemoryTableSearch;
19
+ export interface PaginationOptions {
20
+ pageSizeOptions?: number[];
21
+ initialPageIndex?: number;
22
+ initialPageSize?: number;
23
+ /** Controlled page index. */
24
+ pageIndex?: number;
25
+ /** Controlled page size. */
26
+ pageSize?: number;
27
+ showPerPageOptions?: boolean;
28
+ }
29
+ interface SortingOptions {
30
+ sort: PropertySort;
31
+ }
32
+ type Sorting = boolean | SortingOptions;
33
+ /**
34
+ * An `EuiBasicTable` that owns its state: it filters `@items` with an
35
+ * optional `EuiSearchBar`, sorts them by the clicked column and pages
36
+ * them in memory.
37
+ */
38
+ export interface EuiInMemoryTableSignature<T extends object> {
39
+ Element: HTMLDivElement;
40
+ Args: Omit<EuiBasicTableSignature<T>['Args'], 'pagination' | 'sorting' | 'onChange'> & {
41
+ /**
42
+ * Search bar: `true` for defaults, or `EuiSearchBar` args (`box`,
43
+ * `filters`, `query`, `defaultQuery`, `onChange`, …). `box.schema:
44
+ * true` derives the schema from the columns.
45
+ */
46
+ search?: Search;
47
+ /**
48
+ * `'eql'` (search syntax and filters) or `'text'` (plain text search,
49
+ * filters ignored). Defaults to `'eql'`.
50
+ */
51
+ searchFormat?: 'eql' | 'text';
52
+ /**
53
+ * `true` or `{ pageSizeOptions, initialPageIndex, initialPageSize,
54
+ * pageIndex, pageSize, showPerPageOptions }`.
55
+ */
56
+ pagination?: boolean | PaginationOptions;
57
+ /** `true`, or `{ sort: { field, direction } }` for the initial sort. */
58
+ sorting?: Sorting;
59
+ /** Clicking a descending column unsorts it. Defaults to `true`. */
60
+ allowNeutralSort?: boolean;
61
+ /**
62
+ * Informational: called with the new `{ page, sort }` criteria (the
63
+ * table already manages that state).
64
+ */
65
+ onTableChange?: (nextValues: Criteria<T>) => void;
66
+ /** Options of the in-memory query execution. */
67
+ executeQueryOptions?: {
68
+ defaultFields?: string[];
69
+ isClauseMatcher?: (...args: any) => boolean;
70
+ explain?: boolean;
71
+ /** `false` skips executing the query (items are already filtered). */
72
+ enabled?: boolean;
73
+ };
74
+ };
75
+ Blocks: EuiBasicTableSignature<T>['Blocks'] & {
76
+ /**
77
+ * Content between the search bar and the table (only with `@search`,
78
+ * as upstream). Yields `EuiBasicTablePanel` and the
79
+ * `useEuiBasicTablePanelProps()` result, to build supporting panels
80
+ * for a `@panelled` table.
81
+ */
82
+ childrenBetween: [
83
+ Panel: typeof EuiBasicTablePanel,
84
+ panelProps: EuiBasicTablePanelProps
85
+ ];
86
+ /** Search bar tools on the left. */
87
+ toolsLeft: [];
88
+ /** Search bar tools on the right. */
89
+ toolsRight: [];
90
+ /** The search bar's hint content. */
91
+ hint: [];
92
+ };
93
+ }
94
+ interface State<T extends object> {
95
+ prevProps: {
96
+ items: T[];
97
+ sortName: unknown;
98
+ sortDirection?: Direction;
99
+ search?: Search;
100
+ searchQuery?: Query | string;
101
+ };
102
+ query: Query | string | null;
103
+ pageIndex: number;
104
+ pageSize?: number;
105
+ pageSizeOptions?: number[];
106
+ sortName: unknown;
107
+ sortDirection?: Direction;
108
+ allowNeutralSort: boolean;
109
+ showPerPageOptions: boolean | undefined;
110
+ }
111
+ export default class EuiInMemoryTable<T extends object = any> extends Component<EuiInMemoryTableSignature<T>> {
112
+ private _state;
113
+ private stateVersion;
114
+ constructor(owner: Owner, args: EuiInMemoryTableSignature<T>['Args']);
115
+ get searchFormat(): 'eql' | 'text';
116
+ /**
117
+ * Upstream `getDerivedStateFromProps`, applied whenever the state is
118
+ * read; the untracked state it updates is only read through here.
119
+ */
120
+ get state(): State<T>;
121
+ private deriveStateFromArgs;
122
+ setState(changes: Partial<State<T>>): void;
123
+ onTableChange({ page, sort }: Criteria<T>): void;
124
+ onQueryChange({ query, queryText, error }: EuiSearchBarOnChangeArgs): void;
125
+ /**
126
+ * Alternative to onQueryChange - allows consumers to specify they want the
127
+ * search bar to ignore EQL syntax and only use the searchbar for plain text
128
+ */
129
+ onPlainTextSearch(searchValue: string): void;
130
+ resolveSearchSchema(): SchemaType;
131
+ /** The `EuiSearchBar` args (eql format). */
132
+ get searchBarArgs(): EuiInMemoryTableSearch;
133
+ /** The plain text search field (text format). */
134
+ get textSearch(): {
135
+ box: {
136
+ placeholder?: string;
137
+ incremental?: boolean;
138
+ isClearable?: boolean;
139
+ isLoading?: boolean;
140
+ disabled?: boolean;
141
+ readOnly?: boolean;
142
+ fullWidth?: boolean;
143
+ compressed?: boolean;
144
+ id?: string;
145
+ name?: string;
146
+ 'aria-label'?: string;
147
+ 'aria-describedby'?: string;
148
+ 'data-test-subj'?: string;
149
+ prepend?: import('../-private/eui-render-node').EuiRenderNode;
150
+ append?: import('../-private/eui-render-node').EuiRenderNode;
151
+ onClick?: (event: MouseEvent) => void;
152
+ onFocus?: (event: FocusEvent) => void;
153
+ onBlur?: (event: FocusEvent) => void;
154
+ };
155
+ query: string;
156
+ };
157
+ getItemSorter(): (a: T, b: T) => number;
158
+ get visible(): {
159
+ items: T[];
160
+ totalItemCount: number;
161
+ };
162
+ get pagination(): PaginationBarType | undefined;
163
+ /**
164
+ * Data loaded from a server can have a default sort order which is meaningful to the
165
+ * user, but can't be reproduced with client-side sort logic. So we allow the table to display
166
+ * rows in the order in which they're initially loaded by providing an undefined sorting prop.
167
+ */
168
+ get sorting(): EuiTableSortingType<T> | undefined;
169
+ }
170
+ export {};
171
+ //# sourceMappingURL=eui-in-memory-table.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-in-memory-table.d.ts","sourceRoot":"","sources":["../../src/components/eui-in-memory-table.gts"],"names":[],"mappings":"AA6qBA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAI3C,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAGzD,OAAO,kBAEN,MAAM,6BAA6B,CAAC;AAMrC,OAAO,K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D,IAAI,UAAU;;;;;;;;;;;;;;;;;;;;;;MAeb;IAED,aAAa,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,MAAM;IAqBvC,IACI,OAAO,IAAI;QAAE,KAAK,EAAE,CAAC,EAAE,CAAC;QAAC,cAAc,EAAE,MAAM,CAAA;KAAE,CAgCpD;IAED,IACI,UAAU,IAAI,iBAAiB,GAAG,SAAS,CAU9C;IAED;;;;OAIG;IACH,IACI,OAAO,IAAI,mBAAmB,CAAC,CAAC,CAAC,GAAG,SAAS,CAUhD;CAqFF"}
@@ -0,0 +1,205 @@
1
+ import Component from '@glimmer/component';
2
+ import type { ComponentLike } from '@glint/template';
3
+ import type Owner from '@ember/owner';
4
+ import type EuiI18n from '../../services/eui-i18n';
5
+ import type { EuiCss } from '../../utils/eui/styles.ts';
6
+ import type { EuiButtonIconSignature } from '../eui-button-icon';
7
+ /** Props for the save/cancel `EuiButtonIcon`s (upstream `saveButtonProps`). */
8
+ export interface EuiInlineEditButtonProps {
9
+ /** Called after the save/cancel itself. */
10
+ onClick?: (event: MouseEvent) => void;
11
+ 'aria-label'?: string;
12
+ 'data-test-subj'?: string;
13
+ title?: string;
14
+ color?: EuiButtonIconSignature['Args']['color'];
15
+ display?: EuiButtonIconSignature['Args']['display'];
16
+ iconType?: EuiButtonIconSignature['Args']['iconType'];
17
+ isDisabled?: boolean;
18
+ }
19
+ /** Arguments shared by `EuiInlineEditText` and `EuiInlineEditTitle`. */
20
+ export interface EuiInlineEditCommonArgs {
21
+ /** Text shown (and used as the input placeholder) while there is no value. */
22
+ placeholder?: string;
23
+ /**
24
+ * Called with the edited text when saving. Return (or resolve to) `false`
25
+ * to stay in edit mode, e.g. to show `@isInvalid` or `@isLoading`.
26
+ */
27
+ onSave?: (value: string) => void | boolean | Promise<boolean | void>;
28
+ /**
29
+ * Accessible name of the input (required: the input has no visible
30
+ * label).
31
+ */
32
+ inputAriaLabel: string;
33
+ /** Starts in edit mode. */
34
+ startWithEditOpen?: boolean;
35
+ /** Initial text (uncontrolled). */
36
+ defaultValue?: string;
37
+ /**
38
+ * The text, for controlled usage: update it from `@onChange` and reset it
39
+ * from `@onCancel`.
40
+ */
41
+ value?: string;
42
+ /** Called on every input event in edit mode (controlled usage). */
43
+ onChange?: (event: Event) => void;
44
+ /** Called with the previous read mode text when the edit is cancelled. */
45
+ onCancel?: (previousValue: string) => void;
46
+ /** Loading state, shown in edit mode (spinner, skeleton buttons). */
47
+ isLoading?: boolean;
48
+ /** Invalid state, shown in edit mode (with `editModeProps.formRowProps.error`). */
49
+ isInvalid?: boolean;
50
+ /** Locks read mode and shows the text without the edit affordance. */
51
+ isReadOnly?: boolean;
52
+ /**
53
+ * Upstream `readModeProps` for the read mode `EuiButtonEmpty`. Supported:
54
+ * `onClick` (called after edit mode opens), `buttonRef`, `title`,
55
+ * `aria-describedby` (added to the instructions), `data-test-subj`,
56
+ * `color` (any `EuiButtonEmpty` color, defaults to `'text'`) and
57
+ * `iconSide` (`'left'` or `'right'`, defaults to `'right'`).
58
+ */
59
+ readModeProps?: {
60
+ color?: string;
61
+ iconSide?: 'left' | 'right';
62
+ onClick?: (event: MouseEvent) => void;
63
+ buttonRef?: (element: HTMLElement) => void;
64
+ title?: string;
65
+ 'aria-describedby'?: string;
66
+ 'data-test-subj'?: string;
67
+ };
68
+ /**
69
+ * Upstream `editModeProps`:
70
+ * - `formRowProps`: `error` (shown while `@isInvalid`), `helpText`,
71
+ * `data-test-subj`
72
+ * - `inputProps`: `onChange`, `onKeyDown` (called after the inline edit's
73
+ * own handling), `inputRef`, `aria-describedby`, `name`, `maxLength`,
74
+ * `data-test-subj`, `readOnly`, `prepend` and `append` (text, shown in
75
+ * an `EuiFormLabel`, or a component)
76
+ * - `saveButtonProps` / `cancelButtonProps`: see `EuiInlineEditButtonProps`
77
+ */
78
+ editModeProps?: {
79
+ formRowProps?: {
80
+ error?: string | string[];
81
+ helpText?: string;
82
+ 'data-test-subj'?: string;
83
+ };
84
+ inputProps?: {
85
+ onChange?: (event: Event) => void;
86
+ onKeyDown?: (event: KeyboardEvent) => void;
87
+ inputRef?: (element: HTMLInputElement | null) => void;
88
+ 'aria-describedby'?: string;
89
+ name?: string;
90
+ maxLength?: number;
91
+ readOnly?: boolean;
92
+ prepend?: string | ComponentLike;
93
+ append?: string | ComponentLike;
94
+ 'data-test-subj'?: string;
95
+ };
96
+ saveButtonProps?: EuiInlineEditButtonProps;
97
+ cancelButtonProps?: EuiInlineEditButtonProps;
98
+ };
99
+ /**
100
+ * Extra styles composed last into this component's class (like upstream's
101
+ * `css` prop).
102
+ */
103
+ css?: EuiCss;
104
+ }
105
+ /** Upstream `SMALL_SIZE_FORM` / `MEDIUM_SIZE_FORM`. */
106
+ export interface EuiInlineEditSizes {
107
+ iconSize: 's' | 'm';
108
+ compressed: boolean;
109
+ buttonSize: 's' | 'm';
110
+ }
111
+ export declare const SMALL_SIZE_FORM: EuiInlineEditSizes;
112
+ export declare const MEDIUM_SIZE_FORM: EuiInlineEditSizes;
113
+ export interface EuiInlineEditFormSignature {
114
+ Element: HTMLDivElement;
115
+ Args: EuiInlineEditCommonArgs & {
116
+ /** @private Form sizes. */
117
+ sizes: EuiInlineEditSizes;
118
+ /** @private Root class names (`euiInlineEditText` / `…Title`). */
119
+ className: string;
120
+ /** @private Root styles of the consumer component. */
121
+ rootCss: EuiCss;
122
+ /** @private Read mode button `role` (read only). */
123
+ readModeRole?: string;
124
+ /** @private Read mode button `aria-level` (read-only headings). */
125
+ readModeAriaLevel?: number;
126
+ };
127
+ Blocks: {
128
+ /** Renders the read mode text; yields it. */
129
+ default: [readModeValue: string];
130
+ };
131
+ }
132
+ /**
133
+ * @private Upstream `EuiInlineEditForm`: the shared read/edit mode
134
+ * implementation of EuiInlineEditText and EuiInlineEditTitle.
135
+ */
136
+ export default class EuiInlineEditForm extends Component<EuiInlineEditFormSignature> {
137
+ euiI18n: EuiI18n;
138
+ _isEditing: boolean;
139
+ editModeValue: string;
140
+ readModeValue: string;
141
+ /** Which element takes focus once it renders (after a mode switch). */
142
+ pendingFocus: 'read' | 'edit' | null;
143
+ constructor(owner: Owner, args: EuiInlineEditFormSignature['Args']);
144
+ readModeDescribedById: string;
145
+ editModeDescribedById: string;
146
+ get context(): import("../../theming.ts").EuiThemeContext;
147
+ get isEditing(): boolean;
148
+ get value(): string;
149
+ get saveButtonAriaLabel(): string;
150
+ get cancelButtonAriaLabel(): string;
151
+ get inputKeyboardInstructions(): string;
152
+ get activateEditModeDescription(): string;
153
+ get readModeProps(): {
154
+ color?: string;
155
+ iconSide?: "left" | "right";
156
+ onClick?: (event: MouseEvent) => void;
157
+ buttonRef?: (element: HTMLElement) => void;
158
+ title?: string;
159
+ 'aria-describedby'?: string;
160
+ 'data-test-subj'?: string;
161
+ };
162
+ get formRowProps(): {
163
+ error?: string | string[];
164
+ helpText?: string;
165
+ 'data-test-subj'?: string;
166
+ };
167
+ get inputProps(): {
168
+ onChange?: (event: Event) => void;
169
+ onKeyDown?: (event: KeyboardEvent) => void;
170
+ inputRef?: (element: HTMLInputElement | null) => void;
171
+ 'aria-describedby'?: string;
172
+ name?: string;
173
+ maxLength?: number;
174
+ readOnly?: boolean;
175
+ prepend?: string | ComponentLike;
176
+ append?: string | ComponentLike;
177
+ 'data-test-subj'?: string;
178
+ };
179
+ get saveButtonProps(): EuiInlineEditButtonProps;
180
+ get cancelButtonProps(): EuiInlineEditButtonProps;
181
+ get readModeAriaDescribedBy(): string;
182
+ get editModeAriaDescribedBy(): string;
183
+ get formRowError(): string | string[] | undefined;
184
+ get classes(): string;
185
+ /** Composed last into the read mode EuiButtonEmpty (upstream `css`). */
186
+ get readModeCss(): (false | "" | import("@emotion/serialize").SerializedStyles | undefined)[];
187
+ /** Upstream `loadingSkeletonSize`: the control height. */
188
+ get skeletonSize(): any;
189
+ readModeButtonInserted(element: HTMLElement): void;
190
+ inputInserted(element: HTMLInputElement | null): void;
191
+ readOnlyChanged(): void;
192
+ activateEditMode(event: MouseEvent): void;
193
+ cancel(): void;
194
+ /**
195
+ * Not wrapped in a test waiter: the promise belongs to the app's `@onSave`
196
+ * (it can wait for user input, e.g. a confirmation), and the edit mode
197
+ * stays usable meanwhile.
198
+ */
199
+ save(): Promise<void>;
200
+ onInput(event: Event): void;
201
+ onKeyDown(event: KeyboardEvent): void;
202
+ onSaveClick(event: MouseEvent): void;
203
+ onCancelClick(event: MouseEvent): void;
204
+ }
205
+ //# sourceMappingURL=eui-inline-edit-form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-inline-edit-form.d.ts","sourceRoot":"","sources":["../../../src/components/eui-inline-edit/eui-inline-edit-form.gts"],"names":[],"mappings":"AAqlBA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AA4B3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,OAAO,MAAM,yBAAyB,CAAC;AACnD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAEjE,+EAA+E;AAC/E,MAAM,WAAW,wBAAwB;IACvC,2CAA2C;IAC3C,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;IACtC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,sBAAsB,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC;IAChD,OAAO,CAAC,EAAE,sBAAsB,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC;IACpD,QAAQ,CAAC,EAAE,sBAAsB,CAAC,MAAM,CAAC,CAAC,UAAU,CAAC,CAAC;IACtD,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;A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BAChC,MAAM;eACpB,MAAM;oBACD,MAAM;mBACP,OAAO;kBACR,MAAM,GAAG,aAAa;iBACvB,MAAM,GAAG,aAAa;2BACZ,MAAM;MA2K5B;IACD,IAAI,eAAe,6BAElB;IACD,IAAI,iBAAiB,6BAEpB;IACD,IAAI,uBAAuB,WAI1B;IACD,IAAI,uBAAuB,WAI1B;IACD,IAAI,YAAY,kCAEf;IAED,IACI,OAAO,WAOV;IAED,wEAAwE;IACxE,IACI,WAAW,+EAUd;IAED,0DAA0D;IAC1D,IAAI,YAAY,QAKf;IAID,sBAAsB,CAAC,OAAO,EAAE,WAAW;IAQ3C,aAAa,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI;IAQ9C,eAAe;IAMf,gBAAgB,CAAC,KAAK,EAAE,UAAU;IAOlC,MAAM;IAON;;;;OAIG;IAEG,IAAI;IAaV,OAAO,CAAC,KAAK,EAAE,KAAK;IAOpB,SAAS,CAAC,KAAK,EAAE,aAAa;IAe9B,WAAW,CAAC,KAAK,EAAE,UAAU;IAK7B,aAAa,CAAC,KAAK,EAAE,UAAU;CAqPhC"}
@@ -0,0 +1,23 @@
1
+ import Component from '@glimmer/component';
2
+ import type { EuiInlineEditCommonArgs } from './eui-inline-edit/eui-inline-edit-form';
3
+ export interface EuiInlineEditTextSignature {
4
+ Element: HTMLDivElement;
5
+ Args: EuiInlineEditCommonArgs & {
6
+ /** Text size: `'xs'`, `'s'` or `'m'`. Defaults to `'m'`. */
7
+ size?: 'xs' | 's' | 'm';
8
+ };
9
+ }
10
+ /**
11
+ * Text that turns into a text field when clicked (upstream
12
+ * `EuiInlineEditText`): read mode is a button showing the text, edit mode
13
+ * an `EuiFieldText` with save and cancel buttons. Enter saves, Escape
14
+ * cancels.
15
+ */
16
+ export default class EuiInlineEditText extends Component<EuiInlineEditTextSignature> {
17
+ get size(): "xs" | "s" | "m";
18
+ get sizes(): import('./eui-inline-edit/eui-inline-edit-form').EuiInlineEditSizes;
19
+ get readModeRole(): "paragraph" | undefined;
20
+ get rootCss(): import("@emotion/serialize").SerializedStyles[];
21
+ truncate: string;
22
+ }
23
+ //# sourceMappingURL=eui-inline-edit-text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-inline-edit-text.d.ts","sourceRoot":"","sources":["../../src/components/eui-inline-edit-text.gts"],"names":[],"mappings":"AAyFA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAe3C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAKtF,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE,uBAAuB,GAAG;QAC9B,4DAA4D;QAC5D,IAAI,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,GAAG,CAAC;KACzB,CAAC;CACH;AAED;;;;;GAKG;AACH,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,SAAS,CAAC,0BAA0B,CAAC;IAClF,IAAI,IAAI,qBAEP;IACD,IAAI,KAAK,4EAIR;IACD,IAAI,YAAY,4BAEf;IAED,IACI,OAAO,oDAMV;IAED,QAAQ,SAAY;CA0CrB"}
@@ -0,0 +1,38 @@
1
+ import Component from '@glimmer/component';
2
+ import type { EuiInlineEditCommonArgs } from './eui-inline-edit/eui-inline-edit-form';
3
+ export type EuiInlineEditTitleHeading = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span';
4
+ export interface EuiInlineEditTitleSignature {
5
+ Element: HTMLDivElement;
6
+ Args: EuiInlineEditCommonArgs & {
7
+ /** Title size, as `EuiTitle`'s `@size`. Defaults to `'m'`. */
8
+ size?: 'xxxs' | 'xxs' | 'xs' | 's' | 'm' | 'l';
9
+ /**
10
+ * Heading level of the title. Use `'span'` for text that should only
11
+ * look like a title.
12
+ */
13
+ heading: EuiInlineEditTitleHeading;
14
+ };
15
+ }
16
+ /**
17
+ * A title that turns into a text field when clicked (upstream
18
+ * `EuiInlineEditTitle`): read mode is a button showing the title in an
19
+ * `@heading` element, edit mode an `EuiFieldText` with save and cancel
20
+ * buttons. Enter saves, Escape cancels.
21
+ */
22
+ export default class EuiInlineEditTitle extends Component<EuiInlineEditTitleSignature> {
23
+ get size(): "xxs" | "xs" | "s" | "m" | "l" | "xxxs";
24
+ get heading(): EuiInlineEditTitleHeading;
25
+ get sizes(): import('./eui-inline-edit/eui-inline-edit-form').EuiInlineEditSizes;
26
+ get headingLevel(): number | undefined;
27
+ /** Read-only: the button reads as the heading (or as a paragraph). */
28
+ get readModeRole(): "paragraph" | "heading" | undefined;
29
+ get readModeAriaLevel(): number | undefined;
30
+ get rootCss(): import("@emotion/serialize").SerializedStyles[];
31
+ /**
32
+ * Upstream `EuiTitle` classes cloned onto the heading element (plus the
33
+ * `eui-textTruncate` utility). EuiTitle renders its own element and has no
34
+ * `span`, so its styles are composed here in the same order.
35
+ */
36
+ get titleClass(): string;
37
+ }
38
+ //# sourceMappingURL=eui-inline-edit-title.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-inline-edit-title.d.ts","sourceRoot":"","sources":["../../src/components/eui-inline-edit-title.gts"],"names":[],"mappings":"AAsIA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAe3C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAEtF,MAAM,MAAM,yBAAyB,GACjC,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,MAAM,CAAC;AAEX,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE,uBAAuB,GAAG;QAC9B,8DAA8D;QAC9D,IAAI,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;QAC/C;;;WAGG;QACH,OAAO,EAAE,yBAAyB,CAAC;KACpC,CAAC;CACH;AAED;;;;;GAKG;AACH,MAAM,CAAC,OAAO,OA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B,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;QACrD,iCAAiC;QACjC,uBAAuB,CAAC,EAAE,MAAM,CAAC;QACjC,0DAA0D;QAC1D,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,oCAAoC;QACpC,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,MAAM,EAAE;QACN,kEAAkE;QAClE,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,QAAA,MAAM,iBAAiB,EAAE,qBAAqB,CAAC,0BAA0B,CA8HvE,CAAC;AAEH,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,60 @@
1
+ import Component from '@glimmer/component';
2
+ import type Owner from '@ember/owner';
3
+ import type { EuiAriaLive, EuiLiveRegionRole } from './eui-screen-reader-live';
4
+ /**
5
+ * Announces a message to screen readers once, e.g. feedback after an
6
+ * action, then clears it (upstream `EuiLiveAnnouncer`). The message is not
7
+ * shown. It is announced when the component is inserted and again whenever
8
+ * its text changes. For content that stays in sync with the page, e.g. a
9
+ * result count, use `EuiScreenReaderLive`.
10
+ *
11
+ * The block is rendered into a `hidden` element; its text is copied into
12
+ * the live region.
13
+ */
14
+ export interface EuiLiveAnnouncerSignature {
15
+ Element: HTMLDivElement;
16
+ Args: {
17
+ /**
18
+ * Clears the live region after this many ms (it is still read if it is
19
+ * cleared meanwhile), or `false` to keep the message. Defaults to `2000`.
20
+ */
21
+ clearAfterMs?: number | false;
22
+ /**
23
+ * Whether screen readers announce the message (`aria-live="off"`
24
+ * otherwise). Defaults to `true`.
25
+ */
26
+ isActive?: boolean;
27
+ /** `role` of the live region. Defaults to `'status'`. */
28
+ role?: EuiLiveRegionRole;
29
+ /**
30
+ * `aria-live` of the live region: `'polite'`, `'assertive'` or
31
+ * `'off'`. Defaults to `'polite'`.
32
+ */
33
+ ariaLive?: EuiAriaLive;
34
+ };
35
+ Blocks: {
36
+ /** The message. */
37
+ default: [];
38
+ };
39
+ }
40
+ export default class EuiLiveAnnouncer extends Component<EuiLiveAnnouncerSignature> {
41
+ #private;
42
+ /** The announced text; empty before the first message and once cleared. */
43
+ content: string;
44
+ isMounted: boolean;
45
+ observeLiveText: import("ember-modifier").FunctionBasedModifier<{
46
+ Args: {
47
+ Positional: [(text: string) => void, ...unknown[]];
48
+ Named: import("ember-modifier/-private/signature").EmptyObject;
49
+ };
50
+ Element: HTMLElement;
51
+ }>;
52
+ constructor(owner: Owner, args: EuiLiveAnnouncerSignature['Args']);
53
+ get srClass(): string;
54
+ get role(): EuiLiveRegionRole;
55
+ get ariaLive(): EuiAriaLive;
56
+ get text(): string;
57
+ /** Upstream's effect on `[children, clearAfterMs]`. */
58
+ onText: (text: string) => void;
59
+ }
60
+ //# sourceMappingURL=eui-live-announcer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-live-announcer.d.ts","sourceRoot":"","sources":["../../src/components/eui-live-announcer.gts"],"names":[],"mappings":"AAoHA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAQ3C,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,EACV,WAAW,EACX,iBAAiB,EAClB,MAAM,8BAA8B,CAAC;AAKtC;;;;;;;;;GASG;AACH,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QACJ;;;WAGG;QACH,YAAY,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;QAC9B;;;WAGG;QACH,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,yDAAyD;QACzD,IAAI,CAAC,EAAE,iBAAiB,CAAC;QACzB;;;WAGG;QACH,QAAQ,CAAC,EAAE,WAAW,CAAC;KACxB,CAAC;IACF,MAAM,EAAE;QACN,mBAAmB;QACnB,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,SAAS,CAAC,yBAAyB,CAAC;;IAChF,2EAA2E;IAClE,OAAO,SAAM;IACb,SAAS,UAAS;IAI3B,eAAe;;;;;;OAAmB;gBAEtB,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,yBAAyB,CAAC,MAAM,CAAC;IAWjE,IACI,OAAO,WAEV;IAED,IAAI,IAAI,IAAI,iBAAiB,CAE5B;IAED,IAAI,QAAQ,IAAI,WAAW,CAI1B;IAED,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,uDAAuD;IACvD,MAAM,GAAI,MAAM,MAAM,KAAG,IAAI,CAS3B;CAkCH"}
@@ -0,0 +1,16 @@
1
+ import type { TemplateOnlyComponent } from '@ember/component/template-only';
2
+ /**
3
+ * @private A markdown `---` rendered by EuiMarkdownFormat. Adds upstream's
4
+ * `euiHorizontalRule` root class (the Ember rule renders
5
+ * `euiBorealisHorizontalRule`), which upstream's markdown format color
6
+ * styles target.
7
+ */
8
+ export interface MarkdownHorizontalRuleSignature {
9
+ Args: {
10
+ /** The parsed rule node (unused). */
11
+ node?: unknown;
12
+ };
13
+ }
14
+ declare const MarkdownHorizontalRule: TemplateOnlyComponent<MarkdownHorizontalRuleSignature>;
15
+ export default MarkdownHorizontalRule;
16
+ //# sourceMappingURL=markdown-horizontal-rule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdown-horizontal-rule.d.ts","sourceRoot":"","sources":["../../../src/components/eui-markdown-format/markdown-horizontal-rule.gts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E;;;;;GAKG;AACH,MAAM,WAAW,+BAA+B;IAC9C,IAAI,EAAE;QACJ,qCAAqC;QACrC,IAAI,CAAC,EAAE,OAAO,CAAC;KAChB,CAAC;CACH;AAED,QAAA,MAAM,sBAAsB,EAAE,qBAAqB,CAAC,+BAA+B,CASjF,CAAC;AAEH,eAAe,sBAAsB,CAAC"}
@@ -0,0 +1,28 @@
1
+ import Component from '@glimmer/component';
2
+ import type { EuiMarkdownLinkProps } from '../../utils/markdown/plugins/markdown-add-components/processor.ts';
3
+ /**
4
+ * @private A markdown link rendered by EuiMarkdownFormat through EuiLink, as
5
+ * upstream's default `a` renderer does (upstream color, secure `rel`,
6
+ * `javascript:` URLs disabled). `linkProps` override the link's own values.
7
+ */
8
+ export interface MarkdownLinkSignature {
9
+ Args: {
10
+ /** The parsed link node. */
11
+ node: {
12
+ href?: string;
13
+ title?: string;
14
+ target?: string;
15
+ /** The `linkProps` of the processing plugins. */
16
+ linkProps?: EuiMarkdownLinkProps;
17
+ /** The rendered link text (a DOM node). */
18
+ content: Node;
19
+ };
20
+ };
21
+ }
22
+ export default class MarkdownLink extends Component<MarkdownLinkSignature> {
23
+ get props(): EuiMarkdownLinkProps;
24
+ get href(): string | undefined;
25
+ get target(): string | undefined;
26
+ handleClick: (event: MouseEvent) => void | undefined;
27
+ }
28
+ //# sourceMappingURL=markdown-link.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markdown-link.d.ts","sourceRoot":"","sources":["../../../src/components/eui-markdown-format/markdown-link.gts"],"names":[],"mappings":"AAwDA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAK3C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mEAAmE,CAAC;AAE9G;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE;QACJ,4BAA4B;QAC5B,IAAI,EAAE;YACJ,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,KAAK,CAAC,EAAE,MAAM,CAAC;YACf,MAAM,CAAC,EAAE,MAAM,CAAC;YAChB,iDAAiD;YACjD,SAAS,CAAC,EAAE,oBAAoB,CAAC;YACjC,2CAA2C;YAC3C,OAAO,EAAE,IAAI,CAAC;SACf,CAAC;KACH,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,SAAS,CAAC,qBAAqB,CAAC;IACxE,IAAI,KAAK,IAAI,oBAAoB,CAEhC;IAED,IAAI,IAAI,uBAEP;IAED,IAAI,MAAM,uBAET;IAED,WAAW,GAAI,OAAO,UAAU,sBAAiC;CAuBlE"}