@elastic/eui 60.1.1 → 60.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eui_charts_theme.js +330 -330
- package/dist/eui_charts_theme.js.map +1 -1
- package/es/components/selectable/selectable_list/selectable_list.js +2 -0
- package/es/components/text/text.js +2 -0
- package/lib/components/datagrid/utils/focus.js +1 -0
- package/lib/components/selectable/selectable_list/selectable_list.js +2 -0
- package/lib/components/text/text.js +2 -0
- package/optimize/es/components/datagrid/utils/focus.js +1 -0
- package/optimize/es/components/selectable/selectable_list/selectable_list.js +2 -0
- package/optimize/es/components/text/text.js +2 -0
- package/optimize/lib/components/datagrid/utils/focus.js +1 -0
- package/optimize/lib/components/selectable/selectable_list/selectable_list.js +2 -0
- package/optimize/lib/components/text/text.js +2 -0
- package/package.json +1 -1
- package/test-env/components/datagrid/utils/focus.js +1 -0
- package/test-env/components/selectable/selectable_list/selectable_list.js +2 -0
- package/test-env/components/text/text.js +2 -0
|
@@ -172,6 +172,8 @@ export var EuiSelectableList = /*#__PURE__*/function (_Component) {
|
|
|
172
172
|
setActiveOptionIndex(index);
|
|
173
173
|
},
|
|
174
174
|
onClick: function onClick(event) {
|
|
175
|
+
event.persist(); // NOTE: This is needed for React v16 backwards compatibility
|
|
176
|
+
|
|
175
177
|
_this.onAddOrRemoveOption(option, event);
|
|
176
178
|
},
|
|
177
179
|
ref: ref ? ref.bind(null, index) : undefined,
|
|
@@ -46,6 +46,7 @@ export var EuiText = function EuiText(_ref) {
|
|
|
46
46
|
if (color) {
|
|
47
47
|
text = ___EmotionJSX(EuiTextColor, {
|
|
48
48
|
color: color,
|
|
49
|
+
className: classes,
|
|
49
50
|
cloneElement: true
|
|
50
51
|
}, text);
|
|
51
52
|
}
|
|
@@ -53,6 +54,7 @@ export var EuiText = function EuiText(_ref) {
|
|
|
53
54
|
if (textAlign) {
|
|
54
55
|
text = ___EmotionJSX(EuiTextAlign, {
|
|
55
56
|
textAlign: textAlign,
|
|
57
|
+
className: classes,
|
|
56
58
|
cloneElement: true
|
|
57
59
|
}, text);
|
|
58
60
|
}
|
|
@@ -186,6 +186,8 @@ var EuiSelectableList = /*#__PURE__*/function (_Component) {
|
|
|
186
186
|
setActiveOptionIndex(index);
|
|
187
187
|
},
|
|
188
188
|
onClick: function onClick(event) {
|
|
189
|
+
event.persist(); // NOTE: This is needed for React v16 backwards compatibility
|
|
190
|
+
|
|
189
191
|
_this.onAddOrRemoveOption(option, event);
|
|
190
192
|
},
|
|
191
193
|
ref: ref ? ref.bind(null, index) : undefined,
|
|
@@ -57,6 +57,7 @@ var EuiText = function EuiText(_ref) {
|
|
|
57
57
|
if (color) {
|
|
58
58
|
text = (0, _react2.jsx)(_text_color.EuiTextColor, {
|
|
59
59
|
color: color,
|
|
60
|
+
className: classes,
|
|
60
61
|
cloneElement: true
|
|
61
62
|
}, text);
|
|
62
63
|
}
|
|
@@ -64,6 +65,7 @@ var EuiText = function EuiText(_ref) {
|
|
|
64
65
|
if (textAlign) {
|
|
65
66
|
text = (0, _react2.jsx)(_text_align.EuiTextAlign, {
|
|
66
67
|
textAlign: textAlign,
|
|
68
|
+
className: classes,
|
|
67
69
|
cloneElement: true
|
|
68
70
|
}, text);
|
|
69
71
|
}
|
|
@@ -154,6 +154,8 @@ export var EuiSelectableList = /*#__PURE__*/function (_Component) {
|
|
|
154
154
|
setActiveOptionIndex(index);
|
|
155
155
|
},
|
|
156
156
|
onClick: function onClick(event) {
|
|
157
|
+
event.persist(); // NOTE: This is needed for React v16 backwards compatibility
|
|
158
|
+
|
|
157
159
|
_this.onAddOrRemoveOption(option, event);
|
|
158
160
|
},
|
|
159
161
|
ref: ref ? ref.bind(null, index) : undefined,
|
|
@@ -41,6 +41,7 @@ export var EuiText = function EuiText(_ref) {
|
|
|
41
41
|
if (color) {
|
|
42
42
|
text = ___EmotionJSX(EuiTextColor, {
|
|
43
43
|
color: color,
|
|
44
|
+
className: classes,
|
|
44
45
|
cloneElement: true
|
|
45
46
|
}, text);
|
|
46
47
|
}
|
|
@@ -48,6 +49,7 @@ export var EuiText = function EuiText(_ref) {
|
|
|
48
49
|
if (textAlign) {
|
|
49
50
|
text = ___EmotionJSX(EuiTextAlign, {
|
|
50
51
|
textAlign: textAlign,
|
|
52
|
+
className: classes,
|
|
51
53
|
cloneElement: true
|
|
52
54
|
}, text);
|
|
53
55
|
}
|
|
@@ -170,6 +170,8 @@ var EuiSelectableList = /*#__PURE__*/function (_Component) {
|
|
|
170
170
|
setActiveOptionIndex(index);
|
|
171
171
|
},
|
|
172
172
|
onClick: function onClick(event) {
|
|
173
|
+
event.persist(); // NOTE: This is needed for React v16 backwards compatibility
|
|
174
|
+
|
|
173
175
|
_this.onAddOrRemoveOption(option, event);
|
|
174
176
|
},
|
|
175
177
|
ref: ref ? ref.bind(null, index) : undefined,
|
|
@@ -51,6 +51,7 @@ var EuiText = function EuiText(_ref) {
|
|
|
51
51
|
if (color) {
|
|
52
52
|
text = (0, _react2.jsx)(_text_color.EuiTextColor, {
|
|
53
53
|
color: color,
|
|
54
|
+
className: classes,
|
|
54
55
|
cloneElement: true
|
|
55
56
|
}, text);
|
|
56
57
|
}
|
|
@@ -58,6 +59,7 @@ var EuiText = function EuiText(_ref) {
|
|
|
58
59
|
if (textAlign) {
|
|
59
60
|
text = (0, _react2.jsx)(_text_align.EuiTextAlign, {
|
|
60
61
|
textAlign: textAlign,
|
|
62
|
+
className: classes,
|
|
61
63
|
cloneElement: true
|
|
62
64
|
}, text);
|
|
63
65
|
}
|
package/package.json
CHANGED
|
@@ -172,6 +172,8 @@ var EuiSelectableList = /*#__PURE__*/function (_Component) {
|
|
|
172
172
|
setActiveOptionIndex(index);
|
|
173
173
|
},
|
|
174
174
|
onClick: function onClick(event) {
|
|
175
|
+
event.persist(); // NOTE: This is needed for React v16 backwards compatibility
|
|
176
|
+
|
|
175
177
|
_this.onAddOrRemoveOption(option, event);
|
|
176
178
|
},
|
|
177
179
|
ref: ref ? ref.bind(null, index) : undefined,
|
|
@@ -53,6 +53,7 @@ var EuiText = function EuiText(_ref) {
|
|
|
53
53
|
if (color) {
|
|
54
54
|
text = (0, _react2.jsx)(_text_color.EuiTextColor, {
|
|
55
55
|
color: color,
|
|
56
|
+
className: classes,
|
|
56
57
|
cloneElement: true
|
|
57
58
|
}, text);
|
|
58
59
|
}
|
|
@@ -60,6 +61,7 @@ var EuiText = function EuiText(_ref) {
|
|
|
60
61
|
if (textAlign) {
|
|
61
62
|
text = (0, _react2.jsx)(_text_align.EuiTextAlign, {
|
|
62
63
|
textAlign: textAlign,
|
|
64
|
+
className: classes,
|
|
63
65
|
cloneElement: true
|
|
64
66
|
}, text);
|
|
65
67
|
}
|