@elastic/eui 101.0.1 → 101.1.0-classic.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.
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.EuiProvider = void 0;
7
7
  var _react = _interopRequireDefault(require("react"));
8
- var _euiThemeBorealis = require("@elastic/eui-theme-borealis");
8
+ var _themes = require("../../themes");
9
9
  var _services = require("../../services");
10
10
  var _warning = require("../../services/theme/warning");
11
11
  var _css = require("../../services/emotion/css");
@@ -33,7 +33,7 @@ var EuiProvider = exports.EuiProvider = function EuiProvider(_ref) {
33
33
  var _ref$cache = _ref.cache,
34
34
  cache = _ref$cache === void 0 ? _css.cache : _ref$cache,
35
35
  _ref$theme = _ref.theme,
36
- theme = _ref$theme === void 0 ? _euiThemeBorealis.EuiThemeBorealis : _ref$theme,
36
+ theme = _ref$theme === void 0 ? _themes.EuiThemeAmsterdam : _ref$theme,
37
37
  _ref$globalStyles = _ref.globalStyles,
38
38
  Globals = _ref$globalStyles === void 0 ? _global_styles.EuiGlobalStyles : _ref$globalStyles,
39
39
  _ref$utilityClasses = _ref.utilityClasses,
@@ -7,6 +7,7 @@ exports.euiTableRowStyles = void 0;
7
7
  var _react = require("@emotion/react");
8
8
  var _euiThemeCommon = require("@elastic/eui-theme-common");
9
9
  var _global_styling = require("../../global_styling");
10
+ var _supports = require("../../global_styling/functions/supports");
10
11
  var _table = require("./table.styles");
11
12
  var _templateObject;
12
13
  /*
@@ -39,7 +40,7 @@ var euiTableRowStyles = exports.euiTableRowStyles = function euiTableRowStyles(e
39
40
  mobile: {
40
41
  mobile: /*#__PURE__*/(0, _react.css)("position:relative;display:flex;flex-wrap:wrap;padding:", cellContentPadding, ";", (0, _global_styling.logicalCSS)('margin-bottom', cellContentPadding), (0, _euiThemeCommon.euiShadow)(euiThemeContext, 's', {
41
42
  borderAllInHighContrastMode: true
42
- }), " background-color:", euiTheme.colors.backgroundBasePlain, ";border-radius:", euiTheme.border.radius.medium, ";&:has(+ .euiTableRow-isExpandedRow){", (0, _global_styling.logicalCSS)('border-bottom-left-radius', 0), " ", (0, _global_styling.logicalCSS)('border-bottom-right-radius', 0), ";};label:mobile;"),
43
+ }), " background-color:", euiTheme.colors.backgroundBasePlain, ";border-radius:", euiTheme.border.radius.medium, ";", (0, _supports.cssSupportsHasWithNextSibling)("\n &:has(+ .euiTableRow-isExpandedRow) {\n ".concat((0, _global_styling.logicalCSS)('border-bottom-left-radius', 0), "\n ").concat((0, _global_styling.logicalCSS)('border-bottom-right-radius', 0), "\n }\n ")), ";;label:mobile;"),
43
44
  selected: /*#__PURE__*/(0, _react.css)("&,&+.euiTableRow-isExpandedRow{background-color:", rowColors.selected.color, ";};label:selected;"),
44
45
  /**
45
46
  * Left column offset (no border)
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.cssSupportsSelector = exports.cssSupportsHasWithNextSibling = void 0;
7
+ /*
8
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
9
+ * or more contributor license agreements. Licensed under the Elastic License
10
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
11
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
12
+ * Side Public License, v 1.
13
+ */
14
+
15
+ var cssSupportsSelector = exports.cssSupportsSelector = function cssSupportsSelector(selector, value) {
16
+ return "\n @supports selector(".concat(selector, ") {").concat(value, "}\n ");
17
+ };
18
+
19
+ /**
20
+ * Util to check if the "previous sibling" selector :has(+) is supported
21
+ */
22
+ var cssSupportsHasWithNextSibling = exports.cssSupportsHasWithNextSibling = function cssSupportsHasWithNextSibling(value) {
23
+ return cssSupportsSelector(':has(+ *)', value);
24
+ };
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.EUI_VIS_COLOR_STORE = void 0;
7
7
  var _euiThemeCommon = require("@elastic/eui-theme-common");
8
- var _euiThemeBorealis = require("@elastic/eui-theme-borealis");
8
+ var _colors_vis = require("../../themes/amsterdam/global_styling/variables/_colors_vis");
9
9
  /*
10
10
  * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
11
11
  * or more contributor license agreements. Licensed under the Elastic License
@@ -15,4 +15,4 @@ var _euiThemeBorealis = require("@elastic/eui-theme-borealis");
15
15
  */
16
16
 
17
17
  // initialsetup of Vis color storage with default colors
18
- var EUI_VIS_COLOR_STORE = exports.EUI_VIS_COLOR_STORE = _euiThemeCommon.EuiVisColorStore.getInstance(_euiThemeBorealis.colorVis, true);
18
+ var EUI_VIS_COLOR_STORE = exports.EUI_VIS_COLOR_STORE = _euiThemeCommon.EuiVisColorStore.getInstance(_colors_vis.colorVis, true);
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.defaultComputedTheme = exports.EuiThemeContext = exports.EuiSystemContext = exports.EuiNestedThemeContext = exports.EuiModificationsContext = exports.EuiHighContrastModeContext = exports.EuiColorModeContext = exports.DEFAULTS = void 0;
7
7
  var _react = require("react");
8
- var _euiThemeBorealis = require("@elastic/eui-theme-borealis");
8
+ var _theme = require("../../themes/amsterdam/theme");
9
9
  var _utils = require("./utils");
10
10
  /*
11
11
  * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
@@ -16,7 +16,7 @@ var _utils = require("./utils");
16
16
  */
17
17
 
18
18
  var DEFAULTS = exports.DEFAULTS = {
19
- system: _euiThemeBorealis.EuiThemeBorealis,
19
+ system: _theme.EuiThemeAmsterdam,
20
20
  modifications: {},
21
21
  colorMode: _utils.DEFAULT_COLOR_MODE,
22
22
  highContrastMode: false
@@ -7,7 +7,7 @@
7
7
  */
8
8
 
9
9
  import React from 'react';
10
- import { EuiThemeBorealis } from '@elastic/eui-theme-borealis';
10
+ import { EuiThemeAmsterdam } from '../../themes';
11
11
  import { EuiThemeProvider } from '../../services';
12
12
  import { emitEuiProviderWarning } from '../../services/theme/warning';
13
13
  import { cache as fallbackCache } from '../../services/emotion/css';
@@ -26,7 +26,7 @@ export var EuiProvider = function EuiProvider(_ref) {
26
26
  var _ref$cache = _ref.cache,
27
27
  cache = _ref$cache === void 0 ? fallbackCache : _ref$cache,
28
28
  _ref$theme = _ref.theme,
29
- theme = _ref$theme === void 0 ? EuiThemeBorealis : _ref$theme,
29
+ theme = _ref$theme === void 0 ? EuiThemeAmsterdam : _ref$theme,
30
30
  _ref$globalStyles = _ref.globalStyles,
31
31
  Globals = _ref$globalStyles === void 0 ? EuiGlobalStyles : _ref$globalStyles,
32
32
  _ref$utilityClasses = _ref.utilityClasses,
@@ -11,6 +11,7 @@ var _templateObject;
11
11
  import { css, keyframes } from '@emotion/react';
12
12
  import { euiShadow } from '@elastic/eui-theme-common';
13
13
  import { euiCanAnimate, logicalCSS, mathWithUnits } from '../../global_styling';
14
+ import { cssSupportsHasWithNextSibling } from '../../global_styling/functions/supports';
14
15
  import { euiTableVariables } from './table.styles';
15
16
  export var euiTableRowStyles = function euiTableRowStyles(euiThemeContext) {
16
17
  var euiTheme = euiThemeContext.euiTheme;
@@ -34,7 +35,7 @@ export var euiTableRowStyles = function euiTableRowStyles(euiThemeContext) {
34
35
  mobile: {
35
36
  mobile: /*#__PURE__*/css("position:relative;display:flex;flex-wrap:wrap;padding:", cellContentPadding, ";", logicalCSS('margin-bottom', cellContentPadding), euiShadow(euiThemeContext, 's', {
36
37
  borderAllInHighContrastMode: true
37
- }), " background-color:", euiTheme.colors.backgroundBasePlain, ";border-radius:", euiTheme.border.radius.medium, ";&:has(+ .euiTableRow-isExpandedRow){", logicalCSS('border-bottom-left-radius', 0), " ", logicalCSS('border-bottom-right-radius', 0), ";};label:mobile;"),
38
+ }), " background-color:", euiTheme.colors.backgroundBasePlain, ";border-radius:", euiTheme.border.radius.medium, ";", cssSupportsHasWithNextSibling("\n &:has(+ .euiTableRow-isExpandedRow) {\n ".concat(logicalCSS('border-bottom-left-radius', 0), "\n ").concat(logicalCSS('border-bottom-right-radius', 0), "\n }\n ")), ";;label:mobile;"),
38
39
  selected: /*#__PURE__*/css("&,&+.euiTableRow-isExpandedRow{background-color:", rowColors.selected.color, ";};label:selected;"),
39
40
  /**
40
41
  * Left column offset (no border)
@@ -0,0 +1,18 @@
1
+ /*
2
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3
+ * or more contributor license agreements. Licensed under the Elastic License
4
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
5
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
6
+ * Side Public License, v 1.
7
+ */
8
+
9
+ export var cssSupportsSelector = function cssSupportsSelector(selector, value) {
10
+ return "\n @supports selector(".concat(selector, ") {").concat(value, "}\n ");
11
+ };
12
+
13
+ /**
14
+ * Util to check if the "previous sibling" selector :has(+) is supported
15
+ */
16
+ export var cssSupportsHasWithNextSibling = function cssSupportsHasWithNextSibling(value) {
17
+ return cssSupportsSelector(':has(+ *)', value);
18
+ };
@@ -7,7 +7,7 @@
7
7
  */
8
8
 
9
9
  import { EuiVisColorStore } from '@elastic/eui-theme-common';
10
- import { colorVis } from '@elastic/eui-theme-borealis';
10
+ import { colorVis } from '../../themes/amsterdam/global_styling/variables/_colors_vis';
11
11
 
12
12
  // initialsetup of Vis color storage with default colors
13
13
  export var EUI_VIS_COLOR_STORE = EuiVisColorStore.getInstance(colorVis, true);
@@ -7,10 +7,10 @@
7
7
  */
8
8
 
9
9
  import { createContext } from 'react';
10
- import { EuiThemeBorealis } from '@elastic/eui-theme-borealis';
10
+ import { EuiThemeAmsterdam } from '../../themes/amsterdam/theme';
11
11
  import { DEFAULT_COLOR_MODE, getComputed } from './utils';
12
12
  export var DEFAULTS = {
13
- system: EuiThemeBorealis,
13
+ system: EuiThemeAmsterdam,
14
14
  modifications: {},
15
15
  colorMode: DEFAULT_COLOR_MODE,
16
16
  highContrastMode: false
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.EuiProvider = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
- var _euiThemeBorealis = require("@elastic/eui-theme-borealis");
9
+ var _themes = require("../../themes");
10
10
  var _services = require("../../services");
11
11
  var _warning = require("../../services/theme/warning");
12
12
  var _css = require("../../services/emotion/css");
@@ -33,7 +33,7 @@ var EuiProvider = exports.EuiProvider = function EuiProvider(_ref) {
33
33
  var _ref$cache = _ref.cache,
34
34
  cache = _ref$cache === void 0 ? _css.cache : _ref$cache,
35
35
  _ref$theme = _ref.theme,
36
- theme = _ref$theme === void 0 ? _euiThemeBorealis.EuiThemeBorealis : _ref$theme,
36
+ theme = _ref$theme === void 0 ? _themes.EuiThemeAmsterdam : _ref$theme,
37
37
  _ref$globalStyles = _ref.globalStyles,
38
38
  Globals = _ref$globalStyles === void 0 ? _global_styles.EuiGlobalStyles : _ref$globalStyles,
39
39
  _ref$utilityClasses = _ref.utilityClasses,
@@ -9,6 +9,7 @@ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/hel
9
9
  var _react = require("@emotion/react");
10
10
  var _euiThemeCommon = require("@elastic/eui-theme-common");
11
11
  var _global_styling = require("../../global_styling");
12
+ var _supports = require("../../global_styling/functions/supports");
12
13
  var _table = require("./table.styles");
13
14
  var _templateObject;
14
15
  /*
@@ -40,7 +41,7 @@ var euiTableRowStyles = exports.euiTableRowStyles = function euiTableRowStyles(e
40
41
  mobile: {
41
42
  mobile: /*#__PURE__*/(0, _react.css)("position:relative;display:flex;flex-wrap:wrap;padding:", cellContentPadding, ";", (0, _global_styling.logicalCSS)('margin-bottom', cellContentPadding), (0, _euiThemeCommon.euiShadow)(euiThemeContext, 's', {
42
43
  borderAllInHighContrastMode: true
43
- }), " background-color:", euiTheme.colors.backgroundBasePlain, ";border-radius:", euiTheme.border.radius.medium, ";&:has(+ .euiTableRow-isExpandedRow){", (0, _global_styling.logicalCSS)('border-bottom-left-radius', 0), " ", (0, _global_styling.logicalCSS)('border-bottom-right-radius', 0), ";};label:mobile;"),
44
+ }), " background-color:", euiTheme.colors.backgroundBasePlain, ";border-radius:", euiTheme.border.radius.medium, ";", (0, _supports.cssSupportsHasWithNextSibling)("\n &:has(+ .euiTableRow-isExpandedRow) {\n ".concat((0, _global_styling.logicalCSS)('border-bottom-left-radius', 0), "\n ").concat((0, _global_styling.logicalCSS)('border-bottom-right-radius', 0), "\n }\n ")), ";;label:mobile;"),
44
45
  selected: /*#__PURE__*/(0, _react.css)("&,&+.euiTableRow-isExpandedRow{background-color:", rowColors.selected.color, ";};label:selected;"),
45
46
  /**
46
47
  * Left column offset (no border)
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.cssSupportsSelector = exports.cssSupportsHasWithNextSibling = void 0;
7
+ /*
8
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
9
+ * or more contributor license agreements. Licensed under the Elastic License
10
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
11
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
12
+ * Side Public License, v 1.
13
+ */
14
+
15
+ var cssSupportsSelector = exports.cssSupportsSelector = function cssSupportsSelector(selector, value) {
16
+ return "\n @supports selector(".concat(selector, ") {").concat(value, "}\n ");
17
+ };
18
+
19
+ /**
20
+ * Util to check if the "previous sibling" selector :has(+) is supported
21
+ */
22
+ var cssSupportsHasWithNextSibling = exports.cssSupportsHasWithNextSibling = function cssSupportsHasWithNextSibling(value) {
23
+ return cssSupportsSelector(':has(+ *)', value);
24
+ };
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.EUI_VIS_COLOR_STORE = void 0;
7
7
  var _euiThemeCommon = require("@elastic/eui-theme-common");
8
- var _euiThemeBorealis = require("@elastic/eui-theme-borealis");
8
+ var _colors_vis = require("../../themes/amsterdam/global_styling/variables/_colors_vis");
9
9
  /*
10
10
  * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
11
11
  * or more contributor license agreements. Licensed under the Elastic License
@@ -15,4 +15,4 @@ var _euiThemeBorealis = require("@elastic/eui-theme-borealis");
15
15
  */
16
16
 
17
17
  // initialsetup of Vis color storage with default colors
18
- var EUI_VIS_COLOR_STORE = exports.EUI_VIS_COLOR_STORE = _euiThemeCommon.EuiVisColorStore.getInstance(_euiThemeBorealis.colorVis, true);
18
+ var EUI_VIS_COLOR_STORE = exports.EUI_VIS_COLOR_STORE = _euiThemeCommon.EuiVisColorStore.getInstance(_colors_vis.colorVis, true);
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.defaultComputedTheme = exports.EuiThemeContext = exports.EuiSystemContext = exports.EuiNestedThemeContext = exports.EuiModificationsContext = exports.EuiHighContrastModeContext = exports.EuiColorModeContext = exports.DEFAULTS = void 0;
7
7
  var _react = require("react");
8
- var _euiThemeBorealis = require("@elastic/eui-theme-borealis");
8
+ var _theme = require("../../themes/amsterdam/theme");
9
9
  var _utils = require("./utils");
10
10
  /*
11
11
  * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
@@ -16,7 +16,7 @@ var _utils = require("./utils");
16
16
  */
17
17
 
18
18
  var DEFAULTS = exports.DEFAULTS = {
19
- system: _euiThemeBorealis.EuiThemeBorealis,
19
+ system: _theme.EuiThemeAmsterdam,
20
20
  modifications: {},
21
21
  colorMode: _utils.DEFAULT_COLOR_MODE,
22
22
  highContrastMode: false
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@elastic/eui",
3
3
  "description": "Elastic UI Component Library",
4
- "version": "101.0.1",
4
+ "version": "101.1.0-classic.0",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "lib",
7
7
  "module": "es",
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.EuiProvider = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
- var _euiThemeBorealis = require("@elastic/eui-theme-borealis");
9
+ var _themes = require("../../themes");
10
10
  var _services = require("../../services");
11
11
  var _warning = require("../../services/theme/warning");
12
12
  var _css = require("../../services/emotion/css");
@@ -33,7 +33,7 @@ var EuiProvider = exports.EuiProvider = function EuiProvider(_ref) {
33
33
  var _ref$cache = _ref.cache,
34
34
  cache = _ref$cache === void 0 ? _css.cache : _ref$cache,
35
35
  _ref$theme = _ref.theme,
36
- theme = _ref$theme === void 0 ? _euiThemeBorealis.EuiThemeBorealis : _ref$theme,
36
+ theme = _ref$theme === void 0 ? _themes.EuiThemeAmsterdam : _ref$theme,
37
37
  _ref$globalStyles = _ref.globalStyles,
38
38
  Globals = _ref$globalStyles === void 0 ? _global_styles.EuiGlobalStyles : _ref$globalStyles,
39
39
  _ref$utilityClasses = _ref.utilityClasses,
@@ -9,6 +9,7 @@ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/hel
9
9
  var _react = require("@emotion/react");
10
10
  var _euiThemeCommon = require("@elastic/eui-theme-common");
11
11
  var _global_styling = require("../../global_styling");
12
+ var _supports = require("../../global_styling/functions/supports");
12
13
  var _table = require("./table.styles");
13
14
  var _templateObject;
14
15
  /*
@@ -40,7 +41,7 @@ var euiTableRowStyles = exports.euiTableRowStyles = function euiTableRowStyles(e
40
41
  mobile: {
41
42
  mobile: /*#__PURE__*/(0, _react.css)("position:relative;display:flex;flex-wrap:wrap;padding:", cellContentPadding, ";", (0, _global_styling.logicalCSS)('margin-bottom', cellContentPadding), (0, _euiThemeCommon.euiShadow)(euiThemeContext, 's', {
42
43
  borderAllInHighContrastMode: true
43
- }), " background-color:", euiTheme.colors.backgroundBasePlain, ";border-radius:", euiTheme.border.radius.medium, ";&:has(+ .euiTableRow-isExpandedRow){", (0, _global_styling.logicalCSS)('border-bottom-left-radius', 0), " ", (0, _global_styling.logicalCSS)('border-bottom-right-radius', 0), ";};label:mobile;"),
44
+ }), " background-color:", euiTheme.colors.backgroundBasePlain, ";border-radius:", euiTheme.border.radius.medium, ";", (0, _supports.cssSupportsHasWithNextSibling)("\n &:has(+ .euiTableRow-isExpandedRow) {\n ".concat((0, _global_styling.logicalCSS)('border-bottom-left-radius', 0), "\n ").concat((0, _global_styling.logicalCSS)('border-bottom-right-radius', 0), "\n }\n ")), ";;label:mobile;"),
44
45
  selected: /*#__PURE__*/(0, _react.css)("&,&+.euiTableRow-isExpandedRow{background-color:", rowColors.selected.color, ";};label:selected;"),
45
46
  /**
46
47
  * Left column offset (no border)
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.cssSupportsSelector = exports.cssSupportsHasWithNextSibling = void 0;
7
+ /*
8
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
9
+ * or more contributor license agreements. Licensed under the Elastic License
10
+ * 2.0 and the Server Side Public License, v 1; you may not use this file except
11
+ * in compliance with, at your election, the Elastic License 2.0 or the Server
12
+ * Side Public License, v 1.
13
+ */
14
+
15
+ var cssSupportsSelector = exports.cssSupportsSelector = function cssSupportsSelector(selector, value) {
16
+ return "\n @supports selector(".concat(selector, ") {").concat(value, "}\n ");
17
+ };
18
+
19
+ /**
20
+ * Util to check if the "previous sibling" selector :has(+) is supported
21
+ */
22
+ var cssSupportsHasWithNextSibling = exports.cssSupportsHasWithNextSibling = function cssSupportsHasWithNextSibling(value) {
23
+ return cssSupportsSelector(':has(+ *)', value);
24
+ };
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.EUI_VIS_COLOR_STORE = void 0;
7
7
  var _euiThemeCommon = require("@elastic/eui-theme-common");
8
- var _euiThemeBorealis = require("@elastic/eui-theme-borealis");
8
+ var _colors_vis = require("../../themes/amsterdam/global_styling/variables/_colors_vis");
9
9
  /*
10
10
  * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
11
11
  * or more contributor license agreements. Licensed under the Elastic License
@@ -15,4 +15,4 @@ var _euiThemeBorealis = require("@elastic/eui-theme-borealis");
15
15
  */
16
16
 
17
17
  // initialsetup of Vis color storage with default colors
18
- var EUI_VIS_COLOR_STORE = exports.EUI_VIS_COLOR_STORE = _euiThemeCommon.EuiVisColorStore.getInstance(_euiThemeBorealis.colorVis, true);
18
+ var EUI_VIS_COLOR_STORE = exports.EUI_VIS_COLOR_STORE = _euiThemeCommon.EuiVisColorStore.getInstance(_colors_vis.colorVis, true);
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.defaultComputedTheme = exports.EuiThemeContext = exports.EuiSystemContext = exports.EuiNestedThemeContext = exports.EuiModificationsContext = exports.EuiHighContrastModeContext = exports.EuiColorModeContext = exports.DEFAULTS = void 0;
7
7
  var _react = require("react");
8
- var _euiThemeBorealis = require("@elastic/eui-theme-borealis");
8
+ var _theme = require("../../themes/amsterdam/theme");
9
9
  var _utils = require("./utils");
10
10
  /*
11
11
  * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
@@ -16,7 +16,7 @@ var _utils = require("./utils");
16
16
  */
17
17
 
18
18
  var DEFAULTS = exports.DEFAULTS = {
19
- system: _euiThemeBorealis.EuiThemeBorealis,
19
+ system: _theme.EuiThemeAmsterdam,
20
20
  modifications: {},
21
21
  colorMode: _utils.DEFAULT_COLOR_MODE,
22
22
  highContrastMode: false