@ember-eui/core 8.0.65 → 8.0.66

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 (437) 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-context-menu-item.d.ts +22 -2
  52. package/declarations/components/eui-context-menu-item.d.ts.map +1 -1
  53. package/declarations/components/eui-context-menu-panel.d.ts +87 -3
  54. package/declarations/components/eui-context-menu-panel.d.ts.map +1 -1
  55. package/declarations/components/eui-context-menu.d.ts +94 -0
  56. package/declarations/components/eui-context-menu.d.ts.map +1 -0
  57. package/declarations/components/eui-control-bar.d.ts +110 -0
  58. package/declarations/components/eui-control-bar.d.ts.map +1 -0
  59. package/declarations/components/eui-date-picker-range.d.ts +28 -0
  60. package/declarations/components/eui-date-picker-range.d.ts.map +1 -0
  61. package/declarations/components/eui-delay-hide.d.ts +21 -0
  62. package/declarations/components/eui-delay-hide.d.ts.map +1 -0
  63. package/declarations/components/eui-delay-render.d.ts +21 -0
  64. package/declarations/components/eui-delay-render.d.ts.map +1 -0
  65. package/declarations/components/eui-drag-drop-context.d.ts +66 -0
  66. package/declarations/components/eui-drag-drop-context.d.ts.map +1 -0
  67. package/declarations/components/eui-draggable.d.ts +76 -0
  68. package/declarations/components/eui-draggable.d.ts.map +1 -0
  69. package/declarations/components/eui-droppable.d.ts +86 -0
  70. package/declarations/components/eui-droppable.d.ts.map +1 -0
  71. package/declarations/components/eui-expression.d.ts +46 -0
  72. package/declarations/components/eui-expression.d.ts.map +1 -0
  73. package/declarations/components/eui-facet-button.d.ts +30 -0
  74. package/declarations/components/eui-facet-button.d.ts.map +1 -0
  75. package/declarations/components/eui-facet-group.d.ts +21 -0
  76. package/declarations/components/eui-facet-group.d.ts.map +1 -0
  77. package/declarations/components/eui-filter-button.d.ts +54 -0
  78. package/declarations/components/eui-filter-button.d.ts.map +1 -0
  79. package/declarations/components/eui-filter-group.d.ts +19 -0
  80. package/declarations/components/eui-filter-group.d.ts.map +1 -0
  81. package/declarations/components/eui-filter-select-item.d.ts +29 -0
  82. package/declarations/components/eui-filter-select-item.d.ts.map +1 -0
  83. package/declarations/components/eui-highlight.d.ts +26 -0
  84. package/declarations/components/eui-highlight.d.ts.map +1 -0
  85. package/declarations/components/eui-hue.d.ts +25 -0
  86. package/declarations/components/eui-hue.d.ts.map +1 -0
  87. package/declarations/components/eui-i18n-number.d.ts +25 -0
  88. package/declarations/components/eui-i18n-number.d.ts.map +1 -0
  89. package/declarations/components/eui-loading-chart.d.ts +17 -0
  90. package/declarations/components/eui-loading-chart.d.ts.map +1 -0
  91. package/declarations/components/eui-loading-elastic.d.ts +15 -0
  92. package/declarations/components/eui-loading-elastic.d.ts.map +1 -0
  93. package/declarations/components/eui-mark.d.ts +15 -0
  94. package/declarations/components/eui-mark.d.ts.map +1 -0
  95. package/declarations/components/eui-markdown-editor.d.ts +2 -2
  96. package/declarations/components/eui-markdown-editor.d.ts.map +1 -1
  97. package/declarations/components/eui-pinnable-list-group.d.ts +59 -0
  98. package/declarations/components/eui-pinnable-list-group.d.ts.map +1 -0
  99. package/declarations/components/eui-popover.d.ts +1 -0
  100. package/declarations/components/eui-popover.d.ts.map +1 -1
  101. package/declarations/components/eui-refresh-interval.d.ts +46 -0
  102. package/declarations/components/eui-refresh-interval.d.ts.map +1 -0
  103. package/declarations/components/eui-resizable-container/button.d.ts +38 -0
  104. package/declarations/components/eui-resizable-container/button.d.ts.map +1 -0
  105. package/declarations/components/eui-resizable-container/collapse-button.d.ts +15 -0
  106. package/declarations/components/eui-resizable-container/collapse-button.d.ts.map +1 -0
  107. package/declarations/components/eui-resizable-container/panel.d.ts +86 -0
  108. package/declarations/components/eui-resizable-container/panel.d.ts.map +1 -0
  109. package/declarations/components/eui-resizable-container.d.ts +82 -0
  110. package/declarations/components/eui-resizable-container.d.ts.map +1 -0
  111. package/declarations/components/eui-saturation.d.ts +62 -0
  112. package/declarations/components/eui-saturation.d.ts.map +1 -0
  113. package/declarations/components/eui-screen-reader-only.d.ts +23 -0
  114. package/declarations/components/eui-screen-reader-only.d.ts.map +1 -0
  115. package/declarations/components/eui-selectable-list-item.d.ts +53 -3
  116. package/declarations/components/eui-selectable-list-item.d.ts.map +1 -1
  117. package/declarations/components/eui-selectable-list.d.ts +95 -0
  118. package/declarations/components/eui-selectable-list.d.ts.map +1 -0
  119. package/declarations/components/eui-selectable-message.d.ts +19 -0
  120. package/declarations/components/eui-selectable-message.d.ts.map +1 -0
  121. package/declarations/components/eui-selectable-search.d.ts +33 -0
  122. package/declarations/components/eui-selectable-search.d.ts.map +1 -0
  123. package/declarations/components/eui-selectable-template-sitewide.d.ts +86 -0
  124. package/declarations/components/eui-selectable-template-sitewide.d.ts.map +1 -0
  125. package/declarations/components/eui-selectable.d.ts +123 -0
  126. package/declarations/components/eui-selectable.d.ts.map +1 -0
  127. package/declarations/components/eui-skip-link.d.ts +31 -0
  128. package/declarations/components/eui-skip-link.d.ts.map +1 -0
  129. package/declarations/components/eui-suggest-input.d.ts +55 -0
  130. package/declarations/components/eui-suggest-input.d.ts.map +1 -0
  131. package/declarations/components/eui-suggest-item.d.ts +38 -0
  132. package/declarations/components/eui-suggest-item.d.ts.map +1 -0
  133. package/declarations/components/eui-suggest.d.ts +52 -0
  134. package/declarations/components/eui-suggest.d.ts.map +1 -0
  135. package/declarations/components/eui-super-date-picker/eui-quick-select-popover.d.ts +7 -1
  136. package/declarations/components/eui-super-date-picker/eui-quick-select-popover.d.ts.map +1 -1
  137. package/declarations/components/eui-super-date-picker.d.ts +69 -18
  138. package/declarations/components/eui-super-date-picker.d.ts.map +1 -1
  139. package/declarations/components/eui-super-select-control.d.ts +57 -0
  140. package/declarations/components/eui-super-select-control.d.ts.map +1 -0
  141. package/declarations/components/eui-super-select.d.ts +84 -0
  142. package/declarations/components/eui-super-select.d.ts.map +1 -0
  143. package/declarations/components/eui-table-body.d.ts +12 -0
  144. package/declarations/components/eui-table-body.d.ts.map +1 -0
  145. package/declarations/components/eui-table-footer-cell.d.ts +19 -0
  146. package/declarations/components/eui-table-footer-cell.d.ts.map +1 -0
  147. package/declarations/components/eui-table-footer.d.ts +12 -0
  148. package/declarations/components/eui-table-footer.d.ts.map +1 -0
  149. package/declarations/components/eui-table-header-button.d.ts +17 -0
  150. package/declarations/components/eui-table-header-button.d.ts.map +1 -0
  151. package/declarations/components/eui-table-header-cell-checkbox.d.ts +18 -0
  152. package/declarations/components/eui-table-header-cell-checkbox.d.ts.map +1 -0
  153. package/declarations/components/eui-table-header-cell.d.ts +43 -0
  154. package/declarations/components/eui-table-header-cell.d.ts.map +1 -0
  155. package/declarations/components/eui-table-header-mobile.d.ts +15 -0
  156. package/declarations/components/eui-table-header-mobile.d.ts.map +1 -0
  157. package/declarations/components/eui-table-header.d.ts +16 -0
  158. package/declarations/components/eui-table-header.d.ts.map +1 -0
  159. package/declarations/components/eui-table-pagination.d.ts +40 -0
  160. package/declarations/components/eui-table-pagination.d.ts.map +1 -0
  161. package/declarations/components/eui-table-row-cell-checkbox.d.ts +12 -0
  162. package/declarations/components/eui-table-row-cell-checkbox.d.ts.map +1 -0
  163. package/declarations/components/eui-table-row-cell.d.ts +44 -0
  164. package/declarations/components/eui-table-row-cell.d.ts.map +1 -0
  165. package/declarations/components/eui-table-row.d.ts +26 -0
  166. package/declarations/components/eui-table-row.d.ts.map +1 -0
  167. package/declarations/components/eui-table-sort-mobile-item.d.ts +22 -0
  168. package/declarations/components/eui-table-sort-mobile-item.d.ts.map +1 -0
  169. package/declarations/components/eui-table-sort-mobile.d.ts +37 -0
  170. package/declarations/components/eui-table-sort-mobile.d.ts.map +1 -0
  171. package/declarations/components/eui-table.d.ts +28 -0
  172. package/declarations/components/eui-table.d.ts.map +1 -0
  173. package/declarations/components/eui-text-diff.d.ts +30 -0
  174. package/declarations/components/eui-text-diff.d.ts.map +1 -0
  175. package/declarations/components/eui-token.d.ts +37 -0
  176. package/declarations/components/eui-token.d.ts.map +1 -0
  177. package/declarations/components/eui-tour-step-indicator.d.ts +19 -0
  178. package/declarations/components/eui-tour-step-indicator.d.ts.map +1 -0
  179. package/declarations/components/eui-tour-step.d.ts +93 -0
  180. package/declarations/components/eui-tour-step.d.ts.map +1 -0
  181. package/declarations/components/eui-tour.d.ts +77 -0
  182. package/declarations/components/eui-tour.d.ts.map +1 -0
  183. package/declarations/components/eui-tree-view.d.ts +71 -0
  184. package/declarations/components/eui-tree-view.d.ts.map +1 -0
  185. package/declarations/components.d.ts +75 -1
  186. package/declarations/components.d.ts.map +1 -1
  187. package/declarations/services/eui-i18n.d.ts +6 -0
  188. package/declarations/services/eui-i18n.d.ts.map +1 -1
  189. package/declarations/template-registry.d.ts +221 -0
  190. package/declarations/template-registry.d.ts.map +1 -1
  191. package/declarations/utils/drag-drop.d.ts +21 -0
  192. package/declarations/utils/drag-drop.d.ts.map +1 -0
  193. package/declarations/utils/icons-from-glob.d.ts +39 -0
  194. package/declarations/utils/icons-from-glob.d.ts.map +1 -0
  195. package/declarations/utils/preload-icons.d.ts +21 -0
  196. package/declarations/utils/preload-icons.d.ts.map +1 -0
  197. package/declarations/utils/token-map.d.ts +11 -0
  198. package/declarations/utils/token-map.d.ts.map +1 -0
  199. package/dist/-private/color.js +168 -0
  200. package/dist/-private/color.js.map +1 -0
  201. package/dist/-private/css-style.js +24 -0
  202. package/dist/-private/css-style.js.map +1 -0
  203. package/dist/-private/random-id.js +2 -1
  204. package/dist/-private/random-id.js.map +1 -1
  205. package/dist/-private/resizable.js +44 -0
  206. package/dist/-private/resizable.js.map +1 -0
  207. package/dist/-private/selectable-options.js +59 -0
  208. package/dist/-private/selectable-options.js.map +1 -0
  209. package/dist/-private/table.js +20 -0
  210. package/dist/-private/table.js.map +1 -0
  211. package/dist/-private/text-diff.js +94 -0
  212. package/dist/-private/text-diff.js.map +1 -0
  213. package/dist/_app_/components/eui-aspect-ratio.js +1 -0
  214. package/dist/_app_/components/eui-beacon.js +1 -0
  215. package/dist/_app_/components/eui-color-palette-display.js +1 -0
  216. package/dist/_app_/components/eui-color-palette-picker.js +1 -0
  217. package/dist/_app_/components/eui-color-picker-swatch.js +1 -0
  218. package/dist/_app_/components/eui-color-picker.js +1 -0
  219. package/dist/_app_/components/eui-color-stops/thumb.js +1 -0
  220. package/dist/_app_/components/eui-color-stops.js +1 -0
  221. package/dist/_app_/components/eui-context-menu.js +1 -0
  222. package/dist/_app_/components/eui-control-bar.js +1 -0
  223. package/dist/_app_/components/eui-date-picker-range.js +1 -0
  224. package/dist/_app_/components/eui-delay-hide.js +1 -0
  225. package/dist/_app_/components/eui-delay-render.js +1 -0
  226. package/dist/_app_/components/eui-drag-drop-context.js +1 -0
  227. package/dist/_app_/components/eui-draggable.js +1 -0
  228. package/dist/_app_/components/eui-droppable.js +1 -0
  229. package/dist/_app_/components/eui-expression.js +1 -0
  230. package/dist/_app_/components/eui-facet-button.js +1 -0
  231. package/dist/_app_/components/eui-facet-group.js +1 -0
  232. package/dist/_app_/components/eui-filter-button.js +1 -0
  233. package/dist/_app_/components/eui-filter-group.js +1 -0
  234. package/dist/_app_/components/eui-filter-select-item.js +1 -0
  235. package/dist/_app_/components/eui-highlight.js +1 -0
  236. package/dist/_app_/components/eui-hue.js +1 -0
  237. package/dist/_app_/components/eui-i18n-number.js +1 -0
  238. package/dist/_app_/components/eui-loading-chart.js +1 -0
  239. package/dist/_app_/components/eui-loading-elastic.js +1 -0
  240. package/dist/_app_/components/eui-mark.js +1 -0
  241. package/dist/_app_/components/eui-pinnable-list-group.js +1 -0
  242. package/dist/_app_/components/eui-refresh-interval.js +1 -0
  243. package/dist/_app_/components/eui-resizable-container/button.js +1 -0
  244. package/dist/_app_/components/eui-resizable-container/collapse-button.js +1 -0
  245. package/dist/_app_/components/eui-resizable-container/panel.js +1 -0
  246. package/dist/_app_/components/eui-resizable-container.js +1 -0
  247. package/dist/_app_/components/eui-saturation.js +1 -0
  248. package/dist/_app_/components/eui-screen-reader-only.js +1 -0
  249. package/dist/_app_/components/eui-selectable-list.js +1 -0
  250. package/dist/_app_/components/eui-selectable-message.js +1 -0
  251. package/dist/_app_/components/eui-selectable-search.js +1 -0
  252. package/dist/_app_/components/eui-selectable-template-sitewide.js +1 -0
  253. package/dist/_app_/components/eui-selectable.js +1 -0
  254. package/dist/_app_/components/eui-skip-link.js +1 -0
  255. package/dist/_app_/components/eui-suggest-input.js +1 -0
  256. package/dist/_app_/components/eui-suggest-item.js +1 -0
  257. package/dist/_app_/components/eui-suggest.js +1 -0
  258. package/dist/_app_/components/eui-super-select-control.js +1 -0
  259. package/dist/_app_/components/eui-super-select.js +1 -0
  260. package/dist/_app_/components/eui-table-body.js +1 -0
  261. package/dist/_app_/components/eui-table-footer-cell.js +1 -0
  262. package/dist/_app_/components/eui-table-footer.js +1 -0
  263. package/dist/_app_/components/eui-table-header-button.js +1 -0
  264. package/dist/_app_/components/eui-table-header-cell-checkbox.js +1 -0
  265. package/dist/_app_/components/eui-table-header-cell.js +1 -0
  266. package/dist/_app_/components/eui-table-header-mobile.js +1 -0
  267. package/dist/_app_/components/eui-table-header.js +1 -0
  268. package/dist/_app_/components/eui-table-pagination.js +1 -0
  269. package/dist/_app_/components/eui-table-row-cell-checkbox.js +1 -0
  270. package/dist/_app_/components/eui-table-row-cell.js +1 -0
  271. package/dist/_app_/components/eui-table-row.js +1 -0
  272. package/dist/_app_/components/eui-table-sort-mobile-item.js +1 -0
  273. package/dist/_app_/components/eui-table-sort-mobile.js +1 -0
  274. package/dist/_app_/components/eui-table.js +1 -0
  275. package/dist/_app_/components/eui-text-diff.js +1 -0
  276. package/dist/_app_/components/eui-token.js +1 -0
  277. package/dist/_app_/components/eui-tour-step-indicator.js +1 -0
  278. package/dist/_app_/components/eui-tour-step.js +1 -0
  279. package/dist/_app_/components/eui-tour.js +1 -0
  280. package/dist/_app_/components/eui-tree-view.js +1 -0
  281. package/dist/components/eui-aspect-ratio.js +45 -0
  282. package/dist/components/eui-aspect-ratio.js.map +1 -0
  283. package/dist/components/eui-beacon.js +29 -0
  284. package/dist/components/eui-beacon.js.map +1 -0
  285. package/dist/components/eui-color-palette-display.js +67 -0
  286. package/dist/components/eui-color-palette-display.js.map +1 -0
  287. package/dist/components/eui-color-palette-picker.js +96 -0
  288. package/dist/components/eui-color-palette-picker.js.map +1 -0
  289. package/dist/components/eui-color-picker-swatch.js +51 -0
  290. package/dist/components/eui-color-picker-swatch.js.map +1 -0
  291. package/dist/components/eui-color-picker.js +529 -0
  292. package/dist/components/eui-color-picker.js.map +1 -0
  293. package/dist/components/eui-color-stops/thumb.js +278 -0
  294. package/dist/components/eui-color-stops/thumb.js.map +1 -0
  295. package/dist/components/eui-color-stops.js +405 -0
  296. package/dist/components/eui-color-stops.js.map +1 -0
  297. package/dist/components/eui-context-menu-item.js +7 -3
  298. package/dist/components/eui-context-menu-item.js.map +1 -1
  299. package/dist/components/eui-context-menu-panel.js +218 -7
  300. package/dist/components/eui-context-menu-panel.js.map +1 -1
  301. package/dist/components/eui-context-menu.js +254 -0
  302. package/dist/components/eui-context-menu.js.map +1 -0
  303. package/dist/components/eui-control-bar.js +241 -0
  304. package/dist/components/eui-control-bar.js.map +1 -0
  305. package/dist/components/eui-date-picker-range.js +42 -0
  306. package/dist/components/eui-date-picker-range.js.map +1 -0
  307. package/dist/components/eui-delay-hide.js +68 -0
  308. package/dist/components/eui-delay-hide.js.map +1 -0
  309. package/dist/components/eui-delay-render.js +38 -0
  310. package/dist/components/eui-delay-render.js.map +1 -0
  311. package/dist/components/eui-drag-drop-context.js +85 -0
  312. package/dist/components/eui-drag-drop-context.js.map +1 -0
  313. package/dist/components/eui-draggable.js +201 -0
  314. package/dist/components/eui-draggable.js.map +1 -0
  315. package/dist/components/eui-droppable.js +140 -0
  316. package/dist/components/eui-droppable.js.map +1 -0
  317. package/dist/components/eui-expression.js +88 -0
  318. package/dist/components/eui-expression.js.map +1 -0
  319. package/dist/components/eui-facet-button.js +66 -0
  320. package/dist/components/eui-facet-button.js.map +1 -0
  321. package/dist/components/eui-facet-group.js +41 -0
  322. package/dist/components/eui-facet-group.js.map +1 -0
  323. package/dist/components/eui-filter-button.js +106 -0
  324. package/dist/components/eui-filter-button.js.map +1 -0
  325. package/dist/components/eui-filter-group.js +20 -0
  326. package/dist/components/eui-filter-group.js.map +1 -0
  327. package/dist/components/eui-filter-select-item.js +58 -0
  328. package/dist/components/eui-filter-select-item.js.map +1 -0
  329. package/dist/components/eui-highlight.js +61 -0
  330. package/dist/components/eui-highlight.js.map +1 -0
  331. package/dist/components/eui-hue.js +57 -0
  332. package/dist/components/eui-hue.js.map +1 -0
  333. package/dist/components/eui-i18n-number.js +43 -0
  334. package/dist/components/eui-i18n-number.js.map +1 -0
  335. package/dist/components/eui-loading-chart.js +34 -0
  336. package/dist/components/eui-loading-chart.js.map +1 -0
  337. package/dist/components/eui-loading-elastic.js +34 -0
  338. package/dist/components/eui-loading-elastic.js.map +1 -0
  339. package/dist/components/eui-mark.js +17 -0
  340. package/dist/components/eui-mark.js.map +1 -0
  341. package/dist/components/eui-pinnable-list-group.js +102 -0
  342. package/dist/components/eui-pinnable-list-group.js.map +1 -0
  343. package/dist/components/eui-popover.js.map +1 -1
  344. package/dist/components/eui-refresh-interval.js +205 -0
  345. package/dist/components/eui-refresh-interval.js.map +1 -0
  346. package/dist/components/eui-resizable-container/button.js +87 -0
  347. package/dist/components/eui-resizable-container/button.js.map +1 -0
  348. package/dist/components/eui-resizable-container/collapse-button.js +36 -0
  349. package/dist/components/eui-resizable-container/collapse-button.js.map +1 -0
  350. package/dist/components/eui-resizable-container/panel.js +246 -0
  351. package/dist/components/eui-resizable-container/panel.js.map +1 -0
  352. package/dist/components/eui-resizable-container.js +306 -0
  353. package/dist/components/eui-resizable-container.js.map +1 -0
  354. package/dist/components/eui-saturation.js +197 -0
  355. package/dist/components/eui-saturation.js.map +1 -0
  356. package/dist/components/eui-screen-reader-only.js +25 -0
  357. package/dist/components/eui-screen-reader-only.js.map +1 -0
  358. package/dist/components/eui-selectable-list-item.js +131 -24
  359. package/dist/components/eui-selectable-list-item.js.map +1 -1
  360. package/dist/components/eui-selectable-list.js +169 -0
  361. package/dist/components/eui-selectable-list.js.map +1 -0
  362. package/dist/components/eui-selectable-message.js +27 -0
  363. package/dist/components/eui-selectable-message.js.map +1 -0
  364. package/dist/components/eui-selectable-search.js +54 -0
  365. package/dist/components/eui-selectable-search.js.map +1 -0
  366. package/dist/components/eui-selectable-template-sitewide.js +259 -0
  367. package/dist/components/eui-selectable-template-sitewide.js.map +1 -0
  368. package/dist/components/eui-selectable.js +334 -0
  369. package/dist/components/eui-selectable.js.map +1 -0
  370. package/dist/components/eui-skip-link.js +40 -0
  371. package/dist/components/eui-skip-link.js.map +1 -0
  372. package/dist/components/eui-suggest-input.js +140 -0
  373. package/dist/components/eui-suggest-input.js.map +1 -0
  374. package/dist/components/eui-suggest-item.js +59 -0
  375. package/dist/components/eui-suggest-item.js.map +1 -0
  376. package/dist/components/eui-suggest.js +89 -0
  377. package/dist/components/eui-suggest.js.map +1 -0
  378. package/dist/components/eui-super-date-picker/eui-quick-select-popover.js +12 -1
  379. package/dist/components/eui-super-date-picker/eui-quick-select-popover.js.map +1 -1
  380. package/dist/components/eui-super-date-picker.js +89 -42
  381. package/dist/components/eui-super-date-picker.js.map +1 -1
  382. package/dist/components/eui-super-select-control.js +111 -0
  383. package/dist/components/eui-super-select-control.js.map +1 -0
  384. package/dist/components/eui-super-select.js +202 -0
  385. package/dist/components/eui-super-select.js.map +1 -0
  386. package/dist/components/eui-table-body.js +14 -0
  387. package/dist/components/eui-table-body.js.map +1 -0
  388. package/dist/components/eui-table-footer-cell.js +23 -0
  389. package/dist/components/eui-table-footer-cell.js.map +1 -0
  390. package/dist/components/eui-table-footer.js +14 -0
  391. package/dist/components/eui-table-footer.js.map +1 -0
  392. package/dist/components/eui-table-header-button.js +34 -0
  393. package/dist/components/eui-table-header-button.js.map +1 -0
  394. package/dist/components/eui-table-header-cell-checkbox.js +25 -0
  395. package/dist/components/eui-table-header-cell-checkbox.js.map +1 -0
  396. package/dist/components/eui-table-header-cell.js +136 -0
  397. package/dist/components/eui-table-header-cell.js.map +1 -0
  398. package/dist/components/eui-table-header-mobile.js +17 -0
  399. package/dist/components/eui-table-header-mobile.js.map +1 -0
  400. package/dist/components/eui-table-header.js +26 -0
  401. package/dist/components/eui-table-header.js.map +1 -0
  402. package/dist/components/eui-table-pagination.js +129 -0
  403. package/dist/components/eui-table-pagination.js.map +1 -0
  404. package/dist/components/eui-table-row-cell-checkbox.js +16 -0
  405. package/dist/components/eui-table-row-cell-checkbox.js.map +1 -0
  406. package/dist/components/eui-table-row-cell.js +89 -0
  407. package/dist/components/eui-table-row-cell.js.map +1 -0
  408. package/dist/components/eui-table-row.js +62 -0
  409. package/dist/components/eui-table-row.js.map +1 -0
  410. package/dist/components/eui-table-sort-mobile-item.js +37 -0
  411. package/dist/components/eui-table-sort-mobile-item.js.map +1 -0
  412. package/dist/components/eui-table-sort-mobile.js +90 -0
  413. package/dist/components/eui-table-sort-mobile.js.map +1 -0
  414. package/dist/components/eui-table.js +29 -0
  415. package/dist/components/eui-table.js.map +1 -0
  416. package/dist/components/eui-text-diff.js +52 -0
  417. package/dist/components/eui-text-diff.js.map +1 -0
  418. package/dist/components/eui-token.js +74 -0
  419. package/dist/components/eui-token.js.map +1 -0
  420. package/dist/components/eui-tour-step-indicator.js +65 -0
  421. package/dist/components/eui-tour-step-indicator.js.map +1 -0
  422. package/dist/components/eui-tour-step.js +183 -0
  423. package/dist/components/eui-tour-step.js.map +1 -0
  424. package/dist/components/eui-tour.js +102 -0
  425. package/dist/components/eui-tour.js.map +1 -0
  426. package/dist/components/eui-tree-view.js +229 -0
  427. package/dist/components/eui-tree-view.js.map +1 -0
  428. package/dist/components.js +74 -0
  429. package/dist/components.js.map +1 -1
  430. package/dist/services/eui-i18n.js +18 -3
  431. package/dist/services/eui-i18n.js.map +1 -1
  432. package/dist/styles/ember-eui.css +24 -0
  433. package/dist/utils/drag-drop.js +43 -0
  434. package/dist/utils/drag-drop.js.map +1 -0
  435. package/dist/utils/token-map.js +217 -0
  436. package/dist/utils/token-map.js.map +1 -0
  437. package/package.json +69 -1
@@ -0,0 +1,110 @@
1
+ import Component from '@glimmer/component';
2
+ import type EuiI18n from '../services/eui-i18n';
3
+ import type { EuiBreadcrumb } from './eui-breadcrumbs';
4
+ import type { EuiIconSignature } from './eui-icon';
5
+ /** A control in the bar; `controlType` decides which. */
6
+ export type EuiControlBarControl = {
7
+ controlType: 'button';
8
+ id: string;
9
+ label: string;
10
+ onClick?: (event: MouseEvent) => void;
11
+ href?: string;
12
+ /** Any `EuiButton` color. Defaults to `'ghost'`. */
13
+ color?: string;
14
+ iconType?: EuiIconSignature['Args']['type'];
15
+ isDisabled?: boolean;
16
+ className?: string;
17
+ } | {
18
+ controlType: 'icon';
19
+ id: string;
20
+ iconType: EuiIconSignature['Args']['type'];
21
+ /** Makes it a button (with `href`, a link); otherwise a plain icon. */
22
+ onClick?: (event: MouseEvent) => void;
23
+ href?: string;
24
+ /** Accessible label; needed for icon buttons. */
25
+ 'aria-label'?: string;
26
+ /** Any `EuiButtonIcon` color. Defaults to `'ghost'`. */
27
+ color?: 'primary' | 'accent' | 'success' | 'warning' | 'danger' | 'ghost' | 'text';
28
+ className?: string;
29
+ } | {
30
+ controlType: 'tab';
31
+ id: string;
32
+ label: string;
33
+ /** Usually toggles `@showContent` and shows this tab's content. */
34
+ onClick: (event: MouseEvent) => void;
35
+ className?: string;
36
+ } | {
37
+ controlType: 'text';
38
+ id: string;
39
+ text: string;
40
+ className?: string;
41
+ } | {
42
+ controlType: 'breadcrumbs';
43
+ id: string;
44
+ breadcrumbs: EuiBreadcrumb[];
45
+ } | {
46
+ controlType: 'divider';
47
+ } | {
48
+ controlType: 'spacer';
49
+ };
50
+ /**
51
+ * A dark bar of controls at the bottom of the page (or of a container),
52
+ * e.g. an editor's toolbar or a code console: buttons, icons, text,
53
+ * breadcrumbs and tabs that open a content area above it.
54
+ */
55
+ export interface EuiControlBarSignature {
56
+ Element: HTMLElement;
57
+ Args: {
58
+ /** The controls, from left to right. */
59
+ controls: EuiControlBarControl[];
60
+ /** Shows the content (the default block) above the controls. */
61
+ showContent?: boolean;
62
+ /** Height of the content area: `'s'`, `'m'` or `'l'`. Defaults to `'l'`. */
63
+ size?: 's' | 'm' | 'l';
64
+ /**
65
+ * `'fixed'` (bottom of the window, rendered at the end of `<body>`),
66
+ * `'absolute'` or `'relative'` (inside a positioned container).
67
+ * Defaults to `'fixed'`.
68
+ */
69
+ position?: 'fixed' | 'absolute' | 'relative';
70
+ /** Space on the left, e.g. for a side navigation. Defaults to `0`. */
71
+ leftOffset?: number | string;
72
+ /** Space on the right. Defaults to `0`. */
73
+ rightOffset?: number | string;
74
+ /** Maximum height of the bar with its content. */
75
+ maxHeight?: number | string;
76
+ /** Keeps the bar on small screens (hidden there by default). */
77
+ showOnMobile?: boolean;
78
+ /** Class added to `<body>` while a fixed bar is shown. */
79
+ bodyClassName?: string;
80
+ /** Accessible name of the bar's region. Defaults to "Page level controls". */
81
+ landmarkHeading?: string;
82
+ };
83
+ Blocks: {
84
+ /** Content shown above the controls while `@showContent`. */
85
+ default: [];
86
+ };
87
+ }
88
+ export default class EuiControlBar extends Component<EuiControlBarSignature> {
89
+ euiI18n: EuiI18n;
90
+ selectedTab?: string;
91
+ get position(): string;
92
+ get isFixed(): boolean;
93
+ get classes(): string;
94
+ get heading(): string;
95
+ get announcement(): string;
96
+ tabClasses: (id: string, className?: string) => string;
97
+ onTabClick(control: {
98
+ id: string;
99
+ onClick: (event: MouseEvent) => void;
100
+ }, event: MouseEvent): void;
101
+ /** A fixed bar pads the bottom of `<body>` by its height while shown. */
102
+ padBody: import("ember-modifier").FunctionBasedModifier<{
103
+ Args: {
104
+ Positional: [boolean, string | undefined];
105
+ Named: import("ember-modifier/-private/signature.js").EmptyObject;
106
+ };
107
+ Element: HTMLElement;
108
+ }>;
109
+ }
110
+ //# sourceMappingURL=eui-control-bar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-control-bar.d.ts","sourceRoot":"","sources":["../../src/components/eui-control-bar.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAiB3C,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAGnD,yDAAyD;AACzD,MAAM,MAAM,oBAAoB,GAC5B;IACE,WAAW,EAAE,QAAQ,CAAC;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,oDAAoD;IACpD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;IAC5C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GACD;IACE,WAAW,EAAE,MAAM,C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AAG,GAAG,GAAG,CAAC;QACvB;;;;WAIG;QACH,QAAQ,CAAC,EAAE,OAAO,GAAG,UAAU,GAAG,UAAU,CAAC;QAC7C,sEAAsE;QACtE,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QAC7B,2CAA2C;QAC3C,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QAC9B,kDAAkD;QAClD,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QAC5B,gEAAgE;QAChE,YAAY,CAAC,EAAE,OAAO,CAAC;QACvB,0DAA0D;QAC1D,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,8EAA8E;QAC9E,eAAe,CAAC,EAAE,MAAM,CAAC;KAC1B,CAAC;IACF,MAAM,EAAE;QACN,6DAA6D;QAC7D,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,SAAS,CAAC,sBAAsB,CAAC;IACzD,OAAO,EAAE,OAAO,CAAC;IAEzB,WAAW,CAAC,EAAE,MAAM,CAAC;IAE9B,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,IAAI,OAAO,IAAI,MAAM,CAYpB;IAED,IAAI,OAAO,IAAI,MAAM,CAKpB;IAED,IAAI,YAAY,IAAI,MAAM,CAWzB;IAED,UAAU,OAAQ,MAAM,cAAc,MAAM,KAAG,MAAM,CAOtC;IAGf,UAAU,CAAC,OAAO,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAA;KAAE,EAAE,KAAK,EAAE,UAAU,GAAG,IAAI;IAKlG,yEAAyE;IACzE,OAAO;;;;;;OAUJ;CAwIJ"}
@@ -0,0 +1,28 @@
1
+ import type { TemplateOnlyComponent } from '@ember/component/template-only';
2
+ /**
3
+ * Two date inputs joined in one field with an arrow between them, for a
4
+ * start and end date. It only does the layout: put any date input in the
5
+ * blocks (`EuiPikaday`, `EuiFlatpickr`, or `<EuiFieldText type="date">`),
6
+ * rendered without their own frame (`@controlOnly={{true}}`) and with the
7
+ * class each block yields.
8
+ */
9
+ export interface EuiDatePickerRangeSignature {
10
+ Element: HTMLDivElement;
11
+ Args: {
12
+ /** Takes the container's full width instead of 400px at most. */
13
+ fullWidth?: boolean;
14
+ /** Read-only look. */
15
+ readOnly?: boolean;
16
+ };
17
+ Blocks: {
18
+ /** The start input; yields the classes to give it. */
19
+ start: [className: string];
20
+ /** The end input; yields the classes to give it. */
21
+ end: [className: string];
22
+ /** Anything else, instead of the start and end blocks. */
23
+ default: [];
24
+ };
25
+ }
26
+ declare const EuiDatePickerRange: TemplateOnlyComponent<EuiDatePickerRangeSignature>;
27
+ export default EuiDatePickerRange;
28
+ //# sourceMappingURL=eui-date-picker-range.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-date-picker-range.d.ts","sourceRoot":"","sources":["../../src/components/eui-date-picker-range.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAK5E;;;;;;GAMG;AACH,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QACJ,iEAAiE;QACjE,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,sBAAsB;QACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB,CAAC;IACF,MAAM,EAAE;QACN,sDAAsD;QACtD,KAAK,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;QAC3B,oDAAoD;QACpD,GAAG,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;QACzB,0DAA0D;QAC1D,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,QAAA,MAAM,kBAAkB,EAAE,qBAAqB,CAAC,2BAA2B,CA4BzE,CAAC;AAEH,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,21 @@
1
+ import type { TemplateOnlyComponent } from '@ember/component/template-only';
2
+ /**
3
+ * Keeps its content shown for a minimum time once it appears, even if
4
+ * `@hide` becomes true sooner, e.g. so a fast loading indicator does not
5
+ * flash.
6
+ */
7
+ export interface EuiDelayHideSignature {
8
+ Args: {
9
+ /** Hides the content (once it has been shown for the minimum time). */
10
+ hide?: boolean;
11
+ /** Milliseconds the content stays at least. Defaults to `1000`. */
12
+ minimumDuration?: number;
13
+ };
14
+ Blocks: {
15
+ /** The content. */
16
+ default: [];
17
+ };
18
+ }
19
+ declare const EuiDelayHide: TemplateOnlyComponent<EuiDelayHideSignature>;
20
+ export default EuiDelayHide;
21
+ //# sourceMappingURL=eui-delay-hide.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-delay-hide.d.ts","sourceRoot":"","sources":["../../src/components/eui-delay-hide.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE;QACJ,uEAAuE;QACvE,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,mEAAmE;QACnE,eAAe,CAAC,EAAE,MAAM,CAAC;KAC1B,CAAC;IACF,MAAM,EAAE;QACN,mBAAmB;QACnB,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAwCD,QAAA,MAAM,YAAY,EAAE,qBAAqB,CAAC,qBAAqB,CAK7D,CAAC;AAEH,eAAe,YAAY,CAAC"}
@@ -0,0 +1,21 @@
1
+ import Component from '@glimmer/component';
2
+ import type Owner from '@ember/owner';
3
+ /**
4
+ * Renders its content only after a delay, e.g. a loading indicator that
5
+ * should not flash when loading is fast.
6
+ */
7
+ export interface EuiDelayRenderSignature {
8
+ Args: {
9
+ /** Milliseconds to wait before rendering. Defaults to `500`. */
10
+ delay?: number;
11
+ };
12
+ Blocks: {
13
+ /** Rendered once the delay has passed. */
14
+ default: [];
15
+ };
16
+ }
17
+ export default class EuiDelayRender extends Component<EuiDelayRenderSignature> {
18
+ isVisible: boolean;
19
+ constructor(owner: Owner, args: EuiDelayRenderSignature['Args']);
20
+ }
21
+ //# sourceMappingURL=eui-delay-render.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-delay-render.d.ts","sourceRoot":"","sources":["../../src/components/eui-delay-render.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAK3C,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAEtC;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE;QACJ,gEAAgE;QAChE,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,MAAM,EAAE;QACN,0CAA0C;QAC1C,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,SAAS,CAAC,uBAAuB,CAAC;IACnE,SAAS,UAAS;gBAEf,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,uBAAuB,CAAC,MAAM,CAAC;CAchE"}
@@ -0,0 +1,66 @@
1
+ import Component from '@glimmer/component';
2
+ import type { DraggableLocation } from '../utils/drag-drop.ts';
3
+ import type { EuiDroppableSignature } from './eui-droppable';
4
+ import type { ComponentLike } from '@glint/template';
5
+ export type { DraggableLocation };
6
+ /** What `@onDragStart` gets. */
7
+ export interface DragStart {
8
+ draggableId: string;
9
+ type: string;
10
+ source: DraggableLocation;
11
+ }
12
+ /** What `@onDragEnd` gets: `destination` is `null` when dropped outside a list. */
13
+ export interface DropResult extends DragStart {
14
+ destination: DraggableLocation | null;
15
+ /** `'DROP'` or `'CANCEL'` (Escape, or dropped outside). */
16
+ reason: 'DROP' | 'CANCEL';
17
+ }
18
+ /** The drag in progress. */
19
+ export interface DragState extends DragStart {
20
+ destination: DraggableLocation | null;
21
+ /** Size of the dragged item along the list, in px. */
22
+ size: number;
23
+ /** Moved with the keyboard (the item itself moves). */
24
+ isKeyboard: boolean;
25
+ /** The source list keeps its items (`@cloneDraggables`). */
26
+ isClone: boolean;
27
+ /** Increases with each drag, so lists measure their items once per drag. */
28
+ session: number;
29
+ }
30
+ /**
31
+ * Wraps lists whose items can be dragged to reorder them or to move them
32
+ * between lists. It yields `{ Droppable }`; each droppable yields its
33
+ * `Draggable`. You own the lists: update them in `@onDragEnd`, e.g. with
34
+ * `euiDragDropReorder` from `@ember-eui/core/utils/drag-drop`.
35
+ */
36
+ export interface EuiDragDropContextSignature {
37
+ Args: {
38
+ /** Called with the result when an item is dropped (or the drag cancelled). */
39
+ onDragEnd: (result: DropResult) => void;
40
+ /** Called when a drag starts. */
41
+ onDragStart?: (start: DragStart) => void;
42
+ /** Called when the destination changes during a drag. */
43
+ onDragUpdate?: (update: DropResult) => void;
44
+ };
45
+ Blocks: {
46
+ default: [
47
+ {
48
+ /** A list items can be dropped in; see `EuiDroppable`. */
49
+ Droppable: ComponentLike<{
50
+ Element: HTMLDivElement;
51
+ Args: Omit<EuiDroppableSignature['Args'], 'context'>;
52
+ Blocks: EuiDroppableSignature['Blocks'];
53
+ }>;
54
+ }
55
+ ];
56
+ };
57
+ }
58
+ export default class EuiDragDropContext extends Component<EuiDragDropContextSignature> {
59
+ drag: DragState | null;
60
+ session: number;
61
+ start(drag: Omit<DragState, 'destination' | 'session'>): void;
62
+ setDestination(destination: DraggableLocation | null): void;
63
+ end(reason: 'DROP' | 'CANCEL'): void;
64
+ result(drag: DragState, reason: 'DROP' | 'CANCEL'): DropResult;
65
+ }
66
+ //# sourceMappingURL=eui-drag-drop-context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-drag-drop-context.d.ts","sourceRoot":"","sources":["../../src/components/eui-drag-drop-context.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAM3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;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AS,CAAC,CAAC;oBACrD,MAAM,EAAE,qBAAqB,CAAC,QAAQ,CAAC,CAAC;iBACzC,CAAC,CAAC;aACJ;SACF,CAAC;KACH,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,SAAS,CAAC,2BAA2B,CAAC;IAC3E,IAAI,EAAE,SAAS,GAAG,IAAI,CAAQ;IAEvC,OAAO,SAAK;IAEZ,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,SAAS,EAAE,aAAa,GAAG,SAAS,CAAC,GAAG,IAAI;IAS7D,cAAc,CAAC,WAAW,EAAE,iBAAiB,GAAG,IAAI,GAAG,IAAI;IAe3D,GAAG,CAAC,MAAM,EAAE,MAAM,GAAG,QAAQ,GAAG,IAAI;IASpC,MAAM,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,GAAG,QAAQ,GAAG,UAAU;CAgB/D"}
@@ -0,0 +1,76 @@
1
+ import Component from '@glimmer/component';
2
+ import type EuiDroppable from './eui-droppable.gts';
3
+ /**
4
+ * An item of an `EuiDroppable` list (yielded as `Draggable`). Drag it with
5
+ * the mouse, or focus it and press Space to lift it, the arrow keys to
6
+ * move it and Space again to drop it (Escape cancels).
7
+ */
8
+ export interface EuiDraggableSignature {
9
+ Element: HTMLDivElement;
10
+ Args: {
11
+ /** Unique id of the item, reported in `onDragEnd`. */
12
+ draggableId: string;
13
+ /** Position of the item in its list. */
14
+ index: number;
15
+ /** The item cannot be dragged. */
16
+ isDragDisabled?: boolean;
17
+ /**
18
+ * Only a handle drags the item: put the yielded `dragHandle` modifier
19
+ * on it, e.g. `<EuiIcon @type="grab" {{item.dragHandle}} />`.
20
+ */
21
+ customDragHandle?: boolean;
22
+ /** Skips the drop animation, e.g. for items removed on drop. */
23
+ isRemovable?: boolean;
24
+ /** Padding: `'none'`, `'s'`, `'m'` or `'l'`. Defaults to `'none'`. */
25
+ spacing?: 'none' | 's' | 'm' | 'l';
26
+ /** @private The list, set by `EuiDroppable`. */
27
+ droppable: EuiDroppable;
28
+ };
29
+ Blocks: {
30
+ /**
31
+ * The item's content (one element, which gets the item classes);
32
+ * yields `{ isDragging, dragHandle }`.
33
+ */
34
+ default: [
35
+ {
36
+ isDragging: boolean;
37
+ dragHandle: EuiDraggable['dragHandle'];
38
+ }
39
+ ];
40
+ };
41
+ }
42
+ export default class EuiDraggable extends Component<EuiDraggableSignature> {
43
+ handleActive: boolean;
44
+ registeredElement?: HTMLElement;
45
+ get droppable(): EuiDroppable;
46
+ get drag(): import("./eui-drag-drop-context.ts").DragState | null;
47
+ get isDragging(): boolean;
48
+ get isClone(): boolean;
49
+ get classes(): string;
50
+ get itemClasses(): string;
51
+ get isDraggable(): boolean;
52
+ /** How far the item slides to make room for the dragged one, in px. */
53
+ get offset(): number;
54
+ get style(): import("@ember/template/-private/handlebars").SafeString | undefined;
55
+ size(): number;
56
+ start(isKeyboard: boolean): void;
57
+ onDragStart(event: DragEvent): void;
58
+ onDragEnd(): void;
59
+ onKeyDown(event: KeyboardEvent): void;
60
+ register: import("ember-modifier").FunctionBasedModifier<{
61
+ Args: {
62
+ Positional: unknown[];
63
+ Named: import("ember-modifier/-private/signature.js").EmptyObject;
64
+ };
65
+ Element: HTMLElement;
66
+ }>;
67
+ /** For `@customDragHandle`: only a press on the handle makes the item draggable. */
68
+ dragHandle: import("ember-modifier").FunctionBasedModifier<{
69
+ Args: {
70
+ Positional: unknown[];
71
+ Named: import("ember-modifier/-private/signature.js").EmptyObject;
72
+ };
73
+ Element: HTMLElement;
74
+ }>;
75
+ }
76
+ //# sourceMappingURL=eui-draggable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-draggable.d.ts","sourceRoot":"","sources":["../../src/components/eui-draggable.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAW3C,OAAO,KAAK,YAAY,MAAM,qBAAqB,CAAC;AASpD;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,O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C,QAAQ;;;;;;OAEL;IAEH,oFAAoF;IACpF,UAAU;;;;;;OAWP;CAkCJ"}
@@ -0,0 +1,86 @@
1
+ import Component from '@glimmer/component';
2
+ import type EuiDragDropContext from './eui-drag-drop-context.gts';
3
+ import type { EuiDraggableSignature } from './eui-draggable';
4
+ import type { ComponentLike } from '@glint/template';
5
+ /**
6
+ * A list items can be dragged within and dropped into (yielded as
7
+ * `Droppable` by `EuiDragDropContext`). It yields `{ Draggable }` for its
8
+ * items.
9
+ */
10
+ export interface EuiDroppableSignature {
11
+ Element: HTMLDivElement;
12
+ Args: {
13
+ /** Unique id of the list, reported in `onDragEnd`. */
14
+ droppableId: string;
15
+ /**
16
+ * Items can only move between lists of the same type. Defaults to
17
+ * `'EUI_DEFAULT'`.
18
+ */
19
+ type?: string;
20
+ /** `'vertical'` or `'horizontal'` list. Defaults to `'vertical'`. */
21
+ direction?: 'vertical' | 'horizontal';
22
+ /** Nothing can be dropped here. */
23
+ isDropDisabled?: boolean;
24
+ /**
25
+ * Items dragged from here are copies: the list keeps its items (and
26
+ * nothing can be dropped here).
27
+ */
28
+ cloneDraggables?: boolean;
29
+ /** Padding: `'none'`, `'s'`, `'m'` or `'l'`. Defaults to `'none'`. */
30
+ spacing?: 'none' | 's' | 'm' | 'l';
31
+ /** Panel look (background, padding, rounded corners). */
32
+ withPanel?: boolean;
33
+ /** Grows to fill its flex container. */
34
+ grow?: boolean;
35
+ /** @private The context, set by `EuiDragDropContext`. */
36
+ context: EuiDragDropContext;
37
+ };
38
+ Blocks: {
39
+ default: [
40
+ {
41
+ /** An item of this list; see `EuiDraggable`. */
42
+ Draggable: ComponentLike<{
43
+ Element: HTMLDivElement;
44
+ Args: Omit<EuiDraggableSignature['Args'], 'droppable'>;
45
+ Blocks: EuiDraggableSignature['Blocks'];
46
+ }>;
47
+ }
48
+ ];
49
+ };
50
+ }
51
+ interface Slot {
52
+ start: number;
53
+ end: number;
54
+ draggableId: string;
55
+ }
56
+ export default class EuiDroppable extends Component<EuiDroppableSignature> {
57
+ registeredElement?: HTMLElement;
58
+ slots?: Slot[];
59
+ slotsSession?: number;
60
+ get type(): string;
61
+ get isHorizontal(): boolean;
62
+ get isDropDisabled(): boolean;
63
+ get context(): EuiDragDropContext;
64
+ get isDraggingOver(): boolean;
65
+ get classes(): string;
66
+ /** Whether the drag in progress may be dropped here. */
67
+ get accepts(): boolean;
68
+ /** The list's items in order. */
69
+ items(): HTMLElement[];
70
+ count(): number;
71
+ measure(): Slot[];
72
+ /** Index in the final list for a pointer position. */
73
+ indexAt(position: number): number;
74
+ onDragOver(event: DragEvent): void;
75
+ onDragLeave(event: DragEvent): void;
76
+ onDrop(event: DragEvent): void;
77
+ register: import("ember-modifier").FunctionBasedModifier<{
78
+ Args: {
79
+ Positional: unknown[];
80
+ Named: import("ember-modifier/-private/signature.js").EmptyObject;
81
+ };
82
+ Element: HTMLElement;
83
+ }>;
84
+ }
85
+ export {};
86
+ //# sourceMappingURL=eui-droppable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-droppable.d.ts","sourceRoot":"","sources":["../../src/components/eui-droppable.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAS3C,OAAO,KAAK,kBAAkB,MAAM,6BAA6B,CAAC;AAClE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AASrD;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QACJ,sDAAsD;QACtD,WAAW,EAAE,MAAM,CAAC;QACpB;;;WAGG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,qEAAqE;QACrE,SAAS,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;QACtC,mCAAmC;QACnC,cAAc,CAAC,EAAE,OAAO,CAAC;QACzB;;;WAGG;QACH,eA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,IAAI,EAAE;IAYjB,sDAAsD;IACtD,OAAO,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM;IAejC,UAAU,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;IAWlC,WAAW,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;IASnC,MAAM,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;IAO9B,QAAQ;;;;;;OAEL;CAqBJ"}
@@ -0,0 +1,46 @@
1
+ import type { TemplateOnlyComponent } from '@ember/component/template-only';
2
+ /**
3
+ * One part of a sentence-like query or rule, e.g. **WHEN** `avg()` or
4
+ * **IS ABOVE** `100`: a description and a value. With `@onClick` it is a
5
+ * button, usually opening a popover to edit the value.
6
+ */
7
+ export interface EuiExpressionSignature {
8
+ Element: HTMLButtonElement | HTMLSpanElement;
9
+ Args: {
10
+ /** First part, e.g. "when". Use the `<:description>` block for markup. */
11
+ description?: string;
12
+ /** Second part, e.g. "avg()". Use the `<:value>` block for markup. */
13
+ value?: string;
14
+ /**
15
+ * Color of the description: `'subdued'`, `'primary'`, `'success'`,
16
+ * `'accent'`, `'warning'` or `'danger'`. Defaults to `'success'`.
17
+ */
18
+ color?: 'subdued' | 'primary' | 'success' | 'accent' | 'warning' | 'danger';
19
+ /** Uppercases the description. Defaults to `true`. */
20
+ uppercase?: boolean;
21
+ /** Solid underline, e.g. while its popover is open. */
22
+ isActive?: boolean;
23
+ /** Shows it in danger color with an alert icon. */
24
+ isInvalid?: boolean;
25
+ /** Makes it a `<button>` with a dashed underline. */
26
+ onClick?: (event: MouseEvent) => void;
27
+ /**
28
+ * `'inline'` (in a sentence) or `'columns'` (description and value in
29
+ * two columns, to stack several). Defaults to `'inline'`.
30
+ */
31
+ display?: 'inline' | 'columns';
32
+ /** Width of the description in columns display. Defaults to `'20%'`. */
33
+ descriptionWidth?: number | string;
34
+ /** `'break-word'` or `'truncate'` long values. Defaults to `'break-word'`. */
35
+ textWrap?: 'break-word' | 'truncate';
36
+ };
37
+ Blocks: {
38
+ /** Markup for the description, instead of `@description`. */
39
+ description: [];
40
+ /** Markup for the value, instead of `@value`. */
41
+ value: [];
42
+ };
43
+ }
44
+ declare const EuiExpression: TemplateOnlyComponent<EuiExpressionSignature>;
45
+ export default EuiExpression;
46
+ //# sourceMappingURL=eui-expression.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-expression.d.ts","sourceRoot":"","sources":["../../src/components/eui-expression.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAW5E;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,iBAAiB,GAAG,eAAe,CAAC;IAC7C,IAAI,EAAE;QACJ,0EAA0E;QAC1E,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,sEAAsE;QACtE,KAAK,CAAC,EAAE,MAAM,CAAC;QACf;;;WAGG;QACH,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC;QAC5E,sDAAsD;QACtD,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,uDAAuD;QACvD,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,mDAAmD;QACnD,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,qDAAqD;QACrD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;QACtC;;;WAGG;QACH,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;QAC/B,wEAAwE;QACxE,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACnC,8EAA8E;QAC9E,QAAQ,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;KACtC,CAAC;IACF,MAAM,EAAE;QACN,6DAA6D;QAC7D,WAAW,EAAE,EAAE,CAAC;QAChB,iDAAiD;QACjD,KAAK,EAAE,EAAE,CAAC;KACX,CAAC;CACH;AA0BD,QAAA,MAAM,aAAa,EAAE,qBAAqB,CAAC,sBAAsB,CA+D/D,CAAC;AAMH,eAAe,aAAa,CAAC"}
@@ -0,0 +1,30 @@
1
+ import type { TemplateOnlyComponent } from '@ember/component/template-only';
2
+ /**
3
+ * A button to filter by one value (a facet), usually with the number of
4
+ * matching items. Put several in an `EuiFacetGroup`.
5
+ */
6
+ export interface EuiFacetButtonSignature {
7
+ Element: HTMLButtonElement;
8
+ Args: {
9
+ /** Number of matching items, shown in a badge. */
10
+ quantity?: number;
11
+ /** Selected look: bold text and an accent badge. */
12
+ isSelected?: boolean;
13
+ /** Disables the button. */
14
+ isDisabled?: boolean;
15
+ /** Replaces the quantity with a spinner and disables the button. */
16
+ isLoading?: boolean;
17
+ };
18
+ Blocks: {
19
+ /** The facet's name. */
20
+ default: [];
21
+ /**
22
+ * An icon or avatar before the name; give it the class
23
+ * `euiFacetButton__icon`, e.g. `<EuiIcon class="euiFacetButton__icon" … />`.
24
+ */
25
+ icon: [];
26
+ };
27
+ }
28
+ declare const EuiFacetButton: TemplateOnlyComponent<EuiFacetButtonSignature>;
29
+ export default EuiFacetButton;
30
+ //# sourceMappingURL=eui-facet-button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-facet-button.d.ts","sourceRoot":"","sources":["../../src/components/eui-facet-button.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,iBAAiB,CAAC;IAC3B,IAAI,EAAE;QACJ,kDAAkD;QAClD,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,oDAAoD;QACpD,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,2BAA2B;QAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,oEAAoE;QACpE,SAAS,CAAC,EAAE,OAAO,CAAC;KACrB,CAAC;IACF,MAAM,EAAE;QACN,wBAAwB;QACxB,OAAO,EAAE,EAAE,CAAC;QACZ;;;WAGG;QACH,IAAI,EAAE,EAAE,CAAC;KACV,CAAC;CACH;AAUD,QAAA,MAAM,cAAc,EAAE,qBAAqB,CAAC,uBAAuB,CA0DjE,CAAC;AAMH,eAAe,cAAc,CAAC"}
@@ -0,0 +1,21 @@
1
+ import type { TemplateOnlyComponent } from '@ember/component/template-only';
2
+ /** Lays out `EuiFacetButton`s in a column or in wrapping rows. */
3
+ export interface EuiFacetGroupSignature {
4
+ Element: HTMLDivElement | HTMLSpanElement;
5
+ Args: {
6
+ /**
7
+ * `'vertical'` (a column) or `'horizontal'` (wrapping rows).
8
+ * Defaults to `'vertical'`.
9
+ */
10
+ layout?: 'vertical' | 'horizontal';
11
+ /** Space between buttons: `'none'`, `'s'`, `'m'` or `'l'`. Defaults to `'m'`. */
12
+ gutterSize?: 'none' | 's' | 'm' | 'l';
13
+ };
14
+ Blocks: {
15
+ /** The `EuiFacetButton`s. */
16
+ default: [];
17
+ };
18
+ }
19
+ declare const EuiFacetGroup: TemplateOnlyComponent<EuiFacetGroupSignature>;
20
+ export default EuiFacetGroup;
21
+ //# sourceMappingURL=eui-facet-group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-facet-group.d.ts","sourceRoot":"","sources":["../../src/components/eui-facet-group.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAS5E,kEAAkE;AAClE,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,cAAc,GAAG,eAAe,CAAC;IAC1C,IAAI,EAAE;QACJ;;;WAGG;QACH,MAAM,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;QACnC,iFAAiF;QACjF,UAAU,CAAC,EAAE,MAAM,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;KACvC,CAAC;IACF,MAAM,EAAE;QACN,6BAA6B;QAC7B,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAUD,QAAA,MAAM,aAAa,EAAE,qBAAqB,CAAC,sBAAsB,CAc/D,CAAC;AAEH,eAAe,aAAa,CAAC"}
@@ -0,0 +1,54 @@
1
+ import Component from '@glimmer/component';
2
+ import type EuiI18n from '../services/eui-i18n';
3
+ import type { EuiButtonEmptySignature } from './eui-button-empty';
4
+ /**
5
+ * A button in an `EuiFilterGroup`: a toggle ("On", "Off"), or the anchor
6
+ * of a popover listing filter options, with the number of options or of
7
+ * active filters.
8
+ */
9
+ export interface EuiFilterButtonSignature {
10
+ Element: EuiButtonEmptySignature['Element'];
11
+ Args: {
12
+ /** Icon, e.g. `'arrowDown'` for a button opening a popover. */
13
+ iconType?: EuiButtonEmptySignature['Args']['iconType'];
14
+ /** `'left'` or `'right'` of the text. Defaults to `'right'`. */
15
+ iconSide?: 'left' | 'right';
16
+ /** Text color, any `EuiButtonEmpty` color. Defaults to `'text'`. */
17
+ color?: EuiButtonEmptySignature['Args']['color'];
18
+ /** Pressed look, e.g. while its popover is open or a toggle is on. */
19
+ isSelected?: boolean;
20
+ /** Bold text and an accent badge: some of its filters are applied. */
21
+ hasActiveFilters?: boolean;
22
+ /** Number of available filters, shown in a badge. */
23
+ numFilters?: number;
24
+ /** Number of applied filters, shown instead of `@numFilters` when above 0. */
25
+ numActiveFilters?: number;
26
+ /** Disables the button. */
27
+ isDisabled?: boolean;
28
+ /** Grows to fill the group. Defaults to `true`. */
29
+ grow?: boolean;
30
+ /**
31
+ * Removes the divider after it, to join it with the next button
32
+ * (e.g. "On" and "Off" toggles).
33
+ */
34
+ withNext?: boolean;
35
+ /** Same as `@withNext`. */
36
+ noDivider?: boolean;
37
+ /** `type` of the `<button>`. Defaults to `'button'`. */
38
+ type?: string;
39
+ };
40
+ Blocks: {
41
+ /** The button text. */
42
+ default: [];
43
+ };
44
+ }
45
+ export default class EuiFilterButton extends Component<EuiFilterButtonSignature> {
46
+ euiI18n: EuiI18n;
47
+ get hasNumFilters(): boolean;
48
+ get badgeCount(): number | undefined;
49
+ get showBadge(): boolean;
50
+ get badgeLabel(): string;
51
+ get classes(): string;
52
+ get textClasses(): string | undefined;
53
+ }
54
+ //# sourceMappingURL=eui-filter-button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-filter-button.d.ts","sourceRoot":"","sources":["../../src/components/eui-filter-button.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAQ3C,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAElE;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAC;IAC5C,IAAI,EAAE;QACJ,+DAA+D;QAC/D,QAAQ,CAAC,EAAE,uBAAuB,CAAC,MAAM,CAAC,CAAC,UAAU,CAAC,CAAC;QACvD,gEAAgE;QAChE,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;QAC5B,oEAAoE;QACpE,KAAK,CAAC,EAAE,uBAAuB,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC;QACjD,sEAAsE;QACtE,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,sEAAsE;QACtE,gBAAgB,CAAC,EAAE,OAAO,CAAC;QAC3B,qDAAqD;QACrD,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,8EAA8E;QAC9E,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,2BAA2B;QAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,mDAAmD;QACnD,IAAI,CAAC,EAAE,OAAO,CAAC;QACf;;;WAGG;QACH,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,2BAA2B;QAC3B,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,wDAAwD;QACxD,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;IACF,MAAM,EAAE;QACN,uBAAuB;QACvB,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,SAAS,CAAC,wBAAwB,CAAC;IAC7D,OAAO,EAAE,OAAO,CAAC;IAElC,IAAI,aAAa,IAAI,OAAO,CAE3B;IAED,IAAI,UAAU,IAAI,MAAM,GAAG,SAAS,CAEnC;IAED,IAAI,SAAS,IAAI,OAAO,CAEvB;IAED,IAAI,UAAU,IAAI,MAAM,CAYvB;IAED,IAAI,OAAO,IAAI,MAAM,CAcpB;IAED,IAAI,WAAW,IAAI,MAAM,GAAG,SAAS,CAIpC;CAgDF"}
@@ -0,0 +1,19 @@
1
+ import type { TemplateOnlyComponent } from '@ember/component/template-only';
2
+ /**
3
+ * A bar of `EuiFilterButton`s joined in one bordered group, usually next
4
+ * to a search field, e.g. "On / Off" toggles and a "Status" popover.
5
+ */
6
+ export interface EuiFilterGroupSignature {
7
+ Element: HTMLDivElement;
8
+ Args: {
9
+ /** Takes the container's full width instead of its content's. */
10
+ fullWidth?: boolean;
11
+ };
12
+ Blocks: {
13
+ /** The `EuiFilterButton`s (and popovers anchored on them). */
14
+ default: [];
15
+ };
16
+ }
17
+ declare const EuiFilterGroup: TemplateOnlyComponent<EuiFilterGroupSignature>;
18
+ export default EuiFilterGroup;
19
+ //# sourceMappingURL=eui-filter-group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eui-filter-group.d.ts","sourceRoot":"","sources":["../../src/components/eui-filter-group.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QACJ,iEAAiE;QACjE,SAAS,CAAC,EAAE,OAAO,CAAC;KACrB,CAAC;IACF,MAAM,EAAE;QACN,8DAA8D;QAC9D,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED,QAAA,MAAM,cAAc,EAAE,qBAAqB,CAAC,uBAAuB,CAUjE,CAAC;AAEH,eAAe,cAAc,CAAC"}