@elastic/eui-theme-common 1.1.0 → 1.2.1

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.
Files changed (188) hide show
  1. package/lib/cjs/global_styling/functions/index.d.ts +0 -1
  2. package/lib/cjs/global_styling/functions/index.js +1 -2
  3. package/lib/cjs/global_styling/functions/math.d.ts +0 -1
  4. package/lib/cjs/global_styling/functions/math.js +1 -2
  5. package/lib/cjs/global_styling/functions/math.test.js +1 -2
  6. package/lib/cjs/global_styling/functions/shadows.d.ts +0 -1
  7. package/lib/cjs/global_styling/functions/shadows.js +1 -2
  8. package/lib/cjs/global_styling/functions/size.d.ts +0 -1
  9. package/lib/cjs/global_styling/functions/size.js +1 -2
  10. package/lib/cjs/global_styling/index.d.ts +0 -1
  11. package/lib/cjs/global_styling/index.js +1 -2
  12. package/lib/cjs/global_styling/mixins/index.d.ts +0 -1
  13. package/lib/cjs/global_styling/mixins/index.js +1 -2
  14. package/lib/cjs/global_styling/mixins/shadow.d.ts +0 -1
  15. package/lib/cjs/global_styling/mixins/shadow.js +1 -2
  16. package/lib/cjs/global_styling/variables/_breakpoint.d.ts +0 -1
  17. package/lib/cjs/global_styling/variables/_breakpoint.js +1 -2
  18. package/lib/cjs/global_styling/variables/animations.d.ts +0 -1
  19. package/lib/cjs/global_styling/variables/animations.js +1 -2
  20. package/lib/cjs/global_styling/variables/borders.d.ts +0 -1
  21. package/lib/cjs/global_styling/variables/borders.js +1 -2
  22. package/lib/cjs/global_styling/variables/breakpoint.d.ts +0 -1
  23. package/lib/cjs/global_styling/variables/breakpoint.js +1 -2
  24. package/lib/cjs/global_styling/variables/buttons.d.ts +0 -1
  25. package/lib/cjs/global_styling/variables/buttons.js +1 -2
  26. package/lib/cjs/global_styling/variables/colors.d.ts +6 -2
  27. package/lib/cjs/global_styling/variables/colors.js +1 -2
  28. package/lib/cjs/global_styling/variables/components.d.ts +0 -1
  29. package/lib/cjs/global_styling/variables/components.js +1 -2
  30. package/lib/cjs/global_styling/variables/flags.d.ts +0 -1
  31. package/lib/cjs/global_styling/variables/flags.js +1 -2
  32. package/lib/cjs/global_styling/variables/forms.d.ts +0 -1
  33. package/lib/cjs/global_styling/variables/forms.js +1 -2
  34. package/lib/cjs/global_styling/variables/index.d.ts +0 -1
  35. package/lib/cjs/global_styling/variables/index.js +1 -2
  36. package/lib/cjs/global_styling/variables/levels.d.ts +0 -1
  37. package/lib/cjs/global_styling/variables/levels.js +1 -2
  38. package/lib/cjs/global_styling/variables/overrides.d.ts +0 -1
  39. package/lib/cjs/global_styling/variables/overrides.js +1 -2
  40. package/lib/cjs/global_styling/variables/shadow.d.ts +0 -1
  41. package/lib/cjs/global_styling/variables/shadow.js +1 -2
  42. package/lib/cjs/global_styling/variables/size.d.ts +0 -1
  43. package/lib/cjs/global_styling/variables/size.js +1 -2
  44. package/lib/cjs/global_styling/variables/states.d.ts +0 -1
  45. package/lib/cjs/global_styling/variables/states.js +1 -2
  46. package/lib/cjs/global_styling/variables/typography.d.ts +0 -1
  47. package/lib/cjs/global_styling/variables/typography.js +1 -2
  48. package/lib/cjs/index.d.ts +0 -1
  49. package/lib/cjs/index.js +1 -2
  50. package/lib/cjs/services/index.d.ts +0 -1
  51. package/lib/cjs/services/index.js +1 -2
  52. package/lib/cjs/services/theme/types.d.ts +0 -1
  53. package/lib/cjs/services/theme/types.js +1 -2
  54. package/lib/cjs/services/vis_color_store.d.ts +0 -1
  55. package/lib/cjs/services/vis_color_store.js +1 -2
  56. package/lib/cjs/services/vis_color_store.test.js +1 -2
  57. package/lib/cjs/types.d.ts +0 -1
  58. package/lib/cjs/types.js +1 -2
  59. package/lib/cjs/utils.d.ts +0 -1
  60. package/lib/cjs/utils.js +2 -3
  61. package/lib/cjs/utils.test.js +1 -2
  62. package/lib/esm/global_styling/functions/index.js +0 -1
  63. package/lib/esm/global_styling/functions/math.js +0 -1
  64. package/lib/esm/global_styling/functions/math.test.js +0 -1
  65. package/lib/esm/global_styling/functions/shadows.js +0 -1
  66. package/lib/esm/global_styling/functions/size.js +0 -1
  67. package/lib/esm/global_styling/index.js +0 -1
  68. package/lib/esm/global_styling/mixins/index.js +0 -1
  69. package/lib/esm/global_styling/mixins/shadow.js +0 -1
  70. package/lib/esm/global_styling/variables/_breakpoint.js +0 -1
  71. package/lib/esm/global_styling/variables/animations.js +0 -1
  72. package/lib/esm/global_styling/variables/borders.js +0 -1
  73. package/lib/esm/global_styling/variables/breakpoint.js +0 -1
  74. package/lib/esm/global_styling/variables/buttons.js +0 -1
  75. package/lib/esm/global_styling/variables/colors.d.ts +6 -1
  76. package/lib/esm/global_styling/variables/colors.js +0 -1
  77. package/lib/esm/global_styling/variables/components.js +0 -1
  78. package/lib/esm/global_styling/variables/flags.js +0 -1
  79. package/lib/esm/global_styling/variables/forms.js +0 -1
  80. package/lib/esm/global_styling/variables/index.js +0 -1
  81. package/lib/esm/global_styling/variables/levels.js +0 -1
  82. package/lib/esm/global_styling/variables/overrides.js +0 -1
  83. package/lib/esm/global_styling/variables/shadow.js +0 -1
  84. package/lib/esm/global_styling/variables/size.js +0 -1
  85. package/lib/esm/global_styling/variables/states.js +0 -1
  86. package/lib/esm/global_styling/variables/typography.js +0 -1
  87. package/lib/esm/index.js +0 -1
  88. package/lib/esm/services/index.js +0 -1
  89. package/lib/esm/services/theme/types.js +0 -1
  90. package/lib/esm/services/vis_color_store.js +0 -1
  91. package/lib/esm/services/vis_color_store.test.js +0 -1
  92. package/lib/esm/types.js +0 -1
  93. package/lib/esm/utils.js +1 -2
  94. package/lib/esm/utils.test.js +0 -1
  95. package/package.json +2 -2
  96. package/lib/cjs/global_styling/functions/index.d.ts.map +0 -1
  97. package/lib/cjs/global_styling/functions/index.js.map +0 -1
  98. package/lib/cjs/global_styling/functions/math.d.ts.map +0 -1
  99. package/lib/cjs/global_styling/functions/math.js.map +0 -1
  100. package/lib/cjs/global_styling/functions/math.test.js.map +0 -1
  101. package/lib/cjs/global_styling/functions/shadows.d.ts.map +0 -1
  102. package/lib/cjs/global_styling/functions/shadows.js.map +0 -1
  103. package/lib/cjs/global_styling/functions/size.d.ts.map +0 -1
  104. package/lib/cjs/global_styling/functions/size.js.map +0 -1
  105. package/lib/cjs/global_styling/index.d.ts.map +0 -1
  106. package/lib/cjs/global_styling/index.js.map +0 -1
  107. package/lib/cjs/global_styling/mixins/index.d.ts.map +0 -1
  108. package/lib/cjs/global_styling/mixins/index.js.map +0 -1
  109. package/lib/cjs/global_styling/mixins/shadow.d.ts.map +0 -1
  110. package/lib/cjs/global_styling/mixins/shadow.js.map +0 -1
  111. package/lib/cjs/global_styling/variables/_breakpoint.d.ts.map +0 -1
  112. package/lib/cjs/global_styling/variables/_breakpoint.js.map +0 -1
  113. package/lib/cjs/global_styling/variables/animations.d.ts.map +0 -1
  114. package/lib/cjs/global_styling/variables/animations.js.map +0 -1
  115. package/lib/cjs/global_styling/variables/borders.d.ts.map +0 -1
  116. package/lib/cjs/global_styling/variables/borders.js.map +0 -1
  117. package/lib/cjs/global_styling/variables/breakpoint.d.ts.map +0 -1
  118. package/lib/cjs/global_styling/variables/breakpoint.js.map +0 -1
  119. package/lib/cjs/global_styling/variables/buttons.d.ts.map +0 -1
  120. package/lib/cjs/global_styling/variables/buttons.js.map +0 -1
  121. package/lib/cjs/global_styling/variables/colors.d.ts.map +0 -1
  122. package/lib/cjs/global_styling/variables/colors.js.map +0 -1
  123. package/lib/cjs/global_styling/variables/components.d.ts.map +0 -1
  124. package/lib/cjs/global_styling/variables/components.js.map +0 -1
  125. package/lib/cjs/global_styling/variables/flags.d.ts.map +0 -1
  126. package/lib/cjs/global_styling/variables/flags.js.map +0 -1
  127. package/lib/cjs/global_styling/variables/forms.d.ts.map +0 -1
  128. package/lib/cjs/global_styling/variables/forms.js.map +0 -1
  129. package/lib/cjs/global_styling/variables/index.d.ts.map +0 -1
  130. package/lib/cjs/global_styling/variables/index.js.map +0 -1
  131. package/lib/cjs/global_styling/variables/levels.d.ts.map +0 -1
  132. package/lib/cjs/global_styling/variables/levels.js.map +0 -1
  133. package/lib/cjs/global_styling/variables/overrides.d.ts.map +0 -1
  134. package/lib/cjs/global_styling/variables/overrides.js.map +0 -1
  135. package/lib/cjs/global_styling/variables/shadow.d.ts.map +0 -1
  136. package/lib/cjs/global_styling/variables/shadow.js.map +0 -1
  137. package/lib/cjs/global_styling/variables/size.d.ts.map +0 -1
  138. package/lib/cjs/global_styling/variables/size.js.map +0 -1
  139. package/lib/cjs/global_styling/variables/states.d.ts.map +0 -1
  140. package/lib/cjs/global_styling/variables/states.js.map +0 -1
  141. package/lib/cjs/global_styling/variables/typography.d.ts.map +0 -1
  142. package/lib/cjs/global_styling/variables/typography.js.map +0 -1
  143. package/lib/cjs/index.d.ts.map +0 -1
  144. package/lib/cjs/index.js.map +0 -1
  145. package/lib/cjs/services/index.d.ts.map +0 -1
  146. package/lib/cjs/services/index.js.map +0 -1
  147. package/lib/cjs/services/theme/types.d.ts.map +0 -1
  148. package/lib/cjs/services/theme/types.js.map +0 -1
  149. package/lib/cjs/services/vis_color_store.d.ts.map +0 -1
  150. package/lib/cjs/services/vis_color_store.js.map +0 -1
  151. package/lib/cjs/services/vis_color_store.test.js.map +0 -1
  152. package/lib/cjs/types.d.ts.map +0 -1
  153. package/lib/cjs/types.js.map +0 -1
  154. package/lib/cjs/utils.d.ts.map +0 -1
  155. package/lib/cjs/utils.js.map +0 -1
  156. package/lib/cjs/utils.test.js.map +0 -1
  157. package/lib/esm/global_styling/functions/index.js.map +0 -1
  158. package/lib/esm/global_styling/functions/math.js.map +0 -1
  159. package/lib/esm/global_styling/functions/math.test.js.map +0 -1
  160. package/lib/esm/global_styling/functions/shadows.js.map +0 -1
  161. package/lib/esm/global_styling/functions/size.js.map +0 -1
  162. package/lib/esm/global_styling/index.js.map +0 -1
  163. package/lib/esm/global_styling/mixins/index.js.map +0 -1
  164. package/lib/esm/global_styling/mixins/shadow.js.map +0 -1
  165. package/lib/esm/global_styling/variables/_breakpoint.js.map +0 -1
  166. package/lib/esm/global_styling/variables/animations.js.map +0 -1
  167. package/lib/esm/global_styling/variables/borders.js.map +0 -1
  168. package/lib/esm/global_styling/variables/breakpoint.js.map +0 -1
  169. package/lib/esm/global_styling/variables/buttons.js.map +0 -1
  170. package/lib/esm/global_styling/variables/colors.js.map +0 -1
  171. package/lib/esm/global_styling/variables/components.js.map +0 -1
  172. package/lib/esm/global_styling/variables/flags.js.map +0 -1
  173. package/lib/esm/global_styling/variables/forms.js.map +0 -1
  174. package/lib/esm/global_styling/variables/index.js.map +0 -1
  175. package/lib/esm/global_styling/variables/levels.js.map +0 -1
  176. package/lib/esm/global_styling/variables/overrides.js.map +0 -1
  177. package/lib/esm/global_styling/variables/shadow.js.map +0 -1
  178. package/lib/esm/global_styling/variables/size.js.map +0 -1
  179. package/lib/esm/global_styling/variables/states.js.map +0 -1
  180. package/lib/esm/global_styling/variables/typography.js.map +0 -1
  181. package/lib/esm/index.js.map +0 -1
  182. package/lib/esm/services/index.js.map +0 -1
  183. package/lib/esm/services/theme/types.js.map +0 -1
  184. package/lib/esm/services/vis_color_store.js.map +0 -1
  185. package/lib/esm/services/vis_color_store.test.js.map +0 -1
  186. package/lib/esm/types.js.map +0 -1
  187. package/lib/esm/utils.js.map +0 -1
  188. package/lib/esm/utils.test.js.map +0 -1
@@ -1,4 +1,3 @@
1
1
  export * from './size';
2
2
  export * from './math';
3
3
  export * from './shadows';
4
- //# sourceMappingURL=index.d.ts.map
@@ -35,5 +35,4 @@ Object.keys(_shadows).forEach(function (key) {
35
35
  return _shadows[key];
36
36
  }
37
37
  });
38
- });
39
- //# sourceMappingURL=index.js.map
38
+ });
@@ -10,4 +10,3 @@
10
10
  declare type ValueTypes = string | number | undefined;
11
11
  export declare const mathWithUnits: (values: ValueTypes | ValueTypes[], callback: (...args: number[]) => number, unit?: string) => string;
12
12
  export {};
13
- //# sourceMappingURL=math.d.ts.map
@@ -60,5 +60,4 @@ var mathWithUnits = exports.mathWithUnits = function mathWithUnits(values, callb
60
60
  }
61
61
  });
62
62
  return "".concat(callback.apply(void 0, foundNumericValues)).concat(unit || foundUnit);
63
- };
64
- //# sourceMappingURL=math.js.map
63
+ };
@@ -106,5 +106,4 @@ describe('mathWithUnits', function () {
106
106
  })).toEqual('100%');
107
107
  });
108
108
  });
109
- });
110
- //# sourceMappingURL=math.test.js.map
109
+ });
@@ -1,3 +1,2 @@
1
1
  import { EuiThemeColorModeStandard } from '../../services/theme/types';
2
2
  export declare const getShadowColor: (color: string, opacity: number, colorMode: EuiThemeColorModeStandard) => string;
3
- //# sourceMappingURL=shadows.d.ts.map
@@ -21,5 +21,4 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default":
21
21
  var getShadowColor = exports.getShadowColor = function getShadowColor(color, opacity, colorMode) {
22
22
  var themeOpacity = colorMode === _types.COLOR_MODES_STANDARD.dark ? opacity * 3.5 : opacity * 1;
23
23
  return (0, _chromaJs["default"])(color).alpha(themeOpacity).css();
24
- };
25
- //# sourceMappingURL=shadows.js.map
24
+ };
@@ -10,4 +10,3 @@ export declare const sizeToPixel: (scale?: number) => (themeOrBase: number | {
10
10
  [key: string]: any;
11
11
  base: number;
12
12
  }) => string;
13
- //# sourceMappingURL=size.d.ts.map
@@ -30,5 +30,4 @@ var sizeToPixel = exports.sizeToPixel = function sizeToPixel() {
30
30
  var base = _typeof(themeOrBase) === 'object' ? themeOrBase.base : themeOrBase;
31
31
  return "".concat(base * scale, "px");
32
32
  };
33
- };
34
- //# sourceMappingURL=size.js.map
33
+ };
@@ -2,4 +2,3 @@ export * from '../services/theme/types';
2
2
  export * from './functions';
3
3
  export * from './variables';
4
4
  export * from './mixins';
5
- //# sourceMappingURL=index.d.ts.map
@@ -46,5 +46,4 @@ Object.keys(_mixins).forEach(function (key) {
46
46
  return _mixins[key];
47
47
  }
48
48
  });
49
- });
50
- //# sourceMappingURL=index.js.map
49
+ });
@@ -1,2 +1 @@
1
1
  export * from './shadow';
2
- //# sourceMappingURL=index.d.ts.map
@@ -13,5 +13,4 @@ Object.keys(_shadow).forEach(function (key) {
13
13
  return _shadow[key];
14
14
  }
15
15
  });
16
- });
17
- //# sourceMappingURL=index.js.map
16
+ });
@@ -43,4 +43,3 @@ export declare const euiSlightShadowHover: ({ euiTheme, colorMode, highContrastM
43
43
  */
44
44
  export declare const euiShadowFlat: ({ euiTheme, colorMode, highContrastMode }: UseEuiTheme, options?: EuiShadowOptions | undefined) => string;
45
45
  export declare const euiShadow: (euiThemeContext: UseEuiTheme, size?: _EuiThemeShadowSize, options?: EuiShadowOptions | undefined) => string;
46
- //# sourceMappingURL=shadow.d.ts.map
@@ -155,5 +155,4 @@ var _highContrastBorder = function _highContrastBorder(_ref8) {
155
155
  var _ref9 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
156
156
  borderAllInHighContrastMode = _ref9.borderAllInHighContrastMode;
157
157
  return borderAllInHighContrastMode ? "border: ".concat(border.thin, ";") : "border-block-end: ".concat(border.thin, ";");
158
- };
159
- //# sourceMappingURL=shadow.js.map
158
+ };
@@ -1,3 +1,2 @@
1
1
  import { _EuiThemeBreakpoints } from './breakpoint';
2
2
  export declare const breakpoint: _EuiThemeBreakpoints;
3
- //# sourceMappingURL=_breakpoint.d.ts.map
@@ -18,5 +18,4 @@ var breakpoint = exports.breakpoint = {
18
18
  m: 768,
19
19
  s: 575,
20
20
  xs: 0
21
- };
22
- //# sourceMappingURL=_breakpoint.js.map
21
+ };
@@ -33,4 +33,3 @@ export declare const EuiThemeAnimationEasings: readonly ["bounce", "resistance"]
33
33
  export declare type _EuiThemeAnimationEasing = (typeof EuiThemeAnimationEasings)[number];
34
34
  export declare type _EuiThemeAnimationEasings = Record<_EuiThemeAnimationEasing, CSSProperties['animationTimingFunction']>;
35
35
  export declare type _EuiThemeAnimation = _EuiThemeAnimationEasings & _EuiThemeAnimationSpeeds;
36
- //# sourceMappingURL=animations.d.ts.map
@@ -33,5 +33,4 @@ var EuiThemeAnimationSpeeds = exports.EuiThemeAnimationSpeeds = ['extraFast', 'f
33
33
  * Easings / Timing functions
34
34
  */
35
35
 
36
- var EuiThemeAnimationEasings = exports.EuiThemeAnimationEasings = ['bounce', 'resistance'];
37
- //# sourceMappingURL=animations.js.map
36
+ var EuiThemeAnimationEasings = exports.EuiThemeAnimationEasings = ['bounce', 'resistance'];
@@ -59,4 +59,3 @@ export interface _EuiThemeBorderTypes {
59
59
  editable: CSSProperties['border'];
60
60
  }
61
61
  export declare type _EuiThemeBorder = _EuiThemeBorderValues & _EuiThemeBorderTypes;
62
- //# sourceMappingURL=borders.d.ts.map
@@ -2,5 +2,4 @@
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
- });
6
- //# sourceMappingURL=borders.js.map
5
+ });
@@ -12,4 +12,3 @@ export declare type _EuiThemeBreakpoints = Record<_EuiThemeBreakpoint, number> &
12
12
  /** - Default value: 1200 */
13
13
  xl: number;
14
14
  };
15
- //# sourceMappingURL=breakpoint.d.ts.map
@@ -18,5 +18,4 @@ var EuiThemeBreakpoints = exports.EuiThemeBreakpoints = ['xs', 's', 'm', 'l', 'x
18
18
  // in case consumers add custom breakpoint sizes, such as xxl or xxs
19
19
 
20
20
  // Explicitly list out each key so we can document default values
21
- // via JSDoc (which is available to devs in IDE via intellisense)
22
- //# sourceMappingURL=breakpoint.js.map
21
+ // via JSDoc (which is available to devs in IDE via intellisense)
@@ -96,4 +96,3 @@ export declare type _EuiThemeButtonColors = {
96
96
  textColorFilledDisabled: ColorModeSwitch;
97
97
  };
98
98
  export declare type _EuiThemeButton = StrictColorModeSwitch<_EuiThemeButtonColors> & {};
99
- //# sourceMappingURL=buttons.d.ts.map
@@ -2,5 +2,4 @@
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
- });
6
- //# sourceMappingURL=buttons.js.map
5
+ });
@@ -295,12 +295,17 @@ export declare type _EuiThemeVisColors = {
295
295
  euiColorVisAsTextDark4: string;
296
296
  euiColorVisAsTextDark5: string;
297
297
  euiColorVisAsTextDark6: string;
298
+ euiColorVisNeutral0: string;
299
+ euiColorVisNeutral1: string;
298
300
  euiColorVisSuccess0: string;
299
301
  euiColorVisSuccess1: string;
300
302
  euiColorVisWarning0: string;
303
+ euiColorVisWarning1: string;
304
+ euiColorVisRisk0: string;
305
+ euiColorVisRisk1: string;
301
306
  euiColorVisDanger0: string;
302
307
  euiColorVisDanger1: string;
303
- euiColorVisNeutral0: string;
308
+ euiColorVisBase0: string;
304
309
  euiColorVisGrey0: string;
305
310
  euiColorVisGrey1: string;
306
311
  euiColorVisGrey2: string;
@@ -332,4 +337,3 @@ export declare type _EuiThemeConstantColors = {
332
337
  };
333
338
  export declare type _EuiThemeColorsMode = _EuiThemeBrandColors & _EuiThemeBrandTextColors & _EuiThemeShadeColors & _EuiThemeSpecialColors & _EuiThemeTextColors & _EuiThemeBackgroundColors & _EuiThemeTransparentBackgroundColors & _EuiThemeBorderColors;
334
339
  export declare type _EuiThemeColors = StrictColorModeSwitch<_EuiThemeColorsMode> & _EuiThemeConstantColors;
335
- //# sourceMappingURL=colors.d.ts.map
@@ -2,5 +2,4 @@
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
- });
6
- //# sourceMappingURL=colors.js.map
5
+ });
@@ -106,4 +106,3 @@ export declare type _EuiThemeComponents = {
106
106
  LIGHT: _EuiThemeComponentColors;
107
107
  DARK: _EuiThemeComponentColors;
108
108
  };
109
- //# sourceMappingURL=components.d.ts.map
@@ -2,5 +2,4 @@
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
- });
6
- //# sourceMappingURL=components.js.map
5
+ });
@@ -8,4 +8,3 @@ export declare type _EuiThemeFlags = {
8
8
  hasGlobalFocusColor: boolean;
9
9
  hasVisColorAdjustment: boolean;
10
10
  } & EuiThemeVariantFlags;
11
- //# sourceMappingURL=flags.d.ts.map
@@ -2,5 +2,4 @@
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
- });
6
- //# sourceMappingURL=flags.js.map
5
+ });
@@ -20,4 +20,3 @@ export declare type _EuiThemeFormColors = {
20
20
  colorDisabled: ColorModeSwitch;
21
21
  iconDisabled: ColorModeSwitch;
22
22
  };
23
- //# sourceMappingURL=forms.d.ts.map
@@ -2,5 +2,4 @@
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
- });
6
- //# sourceMappingURL=forms.js.map
5
+ });
@@ -14,4 +14,3 @@ export * from './forms';
14
14
  export * from './components';
15
15
  export * from './flags';
16
16
  export * from './overrides';
17
- //# sourceMappingURL=index.d.ts.map
@@ -167,5 +167,4 @@ Object.keys(_overrides).forEach(function (key) {
167
167
  return _overrides[key];
168
168
  }
169
169
  });
170
- });
171
- //# sourceMappingURL=index.js.map
170
+ });
@@ -36,4 +36,3 @@ export declare type _EuiThemeLevels = {
36
36
  /** - Default value: 0 */
37
37
  content: NonNullable<CSSProperties['zIndex']>;
38
38
  };
39
- //# sourceMappingURL=levels.d.ts.map
@@ -28,5 +28,4 @@ exports.EuiThemeLevels = void 0;
28
28
  * https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context
29
29
  */
30
30
 
31
- var EuiThemeLevels = exports.EuiThemeLevels = ['toast', 'modal', 'mask', 'navigation', 'menu', 'header', 'flyout', 'maskBelowHeader', 'content'];
32
- //# sourceMappingURL=levels.js.map
31
+ var EuiThemeLevels = exports.EuiThemeLevels = ['toast', 'modal', 'mask', 'navigation', 'menu', 'header', 'flyout', 'maskBelowHeader', 'content'];
@@ -6,4 +6,3 @@ import { EUI_THEME_HIGH_CONTRAST_MODE_KEY, type EuiThemeShapeBase } from '../../
6
6
  export declare type _EuiThemeOverrides = {
7
7
  [EUI_THEME_HIGH_CONTRAST_MODE_KEY]: RecursivePartial<EuiThemeShapeBase>;
8
8
  };
9
- //# sourceMappingURL=overrides.d.ts.map
@@ -1,4 +1,3 @@
1
1
  "use strict";
2
2
 
3
- var _types = require("../../services/theme/types");
4
- //# sourceMappingURL=overrides.js.map
3
+ var _types = require("../../services/theme/types");
@@ -9,4 +9,3 @@ export interface _EuiThemeShadowCustomColor {
9
9
  property?: 'box-shadow' | 'filter';
10
10
  borderAllInHighContrastMode?: boolean;
11
11
  }
12
- //# sourceMappingURL=shadow.d.ts.map
@@ -22,5 +22,4 @@ var _EuiShadowSizesDescriptions = exports._EuiShadowSizesDescriptions = {
22
22
  m: 'Used on small sized portalled content like popovers.',
23
23
  l: 'Primary shadow used in most cases to add visible depth.',
24
24
  xl: 'Very large shadows used for large portalled style containers like modals and flyouts.'
25
- };
26
- //# sourceMappingURL=shadow.js.map
25
+ };
@@ -23,4 +23,3 @@ export declare type _EuiThemeSizes = {
23
23
  /** - Default value: 64px */
24
24
  xxxxl: string;
25
25
  };
26
- //# sourceMappingURL=size.d.ts.map
@@ -12,5 +12,4 @@ exports.EuiThemeSizes = void 0;
12
12
  * Side Public License, v 1.
13
13
  */
14
14
 
15
- var EuiThemeSizes = exports.EuiThemeSizes = ['xxs', 'xs', 's', 'm', 'base', 'l', 'xl', 'xxl', 'xxxl', 'xxxxl'];
16
- //# sourceMappingURL=size.js.map
15
+ var EuiThemeSizes = exports.EuiThemeSizes = ['xxs', 'xs', 's', 'm', 'base', 'l', 'xl', 'xxl', 'xxxl', 'xxxxl'];
@@ -22,4 +22,3 @@ export interface _EuiThemeFocus {
22
22
  */
23
23
  backgroundColor: ColorModeSwitch;
24
24
  }
25
- //# sourceMappingURL=states.d.ts.map
@@ -2,5 +2,4 @@
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
- });
6
- //# sourceMappingURL=states.js.map
5
+ });
@@ -90,4 +90,3 @@ export declare type _EuiThemeFont = _EuiThemeFontBase & {
90
90
  body: _EuiThemeBody;
91
91
  title: _EuiThemeTitle;
92
92
  };
93
- //# sourceMappingURL=typography.d.ts.map
@@ -43,5 +43,4 @@ var EuiThemeFontWeights = exports.EuiThemeFontWeights = ['light', 'regular', 'me
43
43
 
44
44
  /*
45
45
  * Font
46
- */
47
- //# sourceMappingURL=typography.js.map
46
+ */
@@ -2,4 +2,3 @@ export * from './global_styling';
2
2
  export * from './services';
3
3
  export * from './types';
4
4
  export * from './utils';
5
- //# sourceMappingURL=index.d.ts.map
package/lib/cjs/index.js CHANGED
@@ -46,5 +46,4 @@ Object.keys(_utils).forEach(function (key) {
46
46
  return _utils[key];
47
47
  }
48
48
  });
49
- });
50
- //# sourceMappingURL=index.js.map
49
+ });
@@ -1,2 +1 @@
1
1
  export * from './vis_color_store';
2
- //# sourceMappingURL=index.d.ts.map
@@ -13,5 +13,4 @@ Object.keys(_vis_color_store).forEach(function (key) {
13
13
  return _vis_color_store[key];
14
14
  }
15
15
  });
16
- });
17
- //# sourceMappingURL=index.js.map
16
+ });
@@ -79,4 +79,3 @@ export interface UseEuiTheme<T extends {} = {}> {
79
79
  highContrastMode: EuiThemeHighContrastMode;
80
80
  modifications: EuiThemeModifications<T>;
81
81
  }
82
- //# sourceMappingURL=types.d.ts.map
@@ -23,5 +23,4 @@ var COLOR_MODES_INVERSE = exports.COLOR_MODES_INVERSE = 'INVERSE';
23
23
  // Windows's high contrast themes, which force colors/backgrounds/shadows
24
24
 
25
25
  var EUI_THEME_HIGH_CONTRAST_MODE_KEY = exports.EUI_THEME_HIGH_CONTRAST_MODE_KEY = 'HCM';
26
- var EUI_THEME_OVERRIDES_KEY = exports.EUI_THEME_OVERRIDES_KEY = 'overrides';
27
- //# sourceMappingURL=types.js.map
26
+ var EUI_THEME_OVERRIDES_KEY = exports.EUI_THEME_OVERRIDES_KEY = 'overrides';
@@ -31,4 +31,3 @@ export declare class EuiVisColorStore {
31
31
  static getInstance(defaultColors: _EuiThemeVisColors, hasVisColorAdjustment: boolean): EuiVisColorStoreImpl;
32
32
  }
33
33
  export {};
34
- //# sourceMappingURL=vis_color_store.d.ts.map
@@ -92,5 +92,4 @@ var EuiVisColorStore = exports.EuiVisColorStore = /*#__PURE__*/function () {
92
92
  }
93
93
  }]);
94
94
  }();
95
- _defineProperty(EuiVisColorStore, "instance", void 0);
96
- //# sourceMappingURL=vis_color_store.js.map
95
+ _defineProperty(EuiVisColorStore, "instance", void 0);
@@ -66,5 +66,4 @@ describe('EuiVisColorStore', function () {
66
66
  expect(updateFn).toHaveBeenCalledTimes(0);
67
67
  });
68
68
  });
69
- });
70
- //# sourceMappingURL=vis_color_store.test.js.map
69
+ });
@@ -30,4 +30,3 @@ export declare type RecursivePartial<T> = {
30
30
  };
31
31
  declare type NonAny = number | boolean | string | symbol | null;
32
32
  export {};
33
- //# sourceMappingURL=types.d.ts.map
package/lib/cjs/types.js CHANGED
@@ -2,5 +2,4 @@
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
- });
6
- //# sourceMappingURL=types.js.map
5
+ });
@@ -104,4 +104,3 @@ export declare const mergeDeep: (_target: {
104
104
  * and additional prefix/suffix
105
105
  */
106
106
  export declare const getTokenName: (prefix: string, variant?: string | undefined, suffix?: string | undefined) => string;
107
- //# sourceMappingURL=utils.d.ts.map
package/lib/cjs/utils.js CHANGED
@@ -229,7 +229,7 @@ var getComputed = exports.getComputed = function getComputed(base, over, colorMo
229
229
  var hcmCombinedOverValue = hcmOverValue !== null && hcmOverValue !== void 0 ? hcmOverValue : hcmBaseValue;
230
230
 
231
231
  // combine internal overrides with manual overrides
232
- var combinedOverValue = isObject(overValue) && isObject(hcmOverValue) ? mergeDeep(overValue, hcmCombinedOverValue) : // optional overrides e.g. on provider level should still override theme level
232
+ var combinedOverValue = isObject(overValue) && isObject(hcmCombinedOverValue) ? mergeDeep(overValue, hcmCombinedOverValue) : // optional overrides e.g. on provider level should still override theme level
233
233
  overValue !== null && overValue !== void 0 ? overValue : hcmCombinedOverValue;
234
234
  if (isObject(baseValue) && !Array.isArray(baseValue)) {
235
235
  loop(baseValue, combinedOverValue !== null && combinedOverValue !== void 0 ? combinedOverValue : {}, checkExisting, newPath);
@@ -357,5 +357,4 @@ var getTokenName = exports.getTokenName = function getTokenName(prefix, variant,
357
357
  }
358
358
  var colorName = variant.charAt(0).toUpperCase() + variant.slice(1);
359
359
  return "".concat(prefix).concat(getCapitalized(colorName)).concat(_suffix);
360
- };
361
- //# sourceMappingURL=utils.js.map
360
+ };
@@ -395,5 +395,4 @@ describe('getTokenName', function () {
395
395
  expect((0, _utils.getTokenName)('backgroundBase', 'primary')).toEqual('backgroundBasePrimary');
396
396
  expect((0, _utils.getTokenName)('backgroundBase', 'primary', 'hovered')).toEqual('backgroundBasePrimaryHovered');
397
397
  });
398
- });
399
- //# sourceMappingURL=utils.test.js.map
398
+ });
@@ -8,4 +8,3 @@
8
8
  export * from './size';
9
9
  export * from './math';
10
10
  export * from './shadows';
11
- //# sourceMappingURL=index.js.map
@@ -42,4 +42,3 @@ unit = '' // Optional: allow specifying an override unit to return
42
42
  });
43
43
  return `${callback(...foundNumericValues)}${unit || foundUnit}`;
44
44
  };
45
- //# sourceMappingURL=math.js.map
@@ -64,4 +64,3 @@ describe('mathWithUnits', () => {
64
64
  });
65
65
  });
66
66
  });
67
- //# sourceMappingURL=math.test.js.map
@@ -14,4 +14,3 @@ export const getShadowColor = (color, opacity, colorMode) => {
14
14
  const themeOpacity = colorMode === COLOR_MODES_STANDARD.dark ? opacity * 3.5 : opacity * 1;
15
15
  return chroma(color).alpha(themeOpacity).css();
16
16
  };
17
- //# sourceMappingURL=shadows.js.map
@@ -18,4 +18,3 @@ export const sizeToPixel = (scale = 1) => (themeOrBase) => {
18
18
  const base = typeof themeOrBase === 'object' ? themeOrBase.base : themeOrBase;
19
19
  return `${base * scale}px`;
20
20
  };
21
- //# sourceMappingURL=size.js.map
@@ -9,4 +9,3 @@ export * from '../services/theme/types';
9
9
  export * from './functions';
10
10
  export * from './variables';
11
11
  export * from './mixins';
12
- //# sourceMappingURL=index.js.map
@@ -6,4 +6,3 @@
6
6
  * Side Public License, v 1.
7
7
  */
8
8
  export * from './shadow';
9
- //# sourceMappingURL=index.js.map
@@ -149,4 +149,3 @@ const _highContrastBorder = ({ border }, { borderAllInHighContrastMode } = {}) =
149
149
  ? `border: ${border.thin};`
150
150
  : `border-block-end: ${border.thin};`;
151
151
  };
152
- //# sourceMappingURL=shadow.js.map
@@ -12,4 +12,3 @@ export const breakpoint = {
12
12
  s: 575,
13
13
  xs: 0,
14
14
  };
15
- //# sourceMappingURL=_breakpoint.js.map
@@ -22,4 +22,3 @@ export const EuiThemeAnimationSpeeds = [
22
22
  * Easings / Timing functions
23
23
  */
24
24
  export const EuiThemeAnimationEasings = ['bounce', 'resistance'];
25
- //# sourceMappingURL=animations.js.map
@@ -6,4 +6,3 @@
6
6
  * Side Public License, v 1.
7
7
  */
8
8
  export {};
9
- //# sourceMappingURL=borders.js.map
@@ -6,4 +6,3 @@
6
6
  * Side Public License, v 1.
7
7
  */
8
8
  export const EuiThemeBreakpoints = ['xs', 's', 'm', 'l', 'xl'];
9
- //# sourceMappingURL=breakpoint.js.map
@@ -6,4 +6,3 @@
6
6
  * Side Public License, v 1.
7
7
  */
8
8
  export {};
9
- //# sourceMappingURL=buttons.js.map
@@ -295,12 +295,17 @@ export declare type _EuiThemeVisColors = {
295
295
  euiColorVisAsTextDark4: string;
296
296
  euiColorVisAsTextDark5: string;
297
297
  euiColorVisAsTextDark6: string;
298
+ euiColorVisNeutral0: string;
299
+ euiColorVisNeutral1: string;
298
300
  euiColorVisSuccess0: string;
299
301
  euiColorVisSuccess1: string;
300
302
  euiColorVisWarning0: string;
303
+ euiColorVisWarning1: string;
304
+ euiColorVisRisk0: string;
305
+ euiColorVisRisk1: string;
301
306
  euiColorVisDanger0: string;
302
307
  euiColorVisDanger1: string;
303
- euiColorVisNeutral0: string;
308
+ euiColorVisBase0: string;
304
309
  euiColorVisGrey0: string;
305
310
  euiColorVisGrey1: string;
306
311
  euiColorVisGrey2: string;
@@ -6,4 +6,3 @@
6
6
  * Side Public License, v 1.
7
7
  */
8
8
  export {};
9
- //# sourceMappingURL=colors.js.map
@@ -6,4 +6,3 @@
6
6
  * Side Public License, v 1.
7
7
  */
8
8
  export {};
9
- //# sourceMappingURL=components.js.map
@@ -6,4 +6,3 @@
6
6
  * Side Public License, v 1.
7
7
  */
8
8
  export {};
9
- //# sourceMappingURL=flags.js.map
@@ -6,4 +6,3 @@
6
6
  * Side Public License, v 1.
7
7
  */
8
8
  export {};
9
- //# sourceMappingURL=forms.js.map
@@ -21,4 +21,3 @@ export * from './forms';
21
21
  export * from './components';
22
22
  export * from './flags';
23
23
  export * from './overrides';
24
- //# sourceMappingURL=index.js.map
@@ -31,4 +31,3 @@ export const EuiThemeLevels = [
31
31
  'maskBelowHeader',
32
32
  'content',
33
33
  ];
34
- //# sourceMappingURL=levels.js.map
@@ -6,4 +6,3 @@
6
6
  * Side Public License, v 1.
7
7
  */
8
8
  import { EUI_THEME_HIGH_CONTRAST_MODE_KEY, } from '../../services/theme/types';
9
- //# sourceMappingURL=overrides.js.map
@@ -16,4 +16,3 @@ export const _EuiShadowSizesDescriptions = {
16
16
  l: 'Primary shadow used in most cases to add visible depth.',
17
17
  xl: 'Very large shadows used for large portalled style containers like modals and flyouts.',
18
18
  };
19
- //# sourceMappingURL=shadow.js.map