@elastic/eui 59.1.0-rc1 → 59.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eui_charts_theme.js +330 -330
- package/dist/eui_charts_theme.js.map +1 -1
- package/es/components/accessibility/skip_link/skip_link.js +42 -7
- package/es/components/accessibility/skip_link/skip_link.styles.js +1 -1
- package/es/components/avatar/avatar.js +7 -9
- package/es/components/bottom_bar/bottom_bar.js +9 -8
- package/es/components/breadcrumbs/breadcrumbs.js +1 -2
- package/es/components/call_out/call_out.js +8 -9
- package/es/components/expression/expression.js +10 -11
- package/es/components/facet/facet_button.js +8 -9
- package/es/components/facet/facet_group.js +7 -8
- package/es/components/health/health.js +6 -7
- package/es/components/horizontal_rule/horizontal_rule.js +6 -7
- package/es/components/link/link.js +7 -8
- package/es/components/loading/loading_chart.js +6 -7
- package/es/components/loading/loading_content.js +6 -7
- package/es/components/loading/loading_logo.js +6 -7
- package/es/components/loading/loading_spinner.js +6 -7
- package/es/components/mark/mark.js +8 -9
- package/es/components/markdown_editor/markdown_format.js +6 -7
- package/es/components/panel/panel.js +7 -8
- package/es/components/provider/index.js +1 -1
- package/es/components/provider/provider.js +5 -39
- package/es/components/spacer/spacer.js +6 -7
- package/es/components/text/text.js +6 -7
- package/es/components/text/text_color.js +6 -7
- package/es/components/timeline/timeline_item.js +6 -7
- package/es/components/timeline/timeline_item_icon.js +6 -7
- package/es/components/title/title.js +6 -7
- package/es/services/theme/hooks.js +2 -2
- package/es/services/theme/provider.js +5 -1
- package/{optimize/es/components/provider/cache → es/themes/amsterdam}/index.js +2 -2
- package/es/themes/index.js +2 -1
- package/eui.d.ts +337 -827
- package/i18ntokens.json +12 -12
- package/lib/components/accessibility/skip_link/skip_link.js +45 -11
- package/lib/components/accessibility/skip_link/skip_link.styles.js +1 -1
- package/lib/components/avatar/avatar.js +8 -12
- package/lib/components/bottom_bar/bottom_bar.js +6 -9
- package/lib/components/breadcrumbs/breadcrumbs.js +1 -2
- package/lib/components/call_out/call_out.js +10 -14
- package/lib/components/expression/expression.js +12 -14
- package/lib/components/facet/facet_button.js +10 -12
- package/lib/components/facet/facet_group.js +9 -11
- package/lib/components/health/health.js +8 -10
- package/lib/components/horizontal_rule/horizontal_rule.js +8 -10
- package/lib/components/link/link.js +7 -13
- package/lib/components/loading/loading_chart.js +8 -10
- package/lib/components/loading/loading_content.js +8 -10
- package/lib/components/loading/loading_logo.js +8 -10
- package/lib/components/loading/loading_spinner.js +8 -10
- package/lib/components/mark/mark.js +10 -12
- package/lib/components/markdown_editor/markdown_format.js +8 -10
- package/lib/components/panel/panel.js +9 -11
- package/lib/components/provider/index.js +7 -12
- package/lib/components/provider/provider.js +5 -40
- package/lib/components/spacer/spacer.js +8 -10
- package/lib/components/text/text.js +8 -10
- package/lib/components/text/text_color.js +8 -10
- package/lib/components/timeline/timeline_item.js +8 -10
- package/lib/components/timeline/timeline_item_icon.js +8 -10
- package/lib/components/title/title.js +9 -11
- package/lib/services/theme/hooks.js +2 -2
- package/lib/services/theme/provider.js +6 -3
- package/{test-env/components/provider/system → lib/themes/amsterdam}/index.js +4 -4
- package/lib/themes/index.js +21 -1
- package/optimize/es/components/accessibility/skip_link/skip_link.js +27 -6
- package/optimize/es/components/accessibility/skip_link/skip_link.styles.js +1 -1
- package/optimize/es/components/avatar/avatar.js +5 -7
- package/optimize/es/components/bottom_bar/bottom_bar.js +9 -8
- package/optimize/es/components/breadcrumbs/breadcrumbs.js +1 -2
- package/optimize/es/components/call_out/call_out.js +7 -8
- package/optimize/es/components/expression/expression.js +9 -10
- package/optimize/es/components/facet/facet_button.js +7 -8
- package/optimize/es/components/facet/facet_group.js +6 -7
- package/optimize/es/components/health/health.js +5 -6
- package/optimize/es/components/horizontal_rule/horizontal_rule.js +5 -6
- package/optimize/es/components/link/link.js +6 -7
- package/optimize/es/components/loading/loading_chart.js +5 -6
- package/optimize/es/components/loading/loading_content.js +5 -6
- package/optimize/es/components/loading/loading_logo.js +5 -6
- package/optimize/es/components/loading/loading_spinner.js +5 -6
- package/optimize/es/components/mark/mark.js +7 -8
- package/optimize/es/components/markdown_editor/markdown_format.js +5 -6
- package/optimize/es/components/panel/panel.js +6 -7
- package/optimize/es/components/provider/index.js +1 -1
- package/optimize/es/components/provider/provider.js +5 -39
- package/optimize/es/components/spacer/spacer.js +5 -6
- package/optimize/es/components/text/text.js +5 -6
- package/optimize/es/components/text/text_color.js +5 -6
- package/optimize/es/components/timeline/timeline_item.js +5 -6
- package/optimize/es/components/timeline/timeline_item_icon.js +5 -6
- package/optimize/es/components/title/title.js +5 -6
- package/optimize/es/services/theme/hooks.js +2 -2
- package/optimize/es/services/theme/provider.js +5 -1
- package/optimize/es/{components/provider/system → themes/amsterdam}/index.js +2 -1
- package/optimize/es/themes/index.js +2 -1
- package/optimize/lib/components/accessibility/skip_link/skip_link.js +30 -8
- package/optimize/lib/components/accessibility/skip_link/skip_link.styles.js +1 -1
- package/optimize/lib/components/avatar/avatar.js +5 -9
- package/optimize/lib/components/bottom_bar/bottom_bar.js +6 -9
- package/optimize/lib/components/breadcrumbs/breadcrumbs.js +1 -2
- package/optimize/lib/components/call_out/call_out.js +9 -13
- package/optimize/lib/components/expression/expression.js +9 -11
- package/optimize/lib/components/facet/facet_button.js +7 -9
- package/optimize/lib/components/facet/facet_group.js +6 -8
- package/optimize/lib/components/health/health.js +5 -7
- package/optimize/lib/components/horizontal_rule/horizontal_rule.js +5 -7
- package/optimize/lib/components/link/link.js +6 -12
- package/optimize/lib/components/loading/loading_chart.js +5 -7
- package/optimize/lib/components/loading/loading_content.js +5 -7
- package/optimize/lib/components/loading/loading_logo.js +5 -7
- package/optimize/lib/components/loading/loading_spinner.js +5 -7
- package/optimize/lib/components/mark/mark.js +7 -9
- package/optimize/lib/components/markdown_editor/markdown_format.js +5 -7
- package/optimize/lib/components/panel/panel.js +6 -8
- package/optimize/lib/components/provider/index.js +7 -12
- package/optimize/lib/components/provider/provider.js +5 -40
- package/optimize/lib/components/spacer/spacer.js +5 -7
- package/optimize/lib/components/text/text.js +5 -7
- package/optimize/lib/components/text/text_color.js +5 -7
- package/optimize/lib/components/timeline/timeline_item.js +5 -7
- package/optimize/lib/components/timeline/timeline_item_icon.js +5 -7
- package/optimize/lib/components/title/title.js +6 -8
- package/optimize/lib/services/theme/hooks.js +2 -2
- package/optimize/lib/services/theme/provider.js +6 -3
- package/{lib/components/provider/system → optimize/lib/themes/amsterdam}/index.js +4 -4
- package/optimize/lib/themes/index.js +21 -1
- package/package.json +1 -1
- package/test-env/components/accessibility/skip_link/skip_link.js +46 -11
- package/test-env/components/accessibility/skip_link/skip_link.styles.js +1 -1
- package/test-env/components/avatar/avatar.js +8 -12
- package/test-env/components/bottom_bar/bottom_bar.js +6 -9
- package/test-env/components/breadcrumbs/breadcrumbs.js +1 -2
- package/test-env/components/call_out/call_out.js +10 -14
- package/test-env/components/expression/expression.js +12 -14
- package/test-env/components/facet/facet_button.js +10 -12
- package/test-env/components/facet/facet_group.js +9 -11
- package/test-env/components/health/health.js +8 -10
- package/test-env/components/horizontal_rule/horizontal_rule.js +8 -10
- package/test-env/components/link/link.js +7 -13
- package/test-env/components/loading/loading_chart.js +8 -10
- package/test-env/components/loading/loading_content.js +8 -10
- package/test-env/components/loading/loading_logo.js +8 -10
- package/test-env/components/loading/loading_spinner.js +8 -10
- package/test-env/components/mark/mark.js +10 -12
- package/test-env/components/markdown_editor/markdown_format.js +8 -10
- package/test-env/components/panel/panel.js +9 -11
- package/test-env/components/provider/index.js +7 -12
- package/test-env/components/provider/provider.js +5 -40
- package/test-env/components/spacer/spacer.js +8 -10
- package/test-env/components/text/text.js +8 -10
- package/test-env/components/text/text_color.js +8 -10
- package/test-env/components/timeline/timeline_item.js +8 -10
- package/test-env/components/timeline/timeline_item_icon.js +8 -10
- package/test-env/components/title/title.js +9 -11
- package/test-env/services/theme/hooks.js +2 -2
- package/test-env/services/theme/provider.js +6 -3
- package/{optimize/lib/components/provider/system → test-env/themes/amsterdam}/index.js +4 -4
- package/test-env/themes/index.js +21 -1
- package/es/components/provider/cache/cache_context.js +0 -12
- package/es/components/provider/cache/cache_provider.js +0 -17
- package/es/components/provider/cache/index.js +0 -9
- package/es/components/provider/system/index.js +0 -8
- package/es/components/provider/system/system.js +0 -33
- package/es/global_styling/utility/utility.js +0 -27
- package/lib/components/provider/cache/cache_context.js +0 -24
- package/lib/components/provider/cache/cache_provider.js +0 -29
- package/lib/components/provider/cache/index.js +0 -31
- package/lib/components/provider/system/system.js +0 -45
- package/lib/global_styling/utility/utility.js +0 -31
- package/optimize/es/components/provider/cache/cache_context.js +0 -12
- package/optimize/es/components/provider/cache/cache_provider.js +0 -17
- package/optimize/es/components/provider/system/system.js +0 -33
- package/optimize/es/global_styling/utility/utility.js +0 -27
- package/optimize/lib/components/provider/cache/cache_context.js +0 -24
- package/optimize/lib/components/provider/cache/cache_provider.js +0 -29
- package/optimize/lib/components/provider/cache/index.js +0 -31
- package/optimize/lib/components/provider/system/system.js +0 -54
- package/optimize/lib/global_styling/utility/utility.js +0 -31
- package/test-env/components/provider/cache/cache_context.js +0 -24
- package/test-env/components/provider/cache/cache_provider.js +0 -29
- package/test-env/components/provider/cache/index.js +0 -31
- package/test-env/components/provider/system/system.js +0 -54
- package/test-env/global_styling/utility/utility.js +0 -31
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["size", "logo", "aria-label", "className"
|
|
3
|
+
var _excluded = ["size", "logo", "aria-label", "className"];
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
6
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
@@ -12,21 +12,21 @@ var _excluded = ["size", "logo", "aria-label", "className", "euiTheme"];
|
|
|
12
12
|
import React from 'react';
|
|
13
13
|
import classNames from 'classnames';
|
|
14
14
|
import { EuiIcon } from '../icon';
|
|
15
|
-
import {
|
|
15
|
+
import { useEuiTheme } from '../../services';
|
|
16
16
|
import { useLoadingAriaLabel } from './_loading_strings';
|
|
17
17
|
import { euiLoadingLogoStyles, euiLoadingLogoIconStyles } from './loading_logo.styles';
|
|
18
18
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
19
19
|
export var SIZES = ['m', 'l', 'xl'];
|
|
20
|
-
export var
|
|
20
|
+
export var EuiLoadingLogo = function EuiLoadingLogo(_ref) {
|
|
21
21
|
var _ref$size = _ref.size,
|
|
22
22
|
size = _ref$size === void 0 ? 'm' : _ref$size,
|
|
23
23
|
_ref$logo = _ref.logo,
|
|
24
24
|
logo = _ref$logo === void 0 ? 'logoKibana' : _ref$logo,
|
|
25
25
|
ariaLabel = _ref['aria-label'],
|
|
26
26
|
className = _ref.className,
|
|
27
|
-
euiTheme = _ref.euiTheme,
|
|
28
27
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
29
28
|
|
|
29
|
+
var euiTheme = useEuiTheme();
|
|
30
30
|
var defaultLabel = useLoadingAriaLabel();
|
|
31
31
|
var styles = euiLoadingLogoStyles(euiTheme);
|
|
32
32
|
var cssStyles = [styles.euiLoadingLogo, styles[size]];
|
|
@@ -44,5 +44,4 @@ export var _EuiLoadingLogo = function _EuiLoadingLogo(_ref) {
|
|
|
44
44
|
type: logo,
|
|
45
45
|
size: size
|
|
46
46
|
})));
|
|
47
|
-
};
|
|
48
|
-
export var EuiLoadingLogo = withEuiSystem(_EuiLoadingLogo);
|
|
47
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["size", "className", "aria-label", "color"
|
|
3
|
+
var _excluded = ["size", "className", "aria-label", "color"];
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
6
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
@@ -11,20 +11,20 @@ var _excluded = ["size", "className", "aria-label", "color", "euiTheme"];
|
|
|
11
11
|
*/
|
|
12
12
|
import React from 'react';
|
|
13
13
|
import classNames from 'classnames';
|
|
14
|
-
import {
|
|
14
|
+
import { useEuiTheme } from '../..//services';
|
|
15
15
|
import { useLoadingAriaLabel } from './_loading_strings';
|
|
16
16
|
import { euiLoadingSpinnerStyles } from './loading_spinner.styles';
|
|
17
17
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
18
18
|
export var SIZES = ['s', 'm', 'l', 'xl', 'xxl'];
|
|
19
|
-
export var
|
|
19
|
+
export var EuiLoadingSpinner = function EuiLoadingSpinner(_ref) {
|
|
20
20
|
var _ref$size = _ref.size,
|
|
21
21
|
size = _ref$size === void 0 ? 'm' : _ref$size,
|
|
22
22
|
className = _ref.className,
|
|
23
23
|
ariaLabel = _ref['aria-label'],
|
|
24
24
|
color = _ref.color,
|
|
25
|
-
euiTheme = _ref.euiTheme,
|
|
26
25
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
27
26
|
|
|
27
|
+
var euiTheme = useEuiTheme();
|
|
28
28
|
var styles = euiLoadingSpinnerStyles(euiTheme, color);
|
|
29
29
|
var cssStyles = [styles.euiLoadingSpinner, styles[size]];
|
|
30
30
|
var classes = classNames('euiLoadingSpinner', className);
|
|
@@ -35,5 +35,4 @@ export var _EuiLoadingSpinner = function _EuiLoadingSpinner(_ref) {
|
|
|
35
35
|
role: "progressbar",
|
|
36
36
|
"aria-label": ariaLabel || defaultLabel
|
|
37
37
|
}, rest));
|
|
38
|
-
};
|
|
39
|
-
export var EuiLoadingSpinner = withEuiSystem(_EuiLoadingSpinner);
|
|
38
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["children", "className", "
|
|
3
|
+
var _excluded = ["children", "className", "hasScreenReaderHelpText"];
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
6
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
@@ -12,28 +12,27 @@ var _excluded = ["children", "className", "euiTheme", "hasScreenReaderHelpText"]
|
|
|
12
12
|
import React from 'react';
|
|
13
13
|
import classNames from 'classnames';
|
|
14
14
|
import { useEuiI18n } from '../i18n';
|
|
15
|
-
import {
|
|
15
|
+
import { useEuiTheme } from '../../services';
|
|
16
16
|
import { euiMarkStyles } from './mark.styles';
|
|
17
17
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
18
|
-
export var
|
|
18
|
+
export var EuiMark = function EuiMark(_ref) {
|
|
19
19
|
var children = _ref.children,
|
|
20
20
|
className = _ref.className,
|
|
21
|
-
euiTheme = _ref.euiTheme,
|
|
22
21
|
_ref$hasScreenReaderH = _ref.hasScreenReaderHelpText,
|
|
23
22
|
hasScreenReaderHelpText = _ref$hasScreenReaderH === void 0 ? true : _ref$hasScreenReaderH,
|
|
24
23
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
25
24
|
|
|
25
|
+
var useTheme = useEuiTheme();
|
|
26
26
|
var highlightStart = useEuiI18n('euiMark.highlightStart', 'highlight start');
|
|
27
27
|
var highlightEnd = useEuiI18n('euiMark.highlightEnd', 'highlight end');
|
|
28
|
-
var styles = euiMarkStyles(
|
|
28
|
+
var styles = euiMarkStyles(useTheme, {
|
|
29
29
|
hasScreenReaderHelpText: hasScreenReaderHelpText,
|
|
30
30
|
highlightStart: highlightStart,
|
|
31
31
|
highlightEnd: highlightEnd
|
|
32
32
|
});
|
|
33
33
|
var classes = classNames('euiMark', className);
|
|
34
34
|
return ___EmotionJSX("mark", _extends({
|
|
35
|
-
css: [styles],
|
|
35
|
+
css: [styles, ";label:EuiMark;"],
|
|
36
36
|
className: classes
|
|
37
37
|
}, rest), children);
|
|
38
|
-
};
|
|
39
|
-
export var EuiMark = withEuiSystem(_EuiMark);
|
|
38
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["children", "className", "parsingPluginList", "processingPluginList", "textSize"
|
|
3
|
+
var _excluded = ["children", "className", "parsingPluginList", "processingPluginList", "textSize"];
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
6
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
@@ -13,11 +13,11 @@ import React, { useMemo } from 'react';
|
|
|
13
13
|
import unified from 'unified';
|
|
14
14
|
import classNames from 'classnames';
|
|
15
15
|
import { EuiText } from '../text/text';
|
|
16
|
-
import {
|
|
16
|
+
import { useEuiTheme } from '../../services';
|
|
17
17
|
import { euiMarkdownFormatStyles } from './markdown_format.styles';
|
|
18
18
|
import { defaultProcessingPlugins, defaultParsingPlugins } from './plugins/markdown_default_plugins';
|
|
19
19
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
20
|
-
export var
|
|
20
|
+
export var EuiMarkdownFormat = function EuiMarkdownFormat(_ref) {
|
|
21
21
|
var children = _ref.children,
|
|
22
22
|
className = _ref.className,
|
|
23
23
|
_ref$parsingPluginLis = _ref.parsingPluginList,
|
|
@@ -26,7 +26,6 @@ export var _EuiMarkdownFormat = function _EuiMarkdownFormat(_ref) {
|
|
|
26
26
|
processingPluginList = _ref$processingPlugin === void 0 ? defaultProcessingPlugins : _ref$processingPlugin,
|
|
27
27
|
_ref$textSize = _ref.textSize,
|
|
28
28
|
textSize = _ref$textSize === void 0 ? 'm' : _ref$textSize,
|
|
29
|
-
euiTheme = _ref.euiTheme,
|
|
30
29
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
31
30
|
|
|
32
31
|
var processor = useMemo(function () {
|
|
@@ -44,6 +43,7 @@ export var _EuiMarkdownFormat = function _EuiMarkdownFormat(_ref) {
|
|
|
44
43
|
return children;
|
|
45
44
|
}
|
|
46
45
|
}, [children, processor]);
|
|
46
|
+
var euiTheme = useEuiTheme();
|
|
47
47
|
var styles = euiMarkdownFormatStyles(euiTheme);
|
|
48
48
|
var cssStyles = [styles.euiMarkdownFormat, styles[textSize]];
|
|
49
49
|
var classes = classNames('euiMarkdownFormat', className);
|
|
@@ -52,5 +52,4 @@ export var _EuiMarkdownFormat = function _EuiMarkdownFormat(_ref) {
|
|
|
52
52
|
css: cssStyles,
|
|
53
53
|
className: classes
|
|
54
54
|
}, rest), result);
|
|
55
|
-
};
|
|
56
|
-
export var EuiMarkdownFormat = withEuiSystem(_EuiMarkdownFormat);
|
|
55
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
|
-
var _excluded = ["children", "className", "paddingSize", "borderRadius", "color", "hasShadow", "hasBorder", "grow", "panelRef", "element"
|
|
4
|
+
var _excluded = ["children", "className", "paddingSize", "borderRadius", "color", "hasShadow", "hasBorder", "grow", "panelRef", "element"];
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
@@ -12,7 +12,7 @@ var _excluded = ["children", "className", "paddingSize", "borderRadius", "color"
|
|
|
12
12
|
*/
|
|
13
13
|
import React from 'react';
|
|
14
14
|
import classNames from 'classnames';
|
|
15
|
-
import {
|
|
15
|
+
import { useEuiTheme } from '../../services';
|
|
16
16
|
import { useEuiBackgroundColorCSS, useEuiPaddingCSS, BACKGROUND_COLORS, PADDING_SIZES } from '../../global_styling';
|
|
17
17
|
import { keysOf } from '../common';
|
|
18
18
|
import { euiPanelStyles } from './panel.style';
|
|
@@ -31,7 +31,7 @@ var _SIZES = keysOf(paddingSizeToClassNameMap);
|
|
|
31
31
|
|
|
32
32
|
export var BORDER_RADII = ['none', 'm'];
|
|
33
33
|
export var COLORS = BACKGROUND_COLORS;
|
|
34
|
-
export var
|
|
34
|
+
export var EuiPanel = function EuiPanel(_ref) {
|
|
35
35
|
var children = _ref.children,
|
|
36
36
|
className = _ref.className,
|
|
37
37
|
_ref$paddingSize = _ref.paddingSize,
|
|
@@ -48,10 +48,10 @@ export var _EuiPanel = function _EuiPanel(_ref) {
|
|
|
48
48
|
grow = _ref$grow === void 0 ? true : _ref$grow,
|
|
49
49
|
panelRef = _ref.panelRef,
|
|
50
50
|
element = _ref.element,
|
|
51
|
-
euiTheme = _ref.euiTheme,
|
|
52
51
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
53
52
|
|
|
54
|
-
// Shadows are only allowed when there's a white background (plain)
|
|
53
|
+
var euiTheme = useEuiTheme(); // Shadows are only allowed when there's a white background (plain)
|
|
54
|
+
|
|
55
55
|
var canHaveShadow = !hasBorder && color === 'plain';
|
|
56
56
|
var canHaveBorder = color === 'plain' || color === 'transparent';
|
|
57
57
|
var styles = euiPanelStyles(euiTheme);
|
|
@@ -70,5 +70,4 @@ export var _EuiPanel = function _EuiPanel(_ref) {
|
|
|
70
70
|
className: classes,
|
|
71
71
|
css: cssStyles
|
|
72
72
|
}, rest), children);
|
|
73
|
-
};
|
|
74
|
-
export var EuiPanel = withEuiSystem(_EuiPanel);
|
|
73
|
+
};
|
|
@@ -7,56 +7,22 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import { EuiGlobalStyles } from '../../global_styling/reset/global_styles';
|
|
10
|
-
import { EuiUtilityClasses } from '../../global_styling/utility/utility';
|
|
11
10
|
import { EuiThemeProvider } from '../../services';
|
|
12
11
|
import { EuiThemeAmsterdam } from '../../themes';
|
|
13
|
-
import { EuiCacheContext, EuiCacheProvider } from './cache';
|
|
14
12
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
15
|
-
|
|
16
|
-
var isEmotionCacheObject = function isEmotionCacheObject(obj) {
|
|
17
|
-
return obj.hasOwnProperty('key');
|
|
18
|
-
};
|
|
19
|
-
|
|
20
13
|
export var EuiProvider = function EuiProvider(_ref) {
|
|
21
14
|
var cache = _ref.cache,
|
|
22
15
|
_ref$theme = _ref.theme,
|
|
23
16
|
theme = _ref$theme === void 0 ? EuiThemeAmsterdam : _ref$theme,
|
|
24
17
|
_ref$globalStyles = _ref.globalStyles,
|
|
25
|
-
|
|
26
|
-
_ref$utilityClasses = _ref.utilityClasses,
|
|
27
|
-
Utilities = _ref$utilityClasses === void 0 ? EuiUtilityClasses : _ref$utilityClasses,
|
|
18
|
+
GlobalStyles = _ref$globalStyles === void 0 ? EuiGlobalStyles : _ref$globalStyles,
|
|
28
19
|
colorMode = _ref.colorMode,
|
|
29
20
|
modify = _ref.modify,
|
|
30
21
|
children = _ref.children;
|
|
31
|
-
|
|
32
|
-
var euiCache;
|
|
33
|
-
var globalCache;
|
|
34
|
-
var utilityCache;
|
|
35
|
-
|
|
36
|
-
if (cache) {
|
|
37
|
-
if (isEmotionCacheObject(cache)) {
|
|
38
|
-
defaultCache = cache;
|
|
39
|
-
} else {
|
|
40
|
-
defaultCache = cache.default;
|
|
41
|
-
euiCache = cache.eui;
|
|
42
|
-
globalCache = cache.global;
|
|
43
|
-
utilityCache = cache.utility;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
return ___EmotionJSX(EuiCacheProvider, {
|
|
48
|
-
cache: defaultCache
|
|
49
|
-
}, ___EmotionJSX(EuiCacheContext.Provider, {
|
|
50
|
-
value: euiCache
|
|
51
|
-
}, ___EmotionJSX(EuiThemeProvider, {
|
|
22
|
+
return ___EmotionJSX(EuiThemeProvider, {
|
|
52
23
|
theme: theme !== null && theme !== void 0 ? theme : undefined,
|
|
53
24
|
colorMode: colorMode,
|
|
54
|
-
modify: modify
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
children: Globals && ___EmotionJSX(Globals, null)
|
|
58
|
-
}), ___EmotionJSX(EuiCacheProvider, {
|
|
59
|
-
cache: utilityCache,
|
|
60
|
-
children: Utilities && ___EmotionJSX(Utilities, null)
|
|
61
|
-
})), children)));
|
|
25
|
+
modify: modify,
|
|
26
|
+
cache: cache
|
|
27
|
+
}, theme !== null && GlobalStyles !== false ? ___EmotionJSX(GlobalStyles, null) : null, children);
|
|
62
28
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
|
-
var _excluded = ["className", "
|
|
4
|
+
var _excluded = ["className", "size"];
|
|
5
5
|
|
|
6
6
|
/*
|
|
7
7
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
@@ -12,17 +12,17 @@ var _excluded = ["className", "euiTheme", "size"];
|
|
|
12
12
|
*/
|
|
13
13
|
import React from 'react';
|
|
14
14
|
import classNames from 'classnames';
|
|
15
|
-
import {
|
|
15
|
+
import { useEuiTheme } from '../../services';
|
|
16
16
|
import { euiSpacerStyles } from './spacer.styles';
|
|
17
17
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
18
18
|
export var SIZES = ['xs', 's', 'm', 'l', 'xl', 'xxl'];
|
|
19
|
-
export var
|
|
19
|
+
export var EuiSpacer = function EuiSpacer(_ref) {
|
|
20
20
|
var className = _ref.className,
|
|
21
|
-
euiTheme = _ref.euiTheme,
|
|
22
21
|
_ref$size = _ref.size,
|
|
23
22
|
size = _ref$size === void 0 ? 'l' : _ref$size,
|
|
24
23
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
25
24
|
|
|
25
|
+
var euiTheme = useEuiTheme();
|
|
26
26
|
var styles = euiSpacerStyles(euiTheme);
|
|
27
27
|
var classes = classNames('euiSpacer', _defineProperty({}, "euiSpacer--".concat(size), size), className);
|
|
28
28
|
var cssStyles = [styles.euiSpacer, styles[size]];
|
|
@@ -30,5 +30,4 @@ export var _EuiSpacer = function _EuiSpacer(_ref) {
|
|
|
30
30
|
className: classes,
|
|
31
31
|
css: cssStyles
|
|
32
32
|
}, rest));
|
|
33
|
-
};
|
|
34
|
-
export var EuiSpacer = withEuiSystem(_EuiSpacer);
|
|
33
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["size", "color", "grow", "textAlign", "children", "className"
|
|
3
|
+
var _excluded = ["size", "color", "grow", "textAlign", "children", "className"];
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
6
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
@@ -11,13 +11,13 @@ var _excluded = ["size", "color", "grow", "textAlign", "children", "className",
|
|
|
11
11
|
*/
|
|
12
12
|
import React from 'react';
|
|
13
13
|
import classNames from 'classnames';
|
|
14
|
-
import {
|
|
14
|
+
import { useEuiTheme } from '../../services';
|
|
15
15
|
import { euiTextStyles } from './text.styles';
|
|
16
16
|
import { EuiTextColor } from './text_color';
|
|
17
17
|
import { EuiTextAlign } from './text_align';
|
|
18
18
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
19
19
|
export var TEXT_SIZES = ['xs', 's', 'm', 'relative'];
|
|
20
|
-
export var
|
|
20
|
+
export var EuiText = function EuiText(_ref) {
|
|
21
21
|
var _ref$size = _ref.size,
|
|
22
22
|
size = _ref$size === void 0 ? 'm' : _ref$size,
|
|
23
23
|
color = _ref.color,
|
|
@@ -26,9 +26,9 @@ export var _EuiText = function _EuiText(_ref) {
|
|
|
26
26
|
textAlign = _ref.textAlign,
|
|
27
27
|
children = _ref.children,
|
|
28
28
|
className = _ref.className,
|
|
29
|
-
euiTheme = _ref.euiTheme,
|
|
30
29
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
31
30
|
|
|
31
|
+
var euiTheme = useEuiTheme();
|
|
32
32
|
var styles = euiTextStyles(euiTheme);
|
|
33
33
|
var cssStyles = [styles.euiText, !grow ? styles.constrainedWidth : undefined, styles[size]];
|
|
34
34
|
var classes = classNames('euiText', className);
|
|
@@ -53,5 +53,4 @@ export var _EuiText = function _EuiText(_ref) {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
return text;
|
|
56
|
-
};
|
|
57
|
-
export var EuiText = withEuiSystem(_EuiText);
|
|
56
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["children", "color", "component", "cloneElement", "style"
|
|
3
|
+
var _excluded = ["children", "color", "component", "cloneElement", "style"];
|
|
4
4
|
|
|
5
5
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
6
6
|
|
|
@@ -15,11 +15,11 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
15
15
|
*/
|
|
16
16
|
import React, { isValidElement } from 'react';
|
|
17
17
|
import { cloneElementWithCss } from '../../services/theme/clone_element';
|
|
18
|
-
import {
|
|
18
|
+
import { useEuiTheme } from '../../services';
|
|
19
19
|
import { euiTextColorStyles } from './text_color.styles';
|
|
20
20
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
21
21
|
export var COLORS = ['default', 'subdued', 'success', 'accent', 'danger', 'warning', 'ghost', 'inherit'];
|
|
22
|
-
export var
|
|
22
|
+
export var EuiTextColor = function EuiTextColor(_ref) {
|
|
23
23
|
var children = _ref.children,
|
|
24
24
|
_ref$color = _ref.color,
|
|
25
25
|
color = _ref$color === void 0 ? 'default' : _ref$color,
|
|
@@ -28,10 +28,10 @@ export var _EuiTextColor = function _EuiTextColor(_ref) {
|
|
|
28
28
|
_ref$cloneElement = _ref.cloneElement,
|
|
29
29
|
cloneElement = _ref$cloneElement === void 0 ? false : _ref$cloneElement,
|
|
30
30
|
style = _ref.style,
|
|
31
|
-
euiTheme = _ref.euiTheme,
|
|
32
31
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
33
32
|
|
|
34
33
|
var isNamedColor = COLORS.includes(color);
|
|
34
|
+
var euiTheme = useEuiTheme();
|
|
35
35
|
var styles = euiTextColorStyles(euiTheme);
|
|
36
36
|
var cssStyles = [styles.euiTextColor, isNamedColor ? styles[color] : styles.customColor]; // We're checking if is a custom color.
|
|
37
37
|
// If it is a custom color we set the `color` of the `.euiTextColor` div to that custom color.
|
|
@@ -56,5 +56,4 @@ export var _EuiTextColor = function _EuiTextColor(_ref) {
|
|
|
56
56
|
var Component = component;
|
|
57
57
|
return ___EmotionJSX(Component, props, children);
|
|
58
58
|
}
|
|
59
|
-
};
|
|
60
|
-
export var EuiTextColor = withEuiSystem(_EuiTextColor);
|
|
59
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["children", "verticalAlign", "icon", "iconAriaLabel", "className", "component"
|
|
3
|
+
var _excluded = ["children", "verticalAlign", "icon", "iconAriaLabel", "className", "component"];
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
6
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
@@ -10,13 +10,13 @@ var _excluded = ["children", "verticalAlign", "icon", "iconAriaLabel", "classNam
|
|
|
10
10
|
* Side Public License, v 1.
|
|
11
11
|
*/
|
|
12
12
|
import React from 'react';
|
|
13
|
-
import {
|
|
13
|
+
import { useEuiTheme } from '../../services';
|
|
14
14
|
import { EuiTimelineItemEvent } from './timeline_item_event';
|
|
15
15
|
import { EuiTimelineItemIcon } from './timeline_item_icon';
|
|
16
16
|
import { euiTimelineItemStyles } from './timeline_item.styles';
|
|
17
17
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
18
18
|
export var VERTICAL_ALIGN = ['top', 'center'];
|
|
19
|
-
export var
|
|
19
|
+
export var EuiTimelineItem = function EuiTimelineItem(_ref) {
|
|
20
20
|
var children = _ref.children,
|
|
21
21
|
_ref$verticalAlign = _ref.verticalAlign,
|
|
22
22
|
verticalAlign = _ref$verticalAlign === void 0 ? 'center' : _ref$verticalAlign,
|
|
@@ -25,9 +25,9 @@ export var _EuiTimelineItem = function _EuiTimelineItem(_ref) {
|
|
|
25
25
|
className = _ref.className,
|
|
26
26
|
_ref$component = _ref.component,
|
|
27
27
|
component = _ref$component === void 0 ? 'li' : _ref$component,
|
|
28
|
-
euiTheme = _ref.euiTheme,
|
|
29
28
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
30
29
|
|
|
30
|
+
var euiTheme = useEuiTheme();
|
|
31
31
|
var styles = euiTimelineItemStyles(euiTheme);
|
|
32
32
|
var cssStyles = [styles.euiTimelineItem];
|
|
33
33
|
var Element = component;
|
|
@@ -40,5 +40,4 @@ export var _EuiTimelineItem = function _EuiTimelineItem(_ref) {
|
|
|
40
40
|
}), ___EmotionJSX(EuiTimelineItemEvent, {
|
|
41
41
|
verticalAlign: verticalAlign
|
|
42
42
|
}, children));
|
|
43
|
-
};
|
|
44
|
-
export var EuiTimelineItem = withEuiSystem(_EuiTimelineItem);
|
|
43
|
+
};
|
|
@@ -7,15 +7,15 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import { EuiAvatar } from '../avatar';
|
|
10
|
-
import {
|
|
10
|
+
import { useEuiTheme } from '../../services';
|
|
11
11
|
import { euiTimelineItemIconStyles } from './timeline_item_icon.styles';
|
|
12
12
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
13
|
-
export var
|
|
13
|
+
export var EuiTimelineItemIcon = function EuiTimelineItemIcon(_ref) {
|
|
14
14
|
var icon = _ref.icon,
|
|
15
15
|
_ref$verticalAlign = _ref.verticalAlign,
|
|
16
16
|
verticalAlign = _ref$verticalAlign === void 0 ? 'center' : _ref$verticalAlign,
|
|
17
|
-
iconAriaLabel = _ref.iconAriaLabel
|
|
18
|
-
|
|
17
|
+
iconAriaLabel = _ref.iconAriaLabel;
|
|
18
|
+
var euiTheme = useEuiTheme();
|
|
19
19
|
var styles = euiTimelineItemIconStyles(euiTheme);
|
|
20
20
|
var cssStyles = [styles.euiTimelineItemIcon, styles[verticalAlign]];
|
|
21
21
|
var cssContentStyles = styles.euiTimelineItemIcon__content;
|
|
@@ -30,5 +30,4 @@ export var _EuiTimelineItemIcon = function _EuiTimelineItemIcon(_ref) {
|
|
|
30
30
|
}, ___EmotionJSX("div", {
|
|
31
31
|
css: cssContentStyles
|
|
32
32
|
}, iconRender));
|
|
33
|
-
};
|
|
34
|
-
export var EuiTimelineItemIcon = withEuiSystem(_EuiTimelineItemIcon);
|
|
33
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
-
var _excluded = ["size", "children", "className", "textTransform"
|
|
3
|
+
var _excluded = ["size", "children", "className", "textTransform"];
|
|
4
4
|
|
|
5
5
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
6
6
|
|
|
@@ -14,20 +14,20 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
14
14
|
* Side Public License, v 1.
|
|
15
15
|
*/
|
|
16
16
|
import classNames from 'classnames';
|
|
17
|
+
import { useEuiTheme } from '../../services';
|
|
17
18
|
import { cloneElementWithCss } from '../../services/theme/clone_element';
|
|
18
19
|
import { euiTitleStyles } from './title.styles';
|
|
19
|
-
import { withEuiSystem } from '../provider/system';
|
|
20
20
|
export var TITLE_SIZES = ['xxxs', 'xxs', 'xs', 's', 'm', 'l'];
|
|
21
21
|
export var TEXT_TRANSFORM = ['uppercase'];
|
|
22
|
-
export var
|
|
22
|
+
export var EuiTitle = function EuiTitle(_ref) {
|
|
23
23
|
var _ref$size = _ref.size,
|
|
24
24
|
size = _ref$size === void 0 ? 'm' : _ref$size,
|
|
25
25
|
children = _ref.children,
|
|
26
26
|
className = _ref.className,
|
|
27
27
|
textTransform = _ref.textTransform,
|
|
28
|
-
euiTheme = _ref.euiTheme,
|
|
29
28
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
30
29
|
|
|
30
|
+
var euiTheme = useEuiTheme();
|
|
31
31
|
var styles = euiTitleStyles(euiTheme);
|
|
32
32
|
var cssStyles = [styles.euiTitle, textTransform ? styles[textTransform] : undefined, styles[size]];
|
|
33
33
|
var classes = classNames('euiTitle', className, children.props.className);
|
|
@@ -38,5 +38,4 @@ export var _EuiTitle = function _EuiTitle(_ref) {
|
|
|
38
38
|
}, rest);
|
|
39
39
|
|
|
40
40
|
return cloneElementWithCss(children, props);
|
|
41
|
-
};
|
|
42
|
-
export var EuiTitle = withEuiSystem(_EuiTitle);
|
|
41
|
+
};
|
|
@@ -21,7 +21,7 @@ export var useEuiTheme = function useEuiTheme() {
|
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
export var withEuiTheme = function withEuiTheme(Component) {
|
|
24
|
-
var componentName = Component.displayName || Component.name || '
|
|
24
|
+
var componentName = Component.displayName || Component.name || 'Component';
|
|
25
25
|
|
|
26
26
|
var Render = function Render(props, ref) {
|
|
27
27
|
var _useEuiTheme = useEuiTheme(),
|
|
@@ -40,6 +40,6 @@ export var withEuiTheme = function withEuiTheme(Component) {
|
|
|
40
40
|
};
|
|
41
41
|
|
|
42
42
|
var WithEuiTheme = /*#__PURE__*/forwardRef(Render);
|
|
43
|
-
WithEuiTheme.displayName = componentName;
|
|
43
|
+
WithEuiTheme.displayName = "WithEuiTheme(".concat(componentName, ")");
|
|
44
44
|
return WithEuiTheme;
|
|
45
45
|
};
|
|
@@ -8,6 +8,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
8
8
|
* Side Public License, v 1.
|
|
9
9
|
*/
|
|
10
10
|
import React, { useContext, useEffect, useRef, useState } from 'react';
|
|
11
|
+
import { CacheProvider } from '@emotion/react';
|
|
11
12
|
import isEqual from 'lodash/isEqual';
|
|
12
13
|
import { EuiSystemContext, EuiThemeContext, EuiModificationsContext, EuiColorModeContext } from './context';
|
|
13
14
|
import { buildTheme, getColorMode, getComputed, mergeDeep } from './utils';
|
|
@@ -16,6 +17,7 @@ export var EuiThemeProvider = function EuiThemeProvider(_ref) {
|
|
|
16
17
|
var _system = _ref.theme,
|
|
17
18
|
_colorMode = _ref.colorMode,
|
|
18
19
|
_modifications = _ref.modify,
|
|
20
|
+
cache = _ref.cache,
|
|
19
21
|
children = _ref.children;
|
|
20
22
|
var parentSystem = useContext(EuiSystemContext);
|
|
21
23
|
var parentModifications = useContext(EuiModificationsContext);
|
|
@@ -89,5 +91,7 @@ export var EuiThemeProvider = function EuiThemeProvider(_ref) {
|
|
|
89
91
|
value: modifications
|
|
90
92
|
}, ___EmotionJSX(EuiThemeContext.Provider, {
|
|
91
93
|
value: theme
|
|
92
|
-
},
|
|
94
|
+
}, cache ? ___EmotionJSX(CacheProvider, {
|
|
95
|
+
value: cache
|
|
96
|
+
}, children) : children))));
|
|
93
97
|
};
|
|
@@ -6,4 +6,5 @@
|
|
|
6
6
|
* Side Public License, v 1.
|
|
7
7
|
*/
|
|
8
8
|
export { EUI_THEMES, isDefaultTheme } from './themes';
|
|
9
|
-
export { AMSTERDAM_NAME_KEY, EuiThemeAmsterdam } from './amsterdam/theme';
|
|
9
|
+
export { AMSTERDAM_NAME_KEY, EuiThemeAmsterdam } from './amsterdam/theme';
|
|
10
|
+
export * from './amsterdam';
|