@elastic/eui 95.12.0 → 96.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/es/components/breadcrumbs/_breadcrumb_content.js +2 -0
- package/es/components/breadcrumbs/breadcrumbs.js +2 -0
- package/es/components/datagrid/body/cell/data_grid_cell.styles.js +3 -1
- package/es/components/datagrid/controls/column_selector.js +2 -2
- package/es/components/datagrid/controls/column_selector.styles.js +2 -2
- package/es/components/datagrid/controls/column_sorting.js +0 -1
- package/es/components/datagrid/controls/column_sorting.styles.js +2 -2
- package/es/components/datagrid/controls/column_sorting_draggable.js +2 -1
- package/es/components/drag_and_drop/draggable.js +15 -2
- package/es/components/header/header_breadcrumbs/header_breadcrumbs.js +2 -0
- package/es/components/header/header_links/header_links.js +2 -0
- package/es/components/page/page_header/page_header_content.js +32 -31
- package/es/components/page/page_header/page_header_content.styles.js +28 -16
- package/es/components/popover/popover.js +2 -0
- package/es/components/provider/system_color_mode/system_color_mode_provider.js +3 -3
- package/es/components/search_bar/search_box.js +2 -3
- package/es/components/tour/tour_step.js +2 -0
- package/eui.d.ts +23 -6
- package/i18ntokens.json +56 -56
- package/lib/components/breadcrumbs/_breadcrumb_content.js +2 -0
- package/lib/components/datagrid/body/cell/data_grid_cell.styles.js +3 -1
- package/lib/components/datagrid/controls/column_selector.js +2 -2
- package/lib/components/datagrid/controls/column_selector.styles.js +1 -1
- package/lib/components/datagrid/controls/column_sorting.js +0 -1
- package/lib/components/datagrid/controls/column_sorting.styles.js +1 -1
- package/lib/components/datagrid/controls/column_sorting_draggable.js +2 -1
- package/lib/components/drag_and_drop/draggable.js +15 -2
- package/lib/components/page/page_header/page_header_content.js +29 -30
- package/lib/components/page/page_header/page_header_content.styles.js +28 -16
- package/lib/components/popover/popover.js +2 -0
- package/lib/components/provider/system_color_mode/system_color_mode_provider.js +3 -3
- package/lib/components/search_bar/search_box.js +1 -2
- package/optimize/es/components/datagrid/body/cell/data_grid_cell.styles.js +3 -1
- package/optimize/es/components/datagrid/controls/column_selector.js +2 -2
- package/optimize/es/components/datagrid/controls/column_selector.styles.js +2 -2
- package/optimize/es/components/datagrid/controls/column_sorting.js +0 -1
- package/optimize/es/components/datagrid/controls/column_sorting.styles.js +2 -2
- package/optimize/es/components/datagrid/controls/column_sorting_draggable.js +2 -1
- package/optimize/es/components/drag_and_drop/draggable.js +6 -2
- package/optimize/es/components/page/page_header/page_header_content.js +26 -28
- package/optimize/es/components/page/page_header/page_header_content.styles.js +28 -16
- package/optimize/es/components/provider/system_color_mode/system_color_mode_provider.js +3 -3
- package/optimize/es/components/search_bar/search_box.js +2 -3
- package/optimize/lib/components/datagrid/body/cell/data_grid_cell.styles.js +3 -1
- package/optimize/lib/components/datagrid/controls/column_selector.js +2 -2
- package/optimize/lib/components/datagrid/controls/column_selector.styles.js +1 -1
- package/optimize/lib/components/datagrid/controls/column_sorting.js +0 -1
- package/optimize/lib/components/datagrid/controls/column_sorting.styles.js +1 -1
- package/optimize/lib/components/datagrid/controls/column_sorting_draggable.js +2 -1
- package/optimize/lib/components/drag_and_drop/draggable.js +6 -2
- package/optimize/lib/components/page/page_header/page_header_content.js +25 -27
- package/optimize/lib/components/page/page_header/page_header_content.styles.js +28 -16
- package/optimize/lib/components/provider/system_color_mode/system_color_mode_provider.js +3 -3
- package/optimize/lib/components/search_bar/search_box.js +1 -2
- package/package.json +1 -1
- package/src/global_styling/mixins/_form.scss +0 -245
- package/src/global_styling/mixins/_index.scss +0 -3
- package/src/global_styling/mixins/_states.scss +0 -33
- package/src/global_styling/mixins/_tool_tip.scss +4 -4
- package/src/global_styling/variables/_buttons.scss +4 -5
- package/src/global_styling/variables/_form.scss +0 -38
- package/src/global_styling/variables/_index.scss +0 -3
- package/src/themes/amsterdam/global_styling/mixins/_index.scss +0 -3
- package/src/themes/amsterdam/global_styling/mixins/_states.scss +0 -33
- package/src/themes/amsterdam/global_styling/variables/_index.scss +0 -2
- package/test-env/components/breadcrumbs/_breadcrumb_content.js +2 -0
- package/test-env/components/datagrid/body/cell/data_grid_cell.styles.js +3 -1
- package/test-env/components/datagrid/controls/column_selector.js +2 -2
- package/test-env/components/datagrid/controls/column_selector.styles.js +1 -1
- package/test-env/components/datagrid/controls/column_sorting.js +0 -1
- package/test-env/components/datagrid/controls/column_sorting.styles.js +1 -1
- package/test-env/components/datagrid/controls/column_sorting_draggable.js +2 -1
- package/test-env/components/drag_and_drop/draggable.js +15 -2
- package/test-env/components/page/page_header/page_header_content.js +29 -30
- package/test-env/components/page/page_header/page_header_content.styles.js +28 -16
- package/test-env/components/popover/popover.js +2 -0
- package/test-env/components/provider/system_color_mode/system_color_mode_provider.js +3 -3
- package/test-env/components/search_bar/search_box.js +1 -2
- package/dist/eui_theme_dark.css +0 -173
- package/dist/eui_theme_dark.min.css +0 -1
- package/dist/eui_theme_light.css +0 -173
- package/dist/eui_theme_light.min.css +0 -1
- package/src/global_styling/mixins/_link.scss +0 -11
- package/src/global_styling/mixins/_loading.scss +0 -6
- package/src/global_styling/mixins/_range.scss +0 -62
- package/src/global_styling/variables/_page.scss +0 -2
- package/src/global_styling/variables/_panel.scss +0 -21
- package/src/global_styling/variables/_tool_tip.scss +0 -9
- package/src/themes/amsterdam/global_styling/mixins/_link.scss +0 -23
- package/src/themes/amsterdam/global_styling/variables/_buttons.scss +0 -4
- package/src/themes/amsterdam/global_styling/variables/_page.scss +0 -1
- package/src/themes/legacy/_colors_dark.scss +0 -49
- package/src/themes/legacy/_colors_light.scss +0 -49
- package/src/themes/legacy/_globals.scss +0 -11
- package/src/themes/legacy/legacy_dark.scss +0 -11
- package/src/themes/legacy/legacy_light.scss +0 -11
- package/src/themes/legacy/reset/_index.scss +0 -2
- package/src/themes/legacy/reset/_reset.scss +0 -161
- package/src/themes/legacy/reset/_scrollbar.scss +0 -6
|
@@ -16,8 +16,9 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
|
16
16
|
var _services = require("../../services");
|
|
17
17
|
var _droppable = require("./droppable");
|
|
18
18
|
var _draggable = require("./draggable.styles");
|
|
19
|
+
var _portal = require("../portal");
|
|
19
20
|
var _react2 = require("@emotion/react");
|
|
20
|
-
var _excluded = ["customDragHandle", "draggableId", "isDragDisabled", "hasInteractiveChildren", "isRemovable", "index", "children", "className", "spacing", "style", "data-test-subj"];
|
|
21
|
+
var _excluded = ["customDragHandle", "draggableId", "isDragDisabled", "hasInteractiveChildren", "isRemovable", "usePortal", "index", "children", "className", "spacing", "style", "data-test-subj"];
|
|
21
22
|
/*
|
|
22
23
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
23
24
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
@@ -39,6 +40,8 @@ var EuiDraggable = exports.EuiDraggable = function EuiDraggable(_ref) {
|
|
|
39
40
|
hasInteractiveChildren = _ref$hasInteractiveCh === void 0 ? false : _ref$hasInteractiveCh,
|
|
40
41
|
_ref$isRemovable = _ref.isRemovable,
|
|
41
42
|
isRemovable = _ref$isRemovable === void 0 ? false : _ref$isRemovable,
|
|
43
|
+
_ref$usePortal = _ref.usePortal,
|
|
44
|
+
usePortal = _ref$usePortal === void 0 ? false : _ref$usePortal,
|
|
42
45
|
index = _ref.index,
|
|
43
46
|
children = _ref.children,
|
|
44
47
|
className = _ref.className,
|
|
@@ -65,7 +68,7 @@ var EuiDraggable = exports.EuiDraggable = function EuiDraggable(_ref) {
|
|
|
65
68
|
'euiDraggable__item-isDisabled': isDragDisabled
|
|
66
69
|
});
|
|
67
70
|
var DraggableElement = typeof children === 'function' ? children(provided, snapshot, rubric) : children;
|
|
68
|
-
|
|
71
|
+
var content = (0, _react2.jsx)(_react.default.Fragment, null, (0, _react2.jsx)("div", (0, _extends2.default)({}, provided.draggableProps, !customDragHandle ? provided.dragHandleProps : {}, {
|
|
69
72
|
ref: provided.innerRef,
|
|
70
73
|
"data-test-subj": dataTestSubj,
|
|
71
74
|
className: classes,
|
|
@@ -87,6 +90,7 @@ var EuiDraggable = exports.EuiDraggable = function EuiDraggable(_ref) {
|
|
|
87
90
|
className: (0, _classnames.default)(classes, 'euiDraggable--clone'),
|
|
88
91
|
css: cssStyles
|
|
89
92
|
}, DraggableElement));
|
|
93
|
+
return isDragging && usePortal ? (0, _react2.jsx)(_portal.EuiPortal, null, content) : content;
|
|
90
94
|
});
|
|
91
95
|
};
|
|
92
96
|
EuiDraggable.propTypes = {
|
|
@@ -108,6 +112,15 @@ EuiDraggable.propTypes = {
|
|
|
108
112
|
* Whether the item is currently in a position to be removed
|
|
109
113
|
*/
|
|
110
114
|
isRemovable: _propTypes.default.bool,
|
|
115
|
+
/**
|
|
116
|
+
* Whether the currently dragged item is cloned into a portal in the body. This settings will
|
|
117
|
+
* ensure that drag & drop still works as expected within stacking contexts (e.g. within `EuiFlyout`,
|
|
118
|
+
* `EuiModal` and `EuiPopover`).
|
|
119
|
+
*
|
|
120
|
+
* Make sure to apply styles directly to the Draggable content as relative styling from an outside
|
|
121
|
+
* scope might not be applied when the content is placed in a portal as the DOM structure changes.
|
|
122
|
+
*/
|
|
123
|
+
usePortal: _propTypes.default.bool,
|
|
111
124
|
/**
|
|
112
125
|
* Adds padding to the draggable item
|
|
113
126
|
*/
|
|
@@ -68,10 +68,9 @@ var EuiPageHeaderContent = exports.EuiPageHeaderContent = function EuiPageHeader
|
|
|
68
68
|
style = _ref.style,
|
|
69
69
|
rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
70
70
|
var isResponsiveBreakpoint = (0, _services.useIsWithinBreakpoints)(['xs', 's'], !!responsive);
|
|
71
|
-
var useTheme = (0, _services.useEuiTheme)();
|
|
72
71
|
var classes = (0, _classnames.default)('euiPageHeaderContent', className);
|
|
73
|
-
var pageHeaderStyles = (0, _page_header.euiPageHeaderStyles)
|
|
74
|
-
var contentStyles = (0, _page_header_content.euiPageHeaderContentStyles)
|
|
72
|
+
var pageHeaderStyles = (0, _services.useEuiMemoizedStyles)(_page_header.euiPageHeaderStyles);
|
|
73
|
+
var contentStyles = (0, _services.useEuiMemoizedStyles)(_page_header_content.euiPageHeaderContentStyles);
|
|
75
74
|
var styles = (0, _restrict_width.setStyleForRestrictedPageWidth)(restrictWidth, style);
|
|
76
75
|
var paddingSides = 'vertical';
|
|
77
76
|
var paddingSize = _paddingSize;
|
|
@@ -94,7 +93,7 @@ var EuiPageHeaderContent = exports.EuiPageHeaderContent = function EuiPageHeader
|
|
|
94
93
|
}
|
|
95
94
|
var blockPadding = (0, _global_styling.useEuiPaddingCSS)(paddingSides);
|
|
96
95
|
var cssStyles = [contentStyles.euiPageHeaderContent, bottomBorder && pageHeaderStyles.border, blockPadding[paddingSize]];
|
|
97
|
-
var childrenOnlyStyles = [contentStyles.flex, contentStyles[alignItems || 'center'],
|
|
96
|
+
var childrenOnlyStyles = [contentStyles.childrenOnly.flex, contentStyles[alignItems || 'center'], isResponsiveBreakpoint && responsive && (responsive === 'reverse' ? contentStyles.childrenOnly.responsiveReverse : contentStyles.childrenOnly.responsive)];
|
|
98
97
|
|
|
99
98
|
// Don't go any further if there's no other content than children
|
|
100
99
|
if (onlyChildren) {
|
|
@@ -153,10 +152,10 @@ var EuiPageHeaderContent = exports.EuiPageHeaderContent = function EuiPageHeader
|
|
|
153
152
|
}
|
|
154
153
|
var childrenNode = children && (0, _react2.jsx)(_react.default.Fragment, null, (0, _react2.jsx)(_spacer.EuiSpacer, null), children);
|
|
155
154
|
var bottomContentNode;
|
|
156
|
-
if (
|
|
155
|
+
if (tabsNode && pageTitleNode) {
|
|
157
156
|
bottomContentNode = (0, _react2.jsx)("div", {
|
|
158
157
|
className: "euiPageHeaderContent__bottom"
|
|
159
|
-
},
|
|
158
|
+
}, pageTitleNode && tabsNode);
|
|
160
159
|
}
|
|
161
160
|
|
|
162
161
|
/**
|
|
@@ -165,10 +164,14 @@ var EuiPageHeaderContent = exports.EuiPageHeaderContent = function EuiPageHeader
|
|
|
165
164
|
*/
|
|
166
165
|
var leftSideOrder;
|
|
167
166
|
if (tabsNode && !pageTitleNode) {
|
|
168
|
-
leftSideOrder = (0, _react2.jsx)(_react.default.Fragment, null, tabsNode, descriptionNode);
|
|
167
|
+
leftSideOrder = (0, _react2.jsx)(_react.default.Fragment, null, tabsNode, descriptionNode, childrenNode);
|
|
169
168
|
} else {
|
|
170
|
-
leftSideOrder = (0, _react2.jsx)(_react.default.Fragment, null, pageTitleNode, descriptionNode);
|
|
169
|
+
leftSideOrder = (0, _react2.jsx)(_react.default.Fragment, null, pageTitleNode, descriptionNode, childrenNode);
|
|
171
170
|
}
|
|
171
|
+
var leftSideFlexItem = (0, _react2.jsx)(_flex.EuiFlexItem, {
|
|
172
|
+
grow: 2,
|
|
173
|
+
css: contentStyles.euiPageHeaderContent__leftSideItems
|
|
174
|
+
}, leftSideOrder);
|
|
172
175
|
var rightSideFlexItem;
|
|
173
176
|
if (rightSideItems && rightSideItems.length) {
|
|
174
177
|
var itemsToRender = isResponsiveBreakpoint ? rightSideItems : (0, _toConsumableArray2.default)(rightSideItems).reverse();
|
|
@@ -178,32 +181,27 @@ var EuiPageHeaderContent = exports.EuiPageHeaderContent = function EuiPageHeader
|
|
|
178
181
|
key: index
|
|
179
182
|
}, item);
|
|
180
183
|
});
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
}, rightSideGroupProps
|
|
184
|
+
var _cssStyles = [contentStyles.euiPageHeaderContent__rightSideItems, rightSideGroupProps === null || rightSideGroupProps === void 0 ? void 0 : rightSideGroupProps.css];
|
|
185
|
+
rightSideFlexItem = (0, _react2.jsx)(_flex.EuiFlexGroup, (0, _extends2.default)({
|
|
186
|
+
gutterSize: "l",
|
|
187
|
+
responsive: false,
|
|
188
|
+
wrap: true
|
|
189
|
+
}, rightSideGroupProps, {
|
|
190
|
+
css: _cssStyles
|
|
191
|
+
}), rightSideFlexItems);
|
|
187
192
|
}
|
|
188
|
-
return
|
|
189
|
-
className: classes,
|
|
190
|
-
css: cssStyles,
|
|
191
|
-
style: styles
|
|
192
|
-
}, rest), optionalBreadcrumbs, (0, _react2.jsx)(_flex.EuiFlexGroup, {
|
|
193
|
-
responsive: !!responsive,
|
|
194
|
-
className: "euiPageHeaderContent__top",
|
|
195
|
-
alignItems: pageTitle ? 'flexStart' : 'baseline',
|
|
196
|
-
gutterSize: "l"
|
|
197
|
-
}, isResponsiveBreakpoint && responsive === 'reverse' ? (0, _react2.jsx)(_react.default.Fragment, null, rightSideFlexItem, (0, _react2.jsx)(_flex.EuiFlexItem, null, leftSideOrder)) : (0, _react2.jsx)(_react.default.Fragment, null, (0, _react2.jsx)(_flex.EuiFlexItem, null, leftSideOrder), rightSideFlexItem)), bottomContentNode) : (0, _react2.jsx)("div", (0, _extends2.default)({
|
|
193
|
+
return (0, _react2.jsx)("div", (0, _extends2.default)({
|
|
198
194
|
className: classes,
|
|
199
195
|
css: cssStyles,
|
|
200
196
|
style: styles
|
|
201
197
|
}, rest), optionalBreadcrumbs, (0, _react2.jsx)(_flex.EuiFlexGroup, {
|
|
202
198
|
responsive: !!responsive,
|
|
199
|
+
css: contentStyles.euiPageHeaderContent__top,
|
|
203
200
|
className: "euiPageHeaderContent__top",
|
|
204
|
-
alignItems: alignItems === 'bottom' ? 'flexEnd' : alignItems,
|
|
205
|
-
gutterSize: "l"
|
|
206
|
-
|
|
201
|
+
alignItems: alignItems === 'bottom' ? 'flexEnd' : alignItems === 'top' ? 'flexStart' : alignItems,
|
|
202
|
+
gutterSize: "l",
|
|
203
|
+
wrap: true
|
|
204
|
+
}, isResponsiveBreakpoint && responsive === 'reverse' ? (0, _react2.jsx)(_react.default.Fragment, null, rightSideFlexItem, leftSideFlexItem) : (0, _react2.jsx)(_react.default.Fragment, null, leftSideFlexItem, rightSideFlexItem)), bottomContentNode);
|
|
207
205
|
};
|
|
208
206
|
EuiPageHeaderContent.propTypes = {
|
|
209
207
|
className: _propTypes.default.string,
|
|
@@ -211,7 +209,8 @@ EuiPageHeaderContent.propTypes = {
|
|
|
211
209
|
"data-test-subj": _propTypes.default.string,
|
|
212
210
|
css: _propTypes.default.any,
|
|
213
211
|
/**
|
|
214
|
-
*
|
|
212
|
+
* If not set, defaults to true if `tabs` are passed and render at the bottom of the page.
|
|
213
|
+
* Otherwise, defaults to false.
|
|
215
214
|
*/
|
|
216
215
|
bottomBorder: _propTypes.default.bool,
|
|
217
216
|
/**
|
|
@@ -231,8 +230,8 @@ EuiPageHeaderContent.propTypes = {
|
|
|
231
230
|
alignItems: _propTypes.default.any,
|
|
232
231
|
/**
|
|
233
232
|
* Pass custom an array of content to this side usually up to 3 buttons.
|
|
234
|
-
* The first button should be primary, usually with `fill
|
|
235
|
-
* but
|
|
233
|
+
* The first button should be primary, usually with `fill`. At larger breakpoints, items will
|
|
234
|
+
* render from right to left, but will collapse vertically and render left to right on smaller mobile screens.
|
|
236
235
|
*/
|
|
237
236
|
rightSideItems: _propTypes.default.arrayOf(_propTypes.default.node.isRequired),
|
|
238
237
|
/**
|
|
@@ -14,6 +14,14 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
|
|
|
14
14
|
* Side Public License, v 1.
|
|
15
15
|
*/
|
|
16
16
|
var _ref = process.env.NODE_ENV === "production" ? {
|
|
17
|
+
name: "1574q9m-euiPageHeaderContent__top",
|
|
18
|
+
styles: "container-type:inline-size;label:euiPageHeaderContent__top;"
|
|
19
|
+
} : {
|
|
20
|
+
name: "1574q9m-euiPageHeaderContent__top",
|
|
21
|
+
styles: "container-type:inline-size;label:euiPageHeaderContent__top;",
|
|
22
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
23
|
+
};
|
|
24
|
+
var _ref2 = process.env.NODE_ENV === "production" ? {
|
|
17
25
|
name: "1ajq27l-responsiveReverse",
|
|
18
26
|
styles: "flex-direction:column-reverse;align-items:flex-start;label:responsiveReverse;"
|
|
19
27
|
} : {
|
|
@@ -21,7 +29,7 @@ var _ref = process.env.NODE_ENV === "production" ? {
|
|
|
21
29
|
styles: "flex-direction:column-reverse;align-items:flex-start;label:responsiveReverse;",
|
|
22
30
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
23
31
|
};
|
|
24
|
-
var
|
|
32
|
+
var _ref3 = process.env.NODE_ENV === "production" ? {
|
|
25
33
|
name: "177mkz8-responsive",
|
|
26
34
|
styles: "flex-direction:column;align-items:flex-start;label:responsive;"
|
|
27
35
|
} : {
|
|
@@ -29,7 +37,7 @@ var _ref2 = process.env.NODE_ENV === "production" ? {
|
|
|
29
37
|
styles: "flex-direction:column;align-items:flex-start;label:responsive;",
|
|
30
38
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
31
39
|
};
|
|
32
|
-
var
|
|
40
|
+
var _ref4 = process.env.NODE_ENV === "production" ? {
|
|
33
41
|
name: "1uwc4oj-stretch",
|
|
34
42
|
styles: "align-items:stretch;label:stretch;"
|
|
35
43
|
} : {
|
|
@@ -37,7 +45,7 @@ var _ref3 = process.env.NODE_ENV === "production" ? {
|
|
|
37
45
|
styles: "align-items:stretch;label:stretch;",
|
|
38
46
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
39
47
|
};
|
|
40
|
-
var
|
|
48
|
+
var _ref5 = process.env.NODE_ENV === "production" ? {
|
|
41
49
|
name: "8391db-center",
|
|
42
50
|
styles: "align-items:center;label:center;"
|
|
43
51
|
} : {
|
|
@@ -45,7 +53,7 @@ var _ref4 = process.env.NODE_ENV === "production" ? {
|
|
|
45
53
|
styles: "align-items:center;label:center;",
|
|
46
54
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
47
55
|
};
|
|
48
|
-
var
|
|
56
|
+
var _ref6 = process.env.NODE_ENV === "production" ? {
|
|
49
57
|
name: "1msaet2-bottom",
|
|
50
58
|
styles: "align-items:flex-end;label:bottom;"
|
|
51
59
|
} : {
|
|
@@ -53,7 +61,7 @@ var _ref5 = process.env.NODE_ENV === "production" ? {
|
|
|
53
61
|
styles: "align-items:flex-end;label:bottom;",
|
|
54
62
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
55
63
|
};
|
|
56
|
-
var
|
|
64
|
+
var _ref7 = process.env.NODE_ENV === "production" ? {
|
|
57
65
|
name: "1gnwbvd-top",
|
|
58
66
|
styles: "align-items:flex-start;label:top;"
|
|
59
67
|
} : {
|
|
@@ -61,21 +69,25 @@ var _ref6 = process.env.NODE_ENV === "production" ? {
|
|
|
61
69
|
styles: "align-items:flex-start;label:top;",
|
|
62
70
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
63
71
|
};
|
|
64
|
-
var euiPageHeaderContentStyles = exports.euiPageHeaderContentStyles = function euiPageHeaderContentStyles(
|
|
65
|
-
var euiTheme =
|
|
72
|
+
var euiPageHeaderContentStyles = exports.euiPageHeaderContentStyles = function euiPageHeaderContentStyles(_ref8) {
|
|
73
|
+
var euiTheme = _ref8.euiTheme;
|
|
66
74
|
return {
|
|
67
75
|
euiPageHeaderContent: /*#__PURE__*/(0, _react.css)((0, _global_styling.logicalCSS)('width', '100%'), " ", (0, _global_styling.logicalCSS)('margin-horizontal', 'auto'), ";;label:euiPageHeaderContent;"),
|
|
68
76
|
// alignItems
|
|
69
|
-
top:
|
|
70
|
-
bottom:
|
|
71
|
-
center:
|
|
72
|
-
stretch:
|
|
77
|
+
top: _ref7,
|
|
78
|
+
bottom: _ref6,
|
|
79
|
+
center: _ref5,
|
|
80
|
+
stretch: _ref4,
|
|
73
81
|
// Children only (legacy) expects EuiPageHeaderSections as children
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
82
|
+
childrenOnly: {
|
|
83
|
+
flex: /*#__PURE__*/(0, _react.css)("flex-direction:row;display:flex;gap:", euiTheme.size.base, ";justify-content:space-between;;label:flex;"),
|
|
84
|
+
// Responsive (what to do at the smaller breakpoint)
|
|
85
|
+
responsive: _ref3,
|
|
86
|
+
responsiveReverse: _ref2
|
|
87
|
+
},
|
|
88
|
+
euiPageHeaderContent__top: _ref,
|
|
89
|
+
euiPageHeaderContent__leftSideItems: /*#__PURE__*/(0, _react.css)("@container (max-width: ", euiTheme.breakpoint.m, "px){", (0, _global_styling.logicalCSS)('min-width', '50%'), ";};label:euiPageHeaderContent__leftSideItems;"),
|
|
90
|
+
euiPageHeaderContent__rightSideItems: /*#__PURE__*/(0, _react.css)("flex:0 1 auto;align-content:flex-start;@container (min-width: ", euiTheme.breakpoint.m, "px){", (0, _global_styling.logicalCSS)('max-width', '50%'), " justify-content:flex-end;};label:euiPageHeaderContent__rightSideItems;"),
|
|
79
91
|
euiPageHeaderContent__titleIcon: /*#__PURE__*/(0, _react.css)("position:relative;", (0, _global_styling.logicalCSS)('top', "-".concat(euiTheme.size.xs)), " ", (0, _global_styling.logicalCSS)('margin-right', euiTheme.size.base), ";;label:euiPageHeaderContent__titleIcon;")
|
|
80
92
|
};
|
|
81
93
|
};
|
|
@@ -639,6 +639,8 @@ EuiPopover.propTypes = {
|
|
|
639
639
|
/**
|
|
640
640
|
* Must be set to true if using `EuiDragDropContext` within a popover,
|
|
641
641
|
* otherwise your nested drag & drop will have incorrect positioning
|
|
642
|
+
*
|
|
643
|
+
* @deprecated - use `usePortal` prop on children `EuiDraggable` components instead.
|
|
642
644
|
*/
|
|
643
645
|
hasDragDrop: _propTypes.default.bool,
|
|
644
646
|
/**
|
|
@@ -19,10 +19,10 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
|
19
19
|
var COLOR_MODE_MEDIA_QUERY = exports.COLOR_MODE_MEDIA_QUERY = '(prefers-color-scheme: dark)';
|
|
20
20
|
var EuiSystemColorModeProvider = exports.EuiSystemColorModeProvider = function EuiSystemColorModeProvider(_ref) {
|
|
21
21
|
var children = _ref.children;
|
|
22
|
-
//
|
|
22
|
+
// Check typeof and use optional chaining for SSR or test environments
|
|
23
23
|
var _useState = (0, _react.useState)(function () {
|
|
24
|
-
var _window, _window
|
|
25
|
-
return (_window = window) !== null && _window !== void 0 && (_window$matchMedia = _window.
|
|
24
|
+
var _window$matchMedia, _window;
|
|
25
|
+
return typeof window !== 'undefined' && (_window$matchMedia = (_window = window).matchMedia) !== null && _window$matchMedia !== void 0 && (_window$matchMedia = _window$matchMedia.call(_window, COLOR_MODE_MEDIA_QUERY)) !== null && _window$matchMedia !== void 0 && _window$matchMedia.matches ? 'DARK' : 'LIGHT';
|
|
26
26
|
}),
|
|
27
27
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
28
28
|
systemColorMode = _useState2[0],
|
|
@@ -10,7 +10,6 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
10
10
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
11
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
|
-
var _services = require("../../services");
|
|
14
13
|
var _i18n = require("../i18n");
|
|
15
14
|
var _form = require("../form");
|
|
16
15
|
var _popover = require("../popover");
|
|
@@ -32,7 +31,7 @@ var EuiSearchBox = exports.EuiSearchBox = function EuiSearchBox(_ref) {
|
|
|
32
31
|
hint = _ref.hint,
|
|
33
32
|
rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
34
33
|
var _inputRef = (0, _react.useRef)(null);
|
|
35
|
-
(0,
|
|
34
|
+
(0, _react.useLayoutEffect)(function () {
|
|
36
35
|
if (_inputRef.current) {
|
|
37
36
|
_inputRef.current.value = query;
|
|
38
37
|
_inputRef.current.dispatchEvent(new Event('change'));
|
package/dist/eui_theme_dark.css
DELETED
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
The MIT License (MIT)
|
|
3
|
-
|
|
4
|
-
Copyright (c) 2015 strarsis https://github.com/strarsis/sass-math-pow
|
|
5
|
-
|
|
6
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
-
in the Software without restriction, including without limitation the rights
|
|
9
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
-
furnished to do so, subject to the following conditions:
|
|
12
|
-
|
|
13
|
-
The above copyright notice and this permission notice shall be included in all
|
|
14
|
-
copies or substantial portions of the Software.
|
|
15
|
-
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
-
SOFTWARE.
|
|
23
|
-
*/
|
|
24
|
-
/**
|
|
25
|
-
The MIT License (MIT)
|
|
26
|
-
|
|
27
|
-
Copyright (c) 2015 strarsis https://github.com/strarsis/sass-math-pow
|
|
28
|
-
|
|
29
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
30
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
31
|
-
in the Software without restriction, including without limitation the rights
|
|
32
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
33
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
34
|
-
furnished to do so, subject to the following conditions:
|
|
35
|
-
|
|
36
|
-
The above copyright notice and this permission notice shall be included in all
|
|
37
|
-
copies or substantial portions of the Software.
|
|
38
|
-
|
|
39
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
40
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
41
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
42
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
43
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
44
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
45
|
-
SOFTWARE.
|
|
46
|
-
*/
|
|
47
|
-
/**
|
|
48
|
-
* Text truncation
|
|
49
|
-
*
|
|
50
|
-
* Prevent text from wrapping onto multiple lines, and truncate with an ellipsis.
|
|
51
|
-
*
|
|
52
|
-
* 1. Ensure that the node has a maximum width after which truncation can occur.
|
|
53
|
-
*/
|
|
54
|
-
/**
|
|
55
|
-
* Text weight shifting
|
|
56
|
-
*
|
|
57
|
-
* When changing the font-weight based the state of the component
|
|
58
|
-
* this mixin will ensure that the sizing is dependent on the boldest
|
|
59
|
-
* weight so it doesn't shifter sibling content.
|
|
60
|
-
*/
|
|
61
|
-
/**
|
|
62
|
-
* 1. Focus rings shouldn't be visible on scrollable regions, but a11y requires them to be focusable.
|
|
63
|
-
* Browser's supporting `:focus-visible` will still show outline on keyboard focus only.
|
|
64
|
-
* Others like Safari, won't show anything at all.
|
|
65
|
-
* 2. Force the `:focus-visible` when the `tabindex=0` (is tabbable)
|
|
66
|
-
*/
|
|
67
|
-
/**
|
|
68
|
-
* For quickly applying a full-height element whether using flex or not
|
|
69
|
-
*/
|
|
70
|
-
/*
|
|
71
|
-
* Creates the Amsterdam style of button with a transparent background
|
|
72
|
-
*/
|
|
73
|
-
/*
|
|
74
|
-
* Creates the Amsterdam style of fill button
|
|
75
|
-
*/
|
|
76
|
-
/*
|
|
77
|
-
The CSS in JS version of this file lives in:
|
|
78
|
-
- src/components/form/range/range.styles.ts
|
|
79
|
-
|
|
80
|
-
The following files still use the Sass version:
|
|
81
|
-
- src/themes/amsterdam/overrides/_color_stops.scss
|
|
82
|
-
- src/themes/amsterdam/overrides/_hue.scss
|
|
83
|
-
*/
|
|
84
|
-
@-webkit-keyframes euiAnimFadeIn {
|
|
85
|
-
0% {
|
|
86
|
-
opacity: 0;
|
|
87
|
-
}
|
|
88
|
-
100% {
|
|
89
|
-
opacity: 1;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
@keyframes euiAnimFadeIn {
|
|
93
|
-
0% {
|
|
94
|
-
opacity: 0;
|
|
95
|
-
}
|
|
96
|
-
100% {
|
|
97
|
-
opacity: 1;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
@-webkit-keyframes euiGrow {
|
|
101
|
-
0% {
|
|
102
|
-
opacity: 0;
|
|
103
|
-
}
|
|
104
|
-
1% {
|
|
105
|
-
opacity: 0;
|
|
106
|
-
-webkit-transform: scale(0);
|
|
107
|
-
transform: scale(0);
|
|
108
|
-
}
|
|
109
|
-
100% {
|
|
110
|
-
opacity: 1;
|
|
111
|
-
-webkit-transform: scale(1);
|
|
112
|
-
transform: scale(1);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
@keyframes euiGrow {
|
|
116
|
-
0% {
|
|
117
|
-
opacity: 0;
|
|
118
|
-
}
|
|
119
|
-
1% {
|
|
120
|
-
opacity: 0;
|
|
121
|
-
-webkit-transform: scale(0);
|
|
122
|
-
transform: scale(0);
|
|
123
|
-
}
|
|
124
|
-
100% {
|
|
125
|
-
opacity: 1;
|
|
126
|
-
-webkit-transform: scale(1);
|
|
127
|
-
transform: scale(1);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
@-webkit-keyframes focusRingAnimate {
|
|
131
|
-
0% {
|
|
132
|
-
box-shadow: 0 0 0 2px rgba(54, 162, 239, 0);
|
|
133
|
-
}
|
|
134
|
-
100% {
|
|
135
|
-
box-shadow: 0 0 0 2px #36A2EF;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
@keyframes focusRingAnimate {
|
|
139
|
-
0% {
|
|
140
|
-
box-shadow: 0 0 0 2px rgba(54, 162, 239, 0);
|
|
141
|
-
}
|
|
142
|
-
100% {
|
|
143
|
-
box-shadow: 0 0 0 2px #36A2EF;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
@-webkit-keyframes focusRingAnimateLarge {
|
|
147
|
-
0% {
|
|
148
|
-
box-shadow: 0 0 0 10px rgba(54, 162, 239, 0);
|
|
149
|
-
}
|
|
150
|
-
100% {
|
|
151
|
-
box-shadow: 0 0 0 4px #36A2EF;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
@keyframes focusRingAnimateLarge {
|
|
155
|
-
0% {
|
|
156
|
-
box-shadow: 0 0 0 10px rgba(54, 162, 239, 0);
|
|
157
|
-
}
|
|
158
|
-
100% {
|
|
159
|
-
box-shadow: 0 0 0 4px #36A2EF;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
@-webkit-keyframes euiButtonActive {
|
|
163
|
-
50% {
|
|
164
|
-
-webkit-transform: translateY(1px);
|
|
165
|
-
transform: translateY(1px);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
@keyframes euiButtonActive {
|
|
169
|
-
50% {
|
|
170
|
-
-webkit-transform: translateY(1px);
|
|
171
|
-
transform: translateY(1px);
|
|
172
|
-
}
|
|
173
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@-webkit-keyframes euiAnimFadeIn{0%{opacity:0}to{opacity:1}}@keyframes euiAnimFadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes euiGrow{0%{opacity:0}1%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes euiGrow{0%{opacity:0}1%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes focusRingAnimate{0%{box-shadow:0 0 0 2px rgba(54,162,239,0)}to{box-shadow:0 0 0 2px #36a2ef}}@keyframes focusRingAnimate{0%{box-shadow:0 0 0 2px rgba(54,162,239,0)}to{box-shadow:0 0 0 2px #36a2ef}}@-webkit-keyframes focusRingAnimateLarge{0%{box-shadow:0 0 0 10px rgba(54,162,239,0)}to{box-shadow:0 0 0 4px #36a2ef}}@keyframes focusRingAnimateLarge{0%{box-shadow:0 0 0 10px rgba(54,162,239,0)}to{box-shadow:0 0 0 4px #36a2ef}}@-webkit-keyframes euiButtonActive{50%{-webkit-transform:translateY(1px);transform:translateY(1px)}}@keyframes euiButtonActive{50%{-webkit-transform:translateY(1px);transform:translateY(1px)}}
|
package/dist/eui_theme_light.css
DELETED
|
@@ -1,173 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
The MIT License (MIT)
|
|
3
|
-
|
|
4
|
-
Copyright (c) 2015 strarsis https://github.com/strarsis/sass-math-pow
|
|
5
|
-
|
|
6
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
-
in the Software without restriction, including without limitation the rights
|
|
9
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
-
furnished to do so, subject to the following conditions:
|
|
12
|
-
|
|
13
|
-
The above copyright notice and this permission notice shall be included in all
|
|
14
|
-
copies or substantial portions of the Software.
|
|
15
|
-
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
-
SOFTWARE.
|
|
23
|
-
*/
|
|
24
|
-
/**
|
|
25
|
-
The MIT License (MIT)
|
|
26
|
-
|
|
27
|
-
Copyright (c) 2015 strarsis https://github.com/strarsis/sass-math-pow
|
|
28
|
-
|
|
29
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
30
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
31
|
-
in the Software without restriction, including without limitation the rights
|
|
32
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
33
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
34
|
-
furnished to do so, subject to the following conditions:
|
|
35
|
-
|
|
36
|
-
The above copyright notice and this permission notice shall be included in all
|
|
37
|
-
copies or substantial portions of the Software.
|
|
38
|
-
|
|
39
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
40
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
41
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
42
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
43
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
44
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
45
|
-
SOFTWARE.
|
|
46
|
-
*/
|
|
47
|
-
/**
|
|
48
|
-
* Text truncation
|
|
49
|
-
*
|
|
50
|
-
* Prevent text from wrapping onto multiple lines, and truncate with an ellipsis.
|
|
51
|
-
*
|
|
52
|
-
* 1. Ensure that the node has a maximum width after which truncation can occur.
|
|
53
|
-
*/
|
|
54
|
-
/**
|
|
55
|
-
* Text weight shifting
|
|
56
|
-
*
|
|
57
|
-
* When changing the font-weight based the state of the component
|
|
58
|
-
* this mixin will ensure that the sizing is dependent on the boldest
|
|
59
|
-
* weight so it doesn't shifter sibling content.
|
|
60
|
-
*/
|
|
61
|
-
/**
|
|
62
|
-
* 1. Focus rings shouldn't be visible on scrollable regions, but a11y requires them to be focusable.
|
|
63
|
-
* Browser's supporting `:focus-visible` will still show outline on keyboard focus only.
|
|
64
|
-
* Others like Safari, won't show anything at all.
|
|
65
|
-
* 2. Force the `:focus-visible` when the `tabindex=0` (is tabbable)
|
|
66
|
-
*/
|
|
67
|
-
/**
|
|
68
|
-
* For quickly applying a full-height element whether using flex or not
|
|
69
|
-
*/
|
|
70
|
-
/*
|
|
71
|
-
* Creates the Amsterdam style of button with a transparent background
|
|
72
|
-
*/
|
|
73
|
-
/*
|
|
74
|
-
* Creates the Amsterdam style of fill button
|
|
75
|
-
*/
|
|
76
|
-
/*
|
|
77
|
-
The CSS in JS version of this file lives in:
|
|
78
|
-
- src/components/form/range/range.styles.ts
|
|
79
|
-
|
|
80
|
-
The following files still use the Sass version:
|
|
81
|
-
- src/themes/amsterdam/overrides/_color_stops.scss
|
|
82
|
-
- src/themes/amsterdam/overrides/_hue.scss
|
|
83
|
-
*/
|
|
84
|
-
@-webkit-keyframes euiAnimFadeIn {
|
|
85
|
-
0% {
|
|
86
|
-
opacity: 0;
|
|
87
|
-
}
|
|
88
|
-
100% {
|
|
89
|
-
opacity: 1;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
@keyframes euiAnimFadeIn {
|
|
93
|
-
0% {
|
|
94
|
-
opacity: 0;
|
|
95
|
-
}
|
|
96
|
-
100% {
|
|
97
|
-
opacity: 1;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
@-webkit-keyframes euiGrow {
|
|
101
|
-
0% {
|
|
102
|
-
opacity: 0;
|
|
103
|
-
}
|
|
104
|
-
1% {
|
|
105
|
-
opacity: 0;
|
|
106
|
-
-webkit-transform: scale(0);
|
|
107
|
-
transform: scale(0);
|
|
108
|
-
}
|
|
109
|
-
100% {
|
|
110
|
-
opacity: 1;
|
|
111
|
-
-webkit-transform: scale(1);
|
|
112
|
-
transform: scale(1);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
@keyframes euiGrow {
|
|
116
|
-
0% {
|
|
117
|
-
opacity: 0;
|
|
118
|
-
}
|
|
119
|
-
1% {
|
|
120
|
-
opacity: 0;
|
|
121
|
-
-webkit-transform: scale(0);
|
|
122
|
-
transform: scale(0);
|
|
123
|
-
}
|
|
124
|
-
100% {
|
|
125
|
-
opacity: 1;
|
|
126
|
-
-webkit-transform: scale(1);
|
|
127
|
-
transform: scale(1);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
@-webkit-keyframes focusRingAnimate {
|
|
131
|
-
0% {
|
|
132
|
-
box-shadow: 0 0 0 2px rgba(0, 119, 204, 0);
|
|
133
|
-
}
|
|
134
|
-
100% {
|
|
135
|
-
box-shadow: 0 0 0 2px #0071c2;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
@keyframes focusRingAnimate {
|
|
139
|
-
0% {
|
|
140
|
-
box-shadow: 0 0 0 2px rgba(0, 119, 204, 0);
|
|
141
|
-
}
|
|
142
|
-
100% {
|
|
143
|
-
box-shadow: 0 0 0 2px #0071c2;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
@-webkit-keyframes focusRingAnimateLarge {
|
|
147
|
-
0% {
|
|
148
|
-
box-shadow: 0 0 0 10px rgba(0, 119, 204, 0);
|
|
149
|
-
}
|
|
150
|
-
100% {
|
|
151
|
-
box-shadow: 0 0 0 4px #0071c2;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
@keyframes focusRingAnimateLarge {
|
|
155
|
-
0% {
|
|
156
|
-
box-shadow: 0 0 0 10px rgba(0, 119, 204, 0);
|
|
157
|
-
}
|
|
158
|
-
100% {
|
|
159
|
-
box-shadow: 0 0 0 4px #0071c2;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
@-webkit-keyframes euiButtonActive {
|
|
163
|
-
50% {
|
|
164
|
-
-webkit-transform: translateY(1px);
|
|
165
|
-
transform: translateY(1px);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
@keyframes euiButtonActive {
|
|
169
|
-
50% {
|
|
170
|
-
-webkit-transform: translateY(1px);
|
|
171
|
-
transform: translateY(1px);
|
|
172
|
-
}
|
|
173
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@-webkit-keyframes euiAnimFadeIn{0%{opacity:0}to{opacity:1}}@keyframes euiAnimFadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes euiGrow{0%{opacity:0}1%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes euiGrow{0%{opacity:0}1%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes focusRingAnimate{0%{box-shadow:0 0 0 2px rgba(0,119,204,0)}to{box-shadow:0 0 0 2px #0071c2}}@keyframes focusRingAnimate{0%{box-shadow:0 0 0 2px rgba(0,119,204,0)}to{box-shadow:0 0 0 2px #0071c2}}@-webkit-keyframes focusRingAnimateLarge{0%{box-shadow:0 0 0 10px rgba(0,119,204,0)}to{box-shadow:0 0 0 4px #0071c2}}@keyframes focusRingAnimateLarge{0%{box-shadow:0 0 0 10px rgba(0,119,204,0)}to{box-shadow:0 0 0 4px #0071c2}}@-webkit-keyframes euiButtonActive{50%{-webkit-transform:translateY(1px);transform:translateY(1px)}}@keyframes euiButtonActive{50%{-webkit-transform:translateY(1px);transform:translateY(1px)}}
|