@elastic/eui 121.0.0 → 122.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.
- package/dist/eui-icons.json +37 -37
- package/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +8 -2
- package/es/components/datagrid/body/cell/data_grid_cell.js +8 -5
- package/es/components/datagrid/body/cell/data_grid_cell.styles.js +1 -1
- package/es/components/datagrid/body/cell/data_grid_cell_wrapper.js +4 -2
- package/es/components/datagrid/body/footer/data_grid_footer_row.js +4 -0
- package/es/components/datagrid/body/header/column_resizer.js +74 -87
- package/es/components/datagrid/body/header/data_grid_control_header_cell.js +2 -1
- package/es/components/datagrid/body/header/data_grid_header_cell.js +1 -0
- package/es/components/datagrid/body/header/data_grid_header_cell_wrapper.js +9 -3
- package/es/components/datagrid/body/header/data_grid_header_cell_wrapper.styles.js +1 -1
- package/es/components/datagrid/controls/keyboard_shortcuts.js +17 -1
- package/es/components/datagrid/data_grid.js +2 -0
- package/es/components/datagrid/utils/copy_focused_cell.js +34 -0
- package/es/components/filter_group/filter_group.a11y.js +1 -1
- package/es/components/form/super_select/super_select.js +247 -351
- package/es/components/list_item_layout/_list_item_layout.js +12 -0
- package/es/components/selectable/selectable_list/selectable_list_item.js +9 -7
- package/eui.d.ts +69 -95
- package/i18ntokens.json +608 -554
- package/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +8 -2
- package/lib/components/datagrid/body/cell/data_grid_cell.js +8 -5
- package/lib/components/datagrid/body/cell/data_grid_cell.styles.js +1 -1
- package/lib/components/datagrid/body/cell/data_grid_cell_wrapper.js +4 -2
- package/lib/components/datagrid/body/footer/data_grid_footer_row.js +4 -0
- package/lib/components/datagrid/body/header/column_resizer.js +73 -85
- package/lib/components/datagrid/body/header/data_grid_control_header_cell.js +2 -1
- package/lib/components/datagrid/body/header/data_grid_header_cell.js +1 -0
- package/lib/components/datagrid/body/header/data_grid_header_cell_wrapper.js +9 -3
- package/lib/components/datagrid/body/header/data_grid_header_cell_wrapper.styles.js +1 -1
- package/lib/components/datagrid/controls/keyboard_shortcuts.js +17 -1
- package/lib/components/datagrid/data_grid.js +2 -0
- package/lib/components/datagrid/utils/copy_focused_cell.js +39 -0
- package/lib/components/filter_group/filter_group.a11y.js +1 -1
- package/lib/components/form/super_select/super_select.js +253 -355
- package/lib/components/list_item_layout/_list_item_layout.js +12 -0
- package/lib/components/selectable/selectable_list/selectable_list_item.js +9 -7
- package/optimize/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +8 -2
- package/optimize/es/components/datagrid/body/cell/data_grid_cell.js +5 -4
- package/optimize/es/components/datagrid/body/cell/data_grid_cell.styles.js +1 -1
- package/optimize/es/components/datagrid/body/cell/data_grid_cell_wrapper.js +4 -2
- package/optimize/es/components/datagrid/body/footer/data_grid_footer_row.js +4 -0
- package/optimize/es/components/datagrid/body/header/column_resizer.js +69 -81
- package/optimize/es/components/datagrid/body/header/data_grid_control_header_cell.js +2 -1
- package/optimize/es/components/datagrid/body/header/data_grid_header_cell.js +1 -0
- package/optimize/es/components/datagrid/body/header/data_grid_header_cell_wrapper.js +7 -3
- package/optimize/es/components/datagrid/body/header/data_grid_header_cell_wrapper.styles.js +1 -1
- package/optimize/es/components/datagrid/controls/keyboard_shortcuts.js +17 -1
- package/optimize/es/components/datagrid/data_grid.js +2 -0
- package/optimize/es/components/datagrid/utils/copy_focused_cell.js +34 -0
- package/optimize/es/components/filter_group/filter_group.a11y.js +1 -1
- package/optimize/es/components/form/super_select/super_select.js +242 -265
- package/optimize/es/components/selectable/selectable_list/selectable_list_item.js +9 -7
- package/optimize/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +8 -2
- package/optimize/lib/components/datagrid/body/cell/data_grid_cell.js +5 -4
- package/optimize/lib/components/datagrid/body/cell/data_grid_cell.styles.js +1 -1
- package/optimize/lib/components/datagrid/body/cell/data_grid_cell_wrapper.js +4 -2
- package/optimize/lib/components/datagrid/body/footer/data_grid_footer_row.js +4 -0
- package/optimize/lib/components/datagrid/body/header/column_resizer.js +69 -79
- package/optimize/lib/components/datagrid/body/header/data_grid_control_header_cell.js +2 -1
- package/optimize/lib/components/datagrid/body/header/data_grid_header_cell.js +1 -0
- package/optimize/lib/components/datagrid/body/header/data_grid_header_cell_wrapper.js +7 -3
- package/optimize/lib/components/datagrid/body/header/data_grid_header_cell_wrapper.styles.js +1 -1
- package/optimize/lib/components/datagrid/controls/keyboard_shortcuts.js +17 -1
- package/optimize/lib/components/datagrid/data_grid.js +2 -0
- package/optimize/lib/components/datagrid/utils/copy_focused_cell.js +39 -0
- package/optimize/lib/components/filter_group/filter_group.a11y.js +1 -1
- package/optimize/lib/components/form/super_select/super_select.js +243 -265
- package/optimize/lib/components/selectable/selectable_list/selectable_list_item.js +9 -7
- package/package.json +2 -2
- package/test-env/components/combo_box/combo_box_options_list/combo_box_options_list.js +8 -2
- package/test-env/components/datagrid/body/cell/data_grid_cell.js +8 -5
- package/test-env/components/datagrid/body/cell/data_grid_cell.styles.js +1 -1
- package/test-env/components/datagrid/body/cell/data_grid_cell_wrapper.js +4 -2
- package/test-env/components/datagrid/body/footer/data_grid_footer_row.js +4 -0
- package/test-env/components/datagrid/body/header/column_resizer.js +69 -79
- package/test-env/components/datagrid/body/header/data_grid_control_header_cell.js +2 -1
- package/test-env/components/datagrid/body/header/data_grid_header_cell.js +1 -0
- package/test-env/components/datagrid/body/header/data_grid_header_cell_wrapper.js +9 -3
- package/test-env/components/datagrid/body/header/data_grid_header_cell_wrapper.styles.js +1 -1
- package/test-env/components/datagrid/controls/keyboard_shortcuts.js +17 -1
- package/test-env/components/datagrid/data_grid.js +2 -0
- package/test-env/components/datagrid/utils/copy_focused_cell.js +16 -0
- package/test-env/components/filter_group/filter_group.a11y.js +1 -1
- package/test-env/components/form/super_select/super_select.js +243 -345
- package/test-env/components/list_item_layout/_list_item_layout.js +12 -0
- package/test-env/components/selectable/selectable_list/selectable_list_item.js +9 -7
|
@@ -428,6 +428,18 @@ EuiListItemLayout.propTypes = {
|
|
|
428
428
|
"data-test-subj": PropTypes.string,
|
|
429
429
|
css: PropTypes.any
|
|
430
430
|
}),
|
|
431
|
+
/**
|
|
432
|
+
* Props applied to the label text element.
|
|
433
|
+
*/
|
|
434
|
+
/**
|
|
435
|
+
* Props applied to the label text element.
|
|
436
|
+
*/
|
|
437
|
+
/**
|
|
438
|
+
* Props applied to the label text element.
|
|
439
|
+
*/
|
|
440
|
+
/**
|
|
441
|
+
* Props applied to the label text element.
|
|
442
|
+
*/
|
|
431
443
|
textProps: PropTypes.shape({
|
|
432
444
|
className: PropTypes.string,
|
|
433
445
|
"aria-label": PropTypes.string,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
var _excluded = ["children", "className", "disabled", "checked", "isFocused", "showIcons", "prepend", "append", "allowExclusions", "singleSelection", "onFocusBadge", "role", "searchable", "toolTipContent", "toolTipProps"],
|
|
2
|
+
var _excluded = ["children", "className", "disabled", "checked", "isFocused", "showIcons", "prepend", "append", "allowExclusions", "singleSelection", "onFocusBadge", "role", "searchable", "toolTipContent", "toolTipProps", "title"],
|
|
3
3
|
_excluded2 = ["children", "className"];
|
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -45,6 +45,7 @@ export var EuiSelectableListItem = function EuiSelectableListItem(_ref) {
|
|
|
45
45
|
searchable = _ref.searchable,
|
|
46
46
|
toolTipContent = _ref.toolTipContent,
|
|
47
47
|
toolTipProps = _ref.toolTipProps,
|
|
48
|
+
title = _ref.title,
|
|
48
49
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
49
50
|
var classes = classNames('euiSelectableListItem', {
|
|
50
51
|
'euiSelectableListItem-isFocused': isFocused
|
|
@@ -74,10 +75,6 @@ export var EuiSelectableListItem = function EuiSelectableListItem(_ref) {
|
|
|
74
75
|
var instructions;
|
|
75
76
|
var screenReaderStrings = {
|
|
76
77
|
checked: {
|
|
77
|
-
state: ___EmotionJSX(EuiI18n, {
|
|
78
|
-
token: "euiSelectableListItem.checkedOption",
|
|
79
|
-
default: "Checked option."
|
|
80
|
-
}),
|
|
81
78
|
instructions: ___EmotionJSX(EuiI18n, {
|
|
82
79
|
token: "euiSelectableListItem.checkOptionInstructions",
|
|
83
80
|
default: "To check this option, press Enter."
|
|
@@ -120,7 +117,8 @@ export var EuiSelectableListItem = function EuiSelectableListItem(_ref) {
|
|
|
120
117
|
};
|
|
121
118
|
switch (checked) {
|
|
122
119
|
case 'on':
|
|
123
|
-
state
|
|
120
|
+
// the checked state is already announced natively via `aria-checked`/
|
|
121
|
+
// `aria-selected`; additional state text would duplicate the announcement
|
|
124
122
|
instructions = allowExclusions ? screenReaderStrings.excluded.instructions : searchable ? screenReaderStrings.unchecked.instructions : undefined;
|
|
125
123
|
break;
|
|
126
124
|
case 'off':
|
|
@@ -163,7 +161,11 @@ export var EuiSelectableListItem = function EuiSelectableListItem(_ref) {
|
|
|
163
161
|
className: 'euiSelectableListItem__content'
|
|
164
162
|
},
|
|
165
163
|
textProps: {
|
|
166
|
-
className: 'euiSelectableListItem__text'
|
|
164
|
+
className: 'euiSelectableListItem__text',
|
|
165
|
+
// `title` must not be set on the option element itself - it would become
|
|
166
|
+
// the option's accessible description, causing screen readers to
|
|
167
|
+
// announce the option name twice
|
|
168
|
+
title: title
|
|
167
169
|
},
|
|
168
170
|
tooltipProps: hasToolTip ? _objectSpread({
|
|
169
171
|
content: toolTipContent,
|
package/eui.d.ts
CHANGED
|
@@ -14622,7 +14622,7 @@ declare module '@elastic/eui/src/components/list_item_layout/_list_item_layout'
|
|
|
14622
14622
|
/**
|
|
14623
14623
|
* Props applied to the label text element.
|
|
14624
14624
|
*/
|
|
14625
|
-
textProps?: CommonProps
|
|
14625
|
+
textProps?: CommonProps & HTMLAttributes<HTMLElement>;
|
|
14626
14626
|
prependProps?: CommonProps;
|
|
14627
14627
|
appendProps?: CommonProps;
|
|
14628
14628
|
tooltipProps?: Omit<EuiToolTipProps, 'children'>;
|
|
@@ -14747,7 +14747,7 @@ declare module '@elastic/eui/src/components/list_item_layout/_list_item_layout'
|
|
|
14747
14747
|
/**
|
|
14748
14748
|
* Props applied to the label text element.
|
|
14749
14749
|
*/
|
|
14750
|
-
textProps?: CommonProps
|
|
14750
|
+
textProps?: CommonProps & HTMLAttributes<HTMLElement>;
|
|
14751
14751
|
prependProps?: CommonProps;
|
|
14752
14752
|
appendProps?: CommonProps;
|
|
14753
14753
|
tooltipProps?: Omit<EuiToolTipProps, "children">;
|
|
@@ -14844,7 +14844,7 @@ declare module '@elastic/eui/src/components/list_item_layout/_list_item_layout'
|
|
|
14844
14844
|
/**
|
|
14845
14845
|
* Props applied to the label text element.
|
|
14846
14846
|
*/
|
|
14847
|
-
textProps?: CommonProps
|
|
14847
|
+
textProps?: CommonProps & HTMLAttributes<HTMLElement>;
|
|
14848
14848
|
prependProps?: CommonProps;
|
|
14849
14849
|
appendProps?: CommonProps;
|
|
14850
14850
|
tooltipProps?: Omit<EuiToolTipProps, "children">;
|
|
@@ -14941,7 +14941,7 @@ declare module '@elastic/eui/src/components/list_item_layout/_list_item_layout'
|
|
|
14941
14941
|
/**
|
|
14942
14942
|
* Props applied to the label text element.
|
|
14943
14943
|
*/
|
|
14944
|
-
textProps?: CommonProps
|
|
14944
|
+
textProps?: CommonProps & HTMLAttributes<HTMLElement>;
|
|
14945
14945
|
prependProps?: CommonProps;
|
|
14946
14946
|
appendProps?: CommonProps;
|
|
14947
14947
|
tooltipProps?: Omit<EuiToolTipProps, "children">;
|
|
@@ -15043,7 +15043,7 @@ declare module '@elastic/eui/src/components/list_item_layout/_list_item_layout'
|
|
|
15043
15043
|
/**
|
|
15044
15044
|
* Props applied to the label text element.
|
|
15045
15045
|
*/
|
|
15046
|
-
textProps?: CommonProps
|
|
15046
|
+
textProps?: CommonProps & HTMLAttributes<HTMLElement>;
|
|
15047
15047
|
prependProps?: CommonProps;
|
|
15048
15048
|
appendProps?: CommonProps;
|
|
15049
15049
|
tooltipProps?: Omit<EuiToolTipProps, "children">;
|
|
@@ -15140,7 +15140,7 @@ declare module '@elastic/eui/src/components/list_item_layout/_list_item_layout'
|
|
|
15140
15140
|
/**
|
|
15141
15141
|
* Props applied to the label text element.
|
|
15142
15142
|
*/
|
|
15143
|
-
textProps?: CommonProps
|
|
15143
|
+
textProps?: CommonProps & HTMLAttributes<HTMLElement>;
|
|
15144
15144
|
prependProps?: CommonProps;
|
|
15145
15145
|
appendProps?: CommonProps;
|
|
15146
15146
|
tooltipProps?: Omit<EuiToolTipProps, "children">;
|
|
@@ -15242,7 +15242,7 @@ declare module '@elastic/eui/src/components/list_item_layout/_list_item_layout'
|
|
|
15242
15242
|
/**
|
|
15243
15243
|
* Props applied to the label text element.
|
|
15244
15244
|
*/
|
|
15245
|
-
textProps?: CommonProps
|
|
15245
|
+
textProps?: CommonProps & HTMLAttributes<HTMLElement>;
|
|
15246
15246
|
prependProps?: CommonProps;
|
|
15247
15247
|
appendProps?: CommonProps;
|
|
15248
15248
|
tooltipProps?: Omit<EuiToolTipProps, "children">;
|
|
@@ -15339,7 +15339,7 @@ declare module '@elastic/eui/src/components/list_item_layout/_list_item_layout'
|
|
|
15339
15339
|
/**
|
|
15340
15340
|
* Props applied to the label text element.
|
|
15341
15341
|
*/
|
|
15342
|
-
textProps?: CommonProps
|
|
15342
|
+
textProps?: CommonProps & HTMLAttributes<HTMLElement>;
|
|
15343
15343
|
prependProps?: CommonProps;
|
|
15344
15344
|
appendProps?: CommonProps;
|
|
15345
15345
|
tooltipProps?: Omit<EuiToolTipProps, "children">;
|
|
@@ -15441,7 +15441,7 @@ declare module '@elastic/eui/src/components/list_item_layout/_list_item_layout'
|
|
|
15441
15441
|
/**
|
|
15442
15442
|
* Props applied to the label text element.
|
|
15443
15443
|
*/
|
|
15444
|
-
textProps?: CommonProps
|
|
15444
|
+
textProps?: CommonProps & HTMLAttributes<HTMLElement>;
|
|
15445
15445
|
prependProps?: CommonProps;
|
|
15446
15446
|
appendProps?: CommonProps;
|
|
15447
15447
|
tooltipProps?: Omit<EuiToolTipProps, "children">;
|
|
@@ -15538,7 +15538,7 @@ declare module '@elastic/eui/src/components/list_item_layout/_list_item_layout'
|
|
|
15538
15538
|
/**
|
|
15539
15539
|
* Props applied to the label text element.
|
|
15540
15540
|
*/
|
|
15541
|
-
textProps?: CommonProps
|
|
15541
|
+
textProps?: CommonProps & HTMLAttributes<HTMLElement>;
|
|
15542
15542
|
prependProps?: CommonProps;
|
|
15543
15543
|
appendProps?: CommonProps;
|
|
15544
15544
|
tooltipProps?: Omit<EuiToolTipProps, "children">;
|
|
@@ -15635,7 +15635,7 @@ declare module '@elastic/eui/src/components/list_item_layout/_list_item_layout'
|
|
|
15635
15635
|
/**
|
|
15636
15636
|
* Props applied to the label text element.
|
|
15637
15637
|
*/
|
|
15638
|
-
textProps?: CommonProps
|
|
15638
|
+
textProps?: CommonProps & HTMLAttributes<HTMLElement>;
|
|
15639
15639
|
prependProps?: CommonProps;
|
|
15640
15640
|
appendProps?: CommonProps;
|
|
15641
15641
|
tooltipProps?: Omit<EuiToolTipProps, "children">;
|
|
@@ -15737,7 +15737,7 @@ declare module '@elastic/eui/src/components/list_item_layout/_list_item_layout'
|
|
|
15737
15737
|
/**
|
|
15738
15738
|
* Props applied to the label text element.
|
|
15739
15739
|
*/
|
|
15740
|
-
textProps?: CommonProps
|
|
15740
|
+
textProps?: CommonProps & HTMLAttributes<HTMLElement>;
|
|
15741
15741
|
prependProps?: CommonProps;
|
|
15742
15742
|
appendProps?: CommonProps;
|
|
15743
15743
|
tooltipProps?: Omit<EuiToolTipProps, "children">;
|
|
@@ -15834,7 +15834,7 @@ declare module '@elastic/eui/src/components/list_item_layout/_list_item_layout'
|
|
|
15834
15834
|
/**
|
|
15835
15835
|
* Props applied to the label text element.
|
|
15836
15836
|
*/
|
|
15837
|
-
textProps?: CommonProps
|
|
15837
|
+
textProps?: CommonProps & HTMLAttributes<HTMLElement>;
|
|
15838
15838
|
prependProps?: CommonProps;
|
|
15839
15839
|
appendProps?: CommonProps;
|
|
15840
15840
|
tooltipProps?: Omit<EuiToolTipProps, "children">;
|
|
@@ -15936,7 +15936,7 @@ declare module '@elastic/eui/src/components/list_item_layout/_list_item_layout'
|
|
|
15936
15936
|
/**
|
|
15937
15937
|
* Props applied to the label text element.
|
|
15938
15938
|
*/
|
|
15939
|
-
textProps?: CommonProps
|
|
15939
|
+
textProps?: CommonProps & HTMLAttributes<HTMLElement>;
|
|
15940
15940
|
prependProps?: CommonProps;
|
|
15941
15941
|
appendProps?: CommonProps;
|
|
15942
15942
|
tooltipProps?: Omit<EuiToolTipProps, "children">;
|
|
@@ -16033,7 +16033,7 @@ declare module '@elastic/eui/src/components/list_item_layout/_list_item_layout'
|
|
|
16033
16033
|
/**
|
|
16034
16034
|
* Props applied to the label text element.
|
|
16035
16035
|
*/
|
|
16036
|
-
textProps?: CommonProps
|
|
16036
|
+
textProps?: CommonProps & HTMLAttributes<HTMLElement>;
|
|
16037
16037
|
prependProps?: CommonProps;
|
|
16038
16038
|
appendProps?: CommonProps;
|
|
16039
16039
|
tooltipProps?: Omit<EuiToolTipProps, "children">;
|
|
@@ -16135,7 +16135,7 @@ declare module '@elastic/eui/src/components/list_item_layout/_list_item_layout'
|
|
|
16135
16135
|
/**
|
|
16136
16136
|
* Props applied to the label text element.
|
|
16137
16137
|
*/
|
|
16138
|
-
textProps?: CommonProps
|
|
16138
|
+
textProps?: CommonProps & HTMLAttributes<HTMLElement>;
|
|
16139
16139
|
prependProps?: CommonProps;
|
|
16140
16140
|
appendProps?: CommonProps;
|
|
16141
16141
|
tooltipProps?: Omit<EuiToolTipProps, "children">;
|
|
@@ -16232,7 +16232,7 @@ declare module '@elastic/eui/src/components/list_item_layout/_list_item_layout'
|
|
|
16232
16232
|
/**
|
|
16233
16233
|
* Props applied to the label text element.
|
|
16234
16234
|
*/
|
|
16235
|
-
textProps?: CommonProps
|
|
16235
|
+
textProps?: CommonProps & HTMLAttributes<HTMLElement>;
|
|
16236
16236
|
prependProps?: CommonProps;
|
|
16237
16237
|
appendProps?: CommonProps;
|
|
16238
16238
|
tooltipProps?: Omit<EuiToolTipProps, "children">;
|
|
@@ -16329,7 +16329,7 @@ declare module '@elastic/eui/src/components/list_item_layout/_list_item_layout'
|
|
|
16329
16329
|
/**
|
|
16330
16330
|
* Props applied to the label text element.
|
|
16331
16331
|
*/
|
|
16332
|
-
textProps?: CommonProps
|
|
16332
|
+
textProps?: CommonProps & HTMLAttributes<HTMLElement>;
|
|
16333
16333
|
prependProps?: CommonProps;
|
|
16334
16334
|
appendProps?: CommonProps;
|
|
16335
16335
|
tooltipProps?: Omit<EuiToolTipProps, "children">;
|
|
@@ -16431,7 +16431,7 @@ declare module '@elastic/eui/src/components/list_item_layout/_list_item_layout'
|
|
|
16431
16431
|
/**
|
|
16432
16432
|
* Props applied to the label text element.
|
|
16433
16433
|
*/
|
|
16434
|
-
textProps?: CommonProps
|
|
16434
|
+
textProps?: CommonProps & HTMLAttributes<HTMLElement>;
|
|
16435
16435
|
prependProps?: CommonProps;
|
|
16436
16436
|
appendProps?: CommonProps;
|
|
16437
16437
|
tooltipProps?: Omit<EuiToolTipProps, "children">;
|
|
@@ -16528,7 +16528,7 @@ declare module '@elastic/eui/src/components/list_item_layout/_list_item_layout'
|
|
|
16528
16528
|
/**
|
|
16529
16529
|
* Props applied to the label text element.
|
|
16530
16530
|
*/
|
|
16531
|
-
textProps?: CommonProps
|
|
16531
|
+
textProps?: CommonProps & HTMLAttributes<HTMLElement>;
|
|
16532
16532
|
prependProps?: CommonProps;
|
|
16533
16533
|
appendProps?: CommonProps;
|
|
16534
16534
|
tooltipProps?: Omit<EuiToolTipProps, "children">;
|
|
@@ -16630,7 +16630,7 @@ declare module '@elastic/eui/src/components/list_item_layout/_list_item_layout'
|
|
|
16630
16630
|
/**
|
|
16631
16631
|
* Props applied to the label text element.
|
|
16632
16632
|
*/
|
|
16633
|
-
textProps?: CommonProps
|
|
16633
|
+
textProps?: CommonProps & HTMLAttributes<HTMLElement>;
|
|
16634
16634
|
prependProps?: CommonProps;
|
|
16635
16635
|
appendProps?: CommonProps;
|
|
16636
16636
|
tooltipProps?: Omit<EuiToolTipProps, "children">;
|
|
@@ -16727,7 +16727,7 @@ declare module '@elastic/eui/src/components/list_item_layout/_list_item_layout'
|
|
|
16727
16727
|
/**
|
|
16728
16728
|
* Props applied to the label text element.
|
|
16729
16729
|
*/
|
|
16730
|
-
textProps?: CommonProps
|
|
16730
|
+
textProps?: CommonProps & HTMLAttributes<HTMLElement>;
|
|
16731
16731
|
prependProps?: CommonProps;
|
|
16732
16732
|
appendProps?: CommonProps;
|
|
16733
16733
|
tooltipProps?: Omit<EuiToolTipProps, "children">;
|
|
@@ -16824,7 +16824,7 @@ declare module '@elastic/eui/src/components/list_item_layout/_list_item_layout'
|
|
|
16824
16824
|
/**
|
|
16825
16825
|
* Props applied to the label text element.
|
|
16826
16826
|
*/
|
|
16827
|
-
textProps?: CommonProps
|
|
16827
|
+
textProps?: CommonProps & HTMLAttributes<HTMLElement>;
|
|
16828
16828
|
prependProps?: CommonProps;
|
|
16829
16829
|
appendProps?: CommonProps;
|
|
16830
16830
|
tooltipProps?: Omit<EuiToolTipProps, "children">;
|
|
@@ -21077,13 +21077,14 @@ declare module '@elastic/eui/src/components/form/super_select/super_select_contr
|
|
|
21077
21077
|
|
|
21078
21078
|
}
|
|
21079
21079
|
declare module '@elastic/eui/src/components/form/super_select/super_select' {
|
|
21080
|
-
import
|
|
21080
|
+
import { FocusEvent, ReactElement, ReactNode, Ref } from 'react';
|
|
21081
21081
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
21082
21082
|
import { type EuiInputPopoverProps } from '@elastic/eui/src/components/popover';
|
|
21083
21083
|
import { type EuiSuperSelectControlProps } from '@elastic/eui/src/components/form/super_select/super_select_control';
|
|
21084
|
-
import { type EuiSuperSelectOption } from '@elastic/eui/src/components/form/super_select/super_select_item';
|
|
21085
|
-
|
|
21086
|
-
|
|
21084
|
+
import { type EuiSuperSelectOption } from '@elastic/eui/src/components/form/super_select/super_select_item';
|
|
21085
|
+
export interface EuiSuperSelectRef {
|
|
21086
|
+
openPopover: () => void;
|
|
21087
|
+
closePopover: () => void;
|
|
21087
21088
|
}
|
|
21088
21089
|
export type EuiSuperSelectProps<T = string> = CommonProps & Omit<EuiSuperSelectControlProps<T>, 'onChange' | 'onClick' | 'onFocus' | 'onBlur' | 'options' | 'value'> & {
|
|
21089
21090
|
/**
|
|
@@ -21123,38 +21124,15 @@ declare module '@elastic/eui/src/components/form/super_select/super_select' {
|
|
|
21123
21124
|
*/
|
|
21124
21125
|
popoverProps?: Partial<CommonProps & Omit<EuiInputPopoverProps, 'isOpen'>>;
|
|
21125
21126
|
};
|
|
21126
|
-
export
|
|
21127
|
-
|
|
21128
|
-
|
|
21129
|
-
|
|
21130
|
-
|
|
21131
|
-
isLoading: boolean;
|
|
21132
|
-
};
|
|
21133
|
-
private itemNodes;
|
|
21134
|
-
private _isMounted;
|
|
21135
|
-
private controlButtonRef;
|
|
21136
|
-
describedById: string;
|
|
21137
|
-
state: {
|
|
21138
|
-
isPopoverOpen: boolean;
|
|
21139
|
-
currentIndex: number;
|
|
21140
|
-
};
|
|
21141
|
-
componentDidMount(): void;
|
|
21142
|
-
componentWillUnmount(): void;
|
|
21143
|
-
setItemNode: (node: HTMLButtonElement | null, index: number) => void;
|
|
21144
|
-
openPopover: () => void;
|
|
21145
|
-
closePopover: () => void;
|
|
21146
|
-
itemClicked: (value: T) => void;
|
|
21147
|
-
onSelectKeyDown: (event: React.KeyboardEvent<HTMLButtonElement>) => void;
|
|
21148
|
-
onItemKeyDown: (event: React.KeyboardEvent<HTMLButtonElement>) => void;
|
|
21149
|
-
focusItemAt(index: number): void;
|
|
21150
|
-
shiftFocus(direction: ShiftDirection): void;
|
|
21151
|
-
render(): React.JSX.Element;
|
|
21152
|
-
}
|
|
21153
|
-
export {};
|
|
21127
|
+
export const EuiSuperSelect: (<T = string>(props: EuiSuperSelectProps<T> & {
|
|
21128
|
+
ref?: Ref<EuiSuperSelectRef>;
|
|
21129
|
+
}) => ReactElement) & {
|
|
21130
|
+
displayName?: string;
|
|
21131
|
+
};
|
|
21154
21132
|
|
|
21155
21133
|
}
|
|
21156
21134
|
declare module '@elastic/eui/src/components/form/super_select' {
|
|
21157
|
-
export type { EuiSuperSelectProps } from '@elastic/eui/src/components/form/super_select/super_select';
|
|
21135
|
+
export type { EuiSuperSelectProps, EuiSuperSelectRef } from '@elastic/eui/src/components/form/super_select/super_select';
|
|
21158
21136
|
export { EuiSuperSelect } from '@elastic/eui/src/components/form/super_select/super_select';
|
|
21159
21137
|
export type { EuiSuperSelectOption } from '@elastic/eui/src/components/form/super_select/super_select_item';
|
|
21160
21138
|
export type { EuiSuperSelectControlProps } from '@elastic/eui/src/components/form/super_select/super_select_control';
|
|
@@ -25846,6 +25824,8 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
25846
25824
|
id: string;
|
|
25847
25825
|
index: number;
|
|
25848
25826
|
isLastColumn: boolean;
|
|
25827
|
+
isLastCopyColumn?: boolean;
|
|
25828
|
+
isControlColumn?: boolean;
|
|
25849
25829
|
width?: number | null;
|
|
25850
25830
|
className?: string;
|
|
25851
25831
|
'aria-label'?: AriaAttributes['aria-label'];
|
|
@@ -26106,10 +26086,6 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
26106
26086
|
setColumnWidth: (columnId: string, width: number) => void;
|
|
26107
26087
|
isLastColumn: boolean;
|
|
26108
26088
|
}
|
|
26109
|
-
export interface EuiDataGridColumnResizerState {
|
|
26110
|
-
initialX: number;
|
|
26111
|
-
offset: number;
|
|
26112
|
-
}
|
|
26113
26089
|
export interface EuiDataGridColumnSortingDraggableProps {
|
|
26114
26090
|
id: string;
|
|
26115
26091
|
direction: string;
|
|
@@ -26304,6 +26280,7 @@ declare module '@elastic/eui/src/components/datagrid/data_grid_types' {
|
|
|
26304
26280
|
rowManager?: EuiDataGridRowManager;
|
|
26305
26281
|
pagination?: Required<EuiDataGridPaginationProps>;
|
|
26306
26282
|
gridStyles: EuiDataGridStyle;
|
|
26283
|
+
isLastCopyColumn?: boolean;
|
|
26307
26284
|
}
|
|
26308
26285
|
export interface EuiDataGridCellState {
|
|
26309
26286
|
cellProps: EuiDataGridSetCellProps;
|
|
@@ -27347,20 +27324,9 @@ declare module '@elastic/eui/src/components/datagrid/body/header/column_resizer.
|
|
|
27347
27324
|
|
|
27348
27325
|
}
|
|
27349
27326
|
declare module '@elastic/eui/src/components/datagrid/body/header/column_resizer' {
|
|
27350
|
-
import
|
|
27351
|
-
import { EuiDataGridColumnResizerProps
|
|
27352
|
-
export
|
|
27353
|
-
state: {
|
|
27354
|
-
initialX: number;
|
|
27355
|
-
offset: number;
|
|
27356
|
-
};
|
|
27357
|
-
onMouseDown: (e: React.MouseEvent<HTMLDivElement>) => void;
|
|
27358
|
-
onMouseUp: () => void;
|
|
27359
|
-
onMouseMove: (e: {
|
|
27360
|
-
pageX: number;
|
|
27361
|
-
}) => void;
|
|
27362
|
-
render(): React.JSX.Element;
|
|
27363
|
-
}
|
|
27327
|
+
import { FunctionComponent } from 'react';
|
|
27328
|
+
import { EuiDataGridColumnResizerProps } from '@elastic/eui/src/components/datagrid/data_grid_types';
|
|
27329
|
+
export const EuiDataGridColumnResizer: FunctionComponent<EuiDataGridColumnResizerProps>;
|
|
27364
27330
|
|
|
27365
27331
|
}
|
|
27366
27332
|
declare module '@elastic/eui/src/components/datagrid/body/header/data_grid_header_cell' {
|
|
@@ -28062,6 +28028,12 @@ declare module '@elastic/eui/src/components/datagrid/utils/row_count' {
|
|
|
28062
28028
|
rowCount: EuiDataGridProps["rowCount"];
|
|
28063
28029
|
}) => EuiDataGridVisibleRows;
|
|
28064
28030
|
|
|
28031
|
+
}
|
|
28032
|
+
declare module '@elastic/eui/src/components/datagrid/utils/copy_focused_cell' {
|
|
28033
|
+
/** Copies the focused data cell value when nothing is selected. */
|
|
28034
|
+
export const copyFocusedDataGridCell: (event: ClipboardEvent) => void;
|
|
28035
|
+
export const useCopyFocusedDataGridCell: () => void;
|
|
28036
|
+
|
|
28065
28037
|
}
|
|
28066
28038
|
declare module '@elastic/eui/src/components/datagrid/utils/ref' {
|
|
28067
28039
|
import { Ref, RefObject } from 'react';
|
|
@@ -36863,6 +36835,11 @@ declare module '@elastic/eui/src/services/container_query' {
|
|
|
36863
36835
|
declare module '@elastic/eui' {
|
|
36864
36836
|
export type EuiTokensObject = {
|
|
36865
36837
|
"euiTreeView.listNavigationInstructions": any;
|
|
36838
|
+
"euiIconTip.defaultAriaLabel": any;
|
|
36839
|
+
"euiToast.dismissToast": any;
|
|
36840
|
+
"euiToast.newNotification": any;
|
|
36841
|
+
"euiGlobalToastList.clearAllToastsButtonAriaLabel": any;
|
|
36842
|
+
"euiGlobalToastList.clearAllToastsButtonDisplayText": any;
|
|
36866
36843
|
"euiTourStepIndicator.isActive": any;
|
|
36867
36844
|
"euiTourStepIndicator.isComplete": any;
|
|
36868
36845
|
"euiTourStepIndicator.isIncomplete": any;
|
|
@@ -36870,11 +36847,6 @@ declare module '@elastic/eui' {
|
|
|
36870
36847
|
"euiTourFooter.endTour": any;
|
|
36871
36848
|
"euiTourFooter.skipTour": any;
|
|
36872
36849
|
"euiTourFooter.closeTour": any;
|
|
36873
|
-
"euiIconTip.defaultAriaLabel": any;
|
|
36874
|
-
"euiToast.dismissToast": any;
|
|
36875
|
-
"euiToast.newNotification": any;
|
|
36876
|
-
"euiGlobalToastList.clearAllToastsButtonAriaLabel": any;
|
|
36877
|
-
"euiGlobalToastList.clearAllToastsButtonDisplayText": any;
|
|
36878
36850
|
"euiStat.loadingText": any;
|
|
36879
36851
|
"euiStepStrings.step": any;
|
|
36880
36852
|
"euiStepStrings.simpleStep": any;
|
|
@@ -36893,9 +36865,9 @@ declare module '@elastic/eui' {
|
|
|
36893
36865
|
"euiStepStrings.current": any;
|
|
36894
36866
|
"euiStepStrings.simpleCurrent": any;
|
|
36895
36867
|
"euiTableHeaderCell.titleTextWithDesc": any;
|
|
36868
|
+
"euiSideNav.mobileToggleAriaLabel": any;
|
|
36896
36869
|
"euiSkeletonLoading.loadedAriaText": any;
|
|
36897
36870
|
"euiSkeletonLoading.loadingAriaText": any;
|
|
36898
|
-
"euiSideNav.mobileToggleAriaLabel": any;
|
|
36899
36871
|
"euiSelectable.loadingOptions": any;
|
|
36900
36872
|
"euiSelectable.noMatchingOptions": any;
|
|
36901
36873
|
"euiSelectable.noAvailableOptions": any;
|
|
@@ -36928,6 +36900,7 @@ declare module '@elastic/eui' {
|
|
|
36928
36900
|
"euiModal.closeModal": any;
|
|
36929
36901
|
"euiMark.highlightStart": any;
|
|
36930
36902
|
"euiMark.highlightEnd": any;
|
|
36903
|
+
"euiLoadingStrings.ariaLabel": any;
|
|
36931
36904
|
"euiMarkdownEditorToolbar.editor": any;
|
|
36932
36905
|
"euiMarkdownEditorToolbar.previewMarkdown": any;
|
|
36933
36906
|
"euiMarkdownEditorHelpButton.mdSyntaxLink": any;
|
|
@@ -36943,7 +36916,6 @@ declare module '@elastic/eui' {
|
|
|
36943
36916
|
"euiMarkdownEditorFooter.supportedFileTypes": any;
|
|
36944
36917
|
"euiMarkdownEditorFooter.showSyntaxErrors": any;
|
|
36945
36918
|
"euiMarkdownEditorFooter.errorsTitle": any;
|
|
36946
|
-
"euiLoadingStrings.ariaLabel": any;
|
|
36947
36919
|
"euiExternalLinkIcon.newTarget.screenReaderOnlyText": any;
|
|
36948
36920
|
"euiExternalLinkIcon.externalTarget.screenReaderOnlyText": any;
|
|
36949
36921
|
"euiInlineEditForm.saveButtonAriaLabel": any;
|
|
@@ -36960,11 +36932,17 @@ declare module '@elastic/eui' {
|
|
|
36960
36932
|
"euiFilterButton.filterBadgeActiveAriaLabel": any;
|
|
36961
36933
|
"euiFilterButton.filterBadgeAvailableAriaLabel": any;
|
|
36962
36934
|
"euiErrorBoundary.error": any;
|
|
36935
|
+
"euiContextMenuPanelTitle.ariaLabel": any;
|
|
36963
36936
|
"euiDataGrid.ariaLabel": any;
|
|
36964
36937
|
"euiDataGrid.ariaLabelledBy": any;
|
|
36965
36938
|
"euiDataGrid.screenReaderNotice": any;
|
|
36966
|
-
"euiContextMenuPanelTitle.ariaLabel": any;
|
|
36967
36939
|
"euiComboBox.listboxAriaLabel": any;
|
|
36940
|
+
"euiCodeBlockFullScreen.fullscreenCollapse": any;
|
|
36941
|
+
"euiCodeBlockFullScreen.fullscreenExpand": any;
|
|
36942
|
+
"euiCodeBlockFullScreen.ariaLabel": any;
|
|
36943
|
+
"euiCodeBlockCopy.copy": any;
|
|
36944
|
+
"euiCodeBlock.label": any;
|
|
36945
|
+
"euiCodeBlockAnnotations.ariaLabel": any;
|
|
36968
36946
|
"euiSaturation.ariaLabel": any;
|
|
36969
36947
|
"euiSaturation.roleDescription": any;
|
|
36970
36948
|
"euiSaturation.screenReaderInstructions": any;
|
|
@@ -36981,19 +36959,13 @@ declare module '@elastic/eui' {
|
|
|
36981
36959
|
"euiColorPicker.openLabel": any;
|
|
36982
36960
|
"euiColorPicker.closeLabel": any;
|
|
36983
36961
|
"euiColorPicker.ariaLabel": any;
|
|
36984
|
-
"euiCodeBlockFullScreen.fullscreenCollapse": any;
|
|
36985
|
-
"euiCodeBlockFullScreen.fullscreenExpand": any;
|
|
36986
|
-
"euiCodeBlockFullScreen.ariaLabel": any;
|
|
36987
|
-
"euiCodeBlockCopy.copy": any;
|
|
36988
|
-
"euiCodeBlockAnnotations.ariaLabel": any;
|
|
36989
|
-
"euiCodeBlock.label": any;
|
|
36990
36962
|
"euiCallOut.dismissAriaLabel": any;
|
|
36991
|
-
"euiBreadcrumbs.nav.ariaLabel": any;
|
|
36992
|
-
"euiBreadcrumb.collapsedBadge.ariaLabel": any;
|
|
36993
|
-
"euiBreadcrumb.popoverAriaLabel": any;
|
|
36994
36963
|
"euiBottomBar.screenReaderHeading": any;
|
|
36995
36964
|
"euiBottomBar.customScreenReaderAnnouncement": any;
|
|
36996
36965
|
"euiBottomBar.screenReaderAnnouncement": any;
|
|
36966
|
+
"euiBreadcrumbs.nav.ariaLabel": any;
|
|
36967
|
+
"euiBreadcrumb.collapsedBadge.ariaLabel": any;
|
|
36968
|
+
"euiBreadcrumb.popoverAriaLabel": any;
|
|
36997
36969
|
"euiCollapsedItemActions.allActionsTooltip": any;
|
|
36998
36970
|
"euiCollapsedItemActions.allActions": any;
|
|
36999
36971
|
"euiCollapsedItemActions.allActionsDisabled": any;
|
|
@@ -37016,7 +36988,6 @@ declare module '@elastic/eui' {
|
|
|
37016
36988
|
"euiSelectableTemplateSitewide.loadingResults": any;
|
|
37017
36989
|
"euiSelectableTemplateSitewide.noResults": any;
|
|
37018
36990
|
"euiSelectableTemplateSitewide.onFocusBadgeGoTo": any;
|
|
37019
|
-
"euiSelectableListItem.checkedOption": any;
|
|
37020
36991
|
"euiSelectableListItem.checkOptionInstructions": any;
|
|
37021
36992
|
"euiSelectableListItem.uncheckOptionInstructions": any;
|
|
37022
36993
|
"euiSelectableListItem.excludedOption": any;
|
|
@@ -37034,15 +37005,16 @@ declare module '@elastic/eui' {
|
|
|
37034
37005
|
"euiSuperSelect.ariaLabel": any;
|
|
37035
37006
|
"euiRange.sliderScreenReaderInstructions": any;
|
|
37036
37007
|
"euiDualRange.sliderScreenReaderInstructions": any;
|
|
37037
|
-
"euiFormControlLayoutDelimited.delimiterLabel": any;
|
|
37038
|
-
"euiFormControlLayoutClearButton.label": any;
|
|
37039
37008
|
"euiFilePicker.filesSelected": any;
|
|
37040
37009
|
"euiFilePicker.promptText": any;
|
|
37041
37010
|
"euiFilePicker.removeSelectedAriaLabel": any;
|
|
37042
37011
|
"euiFilePicker.removeSelected": any;
|
|
37012
|
+
"euiFormControlLayoutDelimited.delimiterLabel": any;
|
|
37013
|
+
"euiFormControlLayoutClearButton.label": any;
|
|
37043
37014
|
"euiFieldSearch.clearSearchButtonLabel": any;
|
|
37044
37015
|
"euiFieldPassword.showPassword": any;
|
|
37045
37016
|
"euiFieldPassword.maskPassword": any;
|
|
37017
|
+
"euiFlyoutManaged.defaultTitle": any;
|
|
37046
37018
|
"euiFlyoutMenu.back": any;
|
|
37047
37019
|
"euiFlyoutMenu.back.tooltip": any;
|
|
37048
37020
|
"euiFlyoutMenu.history": any;
|
|
@@ -37052,7 +37024,6 @@ declare module '@elastic/eui' {
|
|
|
37052
37024
|
"euiFlyoutMenu.pagination.next": any;
|
|
37053
37025
|
"euiFlyoutMenu.pagination.last": any;
|
|
37054
37026
|
"euiFlyoutMenu.pagination.counter": any;
|
|
37055
|
-
"euiFlyoutManaged.defaultTitle": any;
|
|
37056
37027
|
"euiTimeWindowButtons.label": any;
|
|
37057
37028
|
"euiTimeWindowButtons.previousDescription": any;
|
|
37058
37029
|
"euiTimeWindowButtons.nextDescription": any;
|
|
@@ -37185,6 +37156,9 @@ declare module '@elastic/eui' {
|
|
|
37185
37156
|
"euiKeyboardShortcuts.enterDescription": any;
|
|
37186
37157
|
"euiKeyboardShortcuts.escapeTitle": any;
|
|
37187
37158
|
"euiKeyboardShortcuts.escapeDescription": any;
|
|
37159
|
+
"euiKeyboardShortcuts.cmd": any;
|
|
37160
|
+
"euiKeyboardShortcuts.copyTitle": any;
|
|
37161
|
+
"euiKeyboardShortcuts.copyDescription": any;
|
|
37188
37162
|
"euiFullscreenSelector.fullscreenButton": any;
|
|
37189
37163
|
"euiFullscreenSelector.fullscreenButtonActive": any;
|
|
37190
37164
|
"euiDisplaySelector.densityLabel": any;
|