@elastic/eui 88.2.0 → 88.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (371) hide show
  1. package/dist/eui_theme_dark.css +0 -25
  2. package/dist/eui_theme_dark.min.css +1 -1
  3. package/dist/eui_theme_light.css +0 -25
  4. package/dist/eui_theme_light.min.css +1 -1
  5. package/es/components/accordion/accordion.js +35 -208
  6. package/es/components/accordion/accordion.styles.js +3 -95
  7. package/es/components/accordion/accordion_children/accordion_children.js +101 -0
  8. package/es/components/accordion/accordion_children/accordion_children.styles.js +39 -0
  9. package/es/components/accordion/accordion_children/accordion_children_loading.js +31 -0
  10. package/es/components/accordion/accordion_children/index.js +9 -0
  11. package/es/components/accordion/accordion_trigger/accordion_arrow.js +41 -0
  12. package/es/components/accordion/accordion_trigger/accordion_arrow.styles.js +46 -0
  13. package/es/components/accordion/accordion_trigger/accordion_button.js +51 -0
  14. package/es/components/accordion/accordion_trigger/accordion_button.styles.js +26 -0
  15. package/es/components/accordion/accordion_trigger/accordion_trigger.js +87 -0
  16. package/es/components/accordion/accordion_trigger/index.js +9 -0
  17. package/es/components/avatar/avatar.js +1 -1
  18. package/es/components/badge/badge.js +1 -1
  19. package/es/components/badge/beta_badge/beta_badge.js +1 -1
  20. package/es/components/basic_table/basic_table.js +1 -1
  21. package/es/components/basic_table/collapsed_item_actions.js +1 -1
  22. package/es/components/basic_table/in_memory_table.js +1 -1
  23. package/es/components/button/button_display/_button_display.js +1 -1
  24. package/es/components/button/button_display/_button_display_content.js +1 -1
  25. package/es/components/button/button_empty/button_empty.js +1 -1
  26. package/es/components/button/button_group/button_group.js +1 -1
  27. package/es/components/button/button_group/button_group_button.js +1 -1
  28. package/es/components/button/button_icon/button_icon.js +1 -1
  29. package/es/components/call_out/call_out.js +1 -1
  30. package/es/components/card/card.js +1 -1
  31. package/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
  32. package/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.styles.js +1 -1
  33. package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.js +2 -2
  34. package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
  35. package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +3 -3
  36. package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_accordion.js +2 -2
  37. package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_accordion.styles.js +1 -1
  38. package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +3 -3
  39. package/es/components/comment_list/comment.js +2 -2
  40. package/es/components/comment_list/comment_event.js +1 -1
  41. package/es/components/comment_list/comment_list.js +2 -2
  42. package/es/components/comment_list/comment_timeline.js +1 -1
  43. package/es/components/datagrid/body/data_grid_body.js +13 -13
  44. package/es/components/datagrid/body/data_grid_body_custom.js +13 -13
  45. package/es/components/datagrid/body/data_grid_body_virtualized.js +13 -13
  46. package/es/components/datagrid/body/data_grid_cell.js +24 -24
  47. package/es/components/datagrid/body/header/data_grid_header_cell.js +12 -12
  48. package/es/components/datagrid/body/header/data_grid_header_row.js +13 -13
  49. package/es/components/datagrid/controls/column_sorting_draggable.js +1 -1
  50. package/es/components/datagrid/data_grid.js +13 -13
  51. package/es/components/datagrid/utils/in_memory.js +12 -12
  52. package/es/components/date_picker/date_picker.js +2 -2
  53. package/es/components/date_picker/date_picker_range.js +1 -1
  54. package/es/components/empty_prompt/empty_prompt.js +1 -1
  55. package/es/components/facet/facet_button.js +1 -1
  56. package/es/components/form/field_number/field_number.js +1 -1
  57. package/es/components/form/field_text/field_text.js +2 -2
  58. package/es/components/form/form_control_layout/form_control_layout.js +2 -2
  59. package/es/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
  60. package/es/components/form/form_control_layout/form_control_layout_icons.js +2 -2
  61. package/es/components/header/header_links/header_link.js +1 -1
  62. package/es/components/header/header_links/header_links.js +1 -1
  63. package/es/components/header/header_logo/header_logo.js +1 -1
  64. package/es/components/header/header_section/header_section_item_button.js +1 -1
  65. package/es/components/icon/assets/grabOmnidirectional.js +33 -0
  66. package/es/components/icon/assets/transitionLeftIn.js +36 -0
  67. package/es/components/icon/assets/transitionLeftOut.js +36 -0
  68. package/es/components/icon/assets/transitionTopIn.js +36 -0
  69. package/es/components/icon/assets/transitionTopOut.js +36 -0
  70. package/es/components/icon/icon.js +1 -1
  71. package/es/components/icon/icon_map.js +5 -0
  72. package/es/components/inline_edit/inline_edit_form.js +49 -13
  73. package/es/components/inline_edit/inline_edit_text.js +22 -23
  74. package/es/components/inline_edit/inline_edit_title.js +22 -23
  75. package/es/components/key_pad_menu/key_pad_menu_item.js +1 -1
  76. package/es/components/list_group/list_group.js +2 -2
  77. package/es/components/list_group/list_group_item.js +3 -3
  78. package/es/components/list_group/list_group_item_extra_action.js +1 -1
  79. package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
  80. package/es/components/loading/loading_logo.js +1 -1
  81. package/es/components/markdown_editor/markdown_editor.js +1 -1
  82. package/es/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
  83. package/es/components/markdown_editor/markdown_editor_footer.js +1 -1
  84. package/es/components/markdown_editor/markdown_editor_toolbar.js +1 -1
  85. package/es/components/notification/notification_event.js +2 -2
  86. package/es/components/notification/notification_event_meta.js +1 -1
  87. package/es/components/page/page_header/page_header_content.js +1 -1
  88. package/es/components/pagination/pagination_button.js +1 -1
  89. package/es/components/panel/split_panel/split_panel.js +9 -7
  90. package/es/components/panel/split_panel/split_panel.styles.js +40 -0
  91. package/es/components/selectable/selectable_list/selectable_list.js +1 -1
  92. package/es/components/selectable/selectable_list/selectable_list_item.js +1 -1
  93. package/es/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
  94. package/es/components/suggest/suggest.js +1 -1
  95. package/es/components/suggest/suggest_item.js +1 -1
  96. package/es/components/table/table_header_button.js +1 -1
  97. package/es/components/text_truncate/utils.js +1 -1
  98. package/es/components/timeline/timeline_item_icon.js +1 -1
  99. package/es/components/toast/global_toast_list.js +51 -3
  100. package/es/components/toast/global_toast_list.styles.js +3 -2
  101. package/es/components/toast/toast.js +1 -1
  102. package/es/components/tool_tip/icon_tip.js +1 -1
  103. package/eui.d.ts +194 -44
  104. package/i18ntokens.json +60 -24
  105. package/lib/components/accordion/accordion.js +34 -207
  106. package/lib/components/accordion/accordion.styles.js +12 -109
  107. package/lib/components/accordion/accordion_children/accordion_children.js +111 -0
  108. package/lib/components/accordion/accordion_children/accordion_children.styles.js +45 -0
  109. package/lib/components/accordion/accordion_children/accordion_children_loading.js +38 -0
  110. package/lib/components/accordion/accordion_children/index.js +12 -0
  111. package/lib/components/accordion/accordion_trigger/accordion_arrow.js +48 -0
  112. package/lib/components/accordion/accordion_trigger/accordion_arrow.styles.js +51 -0
  113. package/lib/components/accordion/accordion_trigger/accordion_button.js +58 -0
  114. package/lib/components/accordion/accordion_trigger/accordion_button.styles.js +33 -0
  115. package/lib/components/accordion/accordion_trigger/accordion_trigger.js +93 -0
  116. package/lib/components/accordion/accordion_trigger/index.js +12 -0
  117. package/lib/components/avatar/avatar.js +1 -1
  118. package/lib/components/badge/badge.js +1 -1
  119. package/lib/components/badge/beta_badge/beta_badge.js +1 -1
  120. package/lib/components/basic_table/basic_table.js +1 -1
  121. package/lib/components/basic_table/collapsed_item_actions.js +1 -1
  122. package/lib/components/basic_table/in_memory_table.js +1 -1
  123. package/lib/components/button/button_display/_button_display.js +1 -1
  124. package/lib/components/button/button_display/_button_display_content.js +1 -1
  125. package/lib/components/button/button_empty/button_empty.js +1 -1
  126. package/lib/components/button/button_group/button_group.js +1 -1
  127. package/lib/components/button/button_group/button_group_button.js +1 -1
  128. package/lib/components/button/button_icon/button_icon.js +1 -1
  129. package/lib/components/call_out/call_out.js +1 -1
  130. package/lib/components/card/card.js +1 -1
  131. package/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
  132. package/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.styles.js +1 -1
  133. package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.js +2 -2
  134. package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
  135. package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +3 -3
  136. package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_accordion.js +2 -2
  137. package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_accordion.styles.js +1 -1
  138. package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +3 -3
  139. package/lib/components/comment_list/comment.js +2 -2
  140. package/lib/components/comment_list/comment_event.js +1 -1
  141. package/lib/components/comment_list/comment_list.js +2 -2
  142. package/lib/components/comment_list/comment_timeline.js +1 -1
  143. package/lib/components/datagrid/body/data_grid_body.js +13 -13
  144. package/lib/components/datagrid/body/data_grid_body_custom.js +13 -13
  145. package/lib/components/datagrid/body/data_grid_body_virtualized.js +13 -13
  146. package/lib/components/datagrid/body/data_grid_cell.js +24 -24
  147. package/lib/components/datagrid/body/header/data_grid_header_cell.js +12 -12
  148. package/lib/components/datagrid/body/header/data_grid_header_row.js +13 -13
  149. package/lib/components/datagrid/controls/column_sorting_draggable.js +1 -1
  150. package/lib/components/datagrid/data_grid.js +13 -13
  151. package/lib/components/datagrid/utils/in_memory.js +12 -12
  152. package/lib/components/date_picker/date_picker.js +2 -2
  153. package/lib/components/date_picker/date_picker_range.js +1 -1
  154. package/lib/components/empty_prompt/empty_prompt.js +1 -1
  155. package/lib/components/facet/facet_button.js +1 -1
  156. package/lib/components/form/field_number/field_number.js +1 -1
  157. package/lib/components/form/field_text/field_text.js +2 -2
  158. package/lib/components/form/form_control_layout/form_control_layout.js +2 -2
  159. package/lib/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
  160. package/lib/components/form/form_control_layout/form_control_layout_icons.js +2 -2
  161. package/lib/components/header/header_links/header_link.js +1 -1
  162. package/lib/components/header/header_links/header_links.js +1 -1
  163. package/lib/components/header/header_logo/header_logo.js +1 -1
  164. package/lib/components/header/header_section/header_section_item_button.js +1 -1
  165. package/lib/components/icon/assets/grabOmnidirectional.js +41 -0
  166. package/lib/components/icon/assets/transitionLeftIn.js +44 -0
  167. package/lib/components/icon/assets/transitionLeftOut.js +44 -0
  168. package/lib/components/icon/assets/transitionTopIn.js +44 -0
  169. package/lib/components/icon/assets/transitionTopOut.js +44 -0
  170. package/lib/components/icon/icon.js +1 -1
  171. package/lib/components/icon/icon_map.js +5 -0
  172. package/lib/components/icon/svgs/grabOmnidirectional.svg +3 -0
  173. package/lib/components/icon/svgs/transitionLeftIn.svg +4 -0
  174. package/lib/components/icon/svgs/transitionLeftOut.svg +4 -0
  175. package/lib/components/icon/svgs/transitionTopIn.svg +4 -0
  176. package/lib/components/icon/svgs/transitionTopOut.svg +4 -0
  177. package/lib/components/inline_edit/inline_edit_form.js +58 -20
  178. package/lib/components/inline_edit/inline_edit_text.js +22 -23
  179. package/lib/components/inline_edit/inline_edit_title.js +22 -23
  180. package/lib/components/key_pad_menu/key_pad_menu_item.js +1 -1
  181. package/lib/components/list_group/list_group.js +2 -2
  182. package/lib/components/list_group/list_group_item.js +3 -3
  183. package/lib/components/list_group/list_group_item_extra_action.js +1 -1
  184. package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
  185. package/lib/components/loading/loading_logo.js +1 -1
  186. package/lib/components/markdown_editor/markdown_editor.js +1 -1
  187. package/lib/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
  188. package/lib/components/markdown_editor/markdown_editor_footer.js +1 -1
  189. package/lib/components/markdown_editor/markdown_editor_toolbar.js +1 -1
  190. package/lib/components/notification/notification_event.js +2 -2
  191. package/lib/components/notification/notification_event_meta.js +1 -1
  192. package/lib/components/page/page_header/page_header_content.js +1 -1
  193. package/lib/components/panel/split_panel/split_panel.js +9 -7
  194. package/lib/components/panel/split_panel/split_panel.styles.js +46 -0
  195. package/lib/components/selectable/selectable_list/selectable_list.js +1 -1
  196. package/lib/components/selectable/selectable_list/selectable_list_item.js +1 -1
  197. package/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
  198. package/lib/components/suggest/suggest.js +1 -1
  199. package/lib/components/suggest/suggest_item.js +1 -1
  200. package/lib/components/table/table_header_button.js +1 -1
  201. package/lib/components/text_truncate/utils.js +1 -1
  202. package/lib/components/timeline/timeline_item_icon.js +1 -1
  203. package/lib/components/toast/global_toast_list.js +53 -4
  204. package/lib/components/toast/global_toast_list.styles.js +3 -2
  205. package/lib/components/toast/toast.js +1 -1
  206. package/lib/components/tool_tip/icon_tip.js +1 -1
  207. package/optimize/es/components/accordion/accordion.js +35 -203
  208. package/optimize/es/components/accordion/accordion.styles.js +3 -95
  209. package/optimize/es/components/accordion/accordion_children/accordion_children.js +91 -0
  210. package/optimize/es/components/accordion/accordion_children/accordion_children.styles.js +39 -0
  211. package/optimize/es/components/accordion/accordion_children/accordion_children_loading.js +31 -0
  212. package/optimize/es/components/accordion/accordion_children/index.js +9 -0
  213. package/optimize/es/components/accordion/accordion_trigger/accordion_arrow.js +36 -0
  214. package/optimize/es/components/accordion/accordion_trigger/accordion_arrow.styles.js +46 -0
  215. package/optimize/es/components/accordion/accordion_trigger/accordion_button.js +45 -0
  216. package/optimize/es/components/accordion/accordion_trigger/accordion_button.styles.js +26 -0
  217. package/optimize/es/components/accordion/accordion_trigger/accordion_trigger.js +80 -0
  218. package/optimize/es/components/accordion/accordion_trigger/index.js +9 -0
  219. package/optimize/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.styles.js +1 -1
  220. package/optimize/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_accordion.styles.js +1 -1
  221. package/optimize/es/components/icon/assets/grabOmnidirectional.js +32 -0
  222. package/optimize/es/components/icon/assets/transitionLeftIn.js +35 -0
  223. package/optimize/es/components/icon/assets/transitionLeftOut.js +35 -0
  224. package/optimize/es/components/icon/assets/transitionTopIn.js +35 -0
  225. package/optimize/es/components/icon/assets/transitionTopOut.js +35 -0
  226. package/optimize/es/components/icon/icon_map.js +5 -0
  227. package/optimize/es/components/inline_edit/inline_edit_form.js +32 -12
  228. package/optimize/es/components/inline_edit/inline_edit_text.js +6 -22
  229. package/optimize/es/components/inline_edit/inline_edit_title.js +6 -22
  230. package/optimize/es/components/list_group/list_group_item.js +1 -1
  231. package/optimize/es/components/panel/split_panel/split_panel.js +9 -7
  232. package/optimize/es/components/panel/split_panel/split_panel.styles.js +40 -0
  233. package/optimize/es/components/text_truncate/utils.js +1 -1
  234. package/optimize/es/components/toast/global_toast_list.js +39 -2
  235. package/optimize/es/components/toast/global_toast_list.styles.js +3 -2
  236. package/optimize/lib/components/accordion/accordion.js +34 -202
  237. package/optimize/lib/components/accordion/accordion.styles.js +12 -109
  238. package/optimize/lib/components/accordion/accordion_children/accordion_children.js +101 -0
  239. package/optimize/lib/components/accordion/accordion_children/accordion_children.styles.js +45 -0
  240. package/optimize/lib/components/accordion/accordion_children/accordion_children_loading.js +38 -0
  241. package/optimize/lib/components/accordion/accordion_children/index.js +12 -0
  242. package/optimize/lib/components/accordion/accordion_trigger/accordion_arrow.js +43 -0
  243. package/optimize/lib/components/accordion/accordion_trigger/accordion_arrow.styles.js +51 -0
  244. package/optimize/lib/components/accordion/accordion_trigger/accordion_button.js +52 -0
  245. package/optimize/lib/components/accordion/accordion_trigger/accordion_button.styles.js +33 -0
  246. package/optimize/lib/components/accordion/accordion_trigger/accordion_trigger.js +86 -0
  247. package/optimize/lib/components/accordion/accordion_trigger/index.js +12 -0
  248. package/optimize/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.styles.js +1 -1
  249. package/optimize/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_accordion.styles.js +1 -1
  250. package/optimize/lib/components/icon/assets/grabOmnidirectional.js +41 -0
  251. package/optimize/lib/components/icon/assets/transitionLeftIn.js +44 -0
  252. package/optimize/lib/components/icon/assets/transitionLeftOut.js +44 -0
  253. package/optimize/lib/components/icon/assets/transitionTopIn.js +44 -0
  254. package/optimize/lib/components/icon/assets/transitionTopOut.js +44 -0
  255. package/optimize/lib/components/icon/icon_map.js +5 -0
  256. package/optimize/lib/components/icon/svgs/grabOmnidirectional.svg +3 -0
  257. package/optimize/lib/components/icon/svgs/transitionLeftIn.svg +4 -0
  258. package/optimize/lib/components/icon/svgs/transitionLeftOut.svg +4 -0
  259. package/optimize/lib/components/icon/svgs/transitionTopIn.svg +4 -0
  260. package/optimize/lib/components/icon/svgs/transitionTopOut.svg +4 -0
  261. package/optimize/lib/components/inline_edit/inline_edit_form.js +33 -16
  262. package/optimize/lib/components/inline_edit/inline_edit_text.js +6 -22
  263. package/optimize/lib/components/inline_edit/inline_edit_title.js +6 -22
  264. package/optimize/lib/components/list_group/list_group_item.js +1 -1
  265. package/optimize/lib/components/panel/split_panel/split_panel.js +9 -7
  266. package/optimize/lib/components/panel/split_panel/split_panel.styles.js +46 -0
  267. package/optimize/lib/components/text_truncate/utils.js +1 -1
  268. package/optimize/lib/components/toast/global_toast_list.js +41 -3
  269. package/optimize/lib/components/toast/global_toast_list.styles.js +3 -2
  270. package/package.json +3 -3
  271. package/src/components/index.scss +0 -1
  272. package/test-env/components/accordion/accordion.js +34 -202
  273. package/test-env/components/accordion/accordion.styles.js +12 -109
  274. package/test-env/components/accordion/accordion_children/accordion_children.js +105 -0
  275. package/test-env/components/accordion/accordion_children/accordion_children.styles.js +45 -0
  276. package/test-env/components/accordion/accordion_children/accordion_children_loading.js +38 -0
  277. package/test-env/components/accordion/accordion_children/index.js +12 -0
  278. package/test-env/components/accordion/accordion_trigger/accordion_arrow.js +47 -0
  279. package/test-env/components/accordion/accordion_trigger/accordion_arrow.styles.js +51 -0
  280. package/test-env/components/accordion/accordion_trigger/accordion_button.js +52 -0
  281. package/test-env/components/accordion/accordion_trigger/accordion_button.styles.js +33 -0
  282. package/test-env/components/accordion/accordion_trigger/accordion_trigger.js +93 -0
  283. package/test-env/components/accordion/accordion_trigger/index.js +12 -0
  284. package/test-env/components/avatar/avatar.js +1 -1
  285. package/test-env/components/badge/badge.js +1 -1
  286. package/test-env/components/badge/beta_badge/beta_badge.js +1 -1
  287. package/test-env/components/basic_table/basic_table.js +1 -1
  288. package/test-env/components/basic_table/collapsed_item_actions.js +1 -1
  289. package/test-env/components/basic_table/in_memory_table.js +1 -1
  290. package/test-env/components/button/button_display/_button_display.js +1 -1
  291. package/test-env/components/button/button_display/_button_display_content.js +1 -1
  292. package/test-env/components/button/button_empty/button_empty.js +1 -1
  293. package/test-env/components/button/button_group/button_group.js +1 -1
  294. package/test-env/components/button/button_group/button_group_button.js +1 -1
  295. package/test-env/components/button/button_icon/button_icon.js +1 -1
  296. package/test-env/components/call_out/call_out.js +1 -1
  297. package/test-env/components/card/card.js +1 -1
  298. package/test-env/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +1 -1
  299. package/test-env/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.styles.js +1 -1
  300. package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_button.js +2 -2
  301. package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
  302. package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +3 -3
  303. package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_accordion.js +2 -2
  304. package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_accordion.styles.js +1 -1
  305. package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +3 -3
  306. package/test-env/components/comment_list/comment.js +2 -2
  307. package/test-env/components/comment_list/comment_event.js +1 -1
  308. package/test-env/components/comment_list/comment_list.js +2 -2
  309. package/test-env/components/comment_list/comment_timeline.js +1 -1
  310. package/test-env/components/datagrid/body/data_grid_body.js +13 -13
  311. package/test-env/components/datagrid/body/data_grid_body_custom.js +13 -13
  312. package/test-env/components/datagrid/body/data_grid_body_virtualized.js +13 -13
  313. package/test-env/components/datagrid/body/data_grid_cell.js +24 -24
  314. package/test-env/components/datagrid/body/header/data_grid_header_cell.js +12 -12
  315. package/test-env/components/datagrid/body/header/data_grid_header_row.js +13 -13
  316. package/test-env/components/datagrid/controls/column_sorting_draggable.js +1 -1
  317. package/test-env/components/datagrid/data_grid.js +13 -13
  318. package/test-env/components/datagrid/utils/in_memory.js +12 -12
  319. package/test-env/components/date_picker/date_picker.js +2 -2
  320. package/test-env/components/date_picker/date_picker_range.js +1 -1
  321. package/test-env/components/empty_prompt/empty_prompt.js +1 -1
  322. package/test-env/components/facet/facet_button.js +1 -1
  323. package/test-env/components/form/field_number/field_number.js +1 -1
  324. package/test-env/components/form/field_text/field_text.js +2 -2
  325. package/test-env/components/form/form_control_layout/form_control_layout.js +2 -2
  326. package/test-env/components/form/form_control_layout/form_control_layout_custom_icon.js +1 -1
  327. package/test-env/components/form/form_control_layout/form_control_layout_icons.js +2 -2
  328. package/test-env/components/header/header_links/header_link.js +1 -1
  329. package/test-env/components/header/header_links/header_links.js +1 -1
  330. package/test-env/components/header/header_logo/header_logo.js +1 -1
  331. package/test-env/components/header/header_section/header_section_item_button.js +1 -1
  332. package/test-env/components/icon/assets/grabOmnidirectional.js +41 -0
  333. package/test-env/components/icon/assets/transitionLeftIn.js +44 -0
  334. package/test-env/components/icon/assets/transitionLeftOut.js +44 -0
  335. package/test-env/components/icon/assets/transitionTopIn.js +44 -0
  336. package/test-env/components/icon/assets/transitionTopOut.js +44 -0
  337. package/test-env/components/icon/icon_map.js +5 -0
  338. package/test-env/components/inline_edit/inline_edit_form.js +49 -17
  339. package/test-env/components/inline_edit/inline_edit_text.js +22 -23
  340. package/test-env/components/inline_edit/inline_edit_title.js +22 -23
  341. package/test-env/components/key_pad_menu/key_pad_menu_item.js +1 -1
  342. package/test-env/components/list_group/list_group.js +2 -2
  343. package/test-env/components/list_group/list_group_item.js +3 -3
  344. package/test-env/components/list_group/list_group_item_extra_action.js +1 -1
  345. package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
  346. package/test-env/components/loading/loading_logo.js +1 -1
  347. package/test-env/components/markdown_editor/markdown_editor.js +1 -1
  348. package/test-env/components/markdown_editor/markdown_editor_drop_zone.js +1 -1
  349. package/test-env/components/markdown_editor/markdown_editor_footer.js +1 -1
  350. package/test-env/components/markdown_editor/markdown_editor_toolbar.js +1 -1
  351. package/test-env/components/notification/notification_event.js +2 -2
  352. package/test-env/components/notification/notification_event_meta.js +1 -1
  353. package/test-env/components/page/page_header/page_header_content.js +1 -1
  354. package/test-env/components/panel/split_panel/split_panel.js +9 -7
  355. package/test-env/components/panel/split_panel/split_panel.styles.js +46 -0
  356. package/test-env/components/selectable/selectable_list/selectable_list.js +1 -1
  357. package/test-env/components/selectable/selectable_list/selectable_list_item.js +1 -1
  358. package/test-env/components/selectable/selectable_templates/selectable_template_sitewide.js +1 -1
  359. package/test-env/components/suggest/suggest.js +1 -1
  360. package/test-env/components/suggest/suggest_item.js +1 -1
  361. package/test-env/components/table/table_header_button.js +1 -1
  362. package/test-env/components/text_truncate/utils.js +1 -1
  363. package/test-env/components/timeline/timeline_item_icon.js +1 -1
  364. package/test-env/components/toast/global_toast_list.js +53 -4
  365. package/test-env/components/toast/global_toast_list.styles.js +3 -2
  366. package/test-env/components/toast/toast.js +1 -1
  367. package/test-env/components/tool_tip/icon_tip.js +1 -1
  368. package/src/components/panel/_index.scss +0 -1
  369. package/src/components/panel/_panel.scss +0 -9
  370. package/src/components/panel/split_panel/_index.scss +0 -1
  371. package/src/components/panel/split_panel/_split_panel.scss +0 -21
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.icon = void 0;
8
+ var React = _interopRequireWildcard(require("react"));
9
+ var _react2 = require("@emotion/react");
10
+ var _excluded = ["title", "titleId"];
11
+ /*
12
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
13
+ * or more contributor license agreements. Licensed under the Elastic License
14
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
15
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
16
+ * Side Public License, v 1.
17
+ */
18
+ // THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
19
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
20
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
21
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
22
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
23
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
24
+ var EuiIconGrabOmnidirectional = function EuiIconGrabOmnidirectional(_ref) {
25
+ var title = _ref.title,
26
+ titleId = _ref.titleId,
27
+ props = _objectWithoutProperties(_ref, _excluded);
28
+ return (0, _react2.jsx)("svg", _extends({
29
+ xmlns: "http://www.w3.org/2000/svg",
30
+ width: 16,
31
+ height: 16,
32
+ viewBox: "0 0 16 16",
33
+ "aria-labelledby": titleId
34
+ }, props), title ? (0, _react2.jsx)("title", {
35
+ id: titleId
36
+ }, title) : null, (0, _react2.jsx)("path", {
37
+ d: "M6 5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm4 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM7 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm3 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm3 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"
38
+ }));
39
+ };
40
+ var icon = EuiIconGrabOmnidirectional;
41
+ exports.icon = icon;
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.icon = void 0;
8
+ var React = _interopRequireWildcard(require("react"));
9
+ var _react2 = require("@emotion/react");
10
+ var _excluded = ["title", "titleId"];
11
+ /*
12
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
13
+ * or more contributor license agreements. Licensed under the Elastic License
14
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
15
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
16
+ * Side Public License, v 1.
17
+ */
18
+ // THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
19
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
20
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
21
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
22
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
23
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
24
+ var EuiIconTransitionLeftIn = function EuiIconTransitionLeftIn(_ref) {
25
+ var title = _ref.title,
26
+ titleId = _ref.titleId,
27
+ props = _objectWithoutProperties(_ref, _excluded);
28
+ return (0, _react2.jsx)("svg", _extends({
29
+ xmlns: "http://www.w3.org/2000/svg",
30
+ width: 16,
31
+ height: 16,
32
+ viewBox: "0 0 16 16",
33
+ "aria-labelledby": titleId
34
+ }, props), title ? (0, _react2.jsx)("title", {
35
+ id: titleId
36
+ }, title) : null, (0, _react2.jsx)("path", {
37
+ d: "M10.146 5.854a.5.5 0 0 1 .708-.708l2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708L11.293 8H7.5a.5.5 0 0 1 0-1h3.793l-1.147-1.146Z"
38
+ }), (0, _react2.jsx)("path", {
39
+ fillRule: "evenodd",
40
+ d: "M2 0h11a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2Zm2.707 1H5v1.293l-4 4V4.707L4.707 1ZM6 14V1h7a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H6Zm-1-1.293V14H3.707L5 12.707Zm0-3v1.586L2.293 14H2a1 1 0 0 1-.838-.454L5 9.707Zm0-3v1.586l-4 4v-1.586l4-4Zm0-3v1.586l-4 4V7.707l4-4ZM3.293 1H2a1 1 0 0 0-1 1v1.293L3.293 1Z"
41
+ }));
42
+ };
43
+ var icon = EuiIconTransitionLeftIn;
44
+ exports.icon = icon;
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.icon = void 0;
8
+ var React = _interopRequireWildcard(require("react"));
9
+ var _react2 = require("@emotion/react");
10
+ var _excluded = ["title", "titleId"];
11
+ /*
12
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
13
+ * or more contributor license agreements. Licensed under the Elastic License
14
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
15
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
16
+ * Side Public License, v 1.
17
+ */
18
+ // THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
19
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
20
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
21
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
22
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
23
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
24
+ var EuiIconTransitionLeftOut = function EuiIconTransitionLeftOut(_ref) {
25
+ var title = _ref.title,
26
+ titleId = _ref.titleId,
27
+ props = _objectWithoutProperties(_ref, _excluded);
28
+ return (0, _react2.jsx)("svg", _extends({
29
+ xmlns: "http://www.w3.org/2000/svg",
30
+ width: 16,
31
+ height: 16,
32
+ viewBox: "0 0 16 16",
33
+ "aria-labelledby": titleId
34
+ }, props), title ? (0, _react2.jsx)("title", {
35
+ id: titleId
36
+ }, title) : null, (0, _react2.jsx)("path", {
37
+ d: "M9.854 5.854a.5.5 0 0 0-.708-.708l-2 2a.5.5 0 0 0 0 .708l2 2a.5.5 0 0 0 .708-.708L8.707 8H12.5a.5.5 0 0 0 0-1H8.707l1.147-1.146Z"
38
+ }), (0, _react2.jsx)("path", {
39
+ fillRule: "evenodd",
40
+ d: "M2 0h11a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2Zm2.707 1H5v1.293l-4 4V4.707L4.707 1ZM6 14V1h7a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H6Zm-1-1.293V14H3.707L5 12.707Zm0-3v1.586L2.293 14H2a1 1 0 0 1-.838-.454L5 9.707Zm0-3v1.586l-4 4v-1.586l4-4Zm0-3v1.586l-4 4V7.707l4-4ZM3.293 1H2a1 1 0 0 0-1 1v1.293L3.293 1Z"
41
+ }));
42
+ };
43
+ var icon = EuiIconTransitionLeftOut;
44
+ exports.icon = icon;
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.icon = void 0;
8
+ var React = _interopRequireWildcard(require("react"));
9
+ var _react2 = require("@emotion/react");
10
+ var _excluded = ["title", "titleId"];
11
+ /*
12
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
13
+ * or more contributor license agreements. Licensed under the Elastic License
14
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
15
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
16
+ * Side Public License, v 1.
17
+ */
18
+ // THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
19
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
20
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
21
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
22
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
23
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
24
+ var EuiIconTransitionTopIn = function EuiIconTransitionTopIn(_ref) {
25
+ var title = _ref.title,
26
+ titleId = _ref.titleId,
27
+ props = _objectWithoutProperties(_ref, _excluded);
28
+ return (0, _react2.jsx)("svg", _extends({
29
+ xmlns: "http://www.w3.org/2000/svg",
30
+ width: 16,
31
+ height: 16,
32
+ viewBox: "0 0 16 16",
33
+ "aria-labelledby": titleId
34
+ }, props), title ? (0, _react2.jsx)("title", {
35
+ id: titleId
36
+ }, title) : null, (0, _react2.jsx)("path", {
37
+ d: "M9.146 10.146a.5.5 0 0 1 .708.708l-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 0 1 .708-.708L7 11.293V7.5a.5.5 0 0 1 1 0v3.793l1.146-1.147Z"
38
+ }), (0, _react2.jsx)("path", {
39
+ fillRule: "evenodd",
40
+ d: "M15 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2Zm-1 2.707V5h-1.293l-4-4h1.586L14 4.707ZM1 6h13v7a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V6Zm1.293-1H1V3.707L2.293 5Zm3 0H3.707L1 2.293V2a1 1 0 0 1 .455-.838L5.293 5Zm3 0H6.707l-4-4h1.586l4 4Zm3 0H9.707l-4-4h1.586l4 4ZM14 3.293V2a1 1 0 0 0-1-1h-1.293L14 3.293Z"
41
+ }));
42
+ };
43
+ var icon = EuiIconTransitionTopIn;
44
+ exports.icon = icon;
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.icon = void 0;
8
+ var React = _interopRequireWildcard(require("react"));
9
+ var _react2 = require("@emotion/react");
10
+ var _excluded = ["title", "titleId"];
11
+ /*
12
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
13
+ * or more contributor license agreements. Licensed under the Elastic License
14
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
15
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
16
+ * Side Public License, v 1.
17
+ */
18
+ // THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
19
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
20
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
21
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
22
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
23
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
24
+ var EuiIconTransitionTopOut = function EuiIconTransitionTopOut(_ref) {
25
+ var title = _ref.title,
26
+ titleId = _ref.titleId,
27
+ props = _objectWithoutProperties(_ref, _excluded);
28
+ return (0, _react2.jsx)("svg", _extends({
29
+ xmlns: "http://www.w3.org/2000/svg",
30
+ width: 16,
31
+ height: 16,
32
+ viewBox: "0 0 16 16",
33
+ "aria-labelledby": titleId
34
+ }, props), title ? (0, _react2.jsx)("title", {
35
+ id: titleId
36
+ }, title) : null, (0, _react2.jsx)("path", {
37
+ d: "M9.146 9.854a.5.5 0 0 0 .708-.708l-2-2a.5.5 0 0 0-.708 0l-2 2a.5.5 0 1 0 .708.708L7 8.707V12.5a.5.5 0 0 0 1 0V8.707l1.146 1.147Z"
38
+ }), (0, _react2.jsx)("path", {
39
+ fillRule: "evenodd",
40
+ d: "M15 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2Zm-1 2.707V5h-1.293l-4-4h1.586L14 4.707ZM1 6h13v7a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V6Zm1.293-1H1V3.707L2.293 5Zm3 0H3.707L1 2.293V2a1 1 0 0 1 .455-.838L5.293 5Zm3 0H6.707l-4-4h1.586l4 4Zm3 0H9.707l-4-4h1.586l4 4ZM14 3.293V2a1 1 0 0 0-1-1h-1.293L14 3.293Z"
41
+ }));
42
+ };
43
+ var icon = EuiIconTransitionTopOut;
44
+ exports.icon = icon;
@@ -284,7 +284,7 @@ EuiIconClass.propTypes = {
284
284
  /**
285
285
  * `Enum` is any of the named icons listed in the docs, `string` is usually a URL to an SVG file, and `elementType` is any React SVG component
286
286
  */
287
- type: _propTypes.default.oneOfType([_propTypes.default.oneOf(["accessibility", "addDataApp", "advancedSettingsApp", "agentApp", "aggregate", "analyzeEvent", "annotation", "apmApp", "apmTrace", "appSearchApp", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "arrowStart", "arrowEnd", "article", "asterisk", "at", "auditbeatApp", "beaker", "bell", "bellSlash", "beta", "bolt", "boxesHorizontal", "boxesVertical", "branch", "branchUser", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "casesApp", "check", "checkInCircleFilled", "cheer", "classificationJob", "clock", "cloudDrizzle", "cloudStormy", "cloudSunny", "cluster", "codeApp", "color", "compute", "console", "consoleApp", "container", "continuityAbove", "continuityAboveBelow", "continuityBelow", "continuityWithin", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crosshairs", "currency", "cut", "dashboardApp", "dataVisualizer", "database", "desktop", "devToolsApp", "discoverApp", "discuss", "document", "documentEdit", "documentation", "documents", "dot", "dotInCircle", "doubleArrowLeft", "doubleArrowRight", "download", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorChecklist", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignLeft", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "eql", "eraser", "error", "exit", "expand", "expandMini", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "filebeatApp", "filter", "filterExclude", "filterIgnore", "filterInclude", "filterInCircle", "flag", "fleetApp", "fold", "folderCheck", "folderClosed", "folderExclamation", "folderOpen", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "iInCircle", "image", "importAction", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "indexTemporary", "infinity", "inputOutput", "inspect", "invert", "ip", "key", "keyboard", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "kubernetesNode", "kubernetesPod", "launch", "layers", "lensApp", "lettering", "lineDashed", "lineDotted", "lineSolid", "link", "list", "listAdd", "lock", "lockOpen", "logoAWS", "logoAWSMono", "logoAerospike", "logoApache", "logoAppSearch", "logoAzure", "logoAzureMono", "logoBeats", "logoBusinessAnalytics", "logoCeph", "logoCloud", "logoCloudEnterprise", "logoCode", "logoCodesandbox", "logoCouchbase", "logoDocker", "logoDropwizard", "logoElastic", "logoElasticStack", "logoElasticsearch", "logoEnterpriseSearch", "logoEtcd", "logoGCP", "logoGCPMono", "logoGithub", "logoGmail", "logoGolang", "logoGoogleG", "logoHAproxy", "logoIBM", "logoIBMMono", "logoKafka", "logoKibana", "logoKubernetes", "logoLogging", "logoLogstash", "logoMaps", "logoMemcached", "logoMetrics", "logoMongodb", "logoMySQL", "logoNginx", "logoObservability", "logoOsquery", "logoPhp", "logoPostgres", "logoPrometheus", "logoRabbitmq", "logoRedis", "logoSecurity", "logoSiteSearch", "logoSketch", "logoSlack", "logoUptime", "logoVulnerabilityManagement", "logoWebhook", "logoWindows", "logoWorkplaceSearch", "logsApp", "logstashFilter", "logstashIf", "logstashInput", "logstashOutput", "logstashQueue", "machineLearningApp", "magnet", "magnifyWithExclamation", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menu", "menuDown", "menuLeft", "menuRight", "menuUp", "merge", "metricbeatApp", "metricsApp", "minimize", "minus", "minusInCircle", "minusInCircleFilled", "mobile", "monitoringApp", "moon", "namespace", "nested", "node", "notebookApp", "number", "offline", "online", "outlierDetectionJob", "package", "packetbeatApp", "pageSelect", "pagesSelect", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipelineApp", "pivot", "play", "playFilled", "plus", "plusInCircle", "plusInCircleFilled", "popout", "push", "questionInCircle", "quote", "recentlyViewedApp", "refresh", "regressionJob", "reporter", "reportingApp", "returnKey", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "securityAnalyticsApp", "securityApp", "securitySignal", "securitySignalDetected", "securitySignalResolved", "sessionViewer", "shard", "share", "snowflake", "sortAscending", "sortDescending", "sortDown", "sortLeft", "sortRight", "sortUp", "sortable", "spaces", "spacesApp", "sparkles", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "sun", "swatchInput", "symlink", "tableDensityCompact", "tableDensityExpanded", "tableDensityNormal", "tableOfContents", "tag", "tear", "temperature", "timeline", "timelineWithArrow", "timelionApp", "timeRefresh", "timeslider", "training", "trash", "unfold", "unlink", "upgradeAssistantApp", "uptimeApp", "user", "userAvatar", "users", "usersRolesApp", "vector", "videoPlayer", "visArea", "visAreaStacked", "visBarHorizontal", "visBarHorizontalStacked", "visBarVertical", "visBarVerticalStacked", "visGauge", "visGoal", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visVega", "visVisualBuilder", "visualizeApp", "vulnerabilityManagementApp", "warning", "alert", "watchesApp", "wordWrap", "wordWrapDisabled", "workplaceSearchApp", "wrench", "tokenAlias", "tokenAnnotation", "tokenArray", "tokenBinary", "tokenBoolean", "tokenClass", "tokenCompletionSuggester", "tokenConstant", "tokenDate", "tokenDenseVector", "tokenElement", "tokenEnum", "tokenEnumMember", "tokenEvent", "tokenException", "tokenField", "tokenFile", "tokenFlattened", "tokenFunction", "tokenGeo", "tokenHistogram", "tokenInterface", "tokenIP", "tokenJoin", "tokenKey", "tokenKeyword", "tokenMethod", "tokenMetricCounter", "tokenMetricGauge", "tokenModule", "tokenNamespace", "tokenNested", "tokenNull", "tokenNumber", "tokenObject", "tokenOperator", "tokenPackage", "tokenParameter", "tokenPercolator", "tokenProperty", "tokenRange", "tokenRankFeature", "tokenRankFeatures", "tokenRepo", "tokenSearchType", "tokenShape", "tokenString", "tokenStruct", "tokenSymbol", "tokenTag", "tokenText", "tokenTokenCount", "tokenVariable"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.elementType.isRequired]).isRequired,
287
+ type: _propTypes.default.oneOfType([_propTypes.default.oneOf(["accessibility", "addDataApp", "advancedSettingsApp", "agentApp", "aggregate", "analyzeEvent", "annotation", "apmApp", "apmTrace", "appSearchApp", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "arrowStart", "arrowEnd", "article", "asterisk", "at", "auditbeatApp", "beaker", "bell", "bellSlash", "beta", "bolt", "boxesHorizontal", "boxesVertical", "branch", "branchUser", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "casesApp", "check", "checkInCircleFilled", "cheer", "classificationJob", "clock", "cloudDrizzle", "cloudStormy", "cloudSunny", "cluster", "codeApp", "color", "compute", "console", "consoleApp", "container", "continuityAbove", "continuityAboveBelow", "continuityBelow", "continuityWithin", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crosshairs", "currency", "cut", "dashboardApp", "dataVisualizer", "database", "desktop", "devToolsApp", "discoverApp", "discuss", "document", "documentEdit", "documentation", "documents", "dot", "dotInCircle", "doubleArrowLeft", "doubleArrowRight", "download", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorChecklist", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignLeft", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "eql", "eraser", "error", "exit", "expand", "expandMini", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "filebeatApp", "filter", "filterExclude", "filterIgnore", "filterInclude", "filterInCircle", "flag", "fleetApp", "fold", "folderCheck", "folderClosed", "folderExclamation", "folderOpen", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "grabOmnidirectional", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "iInCircle", "image", "importAction", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "indexTemporary", "infinity", "inputOutput", "inspect", "invert", "ip", "key", "keyboard", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "kubernetesNode", "kubernetesPod", "launch", "layers", "lensApp", "lettering", "lineDashed", "lineDotted", "lineSolid", "link", "list", "listAdd", "lock", "lockOpen", "logoAWS", "logoAWSMono", "logoAerospike", "logoApache", "logoAppSearch", "logoAzure", "logoAzureMono", "logoBeats", "logoBusinessAnalytics", "logoCeph", "logoCloud", "logoCloudEnterprise", "logoCode", "logoCodesandbox", "logoCouchbase", "logoDocker", "logoDropwizard", "logoElastic", "logoElasticStack", "logoElasticsearch", "logoEnterpriseSearch", "logoEtcd", "logoGCP", "logoGCPMono", "logoGithub", "logoGmail", "logoGolang", "logoGoogleG", "logoHAproxy", "logoIBM", "logoIBMMono", "logoKafka", "logoKibana", "logoKubernetes", "logoLogging", "logoLogstash", "logoMaps", "logoMemcached", "logoMetrics", "logoMongodb", "logoMySQL", "logoNginx", "logoObservability", "logoOsquery", "logoPhp", "logoPostgres", "logoPrometheus", "logoRabbitmq", "logoRedis", "logoSecurity", "logoSiteSearch", "logoSketch", "logoSlack", "logoUptime", "logoVulnerabilityManagement", "logoWebhook", "logoWindows", "logoWorkplaceSearch", "logsApp", "logstashFilter", "logstashIf", "logstashInput", "logstashOutput", "logstashQueue", "machineLearningApp", "magnet", "magnifyWithExclamation", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menu", "menuDown", "menuLeft", "menuRight", "menuUp", "merge", "metricbeatApp", "metricsApp", "minimize", "minus", "minusInCircle", "minusInCircleFilled", "mobile", "monitoringApp", "moon", "namespace", "nested", "node", "notebookApp", "number", "offline", "online", "outlierDetectionJob", "package", "packetbeatApp", "pageSelect", "pagesSelect", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFilled", "pipelineApp", "pivot", "play", "playFilled", "plus", "plusInCircle", "plusInCircleFilled", "popout", "push", "questionInCircle", "quote", "recentlyViewedApp", "refresh", "regressionJob", "reporter", "reportingApp", "returnKey", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "securityAnalyticsApp", "securityApp", "securitySignal", "securitySignalDetected", "securitySignalResolved", "sessionViewer", "shard", "share", "snowflake", "sortAscending", "sortDescending", "sortDown", "sortLeft", "sortRight", "sortUp", "sortable", "spaces", "spacesApp", "sparkles", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "sun", "swatchInput", "symlink", "tableDensityCompact", "tableDensityExpanded", "tableDensityNormal", "tableOfContents", "tag", "tear", "temperature", "timeline", "timelineWithArrow", "timelionApp", "timeRefresh", "timeslider", "training", "transitionLeftIn", "transitionLeftOut", "transitionTopIn", "transitionTopOut", "trash", "unfold", "unlink", "upgradeAssistantApp", "uptimeApp", "user", "userAvatar", "users", "usersRolesApp", "vector", "videoPlayer", "visArea", "visAreaStacked", "visBarHorizontal", "visBarHorizontalStacked", "visBarVertical", "visBarVerticalStacked", "visGauge", "visGoal", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visVega", "visVisualBuilder", "visualizeApp", "vulnerabilityManagementApp", "warning", "alert", "watchesApp", "wordWrap", "wordWrapDisabled", "workplaceSearchApp", "wrench", "tokenAlias", "tokenAnnotation", "tokenArray", "tokenBinary", "tokenBoolean", "tokenClass", "tokenCompletionSuggester", "tokenConstant", "tokenDate", "tokenDenseVector", "tokenElement", "tokenEnum", "tokenEnumMember", "tokenEvent", "tokenException", "tokenField", "tokenFile", "tokenFlattened", "tokenFunction", "tokenGeo", "tokenHistogram", "tokenInterface", "tokenIP", "tokenJoin", "tokenKey", "tokenKeyword", "tokenMethod", "tokenMetricCounter", "tokenMetricGauge", "tokenModule", "tokenNamespace", "tokenNested", "tokenNull", "tokenNumber", "tokenObject", "tokenOperator", "tokenPackage", "tokenParameter", "tokenPercolator", "tokenProperty", "tokenRange", "tokenRankFeature", "tokenRankFeatures", "tokenRepo", "tokenSearchType", "tokenShape", "tokenString", "tokenStruct", "tokenSymbol", "tokenTag", "tokenText", "tokenTokenCount", "tokenVariable"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.elementType.isRequired]).isRequired,
288
288
  /**
289
289
  * One of EUI's color palette or a valid CSS color value https://developer.mozilla.org/en-US/docs/Web/CSS/color_value.
290
290
  * Note that coloring only works if your SVG is removed of fill attributes.
@@ -166,6 +166,7 @@ var typeToPathMap = {
166
166
  globe: 'globe',
167
167
  grab: 'grab',
168
168
  grabHorizontal: 'grab_horizontal',
169
+ grabOmnidirectional: 'grabOmnidirectional',
169
170
  graphApp: 'app_graph',
170
171
  grid: 'grid',
171
172
  grokApp: 'app_grok',
@@ -395,6 +396,10 @@ var typeToPathMap = {
395
396
  timeRefresh: 'timeRefresh',
396
397
  timeslider: 'timeslider',
397
398
  training: 'training',
399
+ transitionLeftIn: 'transitionLeftIn',
400
+ transitionLeftOut: 'transitionLeftOut',
401
+ transitionTopIn: 'transitionTopIn',
402
+ transitionTopOut: 'transitionTopOut',
398
403
  trash: 'trash',
399
404
  unfold: 'unfold',
400
405
  unlink: 'unlink',
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <path d="M6 5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm4 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM7 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm3 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm3 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"/>
3
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <path d="M10.146 5.854a.5.5 0 0 1 .708-.708l2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708L11.293 8H7.5a.5.5 0 0 1 0-1h3.793l-1.147-1.146Z"/>
3
+ <path fill-rule="evenodd" d="M2 0h11a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2Zm2.707 1H5v1.293l-4 4V4.707L4.707 1ZM6 14V1h7a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H6Zm-1-1.293V14H3.707L5 12.707Zm0-3v1.586L2.293 14H2a1 1 0 0 1-.838-.454L5 9.707Zm0-3v1.586l-4 4v-1.586l4-4Zm0-3v1.586l-4 4V7.707l4-4ZM3.293 1H2a1 1 0 0 0-1 1v1.293L3.293 1Z"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <path d="M9.854 5.854a.5.5 0 0 0-.708-.708l-2 2a.5.5 0 0 0 0 .708l2 2a.5.5 0 0 0 .708-.708L8.707 8H12.5a.5.5 0 0 0 0-1H8.707l1.147-1.146Z"/>
3
+ <path fill-rule="evenodd" d="M2 0h11a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2Zm2.707 1H5v1.293l-4 4V4.707L4.707 1ZM6 14V1h7a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H6Zm-1-1.293V14H3.707L5 12.707Zm0-3v1.586L2.293 14H2a1 1 0 0 1-.838-.454L5 9.707Zm0-3v1.586l-4 4v-1.586l4-4Zm0-3v1.586l-4 4V7.707l4-4ZM3.293 1H2a1 1 0 0 0-1 1v1.293L3.293 1Z"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <path d="M9.146 10.146a.5.5 0 0 1 .708.708l-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 0 1 .708-.708L7 11.293V7.5a.5.5 0 0 1 1 0v3.793l1.146-1.147Z"/>
3
+ <path fill-rule="evenodd" d="M15 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2Zm-1 2.707V5h-1.293l-4-4h1.586L14 4.707ZM1 6h13v7a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V6Zm1.293-1H1V3.707L2.293 5Zm3 0H3.707L1 2.293V2a1 1 0 0 1 .455-.838L5.293 5Zm3 0H6.707l-4-4h1.586l4 4Zm3 0H9.707l-4-4h1.586l4 4ZM14 3.293V2a1 1 0 0 0-1-1h-1.293L14 3.293Z"/>
4
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
2
+ <path d="M9.146 9.854a.5.5 0 0 0 .708-.708l-2-2a.5.5 0 0 0-.708 0l-2 2a.5.5 0 1 0 .708.708L7 8.707V12.5a.5.5 0 0 0 1 0V8.707l1.146 1.147Z"/>
3
+ <path fill-rule="evenodd" d="M15 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2Zm-1 2.707V5h-1.293l-4-4h1.586L14 4.707ZM1 6h13v7a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V6Zm1.293-1H1V3.707L2.293 5Zm3 0H3.707L1 2.293V2a1 1 0 0 1 .455-.838L5.293 5Zm3 0H6.707l-4-4h1.586l4 4Zm3 0H9.707l-4-4h1.586l4 4ZM14 3.293V2a1 1 0 0 0-1-1h-1.293L14 3.293Z"/>
4
+ </svg>
@@ -18,6 +18,16 @@ var _i18n = require("../i18n");
18
18
  var _accessibility = require("../../services/accessibility");
19
19
  var _inline_edit_form = require("./inline_edit_form.styles");
20
20
  var _react2 = require("@emotion/react");
21
+ var _excluded = ["className", "children", "sizes", "defaultValue", "value", "onChange", "onCancel", "placeholder", "inputAriaLabel", "startWithEditOpen", "readModeProps", "editModeProps", "isLoading", "isInvalid", "onSave", "isReadOnly"];
22
+ /*
23
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
24
+ * or more contributor license agreements. Licensed under the Elastic License
25
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
26
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
27
+ * Side Public License, v 1.
28
+ */
29
+ // Props shared between the internal form component as well as consumer-facing components
30
+ // Internal-only props, passed by the consumer-facing components
21
31
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
22
32
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
23
33
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -30,14 +40,9 @@ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructur
30
40
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
31
41
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
32
42
  function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
33
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } /*
34
- * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
35
- * or more contributor license agreements. Licensed under the Elastic License
36
- * 2.0 and the Server Side Public License, v 1; you may not use this file except
37
- * in compliance with, at your election, the Elastic License 2.0 or the Server
38
- * Side Public License, v 1.
39
- */ // Props shared between the internal form component as well as consumer-facing components
40
- // Internal-only props, passed by the consumer-facing components
43
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
44
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
45
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
41
46
  var SMALL_SIZE_FORM = {
42
47
  iconSize: 's',
43
48
  compressed: true,
@@ -55,8 +60,14 @@ var EuiInlineEditForm = function EuiInlineEditForm(_ref) {
55
60
  var className = _ref.className,
56
61
  children = _ref.children,
57
62
  sizes = _ref.sizes,
58
- defaultValue = _ref.defaultValue,
59
- placeholder = _ref.placeholder,
63
+ _ref$defaultValue = _ref.defaultValue,
64
+ defaultValue = _ref$defaultValue === void 0 ? '' : _ref$defaultValue,
65
+ _ref$value = _ref.value,
66
+ controlledValue = _ref$value === void 0 ? '' : _ref$value,
67
+ _onChange = _ref.onChange,
68
+ onCancel = _ref.onCancel,
69
+ _ref$placeholder = _ref.placeholder,
70
+ placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder,
60
71
  inputAriaLabel = _ref.inputAriaLabel,
61
72
  startWithEditOpen = _ref.startWithEditOpen,
62
73
  readModeProps = _ref.readModeProps,
@@ -65,7 +76,8 @@ var EuiInlineEditForm = function EuiInlineEditForm(_ref) {
65
76
  isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
66
77
  isInvalid = _ref.isInvalid,
67
78
  onSave = _ref.onSave,
68
- isReadOnly = _ref.isReadOnly;
79
+ isReadOnly = _ref.isReadOnly,
80
+ rest = _objectWithoutProperties(_ref, _excluded);
69
81
  var classes = (0, _classnames.default)('euiInlineEdit', className);
70
82
  var euiTheme = (0, _services.useEuiTheme)();
71
83
  var _euiFormVariables = (0, _form2.euiFormVariables)(euiTheme),
@@ -92,10 +104,19 @@ var EuiInlineEditForm = function EuiInlineEditForm(_ref) {
92
104
  _useState4 = _slicedToArray(_useState3, 2),
93
105
  editModeValue = _useState4[0],
94
106
  setEditModeValue = _useState4[1];
95
- var _useState5 = (0, _react.useState)(defaultValue),
107
+
108
+ // readModeValue accepts controlledValue here to provide a reliable backup for the onCancel callback
109
+ var _useState5 = (0, _react.useState)(controlledValue || defaultValue),
96
110
  _useState6 = _slicedToArray(_useState5, 2),
97
111
  readModeValue = _useState6[0],
98
112
  setReadModeValue = _useState6[1];
113
+ var value = (0, _react.useMemo)(function () {
114
+ if (controlledValue) {
115
+ return controlledValue;
116
+ } else {
117
+ return isEditing ? editModeValue : readModeValue || placeholder;
118
+ }
119
+ }, [controlledValue, editModeValue, readModeValue, isEditing, placeholder]);
99
120
  var readModeStyles = (0, _inline_edit_form.euiInlineEditReadModeStyles)(euiTheme);
100
121
  var readModeCssStyles = [readModeStyles.euiInlineEditReadMode, isReadOnly && readModeStyles.isReadOnly, placeholder && !readModeValue && readModeStyles.hasPlaceholder];
101
122
  var activateEditMode = function activateEditMode() {
@@ -108,6 +129,7 @@ var EuiInlineEditForm = function EuiInlineEditForm(_ref) {
108
129
  };
109
130
  var cancelInlineEdit = function cancelInlineEdit() {
110
131
  setEditModeValue(readModeValue);
132
+ onCancel === null || onCancel === void 0 ? void 0 : onCancel(readModeValue);
111
133
  setIsEditing(false);
112
134
  requestAnimationFrame(function () {
113
135
  var _readModeFocusRef$cur;
@@ -124,7 +146,7 @@ var EuiInlineEditForm = function EuiInlineEditForm(_ref) {
124
146
  _context.next = 12;
125
147
  break;
126
148
  }
127
- onSaveReturn = onSave(editModeValue);
149
+ onSaveReturn = onSave(value);
128
150
  if (!(onSaveReturn instanceof Promise)) {
129
151
  _context.next = 8;
130
152
  break;
@@ -188,18 +210,19 @@ var EuiInlineEditForm = function EuiInlineEditForm(_ref) {
188
210
  error: isInvalid && (editModeProps === null || editModeProps === void 0 ? void 0 : (_editModeProps$formRo = editModeProps.formRowProps) === null || _editModeProps$formRo === void 0 ? void 0 : _editModeProps$formRo.error)
189
211
  }, editModeProps === null || editModeProps === void 0 ? void 0 : editModeProps.formRowProps), (0, _react2.jsx)(_form.EuiFieldText, _extends({
190
212
  fullWidth: true,
191
- value: editModeValue,
213
+ value: value,
192
214
  "aria-label": inputAriaLabel,
193
215
  compressed: sizes.compressed,
194
216
  isInvalid: isInvalid,
195
217
  isLoading: isLoading,
196
218
  "data-test-subj": "euiInlineEditModeInput",
197
- placeholder: placeholder
219
+ placeholder: placeholder || undefined // Opt not to render the prop entirely if an empty string is passed
198
220
  }, editModeProps === null || editModeProps === void 0 ? void 0 : editModeProps.inputProps, {
199
221
  inputRef: setEditModeRefs,
200
222
  onChange: function onChange(e) {
201
223
  var _editModeProps$inputP2, _editModeProps$inputP3;
202
224
  setEditModeValue(e.target.value);
225
+ _onChange === null || _onChange === void 0 ? void 0 : _onChange(e);
203
226
  editModeProps === null || editModeProps === void 0 ? void 0 : (_editModeProps$inputP2 = editModeProps.inputProps) === null || _editModeProps$inputP2 === void 0 ? void 0 : (_editModeProps$inputP3 = _editModeProps$inputP2.onChange) === null || _editModeProps$inputP3 === void 0 ? void 0 : _editModeProps$inputP3.call(_editModeProps$inputP2, e);
204
227
  },
205
228
  onKeyDown: function onKeyDown(e) {
@@ -273,7 +296,7 @@ var EuiInlineEditForm = function EuiInlineEditForm(_ref) {
273
296
  "data-test-subj": "euiInlineReadModeButton",
274
297
  disabled: isReadOnly,
275
298
  css: readModeCssStyles,
276
- title: readModeValue || placeholder
299
+ title: value
277
300
  }, readModeProps, {
278
301
  buttonRef: setReadModeRefs,
279
302
  "aria-describedby": (0, _classnames.default)(readModeDescribedById, readModeProps === null || readModeProps === void 0 ? void 0 : readModeProps['aria-describedby']),
@@ -282,16 +305,16 @@ var EuiInlineEditForm = function EuiInlineEditForm(_ref) {
282
305
  activateEditMode();
283
306
  readModeProps === null || readModeProps === void 0 ? void 0 : (_readModeProps$onClic = readModeProps.onClick) === null || _readModeProps$onClic === void 0 ? void 0 : _readModeProps$onClic.call(readModeProps, e);
284
307
  }
285
- }), children(readModeValue || placeholder)), (0, _react2.jsx)("span", {
308
+ }), children(value)), (0, _react2.jsx)("span", {
286
309
  id: readModeDescribedById,
287
310
  hidden: true
288
311
  }, !isReadOnly && (0, _react2.jsx)(_i18n.EuiI18n, {
289
312
  token: "euiInlineEditForm.activateEditModeDescription",
290
313
  default: "Click to edit this text inline."
291
314
  })));
292
- return (0, _react2.jsx)("div", {
315
+ return (0, _react2.jsx)("div", _extends({
293
316
  className: classes
294
- }, isEditing ? editModeForm : readModeElement);
317
+ }, rest), isEditing ? editModeForm : readModeElement);
295
318
  };
296
319
  exports.EuiInlineEditForm = EuiInlineEditForm;
297
320
  EuiInlineEditForm.propTypes = {
@@ -299,7 +322,6 @@ EuiInlineEditForm.propTypes = {
299
322
  "aria-label": _propTypes.default.string,
300
323
  "data-test-subj": _propTypes.default.string,
301
324
  css: _propTypes.default.any,
302
- defaultValue: _propTypes.default.string.isRequired,
303
325
  placeholder: _propTypes.default.string,
304
326
  /**
305
327
  * Callback that fires when a user clicks the save button.
@@ -347,6 +369,22 @@ EuiInlineEditForm.propTypes = {
347
369
  * Locks inline edit in read mode and displays the text value
348
370
  */
349
371
  isReadOnly: _propTypes.default.bool,
372
+ /**
373
+ * Initial inline edit text value
374
+ */
375
+ defaultValue: _propTypes.default.string,
376
+ /**
377
+ * To use inline edit as a controlled component, continuously pass the value via this prop
378
+ */
379
+ value: _propTypes.default.string,
380
+ /**
381
+ * Callback required to receive and update `value` based on user input
382
+ */
383
+ onChange: _propTypes.default.func,
384
+ /**
385
+ * Callback required to reset `value` to the previous read mode text value.
386
+ */
387
+ onCancel: _propTypes.default.func,
350
388
  /**
351
389
  * Form sizes
352
390
  */
@@ -13,7 +13,7 @@ var _inline_edit_form = require("./inline_edit_form");
13
13
  var _services = require("../../services");
14
14
  var _inline_edit_text = require("./inline_edit_text.styles");
15
15
  var _react2 = require("@emotion/react");
16
- var _excluded = ["className", "size", "defaultValue", "placeholder", "inputAriaLabel", "startWithEditOpen", "readModeProps", "editModeProps", "isLoading", "isInvalid", "isReadOnly"];
16
+ var _excluded = ["className", "size", "readModeProps", "isReadOnly"];
17
17
  /*
18
18
  * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
19
19
  * or more contributor license agreements. Licensed under the Elastic License
@@ -36,14 +36,7 @@ var EuiInlineEditText = function EuiInlineEditText(_ref) {
36
36
  var className = _ref.className,
37
37
  _ref$size = _ref.size,
38
38
  size = _ref$size === void 0 ? 'm' : _ref$size,
39
- defaultValue = _ref.defaultValue,
40
- placeholder = _ref.placeholder,
41
- inputAriaLabel = _ref.inputAriaLabel,
42
- startWithEditOpen = _ref.startWithEditOpen,
43
39
  _readModeProps = _ref.readModeProps,
44
- editModeProps = _ref.editModeProps,
45
- isLoading = _ref.isLoading,
46
- isInvalid = _ref.isInvalid,
47
40
  isReadOnly = _ref.isReadOnly,
48
41
  rest = _objectWithoutProperties(_ref, _excluded);
49
42
  var classes = (0, _classnames.default)('euiInlineEditText', className);
@@ -58,22 +51,13 @@ var EuiInlineEditText = function EuiInlineEditText(_ref) {
58
51
  role: 'paragraph'
59
52
  });
60
53
  }, [_readModeProps, isReadOnly]);
61
- var formProps = {
62
- sizes: sizes,
63
- defaultValue: defaultValue,
64
- placeholder: placeholder,
65
- inputAriaLabel: inputAriaLabel,
66
- startWithEditOpen: startWithEditOpen,
67
- readModeProps: readModeProps,
68
- editModeProps: editModeProps,
69
- isLoading: isLoading,
70
- isInvalid: isInvalid,
71
- isReadOnly: isReadOnly
72
- };
73
54
  return (0, _react2.jsx)(_inline_edit_form.EuiInlineEditForm, _extends({
74
55
  className: classes,
75
- css: cssStyles
76
- }, rest, formProps), function (textReadModeValue) {
56
+ css: cssStyles,
57
+ readModeProps: readModeProps,
58
+ isReadOnly: isReadOnly,
59
+ sizes: sizes
60
+ }, rest), function (textReadModeValue) {
77
61
  return (0, _react2.jsx)(_text.EuiText, {
78
62
  size: size,
79
63
  className: "eui-textTruncate"
@@ -86,7 +70,6 @@ EuiInlineEditText.propTypes = {
86
70
  "aria-label": _propTypes.default.string,
87
71
  "data-test-subj": _propTypes.default.string,
88
72
  css: _propTypes.default.any,
89
- defaultValue: _propTypes.default.string.isRequired,
90
73
  placeholder: _propTypes.default.string,
91
74
  /**
92
75
  * Callback that fires when a user clicks the save button.
@@ -134,6 +117,22 @@ EuiInlineEditText.propTypes = {
134
117
  * Locks inline edit in read mode and displays the text value
135
118
  */
136
119
  isReadOnly: _propTypes.default.bool,
120
+ /**
121
+ * Initial inline edit text value
122
+ */
123
+ defaultValue: _propTypes.default.string,
124
+ /**
125
+ * To use inline edit as a controlled component, continuously pass the value via this prop
126
+ */
127
+ value: _propTypes.default.string,
128
+ /**
129
+ * Callback required to receive and update `value` based on user input
130
+ */
131
+ onChange: _propTypes.default.func,
132
+ /**
133
+ * Callback required to reset `value` to the previous read mode text value.
134
+ */
135
+ onCancel: _propTypes.default.func,
137
136
  /**
138
137
  * Text size level
139
138
  */