@elastic/eui 60.0.0 → 60.1.2

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 (180) hide show
  1. package/README.md +7 -0
  2. package/dist/eui_charts_theme.js +330 -330
  3. package/dist/eui_charts_theme.js.map +1 -1
  4. package/dist/eui_theme_dark.css +0 -445
  5. package/dist/eui_theme_dark.json +7 -44
  6. package/dist/eui_theme_dark.json.d.ts +7 -44
  7. package/dist/eui_theme_dark.min.css +1 -1
  8. package/dist/eui_theme_light.css +0 -445
  9. package/dist/eui_theme_light.json +7 -44
  10. package/dist/eui_theme_light.json.d.ts +7 -44
  11. package/dist/eui_theme_light.min.css +1 -1
  12. package/es/components/accessibility/screen_reader_live/screen_reader_live.js +30 -7
  13. package/es/components/accessibility/screen_reader_only/screen_reader_only.js +14 -19
  14. package/es/components/accessibility/screen_reader_only/screen_reader_only.styles.js +11 -1
  15. package/es/components/accessibility/skip_link/skip_link.js +20 -4
  16. package/es/components/avatar/avatar.js +2 -2
  17. package/es/components/badge/badge.js +1 -1
  18. package/es/components/button/button_icon/button_icon.js +1 -1
  19. package/es/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +2 -2
  20. package/es/components/datagrid/body/data_grid_body.js +6 -6
  21. package/es/components/datagrid/body/data_grid_cell.js +12 -12
  22. package/es/components/datagrid/body/header/data_grid_header_cell.js +6 -6
  23. package/es/components/datagrid/body/header/data_grid_header_row.js +6 -6
  24. package/es/components/datagrid/data_grid.js +6 -6
  25. package/es/components/datagrid/utils/in_memory.js +6 -6
  26. package/es/components/date_picker/date_picker.js +1 -1
  27. package/es/components/empty_prompt/empty_prompt.js +1 -1
  28. package/es/components/form/field_text/field_text.js +1 -1
  29. package/es/components/form/form_control_layout/form_control_layout.js +1 -1
  30. package/es/components/form/form_control_layout/form_control_layout_icons.js +1 -1
  31. package/es/components/health/health.js +1 -1
  32. package/es/components/icon/icon.js +43 -495
  33. package/es/components/icon/icon.styles.js +75 -0
  34. package/es/components/icon/icon_map.js +455 -0
  35. package/es/components/icon/named_colors.js +2 -13
  36. package/es/components/list_group/list_group.js +1 -1
  37. package/es/components/list_group/list_group_item.js +1 -1
  38. package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +2 -2
  39. package/es/components/notification/notification_event.js +2 -2
  40. package/es/components/notification/notification_event_meta.js +1 -1
  41. package/es/components/notification/notification_event_read_button.js +1 -1
  42. package/es/components/panel/panel.js +2 -1
  43. package/es/components/progress/progress.js +34 -87
  44. package/es/components/progress/progress.styles.js +155 -0
  45. package/es/components/selectable/selectable_list/selectable_list.js +3 -1
  46. package/es/components/selectable/selectable_list/selectable_list_item.js +1 -1
  47. package/es/components/selectable/selectable_templates/selectable_template_sitewide.js +2 -2
  48. package/es/components/text/text.js +2 -0
  49. package/es/components/tool_tip/icon_tip.js +1 -1
  50. package/es/global_styling/utility/utility.js +3 -1
  51. package/es/services/theme/hooks.js +2 -0
  52. package/eui.d.ts +393 -453
  53. package/i18ntokens.json +2 -2
  54. package/lib/components/accessibility/screen_reader_live/screen_reader_live.js +29 -6
  55. package/lib/components/accessibility/screen_reader_only/screen_reader_only.js +22 -19
  56. package/lib/components/accessibility/screen_reader_only/screen_reader_only.styles.js +16 -2
  57. package/lib/components/accessibility/skip_link/skip_link.js +21 -4
  58. package/lib/components/avatar/avatar.js +2 -2
  59. package/lib/components/badge/badge.js +1 -1
  60. package/lib/components/button/button_icon/button_icon.js +1 -1
  61. package/lib/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +2 -2
  62. package/lib/components/datagrid/body/data_grid_body.js +6 -6
  63. package/lib/components/datagrid/body/data_grid_cell.js +12 -12
  64. package/lib/components/datagrid/body/header/data_grid_header_cell.js +6 -6
  65. package/lib/components/datagrid/body/header/data_grid_header_row.js +6 -6
  66. package/lib/components/datagrid/data_grid.js +6 -6
  67. package/lib/components/datagrid/utils/focus.js +1 -0
  68. package/lib/components/datagrid/utils/in_memory.js +6 -6
  69. package/lib/components/date_picker/date_picker.js +1 -1
  70. package/lib/components/empty_prompt/empty_prompt.js +1 -1
  71. package/lib/components/form/field_text/field_text.js +1 -1
  72. package/lib/components/form/form_control_layout/form_control_layout.js +1 -1
  73. package/lib/components/form/form_control_layout/form_control_layout_icons.js +1 -1
  74. package/lib/components/health/health.js +1 -1
  75. package/lib/components/icon/icon.js +54 -499
  76. package/lib/components/icon/icon.styles.js +79 -0
  77. package/lib/components/icon/icon_map.js +463 -0
  78. package/lib/components/icon/named_colors.js +4 -15
  79. package/lib/components/list_group/list_group.js +1 -1
  80. package/lib/components/list_group/list_group_item.js +1 -1
  81. package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +2 -2
  82. package/lib/components/notification/notification_event.js +2 -2
  83. package/lib/components/notification/notification_event_meta.js +1 -1
  84. package/lib/components/notification/notification_event_read_button.js +1 -1
  85. package/lib/components/panel/panel.js +2 -1
  86. package/lib/components/progress/progress.js +36 -88
  87. package/lib/components/progress/progress.styles.js +166 -0
  88. package/lib/components/selectable/selectable_list/selectable_list.js +3 -1
  89. package/lib/components/selectable/selectable_list/selectable_list_item.js +1 -1
  90. package/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +3 -3
  91. package/lib/components/text/text.js +2 -0
  92. package/lib/components/tool_tip/icon_tip.js +1 -1
  93. package/lib/global_styling/utility/utility.js +5 -1
  94. package/lib/services/theme/hooks.js +2 -0
  95. package/optimize/es/components/accessibility/screen_reader_live/screen_reader_live.js +21 -6
  96. package/optimize/es/components/accessibility/screen_reader_only/screen_reader_only.js +11 -17
  97. package/optimize/es/components/accessibility/screen_reader_only/screen_reader_only.styles.js +11 -1
  98. package/optimize/es/components/accessibility/skip_link/skip_link.js +20 -4
  99. package/optimize/es/components/datagrid/utils/focus.js +1 -0
  100. package/optimize/es/components/icon/icon.js +40 -492
  101. package/optimize/es/components/icon/icon.styles.js +75 -0
  102. package/optimize/es/components/icon/icon_map.js +455 -0
  103. package/optimize/es/components/icon/named_colors.js +2 -13
  104. package/optimize/es/components/panel/panel.js +2 -1
  105. package/optimize/es/components/progress/progress.js +31 -84
  106. package/optimize/es/components/progress/progress.styles.js +155 -0
  107. package/optimize/es/components/selectable/selectable_list/selectable_list.js +2 -0
  108. package/optimize/es/components/text/text.js +2 -0
  109. package/optimize/es/global_styling/utility/utility.js +3 -1
  110. package/optimize/es/services/theme/hooks.js +2 -0
  111. package/optimize/lib/components/accessibility/screen_reader_live/screen_reader_live.js +20 -5
  112. package/optimize/lib/components/accessibility/screen_reader_only/screen_reader_only.js +18 -16
  113. package/optimize/lib/components/accessibility/screen_reader_only/screen_reader_only.styles.js +16 -2
  114. package/optimize/lib/components/accessibility/skip_link/skip_link.js +21 -4
  115. package/optimize/lib/components/datagrid/utils/focus.js +1 -0
  116. package/optimize/lib/components/icon/icon.js +49 -494
  117. package/optimize/lib/components/icon/icon.styles.js +81 -0
  118. package/optimize/lib/components/icon/icon_map.js +463 -0
  119. package/optimize/lib/components/icon/named_colors.js +4 -15
  120. package/optimize/lib/components/panel/panel.js +2 -1
  121. package/optimize/lib/components/progress/progress.js +33 -85
  122. package/optimize/lib/components/progress/progress.styles.js +168 -0
  123. package/optimize/lib/components/selectable/selectable_list/selectable_list.js +2 -0
  124. package/optimize/lib/components/text/text.js +2 -0
  125. package/optimize/lib/global_styling/utility/utility.js +5 -1
  126. package/optimize/lib/services/theme/hooks.js +2 -0
  127. package/package.json +2 -2
  128. package/src/components/form/form_control_layout/_form_control_layout.scss +2 -4
  129. package/src/components/index.scss +0 -3
  130. package/src/global_styling/variables/_form.scss +9 -0
  131. package/src/themes/amsterdam/overrides/_index.scss +0 -1
  132. package/test-env/components/accessibility/screen_reader_live/screen_reader_live.js +29 -6
  133. package/test-env/components/accessibility/screen_reader_only/screen_reader_only.js +21 -18
  134. package/test-env/components/accessibility/screen_reader_only/screen_reader_only.styles.js +16 -2
  135. package/test-env/components/accessibility/skip_link/skip_link.js +21 -4
  136. package/test-env/components/avatar/avatar.js +2 -2
  137. package/test-env/components/badge/badge.js +1 -1
  138. package/test-env/components/button/button_icon/button_icon.js +1 -1
  139. package/test-env/components/collapsible_nav/collapsible_nav_group/collapsible_nav_group.js +2 -2
  140. package/test-env/components/datagrid/body/data_grid_body.js +6 -6
  141. package/test-env/components/datagrid/body/data_grid_cell.js +12 -12
  142. package/test-env/components/datagrid/body/header/data_grid_header_cell.js +6 -6
  143. package/test-env/components/datagrid/body/header/data_grid_header_row.js +6 -6
  144. package/test-env/components/datagrid/data_grid.js +6 -6
  145. package/test-env/components/datagrid/utils/focus.js +1 -0
  146. package/test-env/components/datagrid/utils/in_memory.js +6 -6
  147. package/test-env/components/date_picker/date_picker.js +1 -1
  148. package/test-env/components/empty_prompt/empty_prompt.js +1 -1
  149. package/test-env/components/form/field_text/field_text.js +1 -1
  150. package/test-env/components/form/form_control_layout/form_control_layout.js +1 -1
  151. package/test-env/components/form/form_control_layout/form_control_layout_icons.js +1 -1
  152. package/test-env/components/health/health.js +1 -1
  153. package/test-env/components/icon/icon.styles.js +81 -0
  154. package/test-env/components/icon/icon_map.js +463 -0
  155. package/test-env/components/icon/named_colors.js +4 -15
  156. package/test-env/components/list_group/list_group.js +1 -1
  157. package/test-env/components/list_group/list_group_item.js +1 -1
  158. package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +2 -2
  159. package/test-env/components/notification/notification_event.js +2 -2
  160. package/test-env/components/notification/notification_event_meta.js +1 -1
  161. package/test-env/components/notification/notification_event_read_button.js +1 -1
  162. package/test-env/components/panel/panel.js +2 -1
  163. package/test-env/components/progress/progress.js +36 -88
  164. package/test-env/components/progress/progress.styles.js +168 -0
  165. package/test-env/components/selectable/selectable_list/selectable_list.js +3 -1
  166. package/test-env/components/selectable/selectable_list/selectable_list_item.js +1 -1
  167. package/test-env/components/selectable/selectable_templates/selectable_template_sitewide.js +3 -3
  168. package/test-env/components/text/text.js +2 -0
  169. package/test-env/components/tool_tip/icon_tip.js +1 -1
  170. package/test-env/global_styling/utility/utility.js +5 -1
  171. package/test-env/services/theme/hooks.js +2 -0
  172. package/src/components/accessibility/_index.scss +0 -1
  173. package/src/components/accessibility/screen_reader_only/_screen_reader_only.scss +0 -5
  174. package/src/components/icon/_icon.scss +0 -87
  175. package/src/components/icon/_index.scss +0 -2
  176. package/src/components/icon/_variables.scss +0 -22
  177. package/src/components/progress/_index.scss +0 -2
  178. package/src/components/progress/_progress.scss +0 -166
  179. package/src/components/progress/_variables.scss +0 -21
  180. package/src/themes/amsterdam/overrides/_progress.scss +0 -3
@@ -17,7 +17,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
17
17
  * in compliance with, at your election, the Elastic License 2.0 or the Server
18
18
  * Side Public License, v 1.
19
19
  */
20
- import React, { useEffect, useState } from 'react';
20
+ import React, { useEffect, useRef, useState } from 'react';
21
21
  import PropTypes from "prop-types";
22
22
  import { EuiScreenReaderOnly } from '../screen_reader_only';
23
23
  import { jsx as ___EmotionJSX } from "@emotion/react";
@@ -28,18 +28,26 @@ export var EuiScreenReaderLive = function EuiScreenReaderLive(_ref) {
28
28
  _ref$role = _ref.role,
29
29
  role = _ref$role === void 0 ? 'status' : _ref$role,
30
30
  _ref$ariaLive = _ref['aria-live'],
31
- ariaLive = _ref$ariaLive === void 0 ? 'polite' : _ref$ariaLive;
31
+ ariaLive = _ref$ariaLive === void 0 ? 'polite' : _ref$ariaLive,
32
+ _ref$focusRegionOnTex = _ref.focusRegionOnTextChange,
33
+ focusRegionOnTextChange = _ref$focusRegionOnTex === void 0 ? false : _ref$focusRegionOnTex;
32
34
 
33
35
  var _useState = useState(false),
34
36
  _useState2 = _slicedToArray(_useState, 2),
35
37
  toggle = _useState2[0],
36
38
  setToggle = _useState2[1];
37
39
 
40
+ var focusRef = useRef(null);
38
41
  useEffect(function () {
39
42
  setToggle(function (toggle) {
40
43
  return !toggle;
41
44
  });
42
45
  }, [children]);
46
+ useEffect(function () {
47
+ if (focusRef.current !== null && focusRegionOnTextChange) {
48
+ focusRef.current.focus();
49
+ }
50
+ }, [toggle, focusRegionOnTextChange]);
43
51
  return (
44
52
  /**
45
53
  * Intentionally uses two persistent live regions with oscillating content updates.
@@ -51,14 +59,21 @@ export var EuiScreenReaderLive = function EuiScreenReaderLive(_ref) {
51
59
  * See also https://github.com/AlmeroSteyn/react-aria-live and https://github.com/dequelabs/ngA11y
52
60
  * for more examples of the double region approach.
53
61
  */
54
- ___EmotionJSX(EuiScreenReaderOnly, null, ___EmotionJSX("div", null, ___EmotionJSX("div", {
62
+ ___EmotionJSX(EuiScreenReaderOnly, null, ___EmotionJSX("div", {
63
+ ref: focusRef,
64
+ tabIndex: focusRegionOnTextChange ? -1 : undefined
65
+ }, ___EmotionJSX("div", {
55
66
  role: role,
56
- "aria-atomic": "true",
57
- "aria-live": ariaLive
67
+ "aria-atomic": "true" // Setting `aria-hidden` and setting `aria-live` to "off" prevents
68
+ // double announcements from VO when `focusRegionOnTextChange` is true
69
+ ,
70
+ "aria-hidden": toggle ? undefined : 'true',
71
+ "aria-live": focusRegionOnTextChange ? 'off' : ariaLive
58
72
  }, isActive && toggle ? children : ''), ___EmotionJSX("div", {
59
73
  role: role,
60
74
  "aria-atomic": "true",
61
- "aria-live": ariaLive
75
+ "aria-hidden": !toggle ? undefined : 'true',
76
+ "aria-live": focusRegionOnTextChange ? 'off' : ariaLive
62
77
  }, isActive && !toggle ? children : '')))
63
78
  );
64
79
  };
@@ -83,5 +98,13 @@ EuiScreenReaderLive.propTypes = {
83
98
  /**
84
99
  * `aria-live` attribute for both live regions
85
100
  */
86
- "aria-live": PropTypes.any
101
+ "aria-live": PropTypes.any,
102
+
103
+ /**
104
+ * On `children`/text change, the region will auto-focus itself, causing screen readers
105
+ * to automatically read out the text content. This prop should primarily be used for
106
+ * navigation or page changes, where programmatically resetting focus location back to
107
+ * a certain part of the page is desired.
108
+ */
109
+ focusRegionOnTextChange: PropTypes.bool
87
110
  };
@@ -1,9 +1,3 @@
1
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
2
-
3
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
4
-
5
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
-
7
1
  /*
8
2
  * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
9
3
  * or more contributor license agreements. Licensed under the Elastic License
@@ -11,22 +5,22 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
11
5
  * in compliance with, at your election, the Elastic License 2.0 or the Server
12
6
  * Side Public License, v 1.
13
7
  */
14
- import { cloneElement } from 'react';
15
- import PropTypes from "prop-types";
16
8
  import classNames from 'classnames';
9
+ import PropTypes from "prop-types";
10
+ import { cloneElementWithCss } from '../../../services/theme/clone_element';
11
+ import { euiScreenReaderOnlyStyles } from './screen_reader_only.styles';
17
12
  export var EuiScreenReaderOnly = function EuiScreenReaderOnly(_ref) {
18
13
  var children = _ref.children,
14
+ className = _ref.className,
19
15
  showOnFocus = _ref.showOnFocus;
20
- var classes = classNames({
21
- euiScreenReaderOnly: !showOnFocus,
22
- 'euiScreenReaderOnly--showOnFocus': showOnFocus
23
- }, children.props.className);
24
-
25
- var props = _objectSpread(_objectSpread({}, children.props), {}, {
26
- className: classes
27
- });
28
-
29
- return /*#__PURE__*/cloneElement(children, props);
16
+ var classes = classNames(className, children.props.className);
17
+ var styles = euiScreenReaderOnlyStyles(showOnFocus);
18
+ var cssStyles = [styles.euiScreenReaderOnly];
19
+ var props = {
20
+ className: classes.length ? classes : undefined,
21
+ css: cssStyles
22
+ };
23
+ return cloneElementWithCss(children, props);
30
24
  };
31
25
  EuiScreenReaderOnly.propTypes = {
32
26
  /**
@@ -37,5 +31,6 @@ EuiScreenReaderOnly.propTypes = {
37
31
  /**
38
32
  * For keyboard navigation, force content to display visually upon focus.
39
33
  */
40
- showOnFocus: PropTypes.bool
34
+ showOnFocus: PropTypes.bool,
35
+ className: PropTypes.string
41
36
  };
@@ -5,11 +5,21 @@
5
5
  * in compliance with, at your election, the Elastic License 2.0 or the Server
6
6
  * Side Public License, v 1.
7
7
  */
8
-
8
+ import { css } from '@emotion/react';
9
9
  /*
10
10
  * Mixin that hides elements offscreen to only be read by screen reader
11
11
  * See https://github.com/elastic/eui/pull/5130 and https://github.com/elastic/eui/pull/5152 for more info
12
12
  */
13
+
13
14
  export var euiScreenReaderOnly = function euiScreenReaderOnly() {
14
15
  return "\n // Take the element out of the layout\n position: absolute;\n // Keep it vertically inline\n top: auto;\n // Chrome requires a left value, and Selenium (used by Kibana's FTR) requires an off-screen position for its .getVisibleText() to not register SR-only text\n left: -10000px;\n // The element must have a size (for some screen readers)\n width: 1px;\n height: 1px;\n // But reduce the visible size to nothing\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n // And ensure no overflows occur\n overflow: hidden;\n // Chrome requires the negative margin to not cause overflows of parent containers\n margin: -1px;\n";
16
+ };
17
+ /*
18
+ * Styles
19
+ */
20
+
21
+ export var euiScreenReaderOnlyStyles = function euiScreenReaderOnlyStyles(showOnFocus) {
22
+ return {
23
+ euiScreenReaderOnly: showOnFocus ? /*#__PURE__*/css("&:not(:focus):not(:active){", euiScreenReaderOnly(), ";};label:euiScreenReaderOnly;") : /*#__PURE__*/css(euiScreenReaderOnly(), ";label:euiScreenReaderOnly;")
24
+ };
15
25
  };
@@ -22,6 +22,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
22
22
  import React from 'react';
23
23
  import PropTypes from "prop-types";
24
24
  import classNames from 'classnames';
25
+ import { isTabbable } from 'tabbable';
25
26
  import { useEuiTheme } from '../../../services';
26
27
  import { EuiButton } from '../../button/button';
27
28
  import { EuiScreenReaderOnly } from '../screen_reader_only';
@@ -56,13 +57,28 @@ export var EuiSkipLink = function EuiSkipLink(_ref) {
56
57
  onClick: function onClick(e) {
57
58
  e.preventDefault();
58
59
  var destinationEl = document.getElementById(destinationId);
59
- if (!destinationEl) return;
60
- destinationEl.scrollIntoView();
61
- destinationEl.tabIndex = -1; // Ensure the destination content is focusable
60
+ if (!destinationEl) return; // Scroll to the top of the destination content only if it's ~mostly out of view
61
+
62
+ var destinationY = destinationEl.getBoundingClientRect().top;
63
+ var halfOfViewportHeight = window.innerHeight / 2;
64
+
65
+ if (destinationY >= halfOfViewportHeight || window.scrollY >= destinationY + halfOfViewportHeight) {
66
+ destinationEl.scrollIntoView();
67
+ } // Ensure the destination content is focusable
68
+
69
+
70
+ if (!isTabbable(destinationEl)) {
71
+ destinationEl.tabIndex = -1;
72
+ destinationEl.addEventListener('blur', function () {
73
+ return destinationEl.removeAttribute('tabindex');
74
+ }, {
75
+ once: true
76
+ });
77
+ }
62
78
 
63
79
  destinationEl.focus({
64
80
  preventScroll: true
65
- }); // Scrolling is already handled above, and focus's autoscroll behaves oddly around fixed headers
81
+ }); // Scrolling is already handled above, and focus autoscroll behaves oddly on Chrome around fixed headers
66
82
  }
67
83
  });
68
84
  }
@@ -143,12 +143,12 @@ EuiAvatar.propTypes = {
143
143
  /**
144
144
  * Manually change icon size
145
145
  */
146
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
146
+ iconSize: PropTypes.any,
147
147
 
148
148
  /**
149
149
  * Manually change icon color
150
150
  */
151
- iconColor: PropTypes.oneOfType([PropTypes.oneOfType([PropTypes.string.isRequired, PropTypes.oneOf(["default", "primary", "success", "accent", "warning", "danger", "text", "subdued", "ghost", "inherit"]).isRequired]).isRequired, PropTypes.oneOf([null])]),
151
+ iconColor: PropTypes.oneOfType([PropTypes.oneOfType([PropTypes.string.isRequired, PropTypes.any.isRequired]).isRequired, PropTypes.oneOf([null])]),
152
152
 
153
153
  /**
154
154
  * Full name of avatar for title attribute and calculating initial if not provided
@@ -251,7 +251,7 @@ EuiBadge.propTypes = {
251
251
  /**
252
252
  * Accepts either our palette colors (primary, success ..etc) or a hex value `#FFFFFF`, `#000`.
253
253
  */
254
- color: PropTypes.oneOfType([PropTypes.string.isRequired, PropTypes.oneOf(["default", "primary", "success", "accent", "warning", "danger", "text", "subdued", "ghost", "inherit"]).isRequired]),
254
+ color: PropTypes.oneOfType([PropTypes.string.isRequired, PropTypes.any.isRequired]),
255
255
 
256
256
  /**
257
257
  * Will override any color passed through the `color` prop.
@@ -161,7 +161,7 @@ EuiButtonIcon.propTypes = {
161
161
  * Size of the icon only.
162
162
  * This will not affect the overall size of the button
163
163
  */
164
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
164
+ iconSize: PropTypes.any,
165
165
 
166
166
  /**
167
167
  * Applies the boolean state as the `aria-pressed` property to create a toggle button.
@@ -120,7 +120,7 @@ EuiCollapsibleNavGroup.propTypes = {
120
120
  /**
121
121
  * Change the size of the icon in the `title`
122
122
  */
123
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
123
+ iconSize: PropTypes.any,
124
124
 
125
125
  /**
126
126
  * Further extend the props applied to EuiIcon
@@ -134,7 +134,7 @@ EuiCollapsibleNavGroup.propTypes = {
134
134
  * One of EUI's color palette or a valid CSS color value https://developer.mozilla.org/en-US/docs/Web/CSS/color_value.
135
135
  * Note that coloring only works if your SVG is removed of fill attributes.
136
136
  */
137
- color: PropTypes.oneOfType([PropTypes.string.isRequired, PropTypes.oneOf(["default", "primary", "success", "accent", "warning", "danger", "text", "subdued", "ghost", "inherit"]).isRequired]),
137
+ color: PropTypes.oneOfType([PropTypes.string.isRequired, PropTypes.any.isRequired]),
138
138
 
139
139
  /**
140
140
  * Descriptive title for naming the icon based on its use
@@ -625,7 +625,7 @@ EuiDataGridBody.propTypes = {
625
625
  * Size of the icon only.
626
626
  * This will not affect the overall size of the button
627
627
  */
628
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
628
+ iconSize: PropTypes.any,
629
629
 
630
630
  /**
631
631
  * Applies the boolean state as the `aria-pressed` property to create a toggle button.
@@ -697,7 +697,7 @@ EuiDataGridBody.propTypes = {
697
697
  "aria-labelledby": PropTypes.string,
698
698
  isDisabled: PropTypes.bool,
699
699
  size: PropTypes.oneOf(["xs", "s", "m"]),
700
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
700
+ iconSize: PropTypes.any,
701
701
  isSelected: PropTypes.bool,
702
702
  display: PropTypes.oneOf(["base", "empty", "fill"]),
703
703
  isLoading: PropTypes.bool,
@@ -739,7 +739,7 @@ EuiDataGridBody.propTypes = {
739
739
  "aria-labelledby": PropTypes.string,
740
740
  isDisabled: PropTypes.bool,
741
741
  size: PropTypes.oneOf(["xs", "s", "m"]),
742
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
742
+ iconSize: PropTypes.any,
743
743
  isSelected: PropTypes.bool,
744
744
  display: PropTypes.oneOf(["base", "empty", "fill"]),
745
745
  isLoading: PropTypes.bool,
@@ -781,7 +781,7 @@ EuiDataGridBody.propTypes = {
781
781
  "aria-labelledby": PropTypes.string,
782
782
  isDisabled: PropTypes.bool,
783
783
  size: PropTypes.oneOf(["xs", "s", "m"]),
784
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
784
+ iconSize: PropTypes.any,
785
785
  isSelected: PropTypes.bool,
786
786
  display: PropTypes.oneOf(["base", "empty", "fill"]),
787
787
  isLoading: PropTypes.bool,
@@ -823,7 +823,7 @@ EuiDataGridBody.propTypes = {
823
823
  "aria-labelledby": PropTypes.string,
824
824
  isDisabled: PropTypes.bool,
825
825
  size: PropTypes.oneOf(["xs", "s", "m"]),
826
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
826
+ iconSize: PropTypes.any,
827
827
  isSelected: PropTypes.bool,
828
828
  display: PropTypes.oneOf(["base", "empty", "fill"]),
829
829
  isLoading: PropTypes.bool,
@@ -865,7 +865,7 @@ EuiDataGridBody.propTypes = {
865
865
  "aria-labelledby": PropTypes.string,
866
866
  isDisabled: PropTypes.bool,
867
867
  size: PropTypes.oneOf(["xs", "s", "m"]),
868
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
868
+ iconSize: PropTypes.any,
869
869
  isSelected: PropTypes.bool,
870
870
  display: PropTypes.oneOf(["base", "empty", "fill"]),
871
871
  isLoading: PropTypes.bool,
@@ -234,7 +234,7 @@ EuiDataGridCellContent.propTypes = {
234
234
  * Size of the icon only.
235
235
  * This will not affect the overall size of the button
236
236
  */
237
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
237
+ iconSize: PropTypes.any,
238
238
 
239
239
  /**
240
240
  * Applies the boolean state as the `aria-pressed` property to create a toggle button.
@@ -306,7 +306,7 @@ EuiDataGridCellContent.propTypes = {
306
306
  "aria-labelledby": PropTypes.string,
307
307
  isDisabled: PropTypes.bool,
308
308
  size: PropTypes.oneOf(["xs", "s", "m"]),
309
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
309
+ iconSize: PropTypes.any,
310
310
  isSelected: PropTypes.bool,
311
311
  display: PropTypes.oneOf(["base", "empty", "fill"]),
312
312
  isLoading: PropTypes.bool,
@@ -348,7 +348,7 @@ EuiDataGridCellContent.propTypes = {
348
348
  "aria-labelledby": PropTypes.string,
349
349
  isDisabled: PropTypes.bool,
350
350
  size: PropTypes.oneOf(["xs", "s", "m"]),
351
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
351
+ iconSize: PropTypes.any,
352
352
  isSelected: PropTypes.bool,
353
353
  display: PropTypes.oneOf(["base", "empty", "fill"]),
354
354
  isLoading: PropTypes.bool,
@@ -390,7 +390,7 @@ EuiDataGridCellContent.propTypes = {
390
390
  "aria-labelledby": PropTypes.string,
391
391
  isDisabled: PropTypes.bool,
392
392
  size: PropTypes.oneOf(["xs", "s", "m"]),
393
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
393
+ iconSize: PropTypes.any,
394
394
  isSelected: PropTypes.bool,
395
395
  display: PropTypes.oneOf(["base", "empty", "fill"]),
396
396
  isLoading: PropTypes.bool,
@@ -432,7 +432,7 @@ EuiDataGridCellContent.propTypes = {
432
432
  "aria-labelledby": PropTypes.string,
433
433
  isDisabled: PropTypes.bool,
434
434
  size: PropTypes.oneOf(["xs", "s", "m"]),
435
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
435
+ iconSize: PropTypes.any,
436
436
  isSelected: PropTypes.bool,
437
437
  display: PropTypes.oneOf(["base", "empty", "fill"]),
438
438
  isLoading: PropTypes.bool,
@@ -474,7 +474,7 @@ EuiDataGridCellContent.propTypes = {
474
474
  "aria-labelledby": PropTypes.string,
475
475
  isDisabled: PropTypes.bool,
476
476
  size: PropTypes.oneOf(["xs", "s", "m"]),
477
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
477
+ iconSize: PropTypes.any,
478
478
  isSelected: PropTypes.bool,
479
479
  display: PropTypes.oneOf(["base", "empty", "fill"]),
480
480
  isLoading: PropTypes.bool,
@@ -1241,7 +1241,7 @@ EuiDataGridCell.propTypes = {
1241
1241
  "aria-labelledby": PropTypes.string,
1242
1242
  isDisabled: PropTypes.bool,
1243
1243
  size: PropTypes.oneOf(["xs", "s", "m"]),
1244
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
1244
+ iconSize: PropTypes.any,
1245
1245
  isSelected: PropTypes.bool,
1246
1246
  display: PropTypes.oneOf(["base", "empty", "fill"]),
1247
1247
  isLoading: PropTypes.bool,
@@ -1283,7 +1283,7 @@ EuiDataGridCell.propTypes = {
1283
1283
  "aria-labelledby": PropTypes.string,
1284
1284
  isDisabled: PropTypes.bool,
1285
1285
  size: PropTypes.oneOf(["xs", "s", "m"]),
1286
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
1286
+ iconSize: PropTypes.any,
1287
1287
  isSelected: PropTypes.bool,
1288
1288
  display: PropTypes.oneOf(["base", "empty", "fill"]),
1289
1289
  isLoading: PropTypes.bool,
@@ -1325,7 +1325,7 @@ EuiDataGridCell.propTypes = {
1325
1325
  "aria-labelledby": PropTypes.string,
1326
1326
  isDisabled: PropTypes.bool,
1327
1327
  size: PropTypes.oneOf(["xs", "s", "m"]),
1328
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
1328
+ iconSize: PropTypes.any,
1329
1329
  isSelected: PropTypes.bool,
1330
1330
  display: PropTypes.oneOf(["base", "empty", "fill"]),
1331
1331
  isLoading: PropTypes.bool,
@@ -1367,7 +1367,7 @@ EuiDataGridCell.propTypes = {
1367
1367
  "aria-labelledby": PropTypes.string,
1368
1368
  isDisabled: PropTypes.bool,
1369
1369
  size: PropTypes.oneOf(["xs", "s", "m"]),
1370
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
1370
+ iconSize: PropTypes.any,
1371
1371
  isSelected: PropTypes.bool,
1372
1372
  display: PropTypes.oneOf(["base", "empty", "fill"]),
1373
1373
  isLoading: PropTypes.bool,
@@ -1409,7 +1409,7 @@ EuiDataGridCell.propTypes = {
1409
1409
  "aria-labelledby": PropTypes.string,
1410
1410
  isDisabled: PropTypes.bool,
1411
1411
  size: PropTypes.oneOf(["xs", "s", "m"]),
1412
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
1412
+ iconSize: PropTypes.any,
1413
1413
  isSelected: PropTypes.bool,
1414
1414
  display: PropTypes.oneOf(["base", "empty", "fill"]),
1415
1415
  isLoading: PropTypes.bool,
@@ -1451,7 +1451,7 @@ EuiDataGridCell.propTypes = {
1451
1451
  "aria-labelledby": PropTypes.string,
1452
1452
  isDisabled: PropTypes.bool,
1453
1453
  size: PropTypes.oneOf(["xs", "s", "m"]),
1454
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
1454
+ iconSize: PropTypes.any,
1455
1455
  isSelected: PropTypes.bool,
1456
1456
  display: PropTypes.oneOf(["base", "empty", "fill"]),
1457
1457
  isLoading: PropTypes.bool,
@@ -312,7 +312,7 @@ EuiDataGridHeaderCell.propTypes = {
312
312
  * Size of the icon only.
313
313
  * This will not affect the overall size of the button
314
314
  */
315
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
315
+ iconSize: PropTypes.any,
316
316
 
317
317
  /**
318
318
  * Applies the boolean state as the `aria-pressed` property to create a toggle button.
@@ -384,7 +384,7 @@ EuiDataGridHeaderCell.propTypes = {
384
384
  "aria-labelledby": PropTypes.string,
385
385
  isDisabled: PropTypes.bool,
386
386
  size: PropTypes.oneOf(["xs", "s", "m"]),
387
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
387
+ iconSize: PropTypes.any,
388
388
  isSelected: PropTypes.bool,
389
389
  display: PropTypes.oneOf(["base", "empty", "fill"]),
390
390
  isLoading: PropTypes.bool,
@@ -426,7 +426,7 @@ EuiDataGridHeaderCell.propTypes = {
426
426
  "aria-labelledby": PropTypes.string,
427
427
  isDisabled: PropTypes.bool,
428
428
  size: PropTypes.oneOf(["xs", "s", "m"]),
429
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
429
+ iconSize: PropTypes.any,
430
430
  isSelected: PropTypes.bool,
431
431
  display: PropTypes.oneOf(["base", "empty", "fill"]),
432
432
  isLoading: PropTypes.bool,
@@ -468,7 +468,7 @@ EuiDataGridHeaderCell.propTypes = {
468
468
  "aria-labelledby": PropTypes.string,
469
469
  isDisabled: PropTypes.bool,
470
470
  size: PropTypes.oneOf(["xs", "s", "m"]),
471
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
471
+ iconSize: PropTypes.any,
472
472
  isSelected: PropTypes.bool,
473
473
  display: PropTypes.oneOf(["base", "empty", "fill"]),
474
474
  isLoading: PropTypes.bool,
@@ -510,7 +510,7 @@ EuiDataGridHeaderCell.propTypes = {
510
510
  "aria-labelledby": PropTypes.string,
511
511
  isDisabled: PropTypes.bool,
512
512
  size: PropTypes.oneOf(["xs", "s", "m"]),
513
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
513
+ iconSize: PropTypes.any,
514
514
  isSelected: PropTypes.bool,
515
515
  display: PropTypes.oneOf(["base", "empty", "fill"]),
516
516
  isLoading: PropTypes.bool,
@@ -552,7 +552,7 @@ EuiDataGridHeaderCell.propTypes = {
552
552
  "aria-labelledby": PropTypes.string,
553
553
  isDisabled: PropTypes.bool,
554
554
  size: PropTypes.oneOf(["xs", "s", "m"]),
555
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
555
+ iconSize: PropTypes.any,
556
556
  isSelected: PropTypes.bool,
557
557
  display: PropTypes.oneOf(["base", "empty", "fill"]),
558
558
  isLoading: PropTypes.bool,
@@ -263,7 +263,7 @@ EuiDataGridHeaderRow.propTypes = {
263
263
  * Size of the icon only.
264
264
  * This will not affect the overall size of the button
265
265
  */
266
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
266
+ iconSize: PropTypes.any,
267
267
 
268
268
  /**
269
269
  * Applies the boolean state as the `aria-pressed` property to create a toggle button.
@@ -335,7 +335,7 @@ EuiDataGridHeaderRow.propTypes = {
335
335
  "aria-labelledby": PropTypes.string,
336
336
  isDisabled: PropTypes.bool,
337
337
  size: PropTypes.oneOf(["xs", "s", "m"]),
338
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
338
+ iconSize: PropTypes.any,
339
339
  isSelected: PropTypes.bool,
340
340
  display: PropTypes.oneOf(["base", "empty", "fill"]),
341
341
  isLoading: PropTypes.bool,
@@ -377,7 +377,7 @@ EuiDataGridHeaderRow.propTypes = {
377
377
  "aria-labelledby": PropTypes.string,
378
378
  isDisabled: PropTypes.bool,
379
379
  size: PropTypes.oneOf(["xs", "s", "m"]),
380
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
380
+ iconSize: PropTypes.any,
381
381
  isSelected: PropTypes.bool,
382
382
  display: PropTypes.oneOf(["base", "empty", "fill"]),
383
383
  isLoading: PropTypes.bool,
@@ -419,7 +419,7 @@ EuiDataGridHeaderRow.propTypes = {
419
419
  "aria-labelledby": PropTypes.string,
420
420
  isDisabled: PropTypes.bool,
421
421
  size: PropTypes.oneOf(["xs", "s", "m"]),
422
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
422
+ iconSize: PropTypes.any,
423
423
  isSelected: PropTypes.bool,
424
424
  display: PropTypes.oneOf(["base", "empty", "fill"]),
425
425
  isLoading: PropTypes.bool,
@@ -461,7 +461,7 @@ EuiDataGridHeaderRow.propTypes = {
461
461
  "aria-labelledby": PropTypes.string,
462
462
  isDisabled: PropTypes.bool,
463
463
  size: PropTypes.oneOf(["xs", "s", "m"]),
464
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
464
+ iconSize: PropTypes.any,
465
465
  isSelected: PropTypes.bool,
466
466
  display: PropTypes.oneOf(["base", "empty", "fill"]),
467
467
  isLoading: PropTypes.bool,
@@ -503,7 +503,7 @@ EuiDataGridHeaderRow.propTypes = {
503
503
  "aria-labelledby": PropTypes.string,
504
504
  isDisabled: PropTypes.bool,
505
505
  size: PropTypes.oneOf(["xs", "s", "m"]),
506
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
506
+ iconSize: PropTypes.any,
507
507
  isSelected: PropTypes.bool,
508
508
  display: PropTypes.oneOf(["base", "empty", "fill"]),
509
509
  isLoading: PropTypes.bool,
@@ -553,7 +553,7 @@ EuiDataGrid.propTypes = {
553
553
  * Size of the icon only.
554
554
  * This will not affect the overall size of the button
555
555
  */
556
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
556
+ iconSize: PropTypes.any,
557
557
 
558
558
  /**
559
559
  * Applies the boolean state as the `aria-pressed` property to create a toggle button.
@@ -625,7 +625,7 @@ EuiDataGrid.propTypes = {
625
625
  "aria-labelledby": PropTypes.string,
626
626
  isDisabled: PropTypes.bool,
627
627
  size: PropTypes.oneOf(["xs", "s", "m"]),
628
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
628
+ iconSize: PropTypes.any,
629
629
  isSelected: PropTypes.bool,
630
630
  display: PropTypes.oneOf(["base", "empty", "fill"]),
631
631
  isLoading: PropTypes.bool,
@@ -667,7 +667,7 @@ EuiDataGrid.propTypes = {
667
667
  "aria-labelledby": PropTypes.string,
668
668
  isDisabled: PropTypes.bool,
669
669
  size: PropTypes.oneOf(["xs", "s", "m"]),
670
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
670
+ iconSize: PropTypes.any,
671
671
  isSelected: PropTypes.bool,
672
672
  display: PropTypes.oneOf(["base", "empty", "fill"]),
673
673
  isLoading: PropTypes.bool,
@@ -709,7 +709,7 @@ EuiDataGrid.propTypes = {
709
709
  "aria-labelledby": PropTypes.string,
710
710
  isDisabled: PropTypes.bool,
711
711
  size: PropTypes.oneOf(["xs", "s", "m"]),
712
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
712
+ iconSize: PropTypes.any,
713
713
  isSelected: PropTypes.bool,
714
714
  display: PropTypes.oneOf(["base", "empty", "fill"]),
715
715
  isLoading: PropTypes.bool,
@@ -751,7 +751,7 @@ EuiDataGrid.propTypes = {
751
751
  "aria-labelledby": PropTypes.string,
752
752
  isDisabled: PropTypes.bool,
753
753
  size: PropTypes.oneOf(["xs", "s", "m"]),
754
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
754
+ iconSize: PropTypes.any,
755
755
  isSelected: PropTypes.bool,
756
756
  display: PropTypes.oneOf(["base", "empty", "fill"]),
757
757
  isLoading: PropTypes.bool,
@@ -793,7 +793,7 @@ EuiDataGrid.propTypes = {
793
793
  "aria-labelledby": PropTypes.string,
794
794
  isDisabled: PropTypes.bool,
795
795
  size: PropTypes.oneOf(["xs", "s", "m"]),
796
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
796
+ iconSize: PropTypes.any,
797
797
  isSelected: PropTypes.bool,
798
798
  display: PropTypes.oneOf(["base", "empty", "fill"]),
799
799
  isLoading: PropTypes.bool,
@@ -362,7 +362,7 @@ EuiDataGridInMemoryRenderer.propTypes = {
362
362
  * Size of the icon only.
363
363
  * This will not affect the overall size of the button
364
364
  */
365
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
365
+ iconSize: PropTypes.any,
366
366
 
367
367
  /**
368
368
  * Applies the boolean state as the `aria-pressed` property to create a toggle button.
@@ -434,7 +434,7 @@ EuiDataGridInMemoryRenderer.propTypes = {
434
434
  "aria-labelledby": PropTypes.string,
435
435
  isDisabled: PropTypes.bool,
436
436
  size: PropTypes.oneOf(["xs", "s", "m"]),
437
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
437
+ iconSize: PropTypes.any,
438
438
  isSelected: PropTypes.bool,
439
439
  display: PropTypes.oneOf(["base", "empty", "fill"]),
440
440
  isLoading: PropTypes.bool,
@@ -476,7 +476,7 @@ EuiDataGridInMemoryRenderer.propTypes = {
476
476
  "aria-labelledby": PropTypes.string,
477
477
  isDisabled: PropTypes.bool,
478
478
  size: PropTypes.oneOf(["xs", "s", "m"]),
479
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
479
+ iconSize: PropTypes.any,
480
480
  isSelected: PropTypes.bool,
481
481
  display: PropTypes.oneOf(["base", "empty", "fill"]),
482
482
  isLoading: PropTypes.bool,
@@ -518,7 +518,7 @@ EuiDataGridInMemoryRenderer.propTypes = {
518
518
  "aria-labelledby": PropTypes.string,
519
519
  isDisabled: PropTypes.bool,
520
520
  size: PropTypes.oneOf(["xs", "s", "m"]),
521
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
521
+ iconSize: PropTypes.any,
522
522
  isSelected: PropTypes.bool,
523
523
  display: PropTypes.oneOf(["base", "empty", "fill"]),
524
524
  isLoading: PropTypes.bool,
@@ -560,7 +560,7 @@ EuiDataGridInMemoryRenderer.propTypes = {
560
560
  "aria-labelledby": PropTypes.string,
561
561
  isDisabled: PropTypes.bool,
562
562
  size: PropTypes.oneOf(["xs", "s", "m"]),
563
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
563
+ iconSize: PropTypes.any,
564
564
  isSelected: PropTypes.bool,
565
565
  display: PropTypes.oneOf(["base", "empty", "fill"]),
566
566
  isLoading: PropTypes.bool,
@@ -602,7 +602,7 @@ EuiDataGridInMemoryRenderer.propTypes = {
602
602
  "aria-labelledby": PropTypes.string,
603
603
  isDisabled: PropTypes.bool,
604
604
  size: PropTypes.oneOf(["xs", "s", "m"]),
605
- iconSize: PropTypes.oneOf(["original", "s", "m", "l", "xl", "xxl"]),
605
+ iconSize: PropTypes.any,
606
606
  isSelected: PropTypes.bool,
607
607
  display: PropTypes.oneOf(["base", "empty", "fill"]),
608
608
  isLoading: PropTypes.bool,