@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
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ var _typeof = require("@babel/runtime/helpers/typeof");
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.icon = void 0;
9
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
10
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
11
+ var React = _interopRequireWildcard(require("react"));
12
+ var _react2 = require("@emotion/react");
13
+ var _excluded = ["title", "titleId"];
14
+ /*
15
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
16
+ * or more contributor license agreements. Licensed under the Elastic License
17
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
18
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
19
+ * Side Public License, v 1.
20
+ */
21
+ // THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
22
+ 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
+ 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; }
24
+ var EuiIconGrabOmnidirectional = function EuiIconGrabOmnidirectional(_ref) {
25
+ var title = _ref.title,
26
+ titleId = _ref.titleId,
27
+ props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
28
+ return (0, _react2.jsx)("svg", (0, _extends2.default)({
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
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ var _typeof = require("@babel/runtime/helpers/typeof");
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.icon = void 0;
9
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
10
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
11
+ var React = _interopRequireWildcard(require("react"));
12
+ var _react2 = require("@emotion/react");
13
+ var _excluded = ["title", "titleId"];
14
+ /*
15
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
16
+ * or more contributor license agreements. Licensed under the Elastic License
17
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
18
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
19
+ * Side Public License, v 1.
20
+ */
21
+ // THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
22
+ 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
+ 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; }
24
+ var EuiIconTransitionLeftIn = function EuiIconTransitionLeftIn(_ref) {
25
+ var title = _ref.title,
26
+ titleId = _ref.titleId,
27
+ props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
28
+ return (0, _react2.jsx)("svg", (0, _extends2.default)({
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
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ var _typeof = require("@babel/runtime/helpers/typeof");
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.icon = void 0;
9
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
10
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
11
+ var React = _interopRequireWildcard(require("react"));
12
+ var _react2 = require("@emotion/react");
13
+ var _excluded = ["title", "titleId"];
14
+ /*
15
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
16
+ * or more contributor license agreements. Licensed under the Elastic License
17
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
18
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
19
+ * Side Public License, v 1.
20
+ */
21
+ // THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
22
+ 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
+ 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; }
24
+ var EuiIconTransitionLeftOut = function EuiIconTransitionLeftOut(_ref) {
25
+ var title = _ref.title,
26
+ titleId = _ref.titleId,
27
+ props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
28
+ return (0, _react2.jsx)("svg", (0, _extends2.default)({
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
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ var _typeof = require("@babel/runtime/helpers/typeof");
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.icon = void 0;
9
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
10
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
11
+ var React = _interopRequireWildcard(require("react"));
12
+ var _react2 = require("@emotion/react");
13
+ var _excluded = ["title", "titleId"];
14
+ /*
15
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
16
+ * or more contributor license agreements. Licensed under the Elastic License
17
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
18
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
19
+ * Side Public License, v 1.
20
+ */
21
+ // THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
22
+ 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
+ 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; }
24
+ var EuiIconTransitionTopIn = function EuiIconTransitionTopIn(_ref) {
25
+ var title = _ref.title,
26
+ titleId = _ref.titleId,
27
+ props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
28
+ return (0, _react2.jsx)("svg", (0, _extends2.default)({
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
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ var _typeof = require("@babel/runtime/helpers/typeof");
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.icon = void 0;
9
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
10
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
11
+ var React = _interopRequireWildcard(require("react"));
12
+ var _react2 = require("@emotion/react");
13
+ var _excluded = ["title", "titleId"];
14
+ /*
15
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
16
+ * or more contributor license agreements. Licensed under the Elastic License
17
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
18
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
19
+ * Side Public License, v 1.
20
+ */
21
+ // THIS IS A GENERATED FILE. DO NOT MODIFY MANUALLY. @see scripts/compile-icons.js
22
+ 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
+ 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; }
24
+ var EuiIconTransitionTopOut = function EuiIconTransitionTopOut(_ref) {
25
+ var title = _ref.title,
26
+ titleId = _ref.titleId,
27
+ props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
28
+ return (0, _react2.jsx)("svg", (0, _extends2.default)({
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;
@@ -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',
@@ -10,6 +10,7 @@ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"))
10
10
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
11
  var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
12
12
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
13
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
13
14
  var _react = _interopRequireWildcard(require("react"));
14
15
  var _propTypes = _interopRequireDefault(require("prop-types"));
15
16
  var _classnames = _interopRequireDefault(require("classnames"));
@@ -23,8 +24,7 @@ var _i18n = require("../i18n");
23
24
  var _accessibility = require("../../services/accessibility");
24
25
  var _inline_edit_form = require("./inline_edit_form.styles");
25
26
  var _react2 = require("@emotion/react");
26
- 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); }
27
- 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; }
27
+ var _excluded = ["className", "children", "sizes", "defaultValue", "value", "onChange", "onCancel", "placeholder", "inputAriaLabel", "startWithEditOpen", "readModeProps", "editModeProps", "isLoading", "isInvalid", "onSave", "isReadOnly"];
28
28
  /*
29
29
  * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
30
30
  * or more contributor license agreements. Licensed under the Elastic License
@@ -32,11 +32,10 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
32
32
  * in compliance with, at your election, the Elastic License 2.0 or the Server
33
33
  * Side Public License, v 1.
34
34
  */
35
-
36
35
  // Props shared between the internal form component as well as consumer-facing components
37
-
38
36
  // Internal-only props, passed by the consumer-facing components
39
-
37
+ 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); }
38
+ 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; }
40
39
  var SMALL_SIZE_FORM = {
41
40
  iconSize: 's',
42
41
  compressed: true,
@@ -54,8 +53,14 @@ var EuiInlineEditForm = function EuiInlineEditForm(_ref) {
54
53
  var className = _ref.className,
55
54
  children = _ref.children,
56
55
  sizes = _ref.sizes,
57
- defaultValue = _ref.defaultValue,
58
- placeholder = _ref.placeholder,
56
+ _ref$defaultValue = _ref.defaultValue,
57
+ defaultValue = _ref$defaultValue === void 0 ? '' : _ref$defaultValue,
58
+ _ref$value = _ref.value,
59
+ controlledValue = _ref$value === void 0 ? '' : _ref$value,
60
+ _onChange = _ref.onChange,
61
+ onCancel = _ref.onCancel,
62
+ _ref$placeholder = _ref.placeholder,
63
+ placeholder = _ref$placeholder === void 0 ? '' : _ref$placeholder,
59
64
  inputAriaLabel = _ref.inputAriaLabel,
60
65
  startWithEditOpen = _ref.startWithEditOpen,
61
66
  readModeProps = _ref.readModeProps,
@@ -64,7 +69,8 @@ var EuiInlineEditForm = function EuiInlineEditForm(_ref) {
64
69
  isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
65
70
  isInvalid = _ref.isInvalid,
66
71
  onSave = _ref.onSave,
67
- isReadOnly = _ref.isReadOnly;
72
+ isReadOnly = _ref.isReadOnly,
73
+ rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
68
74
  var classes = (0, _classnames.default)('euiInlineEdit', className);
69
75
  var euiTheme = (0, _services.useEuiTheme)();
70
76
  var _euiFormVariables = (0, _form2.euiFormVariables)(euiTheme),
@@ -91,10 +97,19 @@ var EuiInlineEditForm = function EuiInlineEditForm(_ref) {
91
97
  _useState4 = (0, _slicedToArray2.default)(_useState3, 2),
92
98
  editModeValue = _useState4[0],
93
99
  setEditModeValue = _useState4[1];
94
- var _useState5 = (0, _react.useState)(defaultValue),
100
+
101
+ // readModeValue accepts controlledValue here to provide a reliable backup for the onCancel callback
102
+ var _useState5 = (0, _react.useState)(controlledValue || defaultValue),
95
103
  _useState6 = (0, _slicedToArray2.default)(_useState5, 2),
96
104
  readModeValue = _useState6[0],
97
105
  setReadModeValue = _useState6[1];
106
+ var value = (0, _react.useMemo)(function () {
107
+ if (controlledValue) {
108
+ return controlledValue;
109
+ } else {
110
+ return isEditing ? editModeValue : readModeValue || placeholder;
111
+ }
112
+ }, [controlledValue, editModeValue, readModeValue, isEditing, placeholder]);
98
113
  var readModeStyles = (0, _inline_edit_form.euiInlineEditReadModeStyles)(euiTheme);
99
114
  var readModeCssStyles = [readModeStyles.euiInlineEditReadMode, isReadOnly && readModeStyles.isReadOnly, placeholder && !readModeValue && readModeStyles.hasPlaceholder];
100
115
  var activateEditMode = function activateEditMode() {
@@ -107,6 +122,7 @@ var EuiInlineEditForm = function EuiInlineEditForm(_ref) {
107
122
  };
108
123
  var cancelInlineEdit = function cancelInlineEdit() {
109
124
  setEditModeValue(readModeValue);
125
+ onCancel === null || onCancel === void 0 ? void 0 : onCancel(readModeValue);
110
126
  setIsEditing(false);
111
127
  requestAnimationFrame(function () {
112
128
  var _readModeFocusRef$cur;
@@ -123,7 +139,7 @@ var EuiInlineEditForm = function EuiInlineEditForm(_ref) {
123
139
  _context.next = 12;
124
140
  break;
125
141
  }
126
- onSaveReturn = onSave(editModeValue);
142
+ onSaveReturn = onSave(value);
127
143
  if (!(onSaveReturn instanceof Promise)) {
128
144
  _context.next = 8;
129
145
  break;
@@ -187,18 +203,19 @@ var EuiInlineEditForm = function EuiInlineEditForm(_ref) {
187
203
  error: isInvalid && (editModeProps === null || editModeProps === void 0 ? void 0 : (_editModeProps$formRo = editModeProps.formRowProps) === null || _editModeProps$formRo === void 0 ? void 0 : _editModeProps$formRo.error)
188
204
  }, editModeProps === null || editModeProps === void 0 ? void 0 : editModeProps.formRowProps), (0, _react2.jsx)(_form.EuiFieldText, (0, _extends2.default)({
189
205
  fullWidth: true,
190
- value: editModeValue,
206
+ value: value,
191
207
  "aria-label": inputAriaLabel,
192
208
  compressed: sizes.compressed,
193
209
  isInvalid: isInvalid,
194
210
  isLoading: isLoading,
195
211
  "data-test-subj": "euiInlineEditModeInput",
196
- placeholder: placeholder
212
+ placeholder: placeholder || undefined // Opt not to render the prop entirely if an empty string is passed
197
213
  }, editModeProps === null || editModeProps === void 0 ? void 0 : editModeProps.inputProps, {
198
214
  inputRef: setEditModeRefs,
199
215
  onChange: function onChange(e) {
200
216
  var _editModeProps$inputP2, _editModeProps$inputP3;
201
217
  setEditModeValue(e.target.value);
218
+ _onChange === null || _onChange === void 0 ? void 0 : _onChange(e);
202
219
  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);
203
220
  },
204
221
  onKeyDown: function onKeyDown(e) {
@@ -272,7 +289,7 @@ var EuiInlineEditForm = function EuiInlineEditForm(_ref) {
272
289
  "data-test-subj": "euiInlineReadModeButton",
273
290
  disabled: isReadOnly,
274
291
  css: readModeCssStyles,
275
- title: readModeValue || placeholder
292
+ title: value
276
293
  }, readModeProps, {
277
294
  buttonRef: setReadModeRefs,
278
295
  "aria-describedby": (0, _classnames.default)(readModeDescribedById, readModeProps === null || readModeProps === void 0 ? void 0 : readModeProps['aria-describedby']),
@@ -281,16 +298,16 @@ var EuiInlineEditForm = function EuiInlineEditForm(_ref) {
281
298
  activateEditMode();
282
299
  readModeProps === null || readModeProps === void 0 ? void 0 : (_readModeProps$onClic = readModeProps.onClick) === null || _readModeProps$onClic === void 0 ? void 0 : _readModeProps$onClic.call(readModeProps, e);
283
300
  }
284
- }), children(readModeValue || placeholder)), (0, _react2.jsx)("span", {
301
+ }), children(value)), (0, _react2.jsx)("span", {
285
302
  id: readModeDescribedById,
286
303
  hidden: true
287
304
  }, !isReadOnly && (0, _react2.jsx)(_i18n.EuiI18n, {
288
305
  token: "euiInlineEditForm.activateEditModeDescription",
289
306
  default: "Click to edit this text inline."
290
307
  })));
291
- return (0, _react2.jsx)("div", {
308
+ return (0, _react2.jsx)("div", (0, _extends2.default)({
292
309
  className: classes
293
- }, isEditing ? editModeForm : readModeElement);
310
+ }, rest), isEditing ? editModeForm : readModeElement);
294
311
  };
295
312
  exports.EuiInlineEditForm = EuiInlineEditForm;
296
313
  EuiInlineEditForm.propTypes = {
@@ -298,7 +315,6 @@ EuiInlineEditForm.propTypes = {
298
315
  "aria-label": _propTypes.default.string,
299
316
  "data-test-subj": _propTypes.default.string,
300
317
  css: _propTypes.default.any,
301
- defaultValue: _propTypes.default.string.isRequired,
302
318
  placeholder: _propTypes.default.string,
303
319
  /**
304
320
  * Callback that fires when a user clicks the save button.
@@ -346,6 +362,22 @@ EuiInlineEditForm.propTypes = {
346
362
  * Locks inline edit in read mode and displays the text value
347
363
  */
348
364
  isReadOnly: _propTypes.default.bool,
365
+ /**
366
+ * Initial inline edit text value
367
+ */
368
+ defaultValue: _propTypes.default.string,
369
+ /**
370
+ * To use inline edit as a controlled component, continuously pass the value via this prop
371
+ */
372
+ value: _propTypes.default.string,
373
+ /**
374
+ * Callback required to receive and update `value` based on user input
375
+ */
376
+ onChange: _propTypes.default.func,
377
+ /**
378
+ * Callback required to reset `value` to the previous read mode text value.
379
+ */
380
+ onCancel: _propTypes.default.func,
349
381
  /**
350
382
  * Form sizes
351
383
  */
@@ -17,7 +17,7 @@ var _inline_edit_form = require("./inline_edit_form");
17
17
  var _services = require("../../services");
18
18
  var _inline_edit_text = require("./inline_edit_text.styles");
19
19
  var _react2 = require("@emotion/react");
20
- var _excluded = ["className", "size", "defaultValue", "placeholder", "inputAriaLabel", "startWithEditOpen", "readModeProps", "editModeProps", "isLoading", "isInvalid", "isReadOnly"];
20
+ var _excluded = ["className", "size", "readModeProps", "isReadOnly"];
21
21
  /*
22
22
  * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
23
23
  * or more contributor license agreements. Licensed under the Elastic License
@@ -33,14 +33,7 @@ var EuiInlineEditText = function EuiInlineEditText(_ref) {
33
33
  var className = _ref.className,
34
34
  _ref$size = _ref.size,
35
35
  size = _ref$size === void 0 ? 'm' : _ref$size,
36
- defaultValue = _ref.defaultValue,
37
- placeholder = _ref.placeholder,
38
- inputAriaLabel = _ref.inputAriaLabel,
39
- startWithEditOpen = _ref.startWithEditOpen,
40
36
  _readModeProps = _ref.readModeProps,
41
- editModeProps = _ref.editModeProps,
42
- isLoading = _ref.isLoading,
43
- isInvalid = _ref.isInvalid,
44
37
  isReadOnly = _ref.isReadOnly,
45
38
  rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
46
39
  var classes = (0, _classnames.default)('euiInlineEditText', className);
@@ -55,22 +48,13 @@ var EuiInlineEditText = function EuiInlineEditText(_ref) {
55
48
  role: 'paragraph'
56
49
  });
57
50
  }, [_readModeProps, isReadOnly]);
58
- var formProps = {
59
- sizes: sizes,
60
- defaultValue: defaultValue,
61
- placeholder: placeholder,
62
- inputAriaLabel: inputAriaLabel,
63
- startWithEditOpen: startWithEditOpen,
64
- readModeProps: readModeProps,
65
- editModeProps: editModeProps,
66
- isLoading: isLoading,
67
- isInvalid: isInvalid,
68
- isReadOnly: isReadOnly
69
- };
70
51
  return (0, _react2.jsx)(_inline_edit_form.EuiInlineEditForm, (0, _extends2.default)({
71
52
  className: classes,
72
- css: cssStyles
73
- }, rest, formProps), function (textReadModeValue) {
53
+ css: cssStyles,
54
+ readModeProps: readModeProps,
55
+ isReadOnly: isReadOnly,
56
+ sizes: sizes
57
+ }, rest), function (textReadModeValue) {
74
58
  return (0, _react2.jsx)(_text.EuiText, {
75
59
  size: size,
76
60
  className: "eui-textTruncate"
@@ -83,7 +67,6 @@ EuiInlineEditText.propTypes = {
83
67
  "aria-label": _propTypes.default.string,
84
68
  "data-test-subj": _propTypes.default.string,
85
69
  css: _propTypes.default.any,
86
- defaultValue: _propTypes.default.string.isRequired,
87
70
  placeholder: _propTypes.default.string,
88
71
  /**
89
72
  * Callback that fires when a user clicks the save button.
@@ -131,6 +114,22 @@ EuiInlineEditText.propTypes = {
131
114
  * Locks inline edit in read mode and displays the text value
132
115
  */
133
116
  isReadOnly: _propTypes.default.bool,
117
+ /**
118
+ * Initial inline edit text value
119
+ */
120
+ defaultValue: _propTypes.default.string,
121
+ /**
122
+ * To use inline edit as a controlled component, continuously pass the value via this prop
123
+ */
124
+ value: _propTypes.default.string,
125
+ /**
126
+ * Callback required to receive and update `value` based on user input
127
+ */
128
+ onChange: _propTypes.default.func,
129
+ /**
130
+ * Callback required to reset `value` to the previous read mode text value.
131
+ */
132
+ onCancel: _propTypes.default.func,
134
133
  /**
135
134
  * Text size level
136
135
  */
@@ -17,7 +17,7 @@ var _inline_edit_form = require("./inline_edit_form");
17
17
  var _services = require("../../services");
18
18
  var _inline_edit_title = require("./inline_edit_title.styles");
19
19
  var _react2 = require("@emotion/react");
20
- var _excluded = ["className", "size", "heading", "defaultValue", "placeholder", "inputAriaLabel", "startWithEditOpen", "readModeProps", "editModeProps", "isLoading", "isInvalid", "isReadOnly"];
20
+ var _excluded = ["className", "size", "heading", "readModeProps", "isReadOnly"];
21
21
  /*
22
22
  * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
23
23
  * or more contributor license agreements. Licensed under the Elastic License
@@ -36,14 +36,7 @@ var EuiInlineEditTitle = function EuiInlineEditTitle(_ref) {
36
36
  _ref$size = _ref.size,
37
37
  size = _ref$size === void 0 ? 'm' : _ref$size,
38
38
  heading = _ref.heading,
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 = (0, _objectWithoutProperties2.default)(_ref, _excluded);
49
42
  var classes = (0, _classnames.default)('euiInlineEditTitle', className);
@@ -63,22 +56,13 @@ var EuiInlineEditTitle = function EuiInlineEditTitle(_ref) {
63
56
  role: 'paragraph'
64
57
  });
65
58
  }, [_readModeProps, isReadOnly, heading]);
66
- var formProps = {
67
- sizes: sizes,
68
- defaultValue: defaultValue,
69
- placeholder: placeholder,
70
- inputAriaLabel: inputAriaLabel,
71
- startWithEditOpen: startWithEditOpen,
72
- readModeProps: readModeProps,
73
- editModeProps: editModeProps,
74
- isLoading: isLoading,
75
- isInvalid: isInvalid,
76
- isReadOnly: isReadOnly
77
- };
78
59
  return (0, _react2.jsx)(_inline_edit_form.EuiInlineEditForm, (0, _extends2.default)({
79
60
  css: cssStyles,
80
- className: classes
81
- }, rest, formProps), function (titleReadModeValue) {
61
+ className: classes,
62
+ readModeProps: readModeProps,
63
+ isReadOnly: isReadOnly,
64
+ sizes: sizes
65
+ }, rest), function (titleReadModeValue) {
82
66
  return (0, _react2.jsx)(_title.EuiTitle, {
83
67
  size: size,
84
68
  className: "eui-textTruncate"
@@ -93,7 +77,6 @@ EuiInlineEditTitle.propTypes = {
93
77
  "aria-label": _propTypes.default.string,
94
78
  "data-test-subj": _propTypes.default.string,
95
79
  css: _propTypes.default.any,
96
- defaultValue: _propTypes.default.string.isRequired,
97
80
  placeholder: _propTypes.default.string,
98
81
  /**
99
82
  * Callback that fires when a user clicks the save button.
@@ -141,6 +124,22 @@ EuiInlineEditTitle.propTypes = {
141
124
  * Locks inline edit in read mode and displays the text value
142
125
  */
143
126
  isReadOnly: _propTypes.default.bool,
127
+ /**
128
+ * Initial inline edit text value
129
+ */
130
+ defaultValue: _propTypes.default.string,
131
+ /**
132
+ * To use inline edit as a controlled component, continuously pass the value via this prop
133
+ */
134
+ value: _propTypes.default.string,
135
+ /**
136
+ * Callback required to receive and update `value` based on user input
137
+ */
138
+ onChange: _propTypes.default.func,
139
+ /**
140
+ * Callback required to reset `value` to the previous read mode text value.
141
+ */
142
+ onCancel: _propTypes.default.func,
144
143
  /**
145
144
  * Title size level
146
145
  */