@elastic/eui 108.0.0 → 109.0.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 (59) hide show
  1. package/es/components/basic_table/collapsed_item_actions.js +3 -1
  2. package/es/components/basic_table/default_item_action.js +7 -4
  3. package/es/components/button/button_group/button_group_button.js +2 -3
  4. package/es/components/datagrid/body/header/column_actions.js +5 -21
  5. package/es/components/datagrid/body/header/data_grid_header_cell.js +6 -4
  6. package/es/components/datagrid/body/header/data_grid_header_cell.styles.js +8 -2
  7. package/es/components/datagrid/body/header/data_grid_header_cell_wrapper.js +5 -2
  8. package/es/components/form/file_picker/file_picker.styles.js +3 -3
  9. package/es/components/icon/assets/paper_clip.js +1 -1
  10. package/es/components/icon/assets/streams_wired.js +3 -2
  11. package/es/services/theme/high_contrast_overrides.js +5 -1
  12. package/eui.d.ts +16 -3
  13. package/lib/components/basic_table/collapsed_item_actions.js +3 -1
  14. package/lib/components/basic_table/default_item_action.js +7 -4
  15. package/lib/components/button/button_group/button_group_button.js +2 -3
  16. package/lib/components/datagrid/body/header/column_actions.js +5 -21
  17. package/lib/components/datagrid/body/header/data_grid_header_cell.js +6 -4
  18. package/lib/components/datagrid/body/header/data_grid_header_cell.styles.js +8 -1
  19. package/lib/components/datagrid/body/header/data_grid_header_cell_wrapper.js +5 -2
  20. package/lib/components/form/file_picker/file_picker.styles.js +3 -3
  21. package/lib/components/icon/assets/paper_clip.js +1 -1
  22. package/lib/components/icon/assets/streams_wired.js +3 -2
  23. package/lib/components/icon/svgs/paper_clip.svg +3 -3
  24. package/lib/services/theme/high_contrast_overrides.js +5 -1
  25. package/optimize/es/components/basic_table/collapsed_item_actions.js +3 -1
  26. package/optimize/es/components/basic_table/default_item_action.js +7 -4
  27. package/optimize/es/components/button/button_group/button_group_button.js +1 -2
  28. package/optimize/es/components/datagrid/body/header/column_actions.js +5 -21
  29. package/optimize/es/components/datagrid/body/header/data_grid_header_cell.js +6 -4
  30. package/optimize/es/components/datagrid/body/header/data_grid_header_cell.styles.js +8 -2
  31. package/optimize/es/components/datagrid/body/header/data_grid_header_cell_wrapper.js +4 -2
  32. package/optimize/es/components/form/file_picker/file_picker.styles.js +3 -3
  33. package/optimize/es/components/icon/assets/paper_clip.js +1 -1
  34. package/optimize/es/components/icon/assets/streams_wired.js +3 -2
  35. package/optimize/es/services/theme/high_contrast_overrides.js +5 -1
  36. package/optimize/lib/components/basic_table/collapsed_item_actions.js +3 -1
  37. package/optimize/lib/components/basic_table/default_item_action.js +7 -4
  38. package/optimize/lib/components/button/button_group/button_group_button.js +1 -2
  39. package/optimize/lib/components/datagrid/body/header/column_actions.js +5 -21
  40. package/optimize/lib/components/datagrid/body/header/data_grid_header_cell.js +6 -4
  41. package/optimize/lib/components/datagrid/body/header/data_grid_header_cell.styles.js +8 -1
  42. package/optimize/lib/components/datagrid/body/header/data_grid_header_cell_wrapper.js +4 -2
  43. package/optimize/lib/components/form/file_picker/file_picker.styles.js +3 -3
  44. package/optimize/lib/components/icon/assets/paper_clip.js +1 -1
  45. package/optimize/lib/components/icon/assets/streams_wired.js +3 -2
  46. package/optimize/lib/components/icon/svgs/paper_clip.svg +3 -3
  47. package/optimize/lib/services/theme/high_contrast_overrides.js +5 -1
  48. package/package.json +4 -4
  49. package/test-env/components/basic_table/collapsed_item_actions.js +3 -1
  50. package/test-env/components/basic_table/default_item_action.js +7 -4
  51. package/test-env/components/button/button_group/button_group_button.js +2 -3
  52. package/test-env/components/datagrid/body/header/column_actions.js +5 -21
  53. package/test-env/components/datagrid/body/header/data_grid_header_cell.js +6 -4
  54. package/test-env/components/datagrid/body/header/data_grid_header_cell.styles.js +8 -1
  55. package/test-env/components/datagrid/body/header/data_grid_header_cell_wrapper.js +5 -2
  56. package/test-env/components/form/file_picker/file_picker.styles.js +3 -3
  57. package/test-env/components/icon/assets/paper_clip.js +1 -1
  58. package/test-env/components/icon/assets/streams_wired.js +3 -2
  59. package/test-env/services/theme/high_contrast_overrides.js +5 -1
@@ -37,19 +37,23 @@ var useHighContrastModifications = exports.useHighContrastModifications = functi
37
37
  borderBasePrimary: systemTheme.colors.textPrimary,
38
38
  borderBaseAccent: systemTheme.colors.textAccent,
39
39
  borderBaseAccentSecondary: systemTheme.colors.textAccentSecondary,
40
+ borderBaseNeutral: systemTheme.colors.textNeutral,
40
41
  borderBaseSuccess: systemTheme.colors.textSuccess,
41
42
  borderBaseWarning: systemTheme.colors.textWarning,
43
+ borderBaseRisk: systemTheme.colors.textRisk,
42
44
  borderBaseDanger: systemTheme.colors.textDanger,
43
45
  borderBasePlain: borderColor,
44
46
  borderBaseSubdued: borderColor,
47
+ borderBaseProminent: borderColor,
45
48
  borderBaseDisabled: systemTheme.colors.textDisabled,
46
49
  borderBaseFloating: borderColor,
47
- borderBaseFormsControl: borderColor,
48
50
  borderStrongPrimary: systemTheme.colors.textPrimary,
49
51
  borderStrongAccent: systemTheme.colors.textAccent,
50
52
  borderStrongAccentSecondary: systemTheme.colors.textAccentSecondary,
53
+ borderStrongNeutral: systemTheme.colors.textNeutral,
51
54
  borderStrongSuccess: systemTheme.colors.textSuccess,
52
55
  borderStrongWarning: systemTheme.colors.textWarning,
56
+ borderStrongRisk: systemTheme.colors.textRisk,
53
57
  borderStrongDanger: systemTheme.colors.textDanger
54
58
  };
55
59
  return {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@elastic/eui",
3
3
  "description": "Elastic UI Component Library",
4
- "version": "108.0.0",
4
+ "version": "109.0.0",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "lib",
7
7
  "module": "es",
@@ -52,7 +52,7 @@
52
52
  "directory": "packages/eui"
53
53
  },
54
54
  "dependencies": {
55
- "@elastic/eui-theme-common": "6.0.0",
55
+ "@elastic/eui-theme-common": "7.0.0",
56
56
  "@elastic/prismjs-esql": "^1.1.2",
57
57
  "@hello-pangea/dnd": "^16.6.0",
58
58
  "@types/lodash": "^4.14.202",
@@ -106,7 +106,7 @@
106
106
  "@cypress/webpack-dev-server": "^1.7.0",
107
107
  "@elastic/charts": "^64.1.0",
108
108
  "@elastic/datemath": "^5.0.3",
109
- "@elastic/eui-theme-borealis": "4.0.0",
109
+ "@elastic/eui-theme-borealis": "5.0.0",
110
110
  "@emotion/babel-preset-css-prop": "^11.11.0",
111
111
  "@emotion/cache": "^11.11.0",
112
112
  "@emotion/css": "^11.11.0",
@@ -256,7 +256,7 @@
256
256
  },
257
257
  "peerDependencies": {
258
258
  "@elastic/datemath": "^5.0.2",
259
- "@elastic/eui-theme-borealis": "4.0.0",
259
+ "@elastic/eui-theme-borealis": "5.0.0",
260
260
  "@emotion/css": "11.x",
261
261
  "@emotion/react": "11.x",
262
262
  "@types/react": "^17.0 || ^18.0",
@@ -87,7 +87,9 @@ var CollapsedItemActions = exports.CollapsedItemActions = function CollapsedItem
87
87
  },
88
88
  toolTipContent: toolTipContent,
89
89
  toolTipProps: {
90
- delay: 'long'
90
+ delay: 'long',
91
+ // Avoid screen-readers announcing the same text twice
92
+ disableScreenReaderOutput: typeof buttonContent === 'string' && buttonContent === toolTipContent
91
93
  }
92
94
  }, buttonContent));
93
95
  }
@@ -39,6 +39,12 @@ var DefaultItemAction = exports.DefaultItemAction = function DefaultItemAction(_
39
39
  var icon = action.icon ? (0, _action_types.callWithItemIfFunction)(item)(action.icon) : undefined;
40
40
  var actionContent = (0, _action_types.callWithItemIfFunction)(item)(action.name);
41
41
  var tooltipContent = (0, _action_types.callWithItemIfFunction)(item)(action.description);
42
+ var tooltipProps = {
43
+ content: tooltipContent,
44
+ delay: 'long',
45
+ // Avoid screen-readers announcing the same text twice
46
+ disableScreenReaderOutput: typeof actionContent === 'string' && actionContent === tooltipContent
47
+ };
42
48
  var href = (0, _action_types.callWithItemIfFunction)(item)(action.href);
43
49
  var dataTestSubj = (0, _action_types.callWithItemIfFunction)(item)(action['data-test-subj']);
44
50
  var ariaLabelId = (0, _accessibility.useGeneratedHtmlId)();
@@ -82,8 +88,5 @@ var DefaultItemAction = exports.DefaultItemAction = function DefaultItemAction(_
82
88
  flush: "right"
83
89
  }, actionContent);
84
90
  }
85
- return enabled ? (0, _react2.jsx)(_react.default.Fragment, null, (0, _react2.jsx)(_tool_tip.EuiToolTip, {
86
- content: tooltipContent,
87
- delay: "long"
88
- }, button), ariaLabelledBy) : (0, _react2.jsx)(_react.default.Fragment, null, button, ariaLabelledBy);
91
+ return enabled ? (0, _react2.jsx)(_react.default.Fragment, null, (0, _react2.jsx)(_tool_tip.EuiToolTip, tooltipProps, button), ariaLabelledBy) : (0, _react2.jsx)(_react.default.Fragment, null, button, ariaLabelledBy);
89
92
  };
@@ -34,8 +34,7 @@ var EuiButtonGroupButton = exports.EuiButtonGroupButton = function EuiButtonGrou
34
34
  id = _ref.id,
35
35
  isDisabled = _ref.isDisabled,
36
36
  isIconOnly = _ref.isIconOnly,
37
- _ref$isSelected = _ref.isSelected,
38
- isSelected = _ref$isSelected === void 0 ? false : _ref$isSelected,
37
+ isSelected = _ref.isSelected,
39
38
  label = _ref.label,
40
39
  value = _ref.value,
41
40
  size = _ref.size,
@@ -204,5 +203,5 @@ var EuiButtonGroupButtonWithToolTip = function EuiButtonGroupButtonWithToolTip(_
204
203
  EuiButtonGroupButtonWithToolTip.propTypes = {
205
204
  children: _propTypes.default.element.isRequired,
206
205
  wrapperCss: _propTypes.default.any.isRequired,
207
- isSelected: _propTypes.default.bool.isRequired
206
+ isSelected: _propTypes.default.bool
208
207
  };
@@ -80,16 +80,6 @@ var ColumnActions = exports.ColumnActions = /*#__PURE__*/(0, _react.memo)(functi
80
80
  var closePopover = (0, _react.useCallback)(function () {
81
81
  setIsPopoverOpen(false);
82
82
  }, []);
83
- var _useState3 = (0, _react.useState)(false),
84
- _useState4 = (0, _slicedToArray2.default)(_useState3, 2),
85
- isActionsButtonFocused = _useState4[0],
86
- setIsActionsButtonFocused = _useState4[1];
87
- var onFocus = (0, _react.useCallback)(function () {
88
- return setIsActionsButtonFocused(true);
89
- }, []);
90
- var onBlur = (0, _react.useCallback)(function () {
91
- return setIsActionsButtonFocused(false);
92
- }, []);
93
83
  var actionsButtonAriaLabel = (0, _i18n.useEuiI18n)('euiDataGridHeaderCell.actionsButtonAriaLabel', '{title}. Click to view column header actions.', {
94
84
  title: title
95
85
  });
@@ -104,10 +94,10 @@ var ColumnActions = exports.ColumnActions = /*#__PURE__*/(0, _react.memo)(functi
104
94
  /**
105
95
  * Props to set on parent EuiDataGridHeaderCell
106
96
  */
107
- var _useState5 = (0, _react.useState)(false),
108
- _useState6 = (0, _slicedToArray2.default)(_useState5, 2),
109
- isColumnMoving = _useState6[0],
110
- setIsColumnMoving = _useState6[1];
97
+ var _useState3 = (0, _react.useState)(false),
98
+ _useState4 = (0, _slicedToArray2.default)(_useState3, 2),
99
+ isColumnMoving = _useState4[0],
100
+ setIsColumnMoving = _useState4[1];
111
101
  (0, _react.useEffect)(function () {
112
102
  setPropsFromColumnActions({
113
103
  className: isPopoverOpen ? 'euiDataGridHeaderCell--isActionsPopoverOpen' : '',
@@ -153,17 +143,11 @@ var ColumnActions = exports.ColumnActions = /*#__PURE__*/(0, _react.memo)(functi
153
143
  iconType: "boxesVertical",
154
144
  iconSize: "s",
155
145
  color: "text",
156
- css: styles.euiDataGridHeaderCell__actions,
157
146
  className: "euiDataGridHeaderCell__button",
158
147
  onClick: togglePopover,
159
148
  buttonRef: actionsButtonRef,
160
- onFocus: onFocus,
161
- onBlur: onBlur,
162
- tabIndex: 0 // Override EuiButtonIcon's conditional tabindex based on aria-hidden
163
- ,
164
- "aria-hidden": hasFocusTrap && !isActionsButtonFocused ? 'true' // prevent the actions button from being read on cell focus
165
- : undefined,
166
149
  "aria-label": hasFocusTrap ? actionsButtonAriaLabel : actionsEnterKeyInstructions,
150
+ css: [styles.euiDataGridHeaderCell__actions.action, styles.euiDataGridHeaderCell__actions.end, ";label:ColumnActions;"],
167
151
  "data-test-subj": "dataGridHeaderCellActionButton-".concat(id)
168
152
  }),
169
153
  isOpen: isPopoverOpen,
@@ -56,6 +56,7 @@ var EuiDataGridHeaderCell = exports.EuiDataGridHeaderCell = /*#__PURE__*/(0, _re
56
56
  var width = columnWidths[id] || defaultColumnWidth;
57
57
  var columnType = schema[id] ? schema[id].columnType : null;
58
58
  var hasColumnActions = (0, _column_actions.useHasColumnActions)(actions);
59
+ var cellContentId = "dataGridHeaderCellContent-".concat(id);
59
60
  var classes = (0, _classnames2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, "euiDataGridHeaderCell--".concat(columnType), columnType), 'euiDataGridHeaderCell--hasColumnActions', hasColumnActions), displayHeaderCellProps === null || displayHeaderCellProps === void 0 ? void 0 : displayHeaderCellProps.className);
60
61
  var styles = (0, _services.useEuiMemoizedStyles)(_data_grid_header_cell.euiDataGridHeaderCellStyles);
61
62
  var contentStyles = [styles.euiDataGridHeaderCell__content, (columnType === 'numeric' || columnType === 'currency') && styles.right];
@@ -99,8 +100,7 @@ var EuiDataGridHeaderCell = exports.EuiDataGridHeaderCell = /*#__PURE__*/(0, _re
99
100
  isLastColumn: isLastColumn,
100
101
  width: width,
101
102
  "aria-sort": ariaSort,
102
- "aria-label": displayAsText && "".concat(displayAsText, ", ") // ensure cell text content is read first, if available
103
- ,
103
+ "aria-labelledby": cellContentId,
104
104
  "aria-describedby": (0, _classnames2.default)(sortingAriaId, dragProps === null || dragProps === void 0 ? void 0 : dragProps['aria-describedby']),
105
105
  "data-column-moving": propsFromColumnActions['data-column-moving'] || (dragProps === null || dragProps === void 0 ? void 0 : dragProps['data-column-moving']) || undefined
106
106
  }), function (hasFocusTrap) {
@@ -109,11 +109,13 @@ var EuiDataGridHeaderCell = exports.EuiDataGridHeaderCell = /*#__PURE__*/(0, _re
109
109
  }, (0, _react2.jsx)(_icon.EuiIcon, {
110
110
  type: "grabOmnidirectional",
111
111
  size: "s",
112
- css: styles.euiDataGridHeaderCell__actions
112
+ css: [styles.euiDataGridHeaderCell__actions.action, styles.euiDataGridHeaderCell__actions.start, ";label:EuiDataGridHeaderCell;"]
113
113
  })), (0, _react2.jsx)("div", {
114
114
  css: contentStyles,
115
115
  className: "euiDataGridHeaderCell__content",
116
- title: title
116
+ title: title,
117
+ id: cellContentId,
118
+ "aria-label": displayAsText ? displayAsText : typeof children === 'string' ? children : undefined
117
119
  }, children), sortingArrow, sortingScreenReaderText, hasColumnActions && (0, _react2.jsx)(_column_actions.ColumnActions, {
118
120
  index: index,
119
121
  id: id,
@@ -22,11 +22,18 @@ var euiDataGridHeaderCellStyles = exports.euiDataGridHeaderCellStyles = function
22
22
  var euiTheme = euiThemeContext.euiTheme;
23
23
  var _euiDataGridCellOutli = (0, _data_grid_cell.euiDataGridCellOutlineSelectors)('.euiDataGridHeaderCell'),
24
24
  header = _euiDataGridCellOutli.header;
25
+ var hideAnimation = function hideAnimation(margin, translateX) {
26
+ return "\n ".concat(header.hideActions, " & {\n ").concat((0, _global_styling.logicalCSS)('margin-left', margin), "\n transform: translateX(").concat(translateX, ") scale(0.01);\n opacity: 0;\n }\n ");
27
+ };
25
28
  return {
26
29
  euiDataGridHeaderCell__content: /*#__PURE__*/(0, _react.css)("flex-grow:1;", (0, _global_styling.euiTextTruncate)(), ";;label:euiDataGridHeaderCell__content;"),
27
30
  // Numeric and currency schemas are aligned to the right
28
31
  right: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalTextAlignCSS)('right'), ";;label:right;"),
29
32
  euiDataGridHeaderCell__popover: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('margin-left', 'auto'), "line-height:0;;label:euiDataGridHeaderCell__popover;"),
30
- euiDataGridHeaderCell__actions: /*#__PURE__*/(0, _react.css)("overflow:hidden;display:flex;", header.hideActions, " &{", (0, _global_styling.logicalCSS)('width', 0), " opacity:0;}", _global_styling.euiCanAnimate, "{transition:inline-size ", euiTheme.animation.fast, " ease-in,opacity ", euiTheme.animation.slow, " ease-in;transform:none!important;animation:none!important;};label:euiDataGridHeaderCell__actions;")
33
+ euiDataGridHeaderCell__actions: {
34
+ action: /*#__PURE__*/(0, _react.css)("overflow:hidden;display:flex;max-inline-size:24px;", _global_styling.euiCanAnimate, "{transition:transform ", euiTheme.animation.fast, " ease-in,opacity ", euiTheme.animation.slow, " ease-in,margin-left ", euiTheme.animation.fast, " ease-in;animation:none!important;};label:action;"),
35
+ start: /*#__PURE__*/(0, _react.css)(hideAnimation("-".concat(euiTheme.size.m), '0%'), ";;label:start;"),
36
+ end: /*#__PURE__*/(0, _react.css)(hideAnimation("-".concat(euiTheme.size.l), '50%'), ";;label:end;")
37
+ }
31
38
  };
32
39
  };
@@ -17,7 +17,7 @@ var _focus = require("../../utils/focus");
17
17
  var _focus_utils = require("../cell/focus_utils");
18
18
  var _data_grid_header_cell_wrapper = require("./data_grid_header_cell_wrapper.styles");
19
19
  var _react2 = require("@emotion/react");
20
- var _excluded = ["id", "index", "isLastColumn", "width", "className", "children", "hasColumnActions", "isDragging", "onKeyDown", "aria-label"];
20
+ var _excluded = ["id", "index", "isLastColumn", "width", "className", "children", "hasColumnActions", "isDragging", "onKeyDown", "aria-label", "aria-labelledby"];
21
21
  /*
22
22
  * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
23
23
  * or more contributor license agreements. Licensed under the Elastic License
@@ -43,6 +43,7 @@ var EuiDataGridHeaderCellWrapper = exports.EuiDataGridHeaderCellWrapper = functi
43
43
  isDragging = _ref.isDragging,
44
44
  _onKeyDown = _ref.onKeyDown,
45
45
  ariaLabel = _ref['aria-label'],
46
+ ariaLabelledby = _ref['aria-labelledby'],
46
47
  rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
47
48
  var classes = (0, _classnames.default)('euiDataGridHeaderCell', className);
48
49
  var styles = (0, _services.useEuiMemoizedStyles)(_data_grid_header_cell_wrapper.euiDataGridHeaderCellWrapperStyles);
@@ -108,7 +109,8 @@ var EuiDataGridHeaderCellWrapper = exports.EuiDataGridHeaderCellWrapper = functi
108
109
  style: width != null ? {
109
110
  width: "".concat(width, "px")
110
111
  } : {},
111
- "aria-label": renderFocusTrap ? ariaLabel : undefined
112
+ "aria-label": renderFocusTrap ? ariaLabel : undefined,
113
+ "aria-labelledby": renderFocusTrap ? ariaLabelledby : undefined
112
114
  }, rest), (0, _react2.jsx)(_focus_utils.HandleInteractiveChildren, {
113
115
  cellEl: isDragging ? null : headerEl,
114
116
  renderFocusTrap: isDragging ? false : renderFocusTrap,
@@ -124,6 +126,7 @@ EuiDataGridHeaderCellWrapper.propTypes = {
124
126
  width: _propTypes.default.oneOfType([_propTypes.default.number.isRequired, _propTypes.default.oneOf([null])]),
125
127
  className: _propTypes.default.string,
126
128
  "aria-label": _propTypes.default.any,
129
+ "aria-labelledby": _propTypes.default.any,
127
130
  hasColumnActions: _propTypes.default.bool,
128
131
  isDragging: _propTypes.default.bool,
129
132
  onKeyDown: _propTypes.default.any
@@ -47,7 +47,7 @@ var euiFilePickerStyles = exports.euiFilePickerStyles = function euiFilePickerSt
47
47
  fontSize = _euiFontSize.fontSize,
48
48
  lineHeight = _euiFontSize.lineHeight;
49
49
  return {
50
- euiFilePicker: /*#__PURE__*/(0, _react.css)("--euiFormControlLeftIconsCount:1;position:relative;border-radius:", formVariables.controlBorderRadius, ";&:has(input:focus){--euiFormControlStateColor:", formVariables.borderFocused, ";}&:hover{--euiFormControlStateColor:", highContrastMode ? euiTheme.border.color : formVariables.borderHovered, ";--euiFormControlStateStyle:solid;}&:focus-within{", (0, _global_styling.highContrastModeStyles)(euiThemeContext, {
50
+ euiFilePicker: /*#__PURE__*/(0, _react.css)("--euiFormControlLeftIconsCount:1;position:relative;border-radius:", formVariables.controlBorderRadius, ";&:has(input:focus){--euiFormControlStateColor:", formVariables.borderFocused, ";}&:hover{--euiFormControlStateColor:", highContrastMode ? euiTheme.border.color : euiTheme.colors.borderInteractiveFormsHoverProminent, ";--euiFormControlStateStyle:", highContrastMode ? 'solid' : 'dashed', ";}&:focus-within{", (0, _global_styling.highContrastModeStyles)(euiThemeContext, {
51
51
  forced: "\n ".concat((0, _form.euiFormControlShowBackgroundLine)(euiThemeContext, formVariables.borderFocused), "\n ")
52
52
  }), ";};label:euiFilePicker;"),
53
53
  isDroppingFile: /*#__PURE__*/(0, _react.css)("--euiFormControlStateColor:", euiTheme.colors.borderStrongSuccess, ";--euiFormControlStateStyle:", highContrastMode === 'forced' ? 'solid' : 'dashed', ";background-color:", euiTheme.components.forms.backgroundDropping, ";;label:isDroppingFile;"),
@@ -66,8 +66,8 @@ var euiFilePickerStyles = exports.euiFilePickerStyles = function euiFilePickerSt
66
66
  forced: "\n text-decoration: underline;\n "
67
67
  }), ";}.euiFilePicker__icon{transform:scale(1.05);}}};label:largeInteractive;")
68
68
  },
69
- euiFilePicker__prompt: /*#__PURE__*/(0, _react.css)("pointer-events:none;font-size:", fontSize, ";line-height:1;", (0, _global_styling.euiTextTruncate)(), " color:", euiTheme.colors.textParagraph, ";border:", euiTheme.border.width.thin, " var(--euiFormControlStateStyle, dashed) var(--euiFormControlStateColor, ", formVariables.borderColor, ");", _global_styling.euiCanAnimate, "{transition:border-color ", euiTheme.animation.fast, " ease-in,background-color ", euiTheme.animation.fast, " ease-in;};label:euiFilePicker__prompt;"),
70
- disabled: /*#__PURE__*/(0, _react.css)(formStyles.disabled, ";label:disabled;"),
69
+ euiFilePicker__prompt: /*#__PURE__*/(0, _react.css)("pointer-events:none;font-size:", fontSize, ";line-height:1;", (0, _global_styling.euiTextTruncate)(), " color:", euiTheme.colors.textParagraph, ";border:", euiTheme.border.width.thin, " var(--euiFormControlStateStyle, dashed) var(--euiFormControlStateColor, ", euiTheme.colors.borderBaseProminent, ");", _global_styling.euiCanAnimate, "{transition:border-color ", euiTheme.animation.fast, " ease-in,background-color ", euiTheme.animation.fast, " ease-in;};label:euiFilePicker__prompt;"),
70
+ disabled: /*#__PURE__*/(0, _react.css)(formStyles.disabled, "--euiFormControlStateColor:transparent;;label:disabled;"),
71
71
  // Skip the css() on the default height to avoid generating a className
72
72
  uncompressed: formStyles.uncompressed,
73
73
  compressed: /*#__PURE__*/(0, _react.css)(formStyles.compressed, ";label:compressed;"),
@@ -34,7 +34,7 @@ var EuiIconPaperClip = function EuiIconPaperClip(_ref) {
34
34
  }, props), title ? (0, _react2.jsx)("title", {
35
35
  id: titleId
36
36
  }, title) : null, (0, _react2.jsx)("path", {
37
- d: "M9.84 2.019 3.046 8.57c-.987.952-1.133 2.517-.199 3.516.951 1.021 2.58 1.106 3.64.19.034-.03.068-.061.1-.092l5.655-5.452a.484.484 0 0 0 0-.703.53.53 0 0 0-.729 0L5.92 11.421c-.572.551-1.505.657-2.131.163a1.455 1.455 0 0 1-.118-2.211l6.899-6.651a2.646 2.646 0 0 1 3.644 0 2.422 2.422 0 0 1 0 3.513L7.3 12.901c-1.333 1.285-3.497 1.493-4.95.336-1.54-1.22-1.764-3.411-.5-4.897a3.33 3.33 0 0 1 .238-.252l5.78-5.572a.484.484 0 0 0 0-.703.53.53 0 0 0-.73 0l-5.78 5.572a4.36 4.36 0 0 0 0 6.324c2.188 2.109 5.202 1.31 6.66-.095l6.925-6.676a3.39 3.39 0 0 0 0-4.92C13.534.66 11.25.66 9.841 2.019z"
37
+ d: "M7 11c0 .423.105.648.229.771.123.124.348.229.771.229.423 0 .648-.105.771-.229.124-.123.229-.348.229-.771V5h1v6c0 .577-.145 1.102-.521 1.479C9.102 12.854 8.577 13 8 13c-.577 0-1.102-.145-1.479-.521C6.145 12.101 6 11.577 6 11V4c0-.719.215-1.468.716-2.046C7.226 1.364 7.996 1 9 1c1.005 0 1.773.365 2.284.954.5.578.716 1.327.716 2.046v7c0 1.103-.345 2.11-1.043 2.845C10.255 14.583 9.242 15 8 15c-1.242 0-2.255-.417-2.957-1.155C4.345 13.11 4 12.103 4 11V4h1v7c0 .897.279 1.64.768 2.155C6.253 13.666 6.99 14 8 14c1.01 0 1.747-.334 2.232-.845.49-.515.768-1.258.768-2.155V4c0-.531-.16-1.032-.472-1.392C10.227 2.26 9.745 2 9 2s-1.227.26-1.528.608C7.16 2.968 7 3.47 7 4v7Z"
38
38
  }));
39
39
  };
40
40
  var icon = exports.icon = EuiIconPaperClip;
@@ -29,17 +29,18 @@ var EuiIconStreamsWired = function EuiIconStreamsWired(_ref) {
29
29
  xmlns: "http://www.w3.org/2000/svg",
30
30
  width: 16,
31
31
  height: 16,
32
+ fill: "none",
32
33
  viewBox: "0 0 16 16",
33
34
  "aria-labelledby": titleId
34
35
  }, props), title ? (0, _react2.jsx)("title", {
35
36
  id: titleId
36
37
  }, title) : null, (0, _react2.jsx)("path", {
37
38
  fillRule: "evenodd",
38
- d: "M13.5 1a1.5 1.5 0 1 1-1.413 2H11.5A1.5 1.5 0 0 0 10 4.5v1c0 .564-.19 1.082-.504 1.5H9.5l-.048.06a2.58 2.58 0 0 1-.352.36c-.01.01-.021.017-.032.025a2.501 2.501 0 0 1-.142.108l-.043.03c-.055.036-.11.07-.168.103l-.047.024c-.057.03-.115.06-.175.085-.018.008-.036.014-.055.021A2.475 2.475 0 0 1 7.5 8h-.504c.315.418.504.936.504 1.5v1A1.5 1.5 0 0 0 9 12h3.087a1.5 1.5 0 1 1 0 1H9a2.5 2.5 0 0 1-2.5-2.5v-1A1.5 1.5 0 0 0 5 8H3.913a1.5 1.5 0 1 1 0-1H7.5A1.5 1.5 0 0 0 9 5.5v-1A2.5 2.5 0 0 1 11.5 2h.587A1.5 1.5 0 0 1 13.5 1Zm0 11a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1Zm-11-5a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1Zm11-5a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1Z",
39
+ d: "M13.5 1a1.5 1.5 0 1 1-1.413 2H11.5A1.5 1.5 0 0 0 10 4.5V6a2.49 2.49 0 0 1-.504 1.5H9.5l-.048.06a2.58 2.58 0 0 1-.352.36c-.01.01-.021.017-.032.025a2.496 2.496 0 0 1-.142.108l-.043.03c-.055.036-.11.07-.168.103l-.047.024c-.057.03-.115.06-.175.085-.018.008-.036.014-.055.021A2.475 2.475 0 0 1 7.5 8.5h-.504c.315.418.504.936.504 1.5v1.5A1.5 1.5 0 0 0 9 13h3.087a1.5 1.5 0 1 1 0 1H9a2.5 2.5 0 0 1-2.5-2.5V10A1.5 1.5 0 0 0 5 8.5H3.913a1.5 1.5 0 1 1 0-1H7.5A1.5 1.5 0 0 0 9 6V4.5A2.5 2.5 0 0 1 11.5 2h.587A1.5 1.5 0 0 1 13.5 1Zm0 12a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1Zm-11-5.5a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1Zm11-5.5a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1Z",
39
40
  clipRule: "evenodd"
40
41
  }), (0, _react2.jsx)("path", {
41
42
  fillRule: "evenodd",
42
- d: "M13.5 6a1.5 1.5 0 1 1-1.413 2H9.948c.293-.287.536-.625.714-1h1.425A1.5 1.5 0 0 1 13.5 6Zm0 1a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1Z",
43
+ d: "M13.5 6.5a1.5 1.5 0 1 1-1.413 2H9.948c.293-.287.536-.625.714-1h1.425a1.5 1.5 0 0 1 1.413-1Zm0 1a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1Z",
43
44
  clipRule: "evenodd"
44
45
  }));
45
46
  };
@@ -37,19 +37,23 @@ var useHighContrastModifications = exports.useHighContrastModifications = functi
37
37
  borderBasePrimary: systemTheme.colors.textPrimary,
38
38
  borderBaseAccent: systemTheme.colors.textAccent,
39
39
  borderBaseAccentSecondary: systemTheme.colors.textAccentSecondary,
40
+ borderBaseNeutral: systemTheme.colors.textNeutral,
40
41
  borderBaseSuccess: systemTheme.colors.textSuccess,
41
42
  borderBaseWarning: systemTheme.colors.textWarning,
43
+ borderBaseRisk: systemTheme.colors.textRisk,
42
44
  borderBaseDanger: systemTheme.colors.textDanger,
43
45
  borderBasePlain: borderColor,
44
46
  borderBaseSubdued: borderColor,
47
+ borderBaseProminent: borderColor,
45
48
  borderBaseDisabled: systemTheme.colors.textDisabled,
46
49
  borderBaseFloating: borderColor,
47
- borderBaseFormsControl: borderColor,
48
50
  borderStrongPrimary: systemTheme.colors.textPrimary,
49
51
  borderStrongAccent: systemTheme.colors.textAccent,
50
52
  borderStrongAccentSecondary: systemTheme.colors.textAccentSecondary,
53
+ borderStrongNeutral: systemTheme.colors.textNeutral,
51
54
  borderStrongSuccess: systemTheme.colors.textSuccess,
52
55
  borderStrongWarning: systemTheme.colors.textWarning,
56
+ borderStrongRisk: systemTheme.colors.textRisk,
53
57
  borderStrongDanger: systemTheme.colors.textDanger
54
58
  };
55
59
  return {