@elastic/eui 112.0.0 → 112.1.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 (130) hide show
  1. package/es/components/badge/badge.js +12 -3
  2. package/es/components/badge/badge.styles.js +47 -21
  3. package/es/components/badge/beta_badge/beta_badge.styles.js +2 -2
  4. package/es/components/badge/color_utils.js +20 -7
  5. package/es/components/badge/notification_badge/badge_notification.styles.js +1 -1
  6. package/es/components/button/button.js +2 -1
  7. package/es/components/button/button_empty/button_empty.js +2 -1
  8. package/es/components/context_menu/context_menu.js +20 -7
  9. package/es/components/date_picker/super_date_picker/super_date_picker.js +7 -0
  10. package/es/components/date_picker/super_date_picker/time_window_buttons.js +74 -25
  11. package/es/components/description_list/description_list.js +2 -1
  12. package/es/components/description_list/description_list_description.js +2 -1
  13. package/es/components/description_list/description_list_title.js +2 -1
  14. package/es/components/empty_prompt/empty_prompt.js +2 -1
  15. package/es/components/flex/flex_grid.js +2 -1
  16. package/es/components/flyout/flyout.component.js +31 -26
  17. package/es/components/icon/assets/timeline.js +3 -1
  18. package/es/components/icon/icon.js +2 -1
  19. package/es/components/image/image.js +2 -1
  20. package/es/components/loading/loading_logo.js +2 -1
  21. package/es/components/page/page_section/page_section.js +2 -1
  22. package/es/components/page/page_sidebar/page_sidebar.js +2 -1
  23. package/es/components/page_template/page_template.js +6 -0
  24. package/es/components/panel/panel.js +4 -3
  25. package/es/components/selectable/selectable_list/selectable_list.js +8 -2
  26. package/es/components/selectable/selectable_list/selectable_list_item.js +6 -0
  27. package/eui.d.ts +236 -441
  28. package/i18ntokens.json +803 -749
  29. package/lib/components/badge/badge.js +12 -3
  30. package/lib/components/badge/badge.styles.js +46 -20
  31. package/lib/components/badge/beta_badge/beta_badge.styles.js +2 -2
  32. package/lib/components/badge/color_utils.js +21 -8
  33. package/lib/components/badge/notification_badge/badge_notification.styles.js +1 -1
  34. package/lib/components/button/button.js +2 -1
  35. package/lib/components/button/button_empty/button_empty.js +2 -1
  36. package/lib/components/context_menu/context_menu.js +20 -7
  37. package/lib/components/date_picker/super_date_picker/super_date_picker.js +7 -0
  38. package/lib/components/date_picker/super_date_picker/time_window_buttons.js +75 -26
  39. package/lib/components/description_list/description_list.js +2 -1
  40. package/lib/components/description_list/description_list_description.js +2 -1
  41. package/lib/components/description_list/description_list_title.js +2 -1
  42. package/lib/components/empty_prompt/empty_prompt.js +2 -1
  43. package/lib/components/flex/flex_grid.js +2 -1
  44. package/lib/components/flyout/flyout.component.js +38 -33
  45. package/lib/components/icon/assets/timeline.js +3 -1
  46. package/lib/components/icon/icon.js +2 -1
  47. package/lib/components/icon/svgs/timeline.svg +2 -1
  48. package/lib/components/image/image.js +2 -1
  49. package/lib/components/loading/loading_logo.js +2 -1
  50. package/lib/components/page/page_section/page_section.js +2 -1
  51. package/lib/components/page/page_sidebar/page_sidebar.js +2 -1
  52. package/lib/components/page_template/page_template.js +6 -0
  53. package/lib/components/panel/panel.js +4 -3
  54. package/lib/components/selectable/selectable_list/selectable_list.js +8 -2
  55. package/lib/components/selectable/selectable_list/selectable_list_item.js +6 -0
  56. package/optimize/es/components/badge/badge.js +6 -3
  57. package/optimize/es/components/badge/badge.styles.js +47 -21
  58. package/optimize/es/components/badge/beta_badge/beta_badge.styles.js +2 -2
  59. package/optimize/es/components/badge/color_utils.js +20 -7
  60. package/optimize/es/components/badge/notification_badge/badge_notification.styles.js +1 -1
  61. package/optimize/es/components/button/button.js +2 -1
  62. package/optimize/es/components/button/button_empty/button_empty.js +2 -1
  63. package/optimize/es/components/context_menu/context_menu.js +15 -6
  64. package/optimize/es/components/date_picker/super_date_picker/time_window_buttons.js +74 -25
  65. package/optimize/es/components/description_list/description_list.js +2 -1
  66. package/optimize/es/components/description_list/description_list_description.js +2 -1
  67. package/optimize/es/components/description_list/description_list_title.js +2 -1
  68. package/optimize/es/components/empty_prompt/empty_prompt.js +2 -1
  69. package/optimize/es/components/flex/flex_grid.js +2 -1
  70. package/optimize/es/components/flyout/flyout.component.js +31 -26
  71. package/optimize/es/components/icon/assets/timeline.js +3 -1
  72. package/optimize/es/components/icon/icon.js +2 -1
  73. package/optimize/es/components/image/image.js +2 -1
  74. package/optimize/es/components/loading/loading_logo.js +2 -1
  75. package/optimize/es/components/page/page_section/page_section.js +2 -1
  76. package/optimize/es/components/page/page_sidebar/page_sidebar.js +2 -1
  77. package/optimize/es/components/page_template/page_template.js +6 -0
  78. package/optimize/es/components/panel/panel.js +1 -0
  79. package/optimize/es/components/selectable/selectable_list/selectable_list.js +2 -2
  80. package/optimize/lib/components/badge/badge.js +6 -3
  81. package/optimize/lib/components/badge/badge.styles.js +46 -20
  82. package/optimize/lib/components/badge/beta_badge/beta_badge.styles.js +2 -2
  83. package/optimize/lib/components/badge/color_utils.js +21 -8
  84. package/optimize/lib/components/badge/notification_badge/badge_notification.styles.js +1 -1
  85. package/optimize/lib/components/button/button.js +2 -1
  86. package/optimize/lib/components/button/button_empty/button_empty.js +2 -1
  87. package/optimize/lib/components/context_menu/context_menu.js +15 -6
  88. package/optimize/lib/components/date_picker/super_date_picker/time_window_buttons.js +75 -26
  89. package/optimize/lib/components/description_list/description_list.js +2 -1
  90. package/optimize/lib/components/description_list/description_list_description.js +2 -1
  91. package/optimize/lib/components/description_list/description_list_title.js +2 -1
  92. package/optimize/lib/components/empty_prompt/empty_prompt.js +2 -1
  93. package/optimize/lib/components/flex/flex_grid.js +2 -1
  94. package/optimize/lib/components/flyout/flyout.component.js +38 -33
  95. package/optimize/lib/components/icon/assets/timeline.js +3 -1
  96. package/optimize/lib/components/icon/icon.js +2 -1
  97. package/optimize/lib/components/icon/svgs/timeline.svg +2 -1
  98. package/optimize/lib/components/image/image.js +2 -1
  99. package/optimize/lib/components/loading/loading_logo.js +2 -1
  100. package/optimize/lib/components/page/page_section/page_section.js +2 -1
  101. package/optimize/lib/components/page/page_sidebar/page_sidebar.js +2 -1
  102. package/optimize/lib/components/page_template/page_template.js +6 -0
  103. package/optimize/lib/components/panel/panel.js +1 -0
  104. package/optimize/lib/components/selectable/selectable_list/selectable_list.js +2 -2
  105. package/package.json +3 -3
  106. package/test-env/components/badge/badge.js +12 -3
  107. package/test-env/components/badge/badge.styles.js +46 -20
  108. package/test-env/components/badge/beta_badge/beta_badge.styles.js +2 -2
  109. package/test-env/components/badge/color_utils.js +21 -8
  110. package/test-env/components/badge/notification_badge/badge_notification.styles.js +1 -1
  111. package/test-env/components/button/button.js +2 -1
  112. package/test-env/components/button/button_empty/button_empty.js +2 -1
  113. package/test-env/components/context_menu/context_menu.js +20 -7
  114. package/test-env/components/date_picker/super_date_picker/super_date_picker.js +7 -0
  115. package/test-env/components/date_picker/super_date_picker/time_window_buttons.js +75 -26
  116. package/test-env/components/description_list/description_list.js +2 -1
  117. package/test-env/components/description_list/description_list_description.js +2 -1
  118. package/test-env/components/description_list/description_list_title.js +2 -1
  119. package/test-env/components/empty_prompt/empty_prompt.js +2 -1
  120. package/test-env/components/flex/flex_grid.js +2 -1
  121. package/test-env/components/flyout/flyout.component.js +38 -33
  122. package/test-env/components/icon/assets/timeline.js +3 -1
  123. package/test-env/components/image/image.js +2 -1
  124. package/test-env/components/loading/loading_logo.js +2 -1
  125. package/test-env/components/page/page_section/page_section.js +2 -1
  126. package/test-env/components/page/page_sidebar/page_sidebar.js +2 -1
  127. package/test-env/components/page_template/page_template.js +6 -0
  128. package/test-env/components/panel/panel.js +4 -3
  129. package/test-env/components/selectable/selectable_list/selectable_list.js +8 -2
  130. package/test-env/components/selectable/selectable_list/selectable_list_item.js +6 -0
@@ -33,6 +33,7 @@ import React, { useEffect, useLayoutEffect, useRef, useMemo, useCallback, useSta
33
33
  import classnames from 'classnames';
34
34
  import { keys, EuiWindowEvent, useCombinedRefs, useEuiMemoizedStyles, useGeneratedHtmlId, useEuiThemeCSSVariables, focusTrapPubSub } from '../../services';
35
35
  import { useCurrentSession, useIsInManagedFlyout, useFlyoutLayoutMode, useFlyoutId, useFlyoutWidth, useIsFlyoutActive, useFlyoutManager, useHasPushPadding } from './manager';
36
+ import { LAYOUT_MODE_STACKED } from './manager/const';
36
37
  import { EuiFocusTrap } from '../focus_trap';
37
38
  import { EuiI18n } from '../i18n';
38
39
  import { useResizeObserver } from '../observer/resize_observer';
@@ -158,6 +159,31 @@ export var EuiFlyoutComponent = /*#__PURE__*/forwardRef(function (props, ref) {
158
159
  var _useResizeObserver = useResizeObserver(isPushed ? resizeRef : null, 'width'),
159
160
  width = _useResizeObserver.width;
160
161
 
162
+ // Memoize flyout identification and relationships to prevent race conditions
163
+ var flyoutIdentity = useMemo(function () {
164
+ if (!flyoutId || !currentSession) {
165
+ return {
166
+ isMainFlyout: false,
167
+ siblingFlyoutId: null,
168
+ hasValidSession: false,
169
+ sessionForWidth: null
170
+ };
171
+ }
172
+ var siblingFlyoutId = currentSession.mainFlyoutId === flyoutId ? currentSession.childFlyoutId : currentSession.mainFlyoutId;
173
+ return {
174
+ isMainFlyout: currentSession.mainFlyoutId === flyoutId,
175
+ siblingFlyoutId: siblingFlyoutId,
176
+ hasValidSession: true,
177
+ sessionForWidth: currentSession
178
+ };
179
+ }, [flyoutId, currentSession]);
180
+
181
+ // Destructure for easier use
182
+ var siblingFlyoutId = flyoutIdentity.siblingFlyoutId,
183
+ isMainFlyout = flyoutIdentity.isMainFlyout;
184
+ var _siblingFlyoutWidth = useFlyoutWidth(siblingFlyoutId);
185
+ var siblingFlyoutWidth = layoutMode === LAYOUT_MODE_STACKED ? 0 : _siblingFlyoutWidth;
186
+
161
187
  /**
162
188
  * Effect for adding push padding to body. Using useLayoutEffect to ensure
163
189
  * padding changes happen synchronously before child components render -
@@ -172,12 +198,13 @@ export var EuiFlyoutComponent = /*#__PURE__*/forwardRef(function (props, ref) {
172
198
  var paddingSide = side === 'left' ? 'paddingInlineStart' : 'paddingInlineEnd';
173
199
  var cssVarName = "--euiPushFlyoutOffset".concat(side === 'left' ? 'InlineStart' : 'InlineEnd');
174
200
  var managerSide = side === 'left' ? 'left' : 'right';
201
+ var paddingWidth = layoutMode === LAYOUT_MODE_STACKED && isMainFlyout && _siblingFlyoutWidth ? _siblingFlyoutWidth : width;
175
202
  if (shouldApplyPadding) {
176
- document.body.style[paddingSide] = "".concat(width, "px");
177
- setGlobalCSSVariables(_defineProperty({}, cssVarName, "".concat(width, "px")));
203
+ document.body.style[paddingSide] = "".concat(paddingWidth, "px");
204
+ setGlobalCSSVariables(_defineProperty({}, cssVarName, "".concat(paddingWidth, "px")));
178
205
  // Update manager state if in managed context
179
206
  if (isInManagedContext && flyoutManagerRef.current) {
180
- flyoutManagerRef.current.setPushPadding(managerSide, width);
207
+ flyoutManagerRef.current.setPushPadding(managerSide, paddingWidth);
181
208
  }
182
209
  } else {
183
210
  // Explicitly remove padding when this push flyout becomes inactive
@@ -198,7 +225,7 @@ export var EuiFlyoutComponent = /*#__PURE__*/forwardRef(function (props, ref) {
198
225
  flyoutManagerRef.current.setPushPadding(managerSide, 0);
199
226
  }
200
227
  };
201
- }, [isPushed, isInManagedContext, isActiveManagedFlyout, setGlobalCSSVariables, side, width]);
228
+ }, [isPushed, isInManagedContext, isActiveManagedFlyout, setGlobalCSSVariables, side, width, layoutMode, isMainFlyout, _siblingFlyoutWidth]);
202
229
 
203
230
  /**
204
231
  * This class doesn't actually do anything by EUI, but is nice to add for consumers (JIC)
@@ -210,27 +237,6 @@ export var EuiFlyoutComponent = /*#__PURE__*/forwardRef(function (props, ref) {
210
237
  document.body.classList.remove('euiBody--hasFlyout');
211
238
  };
212
239
  }, []);
213
-
214
- // Memoize flyout identification and relationships to prevent race conditions
215
- var flyoutIdentity = useMemo(function () {
216
- if (!flyoutId || !currentSession) {
217
- return {
218
- isMainFlyout: false,
219
- siblingFlyoutId: null,
220
- hasValidSession: false,
221
- sessionForWidth: null
222
- };
223
- }
224
- var siblingFlyoutId = currentSession.mainFlyoutId === flyoutId ? currentSession.childFlyoutId : currentSession.mainFlyoutId;
225
- return {
226
- siblingFlyoutId: siblingFlyoutId,
227
- hasValidSession: true,
228
- sessionForWidth: currentSession
229
- };
230
- }, [flyoutId, currentSession]);
231
-
232
- // Destructure for easier use
233
- var siblingFlyoutId = flyoutIdentity.siblingFlyoutId;
234
240
  var hasChildFlyout = (currentSession === null || currentSession === void 0 ? void 0 : currentSession.childFlyoutId) != null;
235
241
  var isChildFlyout = isInManagedContext && hasChildFlyout && (currentSession === null || currentSession === void 0 ? void 0 : currentSession.childFlyoutId) === id;
236
242
  var shouldCloseOnEscape = useMemo(function () {
@@ -262,7 +268,6 @@ export var EuiFlyoutComponent = /*#__PURE__*/forwardRef(function (props, ref) {
262
268
  onClose(event);
263
269
  }
264
270
  }, [onClose, isPushed, shouldCloseOnEscape]);
265
- var siblingFlyoutWidth = useFlyoutWidth(siblingFlyoutId);
266
271
  var managedFlyoutIndex = currentZIndexRef.current;
267
272
  if (isInManagedContext && currentSession) {
268
273
  managedFlyoutIndex = currentSession.zIndex;
@@ -28,8 +28,10 @@ var EuiIconTimeline = function EuiIconTimeline(_ref) {
28
28
  id: titleId
29
29
  }, title) : null, ___EmotionJSX("path", {
30
30
  fillRule: "evenodd",
31
- d: "M2 5.915v4.17a1.5 1.5 0 0 0 0 2.83V15h1v-2.085a1.5 1.5 0 0 0 0-2.83v-4.17a1.5 1.5 0 0 0 0-2.83V1H2v2.085a1.5 1.5 0 0 0 0 2.83ZM3 4.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm0 7a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0ZM8 2a1 1 0 0 0-.707.293L5.086 4.5l2.207 2.207A1 1 0 0 0 8 7h6a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H8Zm6 1H8L6.5 4.5 8 6h6V3ZM7.293 9.293A1 1 0 0 1 8 9h6a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1H8a1 1 0 0 1-.707-.293L5.086 11.5l2.207-2.207ZM8 10h6v3H8l-1.5-1.5L8 10Z",
31
+ d: "M13 6.5a1.5 1.5 0 0 1 1.413 1H16v1h-1.587a1.5 1.5 0 0 1-2.826 0H9.413a1.5 1.5 0 0 1-2.826 0H4.413a1.5 1.5 0 0 1-2.826 0H0v-1h1.587a1.5 1.5 0 0 1 2.826 0h2.174a1.5 1.5 0 0 1 2.826 0h2.174A1.5 1.5 0 0 1 13 6.5Zm-10 1a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1Zm5 0a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1Zm5 0a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1Z",
32
32
  clipRule: "evenodd"
33
+ }), ___EmotionJSX("path", {
34
+ d: "M1 13v2h4v-2H1Zm10 0v2h4v-2h-4ZM6 1v2h4V1H6Zm0 14a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1h1.5v-1h1v1H5a1 1 0 0 1 1 1v2Zm10 0a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1h1.5v-1h1v1H15a1 1 0 0 1 1 1v2ZM11 3a1 1 0 0 1-1 1H8.5v1h-1V4H6a1 1 0 0 1-1-1V1a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2Z"
33
35
  }));
34
36
  };
35
37
  export var icon = EuiIconTimeline;
@@ -301,4 +301,5 @@ EuiIconClass.propTypes = {
301
301
  */
302
302
  onIconLoad: PropTypes.func
303
303
  };
304
- export var EuiIcon = withEuiStylesMemoizer(EuiIconClass);
304
+ export var EuiIcon = withEuiStylesMemoizer(EuiIconClass);
305
+ EuiIcon.displayName = 'EuiIcon';
@@ -154,4 +154,5 @@ EuiImage.propTypes = {
154
154
  "data-test-subj": PropTypes.string,
155
155
  css: PropTypes.any
156
156
  })
157
- };
157
+ };
158
+ EuiImage.displayName = 'EuiImage';
@@ -53,4 +53,5 @@ EuiLoadingLogo.propTypes = {
53
53
  * While this component should be restricted to using logo icons, it works with any IconType
54
54
  */
55
55
  logo: PropTypes.oneOfType([PropTypes.oneOf(["accessibility", "addDataApp", "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", "folderCheck", "folderClosed", "folderExclamation", "folderOpen", "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", "sessionViewer", "shard", "share", "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", "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])
56
- };
56
+ };
57
+ EuiLoadingLogo.displayName = 'EuiLoadingLogo';
@@ -99,4 +99,5 @@ EuiPageSection.propTypes = {
99
99
  * Sets which HTML element to render.
100
100
  */
101
101
  component: PropTypes.oneOfType([PropTypes.any.isRequired, PropTypes.elementType.isRequired])
102
- };
102
+ };
103
+ EuiPageSection.displayName = 'EuiPageSection';
@@ -100,4 +100,5 @@ EuiPageSidebar.propTypes = {
100
100
  "aria-label": PropTypes.string,
101
101
  "data-test-subj": PropTypes.string,
102
102
  css: PropTypes.any
103
- };
103
+ };
104
+ EuiPageSidebar.displayName = 'EuiPageSidebar';
@@ -216,6 +216,7 @@ _EuiPageTemplate.propTypes = {
216
216
  */
217
217
  component: PropTypes.oneOfType([PropTypes.any.isRequired, PropTypes.elementType.isRequired])
218
218
  };
219
+ _EuiPageTemplate.displayName = 'EuiPageTemplate';
219
220
  var _EuiPageSidebar = function _EuiPageSidebar(props) {
220
221
  var _useContext = useContext(TemplateContext),
221
222
  sidebar = _useContext.sidebar;
@@ -255,6 +256,7 @@ _EuiPageSidebar.propTypes = {
255
256
  "data-test-subj": PropTypes.string,
256
257
  css: PropTypes.any
257
258
  };
259
+ _EuiPageSidebar.displayName = 'EuiPageTemplate.Sidebar';
258
260
  var _EuiPageSection = function _EuiPageSection(props) {
259
261
  var _useContext2 = useContext(TemplateContext),
260
262
  section = _useContext2.section;
@@ -304,6 +306,7 @@ _EuiPageSection.propTypes = {
304
306
  */
305
307
  component: PropTypes.oneOfType([PropTypes.any.isRequired, PropTypes.elementType.isRequired])
306
308
  };
309
+ _EuiPageSection.displayName = 'EuiPageTemplate.Section';
307
310
  var _EuiPageHeader = function _EuiPageHeader(props) {
308
311
  var _useContext3 = useContext(TemplateContext),
309
312
  header = _useContext3.header;
@@ -337,6 +340,7 @@ _EuiPageHeader.propTypes = {
337
340
  */
338
341
  bottomBorder: PropTypes.oneOfType([PropTypes.bool.isRequired, PropTypes.oneOf(["extended"])])
339
342
  };
343
+ _EuiPageHeader.displayName = 'EuiPageTemplate.Header';
340
344
  var _EuiPageEmptyPrompt = function _EuiPageEmptyPrompt(props) {
341
345
  var _useContext4 = useContext(TemplateContext),
342
346
  emptyPrompt = _useContext4.emptyPrompt;
@@ -361,6 +365,7 @@ _EuiPageEmptyPrompt.propTypes = {
361
365
  component: PropTypes.oneOfType([PropTypes.any.isRequired, PropTypes.elementType.isRequired]),
362
366
  panelled: PropTypes.bool
363
367
  };
368
+ _EuiPageEmptyPrompt.displayName = 'EuiPageTemplate.EmptyPrompt';
364
369
  var _EuiPageBottomBar = function _EuiPageBottomBar(props) {
365
370
  var _useContext5 = useContext(TemplateContext),
366
371
  bottomBar = _useContext5.bottomBar;
@@ -380,6 +385,7 @@ _EuiPageBottomBar.propTypes = {
380
385
  */
381
386
  restrictWidth: PropTypes.oneOfType([PropTypes.bool.isRequired, PropTypes.number.isRequired, PropTypes.string.isRequired])
382
387
  };
388
+ _EuiPageBottomBar.displayName = 'EuiPageTemplate.BottomBar';
383
389
  export var EuiPageTemplate = Object.assign(_EuiPageTemplate, {
384
390
  Sidebar: _EuiPageSidebar,
385
391
  Header: _EuiPageHeader,
@@ -89,9 +89,6 @@ export var EuiPanel = function EuiPanel(_ref) {
89
89
  css: cssStyles
90
90
  }, rest), children);
91
91
  };
92
-
93
- // Do not render a high contrast border if the panel is transparent
94
- // and does not have a default contrast border
95
92
  EuiPanel.propTypes = {
96
93
  element: PropTypes.oneOfType([PropTypes.oneOf(["button"]), PropTypes.oneOf(["div"])]),
97
94
  /**
@@ -148,6 +145,10 @@ EuiPanel.propTypes = {
148
145
  "data-test-subj": PropTypes.string,
149
146
  css: PropTypes.any
150
147
  };
148
+ EuiPanel.displayName = 'EuiPanel';
149
+
150
+ // Do not render a high contrast border if the panel is transparent
151
+ // and does not have a default contrast border
151
152
  export var _canRenderHighContrastBorder = function _canRenderHighContrastBorder(_ref2) {
152
153
  var color = _ref2.color,
153
154
  hasBorder = _ref2.hasBorder;
@@ -491,8 +491,8 @@ export var EuiSelectableList = /*#__PURE__*/function (_Component) {
491
491
  (_this$listRef = this.listRef) === null || _this$listRef === void 0 || _this$listRef.scrollToItem(activeOptionIndex, 'auto');
492
492
  } else {
493
493
  var _this$listBoxRef;
494
- var activeOptionId = "#".concat(makeOptionId(activeOptionIndex));
495
- var activeOptionEl = (_this$listBoxRef = this.listBoxRef) === null || _this$listBoxRef === void 0 ? void 0 : _this$listBoxRef.querySelector(activeOptionId);
494
+ var activeOptionId = makeOptionId(activeOptionIndex);
495
+ var activeOptionEl = (_this$listBoxRef = this.listBoxRef) === null || _this$listBoxRef === void 0 ? void 0 : _this$listBoxRef.querySelector("[id=\"".concat(activeOptionId, "\"]"));
496
496
  if (activeOptionEl) {
497
497
  var _activeOptionEl$scrol;
498
498
  // TODO: we can remove scrollIntoView's conditional chaining once jsdom stubs it
@@ -630,6 +630,12 @@ EuiSelectableList.propTypes = {
630
630
  * Accepts either our palette colors (primary, success ..etc) or a hex value `#FFFFFF`, `#000`.
631
631
  */
632
632
  color: PropTypes.oneOfType([PropTypes.any.isRequired, PropTypes.string.isRequired]),
633
+ /**
634
+ * Whether the badge should use filled (more intense) colors.
635
+ * It has no effect when a non-named color is passed to the `color` prop.
636
+ * @default false
637
+ */
638
+ fill: PropTypes.bool,
633
639
  /**
634
640
  * Will override any color passed through the `color` prop.
635
641
  */
@@ -317,6 +317,12 @@ EuiSelectableListItem.propTypes = {
317
317
  * Accepts either our palette colors (primary, success ..etc) or a hex value `#FFFFFF`, `#000`.
318
318
  */
319
319
  color: PropTypes.oneOfType([PropTypes.any.isRequired, PropTypes.string.isRequired]),
320
+ /**
321
+ * Whether the badge should use filled (more intense) colors.
322
+ * It has no effect when a non-named color is passed to the `color` prop.
323
+ * @default false
324
+ */
325
+ fill: PropTypes.bool,
320
326
  /**
321
327
  * Will override any color passed through the `color` prop.
322
328
  */