@elastic/eui 64.0.0 → 64.0.3

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 (185) hide show
  1. package/dist/eui_charts_theme.js +330 -330
  2. package/dist/eui_charts_theme.js.map +1 -1
  3. package/dist/eui_theme_dark.css +7 -313
  4. package/dist/eui_theme_dark.min.css +1 -1
  5. package/dist/eui_theme_light.css +7 -313
  6. package/dist/eui_theme_light.min.css +1 -1
  7. package/es/components/basic_table/collapsed_item_actions.js +1 -2
  8. package/es/components/breadcrumbs/breadcrumb.styles.js +2 -2
  9. package/es/components/button/button_display/_button_display.js +6 -1
  10. package/es/components/button/button_empty/button_empty.js +10 -1
  11. package/es/components/card/card.js +10 -1
  12. package/es/components/card/card_select.js +10 -1
  13. package/es/components/date_picker/auto_refresh/auto_refresh.js +6 -1
  14. package/es/components/date_picker/super_date_picker/date_popover/date_popover_button.js +6 -2
  15. package/es/components/description_list/description_list_title.js +1 -1
  16. package/es/components/expression/expression.js +12 -2
  17. package/es/components/header/header_links/header_link.js +10 -1
  18. package/es/components/header/header_section/header_section_item.js +4 -3
  19. package/es/components/image/image.js +6 -1
  20. package/es/components/image/image_button.styles.js +1 -1
  21. package/es/components/link/link.styles.js +6 -5
  22. package/es/components/notification/notification_event.js +10 -1
  23. package/es/components/page/page_content/page_content.js +1 -2
  24. package/es/components/page/page_content/page_content_body.js +1 -2
  25. package/es/components/page/page_content/page_content_header.js +1 -2
  26. package/es/components/page/page_content/page_content_header_section.js +1 -2
  27. package/es/components/page/page_section/page_section.js +15 -3
  28. package/es/components/page/page_side_bar/page_side_bar.js +1 -2
  29. package/es/components/page/page_sidebar/page_sidebar.js +5 -1
  30. package/es/components/page/page_template.js +3 -1
  31. package/es/components/page_template/empty_prompt/page_empty_prompt.js +11 -1
  32. package/es/components/page_template/page_template.js +18 -2
  33. package/es/components/pagination/pagination_button.js +10 -1
  34. package/es/components/progress/progress.js +6 -1
  35. package/es/components/provider/cache/cache_provider.js +3 -9
  36. package/es/components/provider/provider.js +25 -2
  37. package/es/components/resizable_container/resizable_panel.js +6 -1
  38. package/es/components/side_nav/side_nav.js +5 -0
  39. package/es/components/text/text.styles.js +1 -1
  40. package/es/components/toast/global_toast_list.styles.js +2 -2
  41. package/es/global_styling/functions/logicals.js +16 -2
  42. package/es/global_styling/mixins/_helpers.js +11 -4
  43. package/es/global_styling/mixins/_states.js +3 -4
  44. package/es/global_styling/mixins/_typography.js +3 -1
  45. package/es/global_styling/reset/global_styles.js +1 -1
  46. package/es/global_styling/utility/utility.js +10 -2
  47. package/es/services/theme/hooks.js +11 -16
  48. package/eui.d.ts +98 -79
  49. package/i18ntokens.json +8 -8
  50. package/lib/components/basic_table/collapsed_item_actions.js +1 -2
  51. package/lib/components/breadcrumbs/breadcrumb.styles.js +2 -2
  52. package/lib/components/button/button_display/_button_display.js +6 -1
  53. package/lib/components/button/button_empty/button_empty.js +10 -1
  54. package/lib/components/card/card.js +10 -1
  55. package/lib/components/card/card_select.js +10 -1
  56. package/lib/components/date_picker/auto_refresh/auto_refresh.js +6 -1
  57. package/lib/components/date_picker/super_date_picker/date_popover/date_popover_button.js +6 -1
  58. package/lib/components/description_list/description_list_title.js +1 -1
  59. package/lib/components/expression/expression.js +12 -2
  60. package/lib/components/header/header_links/header_link.js +10 -1
  61. package/lib/components/header/header_section/header_section_item.js +4 -3
  62. package/lib/components/image/image.js +6 -1
  63. package/lib/components/image/image_button.styles.js +1 -1
  64. package/lib/components/link/link.styles.js +6 -5
  65. package/lib/components/notification/notification_event.js +10 -1
  66. package/lib/components/page/page_content/page_content.js +1 -2
  67. package/lib/components/page/page_content/page_content_body.js +1 -2
  68. package/lib/components/page/page_content/page_content_header.js +1 -2
  69. package/lib/components/page/page_content/page_content_header_section.js +1 -2
  70. package/lib/components/page/page_section/page_section.js +15 -3
  71. package/lib/components/page/page_side_bar/page_side_bar.js +1 -2
  72. package/lib/components/page/page_sidebar/page_sidebar.js +5 -1
  73. package/lib/components/page/page_template.js +3 -1
  74. package/lib/components/page_template/empty_prompt/page_empty_prompt.js +11 -1
  75. package/lib/components/page_template/page_template.js +18 -2
  76. package/lib/components/progress/progress.js +6 -1
  77. package/lib/components/provider/cache/cache_provider.js +3 -11
  78. package/lib/components/provider/provider.js +31 -6
  79. package/lib/components/resizable_container/resizable_panel.js +6 -1
  80. package/lib/components/side_nav/side_nav.js +5 -0
  81. package/lib/components/text/text.styles.js +1 -1
  82. package/lib/components/toast/global_toast_list.styles.js +1 -1
  83. package/lib/global_styling/functions/logicals.js +21 -4
  84. package/lib/global_styling/mixins/_helpers.js +17 -6
  85. package/lib/global_styling/mixins/_states.js +3 -4
  86. package/lib/global_styling/mixins/_typography.js +4 -1
  87. package/lib/global_styling/reset/global_styles.js +1 -1
  88. package/lib/global_styling/utility/utility.js +16 -3
  89. package/lib/services/theme/hooks.js +10 -15
  90. package/optimize/es/components/basic_table/collapsed_item_actions.js +1 -2
  91. package/optimize/es/components/breadcrumbs/breadcrumb.styles.js +2 -2
  92. package/optimize/es/components/date_picker/super_date_picker/date_popover/date_popover_button.js +0 -1
  93. package/optimize/es/components/description_list/description_list_title.js +1 -1
  94. package/optimize/es/components/header/header_section/header_section_item.js +4 -3
  95. package/optimize/es/components/image/image_button.styles.js +1 -1
  96. package/optimize/es/components/link/link.styles.js +6 -5
  97. package/optimize/es/components/page/page_content/page_content.js +1 -2
  98. package/optimize/es/components/page/page_content/page_content_body.js +1 -2
  99. package/optimize/es/components/page/page_content/page_content_header.js +1 -2
  100. package/optimize/es/components/page/page_content/page_content_header_section.js +1 -2
  101. package/optimize/es/components/page/page_section/page_section.js +4 -2
  102. package/optimize/es/components/page/page_side_bar/page_side_bar.js +1 -2
  103. package/optimize/es/components/page/page_sidebar/page_sidebar.js +5 -1
  104. package/optimize/es/components/page/page_template.js +3 -1
  105. package/optimize/es/components/provider/cache/cache_provider.js +3 -9
  106. package/optimize/es/components/provider/provider.js +25 -2
  107. package/optimize/es/components/text/text.styles.js +1 -1
  108. package/optimize/es/components/toast/global_toast_list.styles.js +2 -2
  109. package/optimize/es/global_styling/functions/logicals.js +16 -2
  110. package/optimize/es/global_styling/mixins/_helpers.js +11 -4
  111. package/optimize/es/global_styling/mixins/_states.js +3 -4
  112. package/optimize/es/global_styling/mixins/_typography.js +3 -1
  113. package/optimize/es/global_styling/reset/global_styles.js +1 -1
  114. package/optimize/es/global_styling/utility/utility.js +10 -2
  115. package/optimize/es/services/theme/hooks.js +11 -16
  116. package/optimize/lib/components/basic_table/collapsed_item_actions.js +1 -2
  117. package/optimize/lib/components/breadcrumbs/breadcrumb.styles.js +2 -2
  118. package/optimize/lib/components/description_list/description_list_title.js +1 -1
  119. package/optimize/lib/components/header/header_section/header_section_item.js +4 -3
  120. package/optimize/lib/components/image/image_button.styles.js +1 -1
  121. package/optimize/lib/components/link/link.styles.js +6 -5
  122. package/optimize/lib/components/page/page_content/page_content.js +1 -2
  123. package/optimize/lib/components/page/page_content/page_content_body.js +1 -2
  124. package/optimize/lib/components/page/page_content/page_content_header.js +1 -2
  125. package/optimize/lib/components/page/page_content/page_content_header_section.js +1 -2
  126. package/optimize/lib/components/page/page_section/page_section.js +4 -2
  127. package/optimize/lib/components/page/page_side_bar/page_side_bar.js +1 -2
  128. package/optimize/lib/components/page/page_sidebar/page_sidebar.js +5 -1
  129. package/optimize/lib/components/page/page_template.js +3 -1
  130. package/optimize/lib/components/provider/cache/cache_provider.js +3 -11
  131. package/optimize/lib/components/provider/provider.js +31 -6
  132. package/optimize/lib/components/text/text.styles.js +1 -1
  133. package/optimize/lib/components/toast/global_toast_list.styles.js +1 -1
  134. package/optimize/lib/global_styling/functions/logicals.js +21 -4
  135. package/optimize/lib/global_styling/mixins/_helpers.js +17 -6
  136. package/optimize/lib/global_styling/mixins/_states.js +3 -4
  137. package/optimize/lib/global_styling/mixins/_typography.js +4 -1
  138. package/optimize/lib/global_styling/reset/global_styles.js +1 -1
  139. package/optimize/lib/global_styling/utility/utility.js +16 -3
  140. package/optimize/lib/services/theme/hooks.js +10 -15
  141. package/package.json +1 -1
  142. package/src/components/datagrid/_data_grid_data_row.scss +7 -0
  143. package/src/components/header/header_section/_header_section_item.scss +1 -1
  144. package/src/global_styling/mixins/_helpers.scss +9 -0
  145. package/src/global_styling/utility/_utility.scss +0 -127
  146. package/test-env/components/basic_table/collapsed_item_actions.js +1 -2
  147. package/test-env/components/breadcrumbs/breadcrumb.styles.js +2 -2
  148. package/test-env/components/button/button_display/_button_display.js +6 -1
  149. package/test-env/components/button/button_empty/button_empty.js +10 -1
  150. package/test-env/components/card/card.js +10 -1
  151. package/test-env/components/card/card_select.js +10 -1
  152. package/test-env/components/date_picker/auto_refresh/auto_refresh.js +6 -1
  153. package/test-env/components/date_picker/super_date_picker/date_popover/date_popover_button.js +6 -1
  154. package/test-env/components/description_list/description_list_title.js +1 -1
  155. package/test-env/components/expression/expression.js +12 -2
  156. package/test-env/components/header/header_links/header_link.js +10 -1
  157. package/test-env/components/header/header_section/header_section_item.js +4 -3
  158. package/test-env/components/image/image.js +6 -1
  159. package/test-env/components/image/image_button.styles.js +1 -1
  160. package/test-env/components/link/link.styles.js +6 -5
  161. package/test-env/components/notification/notification_event.js +10 -1
  162. package/test-env/components/page/page_content/page_content.js +1 -2
  163. package/test-env/components/page/page_content/page_content_body.js +1 -2
  164. package/test-env/components/page/page_content/page_content_header.js +1 -2
  165. package/test-env/components/page/page_content/page_content_header_section.js +1 -2
  166. package/test-env/components/page/page_section/page_section.js +15 -3
  167. package/test-env/components/page/page_side_bar/page_side_bar.js +1 -2
  168. package/test-env/components/page/page_sidebar/page_sidebar.js +5 -1
  169. package/test-env/components/page/page_template.js +3 -1
  170. package/test-env/components/page_template/empty_prompt/page_empty_prompt.js +11 -1
  171. package/test-env/components/page_template/page_template.js +18 -2
  172. package/test-env/components/progress/progress.js +6 -1
  173. package/test-env/components/provider/cache/cache_provider.js +3 -11
  174. package/test-env/components/provider/provider.js +31 -6
  175. package/test-env/components/resizable_container/resizable_panel.js +6 -1
  176. package/test-env/components/side_nav/side_nav.js +5 -0
  177. package/test-env/components/text/text.styles.js +1 -1
  178. package/test-env/components/toast/global_toast_list.styles.js +1 -1
  179. package/test-env/global_styling/functions/logicals.js +21 -4
  180. package/test-env/global_styling/mixins/_helpers.js +17 -6
  181. package/test-env/global_styling/mixins/_states.js +3 -4
  182. package/test-env/global_styling/mixins/_typography.js +4 -1
  183. package/test-env/global_styling/reset/global_styles.js +1 -1
  184. package/test-env/global_styling/utility/utility.js +16 -3
  185. package/test-env/services/theme/hooks.js +10 -15
@@ -94,8 +94,7 @@ export var CollapsedItemActions = /*#__PURE__*/function (_Component) {
94
94
  _defineProperty(_assertThisInitialized(_this), "registerPopoverDiv", function (popoverDiv) {
95
95
  if (!_this.popoverDiv) {
96
96
  _this.popoverDiv = popoverDiv;
97
-
98
- _this.popoverDiv.addEventListener('focusout', _this.onPopoverBlur);
97
+ _this.popoverDiv && _this.popoverDiv.addEventListener('focusout', _this.onPopoverBlur);
99
98
  }
100
99
  });
101
100
 
@@ -50,8 +50,8 @@ export var euiBreadcrumbContentStyles = function euiBreadcrumbContentStyles(euiT
50
50
  isTruncated: /*#__PURE__*/css(euiTextTruncate("".concat(parseFloat(euiTheme.size.base) * 10, "px")), ";;label:isTruncated;"),
51
51
  isTruncatedLast: /*#__PURE__*/css(euiTextTruncate('none'), ";;label:isTruncatedLast;"),
52
52
  // Types
53
- page: /*#__PURE__*/css("&:is(a):focus{", euiFocusRing(euiTheme, 'inset'), ";}&:is(button):focus{", euiFocusRing(euiTheme, 'center'), ";};label:page;"),
54
- application: /*#__PURE__*/css(euiFontSize(euiThemeContext, 'xs'), ";background-color:", transparentize(euiTheme.colors.darkestShade, 0.2), ";clip-path:polygon(\n 0 0,\n calc(100% - ", euiTheme.size.s, ") 0,\n 100% 50%,\n calc(100% - ", euiTheme.size.s, ") 100%,\n 0 100%,\n ", euiTheme.size.s, " 50%\n );color:", euiTheme.colors.darkestShade, ";line-height:", euiTheme.size.base, ";", logicalCSS('padding-vertical', euiTheme.size.xs), " ", logicalCSS('padding-horizontal', euiTheme.size.base), " &:is(a),&:is(button){background-color:", transparentize(euiTheme.colors.primary, 0.2), ";color:", euiTheme.colors.link, ";:focus{", euiFocusRing(euiTheme, 'inset'), ";:focus-visible{border-radius:", euiTheme.border.radius.medium, ";clip-path:none;}}};label:application;"),
53
+ page: /*#__PURE__*/css("&:is(a):focus{", euiFocusRing(euiThemeContext, 'inset'), ";}&:is(button):focus{", euiFocusRing(euiThemeContext, 'center'), ";};label:page;"),
54
+ application: /*#__PURE__*/css(euiFontSize(euiThemeContext, 'xs'), ";background-color:", transparentize(euiTheme.colors.darkestShade, 0.2), ";clip-path:polygon(\n 0 0,\n calc(100% - ", euiTheme.size.s, ") 0,\n 100% 50%,\n calc(100% - ", euiTheme.size.s, ") 100%,\n 0 100%,\n ", euiTheme.size.s, " 50%\n );color:", euiTheme.colors.darkestShade, ";line-height:", euiTheme.size.base, ";", logicalCSS('padding-vertical', euiTheme.size.xs), " ", logicalCSS('padding-horizontal', euiTheme.size.base), " &:is(a),&:is(button){background-color:", transparentize(euiTheme.colors.primary, 0.2), ";color:", euiTheme.colors.link, ";:focus{", euiFocusRing(euiThemeContext, 'inset'), ";:focus-visible{border-radius:", euiTheme.border.radius.medium, ";clip-path:none;}}};label:application;"),
55
55
  applicationStyles: {
56
56
  onlyChild: /*#__PURE__*/css("border-radius:", euiTheme.border.radius.medium, ";clip-path:none;", logicalCSS('padding-horizontal', euiTheme.size.m), ",;;label:onlyChild;"),
57
57
  firstChild: /*#__PURE__*/css("border-radius:", euiTheme.border.radius.medium, " 0 0 ", euiTheme.border.radius.medium, ";clip-path:polygon(\n 0 0,\n calc(100% - ", euiTheme.size.s, ") 0,\n 100% 50%,\n calc(100% - ", euiTheme.size.s, ") 100%,\n 0 100%\n );", logicalCSS('padding-left', euiTheme.size.m), ",;;label:firstChild;"),
@@ -104,7 +104,12 @@ EuiButtonDisplay.propTypes = {
104
104
  /**
105
105
  * Object of props passed to the <span/> wrapping the button's content
106
106
  */
107
- contentProps: PropTypes.any,
107
+ contentProps: PropTypes.shape({
108
+ className: PropTypes.string,
109
+ "aria-label": PropTypes.string,
110
+ "data-test-subj": PropTypes.string,
111
+ css: PropTypes.any
112
+ }),
108
113
  style: PropTypes.any,
109
114
 
110
115
  /**
@@ -188,7 +188,16 @@ EuiButtonEmpty.propTypes = {
188
188
  /**
189
189
  * Object of props passed to the <span/> wrapping the button's content
190
190
  */
191
- contentProps: PropTypes.any,
191
+
192
+ /**
193
+ * Object of props passed to the <span/> wrapping the button's content
194
+ */
195
+ contentProps: PropTypes.shape({
196
+ className: PropTypes.string,
197
+ "aria-label": PropTypes.string,
198
+ "data-test-subj": PropTypes.string,
199
+ css: PropTypes.any
200
+ }),
192
201
 
193
202
  /**
194
203
  * Any `type` accepted by EuiIcon
@@ -391,7 +391,16 @@ EuiCard.propTypes = {
391
391
  /**
392
392
  * Object of props passed to the <span/> wrapping the button's content
393
393
  */
394
- contentProps: PropTypes.any,
394
+
395
+ /**
396
+ * Object of props passed to the <span/> wrapping the button's content
397
+ */
398
+ contentProps: PropTypes.shape({
399
+ className: PropTypes.string,
400
+ "aria-label": PropTypes.string,
401
+ "data-test-subj": PropTypes.string,
402
+ css: PropTypes.any
403
+ }),
395
404
 
396
405
  /**
397
406
  * Any `type` accepted by EuiIcon
@@ -103,7 +103,16 @@ EuiCardSelect.propTypes = {
103
103
  /**
104
104
  * Object of props passed to the <span/> wrapping the button's content
105
105
  */
106
- contentProps: PropTypes.any,
106
+
107
+ /**
108
+ * Object of props passed to the <span/> wrapping the button's content
109
+ */
110
+ contentProps: PropTypes.shape({
111
+ className: PropTypes.string,
112
+ "aria-label": PropTypes.string,
113
+ "data-test-subj": PropTypes.string,
114
+ css: PropTypes.any
115
+ }),
107
116
 
108
117
  /**
109
118
  * Any `type` accepted by EuiIcon
@@ -202,7 +202,12 @@ EuiAutoRefreshButton.propTypes = {
202
202
  /**
203
203
  * Object of props passed to the <span/> wrapping the button's content
204
204
  */
205
- contentProps: PropTypes.any,
205
+ contentProps: PropTypes.shape({
206
+ className: PropTypes.string,
207
+ "aria-label": PropTypes.string,
208
+ "data-test-subj": PropTypes.string,
209
+ css: PropTypes.any
210
+ }),
206
211
 
207
212
  /**
208
213
  * Object of props passed to the <span/> wrapping the content's text (only if the children is a `string`)
@@ -16,7 +16,6 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
16
16
  import React from 'react';
17
17
  import PropTypes from "prop-types";
18
18
  import classNames from 'classnames';
19
- // eslint-disable-line import/named
20
19
  import { useEuiI18n } from '../../../i18n';
21
20
  import { EuiPopover } from '../../../popover';
22
21
  import { useFormatTimeString } from '../pretty_duration';
@@ -93,7 +92,12 @@ export var EuiDatePopoverButton = function EuiDatePopoverButton(props) {
93
92
  };
94
93
  EuiDatePopoverButton.propTypes = {
95
94
  className: PropTypes.string,
96
- buttonProps: PropTypes.any,
95
+ buttonProps: PropTypes.shape({
96
+ className: PropTypes.string,
97
+ "aria-label": PropTypes.string,
98
+ "data-test-subj": PropTypes.string,
99
+ css: PropTypes.any
100
+ }),
97
101
  dateFormat: PropTypes.string.isRequired,
98
102
  isDisabled: PropTypes.bool,
99
103
  isInvalid: PropTypes.bool,
@@ -46,7 +46,7 @@ export var EuiDescriptionListTitle = function EuiDescriptionListTitle(_ref) {
46
46
 
47
47
  var theme = useEuiTheme();
48
48
  var styles = euiDescriptionListTitleStyles(theme);
49
- var conditionalStyles = compressed && textStyle === 'reverse' ? [styles.fontStyles.compressed] : [styles.fontStyles[textStyle]];
49
+ var conditionalStyles = compressed && textStyle !== 'reverse' ? [styles.fontStyles.compressed] : [styles.fontStyles[textStyle]];
50
50
 
51
51
  switch (type) {
52
52
  case 'inline':
@@ -99,7 +99,12 @@ EuiExpression.propTypes = {
99
99
  * First part of the expression
100
100
  */
101
101
  description: PropTypes.node.isRequired,
102
- descriptionProps: PropTypes.any,
102
+ descriptionProps: PropTypes.shape({
103
+ className: PropTypes.string,
104
+ "aria-label": PropTypes.string,
105
+ "data-test-subj": PropTypes.string,
106
+ css: PropTypes.any
107
+ }),
103
108
 
104
109
  /**
105
110
  * Second part of the expression
@@ -109,7 +114,12 @@ EuiExpression.propTypes = {
109
114
  * Second part of the expression
110
115
  */
111
116
  value: PropTypes.node,
112
- valueProps: PropTypes.any,
117
+ valueProps: PropTypes.shape({
118
+ className: PropTypes.string,
119
+ "aria-label": PropTypes.string,
120
+ "data-test-subj": PropTypes.string,
121
+ css: PropTypes.any
122
+ }),
113
123
 
114
124
  /**
115
125
  * Color of the `description`
@@ -98,7 +98,16 @@ EuiHeaderLink.propTypes = {
98
98
  /**
99
99
  * Object of props passed to the <span/> wrapping the button's content
100
100
  */
101
- contentProps: PropTypes.any,
101
+
102
+ /**
103
+ * Object of props passed to the <span/> wrapping the button's content
104
+ */
105
+ contentProps: PropTypes.shape({
106
+ className: PropTypes.string,
107
+ "aria-label": PropTypes.string,
108
+ "data-test-subj": PropTypes.string,
109
+ css: PropTypes.any
110
+ }),
102
111
 
103
112
  /**
104
113
  * Any `type` accepted by EuiIcon
@@ -29,10 +29,11 @@ export var EuiHeaderSectionItem = function EuiHeaderSectionItem(_ref) {
29
29
  className = _ref.className,
30
30
  rest = _objectWithoutProperties(_ref, _excluded);
31
31
 
32
- var classes = classNames('euiHeaderSectionItem', borderToClassNameMap[border], className);
33
- return ___EmotionJSX("div", _extends({
32
+ var classes = classNames('euiHeaderSectionItem', borderToClassNameMap[border], className); // we check if there is any children and if not, we don't render anything
33
+
34
+ return children ? ___EmotionJSX("div", _extends({
34
35
  className: classes
35
- }, rest), children);
36
+ }, rest), children) : null;
36
37
  };
37
38
  EuiHeaderSectionItem.propTypes = {
38
39
  className: PropTypes.string,
@@ -166,5 +166,10 @@ EuiImage.propTypes = {
166
166
  /**
167
167
  * Props to add to the wrapping figure element
168
168
  */
169
- wrapperProps: PropTypes.any
169
+ wrapperProps: PropTypes.shape({
170
+ className: PropTypes.string,
171
+ "aria-label": PropTypes.string,
172
+ "data-test-subj": PropTypes.string,
173
+ css: PropTypes.any
174
+ })
170
175
  };
@@ -14,7 +14,7 @@ export var euiImageButtonStyles = function euiImageButtonStyles(euiThemeContext)
14
14
  var euiTheme = euiThemeContext.euiTheme;
15
15
  return {
16
16
  // Base
17
- euiImageButton: /*#__PURE__*/css("position:relative;cursor:pointer;text-align:match-parent;line-height:0;&::before{opacity:0;content:'';pointer-events:none;position:absolute;top:0;bottom:0;left:0;right:0;", euiCanAnimate, "{transition:opacity ", euiTheme.animation.fast, " ", euiTheme.animation.resistance, ";}}&:hover,&:focus{&::before{opacity:1;}[class*='euiImageButton__icon']{opacity:1;}}&:focus{", euiFocusRing(euiTheme, 'outset'), ";};label:euiImageButton;"),
17
+ euiImageButton: /*#__PURE__*/css("position:relative;cursor:pointer;text-align:match-parent;line-height:0;&::before{opacity:0;content:'';pointer-events:none;position:absolute;top:0;bottom:0;left:0;right:0;", euiCanAnimate, "{transition:opacity ", euiTheme.animation.fast, " ", euiTheme.animation.resistance, ";}}&:hover,&:focus{&::before{opacity:1;}[class*='euiImageButton__icon']{opacity:1;}}&:focus{", euiFocusRing(euiThemeContext, 'outset'), ";};label:euiImageButton;"),
18
18
  fullWidth: /*#__PURE__*/css(logicalCSS('width', '100%'), ";;label:fullWidth;"),
19
19
  shadowHover: /*#__PURE__*/css("&::before{", euiShadow(euiThemeContext, 's'), ";};label:shadowHover;"),
20
20
  hasShadowHover: /*#__PURE__*/css("&::before{", euiShadow(euiThemeContext, 'm'), ";};label:hasShadowHover;")
@@ -20,8 +20,9 @@ export var euiLinkHoverCSS = function euiLinkHoverCSS() {
20
20
  export var euiLinkFocusCSS = function euiLinkFocusCSS(euiTheme) {
21
21
  return "\n text-decoration: underline;\n text-decoration-thickness: ".concat(euiTheme.border.width.thick, " !important;\n ");
22
22
  };
23
- export var euiLinkCSS = function euiLinkCSS(euiTheme) {
24
- return "\n font-weight: ".concat(euiTheme.font.weight.medium, ";\n text-align: left;\n\n &:hover {\n ").concat(euiLinkHoverCSS(), "\n }\n\n &:focus {\n ").concat(euiFocusRing(euiTheme, 'outset'), "\n ").concat(euiLinkFocusCSS(euiTheme), "\n }\n ");
23
+ export var euiLinkCSS = function euiLinkCSS(euiThemeContext) {
24
+ var euiTheme = euiThemeContext.euiTheme;
25
+ return "\n font-weight: ".concat(euiTheme.font.weight.medium, ";\n text-align: left;\n\n &:hover {\n ").concat(euiLinkHoverCSS(), "\n }\n\n &:focus {\n ").concat(euiFocusRing(euiThemeContext, 'outset'), "\n ").concat(euiLinkFocusCSS(euiTheme), "\n }\n ");
25
26
  };
26
27
 
27
28
  var _ref = process.env.NODE_ENV === "production" ? {
@@ -33,10 +34,10 @@ var _ref = process.env.NODE_ENV === "production" ? {
33
34
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
34
35
  };
35
36
 
36
- export var euiLinkStyles = function euiLinkStyles(_ref2) {
37
- var euiTheme = _ref2.euiTheme;
37
+ export var euiLinkStyles = function euiLinkStyles(euiThemeContext) {
38
+ var euiTheme = euiThemeContext.euiTheme;
38
39
  return {
39
- euiLink: /*#__PURE__*/css(euiLinkCSS(euiTheme), " user-select:text;&[target='_blank']{position:relative;};label:euiLink;"),
40
+ euiLink: /*#__PURE__*/css(euiLinkCSS(euiThemeContext), " user-select:text;&[target='_blank']{position:relative;};label:euiLink;"),
40
41
  disabled: _ref,
41
42
  // Color styles
42
43
  primary: /*#__PURE__*/css(_colorCSS(euiTheme.colors.primaryText), ";label:primary;"),
@@ -242,7 +242,16 @@ EuiNotificationEvent.propTypes = {
242
242
  /**
243
243
  * Object of props passed to the <span/> wrapping the button's content
244
244
  */
245
- contentProps: PropTypes.any,
245
+
246
+ /**
247
+ * Object of props passed to the <span/> wrapping the button's content
248
+ */
249
+ contentProps: PropTypes.shape({
250
+ className: PropTypes.string,
251
+ "aria-label": PropTypes.string,
252
+ "data-test-subj": PropTypes.string,
253
+ css: PropTypes.any
254
+ }),
246
255
 
247
256
  /**
248
257
  * Any `type` accepted by EuiIcon
@@ -26,8 +26,7 @@ var horizontalPositionToClassNameMap = {
26
26
  };
27
27
 
28
28
  /**
29
- * **DEPRECATED**
30
- * Use EuiPageSection instead
29
+ * @deprecated Use EuiPageSection instead
31
30
  */
32
31
  export var EuiPageContent_Deprecated = function EuiPageContent_Deprecated(_ref) {
33
32
  var verticalPosition = _ref.verticalPosition,
@@ -30,8 +30,7 @@ var paddingSizeToClassNameMap = {
30
30
  export var PADDING_SIZES = keysOf(paddingSizeToClassNameMap);
31
31
 
32
32
  /**
33
- * **DEPRECATED**
34
- * Use EuiPageSection instead
33
+ * @deprecated Use EuiPageSection instead
35
34
  */
36
35
  export var EuiPageContentBody_Deprecated = function EuiPageContentBody_Deprecated(_ref) {
37
36
  var children = _ref.children,
@@ -19,8 +19,7 @@ import classNames from 'classnames';
19
19
  import { jsx as ___EmotionJSX } from "@emotion/react";
20
20
 
21
21
  /**
22
- * **DEPRECATED**
23
- * Use EuiPageHeader instead
22
+ * @deprecated Use EuiPageHeader instead
24
23
  */
25
24
  export var EuiPageContentHeader_Deprecated = function EuiPageContentHeader_Deprecated(_ref) {
26
25
  var children = _ref.children,
@@ -19,8 +19,7 @@ import classNames from 'classnames';
19
19
  import { jsx as ___EmotionJSX } from "@emotion/react";
20
20
 
21
21
  /**
22
- * **DEPRECATED**
23
- * Use EuiPageHeader instead
22
+ * @deprecated Use EuiPageHeader instead
24
23
  */
25
24
  export var EuiPageContentHeaderSection_Deprecated = function EuiPageContentHeaderSection_Deprecated(_ref) {
26
25
  var children = _ref.children,
@@ -1,4 +1,4 @@
1
- var _excluded = ["children", "alignment", "restrictWidth", "bottomBorder", "paddingSize", "color", "grow", "contentProps"];
1
+ var _excluded = ["children", "alignment", "restrictWidth", "bottomBorder", "paddingSize", "color", "grow", "contentProps", "component"];
2
2
 
3
3
  function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
 
@@ -34,6 +34,8 @@ export var EuiPageSection = function EuiPageSection(_ref) {
34
34
  _ref$grow = _ref.grow,
35
35
  grow = _ref$grow === void 0 ? false : _ref$grow,
36
36
  contentProps = _ref.contentProps,
37
+ _ref$component = _ref.component,
38
+ Component = _ref$component === void 0 ? 'section' : _ref$component,
37
39
  rest = _objectWithoutProperties(_ref, _excluded);
38
40
 
39
41
  // Set max-width as a style prop
@@ -46,7 +48,7 @@ export var EuiPageSection = function EuiPageSection(_ref) {
46
48
  var cssStyles = [styles.euiPageSection, grow && styles.grow, inlinePadding[paddingSize], bottomBorder === 'extended' && styles.border, alignment && styles[alignment], colors[color]];
47
49
  var contentStyles = euiPageSectionContentStyles();
48
50
  var cssContentStyles = [contentStyles.euiPageSection__content, blockPadding[paddingSize], bottomBorder === true && styles.border, alignment.toLowerCase().includes('center') && contentStyles.center, restrictWidth && contentStyles.restrictWidth];
49
- return ___EmotionJSX("div", _extends({
51
+ return ___EmotionJSX(Component, _extends({
50
52
  css: cssStyles
51
53
  }, rest), ___EmotionJSX("div", _extends({
52
54
  css: cssContentStyles
@@ -99,5 +101,15 @@ EuiPageSection.propTypes = {
99
101
  /**
100
102
  * Passed down to the div wrapper of the section contents
101
103
  */
102
- contentProps: PropTypes.any
104
+ contentProps: PropTypes.shape({
105
+ className: PropTypes.string,
106
+ "aria-label": PropTypes.string,
107
+ "data-test-subj": PropTypes.string,
108
+ css: PropTypes.any
109
+ }),
110
+
111
+ /**
112
+ * Sets which HTML element to render.
113
+ */
114
+ component: PropTypes.oneOfType([PropTypes.any.isRequired, PropTypes.elementType.isRequired])
103
115
  };
@@ -27,8 +27,7 @@ var paddingSizeToClassNameMap = {
27
27
  export var PADDING_SIZES = keysOf(paddingSizeToClassNameMap);
28
28
 
29
29
  /**
30
- * **DEPRECATED**
31
- * Use the new EuiPageSidebar instead
30
+ * @deprecated Use the new EuiPageSidebar in page/page_sidebar instead
32
31
  */
33
32
  export var EuiPageSideBar_Deprecated = function EuiPageSideBar_Deprecated(_ref) {
34
33
  var children = _ref.children,
@@ -64,13 +64,17 @@ export var EuiPageSidebar = function EuiPageSidebar(_ref) {
64
64
  setInlineStyles = _useState2[1];
65
65
 
66
66
  useEffect(function () {
67
+ var updatedStyles = _objectSpread(_objectSpread({}, style), logicalStyle('min-width', isResponding ? '100%' : minWidth));
68
+
67
69
  if (sticky) {
68
70
  var _document$body$datase;
69
71
 
70
72
  var euiHeaderFixedCounter = Number((_document$body$datase = document.body.dataset.fixedHeaders) !== null && _document$body$datase !== void 0 ? _document$body$datase : 0);
71
73
  var offset = _typeof(sticky) === 'object' ? sticky === null || sticky === void 0 ? void 0 : sticky.offset : themeContext.euiTheme.base * 3 * euiHeaderFixedCounter;
72
- setInlineStyles(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, style), logicalStyle('min-width', isResponding ? '100%' : minWidth)), logicalStyle('top', offset)), logicalStyle('max-height', "calc(100vh - ".concat(offset, "px)"))));
74
+ updatedStyles = _objectSpread(_objectSpread(_objectSpread({}, updatedStyles), logicalStyle('top', offset)), logicalStyle('max-height', "calc(100vh - ".concat(offset, "px)")));
73
75
  }
76
+
77
+ setInlineStyles(updatedStyles);
74
78
  }, [style, sticky, themeContext.euiTheme.base, isResponding, minWidth]);
75
79
  return ___EmotionJSX("div", _extends({
76
80
  className: className,
@@ -38,7 +38,9 @@ export var TEMPLATES = ['default', 'centeredBody', 'centeredContent', 'empty'];
38
38
  /**
39
39
  * This component has been deprecated in favor of the new
40
40
  * namespaced version. You can still import this component
41
- * for a period of time by importing `as EuiPageTemplate`.
41
+ * until August 2023 by importing `as EuiPageTemplate`.
42
+ *
43
+ * @deprecated use EuiPageTemplate from page_template/page_template instead
42
44
  */
43
45
  export var EuiPageTemplate_Deprecated = function EuiPageTemplate_Deprecated(_ref) {
44
46
  var _pageBodyProps2;
@@ -103,6 +103,16 @@ _EuiPageEmptyPrompt.propTypes = {
103
103
  /**
104
104
  * Passed down to the div wrapper of the section contents
105
105
  */
106
- contentProps: PropTypes.any,
106
+ contentProps: PropTypes.shape({
107
+ className: PropTypes.string,
108
+ "aria-label": PropTypes.string,
109
+ "data-test-subj": PropTypes.string,
110
+ css: PropTypes.any
111
+ }),
112
+
113
+ /**
114
+ * Sets which HTML element to render.
115
+ */
116
+ component: PropTypes.oneOfType([PropTypes.any.isRequired, PropTypes.elementType.isRequired]),
107
117
  panelled: PropTypes.bool
108
118
  };
@@ -299,7 +299,17 @@ _EuiPageSection.propTypes = {
299
299
  /**
300
300
  * Passed down to the div wrapper of the section contents
301
301
  */
302
- contentProps: PropTypes.any
302
+ contentProps: PropTypes.shape({
303
+ className: PropTypes.string,
304
+ "aria-label": PropTypes.string,
305
+ "data-test-subj": PropTypes.string,
306
+ css: PropTypes.any
307
+ }),
308
+
309
+ /**
310
+ * Sets which HTML element to render.
311
+ */
312
+ component: PropTypes.oneOfType([PropTypes.any.isRequired, PropTypes.elementType.isRequired])
303
313
  };
304
314
 
305
315
  var _EuiPageHeader = function _EuiPageHeader(props) {
@@ -348,7 +358,13 @@ _EuiPageEmptyPrompt.propTypes = {
348
358
  paddingSize: PropTypes.any,
349
359
  alignment: PropTypes.any,
350
360
  grow: PropTypes.bool,
351
- contentProps: PropTypes.any,
361
+ contentProps: PropTypes.shape({
362
+ className: PropTypes.string,
363
+ "aria-label": PropTypes.string,
364
+ "data-test-subj": PropTypes.string,
365
+ css: PropTypes.any
366
+ }),
367
+ component: PropTypes.oneOfType([PropTypes.any.isRequired, PropTypes.elementType.isRequired]),
352
368
  panelled: PropTypes.bool
353
369
  };
354
370
 
@@ -131,7 +131,16 @@ EuiPaginationButton.propTypes = {
131
131
  /**
132
132
  * Object of props passed to the <span/> wrapping the button's content
133
133
  */
134
- contentProps: PropTypes.any,
134
+
135
+ /**
136
+ * Object of props passed to the <span/> wrapping the button's content
137
+ */
138
+ contentProps: PropTypes.shape({
139
+ className: PropTypes.string,
140
+ "aria-label": PropTypes.string,
141
+ "data-test-subj": PropTypes.string,
142
+ css: PropTypes.any
143
+ }),
135
144
 
136
145
  /**
137
146
  * Any `type` accepted by EuiIcon
@@ -140,5 +140,10 @@ EuiProgress.propTypes = {
140
140
  /**
141
141
  * Object of props passed to the <span/> wrapping the determinate progress's label
142
142
  */
143
- labelProps: PropTypes.any
143
+ labelProps: PropTypes.shape({
144
+ className: PropTypes.string,
145
+ "aria-label": PropTypes.string,
146
+ "data-test-subj": PropTypes.string,
147
+ css: PropTypes.any
148
+ })
144
149
  };
@@ -6,18 +6,12 @@
6
6
  * Side Public License, v 1.
7
7
  */
8
8
  import React from 'react';
9
- import createCache from '@emotion/cache';
10
9
  import { CacheProvider } from '@emotion/react';
11
10
  import { jsx as ___EmotionJSX } from "@emotion/react";
12
- var defaultCache = createCache({
13
- key: 'css'
14
- });
15
- defaultCache.compat = true;
16
11
  export var EuiCacheProvider = function EuiCacheProvider(_ref) {
17
- var _ref$cache = _ref.cache,
18
- cache = _ref$cache === void 0 ? defaultCache : _ref$cache,
12
+ var cache = _ref.cache,
19
13
  children = _ref.children;
20
- return ___EmotionJSX(CacheProvider, {
14
+ return children && cache ? ___EmotionJSX(CacheProvider, {
21
15
  value: cache
22
- }, children);
16
+ }, children) : ___EmotionJSX(React.Fragment, null, children);
23
17
  };
@@ -6,6 +6,7 @@
6
6
  * Side Public License, v 1.
7
7
  */
8
8
  import React from 'react';
9
+ import createCache from '@emotion/cache';
9
10
  import { EuiGlobalStyles } from '../../global_styling/reset/global_styles';
10
11
  import { EuiUtilityClasses } from '../../global_styling/utility/utility';
11
12
  import { EuiThemeProvider, CurrentEuiBreakpointProvider } from '../../services';
@@ -17,8 +18,15 @@ var isEmotionCacheObject = function isEmotionCacheObject(obj) {
17
18
  return obj.hasOwnProperty('key');
18
19
  };
19
20
 
21
+ var fallbackCache = createCache({
22
+ key: 'css'
23
+ });
24
+ fallbackCache.compat = true;
20
25
  export var EuiProvider = function EuiProvider(_ref) {
21
- var cache = _ref.cache,
26
+ var _defaultCache;
27
+
28
+ var _ref$cache = _ref.cache,
29
+ cache = _ref$cache === void 0 ? fallbackCache : _ref$cache,
22
30
  _ref$theme = _ref.theme,
23
31
  theme = _ref$theme === void 0 ? EuiThemeAmsterdam : _ref$theme,
24
32
  _ref$globalStyles = _ref.globalStyles,
@@ -34,16 +42,31 @@ export var EuiProvider = function EuiProvider(_ref) {
34
42
 
35
43
  if (cache) {
36
44
  if (isEmotionCacheObject(cache)) {
45
+ cache.compat = true;
37
46
  defaultCache = cache;
38
47
  } else {
48
+ if (cache.default) {
49
+ cache.default.compat = true;
50
+ }
51
+
39
52
  defaultCache = cache.default;
53
+
54
+ if (cache.global) {
55
+ cache.global.compat = true;
56
+ }
57
+
40
58
  globalCache = cache.global;
59
+
60
+ if (cache.utility) {
61
+ cache.utility.compat = true;
62
+ }
63
+
41
64
  utilityCache = cache.utility;
42
65
  }
43
66
  }
44
67
 
45
68
  return ___EmotionJSX(EuiCacheProvider, {
46
- cache: defaultCache
69
+ cache: (_defaultCache = defaultCache) !== null && _defaultCache !== void 0 ? _defaultCache : fallbackCache
47
70
  }, ___EmotionJSX(EuiThemeProvider, {
48
71
  theme: theme !== null && theme !== void 0 ? theme : undefined,
49
72
  colorMode: colorMode,
@@ -331,7 +331,12 @@ EuiResizablePanel.propTypes = {
331
331
  /**
332
332
  * Props to add to the wrapping `.euiResizablePanel` div
333
333
  */
334
- wrapperProps: PropTypes.any,
334
+ wrapperProps: PropTypes.shape({
335
+ className: PropTypes.string,
336
+ "aria-label": PropTypes.string,
337
+ "data-test-subj": PropTypes.string,
338
+ css: PropTypes.any
339
+ }),
335
340
 
336
341
  /**
337
342
  * Padding to add directly to the wrapping `.euiResizablePanel` div
@@ -255,6 +255,11 @@ EuiSideNav.propTypes = {
255
255
  * Adds a couple extra #EuiSideNavHeading props and extends the props of EuiTitle that wraps the `heading`
256
256
  */
257
257
  headingProps: PropTypes.shape({
258
+ className: PropTypes.string,
259
+ "aria-label": PropTypes.string,
260
+ "data-test-subj": PropTypes.string,
261
+ css: PropTypes.any,
262
+
258
263
  /**
259
264
  * The actual HTML heading element to wrap the `heading`.
260
265
  * Default is `h2`
@@ -58,7 +58,7 @@ var euiScaleText = function euiScaleText(euiThemeContext, options) {
58
58
  export var euiTextStyles = function euiTextStyles(euiThemeContext) {
59
59
  var euiTheme = euiThemeContext.euiTheme;
60
60
  return {
61
- euiText: /*#__PURE__*/css(euiText(euiTheme, true), ";clear:both;a:not([class]){", euiLinkCSS(euiTheme), ";}img{display:block;", logicalCSS('max-width', '100%'), ";}ul{list-style:disc;}ol{list-style:decimal;}blockquote:not(.euiMarkdownFormat__blockquote){position:relative;", logicalTextAlignCSS('center'), " ", logicalCSS('margin-horizontal', 'auto'), " font-family:", euiTheme.font.familySerif, ";font-style:italic;letter-spacing:normal;p:last-child{", logicalCSS('margin-bottom', '0'), ";}&:before,&:after{position:absolute;content:'';", logicalCSS('height', euiTheme.border.width.thick), " ", logicalCSS('width', '50%'), " ", logicalCSS('left', '25%'), " ", logicalCSS('right', '25%'), " background:", euiTheme.colors.darkShade, ";}&:before{", logicalCSS('top', '0'), ";}&:after{", logicalCSS('bottom', '0'), ";}}h1{", euiTitle(euiThemeContext, 'l'), ";}h2{", euiTitle(euiThemeContext, 'm'), ";}h3{", euiTitle(euiThemeContext, 's'), ";}h4,dt{", euiTitle(euiThemeContext, 'xs'), ";}h5{", euiTitle(euiThemeContext, 'xxs'), ";}h6{", euiTitle(euiThemeContext, 'xxxs'), " text-transform:uppercase;}h1,h2,h3,h4,h5,h6,dt{color:inherit;}pre:not(.euiCodeBlock__pre){white-space:pre-wrap;background:", euiBackgroundColor(euiThemeContext, 'subdued'), ";color:", euiTheme.colors.text, ";}pre:not(.euiCodeBlock__pre),pre:not(.euiCodeBlock__pre) code{display:block;}>:last-child{", logicalCSS('margin-bottom', '0 !important'), ";}kbd{position:relative;display:inline-block;", logicalCSS('padding-vertical', euiTheme.size.xxs), " ", logicalCSS('padding-horizontal', euiTheme.size.xs), " line-height:1;border:", euiTheme.border.width.thin, " solid ", euiTheme.colors.text, ";border-radius:calc(", euiTheme.border.radius.small, " / 2);};label:euiText;"),
61
+ euiText: /*#__PURE__*/css(euiText(euiTheme, true), ";clear:both;a:not([class]){", euiLinkCSS(euiThemeContext), ";}img{display:block;", logicalCSS('max-width', '100%'), ";}ul{list-style:disc;}ol{list-style:decimal;}blockquote:not(.euiMarkdownFormat__blockquote){position:relative;", logicalTextAlignCSS('center'), " ", logicalCSS('margin-horizontal', 'auto'), " font-family:", euiTheme.font.familySerif, ";font-style:italic;letter-spacing:normal;p:last-child{", logicalCSS('margin-bottom', '0'), ";}&:before,&:after{position:absolute;content:'';", logicalCSS('height', euiTheme.border.width.thick), " ", logicalCSS('width', '50%'), " ", logicalCSS('left', '25%'), " ", logicalCSS('right', '25%'), " background:", euiTheme.colors.darkShade, ";}&:before{", logicalCSS('top', '0'), ";}&:after{", logicalCSS('bottom', '0'), ";}}h1{", euiTitle(euiThemeContext, 'l'), ";}h2{", euiTitle(euiThemeContext, 'm'), ";}h3{", euiTitle(euiThemeContext, 's'), ";}h4,dt{", euiTitle(euiThemeContext, 'xs'), ";}h5{", euiTitle(euiThemeContext, 'xxs'), ";}h6{", euiTitle(euiThemeContext, 'xxxs'), " text-transform:uppercase;}h1,h2,h3,h4,h5,h6,dt{color:inherit;}pre:not(.euiCodeBlock__pre){white-space:pre-wrap;background:", euiBackgroundColor(euiThemeContext, 'subdued'), ";color:", euiTheme.colors.text, ";}pre:not(.euiCodeBlock__pre),pre:not(.euiCodeBlock__pre) code{display:block;}>:last-child{", logicalCSS('margin-bottom', '0 !important'), ";}kbd{position:relative;display:inline-block;", logicalCSS('padding-vertical', euiTheme.size.xxs), " ", logicalCSS('padding-horizontal', euiTheme.size.xs), " line-height:1;border:", euiTheme.border.width.thin, " solid ", euiTheme.colors.text, ";border-radius:calc(", euiTheme.border.radius.small, " / 2);};label:euiText;"),
62
62
  constrainedWidth: /*#__PURE__*/css(logicalCSS('max-width', euiTextConstrainedMaxWidth), ";;label:constrainedWidth;"),
63
63
  // Sizes
64
64
  m: /*#__PURE__*/css(euiScaleText(euiThemeContext, {