@ember-eui/core 11.0.3 → 12.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 (542) hide show
  1. package/README.md +9 -7
  2. package/declarations/-private/random-id.d.ts +0 -1
  3. package/declarations/-private/random-id.d.ts.map +1 -1
  4. package/declarations/components/eui-accordion.d.ts +2 -1
  5. package/declarations/components/eui-accordion.d.ts.map +1 -1
  6. package/declarations/components/eui-breadcrumbs.d.ts +2 -1
  7. package/declarations/components/eui-breadcrumbs.d.ts.map +1 -1
  8. package/declarations/components/eui-code-block/virtualized.d.ts +1 -1
  9. package/declarations/components/eui-code-block.d.ts +2 -1
  10. package/declarations/components/eui-code-block.d.ts.map +1 -1
  11. package/declarations/components/eui-code.d.ts +2 -1
  12. package/declarations/components/eui-code.d.ts.map +1 -1
  13. package/declarations/components/eui-combo-box/options.d.ts +1 -1
  14. package/declarations/components/eui-combo-box/options.d.ts.map +1 -1
  15. package/declarations/components/eui-combo-box/trigger/input.d.ts +1 -1
  16. package/declarations/components/eui-combo-box/trigger/input.d.ts.map +1 -1
  17. package/declarations/components/eui-combo-box.d.ts +1 -0
  18. package/declarations/components/eui-combo-box.d.ts.map +1 -1
  19. package/declarations/components/eui-form-control-layout-custom-icon.d.ts +1 -1
  20. package/declarations/components/eui-global-toast-list.d.ts +2 -1
  21. package/declarations/components/eui-global-toast-list.d.ts.map +1 -1
  22. package/declarations/components/eui-hide-for.d.ts.map +1 -1
  23. package/declarations/components/eui-i18n.d.ts +1 -1
  24. package/declarations/components/eui-icon.d.ts +1 -0
  25. package/declarations/components/eui-icon.d.ts.map +1 -1
  26. package/declarations/components/eui-markdown-editor-toolbar.d.ts +1 -1
  27. package/declarations/components/eui-markdown-editor.d.ts +3 -2
  28. package/declarations/components/eui-markdown-editor.d.ts.map +1 -1
  29. package/declarations/components/eui-page-header-content.d.ts +1 -1
  30. package/declarations/components/eui-popover.d.ts +2 -1
  31. package/declarations/components/eui-popover.d.ts.map +1 -1
  32. package/declarations/components/eui-portal.d.ts +2 -1
  33. package/declarations/components/eui-portal.d.ts.map +1 -1
  34. package/declarations/components/eui-range-track.d.ts +1 -1
  35. package/declarations/components/eui-show-for.d.ts +1 -1
  36. package/declarations/components/eui-show-for.d.ts.map +1 -1
  37. package/declarations/components/eui-super-date-picker/date-popover/absolute-tab.d.ts +2 -1
  38. package/declarations/components/eui-super-date-picker/date-popover/absolute-tab.d.ts.map +1 -1
  39. package/declarations/components/eui-super-date-picker/date-popover/datetime-picker.d.ts +2 -1
  40. package/declarations/components/eui-super-date-picker/date-popover/datetime-picker.d.ts.map +1 -1
  41. package/declarations/components/eui-super-date-picker/date-popover/eui-date-popover-content.d.ts +1 -1
  42. package/declarations/components/eui-super-date-picker/date-popover/relative-tab.d.ts +2 -1
  43. package/declarations/components/eui-super-date-picker/date-popover/relative-tab.d.ts.map +1 -1
  44. package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.d.ts +2 -1
  45. package/declarations/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.d.ts.map +1 -1
  46. package/declarations/components/eui-tabbed-content.d.ts +2 -1
  47. package/declarations/components/eui-tabbed-content.d.ts.map +1 -1
  48. package/declarations/components/eui-tool-tip-popover.d.ts +2 -1
  49. package/declarations/components/eui-tool-tip-popover.d.ts.map +1 -1
  50. package/declarations/components.d.ts +148 -148
  51. package/declarations/helpers/arg-or-default.d.ts +1 -1
  52. package/declarations/helpers/eui-page-restrict-width.d.ts +1 -1
  53. package/declarations/helpers/eui-palette.d.ts +1 -1
  54. package/declarations/helpers/get-range-tick.d.ts +2 -2
  55. package/declarations/helpers/hex-to-rgb.d.ts +1 -1
  56. package/declarations/helpers/is-color-dark.d.ts +1 -1
  57. package/declarations/helpers/is-item-open.d.ts +1 -1
  58. package/declarations/helpers/is-valid-hex.d.ts +1 -1
  59. package/declarations/helpers/nullish.d.ts +1 -1
  60. package/declarations/helpers/starts-with.d.ts +1 -1
  61. package/declarations/helpers/to-initials.d.ts +1 -1
  62. package/declarations/helpers/type-of.d.ts +3 -3
  63. package/declarations/helpers/type-of.d.ts.map +1 -1
  64. package/declarations/helpers/use-state.d.ts +1 -1
  65. package/declarations/modifiers/screen-reader-only.d.ts +1 -1
  66. package/declarations/modifiers/simple-style.d.ts +1 -1
  67. package/declarations/modifiers/validatable-control.d.ts +1 -1
  68. package/declarations/utils/markdown/markdown-modes.d.ts.map +1 -1
  69. package/dist/-private/random-id.js.map +1 -1
  70. package/dist/components/common.js.map +1 -1
  71. package/dist/components/eui-accordion.js +14 -14
  72. package/dist/components/eui-accordion.js.map +1 -1
  73. package/dist/components/eui-auto-sizer.js +31 -31
  74. package/dist/components/eui-auto-sizer.js.map +1 -1
  75. package/dist/components/eui-avatar.js +2 -2
  76. package/dist/components/eui-avatar.js.map +1 -1
  77. package/dist/components/eui-badge-group.js.map +1 -1
  78. package/dist/components/eui-badge.js +1 -1
  79. package/dist/components/eui-badge.js.map +1 -1
  80. package/dist/components/eui-beta-badge.js +1 -1
  81. package/dist/components/eui-beta-badge.js.map +1 -1
  82. package/dist/components/eui-bottom-bar.js +13 -13
  83. package/dist/components/eui-bottom-bar.js.map +1 -1
  84. package/dist/components/eui-breadcrumbs.js +40 -42
  85. package/dist/components/eui-breadcrumbs.js.map +1 -1
  86. package/dist/components/eui-button-content.js.map +1 -1
  87. package/dist/components/eui-button-empty.js +1 -1
  88. package/dist/components/eui-button-empty.js.map +1 -1
  89. package/dist/components/eui-button-group-button.js +1 -1
  90. package/dist/components/eui-button-group-button.js.map +1 -1
  91. package/dist/components/eui-button-group.js +1 -1
  92. package/dist/components/eui-button-group.js.map +1 -1
  93. package/dist/components/eui-button-icon.js +1 -1
  94. package/dist/components/eui-button-icon.js.map +1 -1
  95. package/dist/components/eui-button.js +2 -2
  96. package/dist/components/eui-button.js.map +1 -1
  97. package/dist/components/eui-call-out.js +1 -1
  98. package/dist/components/eui-call-out.js.map +1 -1
  99. package/dist/components/eui-card-select.js +8 -8
  100. package/dist/components/eui-card-select.js.map +1 -1
  101. package/dist/components/eui-card.js +6 -6
  102. package/dist/components/eui-card.js.map +1 -1
  103. package/dist/components/eui-checkable-card.js.map +1 -1
  104. package/dist/components/eui-checkbox-group.js +1 -1
  105. package/dist/components/eui-checkbox-group.js.map +1 -1
  106. package/dist/components/eui-checkbox.js +4 -4
  107. package/dist/components/eui-checkbox.js.map +1 -1
  108. package/dist/components/eui-code-block/controls.js.map +1 -1
  109. package/dist/components/eui-code-block/full-screen-display.js.map +1 -1
  110. package/dist/components/eui-code-block/virtualized.js +9 -9
  111. package/dist/components/eui-code-block/virtualized.js.map +1 -1
  112. package/dist/components/eui-code-block.js +71 -71
  113. package/dist/components/eui-code-block.js.map +1 -1
  114. package/dist/components/eui-code.js +16 -16
  115. package/dist/components/eui-code.js.map +1 -1
  116. package/dist/components/eui-collapsible-nav-group.js +1 -1
  117. package/dist/components/eui-collapsible-nav-group.js.map +1 -1
  118. package/dist/components/eui-collapsible-nav.js +21 -22
  119. package/dist/components/eui-collapsible-nav.js.map +1 -1
  120. package/dist/components/eui-combo-box/create-option.js +9 -9
  121. package/dist/components/eui-combo-box/create-option.js.map +1 -1
  122. package/dist/components/eui-combo-box/group.js.map +1 -1
  123. package/dist/components/eui-combo-box/no-matches-message.js.map +1 -1
  124. package/dist/components/eui-combo-box/options.js +16 -16
  125. package/dist/components/eui-combo-box/options.js.map +1 -1
  126. package/dist/components/eui-combo-box/search-message.js.map +1 -1
  127. package/dist/components/eui-combo-box/trigger/input.js +21 -22
  128. package/dist/components/eui-combo-box/trigger/input.js.map +1 -1
  129. package/dist/components/eui-combo-box/trigger.js +3 -3
  130. package/dist/components/eui-combo-box/trigger.js.map +1 -1
  131. package/dist/components/eui-combo-box-pill.js +1 -1
  132. package/dist/components/eui-combo-box-pill.js.map +1 -1
  133. package/dist/components/eui-combo-box.js +59 -60
  134. package/dist/components/eui-combo-box.js.map +1 -1
  135. package/dist/components/eui-comment-list.js.map +1 -1
  136. package/dist/components/eui-comment-timeline.js +1 -1
  137. package/dist/components/eui-comment-timeline.js.map +1 -1
  138. package/dist/components/eui-comment.js +1 -1
  139. package/dist/components/eui-comment.js.map +1 -1
  140. package/dist/components/eui-confirm-modal.js.map +1 -1
  141. package/dist/components/eui-context-menu-item.js +4 -4
  142. package/dist/components/eui-context-menu-item.js.map +1 -1
  143. package/dist/components/eui-context-menu-panel.js.map +1 -1
  144. package/dist/components/eui-copy.js +3 -3
  145. package/dist/components/eui-copy.js.map +1 -1
  146. package/dist/components/eui-described-form-group.js.map +1 -1
  147. package/dist/components/eui-description-list-description.js.map +1 -1
  148. package/dist/components/eui-description-list-title.js.map +1 -1
  149. package/dist/components/eui-description-list.js.map +1 -1
  150. package/dist/components/eui-dual-range.js +110 -110
  151. package/dist/components/eui-dual-range.js.map +1 -1
  152. package/dist/components/eui-empty-prompt.js +1 -1
  153. package/dist/components/eui-empty-prompt.js.map +1 -1
  154. package/dist/components/eui-field-number.js +1 -1
  155. package/dist/components/eui-field-number.js.map +1 -1
  156. package/dist/components/eui-field-password.js +1 -1
  157. package/dist/components/eui-field-password.js.map +1 -1
  158. package/dist/components/eui-field-search.js +26 -26
  159. package/dist/components/eui-field-search.js.map +1 -1
  160. package/dist/components/eui-field-text.js +1 -1
  161. package/dist/components/eui-field-text.js.map +1 -1
  162. package/dist/components/eui-file-picker.js +16 -16
  163. package/dist/components/eui-file-picker.js.map +1 -1
  164. package/dist/components/eui-flex-grid.js.map +1 -1
  165. package/dist/components/eui-flex-group.js.map +1 -1
  166. package/dist/components/eui-flex-item.js.map +1 -1
  167. package/dist/components/eui-flyout-body.js.map +1 -1
  168. package/dist/components/eui-flyout-footer.js.map +1 -1
  169. package/dist/components/eui-flyout-header.js.map +1 -1
  170. package/dist/components/eui-flyout.js +35 -36
  171. package/dist/components/eui-flyout.js.map +1 -1
  172. package/dist/components/eui-form-control-layout-clear-button.js.map +1 -1
  173. package/dist/components/eui-form-control-layout-custom-icon.js.map +1 -1
  174. package/dist/components/eui-form-control-layout-delimited.js +1 -1
  175. package/dist/components/eui-form-control-layout-delimited.js.map +1 -1
  176. package/dist/components/eui-form-control-layout-icons.js +1 -1
  177. package/dist/components/eui-form-control-layout-icons.js.map +1 -1
  178. package/dist/components/eui-form-control-layout.js +1 -1
  179. package/dist/components/eui-form-control-layout.js.map +1 -1
  180. package/dist/components/eui-form-error-text.js.map +1 -1
  181. package/dist/components/eui-form-fieldset.js.map +1 -1
  182. package/dist/components/eui-form-help-text.js.map +1 -1
  183. package/dist/components/eui-form-label.js.map +1 -1
  184. package/dist/components/eui-form-legend.js.map +1 -1
  185. package/dist/components/eui-form-row.js +4 -4
  186. package/dist/components/eui-form-row.js.map +1 -1
  187. package/dist/components/eui-form.js +1 -1
  188. package/dist/components/eui-form.js.map +1 -1
  189. package/dist/components/eui-global-toast-list.js +43 -43
  190. package/dist/components/eui-global-toast-list.js.map +1 -1
  191. package/dist/components/eui-header-alert.js.map +1 -1
  192. package/dist/components/eui-header-breadcrumbs.js.map +1 -1
  193. package/dist/components/eui-header-link.js.map +1 -1
  194. package/dist/components/eui-header-links.js +1 -1
  195. package/dist/components/eui-header-links.js.map +1 -1
  196. package/dist/components/eui-header-logo.js.map +1 -1
  197. package/dist/components/eui-header-section-item-button.js +6 -6
  198. package/dist/components/eui-header-section-item-button.js.map +1 -1
  199. package/dist/components/eui-header-section-item.js.map +1 -1
  200. package/dist/components/eui-header-section.js.map +1 -1
  201. package/dist/components/eui-header.js +2 -2
  202. package/dist/components/eui-header.js.map +1 -1
  203. package/dist/components/eui-health.js.map +1 -1
  204. package/dist/components/eui-hide-for.js.map +1 -1
  205. package/dist/components/eui-horizontal-rule.js.map +1 -1
  206. package/dist/components/eui-i18n/render.js.map +1 -1
  207. package/dist/components/eui-i18n.js +3 -3
  208. package/dist/components/eui-i18n.js.map +1 -1
  209. package/dist/components/eui-icon-tip.js.map +1 -1
  210. package/dist/components/eui-icon.js +43 -37
  211. package/dist/components/eui-icon.js.map +1 -1
  212. package/dist/components/eui-image.js +8 -8
  213. package/dist/components/eui-image.js.map +1 -1
  214. package/dist/components/eui-inner-text.js +11 -11
  215. package/dist/components/eui-inner-text.js.map +1 -1
  216. package/dist/components/eui-input-popover.js +32 -32
  217. package/dist/components/eui-input-popover.js.map +1 -1
  218. package/dist/components/eui-key-pad-menu-item.js +3 -3
  219. package/dist/components/eui-key-pad-menu-item.js.map +1 -1
  220. package/dist/components/eui-key-pad-menu.js.map +1 -1
  221. package/dist/components/eui-link.js +1 -1
  222. package/dist/components/eui-link.js.map +1 -1
  223. package/dist/components/eui-list-group-item.js +4 -1
  224. package/dist/components/eui-list-group-item.js.map +1 -1
  225. package/dist/components/eui-list-group.js +1 -1
  226. package/dist/components/eui-list-group.js.map +1 -1
  227. package/dist/components/eui-loading-content.js +1 -1
  228. package/dist/components/eui-loading-content.js.map +1 -1
  229. package/dist/components/eui-loading-logo.js.map +1 -1
  230. package/dist/components/eui-loading-spinner.js.map +1 -1
  231. package/dist/components/eui-markdown-editor-drop-zone.js.map +1 -1
  232. package/dist/components/eui-markdown-editor-footer/icons/markdown-logo.js.map +1 -1
  233. package/dist/components/eui-markdown-editor-footer.js +3 -3
  234. package/dist/components/eui-markdown-editor-footer.js.map +1 -1
  235. package/dist/components/eui-markdown-editor-text-area.js.map +1 -1
  236. package/dist/components/eui-markdown-editor-toolbar/icons/markdown-checkmark.js.map +1 -1
  237. package/dist/components/eui-markdown-editor-toolbar.js +9 -11
  238. package/dist/components/eui-markdown-editor-toolbar.js.map +1 -1
  239. package/dist/components/eui-markdown-editor.js +115 -117
  240. package/dist/components/eui-markdown-editor.js.map +1 -1
  241. package/dist/components/eui-markdown-format/markdown-checkbox.js +7 -7
  242. package/dist/components/eui-markdown-format/markdown-checkbox.js.map +1 -1
  243. package/dist/components/eui-markdown-format/markdown-code-block.js.map +1 -1
  244. package/dist/components/eui-markdown-format/markdown-code.js.map +1 -1
  245. package/dist/components/eui-markdown-format/markdown-tooltip.js.map +1 -1
  246. package/dist/components/eui-markdown-format.js +14 -16
  247. package/dist/components/eui-markdown-format.js.map +1 -1
  248. package/dist/components/eui-modal-body.js.map +1 -1
  249. package/dist/components/eui-modal-footer.js.map +1 -1
  250. package/dist/components/eui-modal-header-title.js.map +1 -1
  251. package/dist/components/eui-modal-header.js.map +1 -1
  252. package/dist/components/eui-modal.js +1 -1
  253. package/dist/components/eui-modal.js.map +1 -1
  254. package/dist/components/eui-notification-badge.js.map +1 -1
  255. package/dist/components/eui-notification-event-messages.js.map +1 -1
  256. package/dist/components/eui-notification-event-meta.js +1 -1
  257. package/dist/components/eui-notification-event-meta.js.map +1 -1
  258. package/dist/components/eui-notification-event-read-button.js.map +1 -1
  259. package/dist/components/eui-notification-event-read-icon.js.map +1 -1
  260. package/dist/components/eui-notification-event.js +1 -1
  261. package/dist/components/eui-notification-event.js.map +1 -1
  262. package/dist/components/eui-overlay-mask.js +6 -6
  263. package/dist/components/eui-overlay-mask.js.map +1 -1
  264. package/dist/components/eui-page-body.js.map +1 -1
  265. package/dist/components/eui-page-content-body.js.map +1 -1
  266. package/dist/components/eui-page-content-header-section.js.map +1 -1
  267. package/dist/components/eui-page-content-header.js.map +1 -1
  268. package/dist/components/eui-page-content.js.map +1 -1
  269. package/dist/components/eui-page-header-content.js +4 -4
  270. package/dist/components/eui-page-header-content.js.map +1 -1
  271. package/dist/components/eui-page-header-section.js.map +1 -1
  272. package/dist/components/eui-page-header.js +1 -1
  273. package/dist/components/eui-page-header.js.map +1 -1
  274. package/dist/components/eui-page-side-bar.js.map +1 -1
  275. package/dist/components/eui-page-template.js +12 -12
  276. package/dist/components/eui-page-template.js.map +1 -1
  277. package/dist/components/eui-page.js.map +1 -1
  278. package/dist/components/eui-pagination/button-wrapper.js.map +1 -1
  279. package/dist/components/eui-pagination/next-button.js +1 -1
  280. package/dist/components/eui-pagination/next-button.js.map +1 -1
  281. package/dist/components/eui-pagination/previous-button.js +1 -1
  282. package/dist/components/eui-pagination/previous-button.js.map +1 -1
  283. package/dist/components/eui-pagination-button.js.map +1 -1
  284. package/dist/components/eui-pagination.js +39 -39
  285. package/dist/components/eui-pagination.js.map +1 -1
  286. package/dist/components/eui-panel.js +1 -1
  287. package/dist/components/eui-panel.js.map +1 -1
  288. package/dist/components/eui-popover-footer.js.map +1 -1
  289. package/dist/components/eui-popover-title.js.map +1 -1
  290. package/dist/components/eui-popover.js +126 -126
  291. package/dist/components/eui-popover.js.map +1 -1
  292. package/dist/components/eui-portal.js +8 -8
  293. package/dist/components/eui-portal.js.map +1 -1
  294. package/dist/components/eui-progress.js +1 -1
  295. package/dist/components/eui-progress.js.map +1 -1
  296. package/dist/components/eui-radio-group.js +2 -2
  297. package/dist/components/eui-radio-group.js.map +1 -1
  298. package/dist/components/eui-radio.js +1 -1
  299. package/dist/components/eui-radio.js.map +1 -1
  300. package/dist/components/eui-range-highlight.js.map +1 -1
  301. package/dist/components/eui-range-input.js +1 -1
  302. package/dist/components/eui-range-input.js.map +1 -1
  303. package/dist/components/eui-range-label.js.map +1 -1
  304. package/dist/components/eui-range-levels.js +7 -7
  305. package/dist/components/eui-range-levels.js.map +1 -1
  306. package/dist/components/eui-range-slider.js.map +1 -1
  307. package/dist/components/eui-range-thumb.js.map +1 -1
  308. package/dist/components/eui-range-ticks.js +6 -6
  309. package/dist/components/eui-range-ticks.js.map +1 -1
  310. package/dist/components/eui-range-tooltip.js +20 -20
  311. package/dist/components/eui-range-tooltip.js.map +1 -1
  312. package/dist/components/eui-range-track.js +49 -49
  313. package/dist/components/eui-range-track.js.map +1 -1
  314. package/dist/components/eui-range-wrapper.js.map +1 -1
  315. package/dist/components/eui-range.js +26 -26
  316. package/dist/components/eui-range.js.map +1 -1
  317. package/dist/components/eui-select.js +1 -1
  318. package/dist/components/eui-select.js.map +1 -1
  319. package/dist/components/eui-selectable-list-item.js +1 -1
  320. package/dist/components/eui-selectable-list-item.js.map +1 -1
  321. package/dist/components/eui-show-for.js +8 -8
  322. package/dist/components/eui-show-for.js.map +1 -1
  323. package/dist/components/eui-side-nav-item/button.js.map +1 -1
  324. package/dist/components/eui-side-nav-item.js +1 -1
  325. package/dist/components/eui-side-nav-item.js.map +1 -1
  326. package/dist/components/eui-side-nav.js +4 -4
  327. package/dist/components/eui-side-nav.js.map +1 -1
  328. package/dist/components/eui-spacer.js.map +1 -1
  329. package/dist/components/eui-split-panel/inner.js.map +1 -1
  330. package/dist/components/eui-split-panel/outer.js +1 -1
  331. package/dist/components/eui-split-panel/outer.js.map +1 -1
  332. package/dist/components/eui-stat/description.js +1 -0
  333. package/dist/components/eui-stat/description.js.map +1 -1
  334. package/dist/components/eui-stat/title.js.map +1 -1
  335. package/dist/components/eui-stat.js +5 -5
  336. package/dist/components/eui-stat.js.map +1 -1
  337. package/dist/components/eui-step-horizontal.js.map +1 -1
  338. package/dist/components/eui-step-number.js +1 -1
  339. package/dist/components/eui-step-number.js.map +1 -1
  340. package/dist/components/eui-step.js.map +1 -1
  341. package/dist/components/eui-steps-horizontal.js.map +1 -1
  342. package/dist/components/eui-steps.js.map +1 -1
  343. package/dist/components/eui-sub-steps.js.map +1 -1
  344. package/dist/components/eui-super-date-picker/date-popover/absolute-tab.js +27 -27
  345. package/dist/components/eui-super-date-picker/date-popover/absolute-tab.js.map +1 -1
  346. package/dist/components/eui-super-date-picker/date-popover/datetime-picker.js +73 -73
  347. package/dist/components/eui-super-date-picker/date-popover/datetime-picker.js.map +1 -1
  348. package/dist/components/eui-super-date-picker/date-popover/eui-date-popover-button.js +6 -6
  349. package/dist/components/eui-super-date-picker/date-popover/eui-date-popover-button.js.map +1 -1
  350. package/dist/components/eui-super-date-picker/date-popover/eui-date-popover-content.js +5 -5
  351. package/dist/components/eui-super-date-picker/date-popover/eui-date-popover-content.js.map +1 -1
  352. package/dist/components/eui-super-date-picker/date-popover/now-tab.js.map +1 -1
  353. package/dist/components/eui-super-date-picker/date-popover/relative-tab.js +27 -27
  354. package/dist/components/eui-super-date-picker/date-popover/relative-tab.js.map +1 -1
  355. package/dist/components/eui-super-date-picker/eui-date-picker-range.js.map +1 -1
  356. package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-commonly-used-time-ranges.js +1 -1
  357. package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-commonly-used-time-ranges.js.map +1 -1
  358. package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.js +25 -25
  359. package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.js.map +1 -1
  360. package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-recently-used.js +1 -1
  361. package/dist/components/eui-super-date-picker/eui-quick-select-popover/eui-recently-used.js.map +1 -1
  362. package/dist/components/eui-super-date-picker/eui-quick-select-popover.js +9 -9
  363. package/dist/components/eui-super-date-picker/eui-quick-select-popover.js.map +1 -1
  364. package/dist/components/eui-super-date-picker/eui-super-update-button.js.map +1 -1
  365. package/dist/components/eui-super-date-picker/utils/date-utils.js.map +1 -1
  366. package/dist/components/eui-super-date-picker/utils/index.js.map +1 -1
  367. package/dist/components/eui-super-date-picker/utils/pretty-duration.js.map +1 -1
  368. package/dist/components/eui-super-date-picker/utils/quick-select.js +1 -1
  369. package/dist/components/eui-super-date-picker/utils/quick-select.js.map +1 -1
  370. package/dist/components/eui-super-date-picker/utils/time-options.js.map +1 -1
  371. package/dist/components/eui-super-date-picker.js +34 -34
  372. package/dist/components/eui-super-date-picker.js.map +1 -1
  373. package/dist/components/eui-switch.js +4 -4
  374. package/dist/components/eui-switch.js.map +1 -1
  375. package/dist/components/eui-tab.js +1 -1
  376. package/dist/components/eui-tab.js.map +1 -1
  377. package/dist/components/eui-tabbed-content.js +31 -31
  378. package/dist/components/eui-tabbed-content.js.map +1 -1
  379. package/dist/components/eui-tabs.js.map +1 -1
  380. package/dist/components/eui-text-align.js.map +1 -1
  381. package/dist/components/eui-text-area.js.map +1 -1
  382. package/dist/components/eui-text-color.js.map +1 -1
  383. package/dist/components/eui-text.js +1 -1
  384. package/dist/components/eui-text.js.map +1 -1
  385. package/dist/components/eui-title.js.map +1 -1
  386. package/dist/components/eui-toast.js.map +1 -1
  387. package/dist/components/eui-tool-tip-popover.js +5 -5
  388. package/dist/components/eui-tool-tip-popover.js.map +1 -1
  389. package/dist/components/eui-tool-tip.js +44 -46
  390. package/dist/components/eui-tool-tip.js.map +1 -1
  391. package/dist/components/text-block.js.map +1 -1
  392. package/dist/helpers/arg-or-default.js.map +1 -1
  393. package/dist/helpers/cast-to.js.map +1 -1
  394. package/dist/helpers/class-names.js.map +1 -1
  395. package/dist/helpers/eui-page-restrict-width.js.map +1 -1
  396. package/dist/helpers/eui-palette.js +1 -1
  397. package/dist/helpers/eui-palette.js.map +1 -1
  398. package/dist/helpers/get-eui-config.js +1 -1
  399. package/dist/helpers/get-eui-config.js.map +1 -1
  400. package/dist/helpers/get-range-tick.js.map +1 -1
  401. package/dist/helpers/hex-to-rgb.js.map +1 -1
  402. package/dist/helpers/inline-styles.js.map +1 -1
  403. package/dist/helpers/is-color-dark.js.map +1 -1
  404. package/dist/helpers/is-item-open.js.map +1 -1
  405. package/dist/helpers/is-valid-hex.js.map +1 -1
  406. package/dist/helpers/is-within-number.js.map +1 -1
  407. package/dist/helpers/merge.js.map +1 -1
  408. package/dist/helpers/nullish.js.map +1 -1
  409. package/dist/helpers/starts-with.js.map +1 -1
  410. package/dist/helpers/to-initials.js.map +1 -1
  411. package/dist/helpers/type-of.js.map +1 -1
  412. package/dist/helpers/use-state.js +1 -1
  413. package/dist/helpers/use-state.js.map +1 -1
  414. package/dist/i18n/util.js.map +1 -1
  415. package/dist/modifiers/mutation-observer.js.map +1 -1
  416. package/dist/modifiers/outside-click-detector.js +4 -0
  417. package/dist/modifiers/outside-click-detector.js.map +1 -1
  418. package/dist/modifiers/resize-observer.js +3 -0
  419. package/dist/modifiers/resize-observer.js.map +1 -1
  420. package/dist/modifiers/screen-reader-only.js.map +1 -1
  421. package/dist/modifiers/simple-style.js.map +1 -1
  422. package/dist/modifiers/use-is-within-breakpoints.js.map +1 -1
  423. package/dist/modifiers/validatable-control.js.map +1 -1
  424. package/dist/services/eui-config.js +1 -1
  425. package/dist/services/eui-config.js.map +1 -1
  426. package/dist/services/eui-i18n.js.map +1 -1
  427. package/dist/services/eui-toaster.js +1 -1
  428. package/dist/services/eui-toaster.js.map +1 -1
  429. package/dist/utils/accesibility/accessible-click-keys.js +1 -1
  430. package/dist/utils/accesibility/accessible-click-keys.js.map +1 -1
  431. package/dist/utils/accesibility/cascading-menu-keys.js +1 -1
  432. package/dist/utils/accesibility/cascading-menu-keys.js.map +1 -1
  433. package/dist/utils/accesibility/combo-box-keys.js +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/browser/browser.js.map +1 -1
  437. package/dist/utils/code/utils.js.map +1 -1
  438. package/dist/utils/color/color_palette.js.map +1 -1
  439. package/dist/utils/color/eui_palettes.js.map +1 -1
  440. package/dist/utils/copy-to-clipboard.js.map +1 -1
  441. package/dist/utils/css-mappings/eui-accordion.js.map +1 -1
  442. package/dist/utils/css-mappings/eui-avatar.js +1 -1
  443. package/dist/utils/css-mappings/eui-avatar.js.map +1 -1
  444. package/dist/utils/css-mappings/eui-badge-group.js.map +1 -1
  445. package/dist/utils/css-mappings/eui-badge.js.map +1 -1
  446. package/dist/utils/css-mappings/eui-beta-badge.js.map +1 -1
  447. package/dist/utils/css-mappings/eui-bottom-bar.js.map +1 -1
  448. package/dist/utils/css-mappings/eui-button-empty.js.map +1 -1
  449. package/dist/utils/css-mappings/eui-button-group-button.js.map +1 -1
  450. package/dist/utils/css-mappings/eui-button-group.js.map +1 -1
  451. package/dist/utils/css-mappings/eui-button-icon.js.map +1 -1
  452. package/dist/utils/css-mappings/eui-button.js.map +1 -1
  453. package/dist/utils/css-mappings/eui-call-out.js.map +1 -1
  454. package/dist/utils/css-mappings/eui-card-select.js.map +1 -1
  455. package/dist/utils/css-mappings/eui-card.js.map +1 -1
  456. package/dist/utils/css-mappings/eui-code-block.js.map +1 -1
  457. package/dist/utils/css-mappings/eui-collapsible-nav-group.js.map +1 -1
  458. package/dist/utils/css-mappings/eui-comment-event.js.map +1 -1
  459. package/dist/utils/css-mappings/eui-comment-timeline-icon.js.map +1 -1
  460. package/dist/utils/css-mappings/eui-context-menu-item.js.map +1 -1
  461. package/dist/utils/css-mappings/eui-described-form-group.js.map +1 -1
  462. package/dist/utils/css-mappings/eui-description-list.js.map +1 -1
  463. package/dist/utils/css-mappings/eui-empty-prompt.js.map +1 -1
  464. package/dist/utils/css-mappings/eui-file-picker.js.map +1 -1
  465. package/dist/utils/css-mappings/eui-flex-grid.js.map +1 -1
  466. package/dist/utils/css-mappings/eui-flex-group.js.map +1 -1
  467. package/dist/utils/css-mappings/eui-flex-item.js.map +1 -1
  468. package/dist/utils/css-mappings/eui-flyout.js.map +1 -1
  469. package/dist/utils/css-mappings/eui-form-control-layout-clear-button.js.map +1 -1
  470. package/dist/utils/css-mappings/eui-form-row.js.map +1 -1
  471. package/dist/utils/css-mappings/eui-global-toast-list.js.map +1 -1
  472. package/dist/utils/css-mappings/eui-header-links.js.map +1 -1
  473. package/dist/utils/css-mappings/eui-header-section-item.js.map +1 -1
  474. package/dist/utils/css-mappings/eui-header-section.js.map +1 -1
  475. package/dist/utils/css-mappings/eui-header.js.map +1 -1
  476. package/dist/utils/css-mappings/eui-health.js.map +1 -1
  477. package/dist/utils/css-mappings/eui-horizontal-rule.js.map +1 -1
  478. package/dist/utils/css-mappings/eui-icon.js.map +1 -1
  479. package/dist/utils/css-mappings/eui-image.js.map +1 -1
  480. package/dist/utils/css-mappings/eui-link.js.map +1 -1
  481. package/dist/utils/css-mappings/eui-list-group-item.js.map +1 -1
  482. package/dist/utils/css-mappings/eui-list-group.js.map +1 -1
  483. package/dist/utils/css-mappings/eui-loading-spinner.js.map +1 -1
  484. package/dist/utils/css-mappings/eui-modal.js.map +1 -1
  485. package/dist/utils/css-mappings/eui-notification-badge.js.map +1 -1
  486. package/dist/utils/css-mappings/eui-page-body.js.map +1 -1
  487. package/dist/utils/css-mappings/eui-page-content-body.js.map +1 -1
  488. package/dist/utils/css-mappings/eui-page-content.js.map +1 -1
  489. package/dist/utils/css-mappings/eui-page-header.js.map +1 -1
  490. package/dist/utils/css-mappings/eui-page-side-bar.js.map +1 -1
  491. package/dist/utils/css-mappings/eui-page.js.map +1 -1
  492. package/dist/utils/css-mappings/eui-panel.js.map +1 -1
  493. package/dist/utils/css-mappings/eui-popover-footer.js.map +1 -1
  494. package/dist/utils/css-mappings/eui-popover-title.js.map +1 -1
  495. package/dist/utils/css-mappings/eui-popover.js.map +1 -1
  496. package/dist/utils/css-mappings/eui-progress-data.js.map +1 -1
  497. package/dist/utils/css-mappings/eui-progress.js.map +1 -1
  498. package/dist/utils/css-mappings/eui-range-highlight.js.map +1 -1
  499. package/dist/utils/css-mappings/eui-range-input.js.map +1 -1
  500. package/dist/utils/css-mappings/eui-range-levels.js.map +1 -1
  501. package/dist/utils/css-mappings/eui-selectable-list-item.js.map +1 -1
  502. package/dist/utils/css-mappings/eui-spacer.js.map +1 -1
  503. package/dist/utils/css-mappings/eui-stat.js.map +1 -1
  504. package/dist/utils/css-mappings/eui-step-number.js.map +1 -1
  505. package/dist/utils/css-mappings/eui-tabs.js.map +1 -1
  506. package/dist/utils/css-mappings/eui-text-align.js.map +1 -1
  507. package/dist/utils/css-mappings/eui-text-area.js.map +1 -1
  508. package/dist/utils/css-mappings/eui-text-color.js.map +1 -1
  509. package/dist/utils/css-mappings/eui-text.js.map +1 -1
  510. package/dist/utils/css-mappings/eui-title.js.map +1 -1
  511. package/dist/utils/css-mappings/eui-toast.js.map +1 -1
  512. package/dist/utils/css-mappings/eui-tool-tip.js.map +1 -1
  513. package/dist/utils/css-mappings/index.js +140 -140
  514. package/dist/utils/css-mappings/index.js.map +1 -1
  515. package/dist/utils/detect-element-resize.js.map +1 -1
  516. package/dist/utils/keys.js.map +1 -1
  517. package/dist/utils/markdown/markdown-actions.js +1 -0
  518. package/dist/utils/markdown/markdown-actions.js.map +1 -1
  519. package/dist/utils/markdown/markdown-modes.js.map +1 -1
  520. package/dist/utils/markdown/markdown-types.js.map +1 -1
  521. package/dist/utils/markdown/plugins/markdown-add-components/processor.js.map +1 -1
  522. package/dist/utils/markdown/plugins/markdown-checkbox/parser.js.map +1 -1
  523. package/dist/utils/markdown/plugins/markdown-default-plugins/parsing-plugins.js.map +1 -1
  524. package/dist/utils/markdown/plugins/markdown-default-plugins/plugins.js.map +1 -1
  525. package/dist/utils/markdown/plugins/markdown-default-plugins/processing-plugins.js.map +1 -1
  526. package/dist/utils/markdown/plugins/markdown-default-plugins/ui-plugins.js.map +1 -1
  527. package/dist/utils/markdown/plugins/markdown-tooltip/parser.js.map +1 -1
  528. package/dist/utils/markdown/plugins/markdown-tooltip/plugin.js.map +1 -1
  529. package/dist/utils/markdown/plugins/to-dom.js.map +1 -1
  530. package/dist/utils/markdown/remark/remark-prismjs.js.map +1 -1
  531. package/dist/utils/maybe-unwrap-proxy.js.map +1 -1
  532. package/dist/utils/number/number.js.map +1 -1
  533. package/dist/utils/popover/index.js +1 -4
  534. package/dist/utils/popover/index.js.map +1 -1
  535. package/dist/utils/predicate/common_predicates.js.map +1 -1
  536. package/dist/utils/predicate/lodash_predicates.js.map +1 -1
  537. package/dist/utils/timer.js +4 -1
  538. package/dist/utils/timer.js.map +1 -1
  539. package/dist/utils/transition.js.map +1 -1
  540. package/package.json +63 -46
  541. package/declarations/modifiers/open-collapsible-nav.d.ts +0 -9
  542. package/declarations/modifiers/open-collapsible-nav.d.ts.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import Component from '@glimmer/component';
2
2
  import { tracked } from '@glimmer/tracking';
3
3
  import { assert } from '@ember/debug';
4
- import { concat, hash } from '@ember/helper';
4
+ import { hash, concat } from '@ember/helper';
5
5
  import { action } from '@ember/object';
6
6
  import didInsert from '@ember/render-modifiers/modifiers/did-insert';
7
7
  import didUpdate from '@ember/render-modifiers/modifiers/did-update';
@@ -10,7 +10,7 @@ import { htmlSafe } from '@ember/template';
10
10
  import optional from 'ember-composable-helpers/helpers/optional';
11
11
  import { focusTrap } from 'ember-focus-trap';
12
12
  import onKey from 'ember-keyboard/modifiers/on-key';
13
- import { or, not, and } from 'ember-truth-helpers';
13
+ import { and, not, or } from 'ember-truth-helpers';
14
14
  import { tabbable } from 'tabbable';
15
15
  import randomId from '../-private/random-id.js';
16
16
  import { argOrDefaultDecorator } from '../helpers/arg-or-default.js';
@@ -36,31 +36,31 @@ const anchorPositionToPopoverPositionMap = {
36
36
  down: 'bottom',
37
37
  left: 'left'
38
38
  };
39
- function getPopoverPositionFromAnchorPosition(anchorPosition1) {
39
+ function getPopoverPositionFromAnchorPosition(anchorPosition) {
40
40
  // maps the anchor position to the matching popover position
41
41
  // e.g. "upLeft" -> "top", "downRight" -> "bottom"
42
42
  // extract the first positional word from anchorPosition:
43
43
  // starts at the beginning (" ^ ") of anchorPosition and
44
44
  // captures all of the characters (" (.*?) ") until the
45
45
  // first capital letter (" [A-Z] ") is encountered
46
- const match1 = anchorPosition1.match(/^(.*?)[A-Z]/);
47
- if (match1?.length && match1.length > 1) {
48
- return anchorPositionToPopoverPositionMap[match1[1]];
46
+ const match = anchorPosition.match(/^(.*?)[A-Z]/);
47
+ if (match?.length && match.length > 1) {
48
+ return anchorPositionToPopoverPositionMap[match[1]];
49
49
  }
50
50
  return anchorPositionToPopoverPositionMap['up'];
51
51
  }
52
- function getPopoverAlignFromAnchorPosition(anchorPosition1) {
52
+ function getPopoverAlignFromAnchorPosition(anchorPosition) {
53
53
  // maps the gravity to the matching popover position
54
54
  // e.g. "upLeft" -> "left", "rightDown" -> "bottom"
55
55
  // extract the second positional word from anchorPosition:
56
56
  // starts a capture group at the first capital letter
57
57
  // and includes everything after it
58
- const match1 = anchorPosition1.match(/([A-Z].*)/);
58
+ const match = anchorPosition.match(/([A-Z].*)/);
59
59
  // this performs two tasks:
60
60
  // 1. normalizes the align position by lowercasing it
61
61
  // 2. `center` doesn't exist in the lookup map which converts it to `undefined` meaning no align
62
- if (match1?.length && match1.length > 1) {
63
- return anchorPositionToPopoverPositionMap[match1[1]?.toLowerCase()];
62
+ if (match?.length && match.length > 1) {
63
+ return anchorPositionToPopoverPositionMap[match[1]?.toLowerCase()];
64
64
  }
65
65
  return anchorPositionToPopoverPositionMap['left'];
66
66
  }
@@ -70,109 +70,109 @@ const DEFAULT_POPOVER_STYLES = {
70
70
  top: 50,
71
71
  left: 50
72
72
  };
73
- function getElementFromInitialFocus(initialFocus1) {
74
- const initialFocusType1 = typeof initialFocus1;
75
- if (initialFocusType1 === 'string') {
76
- return document.querySelector(initialFocus1);
73
+ function getElementFromInitialFocus(initialFocus) {
74
+ const initialFocusType = typeof initialFocus;
75
+ if (initialFocusType === 'string') {
76
+ return document.querySelector(initialFocus);
77
77
  }
78
- if (initialFocusType1 === 'function') {
79
- return initialFocus1();
78
+ if (initialFocusType === 'function') {
79
+ return initialFocus();
80
80
  }
81
- return initialFocus1;
81
+ return initialFocus;
82
82
  }
83
83
  class EuiPopoverComponent extends Component {
84
84
  static {
85
85
  g(this.prototype, "isOpen", [argOrDefaultDecorator(false)]);
86
86
  }
87
- #isOpen = (i(this, "isOpen"), void 0); // Defaults
87
+ #isOpen = (i(this, "isOpen"), undefined); // Defaults
88
88
  static {
89
89
  g(this.prototype, "ownFocus", [argOrDefaultDecorator(true)]);
90
90
  }
91
- #ownFocus = (i(this, "ownFocus"), void 0);
91
+ #ownFocus = (i(this, "ownFocus"), undefined);
92
92
  static {
93
93
  g(this.prototype, "anchorPosition", [argOrDefaultDecorator('downCenter')]);
94
94
  }
95
- #anchorPosition = (i(this, "anchorPosition"), void 0);
95
+ #anchorPosition = (i(this, "anchorPosition"), undefined);
96
96
  static {
97
97
  g(this.prototype, "panelPaddingSize", [argOrDefaultDecorator('m')]);
98
98
  }
99
- #panelPaddingSize = (i(this, "panelPaddingSize"), void 0);
99
+ #panelPaddingSize = (i(this, "panelPaddingSize"), undefined);
100
100
  static {
101
101
  g(this.prototype, "hasArrow", [argOrDefaultDecorator(true)]);
102
102
  }
103
- #hasArrow = (i(this, "hasArrow"), void 0);
103
+ #hasArrow = (i(this, "hasArrow"), undefined);
104
104
  static {
105
105
  g(this.prototype, "display", [argOrDefaultDecorator('inlineBlock')]);
106
106
  }
107
- #display = (i(this, "display"), void 0);
107
+ #display = (i(this, "display"), undefined);
108
108
  static {
109
109
  g(this.prototype, "shouldSelfFocus", [argOrDefaultDecorator(true)]);
110
110
  }
111
- #shouldSelfFocus = (i(this, "shouldSelfFocus"), void 0);
111
+ #shouldSelfFocus = (i(this, "shouldSelfFocus"), undefined);
112
112
  static {
113
113
  g(this.prototype, "isFocusTrapPaused", [argOrDefaultDecorator(false)]);
114
114
  }
115
- #isFocusTrapPaused = (i(this, "isFocusTrapPaused"), void 0);
115
+ #isFocusTrapPaused = (i(this, "isFocusTrapPaused"), undefined);
116
116
  static {
117
117
  g(this.prototype, "prevIsOpen", [tracked]);
118
118
  }
119
- #prevIsOpen = (i(this, "prevIsOpen"), void 0); //State
119
+ #prevIsOpen = (i(this, "prevIsOpen"), undefined); //State
120
120
  static {
121
121
  g(this.prototype, "suppressingPopover", [tracked]);
122
122
  }
123
- #suppressingPopover = (i(this, "suppressingPopover"), void 0);
123
+ #suppressingPopover = (i(this, "suppressingPopover"), undefined);
124
124
  static {
125
125
  g(this.prototype, "isClosing", [tracked], function () {
126
126
  return false;
127
127
  });
128
128
  }
129
- #isClosing = (i(this, "isClosing"), void 0);
129
+ #isClosing = (i(this, "isClosing"), undefined);
130
130
  static {
131
131
  g(this.prototype, "isOpening", [tracked], function () {
132
132
  return false;
133
133
  });
134
134
  }
135
- #isOpening = (i(this, "isOpening"), void 0);
135
+ #isOpening = (i(this, "isOpening"), undefined);
136
136
  static {
137
137
  g(this.prototype, "popoverStyles", [tracked], function () {
138
138
  return {};
139
139
  });
140
140
  }
141
- #popoverStyles = (i(this, "popoverStyles"), void 0);
141
+ #popoverStyles = (i(this, "popoverStyles"), undefined);
142
142
  static {
143
143
  g(this.prototype, "arrowStyles", [tracked], function () {
144
144
  return {};
145
145
  });
146
146
  }
147
- #arrowStyles = (i(this, "arrowStyles"), void 0);
147
+ #arrowStyles = (i(this, "arrowStyles"), undefined);
148
148
  static {
149
149
  g(this.prototype, "arrowPosition", [tracked], function () {
150
150
  return null;
151
151
  });
152
152
  }
153
- #arrowPosition = (i(this, "arrowPosition"), void 0);
153
+ #arrowPosition = (i(this, "arrowPosition"), undefined);
154
154
  static {
155
155
  g(this.prototype, "openPosition", [tracked], function () {
156
156
  return null;
157
157
  });
158
158
  }
159
- #openPosition = (i(this, "openPosition"), void 0);
159
+ #openPosition = (i(this, "openPosition"), undefined);
160
160
  static {
161
161
  g(this.prototype, "isOpenStable", [tracked], function () {
162
162
  return false;
163
163
  });
164
164
  }
165
- #isOpenStable = (i(this, "isOpenStable"), void 0);
165
+ #isOpenStable = (i(this, "isOpenStable"), undefined);
166
166
  static {
167
167
  g(this.prototype, "isCurrentlyOpen", [tracked]);
168
168
  }
169
- #isCurrentlyOpen = (i(this, "isCurrentlyOpen"), void 0);
169
+ #isCurrentlyOpen = (i(this, "isCurrentlyOpen"), undefined);
170
170
  static {
171
171
  g(this.prototype, "popoverHost", [tracked], function () {
172
172
  return null;
173
173
  });
174
174
  }
175
- #popoverHost = (i(this, "popoverHost"), void 0);
175
+ #popoverHost = (i(this, "popoverHost"), undefined);
176
176
  ///
177
177
  respositionTimeout = null;
178
178
  closingTransitionTimeout = null;
@@ -184,15 +184,15 @@ class EuiPopoverComponent extends Component {
184
184
  return null;
185
185
  });
186
186
  }
187
- #button = (i(this, "button"), void 0);
187
+ #button = (i(this, "button"), undefined);
188
188
  static {
189
189
  g(this.prototype, "panel", [tracked], function () {
190
190
  return null;
191
191
  });
192
192
  }
193
- #panel = (i(this, "panel"), void 0);
194
- constructor(owner1, args1) {
195
- super(owner1, args1);
193
+ #panel = (i(this, "panel"), undefined);
194
+ constructor(owner, args) {
195
+ super(owner, args);
196
196
  assert(`Must provide closePopover function`, this.args.closePopover);
197
197
  this.prevIsOpen = this.isOpen;
198
198
  this.suppressingPopover = this.isOpen;
@@ -220,33 +220,33 @@ class EuiPopoverComponent extends Component {
220
220
  static {
221
221
  n(this.prototype, "closePopover", [action]);
222
222
  }
223
- onEscapeKey(event1, ekEvent1) {
223
+ onEscapeKey(event, ekEvent) {
224
224
  if (this.isOpen) {
225
- ekEvent1?.stopPropagation();
226
- ekEvent1?.stopImmediatePropagation();
227
- event1.preventDefault();
228
- event1.stopPropagation();
225
+ ekEvent?.stopPropagation();
226
+ ekEvent?.stopImmediatePropagation();
227
+ event.preventDefault();
228
+ event.stopPropagation();
229
229
  this.closePopover();
230
230
  }
231
231
  }
232
232
  static {
233
233
  n(this.prototype, "onEscapeKey", [action]);
234
234
  }
235
- onKeyDown(event1, ekEvent1) {
236
- if (event1.key === cascadingMenuKeys.ESCAPE) {
237
- this.onEscapeKey(event1, ekEvent1);
235
+ onKeyDown(event, ekEvent) {
236
+ if (event.key === cascadingMenuKeys.ESCAPE) {
237
+ this.onEscapeKey(event, ekEvent);
238
238
  }
239
239
  }
240
240
  static {
241
241
  n(this.prototype, "onKeyDown", [action]);
242
242
  }
243
- onClickOutside(event1) {
243
+ onClickOutside(event) {
244
244
  if (this.args.focusTrapOptions?.onClickOutside) {
245
- this.args.focusTrapOptions.onClickOutside(event1);
245
+ this.args.focusTrapOptions.onClickOutside(event);
246
246
  } else {
247
247
  // only close the popover if the event source isn't the anchor button
248
248
  // otherwise, it is up to the anchor to toggle the popover's open status
249
- if (this.button && this.button.contains(event1.target) === false) {
249
+ if (this.button && this.button.contains(event.target) === false) {
250
250
  this.closePopover();
251
251
  }
252
252
  }
@@ -265,41 +265,41 @@ class EuiPopoverComponent extends Component {
265
265
  return;
266
266
  }
267
267
  // Otherwise let's focus the first tabbable item and expedite input from the user.
268
- let focusTarget1;
268
+ let focusTarget;
269
269
  if (this.args.initialFocus != null) {
270
- focusTarget1 = getElementFromInitialFocus(this.args.initialFocus);
270
+ focusTarget = getElementFromInitialFocus(this.args.initialFocus);
271
271
  } else {
272
- const tabbableItems1 = tabbable(this.panel);
273
- if (tabbableItems1.length) {
274
- focusTarget1 = tabbableItems1[0];
272
+ const tabbableItems = tabbable(this.panel);
273
+ if (tabbableItems.length) {
274
+ focusTarget = tabbableItems[0];
275
275
  }
276
276
  }
277
277
  // there's a race condition between the popover content becoming visible and this function call
278
278
  // if the element isn't visible yet (due to css styling) then it can't accept focus
279
279
  // so wait for another render and try again
280
- if (focusTarget1 == null) {
280
+ if (focusTarget == null) {
281
281
  // there isn't a focus target, one of two reasons:
282
282
  // #1 is the whole panel hidden? If so, schedule another check
283
283
  // #2 panel is visible but no tabbables exist, move focus to the panel
284
- const panelVisibility1 = window.getComputedStyle(this.panel).opacity;
285
- if (panelVisibility1 === '0') {
284
+ const panelVisibility = window.getComputedStyle(this.panel).opacity;
285
+ if (panelVisibility === '0') {
286
286
  // #1
287
287
  this.updateFocus();
288
288
  } else {
289
289
  // #2
290
- focusTarget1 = this.panel;
290
+ focusTarget = this.panel;
291
291
  }
292
292
  } else {
293
293
  // found an element to focus, but is it visible?
294
- const visibility1 = window.getComputedStyle(focusTarget1).visibility;
295
- if (visibility1 === 'hidden') {
294
+ const visibility = window.getComputedStyle(focusTarget).visibility;
295
+ if (visibility === 'hidden') {
296
296
  // not visible, check again next render frame
297
297
  this.updateFocus();
298
298
  }
299
299
  }
300
- if (focusTarget1 != null) {
300
+ if (focusTarget != null) {
301
301
  this.hasSetInitialFocus = true;
302
- focusTarget1.focus();
302
+ focusTarget.focus();
303
303
  }
304
304
  });
305
305
  }
@@ -312,16 +312,16 @@ class EuiPopoverComponent extends Component {
312
312
  });
313
313
  // for each child element of `this.panel`, find any transition duration we should wait for before stabilizing
314
314
  const {
315
- durationMatch: durationMatch1,
316
- delayMatch: delayMatch1
315
+ durationMatch,
316
+ delayMatch
317
317
  } = Array.prototype.slice.call(this.panel ? this.panel.children : []).reduce(({
318
- durationMatch: durationMatch1,
319
- delayMatch: delayMatch1
320
- }, element1) => {
321
- const transitionTimings1 = getTransitionTimings(element1);
318
+ durationMatch,
319
+ delayMatch
320
+ }, element) => {
321
+ const transitionTimings = getTransitionTimings(element);
322
322
  return {
323
- durationMatch: Math.max(durationMatch1, transitionTimings1.durationMatch),
324
- delayMatch: Math.max(delayMatch1, transitionTimings1.delayMatch)
323
+ durationMatch: Math.max(durationMatch, transitionTimings.durationMatch),
324
+ delayMatch: Math.max(delayMatch, transitionTimings.delayMatch)
325
325
  };
326
326
  }, {
327
327
  durationMatch: 0,
@@ -329,12 +329,12 @@ class EuiPopoverComponent extends Component {
329
329
  });
330
330
  this.respositionTimeout = later(this, () => {
331
331
  this.isOpenStable = true;
332
- const fn1 = () => {
332
+ const fn = () => {
333
333
  this.positionPopoverFixed();
334
334
  this.updateFocus();
335
335
  };
336
- scheduleOnce('afterRender', this, fn1);
337
- }, durationMatch1 + delayMatch1);
336
+ scheduleOnce('afterRender', this, fn);
337
+ }, durationMatch + delayMatch);
338
338
  }
339
339
  static {
340
340
  n(this.prototype, "onOpenPopover", [action]);
@@ -342,24 +342,24 @@ class EuiPopoverComponent extends Component {
342
342
  get shouldAccountForOtherPopovers() {
343
343
  return this.args.shouldAccountForOtherPopovers ?? true;
344
344
  }
345
- checkIfPopoverIsInsideAnotherPopover(ele1) {
346
- const otherPopover1 = ele1.closest('div.euiPopover__panel');
347
- this.popoverHost = otherPopover1;
345
+ checkIfPopoverIsInsideAnotherPopover(ele) {
346
+ const otherPopover = ele.closest('div.euiPopover__panel');
347
+ this.popoverHost = otherPopover;
348
348
  }
349
- didInsertPopover(ele1) {
349
+ didInsertPopover(ele) {
350
350
  if (this.suppressingPopover) {
351
351
  // component was created with isOpen=true; now that it's inserted
352
352
  // stop suppressing and start opening
353
353
  this.suppressingPopover = false;
354
354
  this.isOpening = true;
355
- const fn1 = () => this.onOpenPopover();
356
- scheduleOnce('afterRender', this, fn1);
355
+ const fn = () => this.onOpenPopover();
356
+ scheduleOnce('afterRender', this, fn);
357
357
  }
358
358
  if (this.args.repositionOnScroll) {
359
359
  window.addEventListener('scroll', this.positionPopoverFixed, true);
360
360
  }
361
361
  if (this.shouldAccountForOtherPopovers) {
362
- this.checkIfPopoverIsInsideAnotherPopover(ele1);
362
+ this.checkIfPopoverIsInsideAnotherPopover(ele);
363
363
  }
364
364
  this.updateFocus();
365
365
  }
@@ -404,33 +404,33 @@ class EuiPopoverComponent extends Component {
404
404
  cancelAnimationFrame(this.closingTransitionAnimationFrame);
405
405
  cancelAnimationFrame(this.updateFocusAnimationFrame);
406
406
  }
407
- onMutation(records1) {
408
- const waitDuration1 = getWaitDuration(records1);
407
+ onMutation(records) {
408
+ const waitDuration = getWaitDuration(records);
409
409
  this.positionPopoverFixed();
410
- performOnFrame(waitDuration1, this.positionPopoverFixed);
410
+ performOnFrame(waitDuration, this.positionPopoverFixed);
411
411
  }
412
412
  static {
413
413
  n(this.prototype, "onMutation", [action]);
414
414
  }
415
- positionPopover(allowEnforcePosition1) {
415
+ positionPopover(allowEnforcePosition) {
416
416
  if (this.button == null || this.panel == null) return;
417
- let position1 = getPopoverPositionFromAnchorPosition(this.anchorPosition);
418
- let forcePosition1 = undefined;
419
- if (allowEnforcePosition1 && this.isOpenStable && this.openPosition != null) {
420
- position1 = this.openPosition;
421
- forcePosition1 = true;
417
+ let position = getPopoverPositionFromAnchorPosition(this.anchorPosition);
418
+ let forcePosition = undefined;
419
+ if (allowEnforcePosition && this.isOpenStable && this.openPosition != null) {
420
+ position = this.openPosition;
421
+ forcePosition = true;
422
422
  }
423
423
  const {
424
- top: top1,
425
- left: left1,
426
- position: foundPosition1,
427
- arrow: arrow1,
428
- anchorBoundingBox: anchorBoundingBox1
424
+ top,
425
+ left,
426
+ position: foundPosition,
427
+ arrow,
428
+ anchorBoundingBox
429
429
  } = findPopoverPosition({
430
430
  container: this.args.container,
431
431
  host: this.shouldAccountForOtherPopovers ? this.popoverHost : null,
432
- position: position1,
433
- forcePosition: forcePosition1,
432
+ position,
433
+ forcePosition,
434
434
  align: getPopoverAlignFromAnchorPosition(this.anchorPosition),
435
435
  anchor: this.button,
436
436
  popover: this.panel,
@@ -446,43 +446,43 @@ class EuiPopoverComponent extends Component {
446
446
  // this keeps a button's popover under a flyout that would cover the button
447
447
  // but a popover triggered inside a flyout will appear over that flyout
448
448
  const {
449
- zIndex: zIndexProp1
449
+ zIndex: zIndexProp
450
450
  } = this.args;
451
- const zIndex1 = zIndexProp1 == null ? getElementZIndex(this.button, this.panel) + 2000 : zIndexProp1;
452
- const popoverStyles1 = {
453
- top: top1,
454
- left: this.args.attachToAnchor && anchorBoundingBox1 ? anchorBoundingBox1.left : left1,
455
- zIndex: zIndex1
451
+ const zIndex = zIndexProp == null ? getElementZIndex(this.button, this.panel) + 2000 : zIndexProp;
452
+ const popoverStyles = {
453
+ top,
454
+ left: this.args.attachToAnchor && anchorBoundingBox ? anchorBoundingBox.left : left,
455
+ zIndex
456
456
  };
457
- const willRenderArrow1 = !this.args.attachToAnchor && this.hasArrow;
458
- const arrowStyles1 = willRenderArrow1 ? arrow1 : undefined;
459
- const arrowPosition1 = foundPosition1;
460
- this.popoverStyles = popoverStyles1;
461
- this.arrowStyles = arrowStyles1;
462
- this.arrowPosition = arrowPosition1;
463
- this.openPosition = foundPosition1;
457
+ const willRenderArrow = !this.args.attachToAnchor && this.hasArrow;
458
+ const arrowStyles = willRenderArrow ? arrow : undefined;
459
+ const arrowPosition = foundPosition;
460
+ this.popoverStyles = popoverStyles;
461
+ this.arrowStyles = arrowStyles;
462
+ this.arrowPosition = arrowPosition;
463
+ this.openPosition = foundPosition;
464
464
  }
465
465
  static {
466
466
  n(this.prototype, "positionPopover", [action]);
467
467
  }
468
468
  get _arrowStyles() {
469
469
  const {
470
- arrowStyles: arrowStyles1
470
+ arrowStyles
471
471
  } = this;
472
- return arrowStyles1 ? htmlSafe(`top: ${arrowStyles1?.top}px; left: ${arrowStyles1?.left}px;`) : undefined;
472
+ return arrowStyles ? htmlSafe(`top: ${arrowStyles?.top}px; left: ${arrowStyles?.left}px;`) : undefined;
473
473
  }
474
474
  get _popoverStyles() {
475
475
  const {
476
- panelStyle: panelStyle1
476
+ panelStyle
477
477
  } = this.args;
478
478
  const {
479
- popoverStyles: popoverStyles1
479
+ popoverStyles
480
480
  } = this;
481
481
  return {
482
- ...panelStyle1,
483
- top: `${popoverStyles1.top}px`,
484
- left: `${popoverStyles1.left}px`,
485
- zIndex: `${popoverStyles1.zIndex}`
482
+ ...panelStyle,
483
+ top: `${popoverStyles.top}px`,
484
+ left: `${popoverStyles.left}px`,
485
+ zIndex: `${popoverStyles.zIndex}`
486
486
  };
487
487
  }
488
488
  get tabindex() {
@@ -503,17 +503,17 @@ class EuiPopoverComponent extends Component {
503
503
  static {
504
504
  n(this.prototype, "positionPopoverFluid", [action]);
505
505
  }
506
- registerButton(btn1) {
507
- this.button = btn1;
508
- this.args.buttonRef?.(btn1);
506
+ registerButton(btn) {
507
+ this.button = btn;
508
+ this.args.buttonRef?.(btn);
509
509
  }
510
510
  static {
511
511
  n(this.prototype, "registerButton", [action]);
512
512
  }
513
- registerPanel(panel1) {
514
- this.panel = panel1;
515
- this.args.panelRef?.(panel1);
516
- if (panel1 === null) {
513
+ registerPanel(panel) {
514
+ this.panel = panel;
515
+ this.args.panelRef?.(panel);
516
+ if (panel === null) {
517
517
  // panel has unmounted, restore the state defaults
518
518
  this.popoverStyles = DEFAULT_POPOVER_STYLES;
519
519
  this.arrowStyles = {};