@elastic/eui 12.3.1 → 12.4.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/CHANGELOG.md +16 -1
- package/dist/eui.js +1168 -210
- package/dist/eui.js.map +1 -1
- package/dist/eui.min.js +5 -5
- package/es/components/accordion/accordion.js +79 -56
- package/es/components/accordion/accordion.test.js +88 -0
- package/es/components/badge/badge.js +22 -1
- package/es/components/badge/beta_badge/beta_badge.js +22 -1
- package/es/components/combo_box/combo_box.js +2 -1
- package/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +47 -5
- package/es/components/delay_hide/delay_hide.test.js +5 -1
- package/es/components/filter_group/filter_button.js +17 -2
- package/es/components/form/form_control_layout/form_control_layout_custom_icon.js +22 -1
- package/es/components/form/form_control_layout/form_control_layout_icons.js +44 -2
- package/es/components/form/range/dual_range.js +1 -1
- package/es/components/form/range/range.js +1 -1
- package/es/components/form/range/range_highlight.js +1 -1
- package/es/components/form/range/range_label.js +27 -8
- package/es/components/form/range/range_levels.js +13 -8
- package/es/components/form/range/range_levels.test.js +55 -0
- package/es/components/form/range/range_slider.js +12 -8
- package/es/components/form/range/range_thumb.js +35 -3
- package/es/components/form/range/range_ticks.js +43 -22
- package/es/components/form/range/range_tooltip.js +20 -4
- package/es/components/form/range/range_track.js +33 -14
- package/es/components/form/range/range_track.test.js +100 -0
- package/es/components/form/range/range_wrapper.js +9 -2
- package/es/components/header/header_logo.js +22 -1
- package/es/components/icon/assets/cloudDrizzle.js +21 -0
- package/es/components/icon/assets/cloudStormy.js +21 -0
- package/es/components/icon/assets/cloudSunny.js +21 -0
- package/es/components/icon/assets/documentEdit.js +21 -0
- package/es/components/icon/assets/documents.js +21 -0
- package/es/components/icon/assets/popout.js +1 -1
- package/es/components/icon/assets/training.js +21 -0
- package/es/components/icon/assets/videoPlayer.js +21 -0
- package/es/components/icon/icon.js +29 -1
- package/es/components/index.js +1 -0
- package/es/components/inner_text/index.js +1 -0
- package/es/components/inner_text/inner_text.js +66 -0
- package/es/components/inner_text/inner_text.test.js +240 -0
- package/es/components/list_group/list_group_item.js +21 -2
- package/es/components/popover/popover.js +7 -3
- package/es/components/search_bar/query/ast_to_es_query_dsl.js +2 -2
- package/es/components/toast/global_toast_list.js +22 -1
- package/es/components/toast/toast.js +22 -1
- package/es/components/token/token.js +22 -1
- package/es/components/tool_tip/icon_tip.js +22 -1
- package/eui.d.ts +435 -187
- package/lib/components/accordion/accordion.js +79 -55
- package/lib/components/accordion/accordion.test.js +96 -0
- package/lib/components/badge/badge.js +22 -1
- package/lib/components/badge/beta_badge/beta_badge.js +22 -1
- package/lib/components/combo_box/combo_box.js +2 -1
- package/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +47 -5
- package/lib/components/delay_hide/delay_hide.test.js +5 -1
- package/lib/components/filter_group/filter_button.js +18 -2
- package/lib/components/form/form_control_layout/form_control_layout_custom_icon.js +22 -1
- package/lib/components/form/form_control_layout/form_control_layout_icons.js +44 -2
- package/lib/components/form/range/dual_range.js +1 -1
- package/lib/components/form/range/range.js +1 -1
- package/lib/components/form/range/range_label.js +26 -7
- package/lib/components/form/range/range_levels.js +12 -7
- package/lib/components/form/range/range_levels.test.js +63 -0
- package/lib/components/form/range/range_slider.js +13 -8
- package/lib/components/form/range/range_thumb.js +34 -2
- package/lib/components/form/range/range_ticks.js +43 -21
- package/lib/components/form/range/range_tooltip.js +19 -3
- package/lib/components/form/range/range_track.js +32 -13
- package/lib/components/form/range/range_track.test.js +108 -0
- package/lib/components/form/range/range_wrapper.js +9 -4
- package/lib/components/header/header_logo.js +22 -1
- package/lib/components/icon/assets/cloudDrizzle.js +31 -0
- package/lib/components/icon/assets/cloudDrizzle.svg +3 -0
- package/lib/components/icon/assets/cloudStormy.js +31 -0
- package/lib/components/icon/assets/cloudStormy.svg +3 -0
- package/lib/components/icon/assets/cloudSunny.js +31 -0
- package/lib/components/icon/assets/cloudSunny.svg +3 -0
- package/lib/components/icon/assets/documentEdit.js +31 -0
- package/lib/components/icon/assets/documentEdit.svg +3 -0
- package/lib/components/icon/assets/documents.js +31 -0
- package/lib/components/icon/assets/documents.svg +3 -0
- package/lib/components/icon/assets/popout.js +1 -1
- package/lib/components/icon/assets/popout.svg +1 -1
- package/lib/components/icon/assets/training.js +31 -0
- package/lib/components/icon/assets/training.svg +3 -0
- package/lib/components/icon/assets/videoPlayer.js +31 -0
- package/lib/components/icon/assets/videoPlayer.svg +3 -0
- package/lib/components/icon/icon.js +29 -1
- package/lib/components/index.js +14 -0
- package/lib/components/inner_text/index.js +19 -0
- package/lib/components/inner_text/inner_text.js +80 -0
- package/lib/components/inner_text/inner_text.test.js +250 -0
- package/lib/components/list_group/list_group_item.js +22 -3
- package/lib/components/popover/popover.js +7 -3
- package/lib/components/search_bar/query/ast_to_es_query_dsl.js +2 -2
- package/lib/components/toast/global_toast_list.js +22 -1
- package/lib/components/toast/toast.js +22 -1
- package/lib/components/token/token.js +22 -1
- package/lib/components/tool_tip/icon_tip.js +22 -1
- package/package.json +7 -4
- package/postcss.config.js +6 -0
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
4
|
+
|
|
5
|
+
var _testUtils = require("react-dom/test-utils");
|
|
6
|
+
|
|
7
|
+
var _enzyme = require("enzyme");
|
|
8
|
+
|
|
9
|
+
var _test = require("../../test");
|
|
10
|
+
|
|
11
|
+
var _inner_text = require("./inner_text");
|
|
12
|
+
|
|
13
|
+
var _badge = require("../badge");
|
|
14
|
+
|
|
15
|
+
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }
|
|
16
|
+
|
|
17
|
+
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); }
|
|
18
|
+
|
|
19
|
+
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure undefined"); }
|
|
20
|
+
|
|
21
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
22
|
+
|
|
23
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
24
|
+
|
|
25
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
|
|
26
|
+
|
|
27
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
|
|
28
|
+
|
|
29
|
+
function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
30
|
+
|
|
31
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
32
|
+
|
|
33
|
+
describe('useInnerText', function () {
|
|
34
|
+
test('provides a callback `ref`', function () {
|
|
35
|
+
var ref;
|
|
36
|
+
|
|
37
|
+
var App = function App() {
|
|
38
|
+
var _useInnerText = (0, _inner_text.useInnerText)();
|
|
39
|
+
|
|
40
|
+
var _useInnerText2 = _slicedToArray(_useInnerText, 1);
|
|
41
|
+
|
|
42
|
+
ref = _useInnerText2[0];
|
|
43
|
+
return _react.default.createElement("span", null);
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
(0, _enzyme.mount)(_react.default.createElement(App, null));
|
|
47
|
+
expect(ref).toBeInstanceOf(Function);
|
|
48
|
+
});
|
|
49
|
+
test('provides the result of `innerText`', function () {
|
|
50
|
+
var text = 'Test';
|
|
51
|
+
var ref;
|
|
52
|
+
var innerText;
|
|
53
|
+
|
|
54
|
+
var App = function App() {
|
|
55
|
+
var _useInnerText3 = (0, _inner_text.useInnerText)();
|
|
56
|
+
|
|
57
|
+
var _useInnerText4 = _slicedToArray(_useInnerText3, 2);
|
|
58
|
+
|
|
59
|
+
ref = _useInnerText4[0];
|
|
60
|
+
innerText = _useInnerText4[1];
|
|
61
|
+
return _react.default.createElement("span", {
|
|
62
|
+
ref: ref
|
|
63
|
+
}, text);
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
(0, _enzyme.mount)(_react.default.createElement(App, null));
|
|
67
|
+
expect(innerText).toEqual(text);
|
|
68
|
+
});
|
|
69
|
+
test('accepts a fallback value', function () {
|
|
70
|
+
var text = 'Test';
|
|
71
|
+
var fallback = 'Fallback';
|
|
72
|
+
var innerText;
|
|
73
|
+
|
|
74
|
+
var App = function App() {
|
|
75
|
+
var _useInnerText5 = (0, _inner_text.useInnerText)(fallback);
|
|
76
|
+
|
|
77
|
+
var _useInnerText6 = _slicedToArray(_useInnerText5, 2);
|
|
78
|
+
|
|
79
|
+
innerText = _useInnerText6[1];
|
|
80
|
+
return _react.default.createElement("span", null, text);
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
(0, _enzyme.mount)(_react.default.createElement(App, null));
|
|
84
|
+
expect(innerText).toEqual(fallback);
|
|
85
|
+
});
|
|
86
|
+
test('handles updated elements',
|
|
87
|
+
/*#__PURE__*/
|
|
88
|
+
_asyncToGenerator(
|
|
89
|
+
/*#__PURE__*/
|
|
90
|
+
regeneratorRuntime.mark(function _callee() {
|
|
91
|
+
var timeout, first, second, innerText, ref, App;
|
|
92
|
+
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
93
|
+
while (1) {
|
|
94
|
+
switch (_context.prev = _context.next) {
|
|
95
|
+
case 0:
|
|
96
|
+
timeout = 500;
|
|
97
|
+
first = 'First';
|
|
98
|
+
second = 'Second';
|
|
99
|
+
|
|
100
|
+
App = function App() {
|
|
101
|
+
var _useState = (0, _react.useState)([first, 'span']),
|
|
102
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
103
|
+
_useState2$ = _slicedToArray(_useState2[0], 2),
|
|
104
|
+
thing = _useState2$[0],
|
|
105
|
+
type = _useState2$[1],
|
|
106
|
+
setThing = _useState2[1];
|
|
107
|
+
|
|
108
|
+
(0, _react.useEffect)(function () {
|
|
109
|
+
setTimeout(function () {
|
|
110
|
+
(0, _testUtils.act)(function () {
|
|
111
|
+
return setThing([second, 'div']);
|
|
112
|
+
});
|
|
113
|
+
}, timeout);
|
|
114
|
+
}, [setThing]);
|
|
115
|
+
|
|
116
|
+
var _useInnerText7 = (0, _inner_text.useInnerText)();
|
|
117
|
+
|
|
118
|
+
var _useInnerText8 = _slicedToArray(_useInnerText7, 2);
|
|
119
|
+
|
|
120
|
+
ref = _useInnerText8[0];
|
|
121
|
+
innerText = _useInnerText8[1];
|
|
122
|
+
return _react.default.createElement("div", null, _react.default.createElement(type, {
|
|
123
|
+
ref: ref,
|
|
124
|
+
title: innerText
|
|
125
|
+
}, thing));
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
(0, _enzyme.mount)(_react.default.createElement(App, null));
|
|
129
|
+
expect(innerText).toEqual(first);
|
|
130
|
+
_context.next = 8;
|
|
131
|
+
return (0, _test.sleep)(timeout + 10);
|
|
132
|
+
|
|
133
|
+
case 8:
|
|
134
|
+
expect(innerText).toEqual(second);
|
|
135
|
+
|
|
136
|
+
case 9:
|
|
137
|
+
case "end":
|
|
138
|
+
return _context.stop();
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}, _callee, this);
|
|
142
|
+
})));
|
|
143
|
+
test('handles updated content',
|
|
144
|
+
/*#__PURE__*/
|
|
145
|
+
_asyncToGenerator(
|
|
146
|
+
/*#__PURE__*/
|
|
147
|
+
regeneratorRuntime.mark(function _callee2() {
|
|
148
|
+
var timeout, first, second, innerText, ref, App, mutationObserverPolyfillPeriod;
|
|
149
|
+
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
150
|
+
while (1) {
|
|
151
|
+
switch (_context2.prev = _context2.next) {
|
|
152
|
+
case 0:
|
|
153
|
+
timeout = 500;
|
|
154
|
+
first = 'First';
|
|
155
|
+
second = 'Second';
|
|
156
|
+
|
|
157
|
+
App = function App() {
|
|
158
|
+
var _useState3 = (0, _react.useState)(first),
|
|
159
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
160
|
+
thing = _useState4[0],
|
|
161
|
+
setThing = _useState4[1];
|
|
162
|
+
|
|
163
|
+
(0, _react.useEffect)(function () {
|
|
164
|
+
setTimeout(function () {
|
|
165
|
+
(0, _testUtils.act)(function () {
|
|
166
|
+
return setThing(second);
|
|
167
|
+
});
|
|
168
|
+
}, timeout);
|
|
169
|
+
}, [setThing]);
|
|
170
|
+
|
|
171
|
+
var _useInnerText9 = (0, _inner_text.useInnerText)();
|
|
172
|
+
|
|
173
|
+
var _useInnerText10 = _slicedToArray(_useInnerText9, 2);
|
|
174
|
+
|
|
175
|
+
ref = _useInnerText10[0];
|
|
176
|
+
innerText = _useInnerText10[1];
|
|
177
|
+
return _react.default.createElement("div", null, _react.default.createElement("span", {
|
|
178
|
+
ref: ref,
|
|
179
|
+
title: innerText
|
|
180
|
+
}, thing));
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
(0, _enzyme.mount)(_react.default.createElement(App, null));
|
|
184
|
+
expect(innerText).toEqual(first); // MutationObserver polyfill institues a 30ms mutation timeout period
|
|
185
|
+
|
|
186
|
+
mutationObserverPolyfillPeriod = 30;
|
|
187
|
+
_context2.next = 9;
|
|
188
|
+
return (0, _test.sleep)(timeout + mutationObserverPolyfillPeriod + 10);
|
|
189
|
+
|
|
190
|
+
case 9:
|
|
191
|
+
expect(innerText).toEqual(second);
|
|
192
|
+
|
|
193
|
+
case 10:
|
|
194
|
+
case "end":
|
|
195
|
+
return _context2.stop();
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}, _callee2, this);
|
|
199
|
+
})));
|
|
200
|
+
});
|
|
201
|
+
describe('EuiInnerText', function () {
|
|
202
|
+
test('is rendered', function () {
|
|
203
|
+
var component = (0, _enzyme.render)(_react.default.createElement(_inner_text.EuiInnerText, _test.requiredProps, function (ref, innerText) {
|
|
204
|
+
return _react.default.createElement("span", {
|
|
205
|
+
ref: ref,
|
|
206
|
+
title: innerText
|
|
207
|
+
}, "Test");
|
|
208
|
+
}));
|
|
209
|
+
expect(component).toMatchSnapshot();
|
|
210
|
+
});
|
|
211
|
+
test('uses innerText', function () {
|
|
212
|
+
var text = 'Test';
|
|
213
|
+
var component = (0, _enzyme.mount)(_react.default.createElement(_inner_text.EuiInnerText, _test.requiredProps, function (ref, innerText) {
|
|
214
|
+
return _react.default.createElement("span", {
|
|
215
|
+
ref: ref,
|
|
216
|
+
title: innerText,
|
|
217
|
+
"data-test-subj": "span"
|
|
218
|
+
}, text);
|
|
219
|
+
}));
|
|
220
|
+
var span = (0, _test.findTestSubject)(component, 'span');
|
|
221
|
+
expect(span.props().title).toBe(text);
|
|
222
|
+
});
|
|
223
|
+
test('accepts fallback prop', function () {
|
|
224
|
+
var text = 'Test';
|
|
225
|
+
var fallback = 'Fallback';
|
|
226
|
+
var component = (0, _enzyme.mount)(_react.default.createElement(_inner_text.EuiInnerText, _extends({}, _test.requiredProps, {
|
|
227
|
+
fallback: fallback
|
|
228
|
+
}), function (_ref3, innerText) {
|
|
229
|
+
_objectDestructuringEmpty(_ref3);
|
|
230
|
+
|
|
231
|
+
return _react.default.createElement("span", {
|
|
232
|
+
title: innerText,
|
|
233
|
+
"data-test-subj": "span"
|
|
234
|
+
}, text);
|
|
235
|
+
}));
|
|
236
|
+
var span = (0, _test.findTestSubject)(component, 'span');
|
|
237
|
+
expect(span.props().title).toBe(fallback);
|
|
238
|
+
});
|
|
239
|
+
test('works with wrapper and interspersed DOM elements', function () {
|
|
240
|
+
var component = (0, _enzyme.mount)(_react.default.createElement(_inner_text.EuiInnerText, _test.requiredProps, function (ref, innerText) {
|
|
241
|
+
return _react.default.createElement("span", {
|
|
242
|
+
ref: ref,
|
|
243
|
+
title: innerText,
|
|
244
|
+
"data-test-subj": "span"
|
|
245
|
+
}, _react.default.createElement("div", null, "I", ' ', _react.default.createElement("span", null, "can", ' ', _react.default.createElement("em", null, "still ", _react.default.createElement("strong", null, "read "), _react.default.createElement(_badge.EuiBadge, null, "this")))));
|
|
246
|
+
}));
|
|
247
|
+
var span = (0, _test.findTestSubject)(component, 'span');
|
|
248
|
+
expect(span.props().title).toBe('I can still read this');
|
|
249
|
+
});
|
|
250
|
+
});
|
|
@@ -17,10 +17,20 @@ var _icon = require("../icon");
|
|
|
17
17
|
|
|
18
18
|
var _tool_tip = require("../tool_tip");
|
|
19
19
|
|
|
20
|
+
var _inner_text = require("../inner_text");
|
|
21
|
+
|
|
20
22
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
23
|
|
|
22
24
|
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }
|
|
23
25
|
|
|
26
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
|
|
27
|
+
|
|
28
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
|
|
29
|
+
|
|
30
|
+
function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
31
|
+
|
|
32
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
33
|
+
|
|
24
34
|
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); }
|
|
25
35
|
|
|
26
36
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
@@ -92,14 +102,23 @@ var EuiListGroupItem = function EuiListGroupItem(_ref) {
|
|
|
92
102
|
disabled: isDisabled
|
|
93
103
|
}));
|
|
94
104
|
} // Only add the label as the title attribute if it's possibly truncated
|
|
105
|
+
// Also ensure the value of the title attribute is a string
|
|
106
|
+
|
|
95
107
|
|
|
108
|
+
var _useInnerText = (0, _inner_text.useInnerText)(),
|
|
109
|
+
_useInnerText2 = _slicedToArray(_useInnerText, 2),
|
|
110
|
+
ref = _useInnerText2[0],
|
|
111
|
+
innerText = _useInnerText2[1];
|
|
96
112
|
|
|
97
|
-
var
|
|
113
|
+
var shouldRenderTitle = !wrapText && !showToolTip;
|
|
114
|
+
var labelContent = shouldRenderTitle ? _react.default.createElement("span", {
|
|
115
|
+
ref: ref,
|
|
98
116
|
className: "euiListGroupItem__label",
|
|
99
|
-
title:
|
|
117
|
+
title: typeof label === 'string' ? label : innerText
|
|
118
|
+
}, label) : _react.default.createElement("span", {
|
|
119
|
+
className: "euiListGroupItem__label"
|
|
100
120
|
}, label); // Handle the variety of interaction behavior
|
|
101
121
|
|
|
102
|
-
|
|
103
122
|
var itemContent;
|
|
104
123
|
|
|
105
124
|
if (href && !isDisabled) {
|
|
@@ -437,7 +437,11 @@ function (_Component) {
|
|
|
437
437
|
setTimeout(function () {
|
|
438
438
|
_this3.setState({
|
|
439
439
|
isOpenStable: true
|
|
440
|
-
},
|
|
440
|
+
}, function () {
|
|
441
|
+
_this3.positionPopoverFixed();
|
|
442
|
+
|
|
443
|
+
_this3.updateFocus();
|
|
444
|
+
});
|
|
441
445
|
}, durationMatch + delayMatch);
|
|
442
446
|
} // update scroll listener
|
|
443
447
|
|
|
@@ -460,8 +464,6 @@ function (_Component) {
|
|
|
460
464
|
});
|
|
461
465
|
}, 250);
|
|
462
466
|
}
|
|
463
|
-
|
|
464
|
-
this.updateFocus();
|
|
465
467
|
}
|
|
466
468
|
}, {
|
|
467
469
|
key: "componentWillUnmount",
|
|
@@ -543,6 +545,8 @@ function (_Component) {
|
|
|
543
545
|
panel = _react.default.createElement(_portal.EuiPortal, {
|
|
544
546
|
insert: insert
|
|
545
547
|
}, _react.default.createElement(_focus_trap.EuiFocusTrap, {
|
|
548
|
+
returnFocus: !this.state.isOpening // Ignore temporary state of indecisive focus
|
|
549
|
+
,
|
|
546
550
|
clickOutsideDisables: true,
|
|
547
551
|
initialFocus: _initialFocus,
|
|
548
552
|
disabled: !ownFocus
|
|
@@ -363,11 +363,11 @@ var astToEsQueryDsl = function astToEsQueryDsl(ast, options) {
|
|
|
363
363
|
}, []);
|
|
364
364
|
must.push({
|
|
365
365
|
bool: {
|
|
366
|
-
should:
|
|
366
|
+
should: clauses.map(function (clause) {
|
|
367
367
|
return {
|
|
368
368
|
bool: clause
|
|
369
369
|
};
|
|
370
|
-
})
|
|
370
|
+
})
|
|
371
371
|
}
|
|
372
372
|
});
|
|
373
373
|
return must;
|
|
@@ -311,7 +311,7 @@ EuiGlobalToastList.propTypes = {
|
|
|
311
311
|
toastLifeTimeMs: _propTypes.default.number,
|
|
312
312
|
title: _propTypes.default.node,
|
|
313
313
|
color: _propTypes.default.oneOf(["primary", "success", "warning", "danger"]),
|
|
314
|
-
iconType: _propTypes.default.oneOfType([_propTypes.default.oneOf(["addDataApp", "advancedSettingsApp", "alert", "apmApp", "apmTrace", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "asterisk", "auditbeatApp", "beaker", "bell", "bolt", "boxesHorizontal", "boxesVertical", "branch", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "codeApp", "check", "checkInCircleFilled", "clock", "compute", "console", "consoleApp", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crosshairs", "crossInACircleFilled", "cut", "dashboardApp", "database", "dataVisualizer", "devToolsApp", "discoverApp", "document", "dot", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignLeft", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "exit", "expand", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "filebeatApp", "filter", "flag", "folderClosed", "folderOpen", "fullScreen", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "iInCircle", "importAction", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexSettings", "infraApp", "inputOutput", "inspect", "invert", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "link", "list", "listAdd", "lock", "lockOpen", "loggingApp", "logoAerospike", "logoApache", "logoAPM", "logoAppSearch", "logoAWS", "logoAWSMono", "logoAzure", "logoAzureMono", "logoBeats", "logoBusinessAnalytics", "logoCeph", "logoCloud", "logoCloudEnterprise", "logoCode", "logoCodesandbox", "logoCouchbase", "logoDocker", "logoDropwizard", "logoElastic", "logoElasticsearch", "logoElasticStack", "logoEnterpriseSearch", "logoEtcd", "logoGCP", "logoGCPMono", "logoGithub", "logoGmail", "logoGolang", "logoHAproxy", "logoIBM", "logoIBMMono", "logoKafka", "logoKibana", "logoKubernetes", "logoLogging", "logoLogstash", "logoMaps", "logoMemcached", "logoMetrics", "logoMongodb", "logoMySQL", "logoNginx", "logoOsquery", "logoPhp", "logoPostgres", "logoPrometheus", "logoRabbitmq", "logoRedis", "logoSecurity", "logoSiteSearch", "logoSketch", "logoSlack", "logoUptime", "logoWebhook", "logoWindows", "logstashFilter", "logstashIf", "logstashInput", "logstashOutput", "logstashQueue", "machineLearningApp", "magnet", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menuLeft", "menuRight", "merge", "metricbeatApp", "minusInCircle", "minusInCircleFilled", "monitoringApp", "moon", "node", "notebookApp", "number", "offline", "online", "packetbeatApp", "pause", "pencil", "pin", "pinFilled", "pipelineApp", "play", "plusInCircle", "plusInCircleFilled", "popout", "questionInCircle", "refresh", "reportingApp", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "securityAnalyticsApp", "securityApp", "shard", "share", "snowflake", "sortable", "sortDown", "sortLeft", "sortRight", "sortUp", "spacesApp", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "swatchInput", "symlink", "tableOfContents", "tag", "tear", "temperature", "timelionApp", "trash", "upgradeAssistantApp", "uptimeApp", "user", "usersRolesApp", "vector", "visArea", "visBarHorizontal", "visBarVertical", "visControls", "visGauge", "visGoal", "visHeatmap", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visualizeApp", "visVega", "visVisualBuilder", "watchesApp", "wrench", "tokenClass", "tokenProperty", "tokenEnum", "tokenVariable", "tokenMethod", "tokenAnnotation", "tokenException", "tokenInterface", "tokenParameter", "tokenField", "tokenElement", "tokenFunction", "tokenBoolean", "tokenString", "tokenArray", "tokenNumber", "tokenConstant", "tokenObject", "tokenEvent", "tokenKey", "tokenNull", "tokenStruct", "tokenPackage", "tokenOperator", "tokenEnumMember", "tokenRepo", "tokenSymbol", "tokenFile", "tokenModule", "tokenNamespace"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.element.isRequired]),
|
|
314
|
+
iconType: _propTypes.default.oneOfType([_propTypes.default.oneOf(["addDataApp", "advancedSettingsApp", "alert", "apmApp", "apmTrace", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "asterisk", "auditbeatApp", "beaker", "bell", "bolt", "boxesHorizontal", "boxesVertical", "branch", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "codeApp", "check", "checkInCircleFilled", "clock", "cloudDrizzle", "cloudStormy", "cloudSunny", "compute", "console", "consoleApp", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crosshairs", "crossInACircleFilled", "cut", "dashboardApp", "database", "dataVisualizer", "devToolsApp", "discoverApp", "document", "documentEdit", "documents", "dot", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignLeft", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "exit", "expand", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "filebeatApp", "filter", "flag", "folderClosed", "folderOpen", "fullScreen", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "iInCircle", "importAction", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexSettings", "infraApp", "inputOutput", "inspect", "invert", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "link", "list", "listAdd", "lock", "lockOpen", "loggingApp", "logoAerospike", "logoApache", "logoAPM", "logoAppSearch", "logoAWS", "logoAWSMono", "logoAzure", "logoAzureMono", "logoBeats", "logoBusinessAnalytics", "logoCeph", "logoCloud", "logoCloudEnterprise", "logoCode", "logoCodesandbox", "logoCouchbase", "logoDocker", "logoDropwizard", "logoElastic", "logoElasticsearch", "logoElasticStack", "logoEnterpriseSearch", "logoEtcd", "logoGCP", "logoGCPMono", "logoGithub", "logoGmail", "logoGolang", "logoHAproxy", "logoIBM", "logoIBMMono", "logoKafka", "logoKibana", "logoKubernetes", "logoLogging", "logoLogstash", "logoMaps", "logoMemcached", "logoMetrics", "logoMongodb", "logoMySQL", "logoNginx", "logoOsquery", "logoPhp", "logoPostgres", "logoPrometheus", "logoRabbitmq", "logoRedis", "logoSecurity", "logoSiteSearch", "logoSketch", "logoSlack", "logoUptime", "logoWebhook", "logoWindows", "logstashFilter", "logstashIf", "logstashInput", "logstashOutput", "logstashQueue", "machineLearningApp", "magnet", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menuLeft", "menuRight", "merge", "metricbeatApp", "minusInCircle", "minusInCircleFilled", "monitoringApp", "moon", "node", "notebookApp", "number", "offline", "online", "packetbeatApp", "pause", "pencil", "pin", "pinFilled", "pipelineApp", "play", "plusInCircle", "plusInCircleFilled", "popout", "questionInCircle", "refresh", "reportingApp", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "securityAnalyticsApp", "securityApp", "shard", "share", "snowflake", "sortable", "sortDown", "sortLeft", "sortRight", "sortUp", "spacesApp", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "swatchInput", "symlink", "tableOfContents", "tag", "tear", "temperature", "timelionApp", "training", "trash", "upgradeAssistantApp", "uptimeApp", "user", "usersRolesApp", "vector", "videoPlayer", "visArea", "visBarHorizontal", "visBarVertical", "visControls", "visGauge", "visGoal", "visHeatmap", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visualizeApp", "visVega", "visVisualBuilder", "watchesApp", "wrench", "tokenClass", "tokenProperty", "tokenEnum", "tokenVariable", "tokenMethod", "tokenAnnotation", "tokenException", "tokenInterface", "tokenParameter", "tokenField", "tokenElement", "tokenFunction", "tokenBoolean", "tokenString", "tokenArray", "tokenNumber", "tokenConstant", "tokenObject", "tokenEvent", "tokenKey", "tokenNull", "tokenStruct", "tokenPackage", "tokenOperator", "tokenEnumMember", "tokenRepo", "tokenSymbol", "tokenFile", "tokenModule", "tokenNamespace"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.element.isRequired]),
|
|
315
315
|
onClose: _propTypes.default.func,
|
|
316
316
|
className: _propTypes.default.string,
|
|
317
317
|
"aria-label": _propTypes.default.string,
|
|
@@ -507,6 +507,15 @@ EuiGlobalToastList.__docgenInfo = {
|
|
|
507
507
|
}, {
|
|
508
508
|
"value": "\"clock\"",
|
|
509
509
|
"computed": false
|
|
510
|
+
}, {
|
|
511
|
+
"value": "\"cloudDrizzle\"",
|
|
512
|
+
"computed": false
|
|
513
|
+
}, {
|
|
514
|
+
"value": "\"cloudStormy\"",
|
|
515
|
+
"computed": false
|
|
516
|
+
}, {
|
|
517
|
+
"value": "\"cloudSunny\"",
|
|
518
|
+
"computed": false
|
|
510
519
|
}, {
|
|
511
520
|
"value": "\"compute\"",
|
|
512
521
|
"computed": false
|
|
@@ -573,6 +582,12 @@ EuiGlobalToastList.__docgenInfo = {
|
|
|
573
582
|
}, {
|
|
574
583
|
"value": "\"document\"",
|
|
575
584
|
"computed": false
|
|
585
|
+
}, {
|
|
586
|
+
"value": "\"documentEdit\"",
|
|
587
|
+
"computed": false
|
|
588
|
+
}, {
|
|
589
|
+
"value": "\"documents\"",
|
|
590
|
+
"computed": false
|
|
576
591
|
}, {
|
|
577
592
|
"value": "\"dot\"",
|
|
578
593
|
"computed": false
|
|
@@ -1224,6 +1239,9 @@ EuiGlobalToastList.__docgenInfo = {
|
|
|
1224
1239
|
}, {
|
|
1225
1240
|
"value": "\"timelionApp\"",
|
|
1226
1241
|
"computed": false
|
|
1242
|
+
}, {
|
|
1243
|
+
"value": "\"training\"",
|
|
1244
|
+
"computed": false
|
|
1227
1245
|
}, {
|
|
1228
1246
|
"value": "\"trash\"",
|
|
1229
1247
|
"computed": false
|
|
@@ -1242,6 +1260,9 @@ EuiGlobalToastList.__docgenInfo = {
|
|
|
1242
1260
|
}, {
|
|
1243
1261
|
"value": "\"vector\"",
|
|
1244
1262
|
"computed": false
|
|
1263
|
+
}, {
|
|
1264
|
+
"value": "\"videoPlayer\"",
|
|
1265
|
+
"computed": false
|
|
1245
1266
|
}, {
|
|
1246
1267
|
"value": "\"visArea\"",
|
|
1247
1268
|
"computed": false
|
|
@@ -115,7 +115,7 @@ exports.EuiToast = EuiToast;
|
|
|
115
115
|
EuiToast.propTypes = {
|
|
116
116
|
title: _propTypes.default.node,
|
|
117
117
|
color: _propTypes.default.oneOf(["primary", "success", "warning", "danger"]),
|
|
118
|
-
iconType: _propTypes.default.oneOfType([_propTypes.default.oneOf(["addDataApp", "advancedSettingsApp", "alert", "apmApp", "apmTrace", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "asterisk", "auditbeatApp", "beaker", "bell", "bolt", "boxesHorizontal", "boxesVertical", "branch", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "codeApp", "check", "checkInCircleFilled", "clock", "compute", "console", "consoleApp", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crosshairs", "crossInACircleFilled", "cut", "dashboardApp", "database", "dataVisualizer", "devToolsApp", "discoverApp", "document", "dot", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignLeft", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "exit", "expand", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "filebeatApp", "filter", "flag", "folderClosed", "folderOpen", "fullScreen", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "iInCircle", "importAction", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexSettings", "infraApp", "inputOutput", "inspect", "invert", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "link", "list", "listAdd", "lock", "lockOpen", "loggingApp", "logoAerospike", "logoApache", "logoAPM", "logoAppSearch", "logoAWS", "logoAWSMono", "logoAzure", "logoAzureMono", "logoBeats", "logoBusinessAnalytics", "logoCeph", "logoCloud", "logoCloudEnterprise", "logoCode", "logoCodesandbox", "logoCouchbase", "logoDocker", "logoDropwizard", "logoElastic", "logoElasticsearch", "logoElasticStack", "logoEnterpriseSearch", "logoEtcd", "logoGCP", "logoGCPMono", "logoGithub", "logoGmail", "logoGolang", "logoHAproxy", "logoIBM", "logoIBMMono", "logoKafka", "logoKibana", "logoKubernetes", "logoLogging", "logoLogstash", "logoMaps", "logoMemcached", "logoMetrics", "logoMongodb", "logoMySQL", "logoNginx", "logoOsquery", "logoPhp", "logoPostgres", "logoPrometheus", "logoRabbitmq", "logoRedis", "logoSecurity", "logoSiteSearch", "logoSketch", "logoSlack", "logoUptime", "logoWebhook", "logoWindows", "logstashFilter", "logstashIf", "logstashInput", "logstashOutput", "logstashQueue", "machineLearningApp", "magnet", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menuLeft", "menuRight", "merge", "metricbeatApp", "minusInCircle", "minusInCircleFilled", "monitoringApp", "moon", "node", "notebookApp", "number", "offline", "online", "packetbeatApp", "pause", "pencil", "pin", "pinFilled", "pipelineApp", "play", "plusInCircle", "plusInCircleFilled", "popout", "questionInCircle", "refresh", "reportingApp", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "securityAnalyticsApp", "securityApp", "shard", "share", "snowflake", "sortable", "sortDown", "sortLeft", "sortRight", "sortUp", "spacesApp", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "swatchInput", "symlink", "tableOfContents", "tag", "tear", "temperature", "timelionApp", "trash", "upgradeAssistantApp", "uptimeApp", "user", "usersRolesApp", "vector", "visArea", "visBarHorizontal", "visBarVertical", "visControls", "visGauge", "visGoal", "visHeatmap", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visualizeApp", "visVega", "visVisualBuilder", "watchesApp", "wrench", "tokenClass", "tokenProperty", "tokenEnum", "tokenVariable", "tokenMethod", "tokenAnnotation", "tokenException", "tokenInterface", "tokenParameter", "tokenField", "tokenElement", "tokenFunction", "tokenBoolean", "tokenString", "tokenArray", "tokenNumber", "tokenConstant", "tokenObject", "tokenEvent", "tokenKey", "tokenNull", "tokenStruct", "tokenPackage", "tokenOperator", "tokenEnumMember", "tokenRepo", "tokenSymbol", "tokenFile", "tokenModule", "tokenNamespace"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.element.isRequired]),
|
|
118
|
+
iconType: _propTypes.default.oneOfType([_propTypes.default.oneOf(["addDataApp", "advancedSettingsApp", "alert", "apmApp", "apmTrace", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "asterisk", "auditbeatApp", "beaker", "bell", "bolt", "boxesHorizontal", "boxesVertical", "branch", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "codeApp", "check", "checkInCircleFilled", "clock", "cloudDrizzle", "cloudStormy", "cloudSunny", "compute", "console", "consoleApp", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crosshairs", "crossInACircleFilled", "cut", "dashboardApp", "database", "dataVisualizer", "devToolsApp", "discoverApp", "document", "documentEdit", "documents", "dot", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignLeft", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "exit", "expand", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "filebeatApp", "filter", "flag", "folderClosed", "folderOpen", "fullScreen", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "iInCircle", "importAction", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexSettings", "infraApp", "inputOutput", "inspect", "invert", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "link", "list", "listAdd", "lock", "lockOpen", "loggingApp", "logoAerospike", "logoApache", "logoAPM", "logoAppSearch", "logoAWS", "logoAWSMono", "logoAzure", "logoAzureMono", "logoBeats", "logoBusinessAnalytics", "logoCeph", "logoCloud", "logoCloudEnterprise", "logoCode", "logoCodesandbox", "logoCouchbase", "logoDocker", "logoDropwizard", "logoElastic", "logoElasticsearch", "logoElasticStack", "logoEnterpriseSearch", "logoEtcd", "logoGCP", "logoGCPMono", "logoGithub", "logoGmail", "logoGolang", "logoHAproxy", "logoIBM", "logoIBMMono", "logoKafka", "logoKibana", "logoKubernetes", "logoLogging", "logoLogstash", "logoMaps", "logoMemcached", "logoMetrics", "logoMongodb", "logoMySQL", "logoNginx", "logoOsquery", "logoPhp", "logoPostgres", "logoPrometheus", "logoRabbitmq", "logoRedis", "logoSecurity", "logoSiteSearch", "logoSketch", "logoSlack", "logoUptime", "logoWebhook", "logoWindows", "logstashFilter", "logstashIf", "logstashInput", "logstashOutput", "logstashQueue", "machineLearningApp", "magnet", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menuLeft", "menuRight", "merge", "metricbeatApp", "minusInCircle", "minusInCircleFilled", "monitoringApp", "moon", "node", "notebookApp", "number", "offline", "online", "packetbeatApp", "pause", "pencil", "pin", "pinFilled", "pipelineApp", "play", "plusInCircle", "plusInCircleFilled", "popout", "questionInCircle", "refresh", "reportingApp", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "securityAnalyticsApp", "securityApp", "shard", "share", "snowflake", "sortable", "sortDown", "sortLeft", "sortRight", "sortUp", "spacesApp", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "swatchInput", "symlink", "tableOfContents", "tag", "tear", "temperature", "timelionApp", "training", "trash", "upgradeAssistantApp", "uptimeApp", "user", "usersRolesApp", "vector", "videoPlayer", "visArea", "visBarHorizontal", "visBarVertical", "visControls", "visGauge", "visGoal", "visHeatmap", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visualizeApp", "visVega", "visVisualBuilder", "watchesApp", "wrench", "tokenClass", "tokenProperty", "tokenEnum", "tokenVariable", "tokenMethod", "tokenAnnotation", "tokenException", "tokenInterface", "tokenParameter", "tokenField", "tokenElement", "tokenFunction", "tokenBoolean", "tokenString", "tokenArray", "tokenNumber", "tokenConstant", "tokenObject", "tokenEvent", "tokenKey", "tokenNull", "tokenStruct", "tokenPackage", "tokenOperator", "tokenEnumMember", "tokenRepo", "tokenSymbol", "tokenFile", "tokenModule", "tokenNamespace"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.element.isRequired]),
|
|
119
119
|
onClose: _propTypes.default.func,
|
|
120
120
|
className: _propTypes.default.string,
|
|
121
121
|
"aria-label": _propTypes.default.string,
|
|
@@ -242,6 +242,15 @@ EuiToast.__docgenInfo = {
|
|
|
242
242
|
}, {
|
|
243
243
|
"value": "\"clock\"",
|
|
244
244
|
"computed": false
|
|
245
|
+
}, {
|
|
246
|
+
"value": "\"cloudDrizzle\"",
|
|
247
|
+
"computed": false
|
|
248
|
+
}, {
|
|
249
|
+
"value": "\"cloudStormy\"",
|
|
250
|
+
"computed": false
|
|
251
|
+
}, {
|
|
252
|
+
"value": "\"cloudSunny\"",
|
|
253
|
+
"computed": false
|
|
245
254
|
}, {
|
|
246
255
|
"value": "\"compute\"",
|
|
247
256
|
"computed": false
|
|
@@ -308,6 +317,12 @@ EuiToast.__docgenInfo = {
|
|
|
308
317
|
}, {
|
|
309
318
|
"value": "\"document\"",
|
|
310
319
|
"computed": false
|
|
320
|
+
}, {
|
|
321
|
+
"value": "\"documentEdit\"",
|
|
322
|
+
"computed": false
|
|
323
|
+
}, {
|
|
324
|
+
"value": "\"documents\"",
|
|
325
|
+
"computed": false
|
|
311
326
|
}, {
|
|
312
327
|
"value": "\"dot\"",
|
|
313
328
|
"computed": false
|
|
@@ -959,6 +974,9 @@ EuiToast.__docgenInfo = {
|
|
|
959
974
|
}, {
|
|
960
975
|
"value": "\"timelionApp\"",
|
|
961
976
|
"computed": false
|
|
977
|
+
}, {
|
|
978
|
+
"value": "\"training\"",
|
|
979
|
+
"computed": false
|
|
962
980
|
}, {
|
|
963
981
|
"value": "\"trash\"",
|
|
964
982
|
"computed": false
|
|
@@ -977,6 +995,9 @@ EuiToast.__docgenInfo = {
|
|
|
977
995
|
}, {
|
|
978
996
|
"value": "\"vector\"",
|
|
979
997
|
"computed": false
|
|
998
|
+
}, {
|
|
999
|
+
"value": "\"videoPlayer\"",
|
|
1000
|
+
"computed": false
|
|
980
1001
|
}, {
|
|
981
1002
|
"value": "\"visArea\"",
|
|
982
1003
|
"computed": false
|
|
@@ -108,7 +108,7 @@ EuiToken.propTypes = {
|
|
|
108
108
|
/**
|
|
109
109
|
* An EUI icon type
|
|
110
110
|
*/
|
|
111
|
-
iconType: _propTypes.default.oneOfType([_propTypes.default.oneOf(["addDataApp", "advancedSettingsApp", "alert", "apmApp", "apmTrace", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "asterisk", "auditbeatApp", "beaker", "bell", "bolt", "boxesHorizontal", "boxesVertical", "branch", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "codeApp", "check", "checkInCircleFilled", "clock", "compute", "console", "consoleApp", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crosshairs", "crossInACircleFilled", "cut", "dashboardApp", "database", "dataVisualizer", "devToolsApp", "discoverApp", "document", "dot", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignLeft", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "exit", "expand", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "filebeatApp", "filter", "flag", "folderClosed", "folderOpen", "fullScreen", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "iInCircle", "importAction", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexSettings", "infraApp", "inputOutput", "inspect", "invert", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "link", "list", "listAdd", "lock", "lockOpen", "loggingApp", "logoAerospike", "logoApache", "logoAPM", "logoAppSearch", "logoAWS", "logoAWSMono", "logoAzure", "logoAzureMono", "logoBeats", "logoBusinessAnalytics", "logoCeph", "logoCloud", "logoCloudEnterprise", "logoCode", "logoCodesandbox", "logoCouchbase", "logoDocker", "logoDropwizard", "logoElastic", "logoElasticsearch", "logoElasticStack", "logoEnterpriseSearch", "logoEtcd", "logoGCP", "logoGCPMono", "logoGithub", "logoGmail", "logoGolang", "logoHAproxy", "logoIBM", "logoIBMMono", "logoKafka", "logoKibana", "logoKubernetes", "logoLogging", "logoLogstash", "logoMaps", "logoMemcached", "logoMetrics", "logoMongodb", "logoMySQL", "logoNginx", "logoOsquery", "logoPhp", "logoPostgres", "logoPrometheus", "logoRabbitmq", "logoRedis", "logoSecurity", "logoSiteSearch", "logoSketch", "logoSlack", "logoUptime", "logoWebhook", "logoWindows", "logstashFilter", "logstashIf", "logstashInput", "logstashOutput", "logstashQueue", "machineLearningApp", "magnet", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menuLeft", "menuRight", "merge", "metricbeatApp", "minusInCircle", "minusInCircleFilled", "monitoringApp", "moon", "node", "notebookApp", "number", "offline", "online", "packetbeatApp", "pause", "pencil", "pin", "pinFilled", "pipelineApp", "play", "plusInCircle", "plusInCircleFilled", "popout", "questionInCircle", "refresh", "reportingApp", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "securityAnalyticsApp", "securityApp", "shard", "share", "snowflake", "sortable", "sortDown", "sortLeft", "sortRight", "sortUp", "spacesApp", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "swatchInput", "symlink", "tableOfContents", "tag", "tear", "temperature", "timelionApp", "trash", "upgradeAssistantApp", "uptimeApp", "user", "usersRolesApp", "vector", "visArea", "visBarHorizontal", "visBarVertical", "visControls", "visGauge", "visGoal", "visHeatmap", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visualizeApp", "visVega", "visVisualBuilder", "watchesApp", "wrench", "tokenClass", "tokenProperty", "tokenEnum", "tokenVariable", "tokenMethod", "tokenAnnotation", "tokenException", "tokenInterface", "tokenParameter", "tokenField", "tokenElement", "tokenFunction", "tokenBoolean", "tokenString", "tokenArray", "tokenNumber", "tokenConstant", "tokenObject", "tokenEvent", "tokenKey", "tokenNull", "tokenStruct", "tokenPackage", "tokenOperator", "tokenEnumMember", "tokenRepo", "tokenSymbol", "tokenFile", "tokenModule", "tokenNamespace"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.element.isRequired]).isRequired,
|
|
111
|
+
iconType: _propTypes.default.oneOfType([_propTypes.default.oneOf(["addDataApp", "advancedSettingsApp", "alert", "apmApp", "apmTrace", "apps", "arrowDown", "arrowLeft", "arrowRight", "arrowUp", "asterisk", "auditbeatApp", "beaker", "bell", "bolt", "boxesHorizontal", "boxesVertical", "branch", "broom", "brush", "bug", "bullseye", "calendar", "canvasApp", "codeApp", "check", "checkInCircleFilled", "clock", "cloudDrizzle", "cloudStormy", "cloudSunny", "compute", "console", "consoleApp", "controlsHorizontal", "controlsVertical", "copy", "copyClipboard", "createAdvancedJob", "createMultiMetricJob", "createPopulationJob", "createSingleMetricJob", "cross", "crossClusterReplicationApp", "crosshairs", "crossInACircleFilled", "cut", "dashboardApp", "database", "dataVisualizer", "devToolsApp", "discoverApp", "document", "documentEdit", "documents", "dot", "editorAlignCenter", "editorAlignLeft", "editorAlignRight", "editorBold", "editorCodeBlock", "editorComment", "editorDistributeHorizontal", "editorDistributeVertical", "editorHeading", "editorItalic", "editorItemAlignLeft", "editorItemAlignBottom", "editorItemAlignCenter", "editorItemAlignMiddle", "editorItemAlignRight", "editorItemAlignTop", "editorLink", "editorOrderedList", "editorPositionBottomLeft", "editorPositionBottomRight", "editorPositionTopLeft", "editorPositionTopRight", "editorRedo", "editorStrike", "editorTable", "editorUnderline", "editorUndo", "editorUnorderedList", "email", "empty", "emsApp", "exit", "expand", "exportAction", "eye", "eyeClosed", "faceHappy", "faceNeutral", "faceSad", "filebeatApp", "filter", "flag", "folderClosed", "folderOpen", "fullScreen", "gear", "gisApp", "glasses", "globe", "grab", "grabHorizontal", "graphApp", "grid", "grokApp", "heart", "heartbeatApp", "heatmap", "help", "iInCircle", "importAction", "indexClose", "indexEdit", "indexFlush", "indexManagementApp", "indexMapping", "indexOpen", "indexPatternApp", "indexRollupApp", "indexSettings", "infraApp", "inputOutput", "inspect", "invert", "kqlField", "kqlFunction", "kqlOperand", "kqlSelector", "kqlValue", "link", "list", "listAdd", "lock", "lockOpen", "loggingApp", "logoAerospike", "logoApache", "logoAPM", "logoAppSearch", "logoAWS", "logoAWSMono", "logoAzure", "logoAzureMono", "logoBeats", "logoBusinessAnalytics", "logoCeph", "logoCloud", "logoCloudEnterprise", "logoCode", "logoCodesandbox", "logoCouchbase", "logoDocker", "logoDropwizard", "logoElastic", "logoElasticsearch", "logoElasticStack", "logoEnterpriseSearch", "logoEtcd", "logoGCP", "logoGCPMono", "logoGithub", "logoGmail", "logoGolang", "logoHAproxy", "logoIBM", "logoIBMMono", "logoKafka", "logoKibana", "logoKubernetes", "logoLogging", "logoLogstash", "logoMaps", "logoMemcached", "logoMetrics", "logoMongodb", "logoMySQL", "logoNginx", "logoOsquery", "logoPhp", "logoPostgres", "logoPrometheus", "logoRabbitmq", "logoRedis", "logoSecurity", "logoSiteSearch", "logoSketch", "logoSlack", "logoUptime", "logoWebhook", "logoWindows", "logstashFilter", "logstashIf", "logstashInput", "logstashOutput", "logstashQueue", "machineLearningApp", "magnet", "magnifyWithMinus", "magnifyWithPlus", "managementApp", "mapMarker", "memory", "menuLeft", "menuRight", "merge", "metricbeatApp", "minusInCircle", "minusInCircleFilled", "monitoringApp", "moon", "node", "notebookApp", "number", "offline", "online", "packetbeatApp", "pause", "pencil", "pin", "pinFilled", "pipelineApp", "play", "plusInCircle", "plusInCircleFilled", "popout", "questionInCircle", "refresh", "reportingApp", "save", "savedObjectsApp", "scale", "search", "searchProfilerApp", "securityAnalyticsApp", "securityApp", "shard", "share", "snowflake", "sortable", "sortDown", "sortLeft", "sortRight", "sortUp", "spacesApp", "sqlApp", "starEmpty", "starEmptySpace", "starFilled", "starFilledSpace", "starMinusEmpty", "starMinusFilled", "starPlusEmpty", "starPlusFilled", "stats", "stop", "stopFilled", "stopSlash", "storage", "string", "submodule", "swatchInput", "symlink", "tableOfContents", "tag", "tear", "temperature", "timelionApp", "training", "trash", "upgradeAssistantApp", "uptimeApp", "user", "usersRolesApp", "vector", "videoPlayer", "visArea", "visBarHorizontal", "visBarVertical", "visControls", "visGauge", "visGoal", "visHeatmap", "visLine", "visMapCoordinate", "visMapRegion", "visMetric", "visPie", "visTable", "visTagCloud", "visText", "visTimelion", "visualizeApp", "visVega", "visVisualBuilder", "watchesApp", "wrench", "tokenClass", "tokenProperty", "tokenEnum", "tokenVariable", "tokenMethod", "tokenAnnotation", "tokenException", "tokenInterface", "tokenParameter", "tokenField", "tokenElement", "tokenFunction", "tokenBoolean", "tokenString", "tokenArray", "tokenNumber", "tokenConstant", "tokenObject", "tokenEvent", "tokenKey", "tokenNull", "tokenStruct", "tokenPackage", "tokenOperator", "tokenEnumMember", "tokenRepo", "tokenSymbol", "tokenFile", "tokenModule", "tokenNamespace"]).isRequired, _propTypes.default.string.isRequired, _propTypes.default.element.isRequired]).isRequired,
|
|
112
112
|
|
|
113
113
|
/**
|
|
114
114
|
* Size of the token
|
|
@@ -341,6 +341,15 @@ EuiToken.__docgenInfo = {
|
|
|
341
341
|
}, {
|
|
342
342
|
"value": "\"clock\"",
|
|
343
343
|
"computed": false
|
|
344
|
+
}, {
|
|
345
|
+
"value": "\"cloudDrizzle\"",
|
|
346
|
+
"computed": false
|
|
347
|
+
}, {
|
|
348
|
+
"value": "\"cloudStormy\"",
|
|
349
|
+
"computed": false
|
|
350
|
+
}, {
|
|
351
|
+
"value": "\"cloudSunny\"",
|
|
352
|
+
"computed": false
|
|
344
353
|
}, {
|
|
345
354
|
"value": "\"compute\"",
|
|
346
355
|
"computed": false
|
|
@@ -407,6 +416,12 @@ EuiToken.__docgenInfo = {
|
|
|
407
416
|
}, {
|
|
408
417
|
"value": "\"document\"",
|
|
409
418
|
"computed": false
|
|
419
|
+
}, {
|
|
420
|
+
"value": "\"documentEdit\"",
|
|
421
|
+
"computed": false
|
|
422
|
+
}, {
|
|
423
|
+
"value": "\"documents\"",
|
|
424
|
+
"computed": false
|
|
410
425
|
}, {
|
|
411
426
|
"value": "\"dot\"",
|
|
412
427
|
"computed": false
|
|
@@ -1058,6 +1073,9 @@ EuiToken.__docgenInfo = {
|
|
|
1058
1073
|
}, {
|
|
1059
1074
|
"value": "\"timelionApp\"",
|
|
1060
1075
|
"computed": false
|
|
1076
|
+
}, {
|
|
1077
|
+
"value": "\"training\"",
|
|
1078
|
+
"computed": false
|
|
1061
1079
|
}, {
|
|
1062
1080
|
"value": "\"trash\"",
|
|
1063
1081
|
"computed": false
|
|
@@ -1076,6 +1094,9 @@ EuiToken.__docgenInfo = {
|
|
|
1076
1094
|
}, {
|
|
1077
1095
|
"value": "\"vector\"",
|
|
1078
1096
|
"computed": false
|
|
1097
|
+
}, {
|
|
1098
|
+
"value": "\"videoPlayer\"",
|
|
1099
|
+
"computed": false
|
|
1079
1100
|
}, {
|
|
1080
1101
|
"value": "\"visArea\"",
|
|
1081
1102
|
"computed": false
|