@ember-eui/core 9.0.1 → 10.0.1

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 (1180) hide show
  1. package/dist/components/eui-accordion.js +74 -218
  2. package/dist/components/eui-accordion.js.map +1 -1
  3. package/dist/components/eui-auto-sizer.js +68 -84
  4. package/dist/components/eui-auto-sizer.js.map +1 -1
  5. package/dist/components/eui-avatar.js +5 -56
  6. package/dist/components/eui-avatar.js.map +1 -1
  7. package/dist/components/eui-badge-group.js +7 -21
  8. package/dist/components/eui-badge-group.js.map +1 -1
  9. package/dist/components/eui-badge.js +5 -159
  10. package/dist/components/eui-badge.js.map +1 -1
  11. package/dist/components/eui-beta-badge.js +5 -177
  12. package/dist/components/eui-beta-badge.js.map +1 -1
  13. package/dist/components/eui-bottom-bar.js +34 -101
  14. package/dist/components/eui-bottom-bar.js.map +1 -1
  15. package/dist/components/eui-breadcrumbs.js +78 -183
  16. package/dist/components/eui-breadcrumbs.js.map +1 -1
  17. package/dist/components/eui-button-content.js +5 -33
  18. package/dist/components/eui-button-content.js.map +1 -1
  19. package/dist/components/eui-button-empty.js +5 -67
  20. package/dist/components/eui-button-empty.js.map +1 -1
  21. package/dist/components/eui-button-group-button.js +5 -65
  22. package/dist/components/eui-button-group-button.js.map +1 -1
  23. package/dist/components/eui-button-group.js +5 -74
  24. package/dist/components/eui-button-group.js.map +1 -1
  25. package/dist/components/eui-button-icon.js +5 -60
  26. package/dist/components/eui-button-icon.js.map +1 -1
  27. package/dist/components/eui-button.js +5 -52
  28. package/dist/components/eui-button.js.map +1 -1
  29. package/dist/components/eui-call-out.js +5 -50
  30. package/dist/components/eui-call-out.js.map +1 -1
  31. package/dist/components/eui-card-select.js +22 -48
  32. package/dist/components/eui-card-select.js.map +1 -1
  33. package/dist/components/eui-card.js +41 -198
  34. package/dist/components/eui-card.js.map +1 -1
  35. package/dist/components/eui-checkable-card.js +5 -67
  36. package/dist/components/eui-checkable-card.js.map +1 -1
  37. package/dist/components/eui-checkbox-group.js +5 -52
  38. package/dist/components/eui-checkbox-group.js.map +1 -1
  39. package/dist/components/eui-checkbox.js +8 -53
  40. package/dist/components/eui-checkbox.js.map +1 -1
  41. package/dist/components/eui-code-block/controls.js +5 -36
  42. package/dist/components/eui-code-block/controls.js.map +1 -1
  43. package/dist/components/eui-code-block/full-screen-display.js +5 -18
  44. package/dist/components/eui-code-block/full-screen-display.js.map +1 -1
  45. package/dist/components/eui-code-block/virtualized.js +24 -61
  46. package/dist/components/eui-code-block/virtualized.js.map +1 -1
  47. package/dist/components/eui-code-block.js +141 -287
  48. package/dist/components/eui-code-block.js.map +1 -1
  49. package/dist/components/eui-code.js +43 -58
  50. package/dist/components/eui-code.js.map +1 -1
  51. package/dist/components/eui-collapsible-nav-group.js +5 -132
  52. package/dist/components/eui-collapsible-nav-group.js.map +1 -1
  53. package/dist/components/eui-collapsible-nav.js +48 -85
  54. package/dist/components/eui-collapsible-nav.js.map +1 -1
  55. package/dist/components/eui-combo-box/create-option.js +21 -42
  56. package/dist/components/eui-combo-box/create-option.js.map +1 -1
  57. package/dist/components/eui-combo-box/group.js +4 -15
  58. package/dist/components/eui-combo-box/group.js.map +1 -1
  59. package/dist/components/eui-combo-box/no-matches-message.js +5 -13
  60. package/dist/components/eui-combo-box/no-matches-message.js.map +1 -1
  61. package/dist/components/eui-combo-box/options.js +41 -124
  62. package/dist/components/eui-combo-box/options.js.map +1 -1
  63. package/dist/components/eui-combo-box/search-message.js +5 -13
  64. package/dist/components/eui-combo-box/search-message.js.map +1 -1
  65. package/dist/components/eui-combo-box/trigger/input.js +37 -77
  66. package/dist/components/eui-combo-box/trigger/input.js.map +1 -1
  67. package/dist/components/eui-combo-box/trigger.js +25 -156
  68. package/dist/components/eui-combo-box/trigger.js.map +1 -1
  69. package/dist/components/eui-combo-box-pill.js +5 -44
  70. package/dist/components/eui-combo-box-pill.js.map +1 -1
  71. package/dist/components/eui-combo-box.js +124 -209
  72. package/dist/components/eui-combo-box.js.map +1 -1
  73. package/dist/components/eui-comment-list.js +4 -11
  74. package/dist/components/eui-comment-list.js.map +1 -1
  75. package/dist/components/eui-comment-timeline.js +5 -34
  76. package/dist/components/eui-comment-timeline.js.map +1 -1
  77. package/dist/components/eui-comment.js +5 -88
  78. package/dist/components/eui-comment.js.map +1 -1
  79. package/dist/components/eui-confirm-modal.js +5 -46
  80. package/dist/components/eui-confirm-modal.js.map +1 -1
  81. package/dist/components/eui-context-menu-item.js +29 -94
  82. package/dist/components/eui-context-menu-item.js.map +1 -1
  83. package/dist/components/eui-context-menu-panel.js +4 -10
  84. package/dist/components/eui-context-menu-panel.js.map +1 -1
  85. package/dist/components/eui-copy.js +25 -32
  86. package/dist/components/eui-copy.js.map +1 -1
  87. package/dist/components/eui-described-form-group.js +5 -43
  88. package/dist/components/eui-described-form-group.js.map +1 -1
  89. package/dist/components/eui-description-list-description.js +4 -8
  90. package/dist/components/eui-description-list-description.js.map +1 -1
  91. package/dist/components/eui-description-list-title.js +4 -8
  92. package/dist/components/eui-description-list-title.js.map +1 -1
  93. package/dist/components/eui-description-list.js +5 -29
  94. package/dist/components/eui-description-list.js.map +1 -1
  95. package/dist/components/eui-dual-range.js +273 -650
  96. package/dist/components/eui-dual-range.js.map +1 -1
  97. package/dist/components/eui-empty-prompt.js +5 -94
  98. package/dist/components/eui-empty-prompt.js.map +1 -1
  99. package/dist/components/eui-field-number.js +5 -72
  100. package/dist/components/eui-field-number.js.map +1 -1
  101. package/dist/components/eui-field-password.js +5 -78
  102. package/dist/components/eui-field-password.js.map +1 -1
  103. package/dist/components/eui-field-search.js +77 -135
  104. package/dist/components/eui-field-search.js.map +1 -1
  105. package/dist/components/eui-field-text.js +5 -69
  106. package/dist/components/eui-field-text.js.map +1 -1
  107. package/dist/components/eui-file-picker.js +80 -167
  108. package/dist/components/eui-file-picker.js.map +1 -1
  109. package/dist/components/eui-flex-grid.js +5 -37
  110. package/dist/components/eui-flex-grid.js.map +1 -1
  111. package/dist/components/eui-flex-group.js +5 -37
  112. package/dist/components/eui-flex-group.js.map +1 -1
  113. package/dist/components/eui-flex-item.js +5 -32
  114. package/dist/components/eui-flex-item.js.map +1 -1
  115. package/dist/components/eui-flyout-body.js +5 -35
  116. package/dist/components/eui-flyout-body.js.map +1 -1
  117. package/dist/components/eui-flyout-footer.js +4 -8
  118. package/dist/components/eui-flyout-footer.js.map +1 -1
  119. package/dist/components/eui-flyout-header.js +5 -15
  120. package/dist/components/eui-flyout-header.js.map +1 -1
  121. package/dist/components/eui-flyout.js +85 -223
  122. package/dist/components/eui-flyout.js.map +1 -1
  123. package/dist/components/eui-form-control-layout-clear-button.js +5 -20
  124. package/dist/components/eui-form-control-layout-clear-button.js.map +1 -1
  125. package/dist/components/eui-form-control-layout-custom-icon.js +5 -30
  126. package/dist/components/eui-form-control-layout-custom-icon.js.map +1 -1
  127. package/dist/components/eui-form-control-layout-delimited.js +5 -50
  128. package/dist/components/eui-form-control-layout-delimited.js.map +1 -1
  129. package/dist/components/eui-form-control-layout-icons.js +5 -42
  130. package/dist/components/eui-form-control-layout-icons.js.map +1 -1
  131. package/dist/components/eui-form-control-layout.js +5 -44
  132. package/dist/components/eui-form-control-layout.js.map +1 -1
  133. package/dist/components/eui-form-error-text.js +4 -8
  134. package/dist/components/eui-form-error-text.js.map +1 -1
  135. package/dist/components/eui-form-fieldset.js +5 -22
  136. package/dist/components/eui-form-fieldset.js.map +1 -1
  137. package/dist/components/eui-form-help-text.js +4 -8
  138. package/dist/components/eui-form-help-text.js.map +1 -1
  139. package/dist/components/eui-form-label.js +5 -26
  140. package/dist/components/eui-form-label.js.map +1 -1
  141. package/dist/components/eui-form-legend.js +5 -24
  142. package/dist/components/eui-form-legend.js.map +1 -1
  143. package/dist/components/eui-form-row.js +7 -260
  144. package/dist/components/eui-form-row.js.map +1 -1
  145. package/dist/components/eui-form.js +5 -79
  146. package/dist/components/eui-form.js.map +1 -1
  147. package/dist/components/eui-global-toast-list.js +102 -123
  148. package/dist/components/eui-global-toast-list.js.map +1 -1
  149. package/dist/components/eui-header-alert.js +5 -33
  150. package/dist/components/eui-header-alert.js.map +1 -1
  151. package/dist/components/eui-header-breadcrumbs.js +5 -13
  152. package/dist/components/eui-header-breadcrumbs.js.map +1 -1
  153. package/dist/components/eui-header-link.js +5 -21
  154. package/dist/components/eui-header-link.js.map +1 -1
  155. package/dist/components/eui-header-links.js +25 -73
  156. package/dist/components/eui-header-links.js.map +1 -1
  157. package/dist/components/eui-header-logo.js +5 -19
  158. package/dist/components/eui-header-logo.js.map +1 -1
  159. package/dist/components/eui-header-section-item-button.js +42 -91
  160. package/dist/components/eui-header-section-item-button.js.map +1 -1
  161. package/dist/components/eui-header-section-item.js +5 -15
  162. package/dist/components/eui-header-section-item.js.map +1 -1
  163. package/dist/components/eui-header-section.js +5 -16
  164. package/dist/components/eui-header-section.js.map +1 -1
  165. package/dist/components/eui-header.js +7 -32
  166. package/dist/components/eui-header.js.map +1 -1
  167. package/dist/components/eui-health.js +5 -24
  168. package/dist/components/eui-health.js.map +1 -1
  169. package/dist/components/eui-hide-for.js +12 -18
  170. package/dist/components/eui-hide-for.js.map +1 -1
  171. package/dist/components/eui-horizontal-rule.js +5 -14
  172. package/dist/components/eui-horizontal-rule.js.map +1 -1
  173. package/dist/components/eui-i18n/render.js +4 -6
  174. package/dist/components/eui-i18n/render.js.map +1 -1
  175. package/dist/components/eui-i18n.js +21 -42
  176. package/dist/components/eui-i18n.js.map +1 -1
  177. package/dist/components/eui-icon-tip.js +5 -45
  178. package/dist/components/eui-icon-tip.js.map +1 -1
  179. package/dist/components/eui-icon.js +56 -127
  180. package/dist/components/eui-icon.js.map +1 -1
  181. package/dist/components/eui-image.js +38 -143
  182. package/dist/components/eui-image.js.map +1 -1
  183. package/dist/components/eui-inner-text.js +33 -37
  184. package/dist/components/eui-inner-text.js.map +1 -1
  185. package/dist/components/eui-input-popover.js +96 -142
  186. package/dist/components/eui-input-popover.js.map +1 -1
  187. package/dist/components/eui-key-pad-menu-item.js +7 -75
  188. package/dist/components/eui-key-pad-menu-item.js.map +1 -1
  189. package/dist/components/eui-key-pad-menu.js +7 -24
  190. package/dist/components/eui-key-pad-menu.js.map +1 -1
  191. package/dist/components/eui-link.js +5 -56
  192. package/dist/components/eui-link.js.map +1 -1
  193. package/dist/components/eui-list-group-item.js +5 -90
  194. package/dist/components/eui-list-group-item.js.map +1 -1
  195. package/dist/components/eui-list-group.js +5 -30
  196. package/dist/components/eui-list-group.js.map +1 -1
  197. package/dist/components/eui-loading-content.js +5 -18
  198. package/dist/components/eui-loading-content.js.map +1 -1
  199. package/dist/components/eui-loading-logo.js +5 -23
  200. package/dist/components/eui-loading-logo.js.map +1 -1
  201. package/dist/components/eui-loading-spinner.js +5 -13
  202. package/dist/components/eui-loading-spinner.js.map +1 -1
  203. package/dist/components/eui-markdown-editor-drop-zone.js +5 -18
  204. package/dist/components/eui-markdown-editor-drop-zone.js.map +1 -1
  205. package/dist/components/eui-markdown-editor-footer/icons/markdown-logo.js +4 -21
  206. package/dist/components/eui-markdown-editor-footer/icons/markdown-logo.js.map +1 -1
  207. package/dist/components/eui-markdown-editor-footer.js +38 -134
  208. package/dist/components/eui-markdown-editor-footer.js.map +1 -1
  209. package/dist/components/eui-markdown-editor-text-area.js +5 -14
  210. package/dist/components/eui-markdown-editor-text-area.js.map +1 -1
  211. package/dist/components/eui-markdown-editor-toolbar/icons/markdown-checkmark.js +4 -21
  212. package/dist/components/eui-markdown-editor-toolbar/icons/markdown-checkmark.js.map +1 -1
  213. package/dist/components/eui-markdown-editor-toolbar.js +66 -150
  214. package/dist/components/eui-markdown-editor-toolbar.js.map +1 -1
  215. package/dist/components/eui-markdown-editor.js +204 -270
  216. package/dist/components/eui-markdown-editor.js.map +1 -1
  217. package/dist/components/eui-markdown-format/markdown-checkbox.js +12 -22
  218. package/dist/components/eui-markdown-format/markdown-checkbox.js.map +1 -1
  219. package/dist/components/eui-markdown-format/markdown-code-block.js +5 -14
  220. package/dist/components/eui-markdown-format/markdown-code-block.js.map +1 -1
  221. package/dist/components/eui-markdown-format/markdown-code.js +5 -9
  222. package/dist/components/eui-markdown-format/markdown-code.js.map +1 -1
  223. package/dist/components/eui-markdown-format/markdown-tooltip.js +5 -17
  224. package/dist/components/eui-markdown-format/markdown-tooltip.js.map +1 -1
  225. package/dist/components/eui-markdown-format.js +34 -48
  226. package/dist/components/eui-markdown-format.js.map +1 -1
  227. package/dist/components/eui-modal-body.js +4 -10
  228. package/dist/components/eui-modal-body.js.map +1 -1
  229. package/dist/components/eui-modal-footer.js +4 -8
  230. package/dist/components/eui-modal-footer.js.map +1 -1
  231. package/dist/components/eui-modal-header-title.js +4 -8
  232. package/dist/components/eui-modal-header-title.js.map +1 -1
  233. package/dist/components/eui-modal-header.js +4 -8
  234. package/dist/components/eui-modal-header.js.map +1 -1
  235. package/dist/components/eui-modal.js +5 -50
  236. package/dist/components/eui-modal.js.map +1 -1
  237. package/dist/components/eui-notification-badge.js +5 -16
  238. package/dist/components/eui-notification-badge.js.map +1 -1
  239. package/dist/components/eui-notification-event-messages.js +5 -48
  240. package/dist/components/eui-notification-event-messages.js.map +1 -1
  241. package/dist/components/eui-notification-event-meta.js +5 -109
  242. package/dist/components/eui-notification-event-meta.js.map +1 -1
  243. package/dist/components/eui-notification-event-read-button.js +5 -23
  244. package/dist/components/eui-notification-event-read-button.js.map +1 -1
  245. package/dist/components/eui-notification-event-read-icon.js +5 -27
  246. package/dist/components/eui-notification-event-read-icon.js.map +1 -1
  247. package/dist/components/eui-notification-event.js +5 -110
  248. package/dist/components/eui-notification-event.js.map +1 -1
  249. package/dist/components/eui-overlay-mask.js +32 -49
  250. package/dist/components/eui-overlay-mask.js.map +1 -1
  251. package/dist/components/eui-page-body.js +5 -58
  252. package/dist/components/eui-page-body.js.map +1 -1
  253. package/dist/components/eui-page-content-body.js +5 -22
  254. package/dist/components/eui-page-content-body.js.map +1 -1
  255. package/dist/components/eui-page-content-header-section.js +4 -8
  256. package/dist/components/eui-page-content-header-section.js.map +1 -1
  257. package/dist/components/eui-page-content-header.js +5 -15
  258. package/dist/components/eui-page-content-header.js.map +1 -1
  259. package/dist/components/eui-page-content.js +5 -26
  260. package/dist/components/eui-page-content.js.map +1 -1
  261. package/dist/components/eui-page-header-content.js +45 -353
  262. package/dist/components/eui-page-header-content.js.map +1 -1
  263. package/dist/components/eui-page-header-section.js +4 -8
  264. package/dist/components/eui-page-header-section.js.map +1 -1
  265. package/dist/components/eui-page-header.js +5 -102
  266. package/dist/components/eui-page-header.js.map +1 -1
  267. package/dist/components/eui-page-side-bar.js +5 -16
  268. package/dist/components/eui-page-side-bar.js.map +1 -1
  269. package/dist/components/eui-page-template.js +50 -837
  270. package/dist/components/eui-page-template.js.map +1 -1
  271. package/dist/components/eui-page.js +5 -32
  272. package/dist/components/eui-page.js.map +1 -1
  273. package/dist/components/eui-pagination/button-wrapper.js +5 -27
  274. package/dist/components/eui-pagination/button-wrapper.js.map +1 -1
  275. package/dist/components/eui-pagination/next-button.js +5 -37
  276. package/dist/components/eui-pagination/next-button.js.map +1 -1
  277. package/dist/components/eui-pagination/previous-button.js +5 -37
  278. package/dist/components/eui-pagination/previous-button.js.map +1 -1
  279. package/dist/components/eui-pagination-button.js +5 -42
  280. package/dist/components/eui-pagination-button.js.map +1 -1
  281. package/dist/components/eui-pagination.js +62 -181
  282. package/dist/components/eui-pagination.js.map +1 -1
  283. package/dist/components/eui-panel.js +5 -68
  284. package/dist/components/eui-panel.js.map +1 -1
  285. package/dist/components/eui-popover-footer.js +5 -15
  286. package/dist/components/eui-popover-footer.js.map +1 -1
  287. package/dist/components/eui-popover-title.js +5 -15
  288. package/dist/components/eui-popover-title.js.map +1 -1
  289. package/dist/components/eui-popover.js +275 -403
  290. package/dist/components/eui-popover.js.map +1 -1
  291. package/dist/components/eui-portal.js +22 -28
  292. package/dist/components/eui-portal.js.map +1 -1
  293. package/dist/components/eui-progress.js +5 -59
  294. package/dist/components/eui-progress.js.map +1 -1
  295. package/dist/components/eui-radio-group.js +5 -45
  296. package/dist/components/eui-radio-group.js.map +1 -1
  297. package/dist/components/eui-radio.js +5 -47
  298. package/dist/components/eui-radio.js.map +1 -1
  299. package/dist/components/eui-range-highlight.js +5 -29
  300. package/dist/components/eui-range-highlight.js.map +1 -1
  301. package/dist/components/eui-range-input.js +5 -45
  302. package/dist/components/eui-range-input.js.map +1 -1
  303. package/dist/components/eui-range-label.js +5 -15
  304. package/dist/components/eui-range-label.js.map +1 -1
  305. package/dist/components/eui-range-levels.js +28 -49
  306. package/dist/components/eui-range-levels.js.map +1 -1
  307. package/dist/components/eui-range-slider.js +5 -24
  308. package/dist/components/eui-range-slider.js.map +1 -1
  309. package/dist/components/eui-range-thumb.js +5 -30
  310. package/dist/components/eui-range-thumb.js.map +1 -1
  311. package/dist/components/eui-range-ticks.js +20 -50
  312. package/dist/components/eui-range-ticks.js.map +1 -1
  313. package/dist/components/eui-range-tooltip.js +31 -47
  314. package/dist/components/eui-range-tooltip.js.map +1 -1
  315. package/dist/components/eui-range-track.js +77 -122
  316. package/dist/components/eui-range-track.js.map +1 -1
  317. package/dist/components/eui-range-wrapper.js +5 -16
  318. package/dist/components/eui-range-wrapper.js.map +1 -1
  319. package/dist/components/eui-range.js +120 -527
  320. package/dist/components/eui-range.js.map +1 -1
  321. package/dist/components/eui-select.js +5 -74
  322. package/dist/components/eui-select.js.map +1 -1
  323. package/dist/components/eui-selectable-list-item.js +5 -29
  324. package/dist/components/eui-selectable-list-item.js.map +1 -1
  325. package/dist/components/eui-show-for.js +26 -37
  326. package/dist/components/eui-show-for.js.map +1 -1
  327. package/dist/components/eui-side-nav-item/button.js +5 -33
  328. package/dist/components/eui-side-nav-item/button.js.map +1 -1
  329. package/dist/components/eui-side-nav-item.js +5 -119
  330. package/dist/components/eui-side-nav-item.js.map +1 -1
  331. package/dist/components/eui-side-nav.js +30 -189
  332. package/dist/components/eui-side-nav.js.map +1 -1
  333. package/dist/components/eui-spacer.js +5 -10
  334. package/dist/components/eui-spacer.js.map +1 -1
  335. package/dist/components/eui-split-panel/inner.js +5 -17
  336. package/dist/components/eui-split-panel/inner.js.map +1 -1
  337. package/dist/components/eui-split-panel/outer.js +5 -34
  338. package/dist/components/eui-split-panel/outer.js.map +1 -1
  339. package/dist/components/eui-stat/description.js +5 -22
  340. package/dist/components/eui-stat/description.js.map +1 -1
  341. package/dist/components/eui-stat/title.js +5 -27
  342. package/dist/components/eui-stat/title.js.map +1 -1
  343. package/dist/components/eui-stat.js +10 -90
  344. package/dist/components/eui-stat.js.map +1 -1
  345. package/dist/components/eui-step-horizontal.js +5 -48
  346. package/dist/components/eui-step-horizontal.js.map +1 -1
  347. package/dist/components/eui-step-number.js +6 -48
  348. package/dist/components/eui-step-number.js.map +1 -1
  349. package/dist/components/eui-step.js +5 -37
  350. package/dist/components/eui-step.js.map +1 -1
  351. package/dist/components/eui-steps-horizontal.js +4 -8
  352. package/dist/components/eui-steps-horizontal.js.map +1 -1
  353. package/dist/components/eui-steps.js +4 -8
  354. package/dist/components/eui-steps.js.map +1 -1
  355. package/dist/components/eui-sub-steps.js +4 -8
  356. package/dist/components/eui-sub-steps.js.map +1 -1
  357. package/dist/components/eui-super-date-picker/date-popover/absolute-tab.js +64 -96
  358. package/dist/components/eui-super-date-picker/date-popover/absolute-tab.js.map +1 -1
  359. package/dist/components/eui-super-date-picker/date-popover/datetime-picker.js +141 -284
  360. package/dist/components/eui-super-date-picker/date-popover/datetime-picker.js.map +1 -1
  361. package/dist/components/eui-super-date-picker/date-popover/eui-date-popover-button.js +30 -83
  362. package/dist/components/eui-super-date-picker/date-popover/eui-date-popover-button.js.map +1 -1
  363. package/dist/components/eui-super-date-picker/date-popover/eui-date-popover-content.js +29 -70
  364. package/dist/components/eui-super-date-picker/date-popover/eui-date-popover-content.js.map +1 -1
  365. package/dist/components/eui-super-date-picker/date-popover/now-tab.js +5 -51
  366. package/dist/components/eui-super-date-picker/date-popover/now-tab.js.map +1 -1
  367. package/dist/components/eui-super-date-picker/date-popover/relative-tab.js +74 -109
  368. package/dist/components/eui-super-date-picker/date-popover/relative-tab.js.map +1 -1
  369. package/dist/components/eui-super-date-picker/eui-date-picker-range.js +5 -28
  370. package/dist/components/eui-super-date-picker/eui-date-picker-range.js.map +1 -1
  371. package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-commonly-used-time-ranges.js +5 -47
  372. package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-commonly-used-time-ranges.js.map +1 -1
  373. package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.js +69 -204
  374. package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.js.map +1 -1
  375. package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-recently-used.js +5 -47
  376. package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-recently-used.js.map +1 -1
  377. package/dist/components/eui-super-date-picker/eui-quick-select-popover.js +36 -85
  378. package/dist/components/eui-super-date-picker/eui-quick-select-popover.js.map +1 -1
  379. package/dist/components/eui-super-date-picker/eui-super-update-button.js +5 -42
  380. package/dist/components/eui-super-date-picker/eui-super-update-button.js.map +1 -1
  381. package/dist/components/eui-super-date-picker/utils/pretty-duration.js.map +1 -1
  382. package/dist/components/eui-super-date-picker/utils/quick-select.js.map +1 -1
  383. package/dist/components/eui-super-date-picker.js +110 -224
  384. package/dist/components/eui-super-date-picker.js.map +1 -1
  385. package/dist/components/eui-switch.js +25 -84
  386. package/dist/components/eui-switch.js.map +1 -1
  387. package/dist/components/eui-tab.js +5 -69
  388. package/dist/components/eui-tab.js.map +1 -1
  389. package/dist/components/eui-tabbed-content.js +88 -125
  390. package/dist/components/eui-tabbed-content.js.map +1 -1
  391. package/dist/components/eui-tabs.js +5 -25
  392. package/dist/components/eui-tabs.js.map +1 -1
  393. package/dist/components/eui-text-align.js +5 -15
  394. package/dist/components/eui-text-align.js.map +1 -1
  395. package/dist/components/eui-text-area.js +5 -30
  396. package/dist/components/eui-text-area.js.map +1 -1
  397. package/dist/components/eui-text-color.js +5 -27
  398. package/dist/components/eui-text-color.js.map +1 -1
  399. package/dist/components/eui-text.js +5 -40
  400. package/dist/components/eui-text.js.map +1 -1
  401. package/dist/components/eui-title.js +5 -17
  402. package/dist/components/eui-title.js.map +1 -1
  403. package/dist/components/eui-toast.js +5 -62
  404. package/dist/components/eui-toast.js.map +1 -1
  405. package/dist/components/eui-tool-tip-popover.js +27 -33
  406. package/dist/components/eui-tool-tip-popover.js.map +1 -1
  407. package/dist/components/eui-tool-tip.js +161 -218
  408. package/dist/components/eui-tool-tip.js.map +1 -1
  409. package/dist/components/text-block.js +5 -39
  410. package/dist/components/text-block.js.map +1 -1
  411. package/dist/helpers/class-names.js.map +1 -1
  412. package/dist/helpers/eui-palette.js.map +1 -1
  413. package/dist/helpers/get-eui-config.js +6 -12
  414. package/dist/helpers/get-eui-config.js.map +1 -1
  415. package/dist/helpers/get-range-tick.js.map +1 -1
  416. package/dist/helpers/inline-styles.js.map +1 -1
  417. package/dist/helpers/is-within-number.js.map +1 -1
  418. package/dist/helpers/use-state.js +10 -17
  419. package/dist/helpers/use-state.js.map +1 -1
  420. package/dist/i18n/util.js.map +1 -1
  421. package/dist/modifiers/outside-click-detector.js +16 -12
  422. package/dist/modifiers/outside-click-detector.js.map +1 -1
  423. package/dist/modifiers/resize-observer.js +9 -15
  424. package/dist/modifiers/resize-observer.js.map +1 -1
  425. package/dist/modifiers/use-is-within-breakpoints.js.map +1 -1
  426. package/dist/services/eui-config.js +8 -14
  427. package/dist/services/eui-config.js.map +1 -1
  428. package/dist/services/eui-i18n.js +13 -8
  429. package/dist/services/eui-i18n.js.map +1 -1
  430. package/dist/services/eui-toaster.js +13 -13
  431. package/dist/services/eui-toaster.js.map +1 -1
  432. package/dist/utils/accesibility/accessible-click-keys.js.map +1 -1
  433. package/dist/utils/accesibility/cascading-menu-keys.js.map +1 -1
  434. package/dist/utils/accesibility/combo-box-keys.js.map +1 -1
  435. package/dist/utils/breakpoint.js.map +1 -1
  436. package/dist/utils/code/utils.js.map +1 -1
  437. package/dist/utils/color/eui_palettes.js.map +1 -1
  438. package/dist/utils/css-mappings/eui-avatar.js.map +1 -1
  439. package/dist/utils/css-mappings/eui-badge.js.map +1 -1
  440. package/dist/utils/css-mappings/eui-button-group-button.js.map +1 -1
  441. package/dist/utils/css-mappings/eui-button-group.js.map +1 -1
  442. package/dist/utils/css-mappings/eui-range-levels.js.map +1 -1
  443. package/dist/utils/css-mappings/index.js.map +1 -1
  444. package/dist/utils/markdown/markdown-actions.js +20 -3
  445. package/dist/utils/markdown/markdown-actions.js.map +1 -1
  446. package/dist/utils/markdown/plugins/markdown-add-components/processor.js.map +1 -1
  447. package/dist/utils/markdown/plugins/markdown-default-plugins/parsing-plugins.js.map +1 -1
  448. package/dist/utils/markdown/plugins/markdown-default-plugins/plugins.js.map +1 -1
  449. package/dist/utils/markdown/plugins/markdown-default-plugins/processing-plugins.js.map +1 -1
  450. package/dist/utils/markdown/plugins/markdown-default-plugins/ui-plugins.js.map +1 -1
  451. package/dist/utils/markdown/remark/remark-prismjs.js.map +1 -1
  452. package/dist/utils/timer.js +26 -30
  453. package/dist/utils/timer.js.map +1 -1
  454. package/package.json +12 -10
  455. package/declarations/-private/random-id.d.ts +0 -9
  456. package/declarations/-private/random-id.d.ts.map +0 -1
  457. package/declarations/components/common.d.ts +0 -42
  458. package/declarations/components/common.d.ts.map +0 -1
  459. package/declarations/components/eui-accordion.d.ts +0 -101
  460. package/declarations/components/eui-accordion.d.ts.map +0 -1
  461. package/declarations/components/eui-auto-sizer.d.ts +0 -64
  462. package/declarations/components/eui-auto-sizer.d.ts.map +0 -1
  463. package/declarations/components/eui-avatar.d.ts +0 -22
  464. package/declarations/components/eui-avatar.d.ts.map +0 -1
  465. package/declarations/components/eui-badge-group.d.ts +0 -23
  466. package/declarations/components/eui-badge-group.d.ts.map +0 -1
  467. package/declarations/components/eui-badge.d.ts +0 -30
  468. package/declarations/components/eui-badge.d.ts.map +0 -1
  469. package/declarations/components/eui-beta-badge.d.ts +0 -63
  470. package/declarations/components/eui-beta-badge.d.ts.map +0 -1
  471. package/declarations/components/eui-bottom-bar.d.ts +0 -35
  472. package/declarations/components/eui-bottom-bar.d.ts.map +0 -1
  473. package/declarations/components/eui-breadcrumbs.d.ts +0 -70
  474. package/declarations/components/eui-breadcrumbs.d.ts.map +0 -1
  475. package/declarations/components/eui-button-content.d.ts +0 -21
  476. package/declarations/components/eui-button-content.d.ts.map +0 -1
  477. package/declarations/components/eui-button-empty.d.ts +0 -33
  478. package/declarations/components/eui-button-empty.d.ts.map +0 -1
  479. package/declarations/components/eui-button-group-button.d.ts +0 -29
  480. package/declarations/components/eui-button-group-button.d.ts.map +0 -1
  481. package/declarations/components/eui-button-group.d.ts +0 -41
  482. package/declarations/components/eui-button-group.d.ts.map +0 -1
  483. package/declarations/components/eui-button-icon.d.ts +0 -25
  484. package/declarations/components/eui-button-icon.d.ts.map +0 -1
  485. package/declarations/components/eui-button.d.ts +0 -34
  486. package/declarations/components/eui-button.d.ts.map +0 -1
  487. package/declarations/components/eui-call-out.d.ts +0 -21
  488. package/declarations/components/eui-call-out.d.ts.map +0 -1
  489. package/declarations/components/eui-card-select.d.ts +0 -29
  490. package/declarations/components/eui-card-select.d.ts.map +0 -1
  491. package/declarations/components/eui-card.d.ts +0 -68
  492. package/declarations/components/eui-card.d.ts.map +0 -1
  493. package/declarations/components/eui-checkable-card.d.ts +0 -21
  494. package/declarations/components/eui-checkable-card.d.ts.map +0 -1
  495. package/declarations/components/eui-checkbox-group.d.ts +0 -27
  496. package/declarations/components/eui-checkbox-group.d.ts.map +0 -1
  497. package/declarations/components/eui-checkbox.d.ts +0 -27
  498. package/declarations/components/eui-checkbox.d.ts.map +0 -1
  499. package/declarations/components/eui-code-block/controls.d.ts +0 -13
  500. package/declarations/components/eui-code-block/controls.d.ts.map +0 -1
  501. package/declarations/components/eui-code-block/full-screen-display.d.ts +0 -11
  502. package/declarations/components/eui-code-block/full-screen-display.d.ts.map +0 -1
  503. package/declarations/components/eui-code-block/virtualized.d.ts +0 -20
  504. package/declarations/components/eui-code-block/virtualized.d.ts.map +0 -1
  505. package/declarations/components/eui-code-block.d.ts +0 -92
  506. package/declarations/components/eui-code-block.d.ts.map +0 -1
  507. package/declarations/components/eui-code.d.ts +0 -21
  508. package/declarations/components/eui-code.d.ts.map +0 -1
  509. package/declarations/components/eui-collapsible-nav-group.d.ts +0 -26
  510. package/declarations/components/eui-collapsible-nav-group.d.ts.map +0 -1
  511. package/declarations/components/eui-collapsible-nav.d.ts +0 -66
  512. package/declarations/components/eui-collapsible-nav.d.ts.map +0 -1
  513. package/declarations/components/eui-combo-box/create-option.d.ts +0 -16
  514. package/declarations/components/eui-combo-box/create-option.d.ts.map +0 -1
  515. package/declarations/components/eui-combo-box/group.d.ts +0 -16
  516. package/declarations/components/eui-combo-box/group.d.ts.map +0 -1
  517. package/declarations/components/eui-combo-box/no-matches-message.d.ts +0 -11
  518. package/declarations/components/eui-combo-box/no-matches-message.d.ts.map +0 -1
  519. package/declarations/components/eui-combo-box/options.d.ts +0 -12
  520. package/declarations/components/eui-combo-box/options.d.ts.map +0 -1
  521. package/declarations/components/eui-combo-box/search-message.d.ts +0 -11
  522. package/declarations/components/eui-combo-box/search-message.d.ts.map +0 -1
  523. package/declarations/components/eui-combo-box/trigger/input.d.ts +0 -6
  524. package/declarations/components/eui-combo-box/trigger/input.d.ts.map +0 -1
  525. package/declarations/components/eui-combo-box/trigger.d.ts +0 -4
  526. package/declarations/components/eui-combo-box/trigger.d.ts.map +0 -1
  527. package/declarations/components/eui-combo-box-pill.d.ts +0 -22
  528. package/declarations/components/eui-combo-box-pill.d.ts.map +0 -1
  529. package/declarations/components/eui-combo-box.d.ts +0 -69
  530. package/declarations/components/eui-combo-box.d.ts.map +0 -1
  531. package/declarations/components/eui-comment-list.d.ts +0 -10
  532. package/declarations/components/eui-comment-list.d.ts.map +0 -1
  533. package/declarations/components/eui-comment-timeline.d.ts +0 -15
  534. package/declarations/components/eui-comment-timeline.d.ts.map +0 -1
  535. package/declarations/components/eui-comment.d.ts +0 -20
  536. package/declarations/components/eui-comment.d.ts.map +0 -1
  537. package/declarations/components/eui-confirm-modal.d.ts +0 -23
  538. package/declarations/components/eui-confirm-modal.d.ts.map +0 -1
  539. package/declarations/components/eui-context-menu-item.d.ts +0 -25
  540. package/declarations/components/eui-context-menu-item.d.ts.map +0 -1
  541. package/declarations/components/eui-context-menu-panel.d.ts +0 -10
  542. package/declarations/components/eui-context-menu-panel.d.ts.map +0 -1
  543. package/declarations/components/eui-copy.d.ts +0 -36
  544. package/declarations/components/eui-copy.d.ts.map +0 -1
  545. package/declarations/components/eui-described-form-group.d.ts +0 -27
  546. package/declarations/components/eui-described-form-group.d.ts.map +0 -1
  547. package/declarations/components/eui-description-list-description.d.ts +0 -10
  548. package/declarations/components/eui-description-list-description.d.ts.map +0 -1
  549. package/declarations/components/eui-description-list-title.d.ts +0 -10
  550. package/declarations/components/eui-description-list-title.d.ts.map +0 -1
  551. package/declarations/components/eui-description-list.d.ts +0 -27
  552. package/declarations/components/eui-description-list.d.ts.map +0 -1
  553. package/declarations/components/eui-dual-range.d.ts +0 -141
  554. package/declarations/components/eui-dual-range.d.ts.map +0 -1
  555. package/declarations/components/eui-empty-prompt.d.ts +0 -29
  556. package/declarations/components/eui-empty-prompt.d.ts.map +0 -1
  557. package/declarations/components/eui-field-number.d.ts +0 -57
  558. package/declarations/components/eui-field-number.d.ts.map +0 -1
  559. package/declarations/components/eui-field-password.d.ts +0 -28
  560. package/declarations/components/eui-field-password.d.ts.map +0 -1
  561. package/declarations/components/eui-field-search.d.ts +0 -52
  562. package/declarations/components/eui-field-search.d.ts.map +0 -1
  563. package/declarations/components/eui-field-text.d.ts +0 -29
  564. package/declarations/components/eui-field-text.d.ts.map +0 -1
  565. package/declarations/components/eui-file-picker.d.ts +0 -60
  566. package/declarations/components/eui-file-picker.d.ts.map +0 -1
  567. package/declarations/components/eui-flex-grid.d.ts +0 -33
  568. package/declarations/components/eui-flex-grid.d.ts.map +0 -1
  569. package/declarations/components/eui-flex-group.d.ts +0 -20
  570. package/declarations/components/eui-flex-group.d.ts.map +0 -1
  571. package/declarations/components/eui-flex-item.d.ts +0 -15
  572. package/declarations/components/eui-flex-item.d.ts.map +0 -1
  573. package/declarations/components/eui-flyout-body.d.ts +0 -12
  574. package/declarations/components/eui-flyout-body.d.ts.map +0 -1
  575. package/declarations/components/eui-flyout-footer.d.ts +0 -10
  576. package/declarations/components/eui-flyout-footer.d.ts.map +0 -1
  577. package/declarations/components/eui-flyout-header.d.ts +0 -13
  578. package/declarations/components/eui-flyout-header.d.ts.map +0 -1
  579. package/declarations/components/eui-flyout.d.ts +0 -87
  580. package/declarations/components/eui-flyout.d.ts.map +0 -1
  581. package/declarations/components/eui-form-control-layout-clear-button.d.ts +0 -14
  582. package/declarations/components/eui-form-control-layout-clear-button.d.ts.map +0 -1
  583. package/declarations/components/eui-form-control-layout-custom-icon.d.ts +0 -16
  584. package/declarations/components/eui-form-control-layout-custom-icon.d.ts.map +0 -1
  585. package/declarations/components/eui-form-control-layout-delimited.d.ts +0 -25
  586. package/declarations/components/eui-form-control-layout-delimited.d.ts.map +0 -1
  587. package/declarations/components/eui-form-control-layout-icons.d.ts +0 -17
  588. package/declarations/components/eui-form-control-layout-icons.d.ts.map +0 -1
  589. package/declarations/components/eui-form-control-layout.d.ts +0 -30
  590. package/declarations/components/eui-form-control-layout.d.ts.map +0 -1
  591. package/declarations/components/eui-form-error-text.d.ts +0 -10
  592. package/declarations/components/eui-form-error-text.d.ts.map +0 -1
  593. package/declarations/components/eui-form-fieldset.d.ts +0 -18
  594. package/declarations/components/eui-form-fieldset.d.ts.map +0 -1
  595. package/declarations/components/eui-form-help-text.d.ts +0 -13
  596. package/declarations/components/eui-form-help-text.d.ts.map +0 -1
  597. package/declarations/components/eui-form-label.d.ts +0 -17
  598. package/declarations/components/eui-form-label.d.ts.map +0 -1
  599. package/declarations/components/eui-form-legend.d.ts +0 -14
  600. package/declarations/components/eui-form-legend.d.ts.map +0 -1
  601. package/declarations/components/eui-form-row.d.ts +0 -35
  602. package/declarations/components/eui-form-row.d.ts.map +0 -1
  603. package/declarations/components/eui-form.d.ts +0 -20
  604. package/declarations/components/eui-form.d.ts.map +0 -1
  605. package/declarations/components/eui-global-toast-list.d.ts +0 -45
  606. package/declarations/components/eui-global-toast-list.d.ts.map +0 -1
  607. package/declarations/components/eui-header-alert.d.ts +0 -14
  608. package/declarations/components/eui-header-alert.d.ts.map +0 -1
  609. package/declarations/components/eui-header-breadcrumbs.d.ts +0 -14
  610. package/declarations/components/eui-header-breadcrumbs.d.ts.map +0 -1
  611. package/declarations/components/eui-header-link.d.ts +0 -14
  612. package/declarations/components/eui-header-link.d.ts.map +0 -1
  613. package/declarations/components/eui-header-links.d.ts +0 -20
  614. package/declarations/components/eui-header-links.d.ts.map +0 -1
  615. package/declarations/components/eui-header-logo.d.ts +0 -17
  616. package/declarations/components/eui-header-logo.d.ts.map +0 -1
  617. package/declarations/components/eui-header-section-item-button.d.ts +0 -26
  618. package/declarations/components/eui-header-section-item-button.d.ts.map +0 -1
  619. package/declarations/components/eui-header-section-item.d.ts +0 -14
  620. package/declarations/components/eui-header-section-item.d.ts.map +0 -1
  621. package/declarations/components/eui-header-section.d.ts +0 -15
  622. package/declarations/components/eui-header-section.d.ts.map +0 -1
  623. package/declarations/components/eui-header.d.ts +0 -23
  624. package/declarations/components/eui-header.d.ts.map +0 -1
  625. package/declarations/components/eui-health.d.ts +0 -21
  626. package/declarations/components/eui-health.d.ts.map +0 -1
  627. package/declarations/components/eui-hide-for.d.ts +0 -21
  628. package/declarations/components/eui-hide-for.d.ts.map +0 -1
  629. package/declarations/components/eui-horizontal-rule.d.ts +0 -12
  630. package/declarations/components/eui-horizontal-rule.d.ts.map +0 -1
  631. package/declarations/components/eui-i18n/render.d.ts +0 -12
  632. package/declarations/components/eui-i18n/render.d.ts.map +0 -1
  633. package/declarations/components/eui-i18n.d.ts +0 -32
  634. package/declarations/components/eui-i18n.d.ts.map +0 -1
  635. package/declarations/components/eui-icon-tip.d.ts +0 -29
  636. package/declarations/components/eui-icon-tip.d.ts.map +0 -1
  637. package/declarations/components/eui-icon.d.ts +0 -80
  638. package/declarations/components/eui-icon.d.ts.map +0 -1
  639. package/declarations/components/eui-image.d.ts +0 -62
  640. package/declarations/components/eui-image.d.ts.map +0 -1
  641. package/declarations/components/eui-inner-text.d.ts +0 -21
  642. package/declarations/components/eui-inner-text.d.ts.map +0 -1
  643. package/declarations/components/eui-input-popover.d.ts +0 -44
  644. package/declarations/components/eui-input-popover.d.ts.map +0 -1
  645. package/declarations/components/eui-key-pad-menu-item.d.ts +0 -26
  646. package/declarations/components/eui-key-pad-menu-item.d.ts.map +0 -1
  647. package/declarations/components/eui-key-pad-menu.d.ts +0 -23
  648. package/declarations/components/eui-key-pad-menu.d.ts.map +0 -1
  649. package/declarations/components/eui-link.d.ts +0 -18
  650. package/declarations/components/eui-link.d.ts.map +0 -1
  651. package/declarations/components/eui-list-group-item.d.ts +0 -26
  652. package/declarations/components/eui-list-group-item.d.ts.map +0 -1
  653. package/declarations/components/eui-list-group.d.ts +0 -16
  654. package/declarations/components/eui-list-group.d.ts.map +0 -1
  655. package/declarations/components/eui-loading-content.d.ts +0 -14
  656. package/declarations/components/eui-loading-content.d.ts.map +0 -1
  657. package/declarations/components/eui-loading-logo.d.ts +0 -13
  658. package/declarations/components/eui-loading-logo.d.ts.map +0 -1
  659. package/declarations/components/eui-loading-spinner.d.ts +0 -11
  660. package/declarations/components/eui-loading-spinner.d.ts.map +0 -1
  661. package/declarations/components/eui-markdown-editor-drop-zone.d.ts +0 -17
  662. package/declarations/components/eui-markdown-editor-drop-zone.d.ts.map +0 -1
  663. package/declarations/components/eui-markdown-editor-footer/icons/markdown-logo.d.ts +0 -10
  664. package/declarations/components/eui-markdown-editor-footer/icons/markdown-logo.d.ts.map +0 -1
  665. package/declarations/components/eui-markdown-editor-footer.d.ts +0 -13
  666. package/declarations/components/eui-markdown-editor-footer.d.ts.map +0 -1
  667. package/declarations/components/eui-markdown-editor-text-area.d.ts +0 -14
  668. package/declarations/components/eui-markdown-editor-text-area.d.ts.map +0 -1
  669. package/declarations/components/eui-markdown-editor-toolbar/icons/markdown-checkmark.d.ts +0 -11
  670. package/declarations/components/eui-markdown-editor-toolbar/icons/markdown-checkmark.d.ts.map +0 -1
  671. package/declarations/components/eui-markdown-editor-toolbar.d.ts +0 -50
  672. package/declarations/components/eui-markdown-editor-toolbar.d.ts.map +0 -1
  673. package/declarations/components/eui-markdown-editor.d.ts +0 -95
  674. package/declarations/components/eui-markdown-editor.d.ts.map +0 -1
  675. package/declarations/components/eui-markdown-format/markdown-checkbox.d.ts +0 -24
  676. package/declarations/components/eui-markdown-format/markdown-checkbox.d.ts.map +0 -1
  677. package/declarations/components/eui-markdown-format/markdown-code-block.d.ts +0 -15
  678. package/declarations/components/eui-markdown-format/markdown-code-block.d.ts.map +0 -1
  679. package/declarations/components/eui-markdown-format/markdown-code.d.ts +0 -13
  680. package/declarations/components/eui-markdown-format/markdown-code.d.ts.map +0 -1
  681. package/declarations/components/eui-markdown-format/markdown-tooltip.d.ts +0 -15
  682. package/declarations/components/eui-markdown-format/markdown-tooltip.d.ts.map +0 -1
  683. package/declarations/components/eui-markdown-format.d.ts +0 -23
  684. package/declarations/components/eui-markdown-format.d.ts.map +0 -1
  685. package/declarations/components/eui-modal-body.d.ts +0 -10
  686. package/declarations/components/eui-modal-body.d.ts.map +0 -1
  687. package/declarations/components/eui-modal-footer.d.ts +0 -10
  688. package/declarations/components/eui-modal-footer.d.ts.map +0 -1
  689. package/declarations/components/eui-modal-header-title.d.ts +0 -10
  690. package/declarations/components/eui-modal-header-title.d.ts.map +0 -1
  691. package/declarations/components/eui-modal-header.d.ts +0 -10
  692. package/declarations/components/eui-modal-header.d.ts.map +0 -1
  693. package/declarations/components/eui-modal.d.ts +0 -27
  694. package/declarations/components/eui-modal.d.ts.map +0 -1
  695. package/declarations/components/eui-notification-badge.d.ts +0 -15
  696. package/declarations/components/eui-notification-badge.d.ts.map +0 -1
  697. package/declarations/components/eui-notification-event-messages.d.ts +0 -13
  698. package/declarations/components/eui-notification-event-messages.d.ts.map +0 -1
  699. package/declarations/components/eui-notification-event-meta.d.ts +0 -24
  700. package/declarations/components/eui-notification-event-meta.d.ts.map +0 -1
  701. package/declarations/components/eui-notification-event-read-button.d.ts +0 -13
  702. package/declarations/components/eui-notification-event-read-button.d.ts.map +0 -1
  703. package/declarations/components/eui-notification-event-read-icon.d.ts +0 -14
  704. package/declarations/components/eui-notification-event-read-icon.d.ts.map +0 -1
  705. package/declarations/components/eui-notification-event.d.ts +0 -40
  706. package/declarations/components/eui-notification-event.d.ts.map +0 -1
  707. package/declarations/components/eui-overlay-mask.d.ts +0 -20
  708. package/declarations/components/eui-overlay-mask.d.ts.map +0 -1
  709. package/declarations/components/eui-page-body.d.ts +0 -22
  710. package/declarations/components/eui-page-body.d.ts.map +0 -1
  711. package/declarations/components/eui-page-content-body.d.ts +0 -18
  712. package/declarations/components/eui-page-content-body.d.ts.map +0 -1
  713. package/declarations/components/eui-page-content-header-section.d.ts +0 -10
  714. package/declarations/components/eui-page-content-header-section.d.ts.map +0 -1
  715. package/declarations/components/eui-page-content-header.d.ts +0 -13
  716. package/declarations/components/eui-page-content-header.d.ts.map +0 -1
  717. package/declarations/components/eui-page-content.d.ts +0 -22
  718. package/declarations/components/eui-page-content.d.ts.map +0 -1
  719. package/declarations/components/eui-page-header-content.d.ts +0 -98
  720. package/declarations/components/eui-page-header-content.d.ts.map +0 -1
  721. package/declarations/components/eui-page-header-section.d.ts +0 -10
  722. package/declarations/components/eui-page-header-section.d.ts.map +0 -1
  723. package/declarations/components/eui-page-header.d.ts +0 -89
  724. package/declarations/components/eui-page-header.d.ts.map +0 -1
  725. package/declarations/components/eui-page-side-bar.d.ts +0 -15
  726. package/declarations/components/eui-page-side-bar.d.ts.map +0 -1
  727. package/declarations/components/eui-page-template.d.ts +0 -77
  728. package/declarations/components/eui-page-template.d.ts.map +0 -1
  729. package/declarations/components/eui-page.d.ts +0 -17
  730. package/declarations/components/eui-page.d.ts.map +0 -1
  731. package/declarations/components/eui-pagination/button-wrapper.d.ts +0 -16
  732. package/declarations/components/eui-pagination/button-wrapper.d.ts.map +0 -1
  733. package/declarations/components/eui-pagination/next-button.d.ts +0 -19
  734. package/declarations/components/eui-pagination/next-button.d.ts.map +0 -1
  735. package/declarations/components/eui-pagination/previous-button.d.ts +0 -18
  736. package/declarations/components/eui-pagination/previous-button.d.ts.map +0 -1
  737. package/declarations/components/eui-pagination-button.d.ts +0 -20
  738. package/declarations/components/eui-pagination-button.d.ts.map +0 -1
  739. package/declarations/components/eui-pagination.d.ts +0 -79
  740. package/declarations/components/eui-pagination.d.ts.map +0 -1
  741. package/declarations/components/eui-panel.d.ts +0 -45
  742. package/declarations/components/eui-panel.d.ts.map +0 -1
  743. package/declarations/components/eui-popover-footer.d.ts +0 -14
  744. package/declarations/components/eui-popover-footer.d.ts.map +0 -1
  745. package/declarations/components/eui-popover-title.d.ts +0 -14
  746. package/declarations/components/eui-popover-title.d.ts.map +0 -1
  747. package/declarations/components/eui-popover.d.ts +0 -207
  748. package/declarations/components/eui-popover.d.ts.map +0 -1
  749. package/declarations/components/eui-portal.d.ts +0 -28
  750. package/declarations/components/eui-portal.d.ts.map +0 -1
  751. package/declarations/components/eui-progress.d.ts +0 -22
  752. package/declarations/components/eui-progress.d.ts.map +0 -1
  753. package/declarations/components/eui-radio-group.d.ts +0 -25
  754. package/declarations/components/eui-radio-group.d.ts.map +0 -1
  755. package/declarations/components/eui-radio.d.ts +0 -24
  756. package/declarations/components/eui-radio.d.ts.map +0 -1
  757. package/declarations/components/eui-range-highlight.d.ts +0 -16
  758. package/declarations/components/eui-range-highlight.d.ts.map +0 -1
  759. package/declarations/components/eui-range-input.d.ts +0 -25
  760. package/declarations/components/eui-range-input.d.ts.map +0 -1
  761. package/declarations/components/eui-range-label.d.ts +0 -13
  762. package/declarations/components/eui-range-label.d.ts.map +0 -1
  763. package/declarations/components/eui-range-levels.d.ts +0 -27
  764. package/declarations/components/eui-range-levels.d.ts.map +0 -1
  765. package/declarations/components/eui-range-slider.d.ts +0 -25
  766. package/declarations/components/eui-range-slider.d.ts.map +0 -1
  767. package/declarations/components/eui-range-thumb.d.ts +0 -15
  768. package/declarations/components/eui-range-thumb.d.ts.map +0 -1
  769. package/declarations/components/eui-range-ticks.d.ts +0 -29
  770. package/declarations/components/eui-range-ticks.d.ts.map +0 -1
  771. package/declarations/components/eui-range-tooltip.d.ts +0 -33
  772. package/declarations/components/eui-range-tooltip.d.ts.map +0 -1
  773. package/declarations/components/eui-range-track.d.ts +0 -43
  774. package/declarations/components/eui-range-track.d.ts.map +0 -1
  775. package/declarations/components/eui-range-wrapper.d.ts +0 -14
  776. package/declarations/components/eui-range-wrapper.d.ts.map +0 -1
  777. package/declarations/components/eui-range.d.ts +0 -112
  778. package/declarations/components/eui-range.d.ts.map +0 -1
  779. package/declarations/components/eui-select.d.ts +0 -31
  780. package/declarations/components/eui-select.d.ts.map +0 -1
  781. package/declarations/components/eui-selectable-list-item.d.ts +0 -15
  782. package/declarations/components/eui-selectable-list-item.d.ts.map +0 -1
  783. package/declarations/components/eui-show-for.d.ts +0 -30
  784. package/declarations/components/eui-show-for.d.ts.map +0 -1
  785. package/declarations/components/eui-side-nav-item/button.d.ts +0 -16
  786. package/declarations/components/eui-side-nav-item/button.d.ts.map +0 -1
  787. package/declarations/components/eui-side-nav-item.d.ts +0 -32
  788. package/declarations/components/eui-side-nav-item.d.ts.map +0 -1
  789. package/declarations/components/eui-side-nav.d.ts +0 -48
  790. package/declarations/components/eui-side-nav.d.ts.map +0 -1
  791. package/declarations/components/eui-spacer.d.ts +0 -11
  792. package/declarations/components/eui-spacer.d.ts.map +0 -1
  793. package/declarations/components/eui-split-panel/inner.d.ts +0 -18
  794. package/declarations/components/eui-split-panel/inner.d.ts.map +0 -1
  795. package/declarations/components/eui-split-panel/outer.d.ts +0 -22
  796. package/declarations/components/eui-split-panel/outer.d.ts.map +0 -1
  797. package/declarations/components/eui-stat/description.d.ts +0 -15
  798. package/declarations/components/eui-stat/description.d.ts.map +0 -1
  799. package/declarations/components/eui-stat/title.d.ts +0 -17
  800. package/declarations/components/eui-stat/title.d.ts.map +0 -1
  801. package/declarations/components/eui-stat.d.ts +0 -28
  802. package/declarations/components/eui-stat.d.ts.map +0 -1
  803. package/declarations/components/eui-step-horizontal.d.ts +0 -38
  804. package/declarations/components/eui-step-horizontal.d.ts.map +0 -1
  805. package/declarations/components/eui-step-number.d.ts +0 -31
  806. package/declarations/components/eui-step-number.d.ts.map +0 -1
  807. package/declarations/components/eui-step.d.ts +0 -18
  808. package/declarations/components/eui-step.d.ts.map +0 -1
  809. package/declarations/components/eui-steps-horizontal.d.ts +0 -10
  810. package/declarations/components/eui-steps-horizontal.d.ts.map +0 -1
  811. package/declarations/components/eui-steps.d.ts +0 -13
  812. package/declarations/components/eui-steps.d.ts.map +0 -1
  813. package/declarations/components/eui-sub-steps.d.ts +0 -10
  814. package/declarations/components/eui-sub-steps.d.ts.map +0 -1
  815. package/declarations/components/eui-super-date-picker/date-popover/absolute-tab.d.ts +0 -27
  816. package/declarations/components/eui-super-date-picker/date-popover/absolute-tab.d.ts.map +0 -1
  817. package/declarations/components/eui-super-date-picker/date-popover/datetime-picker.d.ts +0 -65
  818. package/declarations/components/eui-super-date-picker/date-popover/datetime-picker.d.ts.map +0 -1
  819. package/declarations/components/eui-super-date-picker/date-popover/eui-date-popover-button.d.ts +0 -32
  820. package/declarations/components/eui-super-date-picker/date-popover/eui-date-popover-button.d.ts.map +0 -1
  821. package/declarations/components/eui-super-date-picker/date-popover/eui-date-popover-content.d.ts +0 -48
  822. package/declarations/components/eui-super-date-picker/date-popover/eui-date-popover-content.d.ts.map +0 -1
  823. package/declarations/components/eui-super-date-picker/date-popover/now-tab.d.ts +0 -10
  824. package/declarations/components/eui-super-date-picker/date-popover/now-tab.d.ts.map +0 -1
  825. package/declarations/components/eui-super-date-picker/date-popover/relative-tab.d.ts +0 -31
  826. package/declarations/components/eui-super-date-picker/date-popover/relative-tab.d.ts.map +0 -1
  827. package/declarations/components/eui-super-date-picker/eui-date-picker-range.d.ts +0 -18
  828. package/declarations/components/eui-super-date-picker/eui-date-picker-range.d.ts.map +0 -1
  829. package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-commonly-used-time-ranges.d.ts +0 -14
  830. package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-commonly-used-time-ranges.d.ts.map +0 -1
  831. package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.d.ts +0 -37
  832. package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.d.ts.map +0 -1
  833. package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-recently-used.d.ts +0 -14
  834. package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-recently-used.d.ts.map +0 -1
  835. package/declarations/components/eui-super-date-picker/eui-quick-select-popover.d.ts +0 -30
  836. package/declarations/components/eui-super-date-picker/eui-quick-select-popover.d.ts.map +0 -1
  837. package/declarations/components/eui-super-date-picker/eui-super-update-button.d.ts +0 -20
  838. package/declarations/components/eui-super-date-picker/eui-super-update-button.d.ts.map +0 -1
  839. package/declarations/components/eui-super-date-picker/utils/date-utils.d.ts +0 -15
  840. package/declarations/components/eui-super-date-picker/utils/date-utils.d.ts.map +0 -1
  841. package/declarations/components/eui-super-date-picker/utils/index.d.ts +0 -31
  842. package/declarations/components/eui-super-date-picker/utils/index.d.ts.map +0 -1
  843. package/declarations/components/eui-super-date-picker/utils/pretty-duration.d.ts +0 -25
  844. package/declarations/components/eui-super-date-picker/utils/pretty-duration.d.ts.map +0 -1
  845. package/declarations/components/eui-super-date-picker/utils/quick-select.d.ts +0 -14
  846. package/declarations/components/eui-super-date-picker/utils/quick-select.d.ts.map +0 -1
  847. package/declarations/components/eui-super-date-picker/utils/time-options.d.ts +0 -20
  848. package/declarations/components/eui-super-date-picker/utils/time-options.d.ts.map +0 -1
  849. package/declarations/components/eui-super-date-picker.d.ts +0 -93
  850. package/declarations/components/eui-super-date-picker.d.ts.map +0 -1
  851. package/declarations/components/eui-switch.d.ts +0 -30
  852. package/declarations/components/eui-switch.d.ts.map +0 -1
  853. package/declarations/components/eui-tab.d.ts +0 -21
  854. package/declarations/components/eui-tab.d.ts.map +0 -1
  855. package/declarations/components/eui-tabbed-content.d.ts +0 -65
  856. package/declarations/components/eui-tabbed-content.d.ts.map +0 -1
  857. package/declarations/components/eui-tabs.d.ts +0 -18
  858. package/declarations/components/eui-tabs.d.ts.map +0 -1
  859. package/declarations/components/eui-text-align.d.ts +0 -13
  860. package/declarations/components/eui-text-align.d.ts.map +0 -1
  861. package/declarations/components/eui-text-area.d.ts +0 -22
  862. package/declarations/components/eui-text-area.d.ts.map +0 -1
  863. package/declarations/components/eui-text-color.d.ts +0 -14
  864. package/declarations/components/eui-text-color.d.ts.map +0 -1
  865. package/declarations/components/eui-text.d.ts +0 -19
  866. package/declarations/components/eui-text.d.ts.map +0 -1
  867. package/declarations/components/eui-title.d.ts +0 -17
  868. package/declarations/components/eui-title.d.ts.map +0 -1
  869. package/declarations/components/eui-toast.d.ts +0 -35
  870. package/declarations/components/eui-toast.d.ts.map +0 -1
  871. package/declarations/components/eui-tool-tip-popover.d.ts +0 -26
  872. package/declarations/components/eui-tool-tip-popover.d.ts.map +0 -1
  873. package/declarations/components/eui-tool-tip.d.ts +0 -108
  874. package/declarations/components/eui-tool-tip.d.ts.map +0 -1
  875. package/declarations/components/text-block.d.ts +0 -13
  876. package/declarations/components/text-block.d.ts.map +0 -1
  877. package/declarations/components.d.ts +0 -150
  878. package/declarations/components.d.ts.map +0 -1
  879. package/declarations/helpers/arg-or-default.d.ts +0 -21
  880. package/declarations/helpers/arg-or-default.d.ts.map +0 -1
  881. package/declarations/helpers/cast-to.d.ts +0 -14
  882. package/declarations/helpers/cast-to.d.ts.map +0 -1
  883. package/declarations/helpers/class-names.d.ts +0 -47
  884. package/declarations/helpers/class-names.d.ts.map +0 -1
  885. package/declarations/helpers/eui-page-restrict-width.d.ts +0 -30
  886. package/declarations/helpers/eui-page-restrict-width.d.ts.map +0 -1
  887. package/declarations/helpers/eui-palette.d.ts +0 -25
  888. package/declarations/helpers/eui-palette.d.ts.map +0 -1
  889. package/declarations/helpers/get-eui-config.d.ts +0 -14
  890. package/declarations/helpers/get-eui-config.d.ts.map +0 -1
  891. package/declarations/helpers/get-range-tick.d.ts +0 -21
  892. package/declarations/helpers/get-range-tick.d.ts.map +0 -1
  893. package/declarations/helpers/hex-to-rgb.d.ts +0 -10
  894. package/declarations/helpers/hex-to-rgb.d.ts.map +0 -1
  895. package/declarations/helpers/inline-styles.d.ts +0 -19
  896. package/declarations/helpers/inline-styles.d.ts.map +0 -1
  897. package/declarations/helpers/is-color-dark.d.ts +0 -10
  898. package/declarations/helpers/is-color-dark.d.ts.map +0 -1
  899. package/declarations/helpers/is-item-open.d.ts +0 -16
  900. package/declarations/helpers/is-item-open.d.ts.map +0 -1
  901. package/declarations/helpers/is-valid-hex.d.ts +0 -10
  902. package/declarations/helpers/is-valid-hex.d.ts.map +0 -1
  903. package/declarations/helpers/is-within-number.d.ts +0 -15
  904. package/declarations/helpers/is-within-number.d.ts.map +0 -1
  905. package/declarations/helpers/merge.d.ts +0 -9
  906. package/declarations/helpers/merge.d.ts.map +0 -1
  907. package/declarations/helpers/nullish.d.ts +0 -10
  908. package/declarations/helpers/nullish.d.ts.map +0 -1
  909. package/declarations/helpers/starts-with.d.ts +0 -10
  910. package/declarations/helpers/starts-with.d.ts.map +0 -1
  911. package/declarations/helpers/to-initials.d.ts +0 -11
  912. package/declarations/helpers/to-initials.d.ts.map +0 -1
  913. package/declarations/helpers/type-of.d.ts +0 -10
  914. package/declarations/helpers/type-of.d.ts.map +0 -1
  915. package/declarations/helpers/unique-id.d.ts +0 -10
  916. package/declarations/helpers/unique-id.d.ts.map +0 -1
  917. package/declarations/helpers/use-state.d.ts +0 -21
  918. package/declarations/helpers/use-state.d.ts.map +0 -1
  919. package/declarations/helpers.d.ts +0 -9
  920. package/declarations/helpers.d.ts.map +0 -1
  921. package/declarations/i18n/util.d.ts +0 -12
  922. package/declarations/i18n/util.d.ts.map +0 -1
  923. package/declarations/modifiers/mutation-observer.d.ts +0 -12
  924. package/declarations/modifiers/mutation-observer.d.ts.map +0 -1
  925. package/declarations/modifiers/open-collapsible-nav.d.ts +0 -9
  926. package/declarations/modifiers/open-collapsible-nav.d.ts.map +0 -1
  927. package/declarations/modifiers/outside-click-detector.d.ts +0 -38
  928. package/declarations/modifiers/outside-click-detector.d.ts.map +0 -1
  929. package/declarations/modifiers/resize-observer.d.ts +0 -36
  930. package/declarations/modifiers/resize-observer.d.ts.map +0 -1
  931. package/declarations/modifiers/screen-reader-only.d.ts +0 -9
  932. package/declarations/modifiers/screen-reader-only.d.ts.map +0 -1
  933. package/declarations/modifiers/simple-style.d.ts +0 -12
  934. package/declarations/modifiers/simple-style.d.ts.map +0 -1
  935. package/declarations/modifiers/use-is-within-breakpoints.d.ts +0 -15
  936. package/declarations/modifiers/use-is-within-breakpoints.d.ts.map +0 -1
  937. package/declarations/modifiers/validatable-control.d.ts +0 -9
  938. package/declarations/modifiers/validatable-control.d.ts.map +0 -1
  939. package/declarations/modifiers.d.ts +0 -8
  940. package/declarations/modifiers.d.ts.map +0 -1
  941. package/declarations/services/eui-config.d.ts +0 -15
  942. package/declarations/services/eui-config.d.ts.map +0 -1
  943. package/declarations/services/eui-i18n.d.ts +0 -24
  944. package/declarations/services/eui-i18n.d.ts.map +0 -1
  945. package/declarations/services/eui-toaster.d.ts +0 -15
  946. package/declarations/services/eui-toaster.d.ts.map +0 -1
  947. package/declarations/template-registry.d.ts +0 -476
  948. package/declarations/template-registry.d.ts.map +0 -1
  949. package/declarations/utils/accesibility/accessible-click-keys.d.ts +0 -5
  950. package/declarations/utils/accesibility/accessible-click-keys.d.ts.map +0 -1
  951. package/declarations/utils/accesibility/cascading-menu-keys.d.ts +0 -9
  952. package/declarations/utils/accesibility/cascading-menu-keys.d.ts.map +0 -1
  953. package/declarations/utils/accesibility/combo-box-keys.d.ts +0 -8
  954. package/declarations/utils/accesibility/combo-box-keys.d.ts.map +0 -1
  955. package/declarations/utils/accesibility/index.d.ts +0 -4
  956. package/declarations/utils/accesibility/index.d.ts.map +0 -1
  957. package/declarations/utils/breakpoint.d.ts +0 -50
  958. package/declarations/utils/breakpoint.d.ts.map +0 -1
  959. package/declarations/utils/browser/browser.d.ts +0 -6
  960. package/declarations/utils/browser/browser.d.ts.map +0 -1
  961. package/declarations/utils/browser/index.d.ts +0 -2
  962. package/declarations/utils/browser/index.d.ts.map +0 -1
  963. package/declarations/utils/code/utils.d.ts +0 -32
  964. package/declarations/utils/code/utils.d.ts.map +0 -1
  965. package/declarations/utils/color/color_palette.d.ts +0 -24
  966. package/declarations/utils/color/color_palette.d.ts.map +0 -1
  967. package/declarations/utils/color/eui_palettes.d.ts +0 -37
  968. package/declarations/utils/color/eui_palettes.d.ts.map +0 -1
  969. package/declarations/utils/color/index.d.ts +0 -6
  970. package/declarations/utils/color/index.d.ts.map +0 -1
  971. package/declarations/utils/copy-to-clipboard.d.ts +0 -2
  972. package/declarations/utils/copy-to-clipboard.d.ts.map +0 -1
  973. package/declarations/utils/css-mappings/eui-accordion.d.ts +0 -12
  974. package/declarations/utils/css-mappings/eui-accordion.d.ts.map +0 -1
  975. package/declarations/utils/css-mappings/eui-avatar.d.ts +0 -23
  976. package/declarations/utils/css-mappings/eui-avatar.d.ts.map +0 -1
  977. package/declarations/utils/css-mappings/eui-badge-group.d.ts +0 -8
  978. package/declarations/utils/css-mappings/eui-badge-group.d.ts.map +0 -1
  979. package/declarations/utils/css-mappings/eui-badge.d.ts +0 -31
  980. package/declarations/utils/css-mappings/eui-badge.d.ts.map +0 -1
  981. package/declarations/utils/css-mappings/eui-beta-badge.d.ts +0 -13
  982. package/declarations/utils/css-mappings/eui-beta-badge.d.ts.map +0 -1
  983. package/declarations/utils/css-mappings/eui-bottom-bar.d.ts +0 -4
  984. package/declarations/utils/css-mappings/eui-bottom-bar.d.ts.map +0 -1
  985. package/declarations/utils/css-mappings/eui-button-empty.d.ts +0 -22
  986. package/declarations/utils/css-mappings/eui-button-empty.d.ts.map +0 -1
  987. package/declarations/utils/css-mappings/eui-button-group-button.d.ts +0 -4
  988. package/declarations/utils/css-mappings/eui-button-group-button.d.ts.map +0 -1
  989. package/declarations/utils/css-mappings/eui-button-group.d.ts +0 -4
  990. package/declarations/utils/css-mappings/eui-button-group.d.ts.map +0 -1
  991. package/declarations/utils/css-mappings/eui-button-icon.d.ts +0 -23
  992. package/declarations/utils/css-mappings/eui-button-icon.d.ts.map +0 -1
  993. package/declarations/utils/css-mappings/eui-button.d.ts +0 -13
  994. package/declarations/utils/css-mappings/eui-button.d.ts.map +0 -1
  995. package/declarations/utils/css-mappings/eui-call-out.d.ts +0 -13
  996. package/declarations/utils/css-mappings/eui-call-out.d.ts.map +0 -1
  997. package/declarations/utils/css-mappings/eui-card-select.d.ts +0 -4
  998. package/declarations/utils/css-mappings/eui-card-select.d.ts.map +0 -1
  999. package/declarations/utils/css-mappings/eui-card.d.ts +0 -9
  1000. package/declarations/utils/css-mappings/eui-card.d.ts.map +0 -1
  1001. package/declarations/utils/css-mappings/eui-code-block.d.ts +0 -15
  1002. package/declarations/utils/css-mappings/eui-code-block.d.ts.map +0 -1
  1003. package/declarations/utils/css-mappings/eui-collapsible-nav-group.d.ts +0 -9
  1004. package/declarations/utils/css-mappings/eui-collapsible-nav-group.d.ts.map +0 -1
  1005. package/declarations/utils/css-mappings/eui-comment-event.d.ts +0 -4
  1006. package/declarations/utils/css-mappings/eui-comment-event.d.ts.map +0 -1
  1007. package/declarations/utils/css-mappings/eui-comment-timeline-icon.d.ts +0 -7
  1008. package/declarations/utils/css-mappings/eui-comment-timeline-icon.d.ts.map +0 -1
  1009. package/declarations/utils/css-mappings/eui-context-menu-item.d.ts +0 -15
  1010. package/declarations/utils/css-mappings/eui-context-menu-item.d.ts.map +0 -1
  1011. package/declarations/utils/css-mappings/eui-described-form-group.d.ts +0 -12
  1012. package/declarations/utils/css-mappings/eui-described-form-group.d.ts.map +0 -1
  1013. package/declarations/utils/css-mappings/eui-description-list.d.ts +0 -18
  1014. package/declarations/utils/css-mappings/eui-description-list.d.ts.map +0 -1
  1015. package/declarations/utils/css-mappings/eui-empty-prompt.d.ts +0 -10
  1016. package/declarations/utils/css-mappings/eui-empty-prompt.d.ts.map +0 -1
  1017. package/declarations/utils/css-mappings/eui-file-picker.d.ts +0 -8
  1018. package/declarations/utils/css-mappings/eui-file-picker.d.ts.map +0 -1
  1019. package/declarations/utils/css-mappings/eui-flex-grid.d.ts +0 -22
  1020. package/declarations/utils/css-mappings/eui-flex-grid.d.ts.map +0 -1
  1021. package/declarations/utils/css-mappings/eui-flex-group.d.ts +0 -33
  1022. package/declarations/utils/css-mappings/eui-flex-group.d.ts.map +0 -1
  1023. package/declarations/utils/css-mappings/eui-flex-item.d.ts +0 -17
  1024. package/declarations/utils/css-mappings/eui-flex-item.d.ts.map +0 -1
  1025. package/declarations/utils/css-mappings/eui-flyout.d.ts +0 -23
  1026. package/declarations/utils/css-mappings/eui-flyout.d.ts.map +0 -1
  1027. package/declarations/utils/css-mappings/eui-form-control-layout-clear-button.d.ts +0 -8
  1028. package/declarations/utils/css-mappings/eui-form-control-layout-clear-button.d.ts.map +0 -1
  1029. package/declarations/utils/css-mappings/eui-form-row.d.ts +0 -12
  1030. package/declarations/utils/css-mappings/eui-form-row.d.ts.map +0 -1
  1031. package/declarations/utils/css-mappings/eui-global-toast-list.d.ts +0 -8
  1032. package/declarations/utils/css-mappings/eui-global-toast-list.d.ts.map +0 -1
  1033. package/declarations/utils/css-mappings/eui-header-links.d.ts +0 -18
  1034. package/declarations/utils/css-mappings/eui-header-links.d.ts.map +0 -1
  1035. package/declarations/utils/css-mappings/eui-header-section-item.d.ts +0 -9
  1036. package/declarations/utils/css-mappings/eui-header-section-item.d.ts.map +0 -1
  1037. package/declarations/utils/css-mappings/eui-header-section.d.ts +0 -12
  1038. package/declarations/utils/css-mappings/eui-header-section.d.ts.map +0 -1
  1039. package/declarations/utils/css-mappings/eui-header.d.ts +0 -12
  1040. package/declarations/utils/css-mappings/eui-header.d.ts.map +0 -1
  1041. package/declarations/utils/css-mappings/eui-health.d.ts +0 -10
  1042. package/declarations/utils/css-mappings/eui-health.d.ts.map +0 -1
  1043. package/declarations/utils/css-mappings/eui-horizontal-rule.d.ts +0 -18
  1044. package/declarations/utils/css-mappings/eui-horizontal-rule.d.ts.map +0 -1
  1045. package/declarations/utils/css-mappings/eui-icon.d.ts +0 -494
  1046. package/declarations/utils/css-mappings/eui-icon.d.ts.map +0 -1
  1047. package/declarations/utils/css-mappings/eui-image.d.ts +0 -22
  1048. package/declarations/utils/css-mappings/eui-image.d.ts.map +0 -1
  1049. package/declarations/utils/css-mappings/eui-link.d.ts +0 -14
  1050. package/declarations/utils/css-mappings/eui-link.d.ts.map +0 -1
  1051. package/declarations/utils/css-mappings/eui-list-group-item.d.ts +0 -17
  1052. package/declarations/utils/css-mappings/eui-list-group-item.d.ts.map +0 -1
  1053. package/declarations/utils/css-mappings/eui-list-group.d.ts +0 -12
  1054. package/declarations/utils/css-mappings/eui-list-group.d.ts.map +0 -1
  1055. package/declarations/utils/css-mappings/eui-loading-spinner.d.ts +0 -10
  1056. package/declarations/utils/css-mappings/eui-loading-spinner.d.ts.map +0 -1
  1057. package/declarations/utils/css-mappings/eui-modal.d.ts +0 -7
  1058. package/declarations/utils/css-mappings/eui-modal.d.ts.map +0 -1
  1059. package/declarations/utils/css-mappings/eui-notification-badge.d.ts +0 -11
  1060. package/declarations/utils/css-mappings/eui-notification-badge.d.ts.map +0 -1
  1061. package/declarations/utils/css-mappings/eui-page-body.d.ts +0 -16
  1062. package/declarations/utils/css-mappings/eui-page-body.d.ts.map +0 -1
  1063. package/declarations/utils/css-mappings/eui-page-content-body.d.ts +0 -10
  1064. package/declarations/utils/css-mappings/eui-page-content-body.d.ts.map +0 -1
  1065. package/declarations/utils/css-mappings/eui-page-content.d.ts +0 -10
  1066. package/declarations/utils/css-mappings/eui-page-content.d.ts.map +0 -1
  1067. package/declarations/utils/css-mappings/eui-page-header.d.ts +0 -10
  1068. package/declarations/utils/css-mappings/eui-page-header.d.ts.map +0 -1
  1069. package/declarations/utils/css-mappings/eui-page-side-bar.d.ts +0 -10
  1070. package/declarations/utils/css-mappings/eui-page-side-bar.d.ts.map +0 -1
  1071. package/declarations/utils/css-mappings/eui-page.d.ts +0 -24
  1072. package/declarations/utils/css-mappings/eui-page.d.ts.map +0 -1
  1073. package/declarations/utils/css-mappings/eui-panel.d.ts +0 -24
  1074. package/declarations/utils/css-mappings/eui-panel.d.ts.map +0 -1
  1075. package/declarations/utils/css-mappings/eui-popover-footer.d.ts +0 -10
  1076. package/declarations/utils/css-mappings/eui-popover-footer.d.ts.map +0 -1
  1077. package/declarations/utils/css-mappings/eui-popover-title.d.ts +0 -10
  1078. package/declarations/utils/css-mappings/eui-popover-title.d.ts.map +0 -1
  1079. package/declarations/utils/css-mappings/eui-popover.d.ts +0 -22
  1080. package/declarations/utils/css-mappings/eui-popover.d.ts.map +0 -1
  1081. package/declarations/utils/css-mappings/eui-progress-data.d.ts +0 -3
  1082. package/declarations/utils/css-mappings/eui-progress-data.d.ts.map +0 -1
  1083. package/declarations/utils/css-mappings/eui-progress.d.ts +0 -50
  1084. package/declarations/utils/css-mappings/eui-progress.d.ts.map +0 -1
  1085. package/declarations/utils/css-mappings/eui-range-highlight.d.ts +0 -11
  1086. package/declarations/utils/css-mappings/eui-range-highlight.d.ts.map +0 -1
  1087. package/declarations/utils/css-mappings/eui-range-input.d.ts +0 -8
  1088. package/declarations/utils/css-mappings/eui-range-input.d.ts.map +0 -1
  1089. package/declarations/utils/css-mappings/eui-range-levels.d.ts +0 -13
  1090. package/declarations/utils/css-mappings/eui-range-levels.d.ts.map +0 -1
  1091. package/declarations/utils/css-mappings/eui-selectable-list-item.d.ts +0 -7
  1092. package/declarations/utils/css-mappings/eui-selectable-list-item.d.ts.map +0 -1
  1093. package/declarations/utils/css-mappings/eui-spacer.d.ts +0 -12
  1094. package/declarations/utils/css-mappings/eui-spacer.d.ts.map +0 -1
  1095. package/declarations/utils/css-mappings/eui-stat.d.ts +0 -17
  1096. package/declarations/utils/css-mappings/eui-stat.d.ts.map +0 -1
  1097. package/declarations/utils/css-mappings/eui-step-number.d.ts +0 -11
  1098. package/declarations/utils/css-mappings/eui-step-number.d.ts.map +0 -1
  1099. package/declarations/utils/css-mappings/eui-tabs.d.ts +0 -14
  1100. package/declarations/utils/css-mappings/eui-tabs.d.ts.map +0 -1
  1101. package/declarations/utils/css-mappings/eui-text-align.d.ts +0 -9
  1102. package/declarations/utils/css-mappings/eui-text-align.d.ts.map +0 -1
  1103. package/declarations/utils/css-mappings/eui-text-area.d.ts +0 -10
  1104. package/declarations/utils/css-mappings/eui-text-area.d.ts.map +0 -1
  1105. package/declarations/utils/css-mappings/eui-text-color.d.ts +0 -14
  1106. package/declarations/utils/css-mappings/eui-text-color.d.ts.map +0 -1
  1107. package/declarations/utils/css-mappings/eui-text.d.ts +0 -9
  1108. package/declarations/utils/css-mappings/eui-text.d.ts.map +0 -1
  1109. package/declarations/utils/css-mappings/eui-title.d.ts +0 -15
  1110. package/declarations/utils/css-mappings/eui-title.d.ts.map +0 -1
  1111. package/declarations/utils/css-mappings/eui-toast.d.ts +0 -11
  1112. package/declarations/utils/css-mappings/eui-toast.d.ts.map +0 -1
  1113. package/declarations/utils/css-mappings/eui-tool-tip.d.ts +0 -10
  1114. package/declarations/utils/css-mappings/eui-tool-tip.d.ts.map +0 -1
  1115. package/declarations/utils/css-mappings/index.d.ts +0 -3
  1116. package/declarations/utils/css-mappings/index.d.ts.map +0 -1
  1117. package/declarations/utils/detect-element-resize.d.ts +0 -17
  1118. package/declarations/utils/detect-element-resize.d.ts.map +0 -1
  1119. package/declarations/utils/index.d.ts +0 -3
  1120. package/declarations/utils/index.d.ts.map +0 -1
  1121. package/declarations/utils/keys.d.ts +0 -31
  1122. package/declarations/utils/keys.d.ts.map +0 -1
  1123. package/declarations/utils/markdown/markdown-actions.d.ts +0 -45
  1124. package/declarations/utils/markdown/markdown-actions.d.ts.map +0 -1
  1125. package/declarations/utils/markdown/markdown-modes.d.ts +0 -4
  1126. package/declarations/utils/markdown/markdown-modes.d.ts.map +0 -1
  1127. package/declarations/utils/markdown/markdown-types.d.ts +0 -100
  1128. package/declarations/utils/markdown/markdown-types.d.ts.map +0 -1
  1129. package/declarations/utils/markdown/plugins/markdown-add-components/index.d.ts +0 -3
  1130. package/declarations/utils/markdown/plugins/markdown-add-components/index.d.ts.map +0 -1
  1131. package/declarations/utils/markdown/plugins/markdown-add-components/processor.d.ts +0 -6
  1132. package/declarations/utils/markdown/plugins/markdown-add-components/processor.d.ts.map +0 -1
  1133. package/declarations/utils/markdown/plugins/markdown-checkbox/index.d.ts +0 -2
  1134. package/declarations/utils/markdown/plugins/markdown-checkbox/index.d.ts.map +0 -1
  1135. package/declarations/utils/markdown/plugins/markdown-checkbox/parser.d.ts +0 -3
  1136. package/declarations/utils/markdown/plugins/markdown-checkbox/parser.d.ts.map +0 -1
  1137. package/declarations/utils/markdown/plugins/markdown-default-plugins/index.d.ts +0 -5
  1138. package/declarations/utils/markdown/plugins/markdown-default-plugins/index.d.ts.map +0 -1
  1139. package/declarations/utils/markdown/plugins/markdown-default-plugins/parsing-plugins.d.ts +0 -7
  1140. package/declarations/utils/markdown/plugins/markdown-default-plugins/parsing-plugins.d.ts.map +0 -1
  1141. package/declarations/utils/markdown/plugins/markdown-default-plugins/plugins.d.ts +0 -11
  1142. package/declarations/utils/markdown/plugins/markdown-default-plugins/plugins.d.ts.map +0 -1
  1143. package/declarations/utils/markdown/plugins/markdown-default-plugins/processing-plugins.d.ts +0 -21
  1144. package/declarations/utils/markdown/plugins/markdown-default-plugins/processing-plugins.d.ts.map +0 -1
  1145. package/declarations/utils/markdown/plugins/markdown-default-plugins/ui-plugins.d.ts +0 -7
  1146. package/declarations/utils/markdown/plugins/markdown-default-plugins/ui-plugins.d.ts.map +0 -1
  1147. package/declarations/utils/markdown/plugins/markdown-tooltip/index.d.ts +0 -3
  1148. package/declarations/utils/markdown/plugins/markdown-tooltip/index.d.ts.map +0 -1
  1149. package/declarations/utils/markdown/plugins/markdown-tooltip/parser.d.ts +0 -3
  1150. package/declarations/utils/markdown/plugins/markdown-tooltip/parser.d.ts.map +0 -1
  1151. package/declarations/utils/markdown/plugins/markdown-tooltip/plugin.d.ts +0 -14
  1152. package/declarations/utils/markdown/plugins/markdown-tooltip/plugin.d.ts.map +0 -1
  1153. package/declarations/utils/markdown/plugins/to-dom.d.ts +0 -20
  1154. package/declarations/utils/markdown/plugins/to-dom.d.ts.map +0 -1
  1155. package/declarations/utils/markdown/remark/remark-prismjs.d.ts +0 -5
  1156. package/declarations/utils/markdown/remark/remark-prismjs.d.ts.map +0 -1
  1157. package/declarations/utils/maybe-unwrap-proxy.d.ts +0 -3
  1158. package/declarations/utils/maybe-unwrap-proxy.d.ts.map +0 -1
  1159. package/declarations/utils/number/index.d.ts +0 -2
  1160. package/declarations/utils/number/index.d.ts.map +0 -1
  1161. package/declarations/utils/number/number.d.ts +0 -3
  1162. package/declarations/utils/number/number.d.ts.map +0 -1
  1163. package/declarations/utils/popover/index.d.ts +0 -152
  1164. package/declarations/utils/popover/index.d.ts.map +0 -1
  1165. package/declarations/utils/popover/types.d.ts +0 -2
  1166. package/declarations/utils/popover/types.d.ts.map +0 -1
  1167. package/declarations/utils/predicate/common_predicates.d.ts +0 -6
  1168. package/declarations/utils/predicate/common_predicates.d.ts.map +0 -1
  1169. package/declarations/utils/predicate/index.d.ts +0 -3
  1170. package/declarations/utils/predicate/index.d.ts.map +0 -1
  1171. package/declarations/utils/predicate/lodash_predicates.d.ts +0 -8
  1172. package/declarations/utils/predicate/lodash_predicates.d.ts.map +0 -1
  1173. package/declarations/utils/range/index.d.ts +0 -2
  1174. package/declarations/utils/range/index.d.ts.map +0 -1
  1175. package/declarations/utils/timer.d.ts +0 -13
  1176. package/declarations/utils/timer.d.ts.map +0 -1
  1177. package/declarations/utils/transition.d.ts +0 -8
  1178. package/declarations/utils/transition.d.ts.map +0 -1
  1179. package/dist/_rollupPluginBabelHelpers-9wjJaosZ.js +0 -63
  1180. package/dist/_rollupPluginBabelHelpers-9wjJaosZ.js.map +0 -1
@@ -1,6 +1,3 @@
1
- import { _ as _applyDecoratedDescriptor, a as _initializerDefineProperty, b as _defineProperty } from '../_rollupPluginBabelHelpers-9wjJaosZ.js';
2
- import { setComponentTemplate } from '@ember/component';
3
- import { precompileTemplate } from '@ember/template-compilation';
4
1
  import Component from '@glimmer/component';
5
2
  import { tracked } from '@glimmer/tracking';
6
3
  import { assert } from '@ember/debug';
@@ -29,42 +26,41 @@ import { findPopoverPosition, getElementZIndex } from '../utils/popover/index.js
29
26
  import { getTransitionTimings, getWaitDuration, performOnFrame } from '../utils/transition.js';
30
27
  import EuiPanel from './eui-panel.js';
31
28
  import EuiPortal from './eui-portal.js';
29
+ import { precompileTemplate } from '@ember/template-compilation';
30
+ import { setComponentTemplate } from '@ember/component';
31
+ import { g, i, n } from 'decorator-transforms/runtime';
32
32
 
33
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20;
34
33
  const anchorPositionToPopoverPositionMap = {
35
34
  up: 'top',
36
35
  right: 'right',
37
36
  down: 'bottom',
38
37
  left: 'left'
39
38
  };
40
- function getPopoverPositionFromAnchorPosition(anchorPosition) {
39
+ function getPopoverPositionFromAnchorPosition(anchorPosition1) {
41
40
  // maps the anchor position to the matching popover position
42
41
  // e.g. "upLeft" -> "top", "downRight" -> "bottom"
43
-
44
42
  // extract the first positional word from anchorPosition:
45
43
  // starts at the beginning (" ^ ") of anchorPosition and
46
44
  // captures all of the characters (" (.*?) ") until the
47
45
  // first capital letter (" [A-Z] ") is encountered
48
- const match = anchorPosition.match(/^(.*?)[A-Z]/);
49
- if (match?.length && match.length > 1) {
50
- return anchorPositionToPopoverPositionMap[match[1]];
46
+ const match1 = anchorPosition1.match(/^(.*?)[A-Z]/);
47
+ if (match1?.length && match1.length > 1) {
48
+ return anchorPositionToPopoverPositionMap[match1[1]];
51
49
  }
52
50
  return anchorPositionToPopoverPositionMap['up'];
53
51
  }
54
- function getPopoverAlignFromAnchorPosition(anchorPosition) {
52
+ function getPopoverAlignFromAnchorPosition(anchorPosition1) {
55
53
  // maps the gravity to the matching popover position
56
54
  // e.g. "upLeft" -> "left", "rightDown" -> "bottom"
57
-
58
55
  // extract the second positional word from anchorPosition:
59
56
  // starts a capture group at the first capital letter
60
57
  // and includes everything after it
61
- const match = anchorPosition.match(/([A-Z].*)/);
62
-
58
+ const match1 = anchorPosition1.match(/([A-Z].*)/);
63
59
  // this performs two tasks:
64
60
  // 1. normalizes the align position by lowercasing it
65
61
  // 2. `center` doesn't exist in the lookup map which converts it to `undefined` meaning no align
66
- if (match?.length && match.length > 1) {
67
- return anchorPositionToPopoverPositionMap[match[1]?.toLowerCase()];
62
+ if (match1?.length && match1.length > 1) {
63
+ return anchorPositionToPopoverPositionMap[match1[1]?.toLowerCase()];
68
64
  }
69
65
  return anchorPositionToPopoverPositionMap['left'];
70
66
  }
@@ -74,192 +70,123 @@ const DEFAULT_POPOVER_STYLES = {
74
70
  top: 50,
75
71
  left: 50
76
72
  };
77
- function getElementFromInitialFocus(initialFocus) {
78
- const initialFocusType = typeof initialFocus;
79
- if (initialFocusType === 'string') {
80
- return document.querySelector(initialFocus);
73
+ function getElementFromInitialFocus(initialFocus1) {
74
+ const initialFocusType1 = typeof initialFocus1;
75
+ if (initialFocusType1 === 'string') {
76
+ return document.querySelector(initialFocus1);
81
77
  }
82
- if (initialFocusType === 'function') {
83
- return initialFocus();
78
+ if (initialFocusType1 === 'function') {
79
+ return initialFocus1();
84
80
  }
85
- return initialFocus;
81
+ return initialFocus1;
86
82
  }
87
- let EuiPopoverComponent = setComponentTemplate(precompileTemplate(`
88
- {{#let
89
- (randomId)
90
- (classNames
91
- (if this.isOpening "euiPopover-isOpen")
92
- position=this.anchorPosition
93
- display=this.display
94
- componentName="EuiPopover"
95
- )
96
- (classNames
97
- "euiPopover__panel"
98
- (concat "euiPopover__panel--" this.arrowPosition)
99
- (if this.isOpening "euiPopover__panel-isOpen")
100
- (if
101
- (or (not this.hasArrow) @attachToAnchor) "euiPopover__panel-noArrow"
102
- )
103
- (if @attachToAnchor "euiPopover__panel-isAttached")
104
- @panelClasses
105
- )
106
- as |descriptionId classes panelClasses|
107
- }}
108
- <div
109
- class={{classes}}
110
- {{onKey "_all" this.onKeyDown priority=1}}
111
- {{didInsert this.didInsertPopover}}
112
- {{didUpdate this.didUpdateIsOpen @isOpen}}
113
- {{didUpdate this.didUpdateRepositionOnScroll @repositionOnScroll}}
114
- {{didInsert (optional @popoverRef)}}
115
- ...attributes
116
- >
117
-
118
- {{! button }}
119
- <div
120
- class="euiPopover__anchor {{@anchorClassName}}"
121
- {{didInsert this.registerButton}}
122
- >
123
- {{yield to="button"}}
124
- </div>
125
-
126
- {{! content }}
127
- {{#if
128
- (and
129
- (not this.suppressingPopover)
130
- (or this.isCurrentlyOpen this.isClosing)
131
- )
132
- }}
133
- <EuiPortal @insert={{@insert}}>
134
- {{#let (randomId) as |panelId|}}
135
- <EuiPanel
136
- id={{panelId}}
137
- class={{panelClasses}}
138
- aria-live={{if this.ownFocus "off" "assertive"}}
139
- role="dialog"
140
- aria-label={{@ariaLabel}}
141
- aria-labelledby={{@ariaLabelledBy}}
142
- aria-modal="true"
143
- aria-describedby={{if this.ownFocus descriptionId}}
144
- tabindex={{this.tabindex}}
145
- @hasShadow={{false}}
146
- @paddingSize={{this.panelPaddingSize}}
147
- {{simpleStyle this._popoverStyles}}
148
- {{didInsert this.registerPanel}}
149
- {{outsideClickDetector onOutsideClick=this.onClickOutside}}
150
- {{onKey "Escape" this.onEscapeKey}}
151
- {{focusTrap
152
- isActive=(not
153
- (or
154
- (not this.ownFocus) (not this.isOpenStable) this.isClosing
155
- )
156
- )
157
- shouldSelfFocus=this.shouldSelfFocus
158
- isPaused=this.isFocusTrapPaused
159
- focusTrapOptions=(merge
160
- (hash
161
- returnFocusOnDeactivate=this.isOpenStable
162
- initialFocus=(or @initialFocus this.panel)
163
- onDeactivate=(optional @onTrapDeactivation)
164
- preventScroll=true
165
- clickOutsideDeactivates=true
166
- fallbackFocus=(concat "#" panelId)
167
- )
168
- @focusTrapOptions
169
- )
170
- }}
171
- >
172
- <div
173
- class={{concat
174
- "euiPopover__panelArrow euiPopover__panelArrow--"
175
- this.arrowPosition
176
- }}
177
- style={{this._arrowStyles}}
178
- >
179
- {{yield to="arrowChildren"}}
180
- </div>
181
- {{#if this.ownFocus}}
182
- <p id={{descriptionId}} {{screenReaderOnly}}>
183
- You are in a dialog. To close this dialog, hit escape.
184
- </p>
185
- {{/if}}
186
- <div
187
- {{mutationObserver
188
- onMutation=this.onMutation
189
- observerOptions=(merge
190
- (hash
191
- attributes=true
192
- childList=true
193
- characterData=true
194
- subtree=true
195
- )
196
- @mutationObserverOptions
197
- )
198
- }}
199
- >
200
- {{yield to="content"}}
201
- </div>
202
- </EuiPanel>
203
- {{/let}}
204
- </EuiPortal>
205
- {{/if}}
206
-
207
- </div>
208
- {{/let}}
209
- `, {
210
- strictMode: true,
211
- scope: () => ({
212
- randomId,
213
- classNames,
214
- concat,
215
- or,
216
- not,
217
- onKey,
218
- didInsert,
219
- didUpdate,
220
- optional,
221
- and,
222
- EuiPortal,
223
- EuiPanel,
224
- simpleStyle,
225
- outsideClickDetector: OutsideClickDetector,
226
- focusTrap,
227
- merge,
228
- hash,
229
- screenReaderOnly,
230
- mutationObserver
231
- })
232
- }), (_dec = argOrDefaultDecorator(false), _dec2 = argOrDefaultDecorator(true), _dec3 = argOrDefaultDecorator('downCenter'), _dec4 = argOrDefaultDecorator('m'), _dec5 = argOrDefaultDecorator(true), _dec6 = argOrDefaultDecorator('inlineBlock'), _dec7 = argOrDefaultDecorator(true), _dec8 = argOrDefaultDecorator(false), (_class = class EuiPopoverComponent extends Component {
233
- constructor(owner, args) {
234
- super(owner, args);
235
- // Defaults
236
- _initializerDefineProperty(this, "isOpen", _descriptor, this);
237
- _initializerDefineProperty(this, "ownFocus", _descriptor2, this);
238
- _initializerDefineProperty(this, "anchorPosition", _descriptor3, this);
239
- _initializerDefineProperty(this, "panelPaddingSize", _descriptor4, this);
240
- _initializerDefineProperty(this, "hasArrow", _descriptor5, this);
241
- _initializerDefineProperty(this, "display", _descriptor6, this);
242
- _initializerDefineProperty(this, "shouldSelfFocus", _descriptor7, this);
243
- _initializerDefineProperty(this, "isFocusTrapPaused", _descriptor8, this);
244
- //State
245
- _initializerDefineProperty(this, "prevIsOpen", _descriptor9, this);
246
- _initializerDefineProperty(this, "suppressingPopover", _descriptor10, this);
247
- _initializerDefineProperty(this, "isClosing", _descriptor11, this);
248
- _initializerDefineProperty(this, "isOpening", _descriptor12, this);
249
- _initializerDefineProperty(this, "popoverStyles", _descriptor13, this);
250
- _initializerDefineProperty(this, "arrowStyles", _descriptor14, this);
251
- _initializerDefineProperty(this, "arrowPosition", _descriptor15, this);
252
- _initializerDefineProperty(this, "openPosition", _descriptor16, this);
253
- _initializerDefineProperty(this, "isOpenStable", _descriptor17, this);
254
- _initializerDefineProperty(this, "isCurrentlyOpen", _descriptor18, this);
255
- ///
256
- _defineProperty(this, "respositionTimeout", null);
257
- _defineProperty(this, "closingTransitionTimeout", null);
258
- _defineProperty(this, "closingTransitionAnimationFrame", void 0);
259
- _defineProperty(this, "updateFocusAnimationFrame", void 0);
260
- _defineProperty(this, "hasSetInitialFocus", false);
261
- _initializerDefineProperty(this, "button", _descriptor19, this);
262
- _initializerDefineProperty(this, "panel", _descriptor20, this);
83
+ class EuiPopoverComponent extends Component {
84
+ static {
85
+ g(this.prototype, "isOpen", [argOrDefaultDecorator(false)]);
86
+ }
87
+ #isOpen = (i(this, "isOpen"), void 0); // Defaults
88
+ static {
89
+ g(this.prototype, "ownFocus", [argOrDefaultDecorator(true)]);
90
+ }
91
+ #ownFocus = (i(this, "ownFocus"), void 0);
92
+ static {
93
+ g(this.prototype, "anchorPosition", [argOrDefaultDecorator('downCenter')]);
94
+ }
95
+ #anchorPosition = (i(this, "anchorPosition"), void 0);
96
+ static {
97
+ g(this.prototype, "panelPaddingSize", [argOrDefaultDecorator('m')]);
98
+ }
99
+ #panelPaddingSize = (i(this, "panelPaddingSize"), void 0);
100
+ static {
101
+ g(this.prototype, "hasArrow", [argOrDefaultDecorator(true)]);
102
+ }
103
+ #hasArrow = (i(this, "hasArrow"), void 0);
104
+ static {
105
+ g(this.prototype, "display", [argOrDefaultDecorator('inlineBlock')]);
106
+ }
107
+ #display = (i(this, "display"), void 0);
108
+ static {
109
+ g(this.prototype, "shouldSelfFocus", [argOrDefaultDecorator(true)]);
110
+ }
111
+ #shouldSelfFocus = (i(this, "shouldSelfFocus"), void 0);
112
+ static {
113
+ g(this.prototype, "isFocusTrapPaused", [argOrDefaultDecorator(false)]);
114
+ }
115
+ #isFocusTrapPaused = (i(this, "isFocusTrapPaused"), void 0);
116
+ static {
117
+ g(this.prototype, "prevIsOpen", [tracked]);
118
+ }
119
+ #prevIsOpen = (i(this, "prevIsOpen"), void 0); //State
120
+ static {
121
+ g(this.prototype, "suppressingPopover", [tracked]);
122
+ }
123
+ #suppressingPopover = (i(this, "suppressingPopover"), void 0);
124
+ static {
125
+ g(this.prototype, "isClosing", [tracked], function () {
126
+ return false;
127
+ });
128
+ }
129
+ #isClosing = (i(this, "isClosing"), void 0);
130
+ static {
131
+ g(this.prototype, "isOpening", [tracked], function () {
132
+ return false;
133
+ });
134
+ }
135
+ #isOpening = (i(this, "isOpening"), void 0);
136
+ static {
137
+ g(this.prototype, "popoverStyles", [tracked], function () {
138
+ return {};
139
+ });
140
+ }
141
+ #popoverStyles = (i(this, "popoverStyles"), void 0);
142
+ static {
143
+ g(this.prototype, "arrowStyles", [tracked], function () {
144
+ return {};
145
+ });
146
+ }
147
+ #arrowStyles = (i(this, "arrowStyles"), void 0);
148
+ static {
149
+ g(this.prototype, "arrowPosition", [tracked], function () {
150
+ return null;
151
+ });
152
+ }
153
+ #arrowPosition = (i(this, "arrowPosition"), void 0);
154
+ static {
155
+ g(this.prototype, "openPosition", [tracked], function () {
156
+ return null;
157
+ });
158
+ }
159
+ #openPosition = (i(this, "openPosition"), void 0);
160
+ static {
161
+ g(this.prototype, "isOpenStable", [tracked], function () {
162
+ return false;
163
+ });
164
+ }
165
+ #isOpenStable = (i(this, "isOpenStable"), void 0);
166
+ static {
167
+ g(this.prototype, "isCurrentlyOpen", [tracked]);
168
+ }
169
+ #isCurrentlyOpen = (i(this, "isCurrentlyOpen"), void 0);
170
+ ///
171
+ respositionTimeout = null;
172
+ closingTransitionTimeout = null;
173
+ closingTransitionAnimationFrame;
174
+ updateFocusAnimationFrame;
175
+ hasSetInitialFocus = false;
176
+ static {
177
+ g(this.prototype, "button", [tracked], function () {
178
+ return null;
179
+ });
180
+ }
181
+ #button = (i(this, "button"), void 0);
182
+ static {
183
+ g(this.prototype, "panel", [tracked], function () {
184
+ return null;
185
+ });
186
+ }
187
+ #panel = (i(this, "panel"), void 0);
188
+ constructor(owner1, args1) {
189
+ super(owner1, args1);
263
190
  assert(`Must provide closePopover function`, this.args.closePopover);
264
191
  this.prevIsOpen = this.isOpen;
265
192
  this.suppressingPopover = this.isOpen;
@@ -270,80 +197,89 @@ let EuiPopoverComponent = setComponentTemplate(precompileTemplate(`
270
197
  this.args.closePopover();
271
198
  }
272
199
  }
273
- onEscapeKey(event, ekEvent) {
200
+ static {
201
+ n(this.prototype, "closePopover", [action]);
202
+ }
203
+ onEscapeKey(event1, ekEvent1) {
274
204
  if (this.isOpen) {
275
- ekEvent?.stopPropagation();
276
- ekEvent?.stopImmediatePropagation();
277
- event.preventDefault();
278
- event.stopPropagation();
205
+ ekEvent1?.stopPropagation();
206
+ ekEvent1?.stopImmediatePropagation();
207
+ event1.preventDefault();
208
+ event1.stopPropagation();
279
209
  this.closePopover();
280
210
  }
281
211
  }
282
- onKeyDown(event, ekEvent) {
283
- if (event.key === cascadingMenuKeys.ESCAPE) {
284
- this.onEscapeKey(event, ekEvent);
212
+ static {
213
+ n(this.prototype, "onEscapeKey", [action]);
214
+ }
215
+ onKeyDown(event1, ekEvent1) {
216
+ if (event1.key === cascadingMenuKeys.ESCAPE) {
217
+ this.onEscapeKey(event1, ekEvent1);
285
218
  }
286
219
  }
287
- onClickOutside(event) {
220
+ static {
221
+ n(this.prototype, "onKeyDown", [action]);
222
+ }
223
+ onClickOutside(event1) {
288
224
  if (this.args.focusTrapOptions?.onClickOutside) {
289
- this.args.focusTrapOptions.onClickOutside(event);
225
+ this.args.focusTrapOptions.onClickOutside(event1);
290
226
  } else {
291
227
  // only close the popover if the event source isn't the anchor button
292
228
  // otherwise, it is up to the anchor to toggle the popover's open status
293
- if (this.button && this.button.contains(event.target) === false) {
229
+ if (this.button && this.button.contains(event1.target) === false) {
294
230
  this.closePopover();
295
231
  }
296
232
  }
297
233
  }
234
+ static {
235
+ n(this.prototype, "onClickOutside", [action]);
236
+ }
298
237
  updateFocus() {
299
238
  // Wait for the DOM to update.
300
239
  this.updateFocusAnimationFrame = window.requestAnimationFrame(() => {
301
240
  if (!this.ownFocus || !this.panel || this.args.initialFocus === false) {
302
241
  return;
303
242
  }
304
-
305
243
  // If we've already focused on something inside the panel, everything's fine.
306
244
  if (this.hasSetInitialFocus && this.panel.contains(document.activeElement)) {
307
245
  return;
308
246
  }
309
-
310
247
  // Otherwise let's focus the first tabbable item and expedite input from the user.
311
- let focusTarget;
248
+ let focusTarget1;
312
249
  if (this.args.initialFocus != null) {
313
- focusTarget = getElementFromInitialFocus(this.args.initialFocus);
250
+ focusTarget1 = getElementFromInitialFocus(this.args.initialFocus);
314
251
  } else {
315
- const tabbableItems = tabbable(this.panel);
316
- if (tabbableItems.length) {
317
- focusTarget = tabbableItems[0];
252
+ const tabbableItems1 = tabbable(this.panel);
253
+ if (tabbableItems1.length) {
254
+ focusTarget1 = tabbableItems1[0];
318
255
  }
319
256
  }
320
-
321
257
  // there's a race condition between the popover content becoming visible and this function call
322
258
  // if the element isn't visible yet (due to css styling) then it can't accept focus
323
259
  // so wait for another render and try again
324
- if (focusTarget == null) {
260
+ if (focusTarget1 == null) {
325
261
  // there isn't a focus target, one of two reasons:
326
262
  // #1 is the whole panel hidden? If so, schedule another check
327
263
  // #2 panel is visible but no tabbables exist, move focus to the panel
328
- const panelVisibility = window.getComputedStyle(this.panel).opacity;
329
- if (panelVisibility === '0') {
264
+ const panelVisibility1 = window.getComputedStyle(this.panel).opacity;
265
+ if (panelVisibility1 === '0') {
330
266
  // #1
331
267
  this.updateFocus();
332
268
  } else {
333
269
  // #2
334
- focusTarget = this.panel;
270
+ focusTarget1 = this.panel;
335
271
  }
336
272
  } else {
337
273
  // found an element to focus, but is it visible?
338
- const visibility = window.getComputedStyle(focusTarget).visibility;
339
- if (visibility === 'hidden') {
274
+ const visibility1 = window.getComputedStyle(focusTarget1).visibility;
275
+ if (visibility1 === 'hidden') {
340
276
  // not visible, check again next render frame
341
277
  this.updateFocus();
342
278
  }
343
279
  }
344
- if (focusTarget != null) {
280
+ if (focusTarget1 != null) {
345
281
  this.hasSetInitialFocus = true;
346
- focusTarget.focus();
282
+ focusTarget1.focus();
347
283
  }
348
284
  });
349
285
  }
@@ -354,19 +290,18 @@ let EuiPopoverComponent = setComponentTemplate(precompileTemplate(`
354
290
  this.closingTransitionAnimationFrame = window.requestAnimationFrame(() => {
355
291
  this.isOpening = true;
356
292
  });
357
-
358
293
  // for each child element of `this.panel`, find any transition duration we should wait for before stabilizing
359
294
  const {
360
- durationMatch,
361
- delayMatch
295
+ durationMatch: durationMatch1,
296
+ delayMatch: delayMatch1
362
297
  } = Array.prototype.slice.call(this.panel ? this.panel.children : []).reduce(({
363
- durationMatch,
364
- delayMatch
365
- }, element) => {
366
- const transitionTimings = getTransitionTimings(element);
298
+ durationMatch: durationMatch1,
299
+ delayMatch: delayMatch1
300
+ }, element1) => {
301
+ const transitionTimings1 = getTransitionTimings(element1);
367
302
  return {
368
- durationMatch: Math.max(durationMatch, transitionTimings.durationMatch),
369
- delayMatch: Math.max(delayMatch, transitionTimings.delayMatch)
303
+ durationMatch: Math.max(durationMatch1, transitionTimings1.durationMatch),
304
+ delayMatch: Math.max(delayMatch1, transitionTimings1.delayMatch)
370
305
  };
371
306
  }, {
372
307
  durationMatch: 0,
@@ -374,12 +309,15 @@ let EuiPopoverComponent = setComponentTemplate(precompileTemplate(`
374
309
  });
375
310
  this.respositionTimeout = later(this, () => {
376
311
  this.isOpenStable = true;
377
- const fn = () => {
312
+ const fn1 = () => {
378
313
  this.positionPopoverFixed();
379
314
  this.updateFocus();
380
315
  };
381
- scheduleOnce('afterRender', this, fn);
382
- }, durationMatch + delayMatch);
316
+ scheduleOnce('afterRender', this, fn1);
317
+ }, durationMatch1 + delayMatch1);
318
+ }
319
+ static {
320
+ n(this.prototype, "onOpenPopover", [action]);
383
321
  }
384
322
  didInsertPopover() {
385
323
  if (this.suppressingPopover) {
@@ -387,14 +325,17 @@ let EuiPopoverComponent = setComponentTemplate(precompileTemplate(`
387
325
  // stop suppressing and start opening
388
326
  this.suppressingPopover = false;
389
327
  this.isOpening = true;
390
- const fn = () => this.onOpenPopover();
391
- scheduleOnce('afterRender', this, fn);
328
+ const fn1 = () => this.onOpenPopover();
329
+ scheduleOnce('afterRender', this, fn1);
392
330
  }
393
331
  if (this.args.repositionOnScroll) {
394
332
  window.addEventListener('scroll', this.positionPopoverFixed, true);
395
333
  }
396
334
  this.updateFocus();
397
335
  }
336
+ static {
337
+ n(this.prototype, "didInsertPopover", [action]);
338
+ }
398
339
  didUpdateRepositionOnScroll() {
399
340
  if (this.args.repositionOnScroll) {
400
341
  window.addEventListener('scroll', this.positionPopoverFixed, true);
@@ -402,6 +343,9 @@ let EuiPopoverComponent = setComponentTemplate(precompileTemplate(`
402
343
  window.removeEventListener('scroll', this.positionPopoverFixed, true);
403
344
  }
404
345
  }
346
+ static {
347
+ n(this.prototype, "didUpdateRepositionOnScroll", [action]);
348
+ }
405
349
  didUpdateIsOpen() {
406
350
  this.isCurrentlyOpen = this.isOpen;
407
351
  if (!this.prevIsOpen && this.args.isOpen) {
@@ -418,6 +362,9 @@ let EuiPopoverComponent = setComponentTemplate(precompileTemplate(`
418
362
  }
419
363
  this.prevIsOpen = this.args.isOpen;
420
364
  }
365
+ static {
366
+ n(this.prototype, "didUpdateIsOpen", [action]);
367
+ }
421
368
  willDestroy() {
422
369
  super.willDestroy();
423
370
  window.removeEventListener('scroll', this.positionPopoverFixed, true);
@@ -426,29 +373,32 @@ let EuiPopoverComponent = setComponentTemplate(precompileTemplate(`
426
373
  cancelAnimationFrame(this.closingTransitionAnimationFrame);
427
374
  cancelAnimationFrame(this.updateFocusAnimationFrame);
428
375
  }
429
- onMutation(records) {
430
- const waitDuration = getWaitDuration(records);
376
+ onMutation(records1) {
377
+ const waitDuration1 = getWaitDuration(records1);
431
378
  this.positionPopoverFixed();
432
- performOnFrame(waitDuration, this.positionPopoverFixed);
379
+ performOnFrame(waitDuration1, this.positionPopoverFixed);
380
+ }
381
+ static {
382
+ n(this.prototype, "onMutation", [action]);
433
383
  }
434
- positionPopover(allowEnforcePosition) {
384
+ positionPopover(allowEnforcePosition1) {
435
385
  if (this.button == null || this.panel == null) return;
436
- let position = getPopoverPositionFromAnchorPosition(this.anchorPosition);
437
- let forcePosition = undefined;
438
- if (allowEnforcePosition && this.isOpenStable && this.openPosition != null) {
439
- position = this.openPosition;
440
- forcePosition = true;
386
+ let position1 = getPopoverPositionFromAnchorPosition(this.anchorPosition);
387
+ let forcePosition1 = undefined;
388
+ if (allowEnforcePosition1 && this.isOpenStable && this.openPosition != null) {
389
+ position1 = this.openPosition;
390
+ forcePosition1 = true;
441
391
  }
442
392
  const {
443
- top,
444
- left,
445
- position: foundPosition,
446
- arrow,
447
- anchorBoundingBox
393
+ top: top1,
394
+ left: left1,
395
+ position: foundPosition1,
396
+ arrow: arrow1,
397
+ anchorBoundingBox: anchorBoundingBox1
448
398
  } = findPopoverPosition({
449
399
  container: this.args.container,
450
- position,
451
- forcePosition,
400
+ position: position1,
401
+ forcePosition: forcePosition1,
452
402
  align: getPopoverAlignFromAnchorPosition(this.anchorPosition),
453
403
  anchor: this.button,
454
404
  popover: this.panel,
@@ -460,45 +410,47 @@ let EuiPopoverComponent = setComponentTemplate(precompileTemplate(`
460
410
  returnBoundingBox: this.args.attachToAnchor,
461
411
  buffer: this.args.buffer
462
412
  });
463
-
464
413
  // the popover's z-index must inherit from the button
465
414
  // this keeps a button's popover under a flyout that would cover the button
466
415
  // but a popover triggered inside a flyout will appear over that flyout
467
416
  const {
468
- zIndex: zIndexProp
417
+ zIndex: zIndexProp1
469
418
  } = this.args;
470
- const zIndex = zIndexProp == null ? getElementZIndex(this.button, this.panel) + 2000 : zIndexProp;
471
- const popoverStyles = {
472
- top,
473
- left: this.args.attachToAnchor && anchorBoundingBox ? anchorBoundingBox.left : left,
474
- zIndex
419
+ const zIndex1 = zIndexProp1 == null ? getElementZIndex(this.button, this.panel) + 2000 : zIndexProp1;
420
+ const popoverStyles1 = {
421
+ top: top1,
422
+ left: this.args.attachToAnchor && anchorBoundingBox1 ? anchorBoundingBox1.left : left1,
423
+ zIndex: zIndex1
475
424
  };
476
- const willRenderArrow = !this.args.attachToAnchor && this.hasArrow;
477
- const arrowStyles = willRenderArrow ? arrow : undefined;
478
- const arrowPosition = foundPosition;
479
- this.popoverStyles = popoverStyles;
480
- this.arrowStyles = arrowStyles;
481
- this.arrowPosition = arrowPosition;
482
- this.openPosition = foundPosition;
425
+ const willRenderArrow1 = !this.args.attachToAnchor && this.hasArrow;
426
+ const arrowStyles1 = willRenderArrow1 ? arrow1 : undefined;
427
+ const arrowPosition1 = foundPosition1;
428
+ this.popoverStyles = popoverStyles1;
429
+ this.arrowStyles = arrowStyles1;
430
+ this.arrowPosition = arrowPosition1;
431
+ this.openPosition = foundPosition1;
432
+ }
433
+ static {
434
+ n(this.prototype, "positionPopover", [action]);
483
435
  }
484
436
  get _arrowStyles() {
485
437
  const {
486
- arrowStyles
438
+ arrowStyles: arrowStyles1
487
439
  } = this;
488
- return arrowStyles ? htmlSafe(`top: ${arrowStyles?.top}px; left: ${arrowStyles?.left}px;`) : undefined;
440
+ return arrowStyles1 ? htmlSafe(`top: ${arrowStyles1?.top}px; left: ${arrowStyles1?.left}px;`) : undefined;
489
441
  }
490
442
  get _popoverStyles() {
491
443
  const {
492
- panelStyle
444
+ panelStyle: panelStyle1
493
445
  } = this.args;
494
446
  const {
495
- popoverStyles
447
+ popoverStyles: popoverStyles1
496
448
  } = this;
497
449
  return {
498
- ...panelStyle,
499
- top: `${popoverStyles.top}px`,
500
- left: `${popoverStyles.left}px`,
501
- zIndex: `${popoverStyles.zIndex}`
450
+ ...panelStyle1,
451
+ top: `${popoverStyles1.top}px`,
452
+ left: `${popoverStyles1.left}px`,
453
+ zIndex: `${popoverStyles1.zIndex}`
502
454
  };
503
455
  }
504
456
  get tabindex() {
@@ -510,17 +462,26 @@ let EuiPopoverComponent = setComponentTemplate(precompileTemplate(`
510
462
  positionPopoverFixed() {
511
463
  this.positionPopover(true);
512
464
  }
465
+ static {
466
+ n(this.prototype, "positionPopoverFixed", [action]);
467
+ }
513
468
  positionPopoverFluid() {
514
469
  this.positionPopover(false);
515
470
  }
516
- registerButton(btn) {
517
- this.button = btn;
518
- this.args.buttonRef?.(btn);
471
+ static {
472
+ n(this.prototype, "positionPopoverFluid", [action]);
473
+ }
474
+ registerButton(btn1) {
475
+ this.button = btn1;
476
+ this.args.buttonRef?.(btn1);
519
477
  }
520
- registerPanel(panel) {
521
- this.panel = panel;
522
- this.args.panelRef?.(panel);
523
- if (panel === null) {
478
+ static {
479
+ n(this.prototype, "registerButton", [action]);
480
+ }
481
+ registerPanel(panel1) {
482
+ this.panel = panel1;
483
+ this.args.panelRef?.(panel1);
484
+ if (panel1 === null) {
524
485
  // panel has unmounted, restore the state defaults
525
486
  this.popoverStyles = DEFAULT_POPOVER_STYLES;
526
487
  this.arrowStyles = {};
@@ -534,125 +495,36 @@ let EuiPopoverComponent = setComponentTemplate(precompileTemplate(`
534
495
  window.addEventListener('resize', this.positionPopoverFluid);
535
496
  }
536
497
  }
537
- }, (_descriptor = _applyDecoratedDescriptor(_class.prototype, "isOpen", [_dec], {
538
- configurable: true,
539
- enumerable: true,
540
- writable: true,
541
- initializer: null
542
- }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, "ownFocus", [_dec2], {
543
- configurable: true,
544
- enumerable: true,
545
- writable: true,
546
- initializer: null
547
- }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, "anchorPosition", [_dec3], {
548
- configurable: true,
549
- enumerable: true,
550
- writable: true,
551
- initializer: null
552
- }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, "panelPaddingSize", [_dec4], {
553
- configurable: true,
554
- enumerable: true,
555
- writable: true,
556
- initializer: null
557
- }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, "hasArrow", [_dec5], {
558
- configurable: true,
559
- enumerable: true,
560
- writable: true,
561
- initializer: null
562
- }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, "display", [_dec6], {
563
- configurable: true,
564
- enumerable: true,
565
- writable: true,
566
- initializer: null
567
- }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, "shouldSelfFocus", [_dec7], {
568
- configurable: true,
569
- enumerable: true,
570
- writable: true,
571
- initializer: null
572
- }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, "isFocusTrapPaused", [_dec8], {
573
- configurable: true,
574
- enumerable: true,
575
- writable: true,
576
- initializer: null
577
- }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, "prevIsOpen", [tracked], {
578
- configurable: true,
579
- enumerable: true,
580
- writable: true,
581
- initializer: null
582
- }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, "suppressingPopover", [tracked], {
583
- configurable: true,
584
- enumerable: true,
585
- writable: true,
586
- initializer: null
587
- }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, "isClosing", [tracked], {
588
- configurable: true,
589
- enumerable: true,
590
- writable: true,
591
- initializer: function () {
592
- return false;
593
- }
594
- }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, "isOpening", [tracked], {
595
- configurable: true,
596
- enumerable: true,
597
- writable: true,
598
- initializer: function () {
599
- return false;
600
- }
601
- }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, "popoverStyles", [tracked], {
602
- configurable: true,
603
- enumerable: true,
604
- writable: true,
605
- initializer: function () {
606
- return {};
607
- }
608
- }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, "arrowStyles", [tracked], {
609
- configurable: true,
610
- enumerable: true,
611
- writable: true,
612
- initializer: function () {
613
- return {};
614
- }
615
- }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, "arrowPosition", [tracked], {
616
- configurable: true,
617
- enumerable: true,
618
- writable: true,
619
- initializer: function () {
620
- return null;
621
- }
622
- }), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, "openPosition", [tracked], {
623
- configurable: true,
624
- enumerable: true,
625
- writable: true,
626
- initializer: function () {
627
- return null;
628
- }
629
- }), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, "isOpenStable", [tracked], {
630
- configurable: true,
631
- enumerable: true,
632
- writable: true,
633
- initializer: function () {
634
- return false;
635
- }
636
- }), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, "isCurrentlyOpen", [tracked], {
637
- configurable: true,
638
- enumerable: true,
639
- writable: true,
640
- initializer: null
641
- }), _descriptor19 = _applyDecoratedDescriptor(_class.prototype, "button", [tracked], {
642
- configurable: true,
643
- enumerable: true,
644
- writable: true,
645
- initializer: function () {
646
- return null;
647
- }
648
- }), _descriptor20 = _applyDecoratedDescriptor(_class.prototype, "panel", [tracked], {
649
- configurable: true,
650
- enumerable: true,
651
- writable: true,
652
- initializer: function () {
653
- return null;
654
- }
655
- }), _applyDecoratedDescriptor(_class.prototype, "closePopover", [action], Object.getOwnPropertyDescriptor(_class.prototype, "closePopover"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "onEscapeKey", [action], Object.getOwnPropertyDescriptor(_class.prototype, "onEscapeKey"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "onKeyDown", [action], Object.getOwnPropertyDescriptor(_class.prototype, "onKeyDown"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "onClickOutside", [action], Object.getOwnPropertyDescriptor(_class.prototype, "onClickOutside"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "onOpenPopover", [action], Object.getOwnPropertyDescriptor(_class.prototype, "onOpenPopover"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "didInsertPopover", [action], Object.getOwnPropertyDescriptor(_class.prototype, "didInsertPopover"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "didUpdateRepositionOnScroll", [action], Object.getOwnPropertyDescriptor(_class.prototype, "didUpdateRepositionOnScroll"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "didUpdateIsOpen", [action], Object.getOwnPropertyDescriptor(_class.prototype, "didUpdateIsOpen"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "onMutation", [action], Object.getOwnPropertyDescriptor(_class.prototype, "onMutation"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "positionPopover", [action], Object.getOwnPropertyDescriptor(_class.prototype, "positionPopover"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "positionPopoverFixed", [action], Object.getOwnPropertyDescriptor(_class.prototype, "positionPopoverFixed"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "positionPopoverFluid", [action], Object.getOwnPropertyDescriptor(_class.prototype, "positionPopoverFluid"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "registerButton", [action], Object.getOwnPropertyDescriptor(_class.prototype, "registerButton"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, "registerPanel", [action], Object.getOwnPropertyDescriptor(_class.prototype, "registerPanel"), _class.prototype)), _class)));
498
+ static {
499
+ n(this.prototype, "registerPanel", [action]);
500
+ }
501
+ static {
502
+ setComponentTemplate(precompileTemplate("\n {{#let (randomId) (classNames (if this.isOpening \"euiPopover-isOpen\") position=this.anchorPosition display=this.display componentName=\"EuiPopover\") (classNames \"euiPopover__panel\" (concat \"euiPopover__panel--\" this.arrowPosition) (if this.isOpening \"euiPopover__panel-isOpen\") (if (or (not this.hasArrow) @attachToAnchor) \"euiPopover__panel-noArrow\") (if @attachToAnchor \"euiPopover__panel-isAttached\") @panelClasses) as |descriptionId classes panelClasses|}}\n <div class={{classes}} {{onKey \"_all\" this.onKeyDown priority=1}} {{didInsert this.didInsertPopover}} {{didUpdate this.didUpdateIsOpen @isOpen}} {{didUpdate this.didUpdateRepositionOnScroll @repositionOnScroll}} {{didInsert (optional @popoverRef)}} ...attributes>\n\n {{!-- button --}}\n <div class=\"euiPopover__anchor {{@anchorClassName}}\" {{didInsert this.registerButton}}>\n {{yield to=\"button\"}}\n </div>\n\n {{!-- content --}}\n {{#if (and (not this.suppressingPopover) (or this.isCurrentlyOpen this.isClosing))}}\n <EuiPortal @insert={{@insert}}>\n {{#let (randomId) as |panelId|}}\n <EuiPanel id={{panelId}} class={{panelClasses}} aria-live={{if this.ownFocus \"off\" \"assertive\"}} role=\"dialog\" aria-label={{@ariaLabel}} aria-labelledby={{@ariaLabelledBy}} aria-modal=\"true\" aria-describedby={{if this.ownFocus descriptionId}} tabindex={{this.tabindex}} @hasShadow={{false}} @paddingSize={{this.panelPaddingSize}} {{simpleStyle this._popoverStyles}} {{didInsert this.registerPanel}} {{outsideClickDetector onOutsideClick=this.onClickOutside}} {{onKey \"Escape\" this.onEscapeKey}} {{focusTrap isActive=(not (or (not this.ownFocus) (not this.isOpenStable) this.isClosing)) shouldSelfFocus=this.shouldSelfFocus isPaused=this.isFocusTrapPaused focusTrapOptions=(merge (hash returnFocusOnDeactivate=this.isOpenStable initialFocus=(or @initialFocus this.panel) onDeactivate=(optional @onTrapDeactivation) preventScroll=true clickOutsideDeactivates=true fallbackFocus=(concat \"#\" panelId)) @focusTrapOptions)}}>\n <div class={{concat \"euiPopover__panelArrow euiPopover__panelArrow--\" this.arrowPosition}} style={{this._arrowStyles}}>\n {{yield to=\"arrowChildren\"}}\n </div>\n {{#if this.ownFocus}}\n <p id={{descriptionId}} {{screenReaderOnly}}>\n You are in a dialog. To close this dialog, hit escape.\n </p>\n {{/if}}\n <div {{mutationObserver onMutation=this.onMutation observerOptions=(merge (hash attributes=true childList=true characterData=true subtree=true) @mutationObserverOptions)}}>\n {{yield to=\"content\"}}\n </div>\n </EuiPanel>\n {{/let}}\n </EuiPortal>\n {{/if}}\n\n </div>\n {{/let}}\n ", {
503
+ strictMode: true,
504
+ scope: () => ({
505
+ randomId,
506
+ classNames,
507
+ concat,
508
+ or,
509
+ not,
510
+ onKey,
511
+ didInsert,
512
+ didUpdate,
513
+ optional,
514
+ and,
515
+ EuiPortal,
516
+ EuiPanel,
517
+ simpleStyle,
518
+ outsideClickDetector: OutsideClickDetector,
519
+ focusTrap,
520
+ merge,
521
+ hash,
522
+ screenReaderOnly,
523
+ mutationObserver
524
+ })
525
+ }), this);
526
+ }
527
+ }
656
528
 
657
529
  export { ANCHOR_POSITIONS, DISPLAY, EuiPopoverComponent as default, getPopoverAlignFromAnchorPosition, getPopoverPositionFromAnchorPosition };
658
530
  //# sourceMappingURL=eui-popover.js.map