@ember-eui/core 8.0.65 → 8.0.67

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 (441) hide show
  1. package/declarations/-private/associate-form-row-label.d.ts +9 -0
  2. package/declarations/-private/associate-form-row-label.d.ts.map +1 -0
  3. package/declarations/-private/color.d.ts +64 -0
  4. package/declarations/-private/color.d.ts.map +1 -0
  5. package/declarations/-private/css-style.d.ts +11 -0
  6. package/declarations/-private/css-style.d.ts.map +1 -0
  7. package/declarations/-private/drag-drop.d.ts +13 -0
  8. package/declarations/-private/drag-drop.d.ts.map +1 -0
  9. package/declarations/-private/event-helpers.d.ts +12 -0
  10. package/declarations/-private/event-helpers.d.ts.map +1 -0
  11. package/declarations/-private/icon-loader.d.ts +13 -0
  12. package/declarations/-private/icon-loader.d.ts.map +1 -0
  13. package/declarations/-private/icons.d.ts +18 -0
  14. package/declarations/-private/icons.d.ts.map +1 -0
  15. package/declarations/-private/language-loader.d.ts +12 -0
  16. package/declarations/-private/language-loader.d.ts.map +1 -0
  17. package/declarations/-private/languages.d.ts +10 -0
  18. package/declarations/-private/languages.d.ts.map +1 -0
  19. package/declarations/-private/link-form-row-control.d.ts +17 -0
  20. package/declarations/-private/link-form-row-control.d.ts.map +1 -0
  21. package/declarations/-private/random-id.d.ts +2 -0
  22. package/declarations/-private/random-id.d.ts.map +1 -1
  23. package/declarations/-private/resizable.d.ts +34 -0
  24. package/declarations/-private/resizable.d.ts.map +1 -0
  25. package/declarations/-private/selectable-options.d.ts +38 -0
  26. package/declarations/-private/selectable-options.d.ts.map +1 -0
  27. package/declarations/-private/set-body-class.d.ts +14 -0
  28. package/declarations/-private/set-body-class.d.ts.map +1 -0
  29. package/declarations/-private/table.d.ts +20 -0
  30. package/declarations/-private/table.d.ts.map +1 -0
  31. package/declarations/-private/text-diff.d.ts +11 -0
  32. package/declarations/-private/text-diff.d.ts.map +1 -0
  33. package/declarations/-private/vis-colors.d.ts +8 -0
  34. package/declarations/-private/vis-colors.d.ts.map +1 -0
  35. package/declarations/components/eui-aspect-ratio.d.ts +23 -0
  36. package/declarations/components/eui-aspect-ratio.d.ts.map +1 -0
  37. package/declarations/components/eui-beacon.d.ts +15 -0
  38. package/declarations/components/eui-beacon.d.ts.map +1 -0
  39. package/declarations/components/eui-color-palette-display.d.ts +25 -0
  40. package/declarations/components/eui-color-palette-display.d.ts.map +1 -0
  41. package/declarations/components/eui-color-palette-picker.d.ts +53 -0
  42. package/declarations/components/eui-color-palette-picker.d.ts.map +1 -0
  43. package/declarations/components/eui-color-picker-swatch.d.ts +19 -0
  44. package/declarations/components/eui-color-picker-swatch.d.ts.map +1 -0
  45. package/declarations/components/eui-color-picker.d.ts +153 -0
  46. package/declarations/components/eui-color-picker.d.ts.map +1 -0
  47. package/declarations/components/eui-color-stops/thumb.d.ts +56 -0
  48. package/declarations/components/eui-color-stops/thumb.d.ts.map +1 -0
  49. package/declarations/components/eui-color-stops.d.ts +100 -0
  50. package/declarations/components/eui-color-stops.d.ts.map +1 -0
  51. package/declarations/components/eui-combo-box/options.d.ts +1 -2
  52. package/declarations/components/eui-combo-box/options.d.ts.map +1 -1
  53. package/declarations/components/eui-context-menu-item.d.ts +22 -2
  54. package/declarations/components/eui-context-menu-item.d.ts.map +1 -1
  55. package/declarations/components/eui-context-menu-panel.d.ts +87 -3
  56. package/declarations/components/eui-context-menu-panel.d.ts.map +1 -1
  57. package/declarations/components/eui-context-menu.d.ts +94 -0
  58. package/declarations/components/eui-context-menu.d.ts.map +1 -0
  59. package/declarations/components/eui-control-bar.d.ts +110 -0
  60. package/declarations/components/eui-control-bar.d.ts.map +1 -0
  61. package/declarations/components/eui-date-picker-range.d.ts +28 -0
  62. package/declarations/components/eui-date-picker-range.d.ts.map +1 -0
  63. package/declarations/components/eui-delay-hide.d.ts +21 -0
  64. package/declarations/components/eui-delay-hide.d.ts.map +1 -0
  65. package/declarations/components/eui-delay-render.d.ts +21 -0
  66. package/declarations/components/eui-delay-render.d.ts.map +1 -0
  67. package/declarations/components/eui-drag-drop-context.d.ts +66 -0
  68. package/declarations/components/eui-drag-drop-context.d.ts.map +1 -0
  69. package/declarations/components/eui-draggable.d.ts +76 -0
  70. package/declarations/components/eui-draggable.d.ts.map +1 -0
  71. package/declarations/components/eui-droppable.d.ts +86 -0
  72. package/declarations/components/eui-droppable.d.ts.map +1 -0
  73. package/declarations/components/eui-expression.d.ts +46 -0
  74. package/declarations/components/eui-expression.d.ts.map +1 -0
  75. package/declarations/components/eui-facet-button.d.ts +30 -0
  76. package/declarations/components/eui-facet-button.d.ts.map +1 -0
  77. package/declarations/components/eui-facet-group.d.ts +21 -0
  78. package/declarations/components/eui-facet-group.d.ts.map +1 -0
  79. package/declarations/components/eui-filter-button.d.ts +54 -0
  80. package/declarations/components/eui-filter-button.d.ts.map +1 -0
  81. package/declarations/components/eui-filter-group.d.ts +19 -0
  82. package/declarations/components/eui-filter-group.d.ts.map +1 -0
  83. package/declarations/components/eui-filter-select-item.d.ts +29 -0
  84. package/declarations/components/eui-filter-select-item.d.ts.map +1 -0
  85. package/declarations/components/eui-highlight.d.ts +26 -0
  86. package/declarations/components/eui-highlight.d.ts.map +1 -0
  87. package/declarations/components/eui-hue.d.ts +25 -0
  88. package/declarations/components/eui-hue.d.ts.map +1 -0
  89. package/declarations/components/eui-i18n-number.d.ts +25 -0
  90. package/declarations/components/eui-i18n-number.d.ts.map +1 -0
  91. package/declarations/components/eui-loading-chart.d.ts +17 -0
  92. package/declarations/components/eui-loading-chart.d.ts.map +1 -0
  93. package/declarations/components/eui-loading-elastic.d.ts +15 -0
  94. package/declarations/components/eui-loading-elastic.d.ts.map +1 -0
  95. package/declarations/components/eui-mark.d.ts +15 -0
  96. package/declarations/components/eui-mark.d.ts.map +1 -0
  97. package/declarations/components/eui-markdown-editor.d.ts +2 -2
  98. package/declarations/components/eui-markdown-editor.d.ts.map +1 -1
  99. package/declarations/components/eui-pinnable-list-group.d.ts +59 -0
  100. package/declarations/components/eui-pinnable-list-group.d.ts.map +1 -0
  101. package/declarations/components/eui-popover.d.ts +1 -0
  102. package/declarations/components/eui-popover.d.ts.map +1 -1
  103. package/declarations/components/eui-refresh-interval.d.ts +46 -0
  104. package/declarations/components/eui-refresh-interval.d.ts.map +1 -0
  105. package/declarations/components/eui-resizable-container/button.d.ts +38 -0
  106. package/declarations/components/eui-resizable-container/button.d.ts.map +1 -0
  107. package/declarations/components/eui-resizable-container/collapse-button.d.ts +15 -0
  108. package/declarations/components/eui-resizable-container/collapse-button.d.ts.map +1 -0
  109. package/declarations/components/eui-resizable-container/panel.d.ts +86 -0
  110. package/declarations/components/eui-resizable-container/panel.d.ts.map +1 -0
  111. package/declarations/components/eui-resizable-container.d.ts +82 -0
  112. package/declarations/components/eui-resizable-container.d.ts.map +1 -0
  113. package/declarations/components/eui-saturation.d.ts +62 -0
  114. package/declarations/components/eui-saturation.d.ts.map +1 -0
  115. package/declarations/components/eui-screen-reader-only.d.ts +23 -0
  116. package/declarations/components/eui-screen-reader-only.d.ts.map +1 -0
  117. package/declarations/components/eui-selectable-list-item.d.ts +53 -3
  118. package/declarations/components/eui-selectable-list-item.d.ts.map +1 -1
  119. package/declarations/components/eui-selectable-list.d.ts +95 -0
  120. package/declarations/components/eui-selectable-list.d.ts.map +1 -0
  121. package/declarations/components/eui-selectable-message.d.ts +19 -0
  122. package/declarations/components/eui-selectable-message.d.ts.map +1 -0
  123. package/declarations/components/eui-selectable-search.d.ts +33 -0
  124. package/declarations/components/eui-selectable-search.d.ts.map +1 -0
  125. package/declarations/components/eui-selectable-template-sitewide.d.ts +86 -0
  126. package/declarations/components/eui-selectable-template-sitewide.d.ts.map +1 -0
  127. package/declarations/components/eui-selectable.d.ts +123 -0
  128. package/declarations/components/eui-selectable.d.ts.map +1 -0
  129. package/declarations/components/eui-skip-link.d.ts +31 -0
  130. package/declarations/components/eui-skip-link.d.ts.map +1 -0
  131. package/declarations/components/eui-suggest-input.d.ts +55 -0
  132. package/declarations/components/eui-suggest-input.d.ts.map +1 -0
  133. package/declarations/components/eui-suggest-item.d.ts +38 -0
  134. package/declarations/components/eui-suggest-item.d.ts.map +1 -0
  135. package/declarations/components/eui-suggest.d.ts +52 -0
  136. package/declarations/components/eui-suggest.d.ts.map +1 -0
  137. package/declarations/components/eui-super-date-picker/eui-quick-select-popover.d.ts +7 -1
  138. package/declarations/components/eui-super-date-picker/eui-quick-select-popover.d.ts.map +1 -1
  139. package/declarations/components/eui-super-date-picker.d.ts +69 -18
  140. package/declarations/components/eui-super-date-picker.d.ts.map +1 -1
  141. package/declarations/components/eui-super-select-control.d.ts +57 -0
  142. package/declarations/components/eui-super-select-control.d.ts.map +1 -0
  143. package/declarations/components/eui-super-select.d.ts +84 -0
  144. package/declarations/components/eui-super-select.d.ts.map +1 -0
  145. package/declarations/components/eui-table-body.d.ts +12 -0
  146. package/declarations/components/eui-table-body.d.ts.map +1 -0
  147. package/declarations/components/eui-table-footer-cell.d.ts +19 -0
  148. package/declarations/components/eui-table-footer-cell.d.ts.map +1 -0
  149. package/declarations/components/eui-table-footer.d.ts +12 -0
  150. package/declarations/components/eui-table-footer.d.ts.map +1 -0
  151. package/declarations/components/eui-table-header-button.d.ts +17 -0
  152. package/declarations/components/eui-table-header-button.d.ts.map +1 -0
  153. package/declarations/components/eui-table-header-cell-checkbox.d.ts +18 -0
  154. package/declarations/components/eui-table-header-cell-checkbox.d.ts.map +1 -0
  155. package/declarations/components/eui-table-header-cell.d.ts +43 -0
  156. package/declarations/components/eui-table-header-cell.d.ts.map +1 -0
  157. package/declarations/components/eui-table-header-mobile.d.ts +15 -0
  158. package/declarations/components/eui-table-header-mobile.d.ts.map +1 -0
  159. package/declarations/components/eui-table-header.d.ts +16 -0
  160. package/declarations/components/eui-table-header.d.ts.map +1 -0
  161. package/declarations/components/eui-table-pagination.d.ts +40 -0
  162. package/declarations/components/eui-table-pagination.d.ts.map +1 -0
  163. package/declarations/components/eui-table-row-cell-checkbox.d.ts +12 -0
  164. package/declarations/components/eui-table-row-cell-checkbox.d.ts.map +1 -0
  165. package/declarations/components/eui-table-row-cell.d.ts +44 -0
  166. package/declarations/components/eui-table-row-cell.d.ts.map +1 -0
  167. package/declarations/components/eui-table-row.d.ts +26 -0
  168. package/declarations/components/eui-table-row.d.ts.map +1 -0
  169. package/declarations/components/eui-table-sort-mobile-item.d.ts +22 -0
  170. package/declarations/components/eui-table-sort-mobile-item.d.ts.map +1 -0
  171. package/declarations/components/eui-table-sort-mobile.d.ts +37 -0
  172. package/declarations/components/eui-table-sort-mobile.d.ts.map +1 -0
  173. package/declarations/components/eui-table.d.ts +28 -0
  174. package/declarations/components/eui-table.d.ts.map +1 -0
  175. package/declarations/components/eui-text-diff.d.ts +30 -0
  176. package/declarations/components/eui-text-diff.d.ts.map +1 -0
  177. package/declarations/components/eui-token.d.ts +37 -0
  178. package/declarations/components/eui-token.d.ts.map +1 -0
  179. package/declarations/components/eui-tour-step-indicator.d.ts +19 -0
  180. package/declarations/components/eui-tour-step-indicator.d.ts.map +1 -0
  181. package/declarations/components/eui-tour-step.d.ts +93 -0
  182. package/declarations/components/eui-tour-step.d.ts.map +1 -0
  183. package/declarations/components/eui-tour.d.ts +77 -0
  184. package/declarations/components/eui-tour.d.ts.map +1 -0
  185. package/declarations/components/eui-tree-view.d.ts +71 -0
  186. package/declarations/components/eui-tree-view.d.ts.map +1 -0
  187. package/declarations/components.d.ts +75 -1
  188. package/declarations/components.d.ts.map +1 -1
  189. package/declarations/services/eui-i18n.d.ts +6 -0
  190. package/declarations/services/eui-i18n.d.ts.map +1 -1
  191. package/declarations/template-registry.d.ts +221 -0
  192. package/declarations/template-registry.d.ts.map +1 -1
  193. package/declarations/utils/drag-drop.d.ts +21 -0
  194. package/declarations/utils/drag-drop.d.ts.map +1 -0
  195. package/declarations/utils/icons-from-glob.d.ts +39 -0
  196. package/declarations/utils/icons-from-glob.d.ts.map +1 -0
  197. package/declarations/utils/preload-icons.d.ts +21 -0
  198. package/declarations/utils/preload-icons.d.ts.map +1 -0
  199. package/declarations/utils/token-map.d.ts +11 -0
  200. package/declarations/utils/token-map.d.ts.map +1 -0
  201. package/dist/-private/color.js +168 -0
  202. package/dist/-private/color.js.map +1 -0
  203. package/dist/-private/css-style.js +24 -0
  204. package/dist/-private/css-style.js.map +1 -0
  205. package/dist/-private/random-id.js +2 -1
  206. package/dist/-private/random-id.js.map +1 -1
  207. package/dist/-private/resizable.js +44 -0
  208. package/dist/-private/resizable.js.map +1 -0
  209. package/dist/-private/selectable-options.js +59 -0
  210. package/dist/-private/selectable-options.js.map +1 -0
  211. package/dist/-private/table.js +20 -0
  212. package/dist/-private/table.js.map +1 -0
  213. package/dist/-private/text-diff.js +94 -0
  214. package/dist/-private/text-diff.js.map +1 -0
  215. package/dist/_app_/components/eui-aspect-ratio.js +1 -0
  216. package/dist/_app_/components/eui-beacon.js +1 -0
  217. package/dist/_app_/components/eui-color-palette-display.js +1 -0
  218. package/dist/_app_/components/eui-color-palette-picker.js +1 -0
  219. package/dist/_app_/components/eui-color-picker-swatch.js +1 -0
  220. package/dist/_app_/components/eui-color-picker.js +1 -0
  221. package/dist/_app_/components/eui-color-stops/thumb.js +1 -0
  222. package/dist/_app_/components/eui-color-stops.js +1 -0
  223. package/dist/_app_/components/eui-context-menu.js +1 -0
  224. package/dist/_app_/components/eui-control-bar.js +1 -0
  225. package/dist/_app_/components/eui-date-picker-range.js +1 -0
  226. package/dist/_app_/components/eui-delay-hide.js +1 -0
  227. package/dist/_app_/components/eui-delay-render.js +1 -0
  228. package/dist/_app_/components/eui-drag-drop-context.js +1 -0
  229. package/dist/_app_/components/eui-draggable.js +1 -0
  230. package/dist/_app_/components/eui-droppable.js +1 -0
  231. package/dist/_app_/components/eui-expression.js +1 -0
  232. package/dist/_app_/components/eui-facet-button.js +1 -0
  233. package/dist/_app_/components/eui-facet-group.js +1 -0
  234. package/dist/_app_/components/eui-filter-button.js +1 -0
  235. package/dist/_app_/components/eui-filter-group.js +1 -0
  236. package/dist/_app_/components/eui-filter-select-item.js +1 -0
  237. package/dist/_app_/components/eui-highlight.js +1 -0
  238. package/dist/_app_/components/eui-hue.js +1 -0
  239. package/dist/_app_/components/eui-i18n-number.js +1 -0
  240. package/dist/_app_/components/eui-loading-chart.js +1 -0
  241. package/dist/_app_/components/eui-loading-elastic.js +1 -0
  242. package/dist/_app_/components/eui-mark.js +1 -0
  243. package/dist/_app_/components/eui-pinnable-list-group.js +1 -0
  244. package/dist/_app_/components/eui-refresh-interval.js +1 -0
  245. package/dist/_app_/components/eui-resizable-container/button.js +1 -0
  246. package/dist/_app_/components/eui-resizable-container/collapse-button.js +1 -0
  247. package/dist/_app_/components/eui-resizable-container/panel.js +1 -0
  248. package/dist/_app_/components/eui-resizable-container.js +1 -0
  249. package/dist/_app_/components/eui-saturation.js +1 -0
  250. package/dist/_app_/components/eui-screen-reader-only.js +1 -0
  251. package/dist/_app_/components/eui-selectable-list.js +1 -0
  252. package/dist/_app_/components/eui-selectable-message.js +1 -0
  253. package/dist/_app_/components/eui-selectable-search.js +1 -0
  254. package/dist/_app_/components/eui-selectable-template-sitewide.js +1 -0
  255. package/dist/_app_/components/eui-selectable.js +1 -0
  256. package/dist/_app_/components/eui-skip-link.js +1 -0
  257. package/dist/_app_/components/eui-suggest-input.js +1 -0
  258. package/dist/_app_/components/eui-suggest-item.js +1 -0
  259. package/dist/_app_/components/eui-suggest.js +1 -0
  260. package/dist/_app_/components/eui-super-select-control.js +1 -0
  261. package/dist/_app_/components/eui-super-select.js +1 -0
  262. package/dist/_app_/components/eui-table-body.js +1 -0
  263. package/dist/_app_/components/eui-table-footer-cell.js +1 -0
  264. package/dist/_app_/components/eui-table-footer.js +1 -0
  265. package/dist/_app_/components/eui-table-header-button.js +1 -0
  266. package/dist/_app_/components/eui-table-header-cell-checkbox.js +1 -0
  267. package/dist/_app_/components/eui-table-header-cell.js +1 -0
  268. package/dist/_app_/components/eui-table-header-mobile.js +1 -0
  269. package/dist/_app_/components/eui-table-header.js +1 -0
  270. package/dist/_app_/components/eui-table-pagination.js +1 -0
  271. package/dist/_app_/components/eui-table-row-cell-checkbox.js +1 -0
  272. package/dist/_app_/components/eui-table-row-cell.js +1 -0
  273. package/dist/_app_/components/eui-table-row.js +1 -0
  274. package/dist/_app_/components/eui-table-sort-mobile-item.js +1 -0
  275. package/dist/_app_/components/eui-table-sort-mobile.js +1 -0
  276. package/dist/_app_/components/eui-table.js +1 -0
  277. package/dist/_app_/components/eui-text-diff.js +1 -0
  278. package/dist/_app_/components/eui-token.js +1 -0
  279. package/dist/_app_/components/eui-tour-step-indicator.js +1 -0
  280. package/dist/_app_/components/eui-tour-step.js +1 -0
  281. package/dist/_app_/components/eui-tour.js +1 -0
  282. package/dist/_app_/components/eui-tree-view.js +1 -0
  283. package/dist/components/eui-aspect-ratio.js +45 -0
  284. package/dist/components/eui-aspect-ratio.js.map +1 -0
  285. package/dist/components/eui-beacon.js +29 -0
  286. package/dist/components/eui-beacon.js.map +1 -0
  287. package/dist/components/eui-color-palette-display.js +67 -0
  288. package/dist/components/eui-color-palette-display.js.map +1 -0
  289. package/dist/components/eui-color-palette-picker.js +96 -0
  290. package/dist/components/eui-color-palette-picker.js.map +1 -0
  291. package/dist/components/eui-color-picker-swatch.js +51 -0
  292. package/dist/components/eui-color-picker-swatch.js.map +1 -0
  293. package/dist/components/eui-color-picker.js +529 -0
  294. package/dist/components/eui-color-picker.js.map +1 -0
  295. package/dist/components/eui-color-stops/thumb.js +278 -0
  296. package/dist/components/eui-color-stops/thumb.js.map +1 -0
  297. package/dist/components/eui-color-stops.js +405 -0
  298. package/dist/components/eui-color-stops.js.map +1 -0
  299. package/dist/components/eui-combo-box/options.js +14 -17
  300. package/dist/components/eui-combo-box/options.js.map +1 -1
  301. package/dist/components/eui-context-menu-item.js +7 -3
  302. package/dist/components/eui-context-menu-item.js.map +1 -1
  303. package/dist/components/eui-context-menu-panel.js +218 -7
  304. package/dist/components/eui-context-menu-panel.js.map +1 -1
  305. package/dist/components/eui-context-menu.js +254 -0
  306. package/dist/components/eui-context-menu.js.map +1 -0
  307. package/dist/components/eui-control-bar.js +241 -0
  308. package/dist/components/eui-control-bar.js.map +1 -0
  309. package/dist/components/eui-date-picker-range.js +42 -0
  310. package/dist/components/eui-date-picker-range.js.map +1 -0
  311. package/dist/components/eui-delay-hide.js +68 -0
  312. package/dist/components/eui-delay-hide.js.map +1 -0
  313. package/dist/components/eui-delay-render.js +38 -0
  314. package/dist/components/eui-delay-render.js.map +1 -0
  315. package/dist/components/eui-drag-drop-context.js +85 -0
  316. package/dist/components/eui-drag-drop-context.js.map +1 -0
  317. package/dist/components/eui-draggable.js +201 -0
  318. package/dist/components/eui-draggable.js.map +1 -0
  319. package/dist/components/eui-droppable.js +140 -0
  320. package/dist/components/eui-droppable.js.map +1 -0
  321. package/dist/components/eui-expression.js +88 -0
  322. package/dist/components/eui-expression.js.map +1 -0
  323. package/dist/components/eui-facet-button.js +66 -0
  324. package/dist/components/eui-facet-button.js.map +1 -0
  325. package/dist/components/eui-facet-group.js +41 -0
  326. package/dist/components/eui-facet-group.js.map +1 -0
  327. package/dist/components/eui-filter-button.js +106 -0
  328. package/dist/components/eui-filter-button.js.map +1 -0
  329. package/dist/components/eui-filter-group.js +20 -0
  330. package/dist/components/eui-filter-group.js.map +1 -0
  331. package/dist/components/eui-filter-select-item.js +58 -0
  332. package/dist/components/eui-filter-select-item.js.map +1 -0
  333. package/dist/components/eui-highlight.js +61 -0
  334. package/dist/components/eui-highlight.js.map +1 -0
  335. package/dist/components/eui-hue.js +57 -0
  336. package/dist/components/eui-hue.js.map +1 -0
  337. package/dist/components/eui-i18n-number.js +43 -0
  338. package/dist/components/eui-i18n-number.js.map +1 -0
  339. package/dist/components/eui-loading-chart.js +34 -0
  340. package/dist/components/eui-loading-chart.js.map +1 -0
  341. package/dist/components/eui-loading-elastic.js +34 -0
  342. package/dist/components/eui-loading-elastic.js.map +1 -0
  343. package/dist/components/eui-mark.js +17 -0
  344. package/dist/components/eui-mark.js.map +1 -0
  345. package/dist/components/eui-pinnable-list-group.js +102 -0
  346. package/dist/components/eui-pinnable-list-group.js.map +1 -0
  347. package/dist/components/eui-popover.js.map +1 -1
  348. package/dist/components/eui-refresh-interval.js +205 -0
  349. package/dist/components/eui-refresh-interval.js.map +1 -0
  350. package/dist/components/eui-resizable-container/button.js +87 -0
  351. package/dist/components/eui-resizable-container/button.js.map +1 -0
  352. package/dist/components/eui-resizable-container/collapse-button.js +36 -0
  353. package/dist/components/eui-resizable-container/collapse-button.js.map +1 -0
  354. package/dist/components/eui-resizable-container/panel.js +246 -0
  355. package/dist/components/eui-resizable-container/panel.js.map +1 -0
  356. package/dist/components/eui-resizable-container.js +306 -0
  357. package/dist/components/eui-resizable-container.js.map +1 -0
  358. package/dist/components/eui-saturation.js +197 -0
  359. package/dist/components/eui-saturation.js.map +1 -0
  360. package/dist/components/eui-screen-reader-only.js +25 -0
  361. package/dist/components/eui-screen-reader-only.js.map +1 -0
  362. package/dist/components/eui-selectable-list-item.js +131 -24
  363. package/dist/components/eui-selectable-list-item.js.map +1 -1
  364. package/dist/components/eui-selectable-list.js +169 -0
  365. package/dist/components/eui-selectable-list.js.map +1 -0
  366. package/dist/components/eui-selectable-message.js +27 -0
  367. package/dist/components/eui-selectable-message.js.map +1 -0
  368. package/dist/components/eui-selectable-search.js +54 -0
  369. package/dist/components/eui-selectable-search.js.map +1 -0
  370. package/dist/components/eui-selectable-template-sitewide.js +259 -0
  371. package/dist/components/eui-selectable-template-sitewide.js.map +1 -0
  372. package/dist/components/eui-selectable.js +334 -0
  373. package/dist/components/eui-selectable.js.map +1 -0
  374. package/dist/components/eui-skip-link.js +40 -0
  375. package/dist/components/eui-skip-link.js.map +1 -0
  376. package/dist/components/eui-suggest-input.js +140 -0
  377. package/dist/components/eui-suggest-input.js.map +1 -0
  378. package/dist/components/eui-suggest-item.js +59 -0
  379. package/dist/components/eui-suggest-item.js.map +1 -0
  380. package/dist/components/eui-suggest.js +89 -0
  381. package/dist/components/eui-suggest.js.map +1 -0
  382. package/dist/components/eui-super-date-picker/eui-quick-select-popover.js +12 -1
  383. package/dist/components/eui-super-date-picker/eui-quick-select-popover.js.map +1 -1
  384. package/dist/components/eui-super-date-picker.js +87 -40
  385. package/dist/components/eui-super-date-picker.js.map +1 -1
  386. package/dist/components/eui-super-select-control.js +111 -0
  387. package/dist/components/eui-super-select-control.js.map +1 -0
  388. package/dist/components/eui-super-select.js +202 -0
  389. package/dist/components/eui-super-select.js.map +1 -0
  390. package/dist/components/eui-table-body.js +14 -0
  391. package/dist/components/eui-table-body.js.map +1 -0
  392. package/dist/components/eui-table-footer-cell.js +23 -0
  393. package/dist/components/eui-table-footer-cell.js.map +1 -0
  394. package/dist/components/eui-table-footer.js +14 -0
  395. package/dist/components/eui-table-footer.js.map +1 -0
  396. package/dist/components/eui-table-header-button.js +34 -0
  397. package/dist/components/eui-table-header-button.js.map +1 -0
  398. package/dist/components/eui-table-header-cell-checkbox.js +25 -0
  399. package/dist/components/eui-table-header-cell-checkbox.js.map +1 -0
  400. package/dist/components/eui-table-header-cell.js +136 -0
  401. package/dist/components/eui-table-header-cell.js.map +1 -0
  402. package/dist/components/eui-table-header-mobile.js +17 -0
  403. package/dist/components/eui-table-header-mobile.js.map +1 -0
  404. package/dist/components/eui-table-header.js +26 -0
  405. package/dist/components/eui-table-header.js.map +1 -0
  406. package/dist/components/eui-table-pagination.js +129 -0
  407. package/dist/components/eui-table-pagination.js.map +1 -0
  408. package/dist/components/eui-table-row-cell-checkbox.js +16 -0
  409. package/dist/components/eui-table-row-cell-checkbox.js.map +1 -0
  410. package/dist/components/eui-table-row-cell.js +89 -0
  411. package/dist/components/eui-table-row-cell.js.map +1 -0
  412. package/dist/components/eui-table-row.js +62 -0
  413. package/dist/components/eui-table-row.js.map +1 -0
  414. package/dist/components/eui-table-sort-mobile-item.js +37 -0
  415. package/dist/components/eui-table-sort-mobile-item.js.map +1 -0
  416. package/dist/components/eui-table-sort-mobile.js +90 -0
  417. package/dist/components/eui-table-sort-mobile.js.map +1 -0
  418. package/dist/components/eui-table.js +29 -0
  419. package/dist/components/eui-table.js.map +1 -0
  420. package/dist/components/eui-text-diff.js +52 -0
  421. package/dist/components/eui-text-diff.js.map +1 -0
  422. package/dist/components/eui-token.js +74 -0
  423. package/dist/components/eui-token.js.map +1 -0
  424. package/dist/components/eui-tour-step-indicator.js +65 -0
  425. package/dist/components/eui-tour-step-indicator.js.map +1 -0
  426. package/dist/components/eui-tour-step.js +183 -0
  427. package/dist/components/eui-tour-step.js.map +1 -0
  428. package/dist/components/eui-tour.js +102 -0
  429. package/dist/components/eui-tour.js.map +1 -0
  430. package/dist/components/eui-tree-view.js +229 -0
  431. package/dist/components/eui-tree-view.js.map +1 -0
  432. package/dist/components.js +74 -0
  433. package/dist/components.js.map +1 -1
  434. package/dist/services/eui-i18n.js +18 -3
  435. package/dist/services/eui-i18n.js.map +1 -1
  436. package/dist/styles/ember-eui.css +24 -0
  437. package/dist/utils/drag-drop.js +43 -0
  438. package/dist/utils/drag-drop.js.map +1 -0
  439. package/dist/utils/token-map.js +217 -0
  440. package/dist/utils/token-map.js.map +1 -0
  441. package/package.json +69 -1
@@ -0,0 +1,16 @@
1
+ import type { TemplateOnlyComponent } from '@ember/component/template-only';
2
+ /** The `<thead>` of an `EuiTable`, with its row of `EuiTableHeaderCell`s. */
3
+ export interface EuiTableHeaderSignature {
4
+ Element: HTMLTableSectionElement;
5
+ Args: {
6
+ /** Wraps the cells in a `<tr>`. Defaults to `true`. */
7
+ wrapWithTableRow?: boolean;
8
+ };
9
+ Blocks: {
10
+ /** The header cells (or rows, without `@wrapWithTableRow`). */
11
+ default: [];
12
+ };
13
+ }
14
+ declare const EuiTableHeader: TemplateOnlyComponent<EuiTableHeaderSignature>;
15
+ export default EuiTableHeader;
16
+ //# sourceMappingURL=eui-table-header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-table-header.d.ts","sourceRoot":"","sources":["../../src/components/eui-table-header.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E,6EAA6E;AAC7E,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,uBAAuB,CAAC;IACjC,IAAI,EAAE;QACJ,uDAAuD;QACvD,gBAAgB,CAAC,EAAE,OAAO,CAAC;KAC5B,CAAC;IACF,MAAM,EAAE;QACN,+DAA+D;QAC/D,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAMD,QAAA,MAAM,cAAc,EAAE,qBAAqB,CAAC,uBAAuB,CAejE,CAAC;AAEH,eAAe,cAAc,CAAC"}
@@ -0,0 +1,40 @@
1
+ import Component from '@glimmer/component';
2
+ import type EuiI18n from '../services/eui-i18n';
3
+ /**
4
+ * The pagination under a table: a "Rows per page" menu on the left and
5
+ * the page buttons on the right. You keep the page and the page size.
6
+ */
7
+ export interface EuiTablePaginationSignature {
8
+ Element: HTMLDivElement | HTMLSpanElement;
9
+ Args: {
10
+ /** The current page, from `0`. */
11
+ activePage?: number;
12
+ /** Number of pages. */
13
+ pageCount?: number;
14
+ /** Called with the clicked page (from `0`). */
15
+ onChangePage?: (page: number) => void;
16
+ /** Rows per page. Defaults to `50`. */
17
+ itemsPerPage?: number;
18
+ /** Choices of rows per page. Defaults to `[10, 20, 50, 100]`. */
19
+ itemsPerPageOptions?: number[];
20
+ /** Called with the chosen rows per page. */
21
+ onChangeItemsPerPage?: (itemsPerPage: number) => void;
22
+ /** Hides the "Rows per page" menu. */
23
+ hidePerPageOptions?: boolean;
24
+ /** Smaller page buttons. */
25
+ compressed?: boolean;
26
+ };
27
+ }
28
+ export default class EuiTablePagination extends Component<EuiTablePaginationSignature> {
29
+ euiI18n: EuiI18n;
30
+ isPopoverOpen: boolean;
31
+ get itemsPerPage(): number;
32
+ get options(): number[];
33
+ get rowsPerPage(): string;
34
+ optionLabel: (rows: number) => string;
35
+ isCurrent: (rows: number) => boolean;
36
+ toggle(): void;
37
+ close(): void;
38
+ choose(rows: number): void;
39
+ }
40
+ //# sourceMappingURL=eui-table-pagination.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-table-pagination.d.ts","sourceRoot":"","sources":["../../src/components/eui-table-pagination.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAe3C,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAEhD;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,cAAc,GAAG,eAAe,CAAC;IAC1C,IAAI,EAAE;QACJ,kCAAkC;QAClC,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,uBAAuB;QACvB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,+CAA+C;QAC/C,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;QACtC,uCAAuC;QACvC,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,iEAAiE;QACjE,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;QAC/B,4CAA4C;QAC5C,oBAAoB,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;QACtD,sCAAsC;QACtC,kBAAkB,CAAC,EAAE,OAAO,CAAC;QAC7B,4BAA4B;QAC5B,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,SAAS,CAAC,2BAA2B,CAAC;IACnE,OAAO,EAAE,OAAO,CAAC;IAEzB,aAAa,UAAS;IAE/B,IAAI,YAAY,IAAI,MAAM,CAEzB;IAED,IAAI,OAAO,IAAI,MAAM,EAAE,CAEtB;IAED,IAAI,WAAW,IAAI,MAAM,CAExB;IAED,WAAW,SAAU,MAAM,KAAG,MAAM,CAG/B;IAEL,SAAS,SAAU,MAAM,KAAG,OAAO,CAA+B;IAGlE,MAAM,IAAI,IAAI;IAKd,KAAK,IAAI,IAAI;IAKb,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;CAyF3B"}
@@ -0,0 +1,12 @@
1
+ import type { TemplateOnlyComponent } from '@ember/component/template-only';
2
+ /** A row cell holding a checkbox, e.g. to select the row. */
3
+ export interface EuiTableRowCellCheckboxSignature {
4
+ Element: HTMLTableCellElement;
5
+ Blocks: {
6
+ /** The checkbox. */
7
+ default: [];
8
+ };
9
+ }
10
+ declare const EuiTableRowCellCheckbox: TemplateOnlyComponent<EuiTableRowCellCheckboxSignature>;
11
+ export default EuiTableRowCellCheckbox;
12
+ //# sourceMappingURL=eui-table-row-cell-checkbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-table-row-cell-checkbox.d.ts","sourceRoot":"","sources":["../../src/components/eui-table-row-cell-checkbox.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E,6DAA6D;AAC7D,MAAM,WAAW,gCAAgC;IAC/C,OAAO,EAAE,oBAAoB,CAAC;IAC9B,MAAM,EAAE;QACN,oBAAoB;QACpB,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,QAAA,MAAM,uBAAuB,EAAE,qBAAqB,CAAC,gCAAgC,CAiBnF,CAAC;AAEH,eAAe,uBAAuB,CAAC"}
@@ -0,0 +1,44 @@
1
+ import type { TableAlignment, TableMobileOptions } from '../-private/table.ts';
2
+ import type { TemplateOnlyComponent } from '@ember/component/template-only';
3
+ /** A cell of an `EuiTableRow`. */
4
+ export interface EuiTableRowCellSignature {
5
+ Element: HTMLTableCellElement;
6
+ Args: {
7
+ /** `'left'`, `'right'` (numbers) or `'center'`. Defaults to `'left'`. */
8
+ align?: TableAlignment;
9
+ /** Cuts long text with an ellipsis instead of wrapping it. */
10
+ truncateText?: boolean;
11
+ /**
12
+ * The content is only text (wrapped in a span that truncates or
13
+ * wraps). Set `false` for components. Defaults to `true`.
14
+ */
15
+ textOnly?: boolean;
16
+ /** Renders a `<th scope="row">`: the row's header. */
17
+ setScopeRow?: boolean;
18
+ /** Shows the content only while the row is hovered. */
19
+ showOnHover?: boolean;
20
+ /** The cell holds the row's actions. */
21
+ hasActions?: boolean;
22
+ /** The cell holds the row's expand button. */
23
+ isExpander?: boolean;
24
+ /** Vertical alignment: `'top'`, `'middle'` or `'bottom'`. Defaults to `'middle'`. */
25
+ valign?: 'top' | 'middle' | 'bottom';
26
+ /** Width, e.g. `100` (px) or `'20%'`. */
27
+ width?: number | string;
28
+ /**
29
+ * On small screens: `{ show, only, header, enlarge, align,
30
+ * truncateText }`. `header` labels the value in the row's card; the
31
+ * `<:mobile>` block replaces the content there.
32
+ */
33
+ mobileOptions?: TableMobileOptions;
34
+ };
35
+ Blocks: {
36
+ /** The content. */
37
+ default: [];
38
+ /** Different content on small screens. */
39
+ mobile: [];
40
+ };
41
+ }
42
+ declare const EuiTableRowCell: TemplateOnlyComponent<EuiTableRowCellSignature>;
43
+ export default EuiTableRowCell;
44
+ //# sourceMappingURL=eui-table-row-cell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-table-row-cell.d.ts","sourceRoot":"","sources":["../../src/components/eui-table-row-cell.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E,kCAAkC;AAClC,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,oBAAoB,CAAC;IAC9B,IAAI,EAAE;QACJ,yEAAyE;QACzE,KAAK,CAAC,EAAE,cAAc,CAAC;QACvB,8DAA8D;QAC9D,YAAY,CAAC,EAAE,OAAO,CAAC;QACvB;;;WAGG;QACH,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,sDAAsD;QACtD,WAAW,CAAC,EAAE,OAAO,CAAC;QACtB,uDAAuD;QACvD,WAAW,CAAC,EAAE,OAAO,CAAC;QACtB,wCAAwC;QACxC,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,8CAA8C;QAC9C,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,qFAAqF;QACrF,MAAM,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAC;QACrC,yCAAyC;QACzC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACxB;;;;WAIG;QACH,aAAa,CAAC,EAAE,kBAAkB,CAAC;KACpC,CAAC;IACF,MAAM,EAAE;QACN,mBAAmB;QACnB,OAAO,EAAE,EAAE,CAAC;QACZ,0CAA0C;QAC1C,MAAM,EAAE,EAAE,CAAC;KACZ,CAAC;CACH;AAwDD,QAAA,MAAM,eAAe,EAAE,qBAAqB,CAAC,wBAAwB,CAwHnE,CAAC;AAEH,eAAe,eAAe,CAAC"}
@@ -0,0 +1,26 @@
1
+ import type { TemplateOnlyComponent } from '@ember/component/template-only';
2
+ /** A row of an `EuiTable` body. */
3
+ export interface EuiTableRowSignature {
4
+ Element: HTMLTableRowElement;
5
+ Args: {
6
+ /** Highlights the row as selected. */
7
+ isSelected?: boolean;
8
+ /** The row has a selection checkbox. */
9
+ isSelectable?: boolean;
10
+ /** The row has an actions cell (with `@hasActions` on the cell). */
11
+ hasActions?: boolean;
12
+ /** The row can expand (it has an expander cell). */
13
+ isExpandable?: boolean;
14
+ /** The row is the expanded content of the previous row. */
15
+ isExpandedRow?: boolean;
16
+ /** Makes the row clickable (also with Enter and Space). */
17
+ onClick?: (event: Event) => void;
18
+ };
19
+ Blocks: {
20
+ /** The cells. */
21
+ default: [];
22
+ };
23
+ }
24
+ declare const EuiTableRow: TemplateOnlyComponent<EuiTableRowSignature>;
25
+ export default EuiTableRow;
26
+ //# sourceMappingURL=eui-table-row.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-table-row.d.ts","sourceRoot":"","sources":["../../src/components/eui-table-row.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E,mCAAmC;AACnC,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,mBAAmB,CAAC;IAC7B,IAAI,EAAE;QACJ,sCAAsC;QACtC,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,wCAAwC;QACxC,YAAY,CAAC,EAAE,OAAO,CAAC;QACvB,oEAAoE;QACpE,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,oDAAoD;QACpD,YAAY,CAAC,EAAE,OAAO,CAAC;QACvB,2DAA2D;QAC3D,aAAa,CAAC,EAAE,OAAO,CAAC;QACxB,2DAA2D;QAC3D,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;KAClC,CAAC;IACF,MAAM,EAAE;QACN,iBAAiB;QACjB,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAkCD,QAAA,MAAM,WAAW,EAAE,qBAAqB,CAAC,oBAAoB,CAyB3D,CAAC;AAEH,eAAe,WAAW,CAAC"}
@@ -0,0 +1,22 @@
1
+ import type { TemplateOnlyComponent } from '@ember/component/template-only';
2
+ /** A column in the `EuiTableSortMobile` menu. */
3
+ export interface EuiTableSortMobileItemSignature {
4
+ Element: HTMLButtonElement | HTMLAnchorElement;
5
+ Args: {
6
+ /** Sorts by this column. */
7
+ onSort?: (event: MouseEvent) => void;
8
+ /** The table is sorted by this column. */
9
+ isSorted?: boolean;
10
+ /** Ascending order (arrow up); descending otherwise. */
11
+ isSortAscending?: boolean;
12
+ /** The column's name, for the accessible label (defaults to the text). */
13
+ ariaLabel?: string;
14
+ };
15
+ Blocks: {
16
+ /** The column's name. */
17
+ default: [];
18
+ };
19
+ }
20
+ declare const EuiTableSortMobileItem: TemplateOnlyComponent<EuiTableSortMobileItemSignature>;
21
+ export default EuiTableSortMobileItem;
22
+ //# sourceMappingURL=eui-table-sort-mobile-item.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-table-sort-mobile-item.d.ts","sourceRoot":"","sources":["../../src/components/eui-table-sort-mobile-item.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E,iDAAiD;AACjD,MAAM,WAAW,+BAA+B;IAC9C,OAAO,EAAE,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,IAAI,EAAE;QACJ,4BAA4B;QAC5B,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;QACrC,0CAA0C;QAC1C,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,wDAAwD;QACxD,eAAe,CAAC,EAAE,OAAO,CAAC;QAC1B,0EAA0E;QAC1E,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,MAAM,EAAE;QACN,yBAAyB;QACzB,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAUD,QAAA,MAAM,sBAAsB,EAAE,qBAAqB,CAAC,+BAA+B,CAgBjF,CAAC;AAMH,eAAe,sBAAsB,CAAC"}
@@ -0,0 +1,37 @@
1
+ import Component from '@glimmer/component';
2
+ import type EuiI18n from '../services/eui-i18n';
3
+ import type { EuiPopoverSignature } from './eui-popover';
4
+ export interface EuiTableSortMobileItemOption {
5
+ /** Unique key. */
6
+ key?: string;
7
+ /** The column's name. */
8
+ name: string;
9
+ /** Sorts by this column. */
10
+ onSort?: (event: MouseEvent) => void;
11
+ /** The table is sorted by this column. */
12
+ isSorted?: boolean;
13
+ /** Ascending order. */
14
+ isSortAscending?: boolean;
15
+ }
16
+ /**
17
+ * A "Sorting" button opening a menu of the sortable columns, for small
18
+ * screens where a responsive `EuiTable` hides its header. Usually in an
19
+ * `EuiTableHeaderMobile`.
20
+ */
21
+ export interface EuiTableSortMobileSignature {
22
+ Element: HTMLDivElement;
23
+ Args: {
24
+ /** The sortable columns. */
25
+ items?: EuiTableSortMobileItemOption[];
26
+ /** Where the menu opens. Defaults to `'downRight'`. */
27
+ anchorPosition?: EuiPopoverSignature['Args']['anchorPosition'];
28
+ };
29
+ }
30
+ export default class EuiTableSortMobile extends Component<EuiTableSortMobileSignature> {
31
+ euiI18n: EuiI18n;
32
+ isPopoverOpen: boolean;
33
+ get label(): string;
34
+ toggle(): void;
35
+ close(): void;
36
+ }
37
+ //# sourceMappingURL=eui-table-sort-mobile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-table-sort-mobile.d.ts","sourceRoot":"","sources":["../../src/components/eui-table-sort-mobile.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAW3C,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEzD,MAAM,WAAW,4BAA4B;IAC3C,kBAAkB;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,yBAAyB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,4BAA4B;IAC5B,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;IACrC,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uBAAuB;IACvB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QACJ,4BAA4B;QAC5B,KAAK,CAAC,EAAE,4BAA4B,EAAE,CAAC;QACvC,uDAAuD;QACvD,cAAc,CAAC,EAAE,mBAAmB,CAAC,MAAM,CAAC,CAAC,gBAAgB,CAAC,CAAC;KAChE,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,SAAS,CAAC,2BAA2B,CAAC;IACnE,OAAO,EAAE,OAAO,CAAC;IAEzB,aAAa,UAAS;IAE/B,IAAI,KAAK,IAAI,MAAM,CAElB;IAGD,MAAM,IAAI,IAAI;IAKd,KAAK,IAAI,IAAI;CA4Dd"}
@@ -0,0 +1,28 @@
1
+ import type { TemplateOnlyComponent } from '@ember/component/template-only';
2
+ /**
3
+ * A styled `<table>`, built from `EuiTableHeader`, `EuiTableHeaderCell`,
4
+ * `EuiTableBody`, `EuiTableRow` and `EuiTableRowCell`. These components
5
+ * only render the markup: sorting, selection and pagination stay yours
6
+ * (or come from a headless table library).
7
+ */
8
+ export interface EuiTableSignature {
9
+ Element: HTMLTableElement;
10
+ Args: {
11
+ /** Smaller text and padding. */
12
+ compressed?: boolean;
13
+ /**
14
+ * `'fixed'` (columns share the width, text wraps or truncates) or
15
+ * `'auto'` (columns fit their content). Defaults to `'fixed'`.
16
+ */
17
+ tableLayout?: 'fixed' | 'auto';
18
+ /** On small screens, rows become cards. Defaults to `true`. */
19
+ responsive?: boolean;
20
+ };
21
+ Blocks: {
22
+ /** The header, body and footer. */
23
+ default: [];
24
+ };
25
+ }
26
+ declare const EuiTable: TemplateOnlyComponent<EuiTableSignature>;
27
+ export default EuiTable;
28
+ //# sourceMappingURL=eui-table.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-table.d.ts","sourceRoot":"","sources":["../../src/components/eui-table.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E;;;;;GAKG;AACH,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,gBAAgB,CAAC;IAC1B,IAAI,EAAE;QACJ,gCAAgC;QAChC,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB;;;WAGG;QACH,WAAW,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;QAC/B,+DAA+D;QAC/D,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB,CAAC;IACF,MAAM,EAAE;QACN,mCAAmC;QACnC,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAaD,QAAA,MAAM,QAAQ,EAAE,qBAAqB,CAAC,iBAAiB,CAWrD,CAAC;AAEH,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,30 @@
1
+ import type { DiffChunk } from '../-private/text-diff.ts';
2
+ import type { TemplateOnlyComponent } from '@ember/component/template-only';
3
+ /**
4
+ * Shows the changes between two texts inline: removed text in `<del>`,
5
+ * added text in `<ins>`.
6
+ */
7
+ export interface EuiTextDiffSignature {
8
+ Element: HTMLSpanElement;
9
+ Args: {
10
+ /** The original text. */
11
+ beforeText: string;
12
+ /** The changed text. */
13
+ afterText: string;
14
+ /**
15
+ * Compare whole `'words'` (easier to read) or single `'characters'`.
16
+ * Defaults to `'words'`.
17
+ */
18
+ granularity?: 'words' | 'characters';
19
+ };
20
+ Blocks: {
21
+ /**
22
+ * Renders the diff yourself: yields its chunks, `[operation, text]`
23
+ * pairs where the operation is `-1` (removed), `1` (added) or `0`.
24
+ */
25
+ default: [DiffChunk[]];
26
+ };
27
+ }
28
+ declare const EuiTextDiff: TemplateOnlyComponent<EuiTextDiffSignature>;
29
+ export default EuiTextDiff;
30
+ //# sourceMappingURL=eui-text-diff.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-text-diff.d.ts","sourceRoot":"","sources":["../../src/components/eui-text-diff.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,eAAe,CAAC;IACzB,IAAI,EAAE;QACJ,yBAAyB;QACzB,UAAU,EAAE,MAAM,CAAC;QACnB,wBAAwB;QACxB,SAAS,EAAE,MAAM,CAAC;QAClB;;;WAGG;QACH,WAAW,CAAC,EAAE,OAAO,GAAG,YAAY,CAAC;KACtC,CAAC;IACF,MAAM,EAAE;QACN;;;WAGG;QACH,OAAO,EAAE,CAAC,SAAS,EAAE,CAAC,CAAC;KACxB,CAAC;CACH;AAoBD,QAAA,MAAM,WAAW,EAAE,qBAAqB,CAAC,oBAAoB,CA4C3D,CAAC;AAEH,eAAe,WAAW,CAAC"}
@@ -0,0 +1,37 @@
1
+ import type { IconType } from './eui-icon';
2
+ import type { TemplateOnlyComponent } from '@ember/component/template-only';
3
+ /**
4
+ * A small icon in a colored shape that tells the type of a value or code
5
+ * symbol, e.g. a field's type (string, number, date) in a list of fields.
6
+ */
7
+ export interface EuiTokenSignature {
8
+ Element: HTMLSpanElement;
9
+ Args: {
10
+ /**
11
+ * The icon: one of EUI's `token*` icons (`'tokenString'`,
12
+ * `'tokenNumber'`, `'tokenDate'`, …), which come with their own shape
13
+ * and color, or any other `EuiIcon` type.
14
+ */
15
+ iconType: IconType;
16
+ /**
17
+ * `'euiColorVis0'` to `'euiColorVis9'`, `'gray'`, or a hex color (which
18
+ * forces `@fill="dark"` unless `@fill="none"`). Defaults to the token
19
+ * icon's color, or `'gray'`.
20
+ */
21
+ color?: string;
22
+ /** `'circle'`, `'square'` or `'rectangle'`. Defaults to the token icon's, or `'circle'`. */
23
+ shape?: 'circle' | 'square' | 'rectangle';
24
+ /**
25
+ * `'light'` (tinted with a border), `'dark'` (solid) or `'none'`.
26
+ * Defaults to the token icon's, or `'light'`.
27
+ */
28
+ fill?: 'light' | 'dark' | 'none';
29
+ /** `'xs'`, `'s'`, `'m'` or `'l'`. Defaults to `'s'`. */
30
+ size?: 'xs' | 's' | 'm' | 'l';
31
+ /** Title of the icon, read by screen readers, e.g. "String field". */
32
+ title?: string;
33
+ };
34
+ }
35
+ declare const EuiToken: TemplateOnlyComponent<EuiTokenSignature>;
36
+ export default EuiToken;
37
+ //# sourceMappingURL=eui-token.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-token.d.ts","sourceRoot":"","sources":["../../src/components/eui-token.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAqC5E;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,eAAe,CAAC;IACzB,IAAI,EAAE;QACJ;;;;WAIG;QACH,QAAQ,EAAE,QAAQ,CAAC;QACnB;;;;WAIG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,4FAA4F;QAC5F,KAAK,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,WAAW,CAAC;QAC1C;;;WAGG;QACH,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;QACjC,wDAAwD;QACxD,IAAI,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;QAC9B,sEAAsE;QACtE,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;CACH;AAmDD,QAAA,MAAM,QAAQ,EAAE,qBAAqB,CAAC,iBAAiB,CAqBrD,CAAC;AAEH,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,19 @@
1
+ import Component from '@glimmer/component';
2
+ import type EuiI18n from '../services/eui-i18n';
3
+ /** One dot of a tour's progress: `'complete'`, `'active'` or `'incomplete'`. */
4
+ export interface EuiTourStepIndicatorSignature {
5
+ Element: HTMLLIElement;
6
+ Args: {
7
+ /** The step's number (1-based). */
8
+ number: number;
9
+ /** `'complete'`, `'active'` or `'incomplete'`. */
10
+ status?: 'complete' | 'active' | 'incomplete';
11
+ };
12
+ }
13
+ export default class EuiTourStepIndicator extends Component<EuiTourStepIndicatorSignature> {
14
+ euiI18n: EuiI18n;
15
+ get label(): string;
16
+ get iconLabel(): string | undefined;
17
+ get classes(): string;
18
+ }
19
+ //# sourceMappingURL=eui-tour-step-indicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-tour-step-indicator.d.ts","sourceRoot":"","sources":["../../src/components/eui-tour-step-indicator.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAK3C,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAEhD,gFAAgF;AAChF,MAAM,WAAW,6BAA6B;IAC5C,OAAO,EAAE,aAAa,CAAC;IACvB,IAAI,EAAE;QACJ,mCAAmC;QACnC,MAAM,EAAE,MAAM,CAAC;QACf,kDAAkD;QAClD,MAAM,CAAC,EAAE,UAAU,GAAG,QAAQ,GAAG,YAAY,CAAC;KAC/C,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,SAAS,CAAC,6BAA6B,CAAC;IACvE,OAAO,EAAE,OAAO,CAAC;IAElC,IAAI,KAAK,IAAI,MAAM,CAKlB;IAED,IAAI,SAAS,IAAI,MAAM,GAAG,SAAS,CAUlC;IAED,IAAI,OAAO,IAAI,MAAM,CAIpB;CAuBF"}
@@ -0,0 +1,93 @@
1
+ import Component from '@glimmer/component';
2
+ import type EuiI18n from '../services/eui-i18n';
3
+ import type { EuiPopoverSignature } from './eui-popover';
4
+ /** What a tour tells its steps (set by `EuiTour`). */
5
+ export interface EuiTourContext {
6
+ currentTourStep: number;
7
+ isTourActive: boolean;
8
+ stepsTotal: number;
9
+ tourPopoverWidth?: number;
10
+ tourSubtitle?: string;
11
+ finishTour: () => void;
12
+ stepConfig: (step: number) => EuiTourStepConfig | undefined;
13
+ }
14
+ /** The content of a step, given to `EuiTour`'s `@steps`. */
15
+ export interface EuiTourStepConfig {
16
+ /** The step's number (1-based). */
17
+ step: number;
18
+ /** Title of the step. */
19
+ title: string;
20
+ /** Text of the step. */
21
+ content?: string;
22
+ /** Where the popover opens. Defaults to `'leftUp'`. */
23
+ anchorPosition?: EuiPopoverSignature['Args']['anchorPosition'];
24
+ }
25
+ /**
26
+ * One step of a guided tour: a popover with a pulsing beacon next to the
27
+ * element it explains (the block), a title, content, the progress and a
28
+ * button to skip or end the tour. Render it through `EuiTour`, which opens
29
+ * the current step, or on its own with `@isStepOpen`.
30
+ */
31
+ export interface EuiTourStepSignature {
32
+ Element: HTMLDivElement;
33
+ Args: {
34
+ /** Shows the popover. Defaults to whether it is the tour's current step. */
35
+ isStepOpen?: boolean;
36
+ /** The step's number (1-based). Defaults to `1`. */
37
+ step?: number;
38
+ /** Number of steps in the tour, for the progress dots. */
39
+ stepsTotal?: number;
40
+ /** Title of the step. */
41
+ title?: string;
42
+ /** Small title above it, e.g. the tour's name. */
43
+ subtitle?: string;
44
+ /** Text of the step. Use the `<:content>` block for markup. */
45
+ content?: string;
46
+ /** Where the popover opens. Defaults to `'leftUp'`. */
47
+ anchorPosition?: EuiPopoverSignature['Args']['anchorPosition'];
48
+ /** Minimum width in px. Defaults to `300`. */
49
+ minWidth?: number;
50
+ /** Maximum width in px. Defaults to `600`. */
51
+ maxWidth?: number;
52
+ /** Called by the "Skip / End / Close tour" button. */
53
+ onFinish?: () => void;
54
+ /** Called when clicking outside or pressing Escape. */
55
+ closePopover?: () => void;
56
+ /** `'beacon'` (a pulsing dot on the arrow) or `'none'`. Defaults to `'beacon'`. */
57
+ decoration?: 'beacon' | 'none';
58
+ /** @private Set by `EuiTour`. */
59
+ tour?: EuiTourContext;
60
+ };
61
+ Blocks: {
62
+ /** The element the step points at. */
63
+ default: [];
64
+ /** Markup for the step's content, instead of `@content`. */
65
+ content: [];
66
+ /** Replaces the "Skip tour" button, e.g. with "Next" / "Back" buttons. */
67
+ footerAction: [];
68
+ };
69
+ }
70
+ type Status = 'complete' | 'active' | 'incomplete';
71
+ export default class EuiTourStep extends Component<EuiTourStepSignature> {
72
+ euiI18n: EuiI18n;
73
+ titleId: string;
74
+ get step(): number;
75
+ get config(): EuiTourStepConfig | undefined;
76
+ get isOpen(): boolean;
77
+ get stepsTotal(): number;
78
+ get title(): string | undefined;
79
+ get subtitle(): string | undefined;
80
+ get content(): string | undefined;
81
+ get anchorPosition(): EuiPopoverSignature['Args']['anchorPosition'];
82
+ get hasBeacon(): boolean;
83
+ get panelStyle(): Record<string, string>;
84
+ get statuses(): {
85
+ number: number;
86
+ status: Status;
87
+ }[];
88
+ get finishLabel(): string;
89
+ finish: () => void;
90
+ close: () => void;
91
+ }
92
+ export {};
93
+ //# sourceMappingURL=eui-tour-step.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-tour-step.d.ts","sourceRoot":"","sources":["../../src/components/eui-tour-step.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAe3C,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEzD,sDAAsD;AACtD,MAAM,WAAW,cAAc;IAC7B,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,OAAO,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,iBAAiB,GAAG,SAAS,CAAC;CAC7D;AAED,4DAA4D;AAC5D,MAAM,WAAW,iBAAiB;IAChC,mCAAmC;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,yBAAyB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,wBAAwB;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,uDAAuD;IACvD,cAAc,CAAC,EAAE,mBAAmB,CAAC,MAAM,CAAC,CAAC,gBAAgB,CAAC,CAAC;CAChE;AAED;;;;;GAKG;AACH,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QACJ,4EAA4E;QAC5E,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,oDAAoD;QACpD,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,0DAA0D;QAC1D,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,yBAAyB;QACzB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,k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AAM,CAAC,CAAC,gBAAgB,CAAC,CAElE;IAED,IAAI,SAAS,IAAI,OAAO,CAEvB;IAED,IAAI,UAAU,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAIvC;IAED,IAAI,QAAQ,IAAI;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,EAAE,CAKnD;IAED,IAAI,WAAW,IAAI,MAAM,CAQxB;IAED,MAAM,QAAO,IAAI,CAEf;IAEF,KAAK,QAAO,IAAI,CAEd;CAwJH"}
@@ -0,0 +1,77 @@
1
+ import Component from '@glimmer/component';
2
+ import type { EuiTourContext, EuiTourStepConfig } from './eui-tour-step';
3
+ import type { EuiTourStepSignature } from './eui-tour-step';
4
+ import type Owner from '@ember/owner';
5
+ import type { ComponentLike } from '@glint/template';
6
+ export type { EuiTourStepConfig };
7
+ export interface EuiTourState {
8
+ /** The step shown (1-based). */
9
+ currentTourStep: number;
10
+ /** Whether the tour runs. */
11
+ isTourActive: boolean;
12
+ /** Minimum width of the steps' popovers, in px. */
13
+ tourPopoverWidth?: number;
14
+ /** Subtitle of every step, e.g. the tour's name. */
15
+ tourSubtitle?: string;
16
+ }
17
+ export interface EuiTourActions {
18
+ /** Ends the tour; `resetTour` (default `true`) goes back to step 1. */
19
+ finishTour: (resetTour?: boolean) => void;
20
+ /** Starts again from step 1. */
21
+ resetTour: () => void;
22
+ /** Goes to the next step. */
23
+ incrementStep: () => void;
24
+ /** Goes to the previous step. */
25
+ decrementStep: () => void;
26
+ /** Goes to a step, and starts or stops the tour with `isTourActive`. */
27
+ goToStep: (step: number, isTourActive?: boolean) => void;
28
+ }
29
+ /**
30
+ * A guided tour: a series of `EuiTourStep` popovers shown one at a time.
31
+ * It keeps the tour's state and yields `{ Step, actions, state }`: render
32
+ * a `<tour.Step @step={{n}}>` around each element the tour points at, and
33
+ * move with `tour.actions`.
34
+ */
35
+ export interface EuiTourSignature {
36
+ Args: {
37
+ /** Where the tour starts (and whether it runs at first). */
38
+ initialState: EuiTourState;
39
+ /**
40
+ * The steps' titles and contents: `[{ step, title, content }]`. Each
41
+ * `<tour.Step @step={{n}}>` uses the entry with its number. Optional
42
+ * when the steps get their text directly.
43
+ */
44
+ steps?: EuiTourStepConfig[];
45
+ /** Number of steps, when `@steps` is not given. */
46
+ stepsTotal?: number;
47
+ };
48
+ Blocks: {
49
+ default: [
50
+ {
51
+ /** An `EuiTourStep` wired to this tour. */
52
+ Step: ComponentLike<{
53
+ Element: HTMLDivElement;
54
+ Args: Omit<EuiTourStepSignature['Args'], 'tour'>;
55
+ Blocks: EuiTourStepSignature['Blocks'];
56
+ }>;
57
+ actions: EuiTourActions;
58
+ state: EuiTourState;
59
+ }
60
+ ];
61
+ };
62
+ }
63
+ export default class EuiTour extends Component<EuiTourSignature> {
64
+ currentTourStep: number;
65
+ isTourActive: boolean;
66
+ constructor(owner: Owner, args: EuiTourSignature['Args']);
67
+ get stepsTotal(): number;
68
+ get state(): EuiTourState;
69
+ get context(): EuiTourContext;
70
+ finishTour(resetTour?: boolean): void;
71
+ resetTour(): void;
72
+ incrementStep(): void;
73
+ decrementStep(): void;
74
+ goToStep(step: number, isTourActive?: boolean): void;
75
+ get actions(): EuiTourActions;
76
+ }
77
+ //# sourceMappingURL=eui-tour.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-tour.d.ts","sourceRoot":"","sources":["../../src/components/eui-tour.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAO3C,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAC5D,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,YAAY,EAAE,iBAAiB,EAAE,CAAC;AAElC,MAAM,WAAW,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gBAAgB,CAAC;IACrD,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,OAAO,CAAC;gBAEnB,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,gBAAgB,CAAC,MAAM,CAAC;IAOxD,IAAI,UAAU,IAAI,MAAM,CAEvB;IAED,IAAI,KAAK,IAAI,YAAY,CAMxB;IAED,IAAI,OAAO,IAAI,cAAc,CAU5B;IAGD,UAAU,CAAC,SAAS,UAAO,GAAG,IAAI;IAMlC,SAAS,IAAI,IAAI;IAMjB,aAAa,IAAI,IAAI;IAKrB,aAAa,IAAI,IAAI;IAKrB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,OAAO,GAAG,IAAI;IAKpD,IAAI,OAAO,IAAI,cAAc,CAQ5B;CAUF"}
@@ -0,0 +1,71 @@
1
+ import Component from '@glimmer/component';
2
+ import type EuiI18n from '../services/eui-i18n';
3
+ import type { EuiIconSignature } from './eui-icon';
4
+ export interface EuiTreeViewNode {
5
+ /** Unique id, also the id of the node's button. */
6
+ id: string;
7
+ /** The node's text. Use the `<:label>` block for markup. */
8
+ label: string;
9
+ /** Icon before the label, any `EuiIcon` type, e.g. `'folderClosed'`. */
10
+ icon?: EuiIconSignature['Args']['type'];
11
+ /** Icon while the node is open, e.g. `'folderOpen'`. */
12
+ iconWhenExpanded?: EuiIconSignature['Args']['type'];
13
+ /** Keeps the icon's space without an icon, to align with siblings. */
14
+ useEmptyIcon?: boolean;
15
+ /** Child nodes: the node opens and closes them. */
16
+ children?: EuiTreeViewNode[];
17
+ /** Starts open. */
18
+ isExpanded?: boolean;
19
+ /** Called when the node is clicked. */
20
+ callback?: () => void;
21
+ /** Extra classes for the node's button. */
22
+ className?: string;
23
+ }
24
+ /**
25
+ * A hierarchy of nodes (folders and files, sections and pages) that open
26
+ * and close. Arrow keys move between nodes (up and down) and open or close
27
+ * them (right and left). Give it an `aria-label`.
28
+ */
29
+ export interface EuiTreeViewSignature {
30
+ Element: HTMLUListElement;
31
+ Args: {
32
+ /** The top-level nodes; each may have `children`. */
33
+ items: EuiTreeViewNode[];
34
+ /** `'default'` or `'compressed'` (smaller text and spacing). */
35
+ display?: 'default' | 'compressed';
36
+ /** Opens every node that has children. */
37
+ expandByDefault?: boolean;
38
+ /** Shows an arrow before nodes that have children. */
39
+ showExpansionArrows?: boolean;
40
+ /** @private The root tree's id, for nested levels. */
41
+ treeId?: string;
42
+ };
43
+ Blocks: {
44
+ /** Renders a node's label yourself; yields the node. */
45
+ label: [node: EuiTreeViewNode];
46
+ };
47
+ }
48
+ export default class EuiTreeView extends Component<EuiTreeViewSignature> {
49
+ euiI18n: EuiI18n;
50
+ openItems: string[];
51
+ activeItem?: string;
52
+ expandChildNodes: boolean;
53
+ ownTreeId: string;
54
+ get isNested(): boolean;
55
+ get treeId(): string;
56
+ get instructionsId(): string;
57
+ get instructions(): string;
58
+ get isCompressed(): boolean;
59
+ get classes(): string;
60
+ isOpen: (node: EuiTreeViewNode) => boolean;
61
+ nodeClasses: (node: EuiTreeViewNode) => string;
62
+ buttonClasses: (node: EuiTreeViewNode) => string;
63
+ iconOf: (node: EuiTreeViewNode) => EuiIconSignature['Args']['type'];
64
+ childrenId: (node: EuiTreeViewNode) => string;
65
+ toggle(node: EuiTreeViewNode): void;
66
+ onClick(node: EuiTreeViewNode): void;
67
+ onKeyDown(node: EuiTreeViewNode, event: KeyboardEvent): void;
68
+ /** Arrow left inside a node's children moves back to that node. */
69
+ onChildrenKeyDown(node: EuiTreeViewNode, event: KeyboardEvent): void;
70
+ }
71
+ //# sourceMappingURL=eui-tree-view.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-tree-view.d.ts","sourceRoot":"","sources":["../../src/components/eui-tree-view.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAW3C,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,Y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