@elastic/eui 116.2.0 → 116.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 (224) hide show
  1. package/es/components/avatar/avatar.js +14 -5
  2. package/es/components/banner/banner.js +202 -0
  3. package/es/components/banner/banner.styles.js +76 -0
  4. package/es/components/banner/index.js +9 -0
  5. package/es/components/basic_table/basic_table.js +21 -10
  6. package/es/components/basic_table/collapsed_item_actions.js +5 -4
  7. package/es/components/basic_table/default_item_action.js +3 -5
  8. package/es/components/breadcrumbs/_breadcrumb_content.js +29 -19
  9. package/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +2 -1
  10. package/es/components/context_menu/context_menu_panel_title.js +0 -12
  11. package/es/components/datagrid/body/cell/data_grid_cell_actions.js +11 -7
  12. package/es/components/datagrid/controls/display_selector.js +2 -1
  13. package/es/components/datagrid/controls/keyboard_shortcuts.js +2 -1
  14. package/es/components/date_picker/auto_refresh/auto_refresh.js +7 -4
  15. package/es/components/date_picker/react-datepicker/src/index.js +1 -5
  16. package/es/components/date_picker/super_date_picker/date_popover/absolute_tab.js +6 -3
  17. package/es/components/date_picker/super_date_picker/date_popover/date_popover_button.js +10 -2
  18. package/es/components/date_picker/super_date_picker/date_popover/date_popover_button.styles.js +2 -1
  19. package/es/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +8 -5
  20. package/es/components/form/field_password/field_password.js +6 -3
  21. package/es/components/header/header.a11y.js +1 -1
  22. package/es/components/index.js +1 -0
  23. package/es/components/markdown_editor/markdown_editor_help_button.js +7 -4
  24. package/es/components/pagination/pagination_button_arrow.js +6 -2
  25. package/es/components/panel/panel.styles.js +4 -4
  26. package/es/components/panel/split_panel/split_panel.styles.js +1 -1
  27. package/es/components/search_bar/search_bar.js +20 -16
  28. package/es/components/search_bar/search_box.js +4 -2
  29. package/es/components/selectable/selectable_list/selectable_list.js +1 -1
  30. package/es/components/selectable/selectable_list/selectable_list.styles.js +1 -1
  31. package/es/components/selectable/selectable_templates/selectable_template_sitewide.js +2 -1
  32. package/es/components/table/sticky_header/context.js +32 -0
  33. package/es/components/table/sticky_header/index.js +10 -0
  34. package/es/components/table/sticky_header/sticky_header.js +151 -0
  35. package/es/components/table/sticky_header/sticky_header.styles.js +43 -0
  36. package/es/components/table/store/provider.js +37 -0
  37. package/es/components/table/store/store.js +82 -0
  38. package/es/components/table/table.js +28 -3
  39. package/es/components/table/table.styles.js +4 -4
  40. package/es/components/table/table_header_cell.js +116 -48
  41. package/es/components/table/table_header_cell_checkbox.js +59 -25
  42. package/es/components/text_truncate/text_truncate.js +8 -3
  43. package/es/components/tool_tip/tool_tip.js +1 -1
  44. package/es/components/tool_tip/tool_tip.styles.js +14 -5
  45. package/es/utils/publisher.js +53 -0
  46. package/eui.d.ts +1266 -975
  47. package/i18ntokens.json +2390 -2372
  48. package/lib/components/avatar/avatar.js +14 -5
  49. package/lib/components/banner/banner.js +211 -0
  50. package/lib/components/banner/banner.styles.js +80 -0
  51. package/lib/components/banner/index.js +12 -0
  52. package/lib/components/basic_table/basic_table.js +21 -10
  53. package/lib/components/basic_table/collapsed_item_actions.js +5 -4
  54. package/lib/components/basic_table/default_item_action.js +3 -5
  55. package/lib/components/breadcrumbs/_breadcrumb_content.js +29 -19
  56. package/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +2 -1
  57. package/lib/components/context_menu/context_menu_panel_title.js +0 -12
  58. package/lib/components/datagrid/body/cell/data_grid_cell_actions.js +11 -7
  59. package/lib/components/datagrid/controls/display_selector.js +2 -1
  60. package/lib/components/datagrid/controls/keyboard_shortcuts.js +2 -1
  61. package/lib/components/date_picker/auto_refresh/auto_refresh.js +7 -4
  62. package/lib/components/date_picker/react-datepicker/src/index.js +0 -4
  63. package/lib/components/date_picker/super_date_picker/date_popover/absolute_tab.js +6 -3
  64. package/lib/components/date_picker/super_date_picker/date_popover/date_popover_button.js +10 -2
  65. package/lib/components/date_picker/super_date_picker/date_popover/date_popover_button.styles.js +2 -1
  66. package/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +8 -5
  67. package/lib/components/form/field_password/field_password.js +6 -3
  68. package/lib/components/header/header.a11y.js +1 -1
  69. package/lib/components/index.js +11 -0
  70. package/lib/components/markdown_editor/markdown_editor_help_button.js +7 -4
  71. package/lib/components/pagination/pagination_button_arrow.js +6 -2
  72. package/lib/components/panel/panel.styles.js +4 -4
  73. package/lib/components/panel/split_panel/split_panel.styles.js +1 -1
  74. package/lib/components/search_bar/search_bar.js +20 -16
  75. package/lib/components/search_bar/search_box.js +4 -2
  76. package/lib/components/selectable/selectable_list/selectable_list.js +1 -1
  77. package/lib/components/selectable/selectable_list/selectable_list.styles.js +1 -1
  78. package/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +2 -1
  79. package/lib/components/table/sticky_header/context.js +41 -0
  80. package/lib/components/table/sticky_header/index.js +19 -0
  81. package/lib/components/table/sticky_header/sticky_header.js +156 -0
  82. package/lib/components/table/sticky_header/sticky_header.styles.js +47 -0
  83. package/lib/components/table/store/provider.js +46 -0
  84. package/lib/components/table/store/store.js +87 -0
  85. package/lib/components/table/table.js +28 -3
  86. package/lib/components/table/table.styles.js +4 -4
  87. package/lib/components/table/table_header_cell.js +118 -48
  88. package/lib/components/table/table_header_cell_checkbox.js +62 -25
  89. package/lib/components/text_truncate/text_truncate.js +8 -3
  90. package/lib/components/tool_tip/tool_tip.js +1 -1
  91. package/lib/components/tool_tip/tool_tip.styles.js +14 -5
  92. package/lib/utils/publisher.js +59 -0
  93. package/optimize/es/components/avatar/avatar.js +12 -4
  94. package/optimize/es/components/banner/banner.js +112 -0
  95. package/optimize/es/components/banner/banner.styles.js +76 -0
  96. package/optimize/es/components/banner/index.js +9 -0
  97. package/optimize/es/components/basic_table/basic_table.js +21 -10
  98. package/optimize/es/components/basic_table/collapsed_item_actions.js +5 -4
  99. package/optimize/es/components/basic_table/default_item_action.js +3 -5
  100. package/optimize/es/components/breadcrumbs/_breadcrumb_content.js +27 -18
  101. package/optimize/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +2 -1
  102. package/optimize/es/components/datagrid/body/cell/data_grid_cell_actions.js +11 -7
  103. package/optimize/es/components/datagrid/controls/display_selector.js +2 -1
  104. package/optimize/es/components/datagrid/controls/keyboard_shortcuts.js +2 -1
  105. package/optimize/es/components/date_picker/auto_refresh/auto_refresh.js +7 -4
  106. package/optimize/es/components/date_picker/react-datepicker/src/index.js +1 -5
  107. package/optimize/es/components/date_picker/super_date_picker/date_popover/absolute_tab.js +6 -3
  108. package/optimize/es/components/date_picker/super_date_picker/date_popover/date_popover_button.js +10 -2
  109. package/optimize/es/components/date_picker/super_date_picker/date_popover/date_popover_button.styles.js +2 -1
  110. package/optimize/es/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +8 -5
  111. package/optimize/es/components/form/field_password/field_password.js +6 -3
  112. package/optimize/es/components/header/header.a11y.js +1 -1
  113. package/optimize/es/components/index.js +1 -0
  114. package/optimize/es/components/markdown_editor/markdown_editor_help_button.js +7 -4
  115. package/optimize/es/components/pagination/pagination_button_arrow.js +6 -2
  116. package/optimize/es/components/panel/panel.styles.js +4 -4
  117. package/optimize/es/components/panel/split_panel/split_panel.styles.js +1 -1
  118. package/optimize/es/components/search_bar/search_bar.js +20 -16
  119. package/optimize/es/components/search_bar/search_box.js +4 -2
  120. package/optimize/es/components/selectable/selectable_list/selectable_list.js +1 -1
  121. package/optimize/es/components/selectable/selectable_list/selectable_list.styles.js +1 -1
  122. package/optimize/es/components/table/sticky_header/context.js +32 -0
  123. package/optimize/es/components/table/sticky_header/index.js +10 -0
  124. package/optimize/es/components/table/sticky_header/sticky_header.js +146 -0
  125. package/optimize/es/components/table/sticky_header/sticky_header.styles.js +43 -0
  126. package/optimize/es/components/table/store/provider.js +37 -0
  127. package/optimize/es/components/table/store/store.js +82 -0
  128. package/optimize/es/components/table/table.js +15 -3
  129. package/optimize/es/components/table/table.styles.js +4 -4
  130. package/optimize/es/components/table/table_header_cell.js +116 -48
  131. package/optimize/es/components/table/table_header_cell_checkbox.js +59 -25
  132. package/optimize/es/components/text_truncate/text_truncate.js +8 -3
  133. package/optimize/es/components/tool_tip/tool_tip.js +1 -1
  134. package/optimize/es/components/tool_tip/tool_tip.styles.js +14 -5
  135. package/optimize/es/utils/publisher.js +53 -0
  136. package/optimize/lib/components/avatar/avatar.js +12 -4
  137. package/optimize/lib/components/banner/banner.js +121 -0
  138. package/optimize/lib/components/banner/banner.styles.js +80 -0
  139. package/optimize/lib/components/banner/index.js +12 -0
  140. package/optimize/lib/components/basic_table/basic_table.js +21 -10
  141. package/optimize/lib/components/basic_table/collapsed_item_actions.js +5 -4
  142. package/optimize/lib/components/basic_table/default_item_action.js +3 -5
  143. package/optimize/lib/components/breadcrumbs/_breadcrumb_content.js +27 -18
  144. package/optimize/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +2 -1
  145. package/optimize/lib/components/datagrid/body/cell/data_grid_cell_actions.js +11 -7
  146. package/optimize/lib/components/datagrid/controls/display_selector.js +2 -1
  147. package/optimize/lib/components/datagrid/controls/keyboard_shortcuts.js +2 -1
  148. package/optimize/lib/components/date_picker/auto_refresh/auto_refresh.js +7 -4
  149. package/optimize/lib/components/date_picker/react-datepicker/src/index.js +0 -4
  150. package/optimize/lib/components/date_picker/super_date_picker/date_popover/absolute_tab.js +6 -3
  151. package/optimize/lib/components/date_picker/super_date_picker/date_popover/date_popover_button.js +10 -2
  152. package/optimize/lib/components/date_picker/super_date_picker/date_popover/date_popover_button.styles.js +2 -1
  153. package/optimize/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +8 -5
  154. package/optimize/lib/components/form/field_password/field_password.js +6 -3
  155. package/optimize/lib/components/header/header.a11y.js +1 -1
  156. package/optimize/lib/components/index.js +11 -0
  157. package/optimize/lib/components/markdown_editor/markdown_editor_help_button.js +7 -4
  158. package/optimize/lib/components/pagination/pagination_button_arrow.js +6 -2
  159. package/optimize/lib/components/panel/panel.styles.js +4 -4
  160. package/optimize/lib/components/panel/split_panel/split_panel.styles.js +1 -1
  161. package/optimize/lib/components/search_bar/search_bar.js +20 -16
  162. package/optimize/lib/components/search_bar/search_box.js +4 -2
  163. package/optimize/lib/components/selectable/selectable_list/selectable_list.js +1 -1
  164. package/optimize/lib/components/selectable/selectable_list/selectable_list.styles.js +1 -1
  165. package/optimize/lib/components/table/sticky_header/context.js +41 -0
  166. package/optimize/lib/components/table/sticky_header/index.js +19 -0
  167. package/optimize/lib/components/table/sticky_header/sticky_header.js +156 -0
  168. package/optimize/lib/components/table/sticky_header/sticky_header.styles.js +47 -0
  169. package/optimize/lib/components/table/store/provider.js +46 -0
  170. package/optimize/lib/components/table/store/store.js +87 -0
  171. package/optimize/lib/components/table/table.js +15 -3
  172. package/optimize/lib/components/table/table.styles.js +4 -4
  173. package/optimize/lib/components/table/table_header_cell.js +119 -48
  174. package/optimize/lib/components/table/table_header_cell_checkbox.js +62 -25
  175. package/optimize/lib/components/text_truncate/text_truncate.js +8 -3
  176. package/optimize/lib/components/tool_tip/tool_tip.js +1 -1
  177. package/optimize/lib/components/tool_tip/tool_tip.styles.js +14 -5
  178. package/optimize/lib/utils/publisher.js +59 -0
  179. package/package.json +2 -2
  180. package/test-env/components/avatar/avatar.js +14 -5
  181. package/test-env/components/banner/banner.js +210 -0
  182. package/test-env/components/banner/banner.styles.js +80 -0
  183. package/test-env/components/banner/index.js +12 -0
  184. package/test-env/components/basic_table/basic_table.js +21 -10
  185. package/test-env/components/basic_table/collapsed_item_actions.js +5 -4
  186. package/test-env/components/basic_table/default_item_action.js +3 -5
  187. package/test-env/components/breadcrumbs/_breadcrumb_content.js +29 -19
  188. package/test-env/components/combo_box/combo_box_options_list/combo_box_options_list.js +2 -1
  189. package/test-env/components/context_menu/context_menu_panel_title.js +0 -12
  190. package/test-env/components/datagrid/body/cell/data_grid_cell_actions.js +11 -7
  191. package/test-env/components/datagrid/controls/display_selector.js +2 -1
  192. package/test-env/components/datagrid/controls/keyboard_shortcuts.js +2 -1
  193. package/test-env/components/date_picker/auto_refresh/auto_refresh.js +7 -4
  194. package/test-env/components/date_picker/react-datepicker/src/index.js +0 -4
  195. package/test-env/components/date_picker/super_date_picker/date_popover/absolute_tab.js +6 -3
  196. package/test-env/components/date_picker/super_date_picker/date_popover/date_popover_button.js +10 -2
  197. package/test-env/components/date_picker/super_date_picker/date_popover/date_popover_button.styles.js +2 -1
  198. package/test-env/components/date_picker/super_date_picker/quick_select_popover/quick_select_popover.js +8 -5
  199. package/test-env/components/form/field_password/field_password.js +6 -3
  200. package/test-env/components/header/header.a11y.js +1 -1
  201. package/test-env/components/index.js +11 -0
  202. package/test-env/components/markdown_editor/markdown_editor_help_button.js +7 -4
  203. package/test-env/components/pagination/pagination_button_arrow.js +6 -2
  204. package/test-env/components/panel/panel.styles.js +4 -4
  205. package/test-env/components/panel/split_panel/split_panel.styles.js +1 -1
  206. package/test-env/components/search_bar/search_bar.js +20 -16
  207. package/test-env/components/search_bar/search_box.js +4 -2
  208. package/test-env/components/selectable/selectable_list/selectable_list.js +1 -1
  209. package/test-env/components/selectable/selectable_list/selectable_list.styles.js +1 -1
  210. package/test-env/components/selectable/selectable_templates/selectable_template_sitewide.js +2 -1
  211. package/test-env/components/table/sticky_header/context.js +41 -0
  212. package/test-env/components/table/sticky_header/index.js +19 -0
  213. package/test-env/components/table/sticky_header/sticky_header.js +156 -0
  214. package/test-env/components/table/sticky_header/sticky_header.styles.js +47 -0
  215. package/test-env/components/table/store/provider.js +46 -0
  216. package/test-env/components/table/store/store.js +87 -0
  217. package/test-env/components/table/table.js +28 -3
  218. package/test-env/components/table/table.styles.js +4 -4
  219. package/test-env/components/table/table_header_cell.js +119 -48
  220. package/test-env/components/table/table_header_cell_checkbox.js +62 -25
  221. package/test-env/components/text_truncate/text_truncate.js +8 -3
  222. package/test-env/components/tool_tip/tool_tip.js +1 -1
  223. package/test-env/components/tool_tip/tool_tip.styles.js +14 -5
  224. package/test-env/utils/publisher.js +59 -0
@@ -63,18 +63,6 @@ EuiContextMenuPanelTitle.propTypes = {
63
63
  title: PropTypes.node,
64
64
  buttonRef: PropTypes.any,
65
65
  buttonProps: PropTypes.shape({
66
- iconType: PropTypes.oneOfType([PropTypes.oneOf(["accessibility", "addDataApp", "addToDashboard", "advancedSettingsApp", "agentApp", "aggregate", "alignBottom", "alignBottomLeft", "alignBottomRight", "alignCenterHorizontal", "alignCenterVertical", "alignLeft", "alignRight", "alignTop", "alignTopLeft", "alignTopRight", "alert", "analyzeEvent", "annotation", "anomalyChart", "chartAnomaly", "anomalySwimLane", "apmApp", "apmTrace", "chartWaterfall", "appSearchApp", "apps", "arrowDown", "chevronSingleDown", "arrowLeft", "chevronSingleLeft", "arrowRight", "chevronSingleRight", "arrowUp", "chevronSingleUp", "arrowStart", "chevronLimitLeft", "arrowEnd", "chevronLimitRight", "article", "asterisk", "at", "archive", "axisX", "axisYLeft", "axisYRight", "auditbeatApp", "backgroundTask", "beaker", "bell", "bellSlash", "beta", "bolt", "boxesHorizontal", "boxesVertical", "branch", "briefcase", "branchUser", "broom", "brush", "bug", "bulb", "bullseye", "calendar", "canvasApp", "casesApp", "changePointDetection", "chartChangePoint", "chartArea", "chartAreaStack", "chartBarHorizontal", "chartBarHorizontalStack", "chartBarVertical", "chartBarVerticalStack", "chartGauge", "chartHeatmap", "chartLine", "chartPie", "chartTagCloud", "chartThreshold", "check", "checkCircle", "checkInCircleFilled", "checkCircleFill", "cheer", "popper", "classificationJob", "clickLeft", "clickRight", "clock", "clockCounter", "clockControl", "cloud", "cloudDrizzle", "cloudStormy", "cloudSunny", "cluster", "code", "codeApp", "color", "paintBucket", "commandLine", "comment", "compare", "compute", "processor", "console", "consoleApp", "container", "continuityAbove", "continuityAboveBelow", "continuityBelow", "continuityWithin", "contrast", "contrastHigh", "contrastFill", "controls", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "crossProjectSearch", "createAdvancedJob", "createGenericJob", "createGeoJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crossInCircle", "crossCircle", "crosshair", "crosshairs", "currency", "money", "cut", "scissors", "dashboardApp", "dashedCircle", "dataVisualizer", "database", "desktop", "display", "devToolsApp", "diff", "discoverApp", "distributeHorizontal", "distributeVertical", "download", "drag", "dragHorizontal", "dragVertical", "discuss", "document", "documentEdit", "documentation", "documents", "dot", "dotInCircle", "doubleArrowLeft", "chevronDoubleLeft", "doubleArrowRight", "chevronDoubleRight", "ellipsis", "editorAlignCenter", "textAlignCenter", "editorAlignLeft", "textAlignLeft", "editorAlignRight", "textAlignRight", "editorBold", "textBold", "editorChecklist", "listCheck", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "textHeading", "editorItalic", "textItalic", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignLeft", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "listNumber", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "redo", "editorStrike", "textStrike", "editorTable", "table", "editorUnderline", "textUnderline", "editorUndo", "undo", "editorUnorderedList", "listBullet", "email", "mail", "empty", "emsApp", "endpoint", "eql", "query", "eraser", "error", "errorFilled", "errorFill", "esqlVis", "exit", "logOut", "expand", "maximize", "expandMini", "export", "exportAction", "upload", "external", "eye", "eyeClosed", "eyeSlash", "faceHappy", "faceNeutral", "faceSad", "fieldStatistics", "tableInfo", "filebeatApp", "filter", "filterExclude", "filterIgnore", "filterInclude", "filterInCircle", "flask", "flag", "fleetApp", "fold", "folder", "folderClosed", "folderClose", "folderCheck", "folderExclamation", "folderOpen", "folderOpened", "frameNext", "framePrevious", "fullScreen", "fullScreenExit", "function", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "grabOmnidirectional", "gradient", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "home", "hourglass", "if", "info", "image", "importAction", "index", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "mapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexRuntime", "indexSettings", "indexTemporary", "tableTime", "infinity", "inputOutput", "inspect", "invert", "ip", "key", "keyboard", "kqlField", "queryField", "kqlFunction", "kqlOperand", "queryOperand", "kqlSelector", "querySelector", "kqlValue", "queryValue", "kubernetesNode", "kubernetesPod", "launch", "rocket", "layers", "lensApp", "lettering", "text", "lineBreak", "lineBreakSlash", "lineDash", "lineDashed", "lineDot", "lineDotted", "lineSolid", "link", "linkSlash", "list", "listAdd", "lock", "lockOpen", "logPatternAnalysis", "pattern", "logRateAnalysis", "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", "queue", "machineLearningApp", "magnet", "magnify", "magnifyExclamation", "magnifyMinus", "magnifyPlus", "magnifyWithExclamation", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "map", "mapMarker", "waypoint", "megaphone", "memory", "menu", "menuDown", "menuLeft", "menuRight", "menuUp", "merge", "metricbeatApp", "metricsApp", "minimize", "minus", "minusCircle", "minusInCircle", "minusInCircleFilled", "minusInSquare", "minusSquare", "mobile", "monitoringApp", "moon", "move", "namespace", "nested", "newChat", "node", "vectorTriangle", "notebookApp", "number", "offline", "wifiSlash", "online", "wifi", "outlierDetectionJob", "package", "packetbeatApp", "pageSelect", "pagesSelect", "palette", "paperClip", "partial", "pause", "payment", "pencil", "percent", "pin", "pinFill", "pinFilled", "pipeBreaks", "pipelineApp", "pipeNoBreaks", "pivot", "play", "playFilled", "plugs", "plus", "plusCircle", "plusInCircle", "plusInCircleFilled", "plusInSquare", "plusSquare", "popout", "presentation", "productRobot", "productAgent", "productCloudInfra", "productDashboard", "productDiscover", "productML", "productStreamsClassic", "productStreamsWired", "push", "send", "question", "quote", "radar", "readOnly", "recentlyViewedApp", "refresh", "regressionJob", "reporter", "reportingApp", "return", "returnKey", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "section", "securityAnalyticsApp", "securityApp", "securitySignal", "securitySignalDetected", "securitySignalResolved", "server", "sessionViewer", "shard", "share", "significantEvents", "singleMetricViewer", "snowflake", "sortAscending", "sortDescending", "sortDown", "sortLeft", "sortRight", "sortUp", "sortable", "spaces", "spacesApp", "sparkles", "sqlApp", "star", "starEmpty", "starEmptySpace", "starFill", "starFilled", "starFillSpace", "starFilledSpace", "starMinusEmpty", "starMinusFill", "starMinusFilled", "starPlusEmpty", "starPlusFill", "starPlusFilled", "stats", "stop", "stopFill", "stopFilled", "stopSlash", "storage", "streamsClassic", "streamsWired", "string", "submodule", "sun", "swatchInput", "symlink", "tableDensityCompact", "tableDensityHigh", "tableDensityExpanded", "tableDensityLow", "tableDensityNormal", "tableOfContents", "tag", "tear", "temperature", "thermometer", "thumbDown", "thumbUp", "timeline", "timelineWithArrow", "timelionApp", "timeRefresh", "refreshTime", "timeslider", "training", "transitionBottomIn", "transitionBottomOut", "transitionLeftIn", "transitionLeftOut", "transitionTopIn", "transitionTopOut", "trash", "unfold", "unlink", "upgradeAssistantApp", "uptimeApp", "user", "userAvatar", "users", "usersRolesApp", "unarchive", "vector", "vectorSquare", "videoPlayer", "visArea", "visAreaStacked", "visBarHorizontal", "visBarHorizontalStacked", "visBarVertical", "visBarVerticalStacked", "visGauge", "visGoal", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "chartMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visVega", "visVisualBuilder", "visualizeApp", "vulnerabilityManagementApp", "warning", "warningFilled", "warningFill", "watchesApp", "web", "wordWrap", "wordWrapDisabled", "workflowsApp", "workflow", "workplaceSearchApp", "wrench", "tokenAlias", "tokenAnnotation", "tokenArray", "tokenBinary", "tokenBoolean", "tokenClass", "tokenCompletionSuggester", "tokenConstant", "tokenDate", "tokenDimension", "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", "tokenSemanticText", "tokenShape", "tokenString", "tokenStruct", "tokenSymbol", "tokenTag", "tokenText", "tokenTokenCount", "tokenVariable", "tokenVectorDense", "tokenDenseVector", "tokenVectorSparse"]).isRequired, PropTypes.string.isRequired, PropTypes.elementType.isRequired]).isRequired,
67
- /**
68
- * Any of the named color palette options.
69
- *
70
- * Do not use the following colors for standalone buttons directly,
71
- * they exist to serve other components:
72
- * - accent
73
- * - warning
74
- * - neutral
75
- * - risk
76
- */
77
- color: PropTypes.any,
78
66
  "aria-label": PropTypes.string,
79
67
  "aria-labelledby": PropTypes.string,
80
68
  /**
@@ -24,6 +24,7 @@ import { EuiButtonIcon } from '../../../button/button_icon';
24
24
  import { EuiButtonEmpty } from '../../../button/button_empty';
25
25
  import { EuiFlexGroup, EuiFlexItem } from '../../../flex';
26
26
  import { EuiPopoverFooter } from '../../../popover';
27
+ import { EuiToolTip } from '../../../tool_tip';
27
28
  import { euiDataGridCellActionsStyles } from './data_grid_cell_actions.styles';
28
29
  import { jsx as ___EmotionJSX } from "@emotion/react";
29
30
  export var EuiDataGridCellActions = function EuiDataGridCellActions(_ref) {
@@ -44,18 +45,21 @@ export var EuiDataGridCellActions = function EuiDataGridCellActions(_ref) {
44
45
  token: "euiDataGridCellActions.expandButtonTitle",
45
46
  default: "Click or hit enter to interact with cell content"
46
47
  }, function (expandButtonTitle) {
47
- return ___EmotionJSX(EuiButtonIcon, {
48
- css: styles.euiDataGridRowCell__actionButtonIcon,
48
+ return ___EmotionJSX(EuiToolTip, {
49
+ content: expandButtonTitle,
50
+ disableScreenReaderOutput: true,
51
+ display: "flex"
52
+ }, ___EmotionJSX(EuiButtonIcon, {
53
+ "aria-hidden": true,
49
54
  className: "euiDataGridRowCell__actionButtonIcon euiDataGridRowCell__expandCell",
55
+ color: "primary",
56
+ css: styles.euiDataGridRowCell__actionButtonIcon,
50
57
  "data-test-subj": "euiDataGridCellExpandButton",
51
58
  display: "fill",
52
- color: "primary",
53
59
  iconSize: "s",
54
60
  iconType: "maximize",
55
- "aria-hidden": true,
56
- onClick: onExpandClick,
57
- title: expandButtonTitle
58
- });
61
+ onClick: onExpandClick
62
+ }));
59
63
  });
60
64
  }, [onExpandClick, styles]);
61
65
  var additionalButtons = useMemo(function () {
@@ -361,7 +361,8 @@ export var useDataGridDisplaySelector = function useDataGridDisplaySelector(show
361
361
  },
362
362
  panelClassName: "euiDataGrid__displayPopoverPanel",
363
363
  button: ___EmotionJSX(EuiToolTip, {
364
- content: buttonLabel
364
+ content: buttonLabel,
365
+ disableScreenReaderOutput: true
365
366
  }, ___EmotionJSX(EuiButtonIcon, {
366
367
  size: "xs",
367
368
  iconType: "controls",
@@ -40,7 +40,8 @@ export var useDataGridKeyboardShortcuts = function useDataGridKeyboardShortcuts(
40
40
  anchorPosition: "downRight",
41
41
  panelPaddingSize: "none",
42
42
  button: ___EmotionJSX(EuiToolTip, {
43
- content: title
43
+ content: title,
44
+ disableScreenReaderOutput: true
44
45
  }, ___EmotionJSX(EuiButtonIcon, {
45
46
  size: "xs",
46
47
  iconType: "keyboard",
@@ -23,6 +23,7 @@ import classNames from 'classnames';
23
23
  import { EuiFieldText, EuiFormPrepend } from '../../form';
24
24
  import { EuiButtonEmpty } from '../../button/button_empty/button_empty';
25
25
  import { EuiInputPopover, EuiPopover } from '../../popover';
26
+ import { EuiToolTip } from '../../tool_tip';
26
27
  import { useEuiI18n } from '../../i18n';
27
28
  import { usePrettyInterval } from '../super_date_picker/pretty_interval';
28
29
  import { EuiRefreshInterval } from './refresh_interval';
@@ -141,7 +142,9 @@ export var EuiAutoRefreshButton = function EuiAutoRefreshButton(_ref2) {
141
142
  })
142
143
  });
143
144
  return ___EmotionJSX(EuiPopover, {
144
- button: ___EmotionJSX(EuiButtonEmpty, _extends({
145
+ button: ___EmotionJSX(EuiToolTip, {
146
+ content: isPaused ? autoRefeshLabelOff : autoRefeshLabelOn
147
+ }, ___EmotionJSX(EuiButtonEmpty, _extends({
145
148
  onClick: function onClick() {
146
149
  return setIsPopoverOpen(function (isOpen) {
147
150
  return !isOpen;
@@ -151,12 +154,12 @@ export var EuiAutoRefreshButton = function EuiAutoRefreshButton(_ref2) {
151
154
  size: size,
152
155
  color: color,
153
156
  iconType: "refreshTime",
154
- title: isPaused ? autoRefeshLabelOff : autoRefeshLabelOn,
155
- isDisabled: isDisabled
157
+ isDisabled: isDisabled,
158
+ hasAriaDisabled: isDisabled
156
159
  }, rest), usePrettyInterval(Boolean(isPaused), refreshInterval, {
157
160
  shortHand: shortHand,
158
161
  unit: intervalUnits
159
- })),
162
+ }))),
160
163
  isOpen: isPopoverOpen,
161
164
  closePopover: function closePopover() {
162
165
  setIsPopoverOpen(false);
@@ -42,7 +42,7 @@ import Calendar from "./calendar";
42
42
  import React from "react";
43
43
  import PropTypes from "prop-types";
44
44
  import classnames from "classnames";
45
- import { newDate, now, cloneDate, isMoment, isDate, isBefore, isAfter, equals, setTime, getMillisecond, getSecond, getMinute, getHour, addDays, addMonths, addWeeks, addYears, subtractDays, subtractMonths, subtractWeeks, subtractYears, isSameTime, isDayDisabled, isOutOfBounds, isDayInRange, getEffectiveMinDate, getEffectiveMaxDate, parseDate, safeDateFormat, getHightLightDaysMap, getYear, getMonth } from "./date_utils";
45
+ import { newDate, now, cloneDate, isMoment, isDate, isBefore, isAfter, equals, setTime, getMillisecond, getSecond, getMinute, getHour, addDays, addMonths, addWeeks, addYears, subtractDays, subtractMonths, subtractWeeks, subtractYears, isSameTime, isDayDisabled, isDayInRange, getEffectiveMinDate, getEffectiveMaxDate, parseDate, safeDateFormat, getHightLightDaysMap, getYear, getMonth } from "./date_utils";
46
46
  import { EuiPopover, popoverAnchorPosition } from '../../../popover/popover';
47
47
  import { EuiFieldText } from '../../../form/field_text';
48
48
  import { jsx as ___EmotionJSX } from "@emotion/react";
@@ -254,10 +254,6 @@ var DatePicker = /*#__PURE__*/function (_React$Component) {
254
254
  _defineProperty(_this, "setSelected", function (date, event, keepInput) {
255
255
  var changedDate = date;
256
256
  if (changedDate !== null && isDayDisabled(changedDate, _this.props)) {
257
- if (isOutOfBounds(changedDate, _this.props)) {
258
- _this.props.onChange(date, event);
259
- _this.props.onSelect(changedDate, event);
260
- }
261
257
  return;
262
258
  }
263
259
  if (changedDate !== null && _this.props.selected) {
@@ -22,6 +22,7 @@ import { useEuiI18n } from '../../../i18n';
22
22
  import { EuiFormRow, EuiFieldText, EuiFormLabel } from '../../../form';
23
23
  import { EuiFlexGroup } from '../../../flex';
24
24
  import { EuiButtonIcon } from '../../../button';
25
+ import { EuiToolTip } from '../../../tool_tip';
25
26
  import { EuiCode } from '../../../code';
26
27
  import { EuiDatePicker } from '../../date_picker';
27
28
  import { EuiTimeZoneDisplay } from './timezone_display';
@@ -180,16 +181,18 @@ export var EuiAbsoluteTab = function EuiAbsoluteTab(_ref) {
180
181
  prepend: ___EmotionJSX(EuiFormLabel, {
181
182
  id: textInputLabelId
182
183
  }, labelPrefix)
183
- })), hasUnparsedText && ___EmotionJSX(EuiButtonIcon, {
184
+ })), hasUnparsedText && ___EmotionJSX(EuiToolTip, {
185
+ content: submitButtonLabel,
186
+ disableScreenReaderOutput: true
187
+ }, ___EmotionJSX(EuiButtonIcon, {
184
188
  type: "submit",
185
189
  css: styles.euiAbsoluteTabDateForm__submit,
186
190
  size: "s",
187
191
  display: "base",
188
192
  iconType: "check",
189
193
  "aria-label": submitButtonLabel,
190
- title: submitButtonLabel,
191
194
  "data-test-subj": "parseAbsoluteDateFormat"
192
- })), ___EmotionJSX(EuiTimeZoneDisplay, _extends({
195
+ }))), ___EmotionJSX(EuiTimeZoneDisplay, _extends({
193
196
  id: timeZomeDescriptionId
194
197
  }, timeZoneDisplayProps)));
195
198
  };
@@ -18,6 +18,7 @@ import classNames from 'classnames';
18
18
  import { useEuiMemoizedStyles } from '../../../../services';
19
19
  import { useEuiI18n } from '../../../i18n';
20
20
  import { EuiPopover } from '../../../popover';
21
+ import { EuiToolTip } from '../../../tool_tip';
21
22
  import { useFormatTimeString } from '../pretty_duration';
22
23
  import { EuiDatePopoverContent } from './date_popover_content';
23
24
  import { euiDatePopoverButtonStyles } from './date_popover_button.styles';
@@ -72,16 +73,23 @@ export var EuiDatePopoverButton = function EuiDatePopoverButton(props) {
72
73
  } else if (needsUpdating) {
73
74
  title = outdatedTitle;
74
75
  }
75
- var button = ___EmotionJSX("button", _extends({
76
+ var rawButton = ___EmotionJSX("button", _extends({
76
77
  type: "button",
77
78
  onClick: onPopoverToggle,
78
79
  className: classes,
79
- title: title,
80
80
  disabled: isDisabled,
81
81
  "data-test-subj": "superDatePicker".concat(position, "DatePopoverButton")
82
82
  }, buttonProps, {
83
83
  css: cssStyles
84
84
  }), formattedValue);
85
+ var button = title ? ___EmotionJSX(EuiToolTip, {
86
+ content: title,
87
+ display: "block",
88
+ disableScreenReaderOutput: !isInvalid && !needsUpdating,
89
+ anchorProps: {
90
+ css: styles.tooltipAnchor
91
+ }
92
+ }, rawButton) : rawButton;
85
93
  return ___EmotionJSX(EuiPopover, _extends({
86
94
  button: button,
87
95
  isOpen: isOpen,
@@ -21,7 +21,8 @@ var _ref = process.env.NODE_ENV === "production" ? {
21
21
  export var euiDatePopoverButtonStyles = function euiDatePopoverButtonStyles(euiThemeContext) {
22
22
  return {
23
23
  euiDatePopoverButton: /*#__PURE__*/css(_buttonStyles(euiThemeContext), ";;label:euiDatePopoverButton;"),
24
- now: _ref
24
+ now: _ref,
25
+ tooltipAnchor: /*#__PURE__*/css(logicalCSS('height', '100%'), " ", logicalCSS('width', '100%'), ";;label:tooltipAnchor;")
25
26
  };
26
27
  };
27
28
  export var _buttonStyles = function _buttonStyles(euiThemeContext) {
@@ -23,6 +23,7 @@ import { useEuiMemoizedStyles } from '../../../../services';
23
23
  import { useEuiI18n } from '../../../i18n';
24
24
  import { EuiPopover } from '../../../popover';
25
25
  import { EuiFormPrepend } from '../../../form';
26
+ import { EuiToolTip } from '../../../tool_tip';
26
27
  import { euiQuickSelectPopoverStyles } from './quick_select_popover.styles';
27
28
  import { EuiQuickSelectPanel } from './quick_select_panel';
28
29
  import { EuiQuickSelect } from './quick_select';
@@ -70,21 +71,23 @@ export var EuiQuickSelectPopover = function EuiQuickSelectPopover(_ref) {
70
71
  closePopover();
71
72
  }
72
73
  }, [_applyTime, closePopover]);
73
- var buttonlabel = useEuiI18n('euiQuickSelectPopover.buttonLabel', 'Date quick select');
74
+ var buttonLabel = useEuiI18n('euiQuickSelectPopover.buttonLabel', 'Date quick select');
74
75
  var quickSelectButtonOnClick = function quickSelectButtonOnClick(e) {
75
76
  togglePopover();
76
77
  buttonOnClick === null || buttonOnClick === void 0 || buttonOnClick(e);
77
78
  };
78
- var quickSelectButton = ___EmotionJSX(EuiFormPrepend, _extends({
79
+ var quickSelectButton = ___EmotionJSX(EuiToolTip, {
80
+ content: buttonLabel,
81
+ disableScreenReaderOutput: true
82
+ }, ___EmotionJSX(EuiFormPrepend, _extends({
79
83
  element: "button",
80
84
  iconLeft: "calendar",
81
85
  iconRight: "chevronSingleDown",
82
86
  isDisabled: props.isDisabled,
83
87
  onClick: quickSelectButtonOnClick,
84
- "aria-label": buttonlabel,
85
- title: buttonlabel,
88
+ "aria-label": buttonLabel,
86
89
  "data-test-subj": "superDatePickerToggleQuickMenuButton"
87
- }, quickSelectButtonProps));
90
+ }, quickSelectButtonProps)));
88
91
  return ___EmotionJSX(EuiPopover, {
89
92
  button: quickSelectButton,
90
93
  isOpen: isOpen,
@@ -26,6 +26,7 @@ import classNames from 'classnames';
26
26
  import { useCombinedRefs, useEuiMemoizedStyles } from '../../../services';
27
27
  import { useEuiI18n } from '../../i18n';
28
28
  import { EuiButtonIcon } from '../../button';
29
+ import { EuiToolTip } from '../../tool_tip';
29
30
  import { EuiFormControlLayout } from '../form_control_layout';
30
31
  import { EuiValidatableControl } from '../validatable_control';
31
32
  import { useFormContext } from '../eui_form_context';
@@ -86,16 +87,18 @@ export var EuiFieldPassword = function EuiFieldPassword(props) {
86
87
  var visibilityToggle = useMemo(function () {
87
88
  if (type === 'dual') {
88
89
  var isVisible = inputType === 'text';
89
- return ___EmotionJSX(EuiButtonIcon, _extends({
90
+ return ___EmotionJSX(EuiToolTip, {
91
+ content: isVisible ? maskPasswordLabel : showPasswordLabel,
92
+ disableScreenReaderOutput: true
93
+ }, ___EmotionJSX(EuiButtonIcon, _extends({
90
94
  iconType: isVisible ? 'eyeSlash' : 'eye',
91
95
  "aria-label": isVisible ? maskPasswordLabel : showPasswordLabel,
92
- title: isVisible ? maskPasswordLabel : showPasswordLabel,
93
96
  disabled: disabled
94
97
  }, dualToggleProps, {
95
98
  onClick: function onClick(e) {
96
99
  return handleToggle(e, isVisible);
97
100
  }
98
- }));
101
+ })));
99
102
  }
100
103
  }, [type, inputType, maskPasswordLabel, showPasswordLabel, dualToggleProps, handleToggle, disabled]);
101
104
  var finalAppend = useMemo(function () {
@@ -332,7 +332,7 @@ describe('EuiHeader', function () {
332
332
  cy.checkAxe();
333
333
  });
334
334
  it('has zero violations when a hidden breadcrumb is expanded', function () {
335
- cy.get('button[title="See collapsed breadcrumbs"]').realClick();
335
+ cy.get('[aria-label="See collapsed breadcrumbs"]').realClick();
336
336
  cy.get('a[data-test-subj="cy-breadcrumb-hidden"]').should('exist');
337
337
  cy.checkAxe();
338
338
  });
@@ -12,6 +12,7 @@ export * from './aspect_ratio';
12
12
  export * from './auto_sizer';
13
13
  export * from './avatar';
14
14
  export * from './badge';
15
+ export * from './banner';
15
16
  export * from './beacon';
16
17
  export * from './bottom_bar';
17
18
  export * from './breadcrumbs';
@@ -64,7 +64,8 @@ export var EuiMarkdownEditorHelpButton = function EuiMarkdownEditorHelpButton(_r
64
64
  var hasUiPluginsWithHelpText = uiPluginsWithHelpText.length > 0;
65
65
  if (hasUiPluginsWithHelpText) {
66
66
  return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(EuiToolTip, _extends({}, tooltipProps, {
67
- content: syntaxTitle
67
+ content: syntaxTitle,
68
+ disableScreenReaderOutput: true
68
69
  }), ___EmotionJSX(EuiButtonIcon, {
69
70
  size: "s",
70
71
  css: styles.euiMarkdownEditorFooter__helpButton,
@@ -114,8 +115,10 @@ export var EuiMarkdownEditorHelpButton = function EuiMarkdownEditorHelpButton(_r
114
115
  })))));
115
116
  } else {
116
117
  return ___EmotionJSX(EuiPopover, {
117
- button: ___EmotionJSX(EuiButtonIcon, {
118
- title: syntaxTitle,
118
+ button: ___EmotionJSX(EuiToolTip, {
119
+ content: syntaxTitle,
120
+ disableScreenReaderOutput: true
121
+ }, ___EmotionJSX(EuiButtonIcon, {
119
122
  size: "s",
120
123
  css: styles.euiMarkdownEditorFooter__helpButton,
121
124
  className: "euiMarkdownEditorFooter__helpButton",
@@ -125,7 +128,7 @@ export var EuiMarkdownEditorHelpButton = function EuiMarkdownEditorHelpButton(_r
125
128
  onClick: function onClick() {
126
129
  return setIsShowingHelpPopover(!isShowingHelpPopover);
127
130
  }
128
- }),
131
+ })),
129
132
  isOpen: isShowingHelpPopover,
130
133
  closePopover: function closePopover() {
131
134
  return setIsShowingHelpPopover(false);
@@ -14,6 +14,7 @@ import { EuiButtonIcon } from '../button/button_icon';
14
14
  import { keysOf } from '../common';
15
15
  import { useEuiI18n } from '../i18n';
16
16
  import { useEuiTheme } from '../../services';
17
+ import { EuiToolTip } from '../tool_tip';
17
18
  import { euiPaginationButtonStyles } from './pagination_button.styles';
18
19
  import { jsx as ___EmotionJSX } from "@emotion/react";
19
20
  var typeToIconTypeMap = {
@@ -42,17 +43,20 @@ export var EuiPaginationButtonArrow = function EuiPaginationButtonArrow(_ref) {
42
43
  buttonProps.href = "#".concat(ariaControls);
43
44
  buttonProps['aria-controls'] = ariaControls;
44
45
  }
45
- return ___EmotionJSX(EuiButtonIcon, _extends({
46
+ var button = ___EmotionJSX(EuiButtonIcon, _extends({
46
47
  css: styles.euiPaginationButton,
47
48
  className: classNames('euiPaginationArrowButton', className),
48
49
  color: "text",
49
50
  "aria-label": labels[type],
50
- title: disabled ? undefined : labels[type],
51
51
  isDisabled: disabled,
52
52
  onClick: onClick,
53
53
  "data-test-subj": "pagination-button-".concat(type),
54
54
  iconType: typeToIconTypeMap[type]
55
55
  }, buttonProps));
56
+ return disabled ? button : ___EmotionJSX(EuiToolTip, {
57
+ content: labels[type],
58
+ disableScreenReaderOutput: true
59
+ }, button);
56
60
  };
57
61
  EuiPaginationButtonArrow.propTypes = {
58
62
  type: PropTypes.any.isRequired,
@@ -31,11 +31,11 @@ var _ref = process.env.NODE_ENV === "production" ? {
31
31
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
32
32
  };
33
33
  var _ref2 = process.env.NODE_ENV === "production" ? {
34
- name: "1xyrf3k-euiPanel",
35
- styles: "position:relative;flex-grow:0;label:euiPanel;"
34
+ name: "z103qm-euiPanel",
35
+ styles: "position:relative;flex-grow:0;line-height:inherit;label:euiPanel;"
36
36
  } : {
37
- name: "1xyrf3k-euiPanel",
38
- styles: "position:relative;flex-grow:0;label:euiPanel;",
37
+ name: "z103qm-euiPanel",
38
+ styles: "position:relative;flex-grow:0;line-height:inherit;label:euiPanel;",
39
39
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
40
40
  };
41
41
  export var euiPanelStyles = function euiPanelStyles(euiThemeContext) {
@@ -11,7 +11,7 @@ import { css } from '@emotion/react';
11
11
  import { logicalCSS } from '../../../global_styling';
12
12
  import { highContrastModeStyles } from '../../../global_styling/functions/high_contrast';
13
13
  export var euiSplitPanelOuterStyles = {
14
- euiSplitPanelOuter: /*#__PURE__*/css("display:flex;", logicalCSS('min-width', 0), " overflow:hidden;;label:euiSplitPanelOuter;"),
14
+ euiSplitPanelOuter: /*#__PURE__*/css("display:flex;&:enabled{display:flex;}", logicalCSS('min-width', 0), " overflow:hidden;;label:euiSplitPanelOuter;"),
15
15
  column: process.env.NODE_ENV === "production" ? {
16
16
  name: "ll8kmq-column",
17
17
  styles: "flex-direction:column;label:column;"
@@ -31,6 +31,7 @@ import React, { Component } from 'react';
31
31
  import { RenderWithEuiTheme, htmlIdGenerator } from '../../services';
32
32
  import { isString } from '../../services/predicate';
33
33
  import { EuiFlexGroup, EuiFlexItem } from '../flex';
34
+ import { EuiToolTip } from '../tool_tip';
34
35
  import { EuiSearchBox } from './search_box';
35
36
  import { EuiSearchBarFilters } from './search_filters';
36
37
  import { Query } from './query';
@@ -193,6 +194,21 @@ export var EuiSearchBar = /*#__PURE__*/function (_Component) {
193
194
  var toolsLeftEl = this.renderTools(toolsLeft);
194
195
  var toolsRightEl = this.renderTools(toolsRight);
195
196
  var isHintVisible = (_hint$popoverProps$is = hint === null || hint === void 0 || (_hint$popoverProps = hint.popoverProps) === null || _hint$popoverProps === void 0 ? void 0 : _hint$popoverProps.isOpen) !== null && _hint$popoverProps$is !== void 0 ? _hint$popoverProps$is : isHintVisibleState;
197
+ var searchBox = ___EmotionJSX(EuiSearchBox, _extends({}, box, {
198
+ query: queryText,
199
+ onSearch: this.onSearch,
200
+ isInvalid: error != null,
201
+ "aria-describedby": isHintVisible ? "".concat(this.hintId) : undefined,
202
+ hint: hint ? _objectSpread({
203
+ isVisible: isHintVisible,
204
+ setIsVisible: function setIsVisible(isVisible) {
205
+ _this2.setState({
206
+ isHintVisible: isVisible
207
+ });
208
+ },
209
+ id: this.hintId
210
+ }, hint) : undefined
211
+ }));
196
212
  return ___EmotionJSX(RenderWithEuiTheme, null, function (euiTheme) {
197
213
  return ___EmotionJSX(EuiFlexGroup, {
198
214
  gutterSize: "s",
@@ -202,22 +218,10 @@ export var EuiSearchBar = /*#__PURE__*/function (_Component) {
202
218
  className: "euiSearchBar__searchHolder",
203
219
  css: euiSearchBar__searchHolder(euiTheme),
204
220
  grow: true
205
- }, ___EmotionJSX(EuiSearchBox, _extends({}, box, {
206
- query: queryText,
207
- onSearch: _this2.onSearch,
208
- isInvalid: error != null,
209
- title: error ? error.message : undefined,
210
- "aria-describedby": isHintVisible ? "".concat(_this2.hintId) : undefined,
211
- hint: hint ? _objectSpread({
212
- isVisible: isHintVisible,
213
- setIsVisible: function setIsVisible(isVisible) {
214
- _this2.setState({
215
- isHintVisible: isVisible
216
- });
217
- },
218
- id: _this2.hintId
219
- }, hint) : undefined
220
- }))), filters && ___EmotionJSX(EuiFlexItem, {
221
+ }, ___EmotionJSX(EuiToolTip, {
222
+ content: error === null || error === void 0 ? void 0 : error.message,
223
+ display: "block"
224
+ }, searchBox)), filters && ___EmotionJSX(EuiFlexItem, {
221
225
  className: "euiSearchBar__filtersHolder",
222
226
  css: euiSearchBar__filtersHolder(euiTheme),
223
227
  grow: false
@@ -1,4 +1,4 @@
1
- var _excluded = ["query", "placeholder", "incremental", "hint"];
1
+ var _excluded = ["query", "placeholder", "incremental", "hint", "onFocus"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
3
  function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
4
4
  function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
@@ -21,6 +21,7 @@ export var EuiSearchBox = function EuiSearchBox(_ref) {
21
21
  placeholder = _ref.placeholder,
22
22
  incremental = _ref.incremental,
23
23
  hint = _ref.hint,
24
+ _onFocus = _ref.onFocus,
24
25
  rest = _objectWithoutProperties(_ref, _excluded);
25
26
  var _inputRef = useRef(null);
26
27
  useLayoutEffect(function () {
@@ -41,8 +42,9 @@ export var EuiSearchBox = function EuiSearchBox(_ref) {
41
42
  incremental: incremental,
42
43
  "aria-label": incremental ? ariaLabelIncremental : ariaLabelEnter,
43
44
  placeholder: placeholder !== null && placeholder !== void 0 ? placeholder : defaultPlaceholder,
44
- onFocus: function onFocus() {
45
+ onFocus: function onFocus(e) {
45
46
  hint === null || hint === void 0 || hint.setIsVisible(true);
47
+ _onFocus === null || _onFocus === void 0 || _onFocus(e);
46
48
  }
47
49
  }, rest));
48
50
  if (hint) {
@@ -194,7 +194,7 @@ export var EuiSelectableList = /*#__PURE__*/function (_Component) {
194
194
  _this.onAddOrRemoveOption(option, event);
195
195
  },
196
196
  isFocused: isFocused,
197
- title: searchableLabel || label,
197
+ title: !truncationProps && !option.toolTipContent ? searchableLabel || label : undefined,
198
198
  checked: checked,
199
199
  disabled: disabled,
200
200
  prepend: prepend,
@@ -45,6 +45,6 @@ export var euiSelectableListGroupLabelStyles = function euiSelectableListGroupLa
45
45
  return {
46
46
  groupLabel: /*#__PURE__*/css(euiTitle(euiThemeContext, 'xxxs'), " position:relative;display:flex;align-items:center;gap:", itemVars.spacing.horizontal, ";", logicalCSS('padding-horizontal', itemVars.textPadding.horizontal), " ", logicalCSS('padding-vertical', spacingVertical), " &:not(:first-child){", logicalCSS('padding-top', mathWithUnits([spacingVertical], function (a) {
47
47
  return a * 3;
48
- })), " &::before{content:'';position:absolute;inset:0;inset-block-start:", spacingVertical, ";", logicalCSS('border-top', "".concat(euiTheme.border.width.thin, " solid ").concat(borderColor)), ";}};label:groupLabel;")
48
+ })), " &::before{content:'';position:absolute;z-index:-1;inset:0;inset-block-start:", spacingVertical, ";", logicalCSS('border-top', "".concat(euiTheme.border.width.thin, " solid ").concat(borderColor)), ";}};label:groupLabel;")
49
49
  };
50
50
  };
@@ -322,7 +322,8 @@ EuiSelectableTemplateSitewide.propTypes = {
322
322
  */
323
323
  iconColor: PropTypes.oneOfType([PropTypes.oneOfType([PropTypes.string.isRequired, PropTypes.any.isRequired]).isRequired, PropTypes.oneOf([null])]),
324
324
  /**
325
- * Full name of avatar for title attribute and calculating initial if not provided
325
+ * Full name of the avatar. Used as the accessible label (`aria-label`),
326
+ * tooltip content and used to derive initials when `initials` is not provided.
326
327
  */
327
328
  name: PropTypes.string.isRequired,
328
329
  /**
@@ -0,0 +1,32 @@
1
+ /*
2
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3
+ * or more contributor license agreements. Licensed under the Elastic License
4
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
5
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
6
+ * Side Public License, v 1.
7
+ */
8
+
9
+ import React, { createContext, useContext } from 'react';
10
+ import { jsx as ___EmotionJSX } from "@emotion/react";
11
+ var EuiTableWithinStickyHeaderContext = /*#__PURE__*/createContext(false);
12
+
13
+ /**
14
+ * React context provider to detect whether a component is rendered
15
+ * inside <EuiTableStickyHeader> to prevent duplicated header cell renders.
16
+ * @internal
17
+ */
18
+ export var EuiTableWithinStickyHeaderProvider = function EuiTableWithinStickyHeaderProvider(_ref) {
19
+ var children = _ref.children;
20
+ return ___EmotionJSX(EuiTableWithinStickyHeaderContext.Provider, {
21
+ value: true
22
+ }, children);
23
+ };
24
+
25
+ /**
26
+ * Returns true if the component (usually the EuiTableHeaderCell or EuiTableHeaderCellCheckbox)
27
+ * is rendered inside EuiTableStickyHeader.
28
+ * @internal
29
+ */
30
+ export var useEuiTableWithinStickyHeader = function useEuiTableWithinStickyHeader() {
31
+ return useContext(EuiTableWithinStickyHeaderContext);
32
+ };
@@ -0,0 +1,10 @@
1
+ /*
2
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3
+ * or more contributor license agreements. Licensed under the Elastic License
4
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
5
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
6
+ * Side Public License, v 1.
7
+ */
8
+
9
+ export { EuiTableStickyHeader } from './sticky_header';
10
+ export { useEuiTableWithinStickyHeader } from './context';